[pkg-java] r16348 - in trunk/xmlgraphics-commons/debian: . patches
Mathieu Malaterre
malat at alioth.debian.org
Tue Oct 30 09:45:38 UTC 2012
Author: malat
Date: 2012-10-30 09:45:38 +0000 (Tue, 30 Oct 2012)
New Revision: 16348
Added:
trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.doc-base.javadoc
trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.javadoc
trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java.jlibs
Removed:
trunk/xmlgraphics-commons/debian/new-upstream
Modified:
trunk/xmlgraphics-commons/debian/changelog
trunk/xmlgraphics-commons/debian/control
trunk/xmlgraphics-commons/debian/patches/series
trunk/xmlgraphics-commons/debian/patches/xml-top-level.patch
trunk/xmlgraphics-commons/debian/rules
trunk/xmlgraphics-commons/debian/watch
Log:
Prepare 1.5
Modified: trunk/xmlgraphics-commons/debian/changelog
===================================================================
--- trunk/xmlgraphics-commons/debian/changelog 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/changelog 2012-10-30 09:45:38 UTC (rev 16348)
@@ -1,11 +1,13 @@
-xmlgraphics-commons (1.4.dfsg-5) UNRELEASED; urgency=low
+xmlgraphics-commons (1.5-1) experimental; urgency=low
* Use my @d.o alias, remove DMUA flag (not required)
* Update the xmlgraphics-commons Uploaders list. Closes: #654142
* Bump Std-Vers to 3.9.3, no changes needed
* Fix VCS urls
+ * Use javahelper for repack and d/rules
+ * Build documentation package
- -- Mathieu Malaterre <malat at debian.org> Sun, 22 Apr 2012 13:58:47 +0200
+ -- Mathieu Malaterre <malat at debian.org> Mon, 29 Oct 2012 08:59:08 +0100
xmlgraphics-commons (1.4.dfsg-4) unstable; urgency=low
Modified: trunk/xmlgraphics-commons/debian/control
===================================================================
--- trunk/xmlgraphics-commons/debian/control 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/control 2012-10-30 09:45:38 UTC (rev 16348)
@@ -3,9 +3,9 @@
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Vincent Fourmond <fourmond at debian.org>, Mathieu Malaterre <malat at debian.org>
-Build-Depends: debhelper (>= 7), cdbs
-Build-Depends-Indep: openjdk-6-jdk | sun-java6-jdk, ant-optional,
- libcommons-io-java (>= 1.3.1), junit, libcommons-logging-java, maven-repo-helper
+Build-Depends: debhelper (>= 7), javahelper
+Build-Depends-Indep: default-jdk, default-jdk-doc, ant-optional, libmockito-java,
+ libcommons-io-java (>= 1.3.1), junit4, libcommons-logging-java, maven-repo-helper
Standards-Version: 3.9.3
Homepage: http://xmlgraphics.apache.org/commons/
Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/xmlgraphics-commons
@@ -13,7 +13,8 @@
Package: libxmlgraphics-commons-java
Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, ${java:Depends}
+Suggests: libxmlgraphics-commons-java-doc
Description: reusable components used by Batik and FOP
Apache XML Graphics Commons is a library that consists of several
reusable components used by Apache Batik and Apache FOP. Many of these
@@ -22,16 +23,18 @@
Graphics2D implementations that let you generate PDF & PostScript
files, and much more.
-#Package: libxmlgraphics-commons-java-doc
-#Section: contrib/doc
-#Architecture: all
-#Suggests: libxmlgraphics-commons-java
-#Description: reusable components used by Batik and FOP
-# Apache XML Graphics Commons is a library that consists of several
-# reusable components used by Apache Batik and Apache FOP. Many of these
-# components can easily be used separately outside the domains of SVG and
-# XSL-FO. You will find components such as a PDF library, an RTF library,
-# Graphics2D implementations that let you generate PDF & PostScript
-# files, and much more.
-# .
-# This package includes the documentation.
+Package: libxmlgraphics-commons-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${java:Depends}
+Recommends: ${java:Recommends}
+Suggests: libxmlgraphics-commons-java
+Description: reusable components used by Batik and FOP
+ Apache XML Graphics Commons is a library that consists of several
+ reusable components used by Apache Batik and Apache FOP. Many of these
+ components can easily be used separately outside the domains of SVG and
+ XSL-FO. You will find components such as a PDF library, an RTF library,
+ Graphics2D implementations that let you generate PDF & PostScript
+ files, and much more.
+ .
+ This package includes the documentation.
Added: trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.doc-base.javadoc
===================================================================
--- trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.doc-base.javadoc (rev 0)
+++ trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.doc-base.javadoc 2012-10-30 09:45:38 UTC (rev 16348)
@@ -0,0 +1,9 @@
+Document: libxmlgraphics-commons-java-doc
+Title: API JavaDoc for libxmlgraphics-commons-java-doc
+Author:
+Abstract: This the API JavaDoc for libxmlgraphics-commons-java-doc
+Section: Programming/Java
+
+Format: HTML
+Index: /usr/share/doc/libxmlgraphics-commons-java-doc/api
+Files: /usr/share/doc/libxmlgraphics-commons-java-doc/api/*.html
Added: trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.javadoc
===================================================================
--- trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.javadoc (rev 0)
+++ trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java-doc.javadoc 2012-10-30 09:45:38 UTC (rev 16348)
@@ -0,0 +1 @@
+src/documentation
Added: trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java.jlibs
===================================================================
--- trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java.jlibs (rev 0)
+++ trunk/xmlgraphics-commons/debian/libxmlgraphics-commons-java.jlibs 2012-10-30 09:45:38 UTC (rev 16348)
@@ -0,0 +1 @@
+build/xmlgraphics-commons-1.5.jar
Deleted: trunk/xmlgraphics-commons/debian/new-upstream
===================================================================
--- trunk/xmlgraphics-commons/debian/new-upstream 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/new-upstream 2012-10-30 09:45:38 UTC (rev 16348)
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# new-upstream: copyright 2007,2008 by Vincent Fourmond.
-# See debian/copyright file for details.
-#
-# Called by uscan; from uscan(1):
-#
-# Finally, if a third parameter (an action) is given in the watchfile
-# line, this is taken as the name of a command, and the command
-# command --upstream-version version filename
-#
-# is executed, using either the original file or the symlink name.
-#
-# Thanks to Sam Morris <sam at robots.org.uk> for giving me the idea
-
-set -e
-
-version=$2
-filename=$3
-
-dir=xmlgraphics-commons-*
-
-# We repackage the upstream tarball, removing the jars in the library and
-# the examples, which have dubious copyright status
-tar xzf $filename --exclude '*/lib/*.jar'
-
-# We repackage excluding the lib/ subdir
-tar cz -f $filename xml*
-
-rm -rf $dir
Modified: trunk/xmlgraphics-commons/debian/patches/series
===================================================================
--- trunk/xmlgraphics-commons/debian/patches/series 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/patches/series 2012-10-30 09:45:38 UTC (rev 16348)
@@ -1,2 +1 @@
-xml-top-level.patch
-xml-rdf-resource.patch
+#xml-top-level.patch
Modified: trunk/xmlgraphics-commons/debian/patches/xml-top-level.patch
===================================================================
--- trunk/xmlgraphics-commons/debian/patches/xml-top-level.patch 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/patches/xml-top-level.patch 2012-10-30 09:45:38 UTC (rev 16348)
@@ -5,9 +5,9 @@
Index: xmlgraphics-commons-1.4.dfsg/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java
===================================================================
---- xmlgraphics-commons-1.4.dfsg.orig/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java 2010-12-20 21:38:39.391336779 +0100
-+++ xmlgraphics-commons-1.4.dfsg/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java 2010-12-20 21:39:04.295336685 +0100
-@@ -188,6 +188,12 @@
+--- xmlgraphics-commons-1.5.orig/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java 2012-10-16 19:54:12.000000000 +0000
++++ xmlgraphics-commons-1.5/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java 2012-10-29 08:07:29.898012902 +0000
+@@ -187,6 +187,12 @@
throw new SAXException("Unexpected element in the RDF namespace: " + localName);
}
} else {
Modified: trunk/xmlgraphics-commons/debian/rules
===================================================================
--- trunk/xmlgraphics-commons/debian/rules 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/rules 2012-10-30 09:45:38 UTC (rev 16348)
@@ -1,21 +1,21 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
+JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/commons-io.jar:/usr/share/java/commons-logging.jar:/usr/share/java/junit4.jar:/usr/share/java/mockito-core.jar
+PACKAGE = xmlgraphics-commons
+VERSION = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-)
-export VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/.dfsg.*//')
+%:
+ dh $@ --with javahelper
-JAVA_HOME := $(firstword $(wildcard /usr/lib/jvm/java-6-openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun))
+override_dh_auto_build:
+ dh_auto_build -- -noinput -Dpwd=none all maven-artifacts
-# no junit test at the moment
-DEB_JARS := commons-io commons-logging #junit ant-junit
-DEB_ANT_BUILD_TARGET := all maven-artifacts
+override_dh_install:
+ #mh_installpoms -plib$(PACKAGE)-java
+ mh_installpom -plib$(PACKAGE)-java build/maven/pom.xml
+ mh_installjar -plib$(PACKAGE)-java -l build/maven/pom.xml build/$(PACKAGE)-$(VERSION).jar
-install/libxmlgraphics-commons-java::
- # Install pom and jar
- mh_installpom -v -plibxmlgraphics-commons-java build/maven/pom.xml
- mh_installjar -plibxmlgraphics-commons-java -l build/maven/pom.xml \
- -nxmlgraphics-commons -i${VERSION} build/xmlgraphics-commons-$(VERSION).jar
-
get-orig-source:
- uscan --force-download --verbose --rename
+ uscan --force-download --verbose --repack --rename
Modified: trunk/xmlgraphics-commons/debian/watch
===================================================================
--- trunk/xmlgraphics-commons/debian/watch 2012-10-29 08:49:04 UTC (rev 16347)
+++ trunk/xmlgraphics-commons/debian/watch 2012-10-30 09:45:38 UTC (rev 16348)
@@ -1,3 +1,2 @@
version=3
-opts=dversionmangle=s/.dfsg// \
- http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-(.*)-src\.tar\.gz debian debian/new-upstream
+http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-([\d\.]+)-src\.zip debian jh_repack
More information about the pkg-java-commits
mailing list