[pkg-java] r3269 - in trunk/libvte-java: . debian debian/patches

Thomas Girard tgg at alioth.debian.org
Wed Apr 18 19:10:09 UTC 2007


Author: tgg
Date: 2007-04-18 19:10:09 +0000 (Wed, 18 Apr 2007)
New Revision: 3269

Added:
   trunk/libvte-java/debian/
   trunk/libvte-java/debian/changelog
   trunk/libvte-java/debian/compat
   trunk/libvte-java/debian/control
   trunk/libvte-java/debian/copyright
   trunk/libvte-java/debian/libvte-cni.install
   trunk/libvte-java/debian/libvte-cni.lintian
   trunk/libvte-java/debian/libvte-java-doc.doc-base
   trunk/libvte-java/debian/libvte-java-doc.install
   trunk/libvte-java/debian/libvte-java.docs
   trunk/libvte-java/debian/libvte-java.install
   trunk/libvte-java/debian/libvte-jni.install
   trunk/libvte-java/debian/patches/
   trunk/libvte-java/debian/patches/01_late_javadoc.diff
   trunk/libvte-java/debian/patches/03_reduce_distclean.diff
   trunk/libvte-java/debian/patches/04_pkgconfig_for_jni.diff
   trunk/libvte-java/debian/patches/series
   trunk/libvte-java/debian/rules
Log:
import current libvte-java work


Added: trunk/libvte-java/debian/changelog
===================================================================
--- trunk/libvte-java/debian/changelog	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/changelog	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,28 @@
+libvte-java (0.12.3-1) experimental; urgency=low
+
+  * Initial version, based on Matthias Klose package for Ubuntu.
+    Closes: #419748.
+  * Switch to debhelper level 5.
+  * New upstream release.
+  * New package, libvte-cni.
+  * New package, libvte-jni, split from libvte-java so that libvte-java can
+    be Arch:all.
+  * Remove classpath-doc from the build dependencies.
+  * Drop libvte-java-gcj.install, dh_nativejava handles this.
+  * Use quilt to patch sources.
+  * Add autotools-dev build dependency.
+  * Build with gcj from experimental.
+
+ -- Thomas Girard <thomas.g.girard at free.fr>  Wed, 18 Apr 2007 11:48:59 +0000
+
+libvte-java (0.12.2-0ubuntu2) feisty; urgency=low
+
+  * (Build-) depend on libgtk-java instead of libglib-java.
+
+ -- Matthias Klose <doko at ubuntu.com>  Tue,  9 Jan 2007 12:25:53 +0000
+
+libvte-java (0.12.2-0ubuntu1) feisty; urgency=low
+
+  * Initial release.
+
+ -- Matthias Klose <doko at ubuntu.com>  Mon,  8 Jan 2007 10:18:52 +0000

Added: trunk/libvte-java/debian/compat
===================================================================
--- trunk/libvte-java/debian/compat	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/compat	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1 @@
+5

Added: trunk/libvte-java/debian/control
===================================================================
--- trunk/libvte-java/debian/control	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/control	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,99 @@
+Source: libvte-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Matthias Klose <doko at ubuntu.com>, 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, libgtk-java (>= 2.10), libgtk-cni, libvte-dev (>= 0.12.1), quilt (>= 0.29-2), autotools-dev
+Standards-Version: 3.7.2
+
+Package: libvte-java
+Section: libs
+Architecture: all
+Depends: libvte-jni (>= ${source:Version}), libgtk-java (>= 2.10)
+Recommends: libvte-java-gcj
+Description: VTE bindings for Java
+ The Java-Gnome project provides a framework for creating Gtk and Gnome
+ applications using Java. This covers the entire gtk and gnome API, so you can
+ create true gnome applications, which work just like any other desktop
+ application. Most other Java UI toolkits such as SWT or swing provide at most
+ compatibility layers so that your app will look like gnome appliactions. You
+ should use java-gnome if you want to use standard gtk and gnome features such
+ as stock icons, and file chooser buttons; or if you want to use additional
+ gnome libraries such as gnome-vfs, vte, libmozembed.
+ .
+ This package provides the architecture-independant files for vte support.
+ .
+ http://java-gnome.sf.net
+
+Package: libvte-java-gcj
+Section: libs
+Architecture: any
+Depends: libvte-java (= ${source:Version}), libgtk-java-gcj, ${misc:Depends}, ${shlibs:Depends}
+Description: VTE bindings for Java (native code for use with gij)
+ The Java-Gnome project provides a framework for creating Gtk and Gnome
+ applications using Java. This covers the entire gtk and gnome API, so you can
+ create true gnome applications, which work just like any other desktop
+ application. Most other Java UI toolkits such as SWT or swing provide at most
+ compatibility layers so that your app will look like gnome appliactions. You
+ should use java-gnome if you want to use standard gtk and gnome features such
+ as stock icons, and file chooser buttons; or if you want to use additional
+ gnome libraries such as gnome-vfs, vte, libmozembed.
+ .
+ This package provides natively compiled code to run with gij.
+ .
+ http://java-gnome.sf.net
+
+Package: libvte-java-doc
+Section: doc
+Architecture: all
+Depends: classpath-doc, libgtk-java-doc
+Description: VTE bindings for Java (API documentation)
+ The Java-Gnome project provides a framework for creating Gtk and Gnome
+ applications using Java. This covers the entire gtk and gnome API, so you can
+ create true gnome applications, which work just like any other desktop
+ application. Most other Java UI toolkits such as SWT or swing provide at most
+ compatibility layers so that your app will look like gnome appliactions. You
+ should use java-gnome if you want to use standard gtk and gnome features such
+ as stock icons, and file chooser buttons; or if you want to use additional
+ gnome libraries such as gnome-vfs, vte, libmozembed.
+ .
+ This package contains the API documentation for the vte support.
+ .
+ http://java-gnome.sf.net
+
+Package: libvte-jni
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: libvte-java (<< 0.12.3-1)
+Description: VTE bindings for Java (native library)
+ The Java-Gnome project provides a framework for creating Gtk and Gnome
+ applications using Java. This covers the entire gtk and gnome API, so you can
+ create true gnome applications, which work just like any other desktop
+ application. Most other Java UI toolkits such as SWT or swing provide at most
+ compatibility layers so that your app will look like gnome appliactions. You
+ should use java-gnome if you want to use standard gtk and gnome features such
+ as stock icons, and file chooser buttons; or if you want to use additional
+ gnome libraries such as gnome-vfs, vte, libmozembed.
+ . 
+ This package provides the architecture-dependant files for vte support.
+ .
+ http://java-gnome.sf.net
+
+Package: libvte-cni
+Section: libs
+Architecture: any
+Depends: libvte-jni (= ${binary:Version}), ${shlibs:Depends}
+Description: VTE bindings for Java (native code)
+ The Java-Gnome project provides a framework for creating Gtk and Gnome
+ applications using Java. This covers the entire gtk and gnome API, so you can
+ create true gnome applications, which work just like any other desktop
+ application. Most other Java UI toolkits such as SWT or swing provide at most
+ compatibility layers so that your app will look like gnome appliactions. You
+ should use java-gnome if you want to use standard gtk and gnome features such
+ as stock icons, and file chooser buttons; or if you want to use additional
+ gnome libraries such as gnome-vfs, vte, libmozembed.
+ .
+ This package provides natively compiled code for vte support.
+ .
+ http://java-gnome.sf.net

Added: trunk/libvte-java/debian/copyright
===================================================================
--- trunk/libvte-java/debian/copyright	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/copyright	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,12 @@
+This package was debianized by Matthias Klose <doko at ubuntu.com> on
+Mon,  8 Jan 2007 10:33:18 +0000
+
+It was downloaded from http://java-gnome.sf.net
+
+Upstream Authors: Java-Gnome Hackers java-gnome-developer at lists.sf.net
+
+Copyright:
+
+This is licensed under the terms of the GNU Lesser General public license, which
+can be found on Debian systems in /usr/share/common-licenses/LGPL
+

Added: trunk/libvte-java/debian/libvte-cni.install
===================================================================
--- trunk/libvte-java/debian/libvte-cni.install	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-cni.install	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libvtejava*.so       usr/lib

Added: trunk/libvte-java/debian/libvte-cni.lintian
===================================================================
--- trunk/libvte-java/debian/libvte-cni.lintian	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-cni.lintian	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1 @@
+libvte-cni: package-name-doesnt-match-sonames libvtejava-0.12

Added: trunk/libvte-java/debian/libvte-java-doc.doc-base
===================================================================
--- trunk/libvte-java/debian/libvte-java-doc.doc-base	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-java-doc.doc-base	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,9 @@
+Document: libvte-java-doc
+Title: Programmer API for VTE Java bindings
+Author: Jeffrey S. Morgan <kuzman at gmail.com>
+Abstract: Javadocs programmer API for the VTE Java bindings
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libvte-java/api/index.html
+Files: /usr/share/doc/libvte-java/api/*.html

Added: trunk/libvte-java/debian/libvte-java-doc.install
===================================================================
--- trunk/libvte-java/debian/libvte-java-doc.install	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-java-doc.install	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,2 @@
+doc/api usr/share/doc/libvte-java
+doc/examples usr/share/doc/libvte-java

Added: trunk/libvte-java/debian/libvte-java.docs
===================================================================
--- trunk/libvte-java/debian/libvte-java.docs	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-java.docs	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/doc/libvte-java/AUTHORS
+debian/tmp/usr/share/doc/libvte-java/README

Added: trunk/libvte-java/debian/libvte-java.install
===================================================================
--- trunk/libvte-java/debian/libvte-java.install	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-java.install	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/vte*.jar

Added: trunk/libvte-java/debian/libvte-jni.install
===================================================================
--- trunk/libvte-java/debian/libvte-jni.install	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/libvte-jni.install	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/pkgconfig
+debian/tmp/usr/lib/lib*jni*.so		usr/lib/jni

Added: trunk/libvte-java/debian/patches/01_late_javadoc.diff
===================================================================
--- trunk/libvte-java/debian/patches/01_late_javadoc.diff	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/patches/01_late_javadoc.diff	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,111 @@
+Index: libvte-java-0.12.3/Makefile.am
+===================================================================
+--- libvte-java-0.12.3.orig/Makefile.am	2007-04-16 20:34:25.000000000 +0000
++++ libvte-java-0.12.3/Makefile.am	2007-04-16 20:35:37.000000000 +0000
+@@ -96,8 +96,6 @@
+ # build api docs
+ apidir = $(docbasedir)/libvte-java-$(VERSION)/api
+ 
+-if BUILD_JAVADOC
+-ALL_LOCAL_DEPS += doc-stamp
+ doc-stamp: $(java_vte_source_files)
+ 	$(JAVADOC) \
+ 		-d doc/api \
+@@ -110,7 +108,6 @@
+ 		org.gnu.gnomevte \
+ 		org.gnu.gnomevte.event
+ 	touch doc-stamp
+-endif
+ all-local: $(ALL_LOCAL_DEPS)
+ 
+ # install other docs
+@@ -126,19 +123,6 @@
+ 		mv -f vte$(apiversion).jar vte$(apiversion)-$(VERSION).jar && \
+ 		$(LN_S) vte$(apiversion)-$(VERSION).jar vte$(apiversion).jar
+ 
+-# install api documentation
+-if BUILD_JAVADOC
+-	$(mkinstalldirs) $(DESTDIR)$(apidir)
+-	@for dir in $(dest_vte_javadoc_dirs); \
+-	do \
+-	   $(mkinstalldirs) $(DESTDIR)$(apidir)/$${dir}; \
+-	done
+-	@for file in $(all_dest_vte_javadoc_html_files); \
+-	do \
+-	   $(INSTALL_DATA) doc/api/$${file} $(DESTDIR)$(apidir)/$${file}; \
+-	done
+-endif
+-
+ # install examples
+ 	@for dir in $(examples); \
+ 	do \
+Index: libvte-java-0.12.3/Makefile.in
+===================================================================
+--- libvte-java-0.12.3.orig/Makefile.in	2007-04-16 20:35:39.000000000 +0000
++++ libvte-java-0.12.3/Makefile.in	2007-04-16 20:39:49.000000000 +0000
+@@ -47,7 +47,6 @@
+ 	depcomp install-sh ltmain.sh missing
+ @BUILD_SRCJAR_TRUE at am__append_1 = vte$(apiversion)-src.jar
+ @BUILD_SRCJAR_TRUE at am__append_2 = vte$(apiversion)-src.jar
+- at BUILD_JAVADOC_TRUE@am__append_3 = doc-stamp
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+@@ -324,7 +323,7 @@
+ 	doc/examples/runExample.sh \
+ 	src/java/org/gnu/gnomevte/Config.java
+ CLASSPATH = $(GTKJAR):$(JGJAR)
+-ALL_LOCAL_DEPS = $(am__append_2) $(am__append_3)
++ALL_LOCAL_DEPS = $(am__append_2)
+ @BUILD_GCJ_FALSE at lib_LTLIBRARIES = libvtejni.la
+ @BUILD_GCJ_TRUE at lib_LTLIBRARIES = libvtejava.la libvtejni.la
+ java_vte_source_files = src/java/org/gnu/gnomevte/Terminal.java \
+@@ -1171,18 +1170,18 @@
+ 
+ @BUILD_SRCJAR_TRUE at vte$(apiversion)-src.jar:
+ @BUILD_SRCJAR_TRUE@	$(JAR) cf $@ $(patsubst src/java/%.java,-C $(top_srcdir)/src/java %.java,$(java_vte_source_files))
+- at BUILD_JAVADOC_TRUE@doc-stamp: $(java_vte_source_files)
+- at BUILD_JAVADOC_TRUE@	$(JAVADOC) \
+- at BUILD_JAVADOC_TRUE@		-d doc/api \
+- at BUILD_JAVADOC_TRUE@		$(JAVADOC_OPTIONS) \
+- at BUILD_JAVADOC_TRUE@                -classpath $(CLASSPATH) \
+- at BUILD_JAVADOC_TRUE@		-sourcepath $(srcdir)/src/java:@abs_builddir@/src/java \
+- at BUILD_JAVADOC_TRUE@		-windowtitle "Java-Gnome $(VERSION) API Reference" \
+- at BUILD_JAVADOC_TRUE@		-doctitle "Java-Gnome $(VERSION) API Reference" \
+- at BUILD_JAVADOC_TRUE@		-footer "$(JAVADOC_FOOTER)" \
+- at BUILD_JAVADOC_TRUE@		org.gnu.gnomevte \
+- at BUILD_JAVADOC_TRUE@		org.gnu.gnomevte.event
+- at BUILD_JAVADOC_TRUE@	touch doc-stamp
++doc-stamp: $(java_vte_source_files)
++	$(JAVADOC) \
++		-d doc/api \
++		$(JAVADOC_OPTIONS) \
++                -classpath $(CLASSPATH) \
++		-sourcepath $(srcdir)/src/java:@abs_builddir@/src/java \
++		-windowtitle "Java-Gnome $(VERSION) API Reference" \
++		-doctitle "Java-Gnome $(VERSION) API Reference" \
++		-footer "$(JAVADOC_FOOTER)" \
++		org.gnu.gnomevte \
++		org.gnu.gnomevte.event
++	touch doc-stamp
+ all-local: $(ALL_LOCAL_DEPS)
+ 
+ install-data-hook:
+@@ -1190,17 +1189,6 @@
+ 		mv -f vte$(apiversion).jar vte$(apiversion)-$(VERSION).jar && \
+ 		$(LN_S) vte$(apiversion)-$(VERSION).jar vte$(apiversion).jar
+ 
+-# install api documentation
+- at BUILD_JAVADOC_TRUE@	$(mkinstalldirs) $(DESTDIR)$(apidir)
+- at BUILD_JAVADOC_TRUE@	@for dir in $(dest_vte_javadoc_dirs); \
+- at BUILD_JAVADOC_TRUE@	do \
+- at BUILD_JAVADOC_TRUE@	   $(mkinstalldirs) $(DESTDIR)$(apidir)/$${dir}; \
+- at BUILD_JAVADOC_TRUE@	done
+- at BUILD_JAVADOC_TRUE@	@for file in $(all_dest_vte_javadoc_html_files); \
+- at BUILD_JAVADOC_TRUE@	do \
+- at BUILD_JAVADOC_TRUE@	   $(INSTALL_DATA) doc/api/$${file} $(DESTDIR)$(apidir)/$${file}; \
+- at BUILD_JAVADOC_TRUE@	done
+-
+ # install examples
+ 	@for dir in $(examples); \
+ 	do \

Added: trunk/libvte-java/debian/patches/03_reduce_distclean.diff
===================================================================
--- trunk/libvte-java/debian/patches/03_reduce_distclean.diff	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/patches/03_reduce_distclean.diff	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,50 @@
+Index: libvte-java-0.12.3/Makefile.am
+===================================================================
+--- libvte-java-0.12.3.orig/Makefile.am	2007-04-16 20:44:54.000000000 +0000
++++ libvte-java-0.12.3/Makefile.am	2007-04-16 20:46:59.000000000 +0000
+@@ -155,19 +155,7 @@
+ 
+ DISTCLEANFILES = \
+ 	vte-java.pc \
+-	doc/examples/runExample.sh \
+-	src/java/org/gnu/gnomevte/Config.java \
+-	$(srcdir)/Makefile.jni \
+-	$(srcdir)/Makefile.in \
+-	$(srcdir)/aclocal.m4 \
+-	$(srcdir)/compile \
+-	$(srcdir)/config.guess \
+-	$(srcdir)/config.sub \
+-	$(srcdir)/configure \
+-	$(srcdir)/depcomp \
+-	$(srcdir)/install-sh \
+-	$(srcdir)/ltmain.sh \
+-	$(srcdir)/missing
++	doc/examples/runExample.sh
+ 
+ CLEANFILES += \
+ 	doc-stamp \
+Index: libvte-java-0.12.3/Makefile.in
+===================================================================
+--- libvte-java-0.12.3.orig/Makefile.in	2007-04-16 20:47:02.000000000 +0000
++++ libvte-java-0.12.3/Makefile.in	2007-04-16 20:47:25.000000000 +0000
+@@ -391,19 +391,7 @@
+ 
+ DISTCLEANFILES = \
+ 	vte-java.pc \
+-	doc/examples/runExample.sh \
+-	src/java/org/gnu/gnomevte/Config.java \
+-	$(srcdir)/Makefile.jni \
+-	$(srcdir)/Makefile.in \
+-	$(srcdir)/aclocal.m4 \
+-	$(srcdir)/compile \
+-	$(srcdir)/config.guess \
+-	$(srcdir)/config.sub \
+-	$(srcdir)/configure \
+-	$(srcdir)/depcomp \
+-	$(srcdir)/install-sh \
+-	$(srcdir)/ltmain.sh \
+-	$(srcdir)/missing
++	doc/examples/runExample.sh
+ 
+ all: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am

Added: trunk/libvte-java/debian/patches/04_pkgconfig_for_jni.diff
===================================================================
--- trunk/libvte-java/debian/patches/04_pkgconfig_for_jni.diff	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/patches/04_pkgconfig_for_jni.diff	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,12 @@
+Index: libvte-java-0.12.3/vte-java.pc.in
+===================================================================
+--- libvte-java-0.12.3.orig/vte-java.pc.in	2007-04-17 10:16:54.000000000 +0000
++++ libvte-java-0.12.3/vte-java.pc.in	2007-04-17 10:17:02.000000000 +0000
+@@ -12,6 +12,6 @@
+ api_version=@apiversion@
+ classpath=@INSTALLED_CLASSPATH@
+ jni_dir=@INSTALLED_JNI_DIR@
+-jnilibs=-L at libdir@ -lvtejni
++jnilibs=-L at libdir@/jni -lvtejni
+ Libs: -L at libdir@ -lvtejava
+ 

Added: trunk/libvte-java/debian/patches/series
===================================================================
--- trunk/libvte-java/debian/patches/series	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/patches/series	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,3 @@
+01_late_javadoc.diff
+03_reduce_distclean.diff
+04_pkgconfig_for_jni.diff

Added: trunk/libvte-java/debian/rules
===================================================================
--- trunk/libvte-java/debian/rules	2007-04-18 19:07:36 UTC (rev 3268)
+++ trunk/libvte-java/debian/rules	2007-04-18 19:10:09 UTC (rev 3269)
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# make sure we'll run patched distclean: target *before* unpatching
+# because upstream distclean: removes files we want to keep
+clean:: distclean-first
+
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+base = libvte-java
+jar  = vte0.12.jar
+jni  = libvte-jni
+cni  = libvte-cni
+
+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
+
+DEB_CONFIGURE_EXTRA_FLAGS = --without-javadocs
+
+# we distclean: before unpatching so we don't need cleaning after
+DEB_MAKE_CLEAN_TARGET =
+
+DEB_MAKE_INSTALL_TARGET  := install DESTDIR=$(CURDIR)/debian/tmp/ \
+	docdir='$$(datadir)/doc/$(base)' \
+	apidir='$$(datadir)/doc/$(base)-doc/api'
+	exampledir='$$(datadir)/doc/$(base)/examples' \
+
+DEB_DH_MAKESHLIBS_ARGS_$(jni) = -n -V "$(jni) (>= 0.12.3)"
+DEB_DH_MAKESHLIBS_ARGS_$(cni) = -V "$(cni) (>= 0.12.3)"
+DEB_DH_SHLIBDEPS_ARGS_$(jni) = -l/usr/lib/jni
+DEB_COMPRESS_EXCLUDE = .java
+
+common-post-build-indep::
+	$(MAKE) doc-stamp \
+	    JAVADOC=gjdoc \
+	    JAVADOC_OPTIONS='' \
+	    JAVADOC_FOOTER=''
+
+binary-post-install/$(jni)::
+	sed -i -e 's/-[0-9.]*\.jar$$/.jar/' \
+	    debian/$(jni)/usr/lib/pkgconfig/vte-java.pc
+
+binary-post-install/$(cni)::
+	mkdir -p debian/$(cni)/usr/share/lintian/overrides
+	cp debian/$(cni).lintian debian/$(cni)/usr/share/lintian/overrides/$(cni)
+
+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
+
+binary-post-install/$(base)-doc::
+	rm -f debian/$(base)-doc/usr/share/doc/$(base)-doc/changelog
+	rm -f debian/$(base)-doc/usr/share/doc/$(base)/examples/runExample.sh.in
+
+clean::
+	rm -rf doc/api
+	find -name *.Plo | xargs -r rm -f
+
+DEB_PHONY_RULES += distclean-first
+
+distclean-first: debian/stamp-patched
+	-$(DEB_MAKE_INVOKE) -k distclean


Property changes on: trunk/libvte-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list