--- padre-0.36.orig/debian/control +++ padre-0.36/debian/control @@ -0,0 +1,120 @@ +Source: padre +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.50), quilt +Build-Depends-Indep: perl (>= 5.10.0), + ack-grep, + libclass-adapter-perl (>= 1.05), + libclass-unload-perl (>= 0.03), + libclass-xsaccessor-perl (>= 1.02), + libclass-xsaccessor-array-perl (>= 1.02), + libdbd-sqlite3-perl (>= 1.10), + libdbi-perl (>= 1.58), + libdevel-dumpvar-perl (>= 0.04), + libfile-copy-recursive-perl (>= 0.37), + libfile-find-rule-perl (>= 0.30), + libfile-homedir-perl (>= 0.82), + libfile-sharedir-par-perl (>= 0.04), + libfile-sharedir-perl (>= 1.00), + libfile-spec-perl (>= 3.2701), + libfile-which-perl (>= 0.05), + libhtml-parser-perl (>= 3.58), + libio-string-perl (>= 1.08), + libio-stringy-perl (>= 2.110), + liblist-moreutils-perl (>= 0.22), + libmodule-inspector-perl (>= 0.04), + libmodule-refresh-perl (>= 0.13), + libmodule-starter-perl (>= 1.470), + liborlite-perl (>= 1.20), + liborlite-migrate-perl (>= 0.03), + libpar-perl (>= 0.989), + libparams-util-perl (>= 0.33), + libparse-errorstring-perl-perl (>= 0.11), + libpod-abstract-perl (>= 0.16), + libpod-pom-perl (>= 0.17), + libpod-simple-perl (>= 3.07), + libppi-perl (>= 1.203), + libprobe-perl-perl (>= 0.01), + libtest-exception-perl (>= 0.27), + libtest-most-perl (>= 0.21), + libtest-needsdisplay-perl, + libtest-nowarnings-perl (>= 0.084), + libtest-script-perl (>= 1.03), + libtext-diff-perl (>= 0.35), + libtext-findindent-perl (>= 0.03), + libthread-queue-perl (>= 2.11), + liburi-perl, + libwx-perl (>= 0.91), + libwx-perl-processstream-perl (>= 0.11), + libyaml-tiny-perl (>= 1.32), + xauth, + xfonts-base, + xvfb +Maintainer: Damyan Ivanov +Uploaders: Ryan Niebur +Standards-Version: 3.8.2 +Homepage: http://search.cpan.org/dist/Padre/ + +Package: padre +Architecture: all +Depends: perl (>= 5.10.0), + ${misc:Depends}, + ack-grep, + libclass-adapter-perl (>= 1.05), + libclass-unload-perl (>= 0.03), + libclass-xsaccessor-perl (>= 1.02), + libclass-xsaccessor-array-perl (>= 1.02), + libdbd-sqlite3-perl (>= 1.10), + libdbi-perl (>= 1.58), + libdevel-dumpvar-perl (>= 0.04), + libfile-copy-recursive-perl (>= 0.37), + libfile-find-rule-perl (>= 0.30), + libfile-homedir-perl (>= 0.82), + libfile-sharedir-par-perl (>= 0.04), + libfile-sharedir-perl (>= 1.00), + libfile-spec-perl (>= 3.2701), + libfile-which-perl (>= 0.05), + libhtml-parser-perl (>= 3.58), + libio-string-perl (>= 1.08), + libio-stringy-perl (>= 2.110), + liblist-moreutils-perl (>= 0.22), + libmodule-inspector-perl (>= 0.04), + libmodule-refresh-perl (>= 0.13), + libmodule-starter-perl (>= 1.470), + liborlite-perl (>= 1.20), + liborlite-migrate-perl (>= 0.03), + libpar-perl (>= 0.989), + libparams-util-perl (>= 0.33), + libparse-errorstring-perl-perl (>= 0.11), + libpod-abstract-perl (>= 0.16), + libpod-pom-perl (>= 0.17), + libpod-simple-perl (>= 3.07), + libppi-perl (>= 1.203), + libprobe-perl-perl (>= 0.01), + libtext-diff-perl (>= 0.35), + libtext-findindent-perl (>= 0.03), + libthread-queue-perl (>= 2.11), + liburi-perl, + libwx-perl (>= 0.91), + libwx-perl-dialog-perl (= ${binary:Version}), + libwx-perl-processstream-perl (>= 0.11), + libyaml-tiny-perl (>= 1.32) +Provides: padre-plugin-api-0 +Description: Perl Application Development and Refactoring Environment + Padre is a Perl IDE that is simple to use for new Perl programmers but also + supports large multi-lingual and multi-technology projects. + . + Its primary focus is to create a peerless environment for learning Perl and + creating Perl scripts, modules and distributions, with an extensible plugin + system to support the addition of related functionality and languages and to + support advanced developers taking the editor anywhere they want it to go. + +Package: libwx-perl-dialog-perl +Architecture: all +Depends: perl (>= 5.008), ${misc:Depends}, libwx-perl, + libfile-copy-recursive-perl, libwx-perl-processstream-perl +Description: abstract dialog class for simple dialog creation + Wx::Perl::Dialog can assist in creating dialog layouts with wxPerl. + . + wxPerl is an extension module allowing the creation of GUI (Graphical + User Interface) Perl programs using the wxWidgets toolkit. --- padre-0.36.orig/debian/copyright +++ padre-0.36/debian/copyright @@ -0,0 +1,157 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=249 +Upstream-Maintainer: Gabor Szabo +Upstream-Source: http://search.cpan.org/dist/Padre/ +Upstream-Name: Padre + +Files: * +Copyright: 2008-2009 The Padre development team as listed in Padre.pm + Aaron Trevena (TEEJAY) + Ahmad Zawawi أحمد محمد زواوي (AZAWAWI) + Adam Kennedy (ADAMK) + Breno G. de Oliveira (GARU) + Brian Cassidy (BRICAS) + Cezary Morga (THEREK) + Chris Dolan (CHRISDOLAN) + Claudio Ramirez (CLAUDIO) + Fayland Lam (FAYLAND) + Gábor Szabó - גאבור סבו (SZABGAB) + Heiko Jansen (HJANSEN) + Jérôme Quelin (JQUELIN) n + Kaare Rasmussen (KAARE) + Keedi Kim - 김도형 (KEEDI) + Max Maischein (CORION) + Patrick Donelan (PATSPAM) + Paweł Murias (PMURIAS) + Petar Shangov (PSHANGOV) + Steffen Müller (TSEE) +License: Perl + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl 5 itself. + +Files: share/icons/gnome218/* +X-Note: these icons are taken from gnome-icon-theme 2.18. + Licensing/copyright information extracted from + ftp://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/2.18/gnome-icon-theme-2.18.0.tar.bz2 +Copyright: 2007 Lapo Calamandrei + Rodney Dawes + Luca Ferretti + Tuomas Kuosmanen + Andreas Nilsson + Jakub Steiner +License: GPL-2 + +Files: share/icons/padre/16x16/status/* +Copyright: Copyright 2008 Steffen Mueller. +License: Perl + You can redistribute and/or modify the icons under the same terms as Perl + itself. + +Files: share/icons/padre/16x16/actions/x-document-close.png +Note: Taken from the KDE4 Oxygen theme actions/application-exit. +Copyright: Copyright (C) 2007 David Vignoni + Copyright (C) 2007 Johann Ollivier Lapeyre + Copyright (C) 2007 Kenneth Wimer + Copyright (C) 2007 Nuno Fernades Pinheiro + Copyright (C) 2007 Riccardo Iaconelli + Copyright (C) 2007 David Miller + and others +License: LGPL-3+ + The GNU Lesser General Public License or LGPL is written for + software libraries in the first place. We expressly want the LGPL to + be valid for this artwork library too. + . + KDE Oxygen theme icons is a special kind of software library, it is an + artwork library, it's elements can be used in a Graphical User Interface, or + GUI. + . + Source code, for this library means: + - where they exist, SVG; + - otherwise, if applicable, the multi-layered formats xcf or psd, or + otherwise png. + . + The LGPL in some sections obliges you to make the files carry + notices. With images this is in some cases impossible or hardly useful. + . + With this library a notice is placed at a prominent place in the directory + containing the elements. You may follow this practice. + . + The exception in section 5 of the GNU Lesser General Public License covers + the use of elements of this art library in a GUI. + +Files: t/collection/Config-Tiny/* +Copyright: Copyright 2002 - 2007 Adam Kennedy. +License: Perl + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + +Files: inc/Module/Install/* +Copyright: Copyright 2002 - 2009 by Brian Ingerson, Audrey Tang and Adam Kennedy +License: Perl + +Files: inc/Module/Install/PRIVATE/* +Copyright: 2008-2009 The Padre development team as listed in Padre.pm. +License: Perl + +Files: debian/* +Copyright: © 2008-2009, Damyan Ivanov +License: Perl + Padre packaging is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + + +License-Alias: Perl +Lcenses: Artistic | GPL+1 + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' + +License: LGPL-3+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public + License along with this library. If not, see . + . + On Debian systems the full text of the GNU Library General Public License + can be found in /usr/share/common-licenses/LGPL + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2' --- padre-0.36.orig/debian/padre.links +++ padre-0.36/debian/padre.links @@ -0,0 +1 @@ +usr/share/man/man3/Padre.3pm.gz usr/share/man/man1/padre.1.gz --- padre-0.36.orig/debian/libwx-perl-dialog-perl.install +++ padre-0.36/debian/libwx-perl-dialog-perl.install @@ -0,0 +1,2 @@ +usr/share/perl5/Wx +usr/share/man/man3/Wx::Perl::Dialog* --- padre-0.36.orig/debian/watch +++ padre-0.36/debian/watch @@ -0,0 +1,5 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +opts=dversionmangle=s/\.ds\d+// \ +http://search.cpan.org/dist/Padre/ .*/Padre-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian --- padre-0.36.orig/debian/compat +++ padre-0.36/debian/compat @@ -0,0 +1 @@ +7 --- padre-0.36.orig/debian/padre.install +++ padre-0.36/debian/padre.install @@ -0,0 +1,4 @@ +usr/share/man/man3/Padre* +usr/share/perl5/auto +usr/share/perl5/Padre* +usr/bin/padre --- padre-0.36.orig/debian/padre.examples +++ padre-0.36/debian/padre.examples @@ -0,0 +1 @@ +eg/* --- padre-0.36.orig/debian/README.source +++ padre-0.36/debian/README.source @@ -0,0 +1,24 @@ +Crash-course of padre Debian package maintenance +================================================ + +Patches +------- + +Changes in upstream sources are handled as a series of patches, +managed with quilt. + +See /usr/share/doc/quilt/README.source for a brief instruction for +working with quilt. + +Importing new upstream releases +------------------------------- + +1) download the tarball + + uscan -f + +2) import/merge into master + + git-import-orig --pristine-tar ../padre_$VER.orig.tar.gz + +3) review the diff, adjust, whatever --- padre-0.36.orig/debian/changelog +++ padre-0.36/debian/changelog @@ -0,0 +1,90 @@ +padre (0.36-3) unstable; urgency=low + + * remove build dep on locales-all (Closes: #535248) (LP: #394128) + * Debian Policy 3.8.2 + + -- Ryan Niebur Fri, 03 Jul 2009 23:35:34 -0700 + +padre (0.36-2) unstable; urgency=low + + * don't require libfile-path-perl (Closes: #532997) + * Add myself to Uploaders + + -- Ryan Niebur Tue, 16 Jun 2009 14:04:05 -0700 + +padre (0.36-1) unstable; urgency=low + + * New Upstream Version + * drop libclass-autouse-perl from (build-)dependencies + * bump libclass-xsaccessor[-array]-perl [build-]dependency to 1.02 + * add liblist-moreutils-perl (>= 0.22) to [build-]dependencies + * add libpod-abstract-perl to [build-]dependencies + * bump libwx-perl (build-)dependency to 0.91 + * refresh disable-tcp-server.patch + * add explicit dependency on libfile-path-perl 2.07 because the version in + core perl has no make_path() subroutine + * Provide virtual padre-plugin-api-0 + To be used by plugins in order to avoid breaking them when padre plugin + API changes + * add fix-pod2man-errors.patch fixing pod2man error in Padre::Wx::Main + + -- Damyan Ivanov Fri, 12 Jun 2009 16:15:42 +0300 + +padre (0.35-1) unstable; urgency=low + + * New Upstream Version + + * install eg/ as examples only in padre (not also in libwx-perl- + dialog-perl) + * mention --pristine-tar in README.source + * add disable-tcp-server.patch + the tcp server is used for communication with running instance of padre. + Although it only listens on 127.0.0.1, there is no measures taken to + ensure that the user connecting to the server is the same as the user + running padre. + * add README.debian documenting changes in the package compared to + upstream sources + + -- Damyan Ivanov Sat, 09 May 2009 18:19:53 +0300 + +padre (0.34-1) unstable; urgency=low + + * New upstream release + + * bump liborlite-perl (build-)dependency to 1.20 + * bump liborlite-migrate-perl (build-)dependency to 0.03 + * refresh patches + + -- Damyan Ivanov Tue, 28 Apr 2009 16:21:53 +0300 + +padre (0.33-1) unstable; urgency=low + + * New Upstream Version + * Non-distributable files removed upstream + + detach repack.sh from debian/watch + + remove repackaging info from debian/copyright and debian/README.source + * bump (build-)dependencies to match upstream + * drop libtest-compile-perl build-dependency + * update copyright info + * Drop patches applied upstream + + timeline-no-shebang.patch + + manpage-whatis.patch + * refresh lower-wx-requirement-to-2.8.7.patch + * split wx-perl-dialog in separate package + * convert rules to minimalistic DH7, employ overrides + + bump DH build-dependency to 7.0.50 + + convert explicit dh_link invocation to debian/links + * disable test suite during build + (it fails due to missing RANDR X extension, which causes warnings to me + emmitted to STDERR, which breaks the tests which require that nothing + appears on STDERR) + * remove all pre-supplied .mo files before recreating them + * Standards-Version: 3.8.1 (no changes needed) + + -- Damyan Ivanov Mon, 27 Apr 2009 15:43:08 +0300 + +padre (0.27.ds1-1) unstable; urgency=low + + * Initial Release. Closes: #492696 -- ITP + + -- Damyan Ivanov Wed, 18 Feb 2009 15:55:00 +0200 --- padre-0.36.orig/debian/repack.sh +++ padre-0.36/debian/repack.sh @@ -0,0 +1,71 @@ +#!/bin/sh +# +# Repack upstream source removing generated (.mo) files +# and eg/hangman.p6, which has no license and is certainly +# copyrighted +# +# To be called via debian/watch (uscan or uscan --force) +# or +# sh debian/repack.sh --upstream-version VER FILE + +set -e +set -u + +usage() { + cat <& 2 +Usage: $0 --upstream-version VER FILE + + or + + uscan [--force] +EOF +} + +[ "${1:-}" = "--upstream-version" ] \ + && [ -n "${2:-}" ] \ + && [ -n "${3:-}" ] \ + && [ -z "${4:-}" ] \ + || usage + +TMPDIR=`mktemp -d -p .` + +trap "rm -rf $TMPDIR" INT QUIT 0 + +VER="$2" +DEB_VER="${VER}.ds1" +UP_VER="${VER}" +UPSTREAM_TAR="$3" +UPSTREAM_DIR=Padre-${UP_VER} +ORIG="../padre_${DEB_VER}.orig.tar.gz" +ORIG_DIR="padre-${DEB_VER}.orig" + +if [ -e "$ORIG" ]; then + echo "$ORIG already exists. Aborting." + exit 1 +fi + +echo -n "Expanding upstream source tree..." +tar xzf $UPSTREAM_TAR -C $TMPDIR +echo " done." + +# clean generated files +echo "Cleaning upstream sources from generated files..." +for f in `cd $TMPDIR/$UPSTREAM_DIR/share/locale; ls -1 *.mo` ; +do + echo " share/locale/$f" + rm $TMPDIR/$UPSTREAM_DIR/share/locale/$f +done + +echo "Remmoving copyrighted files without a license..." +for f in eg/hangman.p6 ; +do + echo " $f" + rm $TMPDIR/$UPSTREAM_DIR/$f +done + + +mv $TMPDIR/$UPSTREAM_DIR $TMPDIR/$ORIG_DIR + +echo -n Repackaging into ${ORIG} ... +tar c -C $TMPDIR $ORIG_DIR | gzip -n -9 > "$ORIG" +echo " done." --- padre-0.36.orig/debian/rules +++ padre-0.36/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +%: + dh $@ + +override_dh_auto_configure: $(QUILT_STAMPFN) + xvfb-run dh_auto_configure + +override_dh_auto_test: + # test suite disabled as the missing RANDR extension under Xvfb causes + # them to fail (because tests insist that no output is to be + # encountered on STDERR) + #xvfb-run dh_auto_test + +override_dh_auto_clean: unpatch + dh_auto_clean + +PO_DIR = $(CURDIR)/debian/tmp/usr/share/perl5/auto/share/dist/Padre/locale + +override_dh_auto_install: + dh_auto_install + rm $(PO_DIR)/*.mo + for f in $(PO_DIR)/*.po; do \ + msgfmt $$f -o $${f%.po}.mo ; \ + rm $$f ;\ + done + +.PHONY: get-orig-source +get-orig-source: + uscan --force --- padre-0.36.orig/debian/README.debian +++ padre-0.36/debian/README.debian @@ -0,0 +1,12 @@ +Changes to upstream source +-------------------------- + +* Upstream demands wxWidgets 2.8.8, which is not available on Debian, so the + configuration scripts are patched to allow building with 2.8.7. This may have + some ill side effects. + +* padre 0.35 has a feature allowing controlling of the running padre instance. + unfortunately it uses a listening TCP socket bound to 127.0.0.1:4444 without + any authentication. To avoid security problems, that feature is disabled in + the Debian package. + The problem is tracked upstream at http://padre.perlide.org/ticket/313 --- padre-0.36.orig/debian/padre.lintian-overrides +++ padre-0.36/debian/padre.lintian-overrides @@ -0,0 +1,4 @@ +# These aren't executed from where they are, but used when creating empty +# project. This is why they start with #!/usr/bin/perl. +padre: script-not-executable ./usr/share/perl5/auto/share/dist/Padre/templates/template.pl +padre: script-not-executable ./usr/share/perl5/auto/share/dist/Padre/templates/template.t --- padre-0.36.orig/debian/patches/fix-pod2man-errors.patch +++ padre-0.36/debian/patches/fix-pod2man-errors.patch @@ -0,0 +1,23 @@ +# Author: Damyan Ivanov +# Description: fix a trivial pod2man error (=item must come right after =over) +# Not sure if pod2man is eight here or just buggy +# Upstream-Bug: http://padre.perlide.org/trac/ticket/389 +--- a/lib/Padre/Wx/Main.pm ++++ b/lib/Padre/Wx/Main.pm +@@ -546,14 +546,14 @@ sub freezer { + Padre embeds a small network server to handle single instance. Here are + the methods that allow to control this embedded server. + +-=over 4 +- + =cut + + my $single_instance_port = 4444; + + =pod + ++=over 4 ++ + =item * $main->single_instance_start; + + Start the embedded server. Create it if it doesn't exist. Return true on --- padre-0.36.orig/debian/patches/lower-wx-requirement-to-2.8.7.patch +++ padre-0.36/debian/patches/lower-wx-requirement-to-2.8.7.patch @@ -0,0 +1,28 @@ +# Author: Damyan Ivanov +# Debian-Specific: maybe +# Description: Lower wxWidgets requirement from 2.8.8 to 2.8.7. +# Buggy or not, that is what is available in Debian. +--- a/privinc/Module/Install/PRIVATE/Padre.pm ++++ b/privinc/Module/Install/PRIVATE/Padre.pm +@@ -113,7 +113,7 @@ sub check_wx_version { + sub nono { + my $msg = shift; + print STDERR "$msg\n"; +- exit(1); ++ exit(0); + } + + sub make_exe { +--- a/inc/Module/Install/PRIVATE/Padre.pm ++++ b/inc/Module/Install/PRIVATE/Padre.pm +@@ -68,8 +68,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"); + } + + --- padre-0.36.orig/debian/patches/disable-tcp-server.patch +++ padre-0.36/debian/patches/disable-tcp-server.patch @@ -0,0 +1,22 @@ +# Author: Damyan Ivanov +# Description: disable the tcp listening service that is to be used to controll +# running instance of padre. It lacks any sort of authentication +# and binds t 127.0.0.1 +# The proper way to fix that would be to make it listen on an Unix +# domain socket somewhere in $HOME ensuring the right permissions, +# but I found no evidence if Wx::SocketServer supporting UNIX +# domain sockets. +# Upstream-Bug: http://padre.perlide.org/ticket/313 +--- a/lib/Padre/Wx/Main.pm ++++ b/lib/Padre/Wx/Main.pm +@@ -567,6 +567,10 @@ sub single_instance_start { + # check if server is already started + return 1 if $self->single_instance_running; + ++ warn "single instance server is disabled in the Debian package\n"; ++ warn "see /usr/share/doc/padre/README.Debian for rationale.\n"; ++ return 0; ++ + # Create the server + require Wx::Socket; + $self->{single_instance} = Wx::SocketServer->new( --- padre-0.36.orig/debian/patches/dont-require-new-file-path.patch +++ padre-0.36/debian/patches/dont-require-new-file-path.patch @@ -0,0 +1,28 @@ +http://padre.perlide.org/trac/changeset/5258 + +--- a/lib/Padre/Constant.pm ++++ b/lib/Padre/Constant.pm +@@ -58,10 +58,10 @@ + use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' ); + + # Check and create the directories that need to exist +-unless ( -e CONFIG_DIR or File::Path::make_path(CONFIG_DIR) ) { ++unless ( -e CONFIG_DIR or File::Path::mkpath(CONFIG_DIR) ) { + Carp::croak( "Cannot create config dir '" . CONFIG_DIR . "': $!" ); + } +-unless ( -e PLUGIN_LIB or File::Path::make_path(PLUGIN_LIB) ) { ++unless ( -e PLUGIN_LIB or File::Path::mkpath(PLUGIN_LIB) ) { + Carp::croak( "Cannot create plugins dir '" . PLUGIN_LIB . "': $!" ); + } + +--- a/lib/Padre/PluginManager.pm ++++ b/lib/Padre/PluginManager.pm +@@ -415,7 +415,7 @@ + my $plugin_dir = $self->plugin_dir; + my $cache_dir = File::Spec->catdir( $plugin_dir, 'cache' ); + $ENV{PAR_GLOBAL_TEMP} = $cache_dir; +- File::Path::make_path($cache_dir) unless -e $cache_dir; ++ File::Path::mkpath($cache_dir) unless -e $cache_dir; + $ENV{PAR_TEMP} = $cache_dir; + + $self->{par_loaded} = 1; --- padre-0.36.orig/debian/patches/series +++ padre-0.36/debian/patches/series @@ -0,0 +1,5 @@ +#fix-config-error-exit-code.patch +lower-wx-requirement-to-2.8.7.patch +disable-tcp-server.patch +fix-pod2man-errors.patch +dont-require-new-file-path.patch --- padre-0.36.orig/debian/patches/fix-config-error-exit-code.patch +++ padre-0.36/debian/patches/fix-config-error-exit-code.patch @@ -0,0 +1,25 @@ +# make nono() exit with non-zero code +# this helps invoker of Makefile.PL to notice there was something wrong +# stolen from upstream SVN r3188 +--- a/privinc/Module/Install/PRIVATE/Padre.pm ++++ b/privinc/Module/Install/PRIVATE/Padre.pm +@@ -89,7 +89,7 @@ sub check_wx_version { + sub nono { + my $msg = shift; + print STDERR "$msg\n"; +- exit(0); ++ exit(1); + } + + sub make_exe { +--- a/inc/Module/Install/PRIVATE/Padre.pm ++++ b/inc/Module/Install/PRIVATE/Padre.pm +@@ -90,7 +90,7 @@ sub check_wx_version { + sub nono { + my $msg = shift; + print STDERR "$msg\n"; +- exit(0); ++ exit(1); + } + + sub make_exe {