[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages that have to be updated



Le Tue, Jul 20, 1999 at 01:23:37PM -0700, Ben Gertzfield écrivait:
> I'm actually working hard on gimp1.1 right now -- 1.1.7 has just
> come out, and I've just removed the dependancy on perl as the
> perl extension doesn't really work very well, so I didn't include it.

Huh ? I've built it successfully with perl-5.005 installed. It failed
at the dh_movefiles because of a bug in dh_clean (for debhelper 2.0.X) 
but the build was ok. You should try to build it with perl-5.005.
I checked the version of the modules in potato, they are all ok (pdl and
libgtk-perl) ...

Here's the actual patch I used for gimp1.1 :

diff -urN gimp1.1-1.1.6.old/debian/changelog gimp1.1-1.1.6/debian/changelog
--- gimp1.1-1.1.6.old/debian/changelog	Tue Jul 20 22:25:50 1999
+++ gimp1.1-1.1.6/debian/changelog	Tue Jul 20 22:50:42 1999
@@ -1,3 +1,14 @@
+gimp1.1 (1.1.6-2.1) unstable; urgency=low
+
+  * NMU for the perl upgrade. Closes: #41402, #41484
+  * Corrected the rules files.
+  * Enable the Gimp-Perl extension. Closes: #34392
+  * Built with perl-5.005.
+  * Upgraded standards-version to 2.5.1.
+  * Corrected the location of licenses in the copyright file. 
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Tue, 20 Jul 1999 22:50:26 +0200
+
 gimp1.1 (1.1.6-2) unstable; urgency=low
 
   * Patch for compiling on non-x86 architectures. (Fixes: #39863, #40080)
diff -urN gimp1.1-1.1.6.old/debian/control gimp1.1-1.1.6/debian/control
--- gimp1.1-1.1.6.old/debian/control	Tue Jul 20 22:25:50 1999
+++ gimp1.1-1.1.6/debian/control	Tue Jul 20 22:54:33 1999
@@ -2,7 +2,7 @@
 Priority: optional
 Section: graphics
 Maintainer: Ben Gertzfield <che@debian.org>
-Standards-Version: 2.4.0.0
+Standards-Version: 2.5.1
 
 Package: libgimp1.1.6
 Architecture: any
@@ -25,7 +25,7 @@
 Conflicts: gimp-smotif, gimp-dmotif, gimp099, gimp-data-min, gimp
 Replaces: gimp-smotif, gimp-dmotif, gimp099, gimp-data-min, gimp
 Provides: gimp-data-min, gimp
-Depends: ${shlibs:Depends}, pdl, libgtk-perl, perl
+Depends: ${shlibs:Depends}, pdl, libgtk-perl, ${perl:Depends} 
 Suggests: freefont, sharefont, gimp1.1-nonfree, gimp-data-extras (>= 1:1.0.0)
 Recommends: xfonts-75dpi, xfonts-100dpi
 Description: Developers' release of the GNU Image Manipulation Program
diff -urN gimp1.1-1.1.6.old/debian/copyright gimp1.1-1.1.6/debian/copyright
--- gimp1.1-1.1.6.old/debian/copyright	Tue Jul 20 22:25:50 1999
+++ gimp1.1-1.1.6/debian/copyright	Tue Jul 20 22:51:21 1999
@@ -6,14 +6,14 @@
 ---------
 
 The GIMP may be redistributed under the terms of the GNU GPL, Version
-2 or later, found on Debian systems in the file /usr/doc/copyright/GPL
+2 or later, found on Debian systems in the file /usr/share/common-licenses/GPL
 
 libgimp
 ---------
 
 The GIMP libraries may be redistributed under the terms of the GNU
 LGPL, Version 2 or later, found on Debian systems in the file
-/usr/doc/copyright/LGPL
+/usr/share/common-licenses/LGPL
 
 gimp-nonfree
 ---------
diff -urN gimp1.1-1.1.6.old/debian/rules gimp1.1-1.1.6/debian/rules
--- gimp1.1-1.1.6.old/debian/rules	Tue Jul 20 22:25:50 1999
+++ gimp1.1-1.1.6/debian/rules	Tue Jul 20 22:53:14 1999
@@ -7,6 +7,14 @@
 minor=6
 version=$(major).$(minor)
 
+ifndef PERL
+PERL = /usr/bin/perl 
+endif
+
+TMP     =`pwd`/debian/tmp
+archlib =`$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
+perlconfig  =INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib)
+
 build: build-stamp
 build-stamp:
 	dh_testdir
@@ -15,7 +23,7 @@
 #	automake
 #	autoconf
 	# Add here commands to compile the pacckage.
-	./configure --prefix=/usr --disable-perl
+	./configure --prefix=/usr --enable-perl
 	$(MAKE)
 # 	Commented out because you have to be in X to build the docs, yuck
 #	cd docs && $(MAKE)
@@ -46,7 +54,7 @@
 	dh_testroot
 	dh_clean
 	dh_installdirs usr/X11R6/bin usr/X11R6/man/man1
-	$(MAKE) prefix=`pwd`/debian/tmp/usr PREFIX=$(shell pwd)/debian/tmp/usr INSTALLDIRS=perl INSTALLMAN1DIR=$(shell pwd)/debian/tmp/usr/man/man1 INSTALLMAN3DIR=$(shell pwd)/debian/tmp/usr/man/man3 install
+	$(MAKE) prefix=`pwd`/debian/tmp/usr $(perlconfig) install
 	mv debian/tmp/usr/bin/gimp debian/tmp/usr/X11R6/bin
 	mv debian/tmp/usr/man/man1/gimp.1 debian/tmp/usr/X11R6/man/man1
 	rm -f debian/shlibs.local
@@ -88,6 +96,7 @@
 	dh_compress -pgimp$(major)
 	dh_fixperms -pgimp$(major)
 	dh_installmenu -pgimp$(major)
+	dh_perl -pgimp$(major)
 	dh_installdeb -pgimp$(major)
 	LD_LIBRARY_PATH=$(shell pwd)/debian/tmp/usr/lib dh_shlibdeps -pgimp$(major)
 	dh_gencontrol -pgimp$(major)



HTH,

Cheers,

PS: The NMU of the libdbd-{mysql,msql]-perl packages is done. They are
in Incoming.
-- 
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/


Reply to: