diff -Nru libxerces2-java-2.11.0/debian/ant.properties libxerces2-java-2.11.0/debian/ant.properties --- libxerces2-java-2.11.0/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ libxerces2-java-2.11.0/debian/ant.properties 2017-06-18 16:05:57.000000000 +0000 @@ -0,0 +1,4 @@ +ant.build.javac.source=1.4 +ant.build.javac.target=1.4 +javac.source=1.4 +javac.target=1.4 diff -Nru libxerces2-java-2.11.0/debian/changelog libxerces2-java-2.11.0/debian/changelog --- libxerces2-java-2.11.0/debian/changelog 2013-07-24 22:54:56.000000000 +0000 +++ libxerces2-java-2.11.0/debian/changelog 2017-06-18 20:49:50.000000000 +0000 @@ -1,3 +1,14 @@ +libxerces2-java (2.11.0-8) unstable; urgency=medium + + * Team upload. + * Removed the GCJ package + * Build with the DH sequencer instead of CDBS + * Moved the package to Git + * Standards-Version updated to 3.9.8 + * Switch to debhelper level 10 + + -- Emmanuel Bourg Sun, 18 Jun 2017 22:49:50 +0200 + libxerces2-java (2.11.0-7) unstable; urgency=low * Upload to unstable diff -Nru libxerces2-java-2.11.0/debian/clean libxerces2-java-2.11.0/debian/clean --- libxerces2-java-2.11.0/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ libxerces2-java-2.11.0/debian/clean 2017-06-18 16:21:01.000000000 +0000 @@ -0,0 +1 @@ +build/ diff -Nru libxerces2-java-2.11.0/debian/compat libxerces2-java-2.11.0/debian/compat --- libxerces2-java-2.11.0/debian/compat 2013-07-24 22:24:02.000000000 +0000 +++ libxerces2-java-2.11.0/debian/compat 2017-06-18 16:05:06.000000000 +0000 @@ -1 +1 @@ -7 +10 diff -Nru libxerces2-java-2.11.0/debian/control libxerces2-java-2.11.0/debian/control --- libxerces2-java-2.11.0/debian/control 2013-07-24 22:31:13.000000000 +0000 +++ libxerces2-java-2.11.0/debian/control 2017-06-18 16:05:20.000000000 +0000 @@ -2,24 +2,30 @@ Section: java Priority: optional Maintainer: Debian Java Maintainers -Uploaders: Marcus Better , +Uploaders: + Marcus Better , Matthias Klose , Damien Raude-Morvan , Jakub Adam , Emmanuel Bourg -Build-Depends: cdbs (>= 0.4.8), debhelper (>= 7), default-jdk, gcj-native-helper, ant, - maven-repo-helper, javahelper, libxml-commons-resolver1.1-java, libstylebook-java, - libxml-commons-external-java (>= 1.4.01-2) -Standards-Version: 3.9.4 -Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libxerces2-java -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java +Build-Depends: + ant, + debhelper (>= 10), + default-jdk, + javahelper, + libstylebook-java, + libxml-commons-external-java (>= 1.4.01-2), + libxml-commons-resolver1.1-java, + maven-repo-helper +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/libxerces2-java.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libxerces2-java.git Homepage: http://xerces.apache.org/xerces2-j/ Package: libxerces2-java Architecture: all -Depends: ${misc:Depends}, libxml-commons-resolver1.1-java, - libxml-commons-external-java (>= 1.4.01-2) -Suggests: libxerces2-java-doc, libxerces2-java-gcj +Depends: ${misc:Depends}, libxml-commons-external-java (>= 1.4.01-2), libxml-commons-resolver1.1-java +Suggests: libxerces2-java-doc Description: Validating XML parser for Java with DOM level 3 support The Xerces2 Java parser is the reference implementation of XNI, the Xerces Native Interface, and also a fully conforming XML Schema processor. @@ -44,15 +50,6 @@ Candidate Recommendation, and will correctly serialize XML 1.1 documents if the DOM level 3 load/save API's are in use. -Package: libxerces2-java-gcj -Architecture: any -Depends: libxerces2-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: Validating XML parser for Java with DOM level 3 support (native code) - The Xerces2 Java parser is the reference implementation of XNI, the - Xerces Native Interface, and also a fully conforming XML Schema processor. - . - This package contains the natively compiled code for use by gij. - Package: libxerces2-java-doc Architecture: all Section: doc diff -Nru libxerces2-java-2.11.0/debian/libxerces2-java-doc.examples libxerces2-java-2.11.0/debian/libxerces2-java-doc.examples --- libxerces2-java-2.11.0/debian/libxerces2-java-doc.examples 2013-07-24 22:24:02.000000000 +0000 +++ libxerces2-java-2.11.0/debian/libxerces2-java-doc.examples 2017-06-18 16:02:30.000000000 +0000 @@ -1,3 +1,2 @@ build/samples/* build/xercesSamples.jar - diff -Nru libxerces2-java-2.11.0/debian/libxerces2-java-doc.install libxerces2-java-2.11.0/debian/libxerces2-java-doc.install --- libxerces2-java-2.11.0/debian/libxerces2-java-doc.install 1970-01-01 00:00:00.000000000 +0000 +++ libxerces2-java-2.11.0/debian/libxerces2-java-doc.install 2017-06-18 16:14:49.000000000 +0000 @@ -0,0 +1 @@ +build/docs/javadocs/* usr/share/doc/libxerces2-java-doc/api diff -Nru libxerces2-java-2.11.0/debian/libxerces2-java.docs libxerces2-java-2.11.0/debian/libxerces2-java.docs --- libxerces2-java-2.11.0/debian/libxerces2-java.docs 2013-07-24 22:24:02.000000000 +0000 +++ libxerces2-java-2.11.0/debian/libxerces2-java.docs 2017-06-18 16:02:30.000000000 +0000 @@ -3,4 +3,3 @@ NOTICE.serializer.txt README Readme.html - diff -Nru libxerces2-java-2.11.0/debian/libxerces2-java.install libxerces2-java-2.11.0/debian/libxerces2-java.install --- libxerces2-java-2.11.0/debian/libxerces2-java.install 1970-01-01 00:00:00.000000000 +0000 +++ libxerces2-java-2.11.0/debian/libxerces2-java.install 2017-06-18 16:13:27.000000000 +0000 @@ -0,0 +1 @@ +build/xercesSamples.jar /usr/share/java/ diff -Nru libxerces2-java-2.11.0/debian/libxerces2-java.poms libxerces2-java-2.11.0/debian/libxerces2-java.poms --- libxerces2-java-2.11.0/debian/libxerces2-java.poms 2013-07-24 22:24:02.000000000 +0000 +++ libxerces2-java-2.11.0/debian/libxerces2-java.poms 2017-06-18 16:12:32.000000000 +0000 @@ -1,2 +1 @@ -debian/pom.xml --no-parent - +debian/pom.xml --no-parent --has-package-version --java-lib --artifact=build/xercesImpl.jar diff -Nru libxerces2-java-2.11.0/debian/rules libxerces2-java-2.11.0/debian/rules --- libxerces2-java-2.11.0/debian/rules 2013-07-24 22:47:30.000000000 +0000 +++ libxerces2-java-2.11.0/debian/rules 2017-06-18 16:20:47.000000000 +0000 @@ -1,53 +1,20 @@ #!/usr/bin/make -f -# debian/rules file for libxerces2-java (uses cdbs) -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/javahelper.mk -include /usr/share/cdbs/1/class/ant.mk - -PACKAGE := $(DEB_SOURCE_PACKAGE) -VERSION := $(DEB_UPSTREAM_VERSION) -JAVA_HOME := /usr/lib/jvm/default-java -ANT_HOME := /usr/share/ant -ANT_OPTS = -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -Djavac.source=1.4 -Djavac.target=1.4 - -# hardening -CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -export AOT_GCJFLAGS=$(CFLAGS) -export AOT_LDFLAGS=$(LDFLAGS) - -include /usr/share/gcj/debian_defaults -ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) - with_gcj_native := yes -endif - -# Ant targets to call -DEB_ANT_CLEAN_TARGET := clean -DEB_ANT_BUILD_TARGET := jar sampjar javadocs -#docs - -install/$(PACKAGE):: - mh_installpoms -p$(PACKAGE); - mh_installjar -p$(PACKAGE) -l debian/pom.xml $(DEB_BUILDDIR)/build/xercesImpl.jar - dh_install -p$(PACKAGE) $(DEB_BUILDDIR)/build/xercesSamples.jar /usr/share/java/ - -ifeq ($(with_gcj_native),yes) -install/libxerces2-java-gcj:: install/libxerces2-java - dh_nativejava -plibxerces2-java-gcj -endif - -clean:: - rm -rf build - -rm -rf debian/tmp - mh_clean - -binary-post-install/libxerces2-java-doc:: - dh_install -plibxerces2-java-doc build/docs/javadocs/* \ - usr/share/doc/libxerces2-java-doc/api +VERSION := 2.11.0 + +%: + dh $@ --with maven-repo-helper --with javahelper + +override_dh_auto_build: + dh_auto_build -- jar sampjar javadocs + +override_dh_compress: + dh_compress -X.java + +override_dh_auto_clean: get-orig-source: - -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack + -uscan --download-current-version --force-download --rename --repack get-orig-pom: wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/xerces/xercesImpl/$(VERSION)/xercesImpl-$(VERSION).pom