r22011 - in /trunk/libtk-filedialog-perl: FileDialog.pm debian/changelog debian/control debian/example.pl debian/patches/ debian/patches/hashbang.patch debian/patches/series debian/rules example.pl

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Jun 20 21:31:27 UTC 2008


Author: gregoa
Date: Fri Jun 20 21:31:27 2008
New Revision: 22011

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22011
Log:
* Move example.pl to debian/ and install it with dh_installexamples from
  debian/rules.
* Move the change to FileDialog.pm into a patch; add quilt framework.
* Refresh debian/rules, no functional changes.
* Separate Build-Depends and Build-Depends-Indep.

Added:
    trunk/libtk-filedialog-perl/debian/example.pl
      - copied unchanged from r22009, trunk/libtk-filedialog-perl/example.pl
    trunk/libtk-filedialog-perl/debian/patches/
    trunk/libtk-filedialog-perl/debian/patches/hashbang.patch
    trunk/libtk-filedialog-perl/debian/patches/series
Removed:
    trunk/libtk-filedialog-perl/example.pl
Modified:
    trunk/libtk-filedialog-perl/FileDialog.pm
    trunk/libtk-filedialog-perl/debian/changelog
    trunk/libtk-filedialog-perl/debian/control
    trunk/libtk-filedialog-perl/debian/rules

Modified: trunk/libtk-filedialog-perl/FileDialog.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/FileDialog.pm?rev=22011&op=diff
==============================================================================
--- trunk/libtk-filedialog-perl/FileDialog.pm (original)
+++ trunk/libtk-filedialog-perl/FileDialog.pm Fri Jun 20 21:31:27 2008
@@ -76,7 +76,7 @@
 
 =item
 
- #!/usr/bin/perl -w
+ #!/usr/local/bin/perl -w
 
  use Tk;
  use Tk::FileDialog;

Modified: trunk/libtk-filedialog-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/debian/changelog?rev=22011&op=diff
==============================================================================
--- trunk/libtk-filedialog-perl/debian/changelog (original)
+++ trunk/libtk-filedialog-perl/debian/changelog Fri Jun 20 21:31:27 2008
@@ -5,6 +5,11 @@
   * Set Maintainer to Debian Perl Group.
   * Use dist-based URL in debian/watch.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
+  * Move example.pl to debian/ and install it with dh_installexamples from
+    debian/rules.
+  * Move the change to FileDialog.pm into a patch; add quilt framework.
+  * Refresh debian/rules, no functional changes.
+  * Separate Build-Depends and Build-Depends-Indep.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Dec 2007 18:55:25 +0100
 

Modified: trunk/libtk-filedialog-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/debian/control?rev=22011&op=diff
==============================================================================
--- trunk/libtk-filedialog-perl/debian/control (original)
+++ trunk/libtk-filedialog-perl/debian/control Fri Jun 20 21:31:27 2008
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0)
+Build-Depends: debhelper (>> 4.0.0), quilt (>= 0.40)
+Build-Depends-Indep: perl (>= 5.6)
 Standards-Version: 3.6.1.0
 Homepage: http://search.cpan.org/dist/Tk-FileDialog/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtk-filedialog-perl/

Added: trunk/libtk-filedialog-perl/debian/patches/hashbang.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/debian/patches/hashbang.patch?rev=22011&op=file
==============================================================================
--- trunk/libtk-filedialog-perl/debian/patches/hashbang.patch (added)
+++ trunk/libtk-filedialog-perl/debian/patches/hashbang.patch Fri Jun 20 21:31:27 2008
@@ -1,0 +1,11 @@
+--- libtk-filedialog-perl-1.3.orig/FileDialog.pm
++++ libtk-filedialog-perl-1.3/FileDialog.pm
+@@ -76,7 +76,7 @@
+ 
+ =item
+ 
+- #!/usr/local/bin/perl -w
++ #!/usr/bin/perl -w
+ 
+  use Tk;
+  use Tk::FileDialog;

Added: trunk/libtk-filedialog-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/debian/patches/series?rev=22011&op=file
==============================================================================
--- trunk/libtk-filedialog-perl/debian/patches/series (added)
+++ trunk/libtk-filedialog-perl/debian/patches/series Fri Jun 20 21:31:27 2008
@@ -1,0 +1,1 @@
+hashbang.patch

Modified: trunk/libtk-filedialog-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-filedialog-perl/debian/rules?rev=22011&op=diff
==============================================================================
--- trunk/libtk-filedialog-perl/debian/rules (original)
+++ trunk/libtk-filedialog-perl/debian/rules Fri Jun 20 21:31:27 2008
@@ -1,55 +1,63 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+include /usr/share/quilt/quilt.make
 
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-build:
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	# Add here commands to compile the package.
-	perl Makefile.PL verbose INSTALLDIRS=vendor
-clean:
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean: unpatch
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
-	-$(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
 
-	install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples
-	install -m 755 example.pl $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples
-	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
-binary-arch:;
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+	dh_installexamples debian/example.pl
 	dh_installdocs
-	dh_installman
 	dh_installchangelogs
-	dh_link
-	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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