r36812 - in /trunk/libwx-perl/debian: changelog clean compat control examples rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat May 30 13:32:46 UTC 2009
Author: dmn
Date: Sat May 30 13:32:40 2009
New Revision: 36812
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=36812
Log:
* New upstream release
* convert to debhelper7 and clean-up
+ bump debhelper and quilt build-dependencies due to usage of overrides
and "--with quilt"
+ move removal of build cruft to debian/clean
+ install examples using debian/examples
+ drop dropping of build:: from the beginning of some manual pages (there
are no more man pages starting with build::
+ make chown of module files in /usr/lib/perl5 verbose. ditto for
Wx::build::MakeMaker::Win32_MSVC.3pm removal
+ mode of examples/README.txt fixed with an override
Added:
trunk/libwx-perl/debian/clean
trunk/libwx-perl/debian/examples
Modified:
trunk/libwx-perl/debian/changelog
trunk/libwx-perl/debian/compat
trunk/libwx-perl/debian/control
trunk/libwx-perl/debian/rules
Modified: trunk/libwx-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/changelog?rev=36812&op=diff
==============================================================================
--- trunk/libwx-perl/debian/changelog (original)
+++ trunk/libwx-perl/debian/changelog Sat May 30 13:32:40 2009
@@ -1,6 +1,19 @@
libwx-perl (0.91-1) UNRELEASED; urgency=low
- * (NOT RELEASED YET) New upstream release
+ [ Jonathan Yu ]
+ * New upstream release
+
+ [ Damyan Ivanov ]
+ * convert to debhelper7 and clean-up
+ + bump debhelper and quilt build-dependencies due to usage of overrides
+ and "--with quilt"
+ + move removal of build cruft to debian/clean
+ + install examples using debian/examples
+ + drop dropping of build:: from the beginning of some manual pages (there
+ are no more man pages starting with build::
+ + make chown of module files in /usr/lib/perl5 verbose. ditto for
+ Wx::build::MakeMaker::Win32_MSVC.3pm removal
+ + mode of examples/README.txt fixed with an override
-- Jonathan Yu <frequency at cpan.org> Fri, 22 May 2009 12:58:35 -0400
Added: trunk/libwx-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/clean?rev=36812&op=file
==============================================================================
--- trunk/libwx-perl/debian/clean (added)
+++ trunk/libwx-perl/debian/clean Sat May 30 13:32:40 2009
@@ -1,0 +1,6 @@
+ext/richtext/Makefile.old
+ext/dataview/Makefile.old
+ext/aui/Makefile.old
+ext/richtext/Makefile
+ext/dataview/Makefile
+ext/aui/Makefile
Modified: trunk/libwx-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/compat?rev=36812&op=diff
==============================================================================
--- trunk/libwx-perl/debian/compat (original)
+++ trunk/libwx-perl/debian/compat Sat May 30 13:32:40 2009
@@ -1,1 +1,1 @@
-5
+7
Modified: trunk/libwx-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/control?rev=36812&op=diff
==============================================================================
--- trunk/libwx-perl/debian/control (original)
+++ trunk/libwx-perl/debian/control Sat May 30 13:32:40 2009
@@ -4,7 +4,8 @@
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Roberto C. Sanchez <roberto at connexer.com>,
gregor herrmann <gregor+debian at comodo.priv.at>, Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 5), quilt, libalien-wxwidgets-perl (>= 0.39),
+Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7),
+ libalien-wxwidgets-perl (>= 0.39),
xauth, xvfb, x11-xkb-utils, xfonts-base, libtest-pod-perl, libyaml-perl,
libio-string-perl, libmodule-info-perl
Standards-Version: 3.8.0
Added: trunk/libwx-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/examples?rev=36812&op=file
==============================================================================
--- trunk/libwx-perl/debian/examples (added)
+++ trunk/libwx-perl/debian/examples Sat May 30 13:32:40 2009
@@ -1,0 +1,1 @@
+samples/*
Modified: trunk/libwx-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwx-perl/debian/rules?rev=36812&op=diff
==============================================================================
--- trunk/libwx-perl/debian/rules (original)
+++ trunk/libwx-perl/debian/rules Sat May 30 13:32:40 2009
@@ -1,104 +1,25 @@
#!/usr/bin/make -f
-# 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
+%:
+ dh --with quilt $@
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.
-export PERL_MM_USE_DEFAULT=1
-
PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
TMP =$(CURDIR)/debian/$(PACKAGE)
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
-
- # Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
+override_dh_auto_test:
xvfb-run $(MAKE) -j1 test
- touch build-stamp
+override_dh_auto_install:
+ dh_auto_install
+
+ # fix permissions
+ find $(TMP)/usr/lib/perl5/Wx -type f -perm /755 -print0 | xargs -r0 chmod -v 664
+
+ # remove bogus man page
+ rm -vf "$(TMP)/usr/share/man/man3/Wx::build::MakeMaker::Win32_MSVC.3pm"
-clean: unpatch
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
-
- dh_clean ext/richtext/Makefile.old ext/dataview/Makefile.old \
- ext/aui/Makefile.old \
- ext/richtext/Makefile ext/dataview/Makefile ext/aui/Makefile
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) install DESTDIR=$(TMP)
- rename 's/build:://' $(TMP)/usr/share/man/man3/build*
-
- find $(TMP) -type f -name .packlist | xargs rm -f
- [ ! -d $(TMP)/usr/share/perl5 ] \
- || rmdir --verbose --ignore-fail-on-non-empty --parents \
- $(TMP)/usr/share/perl5
-
- # fix permissions
- find $(TMP)/usr/lib/perl5/Wx -type f -perm /755 -print0 | xargs -r0 chmod 664
- chmod 664 $(CURDIR)/samples/README.txt
- # remove bogus man page
- [ -f "$(TMP)/usr/share/man/man3/Wx::build::MakeMaker::Win32_MSVC.3pm" ] \
- && rm -f "$(TMP)/usr/share/man/man3/Wx::build::MakeMaker::Win32_MSVC.3pm"
-
- touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs README.txt
- dh_installexamples samples/*
- dh_installchangelogs Changes
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_installexamples:
+ dh_installexamples
+ chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/README.txt
More information about the Pkg-perl-cvs-commits
mailing list