r21657 - in /trunk/libperldoc-search-perl/debian: changelog control patches/00list patches/20Search.pm.dpatch patches/20Search.pm.patch patches/series rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jun 15 17:17:02 UTC 2008


Author: gregoa
Date: Sun Jun 15 17:17:01 2008
New Revision: 21657

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21657
Log:
Switch patch system from dpatch to quilt.

Added:
    trunk/libperldoc-search-perl/debian/patches/20Search.pm.patch
    trunk/libperldoc-search-perl/debian/patches/series
Removed:
    trunk/libperldoc-search-perl/debian/patches/00list
    trunk/libperldoc-search-perl/debian/patches/20Search.pm.dpatch
Modified:
    trunk/libperldoc-search-perl/debian/changelog
    trunk/libperldoc-search-perl/debian/control
    trunk/libperldoc-search-perl/debian/rules

Modified: trunk/libperldoc-search-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperldoc-search-perl/debian/changelog?rev=21657&op=diff
==============================================================================
--- trunk/libperldoc-search-perl/debian/changelog (original)
+++ trunk/libperldoc-search-perl/debian/changelog Sun Jun 15 17:17:01 2008
@@ -10,6 +10,7 @@
     to Uploaders.
   * Add debian/watch.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
+  * Switch patch system from dpatch to quilt.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 16:47:19 +0200
 

Modified: trunk/libperldoc-search-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperldoc-search-perl/debian/control?rev=21657&op=diff
==============================================================================
--- trunk/libperldoc-search-perl/debian/control (original)
+++ trunk/libperldoc-search-perl/debian/control Sun Jun 15 17:17:01 2008
@@ -1,7 +1,7 @@
 Source: libperldoc-search-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2), dpatch
+Build-Depends: debhelper (>= 4.0.2), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.8.0-7), libpod-simple-perl, libswish-api-common-perl, libsysadm-install-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Florian Ragwitz <rafl at debianforum.de>

Added: trunk/libperldoc-search-perl/debian/patches/20Search.pm.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperldoc-search-perl/debian/patches/20Search.pm.patch?rev=21657&op=file
==============================================================================
--- trunk/libperldoc-search-perl/debian/patches/20Search.pm.patch (added)
+++ trunk/libperldoc-search-perl/debian/patches/20Search.pm.patch Sun Jun 15 17:17:01 2008
@@ -1,0 +1,22 @@
+Author: Florian Ragwitz <florian.ragwitz at s2004.tu-chemnitz.de>
+Description: Add all installvendorlib and installvendorarch to the search directories
+Don't die if we can't chdir to a directory which does not exist
+--- libperldoc-search-perl.orig/lib/Perldoc/Search.pm
++++ libperldoc-search-perl/lib/Perldoc/Search.pm
+@@ -21,6 +21,8 @@
+                  $Config{installsitelib},
+                  $Config{installarchlib},
+                  $Config{installprivlib},
++                 $Config{installvendorlib},
++                 $Config{installvendorarch}
+                 ],
+         swish_options => {
+             swish_adm_dir => "$ENV{HOME}/.perldig",
+@@ -32,6 +34,7 @@
+         # will figure out the real paths
+     for(@{$self->{dirs}}) {
+         my $cwd = cwd();
++        next unless -e;
+         chdir $_ or die "Cannot cwd to $_";
+         $_ = File::Spec->rel2abs(".");
+         chdir $cwd;

Added: trunk/libperldoc-search-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperldoc-search-perl/debian/patches/series?rev=21657&op=file
==============================================================================
--- trunk/libperldoc-search-perl/debian/patches/series (added)
+++ trunk/libperldoc-search-perl/debian/patches/series Sun Jun 15 17:17:01 2008
@@ -1,0 +1,1 @@
+20Search.pm.patch

Modified: trunk/libperldoc-search-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperldoc-search-perl/debian/rules?rev=21657&op=diff
==============================================================================
--- trunk/libperldoc-search-perl/debian/rules (original)
+++ trunk/libperldoc-search-perl/debian/rules Sun Jun 15 17:17:01 2008
@@ -2,7 +2,7 @@
 
 export PERL_MM_USE_DEFAULT=1
 
-include /usr/share/dpatch/dpatch.make
+include /usr/share/quilt/quilt.make
 
 PACKAGE=$(shell dh_listpackages)
 
@@ -13,7 +13,7 @@
 TMP = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp: patch-stamp
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-Wall -O2 -g"




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