[SCM] Packaging of padre perl editor branch, master, updated. upstream/0.25-68-g1e02ff0

Damyan Ivanov dmn at debian.org
Wed Jan 14 15:27:21 UTC 2009


The following commit has been merged in the master branch:
commit 27d8632a7944197975ea1cb352d8ec550e9514d8
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Jan 13 09:28:38 2009 +0200

    add lower-wx-requirement-to-2.8.7.patch
    
    let's see if 2.8.8 is really needed
    
    plug quilt, add README.source

diff --git a/debian/README.Source b/debian/README.Source
new file mode 100644
index 0000000..ae7d08a
--- /dev/null
+++ b/debian/README.Source
@@ -0,0 +1,4 @@
+padre uses quilt for managing patches to original source.
+
+See /usr/share/doc/quilt/README.source for a brief instruction for working with
+quilt.
diff --git a/debian/control b/debian/control
index 1a96057..1e79ff2 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: padre
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), libmodule-build-perl
+Build-Depends: debhelper (>= 7), libmodule-build-perl, quilt
 Build-Depends-Indep: perl (>= 5.10.0),
  ack-grep,
  libclass-adapter-perl,
diff --git a/debian/patches/lower-wx-requirement-to-2.8.7.patch b/debian/patches/lower-wx-requirement-to-2.8.7.patch
new file mode 100644
index 0000000..65e32b6
--- /dev/null
+++ b/debian/patches/lower-wx-requirement-to-2.8.7.patch
@@ -0,0 +1,13 @@
+--- a/inc/Module/Install/PRIVATE/Padre.pm
++++ b/inc/Module/Install/PRIVATE/Padre.pm
+@@ -59,8 +59,8 @@ sub check_wx_version {
+ 	$widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/;
+ 	$widgets_human =~ s/0//g;
+ 	print "Found wxWidgets $widgets_human\n";
+-	unless ( $widgets >= 2.008008 ) {
+-		nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human");
++	unless ( $widgets >= 2.008007 ) {
++		nono("Padre needs at least version 2.8.7 of wxWidgets. You have wxWidgets $widgets_human");
+ 	}
+ 
+ 	return;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ef21eb7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+lower-wx-requirement-to-2.8.7.patch
diff --git a/debian/rules b/debian/rules
index d8294dc..62c8e55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	xvfb-run dh build
 	touch $@
 
-clean:
+clean: unpatch
 	dh $@
 
 install: install-stamp

-- 
Packaging of padre perl editor



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