[libxpp2-java] 01/20: Initial revision

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sat Oct 14 20:56:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libxpp2-java.

commit 6f33defe1d6d7cfd5d86606d5c65beaafc88bf31
Author: Arnaud Vandyck <avdyk at debian.org>
Date:   Fri May 6 11:21:58 2005 +0000

    Initial revision
---
 debian/README.Debian-source      | 10 +++++++
 debian/changelog                 |  9 ++++++
 debian/compat                    |  1 +
 debian/control                   | 22 ++++++++++++++
 debian/copyright                 | 65 ++++++++++++++++++++++++++++++++++++++++
 debian/libxpp2-java.dirs         |  1 +
 debian/libxpp2-java.docs         |  1 +
 debian/patches/01_buildxml.patch | 34 +++++++++++++++++++++
 debian/rules                     | 18 +++++++++++
 9 files changed, 161 insertions(+)

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..444dbf0
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,10 @@
+From the original upstream distribution the prebuilt
+jar files and the prebuilt sources were removed:
+
+rm -rf build
+rm lib/ant/*.jar lib/ant/*.ja
+rm lib/junit/*.jar
+rm lib/midpapi/*.jar
+rm lib/xerces2_patched/*.jar
+
+Also the prebuild api documentation was removed.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0d235e8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,9 @@
+libxpp2-java (2.1.10-1) experimental; urgency=low
+
+  * Initial Release (closes: #305229)
+  * Enabled junit tests
+  * Patched build.xml to exclude SAX/JAXP interfaces from jar
+    + This way it compiles against the SAX/JAXP API of kaffe
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sat, 23 Apr 2005 15:23:09 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..77c6765
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: libxpp2-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Wolfgang Baer <WBaer at gmx.de>
+Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>= 0.4.28), libant1.6-java, kaffe, junit
+Standards-Version: 3.6.1
+
+Package: libxpp2-java
+Architecture: all
+Depends: kaffe | java1-runtime | java2-runtime
+Description: XML pull parser library for java V2
+ Xml Pull Parser (in short XPP) is a streaming pull XML parser for java.
+ This version XPP2 is the predecessor of XPP3 (see package libxpp3-java).
+ .
+ XPP2 consists of two parts: generic API and its implementations. This 
+ debian version only provides the default implementation optimized for
+ size and speed and is not exposing DTD, entities, comments, or processing 
+ instructions to the user.
+ .
+ If you need a xml pull parser implementing the XmlPull API you want to
+ have a look at the libxpp3-java package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c6c05bc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,65 @@
+This package was debianized by Wolfgang Baer <WBaer at gmx.de> on
+Sat, 23 Apr 2005 15:23:09 +0200.
+
+It was downloaded from 
+<http://www.extreme.indiana.edu/xgws/xsoap/xpp/xpp2/index.html>
+
+Copyright:
+
+Upstream Author: Aleksander Andrzej Slominski <aslom at cs.indiana.edu>
+
+License:
+
+ Copyright (c) 2002 The Trustees of Indiana University. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1) All redistributions of source code must retain the above
+    copyright notice, the list of authors in the original source
+    code, this list of conditions and the disclaimer listed in this
+    license;
+
+ 2) All redistributions in binary form must reproduce the above 
+    copyright notice, this list of conditions and the disclaimer
+    listed in this license in the documentation and/or other
+    materials provided with the distribution;
+
+ 3) Any documentation included with all redistributions must include
+    the following acknowledgement:
+
+     "This product includes software developed by the Indiana 
+     University Extreme! Lab.  For further information please visit 
+     http://www.extreme.indiana.edu/"
+
+    Alternatively, this acknowledgment may appear in the software
+    itself, and wherever such third-party acknowledgments normally
+    appear.
+
+ 4) The name "Indiana Univeristy" and "Indiana Univeristy
+    Extreme! Lab" shall not be used to endorse or promote
+    products derived from this software without prior written
+    permission from Indiana University.  For written permission,
+    please contact http://www.extreme.indiana.edu/.
+
+ 5) Products derived from this software may not use "Indiana
+    Univeristy" name nor may "Indiana Univeristy" appear in their name,
+    without prior written permission of the Indiana University.
+ 
+ Indiana University provides no reassurances that the source code
+ provided does not infringe the patent or any other intellectual
+ property rights of any other entity.  Indiana University disclaims any
+ liability to any recipient for claims brought by any other entity
+ based on infringement of intellectual property rights or otherwise.
+
+ LICENSEE UNDERSTANDS THAT SOFTWARE IS PROVIDED "AS IS" FOR WHICH 
+ NO�WARRANTIES AS TO CAPABILITIES OR ACCURACY ARE MADE. INDIANA
+ UNIVERSITY GIVES NO WARRANTIES AND MAKES NO REPRESENTATION THAT
+ SOFTWARE IS FREE OF INFRINGEMENT OF THIRD PARTY PATENT, COPYRIGHT, OR
+ OTHER PROPRIETARY RIGHTS.� INDIANA UNIVERSITY MAKES NO WARRANTIES THAT
+ SOFTWARE IS FREE FROM "BUGS", "VIRUSES", "TROJAN HORSES", "TRAP
+ DOORS", "WORMS", OR OTHER HARMFUL CODE.  LICENSEE ASSUMES THE ENTIRE
+ RISK AS TO THE PERFORMANCE OF SOFTWARE AND/OR ASSOCIATED MATERIALS,
+ AND TO THE PERFORMANCE AND VALIDITY OF INFORMATION GENERATED USING
+ SOFTWARE.
diff --git a/debian/libxpp2-java.dirs b/debian/libxpp2-java.dirs
new file mode 100644
index 0000000..13c9f03
--- /dev/null
+++ b/debian/libxpp2-java.dirs
@@ -0,0 +1 @@
+usr/share/java
diff --git a/debian/libxpp2-java.docs b/debian/libxpp2-java.docs
new file mode 100644
index 0000000..a37585e
--- /dev/null
+++ b/debian/libxpp2-java.docs
@@ -0,0 +1 @@
+doc/api
diff --git a/debian/patches/01_buildxml.patch b/debian/patches/01_buildxml.patch
new file mode 100644
index 0000000..15c219d
--- /dev/null
+++ b/debian/patches/01_buildxml.patch
@@ -0,0 +1,34 @@
+--- build.xml.orig	2005-04-30 20:14:10.000000000 +0200
++++ build.xml	2005-04-23 16:39:39.000000000 +0200
+@@ -318,11 +318,12 @@
+   <!-- =================================================================== -->
+ 
+   <target name="api_sax2" depends="prepare">
+-    <mkdir dir="${build_api_sax2}"/>
++    <mkdir dir="${build_api_sax2}"/>
++    <!-- Use the debian sax package to build against 
+     <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
+       srcdir="${src_api_sax2}" destdir="${build_api_sax2}"
+     >
+-    </javac>
++    </javac>-->
+   </target>
+ 
+   <target name="driver_sax2" depends="api_sax2,intf">
+@@ -335,13 +336,14 @@
+   </target>
+ 
+   <target name="api_jaxp11" depends="api_sax2">
+-    <mkdir dir="${build_api_jaxp11}"/>
++    <mkdir dir="${build_api_jaxp11}"/>
++    <!-- Use the debian jaxp package to build against 
+     <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
+       srcdir="${src_api_jaxp11}" destdir="${build_api_jaxp11}"
+       classpath="${build_api_sax2}"
+     >
+ 
+-    </javac>
++    </javac>-->
+   </target>
+ 
+   <target name="driver_jaxp11" depends="api_sax2,driver_sax2,api_jaxp11,intf">
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1c777ab
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# debian/rules file for libxpp2-java (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
+
+JAVA_HOME := /usr/lib/kaffe
+ANT_HOME := /usr/share/ant1.6
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar junit
+DEB_ANT_COMPILER := jikes
+DEB_ANT_BUILD_TARGET := compile junit api
+
+install/libxpp2-java::
+	install -m 644 build/lib/PullParser-$(UPSTREAM_VERSION).jar debian/libxpp2-java/usr/share/java/xpp2-$(UPSTREAM_VERSION).jar
+	ln -s xpp2-$(UPSTREAM_VERSION).jar debian/libxpp2-java/usr/share/java/xpp2.jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxpp2-java.git



More information about the pkg-java-commits mailing list