debian/0000755000000000000000000000000011336077431007173 5ustar debian/control0000644000000000000000000000277411336077122010605 0ustar Source: libgtk2-ex-printdialog-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Jeffrey Ratcliffe , Ansgar Burchardt Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libgtk2-perl, libnet-cups-perl, liblocale-gettext-perl Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/Gtk2-Ex-PrintDialog/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libgtk2-ex-printdialog-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libgtk2-ex-printdialog-perl/ Package: libgtk2-ex-printdialog-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libgtk2-perl, liblocale-gettext-perl, libnet-cups-perl Recommends: ghostscript Description: pure-perl alternative to the Gnome2::Print libraries Gtk2::Ex::PrintDialog implements a dialog widget that can be used to print PostScript data. It is intended to be a lightweight and pure-perl alternative to the Gnome2::Print libraries. . libgtk2-ex-printdialog-perl uses a simple system of operating-system specific backends that are used to do the job of printing. Currently, only a generic Linux/Unix backend (implemented using Net::CUPS) is available, more will be added in the future. . The dialog itself is intended to comply with the GNOME Human Interface Guidelines (HIG). It allows the user to print to any printer installed on the system, or to an external command such as lpr, or to print a PostScript or PDF file. debian/copyright0000644000000000000000000000213611336000560011115 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Gavin Brown Source: http://search.cpan.org/dist/Gtk2-Ex-PrintDialog/ Name: Gtk2-Ex-PrintDialog Copyright: © 2005, Gavin Brown License: Artistic or GPL-1+ Files: debian/* Copyright: © 2007-2008, Jeffrey Ratcliffe © 2010, Ansgar Burchardt License: Artistic or GPL-1+ 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' debian/watch0000644000000000000000000000020311212456176010217 0ustar version=3 http://search.cpan.org/dist/Gtk2-Ex-PrintDialog/ .*/Gtk2-Ex-PrintDialog-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/patches/0000755000000000000000000000000011336077344010625 5ustar debian/patches/01_fix_dialog_combobox.patch0000644000000000000000000000112511336000560016124 0ustar From: Jeffrey Ratcliffe Subject: Bug printing to CUPS printers Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=31142 --- a/lib/Gtk2/Ex/PrintDialog.pm +++ b/lib/Gtk2/Ex/PrintDialog.pm @@ -69,9 +69,11 @@ sub INIT_INSTANCE { $self->{opt_print_command}->set_active(1); } else { - map { $self->{opt_printer_combo}->append_text($_) } @printers; + my @names; + use Net::CUPS::Destination; + for (@printers) {push @names, $_->getName} + map { $self->{opt_printer_combo}->append_text($_) } @names; $self->{opt_printer_combo}->set_active(0); - } debian/patches/series0000644000000000000000000000003510727077176012046 0ustar 01_fix_dialog_combobox.patch debian/compat0000644000000000000000000000000211336000560010356 0ustar 7 debian/changelog0000644000000000000000000000305311336077160011045 0ustar libgtk2-ex-printdialog-perl (0.03-3) unstable; urgency=low [ Damyan Ivanov ] * debian/control: Changed: Maintainer set to Debian Perl Group (was: Jeffrey Ratcliffe ); Jeffrey Ratcliffe moved to Uploaders. * debian/watch: use dist-based URL. [ gregor herrmann ] * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * Use source format 3.0 (quilt). * Refresh debian/rules for debhelper 7. * debian/control: Use module name instead of package name in description. * debian/control: Remove XS-DM-Upload-Allowed: yes. * Bump Standards-Version to 3.8.4. * Add myself to Uploaders. [ gregor herrmann ] * Remove version from (build) dependency. -- Ansgar Burchardt Sun, 14 Feb 2010 17:36:58 +0900 libgtk2-ex-printdialog-perl (0.03-2) unstable; urgency=low * + liblocale-gettext-perl build dependency Closes: #452369 (FTBFS: missing build-dependency on liblocale-gettext-perl) * + DM-Upload-Allowed: yes -- Jeffrey Ratcliffe Wed, 27 Feb 2008 20:08:15 +0100 libgtk2-ex-printdialog-perl (0.03-1) unstable; urgency=low * Initial Release. (Closes: #452369) * Patch to ensure Net::CUPS::Destination is correctly called, and that the printer names are passed to the ComboBox. -- Jeffrey Ratcliffe Sun, 18 Nov 2007 18:38:04 +0100 debian/source/0000755000000000000000000000000011336077344010476 5ustar debian/source/format0000644000000000000000000000001411336077427011706 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003511336000560010236 0ustar #!/usr/bin/make -f %: dh $@