--- padre-0.33.orig/debian/control +++ padre-0.33/debian/control @@ -0,0 +1,116 @@ +Source: padre +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.50), quilt, locales-all +Build-Depends-Indep: perl (>= 5.10.0), + ack-grep, + libclass-adapter-perl (>= 1.05), + libclass-autouse-perl (>= 1.26), + libclass-unload-perl (>= 0.03), + libclass-xsaccessor-perl (>= 0.14), + libclass-xsaccessor-array-perl (>= 0.14), + 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), + libmodule-inspector-perl (>= 0.04), + libmodule-refresh-perl (>= 0.13), + libmodule-starter-perl (>= 1.470), + liborlite-perl (>= 1.18), + liborlite-migrate-perl (>= 0.01), + libpar-perl (>= 0.989), + libparams-util-perl (>= 0.33), + libparse-errorstring-perl-perl (>= 0.11), + 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.89), + libwx-perl-processstream-perl (>= 0.11), + libyaml-tiny-perl (>= 1.32), + xauth, + xfonts-base, + xvfb +Maintainer: Damyan Ivanov +Standards-Version: 3.8.1 +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-autouse-perl (>= 1.26), + libclass-unload-perl (>= 0.03), + libclass-xsaccessor-perl (>= 0.14), + libclass-xsaccessor-array-perl (>= 0.14), + 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), + libmodule-inspector-perl (>= 0.04), + libmodule-refresh-perl (>= 0.13), + libmodule-starter-perl (>= 1.470), + liborlite-perl (>= 1.18), + liborlite-migrate-perl (>= 0.01), + libpar-perl (>= 0.989), + libparams-util-perl (>= 0.33), + libparse-errorstring-perl-perl (>= 0.11), + 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.89), + libwx-perl-dialog-perl (= ${binary:Version}), + libwx-perl-processstream-perl (>= 0.11), + libyaml-tiny-perl (>= 1.32) +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.33.orig/debian/padre.lintian-overrides +++ padre-0.33/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.33.orig/debian/padre.links +++ padre-0.33/debian/padre.links @@ -0,0 +1 @@ +usr/share/man/man3/Padre.3pm.gz usr/share/man/man1/padre.1.gz --- padre-0.33.orig/debian/compat +++ padre-0.33/debian/compat @@ -0,0 +1 @@ +7 --- padre-0.33.orig/debian/watch +++ padre-0.33/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.33.orig/debian/rules +++ padre-0.33/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.33.orig/debian/libwx-perl-dialog-perl.install +++ padre-0.33/debian/libwx-perl-dialog-perl.install @@ -0,0 +1,2 @@ +usr/share/perl5/Wx +usr/share/man/man3/Wx::Perl::Dialog* --- padre-0.33.orig/debian/copyright +++ padre-0.33/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.33.orig/debian/padre.install +++ padre-0.33/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.33.orig/debian/repack.sh +++ padre-0.33/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.33.orig/debian/README.source +++ padre-0.33/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 ../padre_$VER.orig.tar.gz + +3) review the diff, adjust, whatever --- padre-0.33.orig/debian/examples +++ padre-0.33/debian/examples @@ -0,0 +1 @@ +eg/* --- padre-0.33.orig/debian/changelog +++ padre-0.33/debian/changelog @@ -0,0 +1,31 @@ +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.33.orig/debian/patches/lower-wx-requirement-to-2.8.7.patch +++ padre-0.33/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 +@@ -89,7 +89,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 +@@ -63,8 +63,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"); + } + + # this part still needs the DISPLAY --- padre-0.33.orig/debian/patches/series +++ padre-0.33/debian/patches/series @@ -0,0 +1,2 @@ +#fix-config-error-exit-code.patch +lower-wx-requirement-to-2.8.7.patch --- padre-0.33.orig/debian/patches/fix-config-error-exit-code.patch +++ padre-0.33/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 {