[pkg-java] r14695 - trunk/libisfreetype-java/debian

Torsten Werner twerner at alioth.debian.org
Sat Sep 3 16:55:17 UTC 2011


Author: twerner
Date: 2011-09-03 16:55:17 +0000 (Sat, 03 Sep 2011)
New Revision: 14695

Added:
   trunk/libisfreetype-java/debian/compat
   trunk/libisfreetype-java/debian/javabuild
   trunk/libisfreetype-java/debian/libisfreetype-java-doc.javadoc
   trunk/libisfreetype-java/debian/libisfreetype-java.jlibs
   trunk/libisfreetype-java/debian/orig-tar.sh
Removed:
   trunk/libisfreetype-java/debian/libisfreetype-5.2-java.dirs
   trunk/libisfreetype-java/debian/libisfreetype-5.2-java.docs
   trunk/libisfreetype-java/debian/libisfreetype-java-doc.doc-base
   trunk/libisfreetype-java/debian/libisfreetype-java-doc.docs
   trunk/libisfreetype-java/debian/libisfreetype-java.dirs
Modified:
   trunk/libisfreetype-java/debian/changelog
   trunk/libisfreetype-java/debian/control
   trunk/libisfreetype-java/debian/rules
   trunk/libisfreetype-java/debian/watch
Log:
* Team upload
* New upstream version.
* Improve the download and cleanup of the orig tarball. Remove javadoc files.
* Switch to javahelper.
* Drop versioned package.
* Update Standards-Version: 3.9.2.

Modified: trunk/libisfreetype-java/debian/changelog
===================================================================
--- trunk/libisfreetype-java/debian/changelog	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/changelog	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1,3 +1,14 @@
+libisfreetype-java (5.3.20100629-1) unstable; urgency=low
+
+  * Team upload
+  * New upstream version.
+  * Improve the download and cleanup of the orig tarball. Remove javadoc files.
+  * Switch to javahelper.
+  * Drop versioned package.
+  * Update Standards-Version: 3.9.2.
+
+ -- Torsten Werner <twerner at debian.org>  Sat, 03 Sep 2011 18:52:07 +0200
+
 libisfreetype-java (5.2.20091102-2) unstable; urgency=low
 
   * Jar files should all be lowercase, since so are all references to 

Added: trunk/libisfreetype-java/debian/compat
===================================================================
--- trunk/libisfreetype-java/debian/compat	                        (rev 0)
+++ trunk/libisfreetype-java/debian/compat	2011-09-03 16:55:17 UTC (rev 14695)
@@ -0,0 +1 @@
+7

Modified: trunk/libisfreetype-java/debian/control
===================================================================
--- trunk/libisfreetype-java/debian/control	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/control	2011-09-03 16:55:17 UTC (rev 14695)
@@ -3,15 +3,18 @@
 Priority: extra
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <moeller at debian.org>
-Build-Depends: debhelper (>= 7), default-jdk-builddep, cdbs, libjna-java, libisnativec-java, libisrt-java
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), default-jdk-builddep, cdbs, libjna-java, libisnativec-java, libisrt-java, javahelper (>= 0.37)
+Standards-Version: 3.9.2
 Homepage: http://opensource.intarsys.de/home/en/index.php?n=OpenSource.IsFreeType
 Vcs-svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/libisfreetype-java/
 Vcs-browser: http://svn.debian.org/wsvn/pkg-java/trunk/libisfreetype-java/
 
 Package: libisfreetype-java
 Architecture: all
-Depends: ${misc:Depends}, libjna-java, libisfreetype-5.2-java
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Conflicts: libisfreetype-5.2-java
+Replaces: libisfreetype-5.2-java
 Description: Java wrapper for FreeType font handling library
  The PDF rendering of the Open Source efforts of the company intarsys
  was in demand of a good font handling library. This new development was
@@ -31,32 +34,11 @@
  This package provides a only a link to the very latest
  version of libisfreetype.
 
-
-Package: libisfreetype-5.2-java
-Architecture: all
-Depends: ${misc:Depends}, libisrt-java, libisnativec-java, libfreetype6
-Suggests: default-jre-headless
-Description: Java wrapper for FreeType font handling library
- The PDF rendering of the Open Source efforts of the company intarsys
- was in demand of a good font handling library. This new development was
- motivated by observations that current solutions
-  * only have poor support for VM
-  * there is no plain Java library around 
-  * extends the de factor standard C library FreeType
- This library wraps around the functions that were important for
- using isNativeC (another library of the same company) and were ready
- to run on all FreeType supported platforms.
- .
- While this wrapper-library binds and uses only a very small subset
- of the FreeType features available, to the degree that it is needed
- for the jPodRenderer, it should be no problem to use and enhance
- this implementation in other contexts.
-
-
 Package: libisfreetype-java-doc
 Section: doc
-Depends: ${misc:Depends}
+Depends: ${java:Depends}, ${misc:Depends}
 Architecture: all
+Recommends: ${java:Recommends}
 Description: Javadoc API description for isFreeType
  Autogenerated from the Java source code, this package offers
  the HTML files describing the library for programmers.

Added: trunk/libisfreetype-java/debian/javabuild
===================================================================
--- trunk/libisfreetype-java/debian/javabuild	                        (rev 0)
+++ trunk/libisfreetype-java/debian/javabuild	2011-09-03 16:55:17 UTC (rev 14695)
@@ -0,0 +1 @@
+libisfreetype.jar src

Deleted: trunk/libisfreetype-java/debian/libisfreetype-5.2-java.dirs
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-5.2-java.dirs	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/libisfreetype-5.2-java.dirs	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1 +0,0 @@
-usr/share/java

Deleted: trunk/libisfreetype-java/debian/libisfreetype-5.2-java.docs
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-5.2-java.docs	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/libisfreetype-5.2-java.docs	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1,2 +0,0 @@
-debian/README.Debian
-debian/README.source

Deleted: trunk/libisfreetype-java/debian/libisfreetype-java-doc.doc-base
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-java-doc.doc-base	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/libisfreetype-java-doc.doc-base	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1,10 +0,0 @@
-Document: libisfreetype-java
-Title: Javadoc generated API
-Author: authors of code
-Abstract: This manual describes what libisfreetype-java is
- and what functions of the native freetype library are mappend.
-Section: Programming/Java
-
-Format: HTML
-Index: /usr/share/doc/libisfreetype-java-doc/javadoc/index.html
-Files: /usr/share/doc/libisfreetype-java-doc/javadoc/*.html /usr/share/doc/libisfreetype-java-doc/javadoc/*/*.html /usr/share/doc/libisfreetype-java-doc/javadoc/*/*/*/*/*.html

Deleted: trunk/libisfreetype-java/debian/libisfreetype-java-doc.docs
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-java-doc.docs	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/libisfreetype-java-doc.docs	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1 +0,0 @@
-javadoc

Added: trunk/libisfreetype-java/debian/libisfreetype-java-doc.javadoc
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-java-doc.javadoc	                        (rev 0)
+++ trunk/libisfreetype-java/debian/libisfreetype-java-doc.javadoc	2011-09-03 16:55:17 UTC (rev 14695)
@@ -0,0 +1 @@
+internal

Deleted: trunk/libisfreetype-java/debian/libisfreetype-java.dirs
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-java.dirs	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/libisfreetype-java.dirs	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1 +0,0 @@
-usr/share/java/

Added: trunk/libisfreetype-java/debian/libisfreetype-java.jlibs
===================================================================
--- trunk/libisfreetype-java/debian/libisfreetype-java.jlibs	                        (rev 0)
+++ trunk/libisfreetype-java/debian/libisfreetype-java.jlibs	2011-09-03 16:55:17 UTC (rev 14695)
@@ -0,0 +1 @@
+libisfreetype.jar

Added: trunk/libisfreetype-java/debian/orig-tar.sh
===================================================================
--- trunk/libisfreetype-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libisfreetype-java/debian/orig-tar.sh	2011-09-03 16:55:17 UTC (rev 14695)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+ZIP=$3
+TAR=../libisfreetype-java_$2.orig.tar.gz
+DIR=libisfreetype-java-$2
+
+unzip $ZIP
+mv distribution $DIR
+tar -c -z -f $TAR --exclude '*.jar' --exclude '*.zip' --exclude '*/javadoc/*' $DIR
+rm -rf $DIR $ZIP
+
+# 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/libisfreetype-java/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/libisfreetype-java/debian/rules
===================================================================
--- trunk/libisfreetype-java/debian/rules	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/rules	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1,24 +1,12 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-include /usr/share/cdbs/1/rules/debhelper.mk
+export JAVA_HOME := /usr/lib/jvm/default-java
 
-DEB_UPSTREAM_VERSION_2=$(shell echo $(DEB_UPSTREAM_VERSION)|cut -f1,2 -d.)
+# Put depended upon jars in here
+export CLASSPATH := /usr/share/java/isrt.jar:/usr/share/java/isnativec.jar:/usr/share/java/jna.jar
 
-CLASSPATH=/usr/share/java/isrt.jar:/usr/share/java/isnativec.jar:/usr/share/java/jna.jar
+%:
+	dh --with javahelper $@
 
-build/libisfreetype-$(DEB_UPSTREAM_VERSION_2)-java::
-	cd src && javac -cp $(CLASSPATH) `find . -name "*.java"`
-
-install/libisfreetype-$(DEB_UPSTREAM_VERSION_2)-java::
-	cd src && jar cf $(CURDIR)/debian/libisfreetype-$(DEB_UPSTREAM_VERSION_2)-java/usr/share/java/isfreetype-$(DEB_UPSTREAM_VERSION).jar `find . -name "*.class"`
-	cd $(CURDIR)/debian/libisfreetype-$(DEB_UPSTREAM_VERSION_2)-java/usr/share/java/ && ln -s isfreetype-$(DEB_UPSTREAM_VERSION).jar isfreetype-$(DEB_UPSTREAM_VERSION_2).jar
-
-build/libisfreetype-java::
-
-install/libisfreetype-java::
-	cd $(CURDIR)/debian/libisfreetype-java/usr/share/java/ && ln -s isfreetype-$(DEB_UPSTREAM_VERSION).jar isfreetype.jar
-
-clean::
-	find src -name "*.class" | xargs -r rm
-
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download

Modified: trunk/libisfreetype-java/debian/watch
===================================================================
--- trunk/libisfreetype-java/debian/watch	2011-09-03 16:01:40 UTC (rev 14694)
+++ trunk/libisfreetype-java/debian/watch	2011-09-03 16:55:17 UTC (rev 14695)
@@ -1,2 +1,3 @@
 version=3
-http://sf.net/jpodrenderer/isFreetype\.(.*)\.zip
+
+http://sf.net/jpodrenderer/isFreetype\.(.*)\.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list