[libitext-java] 48/76: [ Miguel Landaeta ] * Team upload. * Add Build-Depends on gcj-native-helper. * Remove Michael Koch from Uploaders list. Thanks for your work on this package. (Closes: #654069).

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libitext-java.

commit 315fadc672e97ec9a73a5e71ca09e92e0eb70095
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Wed Apr 18 15:08:25 2012 +0000

    [ Miguel Landaeta ]
    * Team upload.
    * Add Build-Depends on gcj-native-helper.
    * Remove Michael Koch from Uploaders list.
      Thanks for your work on this package. (Closes: #654069).
    
    [ Jari Aalto ]
    * Update to Standards-Version to 3.9.3 and debhelper to 9.
    * Change obsolete default-jdk-builddep to default-jdk. (Closes: #669157).
    * Replace debian/patches/01* template with headers and rename file to
      standard *.patch extension.
    * Fix copyright-refers-to-symlink-license (Lintian).
    * Fix debian-control-has-unusual-field-spacing (Lintian).
    * Fix duplicate-short-description (Lintian).
    * Fix needless-dependency-on-jre (Lintian).
    * Fix missing-classpath (Lintian).
---
 debian/changelog                                    | 21 +++++++++++++++++++++
 debian/compat                                       |  2 +-
 debian/control                                      | 14 +++++++-------
 debian/copyright                                    |  2 +-
 ...ard_input.diff => 01_allow_standard_input.patch} | 12 ++----------
 debian/patches/series                               |  2 +-
 debian/rules                                        | 10 ++++++++++
 7 files changed, 43 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2094d48..4801218 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,24 @@
+libitext-java (2.1.7-3) UNRELEASED; urgency=low
+
+  [ Miguel Landaeta ]
+  * Team upload.
+  * Add Build-Depends on gcj-native-helper.
+  * Remove Michael Koch from Uploaders list.
+    Thanks for your work on this package. (Closes: #654069).
+
+  [ Jari Aalto ]
+  * Update to Standards-Version to 3.9.3 and debhelper to 9.
+  * Change obsolete default-jdk-builddep to default-jdk. (Closes: #669157).
+  * Replace debian/patches/01* template with headers and rename file to
+    standard *.patch extension.
+  * Fix copyright-refers-to-symlink-license (Lintian).
+  * Fix debian-control-has-unusual-field-spacing (Lintian).
+  * Fix duplicate-short-description (Lintian).
+  * Fix needless-dependency-on-jre (Lintian).
+  * Fix missing-classpath (Lintian).
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Tue, 17 Apr 2012 18:37:46 -0430
+
 libitext-java (2.1.7-2) unstable; urgency=low
 
   [ Michael Koch ]
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 805fe35..45d64d1 100644
--- a/debian/control
+++ b/debian/control
@@ -2,17 +2,17 @@ Source: libitext-java
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Michael Koch <konqueror at gmx.de>, Adriaan Peeters <apeeters at lashout.net>, Torsten Werner <twerner at debian.org>
-Build-Depends: debhelper (>= 7), cdbs, default-jdk-builddep, ant, libbcprov-java,
- libbcmail-java, libbctsp-java, libdom4j-java, libpdfrenderer-java
-Standards-Version: 3.8.4
+Uploaders: Adriaan Peeters <apeeters at lashout.net>, Torsten Werner <twerner at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, ant, libbcprov-java,
+ libbcmail-java, libbctsp-java, libdom4j-java, libpdfrenderer-java, gcj-native-helper
+Standards-Version: 3.9.3
 Homepage: http://www.lowagie.com/iText/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libitext-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libitext-java
 
 Package: libitext-java
 Architecture: all
-Depends:  default-jre | java2-runtime, ${misc:Depends}
+Depends: ${misc:Depends}
 Suggests: 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.
@@ -37,14 +37,14 @@ Description: Java Library to create and manipulate PDF on the fly
 
 Package: libitext-rtf-java
 Architecture: all
-Depends:  default-jre | java2-runtime, libitext-java (= ${binary:Version}), ${misc:Depends}
+Depends: libitext-java (= ${binary:Version}), ${misc:Depends}
 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
  a similar fashion to iText itself.
 
 Package: libitext-rups-java
 Architecture: all
-Depends:  default-jre | java2-runtime, libitext-java (= ${binary:Version}), ${misc:Depends}
+Depends: libitext-java (= ${binary:Version}), ${misc:Depends}
 Description: graphical tool for Reading and Updating PDF Syntax (RUPS)
  iText RUPS provides a GUI for visualizing PDF files and investigating their
  internal structure.
diff --git a/debian/copyright b/debian/copyright
index eec3a39..3695161 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -86,7 +86,7 @@ License:
   Library general Public License for more details.
 
 On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL'.
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
 
   Mozilla Public License Version 1.1
   
diff --git a/debian/patches/01_allow_standard_input.diff b/debian/patches/01_allow_standard_input.patch
similarity index 57%
rename from debian/patches/01_allow_standard_input.diff
rename to debian/patches/01_allow_standard_input.patch
index 2bca04b..7bb24b8 100644
--- a/debian/patches/01_allow_standard_input.diff
+++ b/debian/patches/01_allow_standard_input.patch
@@ -1,13 +1,5 @@
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: http://bugs.debian.org/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
+From:
+Subject:
 
 --- libitext-java-2.1.7.orig/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
 +++ libitext-java-2.1.7/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
diff --git a/debian/patches/series b/debian/patches/series
index 138aae3..d28bd07 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-01_allow_standard_input.diff
+01_allow_standard_input.patch
diff --git a/debian/rules b/debian/rules
index 6a18479..70f619a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ DEB_ANT_BUILD_TARGET := jar jar.rtf jar.rups
 DEB_ANT_CLEAN_TARGET :=
 DEB_ANT_BUILDFILE    := src/build.xml
 DEB_JARS             := bcprov bcmail bctsp dom4j pdfrenderer
+CLASS_PATH           := /usr/share/java/itext.jar
 
 include /usr/share/gcj/debian_defaults
 ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
@@ -30,6 +31,15 @@ install/lib$(LIBRARY_PACKAGE)-java::
 
 install/lib$(LIBRARY_PACKAGE)-rtf-java::
 	dh_installdirs -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java
+	# repack with Class-Path
+	cd lib && \
+	jar=iText-rtf.jar ; \
+	file=META-INF/MANIFEST.MF ; \
+	jar -xf $$jar && \
+		sed -i '/^[ \r\t]*$$/d' $$file && \
+		/bin/echo -e "Class-Path: $(CLASS_PATH)\r" >> $$file && \
+	jar -cfm $$jar $$file com
+	# install
 	install -m 644 lib/iText-rtf.jar debian/lib$(LIBRARY_PACKAGE)-rtf-java/usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar
 	dh_link -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rtf.jar
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libitext-java.git



More information about the pkg-java-commits mailing list