r23270 - in /trunk/libxml-libxslt-perl/debian: README.source changelog control patches/ patches/series patches/trim_libs.patch rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Jul 15 19:40:54 UTC 2008


Author: dmn
Date: Tue Jul 15 19:40:52 2008
New Revision: 23270

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23270
Log:
* add trim_links.patch, avoiding linkage to all libs perl is linked.
  - avoids unneeded build-dependency on libgdbm-dev
  - avoids unnecessary linking (dh_shlibdeps warning)
* add quilt to build system
* add README.source documenting quilt usage

Added:
    trunk/libxml-libxslt-perl/debian/README.source
    trunk/libxml-libxslt-perl/debian/patches/
    trunk/libxml-libxslt-perl/debian/patches/series
    trunk/libxml-libxslt-perl/debian/patches/trim_libs.patch
Modified:
    trunk/libxml-libxslt-perl/debian/changelog
    trunk/libxml-libxslt-perl/debian/control
    trunk/libxml-libxslt-perl/debian/rules

Added: trunk/libxml-libxslt-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/README.source?rev=23270&op=file
==============================================================================
--- trunk/libxml-libxslt-perl/debian/README.source (added)
+++ trunk/libxml-libxslt-perl/debian/README.source Tue Jul 15 19:40:52 2008
@@ -1,0 +1,3 @@
+This package uses quilt for managing patches to upstream sources.
+
+See /usr/share/doc/quilt/README.source, contained in the quilt package.

Modified: trunk/libxml-libxslt-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/changelog?rev=23270&op=diff
==============================================================================
--- trunk/libxml-libxslt-perl/debian/changelog (original)
+++ trunk/libxml-libxslt-perl/debian/changelog Tue Jul 15 19:40:52 2008
@@ -1,9 +1,6 @@
 libxml-libxslt-perl (1.66-1) UNRELEASED; urgency=low
 
-  TODO: either add libgdbm-dev to B-D or patch Makefile.PL to not use
-        $Config{libs} (line 106), the latter would also avoid "useless
-        linking" warnings
-  
+  [ gregor herrmann ]
   * Take over for the Debian Perl Group with maintainer's permission
     (http://lists.debian.org/debian-perl/2008/06/msg00039.html)
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -25,6 +22,13 @@
   * Remove zlib1g-dev, add pkg-config to build dependencies.
   * Refresh debian/rules, no functional changes.
 
+  [ Damyan Ivanov ]
+  * add trim_links.patch, avoiding linkage to all libs perl is linked.
+    - avoids unneeded build-dependency on libgdbm-dev
+    - avoids unnecessary linking (dh_shlibdeps warning)
+  * add quilt to build system
+  * add README.source documenting quilt usage
+
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 19:07:57 +0200
 
 libxml-libxslt-perl (1.62-1.1) unstable; urgency=low

Modified: trunk/libxml-libxslt-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/control?rev=23270&op=diff
==============================================================================
--- trunk/libxml-libxslt-perl/debian/control (original)
+++ trunk/libxml-libxslt-perl/debian/control Tue Jul 15 19:40:52 2008
@@ -9,7 +9,7 @@
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-libxslt-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/
 Build-Depends: debhelper (>= 5), perl (>= 5.8.1), 
- libxml-libxml-perl (>= 1.66), libxslt1-dev (>= 1.1.8), pkg-config
+ libxml-libxml-perl (>= 1.66), libxslt1-dev (>= 1.1.8), pkg-config, quilt
 
 Package: libxml-libxslt-perl
 Section: perl

Added: trunk/libxml-libxslt-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/patches/series?rev=23270&op=file
==============================================================================
--- trunk/libxml-libxslt-perl/debian/patches/series (added)
+++ trunk/libxml-libxslt-perl/debian/patches/series Tue Jul 15 19:40:52 2008
@@ -1,0 +1,1 @@
+trim_libs.patch

Added: trunk/libxml-libxslt-perl/debian/patches/trim_libs.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/patches/trim_libs.patch?rev=23270&op=file
==============================================================================
--- trunk/libxml-libxslt-perl/debian/patches/trim_libs.patch (added)
+++ trunk/libxml-libxslt-perl/debian/patches/trim_libs.patch Tue Jul 15 19:40:52 2008
@@ -1,0 +1,11 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -103,8 +103,6 @@ if (have_library("exslt")) {
+   $config{DEFINE} .= " -DHAVE_EXSLT"
+ }
+ 
+-$config{LIBS}.=' '.$Config{libs};
+-
+ if ($DEBUG) {
+   print "LIBS: $config{LIBS}\n";
+   print "INC: $config{INC}\n";

Modified: trunk/libxml-libxslt-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxslt-perl/debian/rules?rev=23270&op=diff
==============================================================================
--- trunk/libxml-libxslt-perl/debian/rules (original)
+++ trunk/libxml-libxslt-perl/debian/rules Tue Jul 15 19:40:52 2008
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -25,18 +27,18 @@
 endif
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	[ ! -f Makefile ] || (touch Makefile && $(MAKE) realclean)
 
 install: install-stamp
 install-stamp: build-stamp




More information about the Pkg-perl-cvs-commits mailing list