[pkg-java] r8205 - trunk/libitext-java/debian

Matthias Klose doko at alioth.debian.org
Mon Apr 27 22:41:35 UTC 2009


Author: doko
Date: 2009-04-27 22:41:35 +0000 (Mon, 27 Apr 2009)
New Revision: 8205

Modified:
   trunk/libitext-java/debian/changelog
   trunk/libitext-java/debian/control
   trunk/libitext-java/debian/rules
Log:
libitext-java (2.1.5-1) unstable; urgency=low

  * New upstream version.
  * Build packages natively compiled for gcj.
  * Handle reading PDF's from stdin.

 -- Matthias Klose <doko at debian.org>  Mon, 27 Apr 2009 23:59:05 +0200


Modified: trunk/libitext-java/debian/changelog
===================================================================
--- trunk/libitext-java/debian/changelog	2009-04-21 21:10:51 UTC (rev 8204)
+++ trunk/libitext-java/debian/changelog	2009-04-27 22:41:35 UTC (rev 8205)
@@ -1,3 +1,11 @@
+libitext-java (2.1.5-1) unstable; urgency=low
+
+  * New upstream version.
+  * Build packages natively compiled for gcj.
+  * Handle reading PDF's from stdin.
+
+ -- Matthias Klose <doko at debian.org>  Mon, 27 Apr 2009 23:59:05 +0200
+
 libitext-java (2.1.4-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libitext-java/debian/control
===================================================================
--- trunk/libitext-java/debian/control	2009-04-21 21:10:51 UTC (rev 8204)
+++ trunk/libitext-java/debian/control	2009-04-27 22:41:35 UTC (rev 8205)
@@ -1,19 +1,19 @@
 Source: libitext-java
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Gerardo Curiel <gcuriel at debianvenezuela.org>,
  Michael Koch <konqueror at gmx.de>, Adriaan Peeters <apeeters at lashout.net>,
  Torsten Werner <twerner at debian.org>
 Homepage: http://www.lowagie.com/iText/
-Build-Depends: debhelper (>= 5.0.0), cdbs, default-jdk, ant, libbcprov-java,
+Build-Depends: debhelper (>= 5.0.0), cdbs, default-jdk-builddep, ant, libbcprov-java,
  libbcmail-java, libdom4j-java, libpdfrenderer-java
 Standards-Version: 3.8.0
 
 Package: libitext-java
 Architecture: all
-Section: libs
 Depends:  default-jre | java2-runtime
+Recommends: libitext-java-gcj
 Description: Java Library to create and manipulate PDF on the fly
  iText is a library that allows you to generate PDF files on the fly.
  The iText classes are very useful for people who need to generate read-only,
@@ -22,9 +22,21 @@
  technology-based Servlets: The look and feel of HTML is browser dependent;
  with iText and PDF you can control exactly how your servlet's output will look.
 
+Package: libitext-java-gcj
+Architecture: any
+Depends: libitext-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: Java Library to create and manipulate PDF on the fly
+ iText is a library that allows you to generate PDF files on the fly.
+ The iText classes are very useful for people who need to generate read-only,
+ platform independent documents containing text, lists, tables and images.
+ The library is especially useful in combination with Java(TM)
+ technology-based Servlets: The look and feel of HTML is browser dependent;
+ with iText and PDF you can control exactly how your servlet's output will look.
+ .
+ This package contains the natively compiled code for use by gij.
+
 Package: libitext-rtf-java
 Architecture: all
-Section: libs
 Depends:  default-jre | java2-runtime, libitext-java (= ${binary:Version})
 Description: Java Library to create and manipulate RTF files on the fly
  iText RTF is a library that allows you to generate RTF files on the fly in
@@ -32,7 +44,6 @@
 
 Package: libitext-rups-java
 Architecture: all
-Section: libs
 Depends:  default-jre | java2-runtime, openjdk-6-jre | java-virtual-machine,
  libitext-java (= ${binary:Version})
 Description: graphical tool for Reading and Updating PDF Syntax (RUPS)

Modified: trunk/libitext-java/debian/rules
===================================================================
--- trunk/libitext-java/debian/rules	2009-04-21 21:10:51 UTC (rev 8204)
+++ trunk/libitext-java/debian/rules	2009-04-27 22:41:35 UTC (rev 8205)
@@ -11,6 +11,11 @@
 DEB_ANT_BUILDFILE    := src/build.xml
 DEB_JARS             := bcprov bcmail dom4j pdfrenderer
 
+include /usr/share/gcj/debian_defaults
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+  with_gcj_native := yes
+endif
+
 LIBRARY_PACKAGE      := itext
 
 makebuilddir/lib$(LIBRARY_PACKAGE)-java:: debian/stamp-makebuilddir
@@ -34,6 +39,11 @@
 	install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar
 	dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar
 
+ifeq ($(with_gcj_native),yes)
+install/libitext-java-gcj:: install/libitext-java
+	AOT_GCJFLAGS=-fno-indirect-classes dh_nativejava -plibitext-java-gcj
+endif
+
 clean::
 	dh_testdir
 	dh_testroot




More information about the pkg-java-commits mailing list