[pkg-java] r6306 - trunk/glib-java/debian
tgg at alioth.debian.org
tgg at alioth.debian.org
Sun Apr 27 17:45:22 UTC 2008
Author: tgg
Date: 2008-04-27 17:45:21 +0000 (Sun, 27 Apr 2008)
New Revision: 6306
Modified:
trunk/glib-java/debian/changelog
trunk/glib-java/debian/control
trunk/glib-java/debian/copyright
trunk/glib-java/debian/rules
Log:
fix #477859 and add a missing (C) in copyright
Modified: trunk/glib-java/debian/changelog
===================================================================
--- trunk/glib-java/debian/changelog 2008-04-27 12:27:13 UTC (rev 6305)
+++ trunk/glib-java/debian/changelog 2008-04-27 17:45:21 UTC (rev 6306)
@@ -1,3 +1,12 @@
+glib-java (0.4.2-10) unstable; urgency=low
+
+ * Build-depends on default-jdk-builddep, and set JAVA_HOME to
+ /usr/lib/jvm/default-java. Do not build-depend on gcj (for -cni package)
+ on unsupported arches. Closes: #477859.
+ * Add missing copyright sign to debian/copyright to fix a lintian warning.
+
+ -- Thomas Girard <thomas.g.girard at free.fr> Sun, 27 Apr 2008 17:29:21 +0000
+
glib-java (0.4.2-9) unstable; urgency=low
* Replace XS-Vcs: with Vcs:.
Modified: trunk/glib-java/debian/control
===================================================================
--- trunk/glib-java/debian/control 2008-04-27 12:27:13 UTC (rev 6305)
+++ trunk/glib-java/debian/control 2008-04-27 17:45:21 UTC (rev 6306)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Mark Howard <mh at debian.org>, Thomas Girard <thomas.g.girard at free.fr>
-Build-Depends: debhelper (>> 5), gcj, java-gcj-compat-dev (>= 1.0.65-6), docbook-utils, cdbs (>= 0.4.34), pkg-config, libglib2.0-dev (>= 2.12.0), quilt (>= 0.29-2), autotools-dev
+Build-Depends: debhelper (>> 5), gcj [!alpha !arm !hppa !hurd-i386], default-jdk-builddep, docbook-utils, cdbs (>= 0.4.34), pkg-config, libglib2.0-dev (>= 2.12.0), quilt (>= 0.29-2), autotools-dev
Standards-Version: 3.7.3
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/glib-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/glib-java
Modified: trunk/glib-java/debian/copyright
===================================================================
--- trunk/glib-java/debian/copyright 2008-04-27 12:27:13 UTC (rev 6305)
+++ trunk/glib-java/debian/copyright 2008-04-27 17:45:21 UTC (rev 6306)
@@ -10,7 +10,7 @@
Remy Suen <remy.suen at gmail.com>
Copyright Holders:
- 1998-2006 the Java-Gnome Team
+ © 198-2006 the Java-Gnome Team
License:
The Java-Gnome bindings library is free software distributed under
Modified: trunk/glib-java/debian/rules
===================================================================
--- trunk/glib-java/debian/rules 2008-04-27 12:27:13 UTC (rev 6305)
+++ trunk/glib-java/debian/rules 2008-04-27 17:45:21 UTC (rev 6306)
@@ -15,15 +15,19 @@
cni = libglib-cni
dev = $(base)-dev
-include /usr/share/gcj/debian_defaults
+-include /usr/share/gcj/debian_defaults
DEB_HOST_ARCH ?= $(shell dpkg-architecture qDEB_HOST_ARCH)
ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
with_native := yes
endif
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_archs)))
+ with_gcj := yes
+endif
+JAVA_HOME := /usr/lib/jvm/default-java
DEB_CONFIGURE_EXTRA_FLAGS = --without-javadocs
-DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-I/usr/lib/jvm/java-gcj/include"
+DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-I/usr/lib/jvm/default-java/include"
# we distclean: before unpatching so we don't need cleaning after
DEB_MAKE_CLEAN_TARGET =
@@ -46,15 +50,17 @@
sed -i -e 's/-[0-9.]*\.jar$$/.jar/' \
debian/$(dev)/usr/lib/pkgconfig/glib-java.pc
+ifeq ($(with_gcj),yes)
binary-post-install/$(cni)::
mkdir -p debian/$(cni)/usr/share/lintian/overrides
cp debian/$(cni).lintian debian/$(cni)/usr/share/lintian/overrides/$(cni)
+endif
+ifeq ($(with_native),yes)
binary-post-install/$(base)-gcj:: binary-post-install/$(base)
rm -rf debian/$(base)-gcj/usr/share/doc/$(base)-gcj
ln -s $(base) \
debian/$(base)-gcj/usr/share/doc/$(base)-gcj
-ifeq ($(with_native),yes)
dh_nativejava -p$(base)-gcj
endif
More information about the pkg-java-commits
mailing list