[pkg-java] r14205 - in trunk/libpdfrenderer-java/debian: . source
Torsten Werner
twerner at alioth.debian.org
Tue Aug 16 14:55:07 UTC 2011
Author: twerner
Date: 2011-08-16 14:55:07 +0000 (Tue, 16 Aug 2011)
New Revision: 14205
Added:
trunk/libpdfrenderer-java/debian/orig-tar.sh
trunk/libpdfrenderer-java/debian/source/
trunk/libpdfrenderer-java/debian/source/format
Removed:
trunk/libpdfrenderer-java/debian/build.xml
Modified:
trunk/libpdfrenderer-java/debian/changelog
trunk/libpdfrenderer-java/debian/control
trunk/libpdfrenderer-java/debian/rules
trunk/libpdfrenderer-java/debian/watch
Log:
* New upstream release
* Create orig tarball from SVN tag.
* Change Section: java.
* Change Build-Depends: default-jdk.
* Fix Depends.
* Use upstream provided build.xml file and remove debian/build.xml.
* Switch to source format 3.0.
Deleted: trunk/libpdfrenderer-java/debian/build.xml
===================================================================
--- trunk/libpdfrenderer-java/debian/build.xml 2011-08-16 13:56:35 UTC (rev 14204)
+++ trunk/libpdfrenderer-java/debian/build.xml 2011-08-16 14:55:07 UTC (rev 14205)
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project default="jar" name="${project.name}" basedir="..">
-
- <target name="clean">
- <delete dir="${class.dir}" quiet="true"/>
- <delete file="${jar.name}" quiet="true"/>
- </target>
-
- <target name="compile">
- <mkdir dir="${class.dir}"/>
- <javac srcdir="${source.dir}" destdir="${class.dir}"
- debug="true" source="1.5"/>
- </target>
-
- <target name="jar" description="o Create the jar" depends="compile">
- <jar jarfile="${jar.name}">
- <fileset dir="${class.dir}">
- <include name="**"/>
- </fileset>
- </jar>
- </target>
-
-</project>
Modified: trunk/libpdfrenderer-java/debian/changelog
===================================================================
--- trunk/libpdfrenderer-java/debian/changelog 2011-08-16 13:56:35 UTC (rev 14204)
+++ trunk/libpdfrenderer-java/debian/changelog 2011-08-16 14:55:07 UTC (rev 14205)
@@ -1,3 +1,15 @@
+libpdfrenderer-java (0.9.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Create orig tarball from SVN tag.
+ * Change Section: java.
+ * Change Build-Depends: default-jdk.
+ * Fix Depends.
+ * Use upstream provided build.xml file and remove debian/build.xml.
+ * Switch to source format 3.0.
+
+ -- Torsten Werner <twerner at debian.org> Tue, 16 Aug 2011 16:52:43 +0200
+
libpdfrenderer-java (0~20080829-1) unstable; urgency=low
* Initial release. (Closes: #497104)
Modified: trunk/libpdfrenderer-java/debian/control
===================================================================
--- trunk/libpdfrenderer-java/debian/control 2011-08-16 13:56:35 UTC (rev 14204)
+++ trunk/libpdfrenderer-java/debian/control 2011-08-16 14:55:07 UTC (rev 14205)
@@ -1,9 +1,9 @@
Source: libpdfrenderer-java
-Section: text
+Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: ant, cdbs, debhelper (>= 5), default-jdk-builddep
+Build-Depends: ant, cdbs, debhelper (>= 5), default-jdk
Standards-Version: 3.8.0
Homepage: https://pdf-renderer.dev.java.net
Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/libpdfrenderer-java
@@ -11,7 +11,7 @@
Package: libpdfrenderer-java
Architecture: all
-Depends: default-jre | java2-runtime
+Depends: ${misc:Depends}
Description: Java PDF renderer and viewer
The PDF Renderer is just what the name implies: an open source, all
Java library which renders PDF documents to the screen using Java2D.
Added: trunk/libpdfrenderer-java/debian/orig-tar.sh
===================================================================
--- trunk/libpdfrenderer-java/debian/orig-tar.sh (rev 0)
+++ trunk/libpdfrenderer-java/debian/orig-tar.sh 2011-08-16 14:55:07 UTC (rev 14205)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../libpdfrenderer-java_$VERSION.orig.tar.gz
+DIR=pdfrenderer-$VERSION
+TAG=$(echo "release-$VERSION")
+
+svn export https://svn.java.net/svn/pdf-renderer~svn/tags/${TAG}/ $DIR
+tar -c -z --exclude '*/javadoc/*' --exclude '*.zip' --exclude '*.jar' -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir && echo "moved $TAR to $origDir"
+fi
Property changes on: trunk/libpdfrenderer-java/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/libpdfrenderer-java/debian/rules
===================================================================
--- trunk/libpdfrenderer-java/debian/rules 2011-08-16 13:56:35 UTC (rev 14204)
+++ trunk/libpdfrenderer-java/debian/rules 2011-08-16 14:55:07 UTC (rev 14205)
@@ -3,19 +3,14 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-JAVA_HOME := /usr/lib/jvm/default-java
-DEB_ANT_BUILDFILE := debian/build.xml
+JAVA_HOME := /usr/lib/jvm/default-java
install/libpdfrenderer-java::
- install -m644 -D pdfrenderer.jar \
+ install -m644 -D dist/PDFRenderer.jar \
$(DEB_DESTDIR)/usr/share/java/pdfrenderer-$(DEB_UPSTREAM_VERSION).jar
dh_link -plibpdfrenderer-java \
/usr/share/java/pdfrenderer-$(DEB_UPSTREAM_VERSION).jar \
/usr/share/java/pdfrenderer.jar
get-orig-source:
- wget https://pdf-renderer.dev.java.net/demos/latest/PDFRenderer_src.zip
- unzip PDFRenderer_src.zip
- tar cfz ../libpdfrenderer-java_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
- PDFRenderer_src
- $(RM) -r PDFRenderer_src.zip PDFRenderer_src
+ uscan --download-version=$(DEB_UPSTREAM_VERSION) --force-download
Added: trunk/libpdfrenderer-java/debian/source/format
===================================================================
--- trunk/libpdfrenderer-java/debian/source/format (rev 0)
+++ trunk/libpdfrenderer-java/debian/source/format 2011-08-16 14:55:07 UTC (rev 14205)
@@ -0,0 +1 @@
+3.0 (quilt)
Modified: trunk/libpdfrenderer-java/debian/watch
===================================================================
--- trunk/libpdfrenderer-java/debian/watch 2011-08-16 13:56:35 UTC (rev 14204)
+++ trunk/libpdfrenderer-java/debian/watch 2011-08-16 14:55:07 UTC (rev 14205)
@@ -1,3 +1,4 @@
version=3
-opts=uversionmangle=s/_//g;s/^/0~/ \
- http://swinglabs.org/downloads.jsp .*/PDFRenderer-([\d_.]+)-src\.zip
+
+http://svn.java.net/svn/pdf-renderer~svn/tags/ release-([\d.]*)/ \
+ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list