Package: podbrowser
Version: 0.03-1
Severity: normal
Tags: patch
Hi,
Attached is the diff for my podbrowser 0.03-1.1 NMU.
bye,
- michael
diff -u podbrowser-0.03/debian/patches/00list
podbrowser-0.03/debian/patches/00list
--- podbrowser-0.03/debian/patches/00list
+++ podbrowser-0.03/debian/patches/00list
@@ -1,0 +2 @@
+20podbrowser.dpatch
diff -u podbrowser-0.03/debian/changelog podbrowser-0.03/debian/changelog
--- podbrowser-0.03/debian/changelog
+++ podbrowser-0.03/debian/changelog
@@ -1,3 +1,12 @@
+podbrowser (0.03-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes dependency on libgtk2-podviewer-perl to the new
+ libgtk2-ex-podviewer-perl (Closes: #384937)
+ * Adds patch to podbrowser.pl to adapt to the current class location
+
+ -- Rudy Godoy <[EMAIL PROTECTED]> Mon, 4 Sep 2006 08:52:01 -0500
+
podbrowser (0.03-1) unstable; urgency=low
* New upstream version.
diff -u podbrowser-0.03/debian/control podbrowser-0.03/debian/control
--- podbrowser-0.03/debian/control
+++ podbrowser-0.03/debian/control
@@ -8,7 +8,7 @@
Package: podbrowser
Architecture: all
-Depends: ${perl:Depends}, libgtk2-perl, libgtk2-gladexml-perl (>= 1.001),
libgtk2-podviewer-perl (>= 0.08), libgnome2-perl, liblocale-gettext-perl,
gnome-icon-theme
+Depends: ${perl:Depends}, libgtk2-perl, libgtk2-gladexml-perl (>= 1.001),
libgtk2-ex-podviewer-perl (>= 0.08), libgnome2-perl, liblocale-gettext-perl,
gnome-icon-theme
Recommends: libgnome2-0
Suggests: perl-doc
Description: Documentation browser for Perl
only in patch2:
unchanged:
--- podbrowser-0.03.orig/debian/patches/20podbrowser.dpatch
+++ podbrowser-0.03/debian/patches/20podbrowser.dpatch
@@ -0,0 +1,47 @@
+#!/bin/sh -e
+## 20p_podbrowser.dpatch by Rudy Godoy <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes podbrowser.pl to adapt to the current class location
+
+if [ $# -lt 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1;
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+ -patch) patch -p1 ${patch_opts} < $0;;
+ -unpatch) patch -R -p1 ${patch_opts} < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1;;
+esac
+
+exit 0;
+
[EMAIL PROTECTED]@
+--- podbrowser-0.03.orig/podbrowser.pl 2004-09-18 08:32:10.000000000 -0500
++++ podbrowser-0.03/podbrowser.pl 2006-09-04 08:30:43.178923000 -0500
+@@ -6,8 +6,8 @@
+ use Gtk2 -init;
+ use Gtk2::GladeXML 1.001;
+ use Gtk2::SimpleList;
+-use Gtk2::PodViewer 0.08;
+-use Gtk2::PodViewer::Parser qw(decode_entities);
++use Gtk2::Ex::PodViewer 0.08;
++use Gtk2::Ex::PodViewer::Parser qw(decode_entities);
+ use Gnome2;
+ use Locale::gettext;
+ use POSIX qw(setlocale);
+@@ -63,7 +63,7 @@
+ $APP->get_widget('location')->disable_activate;
+ $APP->get_widget('open_dialog_location')->disable_activate;
+
+-my $viewer = Gtk2::PodViewer->new;
++my $viewer = Gtk2::Ex::PodViewer->new;
+ $viewer->signal_connect('link_clicked' => \&link_clicked);
+ $viewer->signal_connect('link_enter', sub { set_status($_[1]) });
+ $viewer->signal_connect('link_leave', sub { set_status('') });