[pkg-java] r10095 - in trunk/eclipse/debian: . extra patches

Niels Thykier nthykier-guest at alioth.debian.org
Sat Aug 15 20:47:22 UTC 2009


Author: nthykier-guest
Date: 2009-08-15 20:47:22 +0000 (Sat, 15 Aug 2009)
New Revision: 10095

Added:
   trunk/eclipse/debian/extra/imagemover.sh
Removed:
   trunk/eclipse/debian/linda/
   trunk/eclipse/debian/lintian/
Modified:
   trunk/eclipse/debian/changelog
   trunk/eclipse/debian/compat
   trunk/eclipse/debian/control
   trunk/eclipse/debian/control.in
   trunk/eclipse/debian/eclipse-jdt.install
   trunk/eclipse/debian/eclipse-pde.install
   trunk/eclipse/debian/eclipse-platform.install
   trunk/eclipse/debian/eclipse-platform.preinst
   trunk/eclipse/debian/eclipse-rcp.install
   trunk/eclipse/debian/eclipse-rcp.postinst
   trunk/eclipse/debian/eclipse-source.install
   trunk/eclipse/debian/eclipse.install
   trunk/eclipse/debian/patches/eclipse-ant-manifest.dpatch
   trunk/eclipse/debian/rules
Log:
eclipse (3.4.2-1) UNRELEASED; urgency=low

  * New upstream release.
  * Removed obsolete linda overrides.
  * Added a missing "-e" to some package scripts.
  * Added missing Build-Depends to provide dh_nativejava.
  * Added missing ${misc:Depends} to binary packages' Depends.
  * Added kdebase-bin as alternative to zenity. (Closes: #528070) 
  * Created script to move images from usr/lib to usr/share, which
    removes over 200 lintian warnings.

 -- Niels Thykier <niels at thykier.net>  Sat, 15 Aug 2009 11:16:26 +0200


Modified: trunk/eclipse/debian/changelog
===================================================================
--- trunk/eclipse/debian/changelog	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/changelog	2009-08-15 20:47:22 UTC (rev 10095)
@@ -1,3 +1,16 @@
+eclipse (3.4.2-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * Removed obsolete linda overrides.
+  * Added a missing "-e" to some package scripts.
+  * Added missing Build-Depends to provide dh_nativejava.
+  * Added missing ${misc:Depends} to binary packages' Depends.
+  * Added kdebase-bin as alternative to zenity. (Closes: #528070) 
+  * Created script to move images from usr/lib to usr/share, which
+    removes over 200 lintian warnings.
+
+ -- Niels Thykier <niels at thykier.net>  Sat, 15 Aug 2009 11:16:26 +0200
+
 eclipse (3.4.1-1) unstable; urgency=low
 
   * Build for unstable.

Modified: trunk/eclipse/debian/compat
===================================================================
--- trunk/eclipse/debian/compat	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/compat	2009-08-15 20:47:22 UTC (rev 10095)
@@ -1 +1 @@
-4
+7

Modified: trunk/eclipse/debian/control
===================================================================
--- trunk/eclipse/debian/control	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/control	2009-08-15 20:47:22 UTC (rev 10095)
@@ -2,16 +2,14 @@
 Section: devel
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Niels Thykier <niels at thykier.net>
 Build-Depends: debhelper (>> 4.2), dpatch (>= 2.0), lsb-release, bzip2, zip,
   openjdk-6-jdk, ecj (>= 3.4.0),
   liblucene-java (>= 1.4.2),
   junit (>= 3.8), junit4, libicu4j-java,
   libgtk2.0-dev (>= 2.4), libcairo2-dev,
+  libgcj-common | default-jdk | default-jdk-builddep,
   pkg-config, ant-optional (>= 1.6.5-3), xulrunner-dev
-# liblucene-java-doc (>= 1.4.2),
-# libgnome2-dev (>= 2.6), libgnomeui-dev (>= 2.6),
-# libxtst-dev, libgl1-mesa-dev, libglu1-mesa-dev,
-# classpath-doc,
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/eclipse
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/eclipse

Modified: trunk/eclipse/debian/control.in
===================================================================
--- trunk/eclipse/debian/control.in	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/control.in	2009-08-15 20:47:22 UTC (rev 10095)
@@ -2,16 +2,14 @@
 Section: devel
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Build-Depends: debhelper (>> 4.2), dpatch (>= 2.0), lsb-release, bzip2, zip,
+Uploaders: Niels Thykier <niels at thykier.net>
+Build-Depends: debhelper (>= 7), dpatch (>= 2.0), lsb-release, bzip2, zip,
   openjdk-6-jdk, ecj (>= 3.4.0),
-  liblucene-java (>= 1.4.2),
+  liblucene-java (>= 1.4.2), tofrodos, tofrodos,
   junit (>= 3.8), junit4, libicu4j-java,
   libgtk2.0-dev (>= 2.4), libcairo2-dev,
+  libgcj-common | default-jdk | default-jdk-builddep,
   pkg-config at BUILD_DEPS@
-# liblucene-java-doc (>= 1.4.2),
-# libgnome2-dev (>= 2.6), libgnomeui-dev (>= 2.6),
-# libxtst-dev, libgl1-mesa-dev, libglu1-mesa-dev,
-# classpath-doc,
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/eclipse
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/eclipse
@@ -19,7 +17,7 @@
 
 Package: eclipse-rcp
 Architecture: any
-Depends: libswt3.4-gtk-java (= ${binary:Version})
+Depends: libswt3.4-gtk-java (= ${binary:Version}),  ${misc:Depends}
 Recommends: eclipse-rcp-gcj, eclipse
 Replaces: eclipse-rcp-common, libswt3.1-gtk-java (<= 3.1.2-1)
 Conflicts: eclipse-rcp-common
@@ -42,7 +40,9 @@
 
 Package: eclipse-platform
 Architecture: any
-Depends: openjdk-6-jre, default-jre | java1-runtime | java2-runtime, java-common (>= 0.23), zenity, eclipse-rcp (= ${binary:Version}), liblucene-java (>= 1.4.2), @MOZILLA_DEP@
+Depends: openjdk-6-jre, default-jre | java1-runtime | java2-runtime, java-common (>= 0.23), 
+ zenity | kdebase-bin, ${misc:Depends}
+ eclipse-rcp (= ${binary:Version}), liblucene-java (>= 1.4.2), @MOZILLA_DEP@
 # liblucene-java-doc (>= 1.4.2)
 Recommends: eclipse-platform-gcj, eclipse
 Replaces: libeclipse-jni, eclipse-source (<= 3.1.1-3), eclipse-platform-common
@@ -66,7 +66,7 @@
 
 Package: eclipse-cvs
 Architecture: any
-Depends: eclipse-platform (= ${binary:Version})
+Depends: eclipse-platform (= ${binary:Version}), ${misc:Depends}
 Recommends: eclipse-cvs-gcj
 Suggests: cvs
 Description: cvs integration for Eclipse
@@ -75,7 +75,7 @@
 
 Package: eclipse-jdt
 Architecture: any
-Depends: eclipse-platform (= ${binary:Version}), junit (>= 3.8), junit4, @ANT_DEP@
+Depends: eclipse-platform (= ${binary:Version}),  ${misc:Depends}, junit (>= 3.8), junit4, @ANT_DEP@
 Recommends: eclipse-jdt-gcj, eclipse
 Replaces: eclipse-jdt-common
 Conflicts: eclipse-jdt-common
@@ -87,7 +87,7 @@
 
 Package: eclipse-pde
 Architecture: any
-Depends: eclipse-platform (= ${binary:Version}), eclipse-jdt (= ${binary:Version})
+Depends: eclipse-platform (= ${binary:Version}), eclipse-jdt (= ${binary:Version}), ${misc:Depends}
 Recommends: eclipse-pde-gcj, eclipse-source (>= ${binary:Version}), eclipse
 Replaces: eclipse-pde-common
 Conflicts: eclipse-pde-common
@@ -97,14 +97,14 @@
 
 Package: eclipse-source
 Architecture: any
-Depends: eclipse-platform (= ${binary:Version})
+Depends: eclipse-platform (= ${binary:Version}), ${misc:Depends}
 Description: Eclipse source code plug-ins
  This package provides the additional source code plug-ins used for code lookup
  (debugger, code completion) and plug-in development.
 
 Package: eclipse-sdk
 Architecture: all
-Depends: eclipse (>= ${binary:Version})
+Depends: eclipse (>= ${binary:Version}), ${misc:Depends}
 Description: Extensible Tool Platform and Java IDE
  The Eclipse Platform is an open and extensible platform for anything and yet
  nothing in particular. It provides a foundation for constructing and running
@@ -116,7 +116,8 @@
 
 Package: eclipse
 Architecture: any
-Depends: eclipse-jdt (= ${binary:Version}), eclipse-pde (= ${binary:Version}), eclipse-source (= ${binary:Version}), zenity, ${shlibs:Depends}
+Depends: eclipse-jdt (= ${binary:Version}), eclipse-pde (= ${binary:Version}), eclipse-source (= ${binary:Version}),
+ zenity | kdebase-bin, ${shlibs:Depends}, ${misc:Depends}
 Conflicts: eclipse-sdk (<= 3.1.1-5), eclipse-platform-common (<< 3.1.2-1)
 Recommends: eclipse-gcj
 Replaces: eclipse-sdk (<= 3.1.1-5), eclipse-platform-common (<< 3.1.2-1), eclipse-platform (<< 3.1.2-2)
@@ -133,7 +134,7 @@
 Package: libswt3.4-gtk-java
 Section: java
 Architecture: any
-Depends: libswt3.4-gtk-jni (= ${binary:Version}), java-common
+Depends: libswt3.4-gtk-jni (= ${binary:Version}), java-common, ${misc:Depends}
 Recommends: libswt3.4-gtk-gcj, @MOZILLA_DEP@
 Replaces:  libswt3.2-gtk-java, libswt3.1-gtk-java, libswt2.1-gtk2-java, libswt-gtk3.4-java, eclipse-rcp (<< 3.1.2-2)
 Conflicts:  libswt3.2-gtk-java, libswt3.1-gtk-java, libswt2.1-gtk2-java, libswt-gtk-3.4-java
@@ -147,7 +148,7 @@
 Package: libswt3.4-gtk-jni
 Section: java
 Architecture: any
-Depends: ${shlibs:Depends}, libgtk2.0-0 (>= 2.12.0-3)
+Depends: ${shlibs:Depends}, libgtk2.0-0 (>= 2.12.0-3), ${misc:Depends}
 Recommends: ${shlibs:Recommends}
 Replaces: libswt2.1-gtk2-jni, libswt-gtk3-jni
 Conflicts: libswt2.1-gtk2-jni, libswt-gtk3-jni, libswt-gtk-3.1-jni, libswt-gnome-gtk-3.1-jni, libswt-mozilla-gtk-3.1-jni, libswt-gtk-3.2-jni, libswt-gnome-gtk-3.2-jni
@@ -157,7 +158,7 @@
 
 Package: eclipse-efj
 Architecture: any
-Depends: openjdk-6-jre, default-jre | java1-runtime | java2-runtime, java-common (>= 0.22), eclipse-jdt (= ${binary:Version})
+Depends: openjdk-6-jre, default-jre | java1-runtime | java2-runtime, java-common (>= 0.22), eclipse-jdt (= ${binary:Version}), ${misc:Depends}
 Recommends: @ANT_DEP@
 Description: Eclipse Java code formatter
  This package provides a script to launch the Eclipse JDT code formatter

Modified: trunk/eclipse/debian/eclipse-jdt.install
===================================================================
--- trunk/eclipse/debian/eclipse-jdt.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-jdt.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -16,5 +16,4 @@
 debian/tmp/usr/lib/eclipse/plugins/org.junit_*
 debian/tmp/usr/lib/eclipse/plugins/org.junit4_*
 
-debian/linda/eclipse-jdt	/usr/share/linda/overrides
 debian/lintian/eclipse-jdt	/usr/share/lintian/overrides

Modified: trunk/eclipse/debian/eclipse-pde.install
===================================================================
--- trunk/eclipse/debian/eclipse-pde.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-pde.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -18,5 +18,4 @@
 
 
 
-debian/linda/eclipse-pde	/usr/share/linda/overrides
 debian/lintian/eclipse-pde	/usr/share/lintian/overrides

Modified: trunk/eclipse/debian/eclipse-platform.install
===================================================================
--- trunk/eclipse/debian/eclipse-platform.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-platform.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -131,5 +131,4 @@
 debian/tmp/usr/lib/eclipse/plugins/org.eclipse.equinox.security.win32.x86_*
 debian/tmp/usr/lib/eclipse/plugins/org.eclipse.equinox.security.macosx_*
 
-debian/linda/eclipse-platform		usr/share/linda/overrides
 debian/lintian/eclipse-platform		usr/share/lintian/overrides

Modified: trunk/eclipse/debian/eclipse-platform.preinst
===================================================================
--- trunk/eclipse/debian/eclipse-platform.preinst	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-platform.preinst	2009-08-15 20:47:22 UTC (rev 10095)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # Fix for #345724, #345749 and #346224.
 case "$1" in

Modified: trunk/eclipse/debian/eclipse-rcp.install
===================================================================
--- trunk/eclipse/debian/eclipse-rcp.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-rcp.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -1,5 +1,4 @@
 debian/tmp/usr/lib/eclipse/features/org.eclipse.rcp_*
-
 debian/tmp/usr/lib/eclipse/plugins/com.ibm.icu_*
 debian/tmp/usr/lib/eclipse/plugins/org.eclipse.core.commands_*
 debian/tmp/usr/lib/eclipse/plugins/org.eclipse.core.databinding_*
@@ -33,5 +32,4 @@
 
 
 
-debian/linda/eclipse-rcp	/usr/share/linda/overrides
 debian/lintian/eclipse-rcp	/usr/share/lintian/overrides

Modified: trunk/eclipse/debian/eclipse-rcp.postinst
===================================================================
--- trunk/eclipse/debian/eclipse-rcp.postinst	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-rcp.postinst	2009-08-15 20:47:22 UTC (rev 10095)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 if [ "$1" = "configure" ]; then
     DIRS="/usr/local/lib/eclipse \

Modified: trunk/eclipse/debian/eclipse-source.install
===================================================================
--- trunk/eclipse/debian/eclipse-source.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse-source.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -143,5 +143,4 @@
 debian/tmp/usr/lib/eclipse/*/org.mortbay.jetty.source_*
 debian/tmp/usr/lib/eclipse/*/org.objectweb.asm.source_*
 
-debian/linda/eclipse-source	/usr/share/linda/overrides
 debian/lintian/eclipse-source	/usr/share/lintian/overrides

Modified: trunk/eclipse/debian/eclipse.install
===================================================================
--- trunk/eclipse/debian/eclipse.install	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/eclipse.install	2009-08-15 20:47:22 UTC (rev 10095)
@@ -11,5 +11,4 @@
 
 debian/tmp/usr/lib/eclipse/plugins/org.eclipse.sdk_*
 
-debian/linda/eclipse				usr/share/linda/overrides
 debian/lintian/eclipse				usr/share/lintian/overrides

Added: trunk/eclipse/debian/extra/imagemover.sh
===================================================================
--- trunk/eclipse/debian/extra/imagemover.sh	                        (rev 0)
+++ trunk/eclipse/debian/extra/imagemover.sh	2009-08-15 20:47:22 UTC (rev 10095)
@@ -0,0 +1,11 @@
+#!/bin/sh
+PACKAGE=$1
+LINK_NAME=`echo $2 | sed "s at debian/${PACKAGE}/@@g"`
+IMAGE_NAME=`echo ${LINK_NAME} | sed "s at usr/lib/@usr/share/@g"`
+IMAGE_DIR=`dirname ${IMAGE_NAME}`
+
+mkdir -p "debian/${PACKAGE}/${IMAGE_DIR}"
+rm -f "debian/${PACKAGE}/${IMAGE_NAME}"
+mv -vf "debian/${PACKAGE}/${LINK_NAME}" "debian/${PACKAGE}/${IMAGE_NAME}"
+ln -sf "/${IMAGE_NAME}" "debian/${PACKAGE}/${LINK_NAME}"
+


Property changes on: trunk/eclipse/debian/extra/imagemover.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/eclipse/debian/patches/eclipse-ant-manifest.dpatch
===================================================================
--- trunk/eclipse/debian/patches/eclipse-ant-manifest.dpatch	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/patches/eclipse-ant-manifest.dpatch	2009-08-15 20:47:22 UTC (rev 10095)
@@ -11,9 +11,15 @@
 fi
 case "$1" in
     -patch)
-        patch $patch_opts -p0 < $0;;
+	fromdos source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF
+        patch $patch_opts -p0 < $0
+        todos source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF
+	;;
     -unpatch)
-        patch $patch_opts -p0 -R < $0;;
+	fromdos source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF
+        patch $patch_opts -p0 -R < $0
+        todos source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF
+	;;
     *)
         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
         exit 1;;
@@ -21,31 +27,39 @@
 exit 0
 
 @DPATCH@
---- source-tree/plugins/org.apache.ant/META-INF/MANIFEST.MF.orig	2005-10-29 18:14:17.000000000 +0200
-+++ source-tree/plugins/org.apache.ant/META-INF/MANIFEST.MF	2005-10-29 18:18:39.000000000 +0200
-@@ -13,24 +13,15 @@
-  lib/ant-apache-resolver.jar,
-  lib/ant-commons-logging.jar,
-  lib/ant-commons-net.jar,
-- lib/ant-icontract.jar,
-- lib/ant-jai.jar,
-  lib/ant-javamail.jar,
-  lib/ant-jdepend.jar,
-  lib/ant-jmf.jar,
-  lib/ant-jsch.jar,
-  lib/ant-junit.jar,
-  lib/ant-launcher.jar,
-- lib/ant-netrexx.jar,
-  lib/ant-nodeps.jar,
-- lib/ant-starteam.jar,
-- lib/ant-stylebook.jar,
-  lib/ant-swing.jar,
-- lib/ant-trax.jar,
-- lib/ant-vaj.jar,
-- lib/ant-weblogic.jar,
-- lib/ant-xalan1.jar,
-- lib/ant-xslp.jar
+--- source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF~	2009-06-28 14:31:35.000000000 +0200
++++ source-tree/plugins/org.apache.ant_1.7.0.v200803061910/META-INF/MANIFEST.MF	2009-06-28 14:32:58.000000000 +0200
+@@ -5,14 +5,25 @@
+ Bundle-Name: %pluginName
+ Bundle-Localization: plugin
+ Bundle-Version: 1.7.0.v200803061910
+-Bundle-ClassPath: lib/ant.jar,lib/ant-antlr.jar,lib/ant-apache-bcel.ja
+- r,lib/ant-apache-bsf.jar,lib/ant-apache-log4j.jar,lib/ant-apache-oro.
+- jar,lib/ant-apache-regexp.jar,lib/ant-apache-resolver.jar,lib/ant-com
+- mons-logging.jar,lib/ant-commons-net.jar,lib/ant-jai.jar,lib/ant-java
+- mail.jar,lib/ant-jdepend.jar,lib/ant-jmf.jar,lib/ant-jsch.jar,lib/ant
+- -junit.jar,lib/ant-launcher.jar,lib/ant-netrexx.jar,lib/ant-nodeps.ja
+- r,lib/ant-starteam.jar,lib/ant-stylebook.jar,lib/ant-swing.jar,lib/an
+- t-trax.jar,lib/ant-weblogic.jar
++Bundle-ClassPath: lib/ant.jar,
++ lib/ant-antlr.jar,
++ lib/ant-apache-bcel.jar,
++ lib/ant-apache-bsf.jar,
++ lib/ant-apache-log4j.jar,
++ lib/ant-apache-oro.jar,
++ lib/ant-apache-regexp.jar,
++ lib/ant-apache-resolver.jar,
++ lib/ant-commons-logging.jar,
++ lib/ant-commons-net.jar,
++ lib/ant-javamail.jar,
++ lib/ant-jdepend.jar,
++ lib/ant-jmf.jar,
++ lib/ant-jsch.jar,
++ lib/ant-junit.jar,
++ lib/ant-launcher.jar,
++ lib/ant-nodeps.jar,
++ lib/ant-swing.jar,
 + lib/ant-trax.jar
  Bundle-Vendor: %providerName
- Bundle-Localization: plugin
- Export-Package: .,
+ Export-Package: images,org.apache.tools.ant,org.apache.tools.ant.dispa
+  tch,org.apache.tools.ant.filters,org.apache.tools.ant.filters.util,or

Modified: trunk/eclipse/debian/rules
===================================================================
--- trunk/eclipse/debian/rules	2009-08-15 16:33:34 UTC (rev 10094)
+++ trunk/eclipse/debian/rules	2009-08-15 20:47:22 UTC (rev 10095)
@@ -129,7 +129,6 @@
 	eclipse-awt-libpath \
 	eclipse-nativepresentation \
 	eclipse-swttools \
-	eclipse-disable-motif \
 	eclipse-ecj-gcj \
 	eclipse-disable-buildHelpIndex \
 	eclipse-add-ppc64-sparc64-s390-s390x \
@@ -137,6 +136,9 @@
 	eclipse-ini-more-memory \
 	eclipse-osgi-bootclasspath
 
+#	eclipse-disable-motif \
+
+
 #	eclipse-disable-apt \
 #	eclipse-swt-x11 \
 #	eclipse-fileinitializer \
@@ -341,7 +343,7 @@
 	find . -type f -name "build.xml" -exec \
 		perl -pi -e 's| verbose="true"| verbose="false"|g' \
 		{} ';'
-	
+
 	# Disable compiler warnings.
 	find . -type f -name "build.xml" -exec \
 		perl -pi -e 's|<javac|<javac nowarn="true"|g' \
@@ -425,6 +427,13 @@
 ifeq ($(enable_native),yes)
 	dh_install --sourcedir=debian/tmp-native --list-missing $(foreach p,$(DEB_GCJ_PACKAGES),-p$(p)-gcj)
 endif
+	for PACKAGE in `dh_listpackages` ; do  \
+		if [ -d debian/$$PACKAGE/usr/lib/ ] ; then \
+			find debian/$$PACKAGE/usr/lib/  -name '*.png' -exec debian/extra/imagemover.sh $$PACKAGE '{}' ';' ; \
+			find debian/$$PACKAGE/usr/lib/  -name '*.gif' -exec debian/extra/imagemover.sh $$PACKAGE '{}' ';' ; \
+			find debian/$$PACKAGE/usr/lib/  -name '*.jpg' -exec debian/extra/imagemover.sh $$PACKAGE '{}' ';' ; \
+		fi ; \
+	done
 	touch install-stamp
 
 post-install-stamp:
@@ -466,7 +475,7 @@
 	./eclipse \
 		-nosplash -consolelog \
 		-initialize
-	
+
 	#	-application org.eclipse.core.runtime.initializer \
 	#	-fileInitializer $(EXTRA)/filenamepatterns.txt
 




More information about the pkg-java-commits mailing list