Package list libxstream-java / 4ab680b
* Update Standards-Version: 3.9.3. * New upstream release: - Add Build-Depends on libstax-java, libwoodstox-java, libstax2-api-java and libkxml2-java (and Suggests). * Use maven-ant-helper for build: - Add Build-Depends on maven-ant-helper. - New debian/build.xml. - Drop patch on MANIFEST.MF update and use jh_manifest. - Add Build-Depends on javahelper. * Add myself as Uploader. Damien Raude-Morvan 9 years ago
11 changed file(s) with 186 addition(s) and 55 deletion(s). Raw diff Collapse all Expand all
0 ant.build.javac.source=1.5
1 ant.build.javac.target=1.5
2
3 javadoc.dir=target/api
4 build.sourceDirectory=src/java
5 classpath.compile=\
6 ${basedir}/xstream/build/xstream-${version}.jar
0 <?xml version="1.0"?>
1
2 <project name="xstream" default="package" basedir="..">
3
4 <property file="debian/build.properties"/>
5 <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
6 <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
7
8 <macrodef name="cleanmodule">
9 <attribute name="dir"/>
10 <sequential>
11 <ant target="clean" antfile="${maven.build}" dir="@{dir}">
12 <property name="debian.dir" location="debian" />
13 <property name="project.dir" value="@{dir}" />
14 </ant>
15 </sequential>
16 </macrodef>
17
18 <macrodef name="packagemodule">
19 <attribute name="dir"/>
20 <sequential>
21 <ant target="package" antfile="${maven.build}" dir="@{dir}">
22 <property name="debian.dir" location="debian" />
23 <property name="project.dir" value="@{dir}" />
24 </ant>
25 </sequential>
26 </macrodef>
27
28 <target name="clean">
29 <delete dir="build"/>
30 <cleanmodule dir="xstream/"/>
31 <cleanmodule dir="xstream-benchmark/"/>
32 </target>
33
34 <target name="package">
35 <packagemodule dir="xstream/"/>
36 <packagemodule dir="xstream-benchmark/"/>
37 </target>
38
39 <target name="javadoc">
40 <javadoc destdir="${javadoc.dir}">
41 <packageset dir="xstream/src/java/"/>
42 <packageset dir="xstream-benchmark/src/java/"/>
43 </javadoc>
44 </target>
45
46 </project>
0 libxstream-java (1.3.1-8) UNRELEASED; urgency=low
0 libxstream-java (1.4.2-1) unstable; urgency=low
11
2 * Team upload.
2 [ tony mancill ]
33 * Remove Michael Koch from Uploaders (Closes: #654106)
4 * Update Standards-Version: 3.9.2.
4 * Update Standards-Version: 3.9.3.
55
6 -- tony mancill <tmancill@debian.org> Sat, 14 Jan 2012 10:26:44 -0800
6 [ Damien Raude-Morvan ]
7 * New upstream release:
8 - Add Build-Depends on libstax-java, libwoodstox-java, libstax2-api-java
9 and libkxml2-java (and Suggests).
10 * Use maven-ant-helper for build:
11 - Add Build-Depends on maven-ant-helper.
12 - New debian/build.xml.
13 - Drop patch on MANIFEST.MF update and use jh_manifest.
14 - Add Build-Depends on javahelper.
15 * Add myself as Uploader.
16
17 -- Damien Raude-Morvan <drazzib@debian.org> Mon, 28 May 2012 23:14:16 +0200
718
819 libxstream-java (1.3.1-7) unstable; urgency=low
920
11 Section: java
22 Priority: optional
33 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Torsten Werner <twerner@debian.org>, Varun Hiremath <varun@debian.org>
5 Build-Depends: debhelper (>= 7), cdbs
6 Build-Depends-Indep: ant, default-jdk, libxom-java, libjoda-time-java,
7 libjettison-java, libcglib-java, libdom4j-java, libxpp3-java,
8 libjdom1-java, maven-repo-helper
9 Standards-Version: 3.9.2
4 Uploaders: Torsten Werner <twerner@debian.org>,
5 Varun Hiremath <varun@debian.org>,
6 Damien Raude-Morvan <drazzib@debian.org>
7 Build-Depends: ant,
8 cdbs,
9 debhelper (>= 7),
10 default-jdk,
11 javahelper,
12 libcglib-java,
13 libdom4j-java,
14 libjdom1-java,
15 libjettison-java,
16 libjoda-time-java,
17 libkxml2-java,
18 libstax-java,
19 libstax2-api-java,
20 libwoodstox-java,
21 libxom-java,
22 libxpp3-java,
23 maven-ant-helper,
24 maven-repo-helper
25 Standards-Version: 3.9.3
1026 Homepage: http://xstream.codehaus.org
1127 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxstream-java
1228 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxstream-java
1329
1430 Package: libxstream-java
1531 Architecture: all
16 Depends: ${misc:Depends}, libxpp3-java
17 Suggests: libdom4j-java, libjdom1-java, libjoda-time-java, libstax-java,
18 libxom-java, libcglib2.1-java, libjettison-java
32 Depends: libxpp3-java, ${misc:Depends}
33 Suggests: libcglib-java,
34 libdom4j-java,
35 libjdom1-java,
36 libjettison-java,
37 libjoda-time-java,
38 libkxml2-java,
39 libstax-java,
40 libstax2-api-java,
41 libwoodstox-java,
42 libxom-java
1943 Description: Java library to serialize objects to XML and back again
2044 The features of the XStream library are:
2145 .
00 pom.xml --no-parent
1 xstream/pom.xml
2 xstream-benchmark/pom.xml
3
1 xstream/pom.xml --java-lib
2 xstream-benchmark/pom.xml --java-lib
0 usr/share/java/xstream.jar:
1 Class-Path: cglib.jar dom4j.jar jdom1.jar jettison.jar joda-time.jar xom.jar xpp3.jar xpp3-xpath.jar
0 # Maven ignore rules - ignore some Maven dependencies and plugins
1 # Format of this file is:
2 # [group] [artifact] [type] [version] [classifier] [scope]
3 # where each element can be either
4 # - the exact string, for example org.apache for the group, or 3.1
5 # for the version. In this case, the element is simply matched
6 # and left as it is
7 # - * (the star character, alone). In this case, anything will
8 # match and be left as it is. For example, using * on the
9 # position of the artifact field will match any artifact id
10 # All elements much match before a rule can be applied
11 # Example rule: match jar with groupid= junit, artifactid= junit
12 # and version starting with 3., this dependency is then removed
13 # from the POM
14 # junit junit jar s/3\..*/3.x/
15
16 com.megginson.sax xml-writer * * * *
17 commons-cli commons-cli * * * *
18 commons-io commons-io * * * *
19 commons-lang commons-lang * * * *
20 jmock jmock * * * *
21 org.apache.maven.plugins maven-assembly-plugin * * * *
22 org.apache.maven.plugins maven-eclipse-plugin * * * *
23 org.apache.maven.plugins maven-enforcer-plugin * * * *
24 org.apache.maven.plugins maven-javadoc-plugin * * * *
25 org.apache.maven.plugins maven-release-plugin * * * *
26 org.apache.maven.plugins maven-source-plugin * * * *
27 org.apache.maven.plugins maven-surefire-plugin * * * *
28 org.apache.maven.plugins maven-surefire-report-plugin * * * *
29 org.apache.maven.wagon wagon-webdav * * * *
30 org.codehaus.mojo cobertura-maven-plugin * * * *
31 org.codehaus.mojo jxr-maven-plugin * * * *
32 org.codehaus.woodstox wstx-asl * * * *
33 org.json json * * * *
34 oro oro * * * *
35 xmlpull xmlpull * * * *
0 junit junit jar s/3\..*/3.x/
0 # Maven rules - transform Maven dependencies and plugins
1 # Format of this file is:
2 # [group] [artifact] [type] [version] [classifier] [scope]
3 # where each element can be either
4 # - the exact string, for example org.apache for the group, or 3.1
5 # for the version. In this case, the element is simply matched
6 # and left as it is
7 # - * (the star character, alone). In this case, anything will
8 # match and be left as it is. For example, using * on the
9 # position of the artifact field will match any artifact id
10 # - a regular expression of the form s/match/replace/
11 # in this case, elements that match are transformed using
12 # the regex rule.
13 # All elements much match before a rule can be applied
14 # Example rule: match jar with groupid= junit, artifactid= junit
15 # and version starting with 3., replacing the version with 3.x
16 # junit junit jar s/3\..*/3.x/
17
18 com.thoughtworks.xstream xstream-benchmark jar s/.*/debian/ * *
19 com.thoughtworks.xstream xstream-distribution pom s/.*/debian/ * *
20 com.thoughtworks.xstream xstream-hibernate jar s/.*/debian/ * *
21 com.thoughtworks.xstream xstream-parent pom s/.*/debian/ * *
22 com.thoughtworks.xstream xstream jar s/.*/debian/ * *
23 s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * *
24 s/net.sf.kxml/kxml2/ kxml2-min jar s/.*/debian/ * *
25 s/net.sf.kxml/kxml2/ kxml2 jar s/.*/debian/ * *
26 joda-time joda-time jar s/.*/debian/ * *
27 junit junit jar s/3\..*/3.x/ * *
28 org.codehaus.jettison jettison s/bundle/jar/ s/.*/debian/ * *
29 s/hsqldb/org.hsqldb/ hsqldb * s/.*/debian/ * *
30 s/jboss/javassist/ javassist * s/.*/debian/ * *
+0
-28
debian/patches/01_fix_classpath.diff less more
0 Index: libxstream-java-1.3.1/xstream/build.xml
1 ===================================================================
2 --- libxstream-java-1.3.1.orig/xstream/build.xml 2009-11-04 21:39:34.000000000 +0530
3 +++ libxstream-java-1.3.1/xstream/build.xml 2009-11-04 21:41:56.000000000 +0530
4 @@ -25,6 +25,7 @@
5 <property name="test.src.includes" value="**/*Test.java"/>
6 <property name="test.src.excludes" value="**/Abstract*"/>
7 <property name="junit.haltonfailure" value="false"/>
8 + <property name="manifest.classpath" value="cglib.jar dom4j.jar jdom1.jar jettison.jar joda-time.jar xom.jar xpp3.jar xpp3-xpath.jar"/>
9
10 <available property="jdk1.4.available" classname="java.lang.StackTraceElement"/>
11 <available property="jdk1.5.available" classname="java.lang.Enum"/>
12 @@ -144,9 +145,15 @@
13
14 <target name="jar" depends="compile">
15 <jar jarfile="${build.dir}/xstream-${version}.jar">
16 + <manifest>
17 + <attribute name="Class-Path" value="${manifest.classpath}"/>
18 + </manifest>
19 <fileset dir="${java.build.dir}"/>
20 </jar>
21 <jar jarfile="${build.dir}/xstream-benchmark-${version}.jar">
22 + <manifest>
23 + <attribute name="Class-Path" value="${manifest.classpath}"/>
24 + </manifest>
25 <fileset dir="${benchmark.build.dir}"/>
26 </jar>
27 <antcall target="jdk-check"/>
0 01_fix_classpath.diff
00 #!/usr/bin/make -f
11
2 include /usr/share/cdbs/1/rules/debhelper.mk
23 include /usr/share/cdbs/1/class/ant.mk
3 include /usr/share/cdbs/1/rules/debhelper.mk
44
55 PACKAGE := $(DEB_SOURCE_PACKAGE)
66 VERSION := $(DEB_UPSTREAM_VERSION)
77 JAVA_HOME := /usr/lib/jvm/default-java
8 DEB_ANT_BUILDFILE := xstream/build.xml
9 DEB_ANT_BUILD_TARGET := benchmark:compile jar
10 DEB_JARS := ant-nodeps xom joda-time jettison cglib dom4j xpp3 jdom1
11 ANT_OPTS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
8 DEB_JARS := ant-nodeps xom joda-time jettison cglib dom4j xpp3 jdom1 stax woodstox-core-lgpl kxml2 stax2-api
9 DEB_ANT_BUILD_TARGET := package javadoc
10 DEB_ANT_BUILDFILE := debian/build.xml
11 DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=xstream -Dversion=$(VERSION)
12
13 pre-build::
14 -rm xstream/src/java/com/thoughtworks/xstream/converters/reflection/HarmonyReflectionProvider.java
1215
1316 binary-post-install/$(PACKAGE)::
1417 mh_installpoms -p$(PACKAGE)
15 mh_installjar -p$(PACKAGE) -l xstream/pom.xml xstream/target/xstream-SNAPSHOT.jar
16 mh_installjar -p$(PACKAGE) -l xstream-benchmark/pom.xml xstream/target/xstream-benchmark-SNAPSHOT.jar
18 mh_installjar -p$(PACKAGE) -l xstream/pom.xml xstream/build/xstream-$(VERSION).jar
19 mh_installjar -p$(PACKAGE) -l xstream-benchmark/pom.xml xstream-benchmark/build/xstream-benchmark-$(VERSION).jar
20 jh_manifest
1721
1822 clean::
19 -rm -rf debian/tmp
23 mh_clean
2024
2125 get-orig-source:
22 uscan --force-download --rename
26 uscan --force-download --rename