[pkg-java] r3461 - trunk/libgnumail-java/debian

paulcager-guest at alioth.debian.org paulcager-guest at alioth.debian.org
Mon May 14 20:28:00 UTC 2007


Author: paulcager-guest
Date: 2007-05-14 20:28:00 +0000 (Mon, 14 May 2007)
New Revision: 3461

Added:
   trunk/libgnumail-java/debian/linda-overrides
   trunk/libgnumail-java/debian/source.lintian-overrides
Removed:
   trunk/libgnumail-java/debian/install
Modified:
   trunk/libgnumail-java/debian/changelog
   trunk/libgnumail-java/debian/control
   trunk/libgnumail-java/debian/rules
Log:
libgnumail-java (1.1.2-1) unstable; urgency=low

  * New upstream release (Closes: #420825, #422991).
  * Added lintian / linda overrides for out-of-date configure
    files (not used in our build).
  * Converted to cdbs (de-facto project standard).
  * Added myself to Uploaders.

 -- Paul Cager <paul-debian at home.paulcager.org>  Wed, 09 May 2007 16:46:19 +0100


Modified: trunk/libgnumail-java/debian/changelog
===================================================================
--- trunk/libgnumail-java/debian/changelog	2007-05-14 19:48:54 UTC (rev 3460)
+++ trunk/libgnumail-java/debian/changelog	2007-05-14 20:28:00 UTC (rev 3461)
@@ -1,3 +1,13 @@
+libgnumail-java (1.1.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: #420825, #422991).
+  * Added lintian / linda overrides for out-of-date configure
+    files (not used in our build).
+  * Converted to cdbs (de-facto project standard).
+  * Added myself to Uploaders.
+
+ -- Paul Cager <paul-debian at home.paulcager.org>  Wed, 09 May 2007 16:46:19 +0100
+
 libgnumail-java (1.1.1-3) experimental; urgency=low
 
   * Uploaded to experimental.

Modified: trunk/libgnumail-java/debian/control
===================================================================
--- trunk/libgnumail-java/debian/control	2007-05-14 19:48:54 UTC (rev 3460)
+++ trunk/libgnumail-java/debian/control	2007-05-14 20:28:00 UTC (rev 3461)
@@ -2,8 +2,9 @@
 Section: libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>
-Build-Depends: debhelper (>= 4.2.30)
+Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>,
+           Paul Cager <paul-debian at home.paulcager.org>
+Build-Depends: debhelper (>= 4.2.30), cdbs (>= 0.4.5.3)
 Build-Depends-Indep: java-gcj-compat-dev, ant, libgnujaf-java, libgnuinet-java
 Standards-Version: 3.7.2
 

Deleted: trunk/libgnumail-java/debian/install
===================================================================
--- trunk/libgnumail-java/debian/install	2007-05-14 19:48:54 UTC (rev 3460)
+++ trunk/libgnumail-java/debian/install	2007-05-14 20:28:00 UTC (rev 3461)
@@ -1 +0,0 @@
-*.jar usr/share/java

Added: trunk/libgnumail-java/debian/linda-overrides
===================================================================
--- trunk/libgnumail-java/debian/linda-overrides	                        (rev 0)
+++ trunk/libgnumail-java/debian/linda-overrides	2007-05-14 20:28:00 UTC (rev 3461)
@@ -0,0 +1,2 @@
+Tag: config-too-old
+Data: config\.(guess|sub)

Modified: trunk/libgnumail-java/debian/rules
===================================================================
--- trunk/libgnumail-java/debian/rules	2007-05-14 19:48:54 UTC (rev 3460)
+++ trunk/libgnumail-java/debian/rules	2007-05-14 20:28:00 UTC (rev 3461)
@@ -1,54 +1,32 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
+VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | sed 's/-[0-9]*$$//')
 JAVA_HOME            := /usr/lib/jvm/java-gcj
 ANT_HOME             := /usr/share/ant
-CLASSPATH            := /usr/share/java/activation.jar:/usr/share/java/inetlib.jar:${ANT_HOME}/lib/ant-launcher.jar:${ANT_HOME}/lib/ant.jar:${JAVA_HOME}/lib/tools.jar
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar xalan2 \
+			inetlib
+DEB_ANT_BUILD_TARGET := dist javadoc
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION) \
+                        -Dgnumail.jar=gnumail-$(VERSION).jar -Dproviders.jar=gnumail-providers-$(VERSION).jar
 
-build: build-stamp
+binary-post-install/$(PACKAGE)::
+	dh_install -p$(PACKAGE) ./gnumail-$(VERSION).jar usr/share/java
+	dh_install -p$(PACKAGE) ./gnumail-providers-$(VERSION).jar usr/share/java
+	dh_link -p$(PACKAGE) usr/share/java/gnumail-$(VERSION).jar usr/share/java/$gnumail.jar
+	dh_link -p$(PACKAGE) usr/share/java/gnumail-providers-$(VERSION).jar usr/share/java/$gnumail-providers.jar
+	dh_installchangelogs ChangeLog
+	#install -d debian/$(PACKAGE)/usr/share/lintian/overrides/
+	#install -m 644 debian/$(PACKAGE).lintian debian/$(PACKAGE)/usr/share/lintian/overrides/$(PACKAGE)
 
-build-stamp:  
-	dh_testdir
-	$(JAVA_HOME)/bin/java -cp $(CLASSPATH) -Dtarget=1.3 -Dant.home=$(ANT_HOME) \
-org.apache.tools.ant.Main dist javadoc -propertyfile debian/ant.properties
+binary-post-install/$(PACKAGE)-doc::
+	dh_install -p$(PACKAGE)-doc $(API_DOCS) usr/share/doc/$(PACKAGE)
 
-	touch build-stamp
+cleanbuilddir/$(PACKAGE)::
+	rm -rf *.jar apidoc classes
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	$(JAVA_HOME)/bin/java -cp $(CLASSPATH) -Dant.home=$(ANT_HOME) org.apache.tools.ant.Main clean -propertyfile debian/ant.properties
-	-rm -f *.jar gjdoc_rawcomment.cache
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs	
-
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_install
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 

Added: trunk/libgnumail-java/debian/source.lintian-overrides
===================================================================
--- trunk/libgnumail-java/debian/source.lintian-overrides	                        (rev 0)
+++ trunk/libgnumail-java/debian/source.lintian-overrides	2007-05-14 20:28:00 UTC (rev 3461)
@@ -0,0 +1,5 @@
+# These config files are not used (use ant + build.xml).
+libgnumail-java source: outdated-autotools-helper-file config.guess 2001-08-23
+libgnumail-java source: outdated-autotools-helper-file config.sub 2001-08-23
+libgnumail-java source: outdated-autotools-helper-file config/config.guess 2001-09-04
+libgnumail-java source: outdated-autotools-helper-file config/config.sub 2001-09-07




More information about the pkg-java-commits mailing list