Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: pnm2ppa

pnm2ppa (1.13+nondbs-0ubuntu7) groovy; urgency=low * Add Fedora patch for GCC-10 FTBFS (Closes: #957695) o Declare syslog_message correctly for GCC-10 FTBFS (Zdenek Dohnal) -- Till Kamppeter <till.kamppeter@gmail.com> Tue, 29 Sep 2020 12:47:05 +0200 pnm2ppa (1.13+nondbs-0ubuntu6) yakkety; urgency=low * Merged all changes from the Debian package 1.13-7: o Add patch to remove CPP timestamps usage, for reproducibility o Bump Standards-Version to 3.9.7 without changes needed -- Till Kamppeter <till.kamppeter@gmail.com> Fri, 12 Aug 2016 11:34:05 -0300 pnm2ppa (1.13+nondbs-0ubuntu5) utopic; urgency=low * Merged all changes from the Debian package 1.13-6: o Move the repository from collab-maint to printing; update the VCS-* fields accordingly o Add patch to build the make_hash_ink buildtool natively, with the correct buildflags; use dh-autoreconf to cope with the change o Use the correct syntax to append to CFLAGS o Bump debhelper B-D to 9 to align with compat -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 6 Feb 2014 21:24:05 +0200 pnm2ppa (1.13+nondbs-0ubuntu4) trusty; urgency=low * Merged all changes from the Debian package 1.13-5: o Drop pnm2ppa transitional package which reached stable o Bump Standards-Version to 3.9.5 without changes needed o Drop empty directories in /usr/share/doc/ (Closes: #686555) -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 19 Feb 2014 15:02:05 +0100 pnm2ppa (1.13+nondbs-0ubuntu3) saucy; urgency=low * Use the autotools-dev dh addon to update config.guess/config.sub for arm64. -- Colin Watson <cjwatson@ubuntu.com> Thu, 10 Oct 2013 13:53:51 +0100 pnm2ppa (1.13+nondbs-0ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson <cjwatson@ubuntu.com> Mon, 08 Oct 2012 16:48:29 +0100 pnm2ppa (1.13+nondbs-0ubuntu1) precise; urgency=low * Pseudo-sync with Debian: This package is noow absolutely identical with Debian's 1.13-4 except the upstream version number. The upstream version number got the "+nondbs" to replace the DBS tarball-in-tarball upstream source tarball by the straight tarball of Debian, to get rid of the DBS packaging and make future merges, syncs and upstream updates easier. We cannot wait for a new upstream version here, as upstream updates happen rarely, perhaps there will even never be a new upstream version especially because the class of printers supported by pnm2ppa was discontinued years ago. -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 15 Feb 2012 19:11:05 +0100

Modifications :
  1. Download patch debian/patches/00_use_env_buildflags.patch

    --- 1.13-10/debian/patches/00_use_env_buildflags.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/00_use_env_buildflags.patch 2014-08-06 17:41:47.000000000 +0000 @@ -0,0 +1,13 @@ +Description: Build make_hash_ink natively, hence use the buildflags +Author: Didier Raboud <odyx@debian.org> +Last-Update: 2014-03-06 +--- a/Makefile.am ++++ b/Makefile.am +@@ -128,5 +128,5 @@ + LDFLAGS_FOR_BUILD = + LDLIBS_FOR_BUILD = + +-make_hash_ink: make_hash_ink.c +- $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $< $(LDLIBS_FOR_BUILD) ++noinst_PROGRAMS = make_hash_ink ++make_hash_ink_SOURCES = make_hash_ink.c
  2. Download patch debian/rules

    --- 1.13-10/debian/rules 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/rules 2014-08-06 17:41:47.000000000 +0000 @@ -5,7 +5,7 @@ derives_from_ubuntu := $(shell (dpkg-ven export DEB_CFLAGS_MAINT_APPEND += -DLANG_ENG -Wall %: - dh $@ --builddirectory=build/ + dh $@ --parallel --builddirectory=build/ --with autotools_dev,autoreconf override_dh_auto_install: dh_auto_install --builddirectory=build/ --destdir=debian/printer-driver-pnm2ppa/ @@ -21,7 +21,7 @@ ifeq ($(derives_from_ubuntu),yes) install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/printer-driver-pnm2ppa/usr/share/apport/package-hooks/source_pnm2ppa.py endif -override_dh_installdocs: +override_dh_installdocs: dh_installdocs # Remove useless or redundant files cd debian/printer-driver-pnm2ppa/usr/share/doc/printer-driver-pnm2ppa/;\
  3. Download patch debian/compat

    --- 1.13-10/debian/compat 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/compat 2012-02-01 17:55:11.000000000 +0000 @@ -1 +1 @@ -10 +9
  4. Download patch debian/source.lintian-overrides

    --- 1.13-10/debian/source.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/source.lintian-overrides 2012-02-01 17:55:11.000000000 +0000 @@ -0,0 +1,2 @@ +# This is needed for "auto-buildflags" +package-needs-versioned-debhelper-build-depends 9
  5. Download patch debian/control

    --- 1.13-10/debian/control 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/control 2016-08-12 14:30:14.000000000 +0000 @@ -1,13 +1,14 @@ Source: pnm2ppa Section: text Priority: optional -Maintainer: Debian Printing Team <debian-printing@lists.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Printing Team <debian-printing@lists.debian.org> Uploaders: Didier Raboud <odyx@debian.org> -Build-Depends: debhelper (>= 10~), autotools-dev +Build-Depends: debhelper (>= 9~), autotools-dev, dh-autoreconf Homepage: http://pnm2ppa.sf.net/ -Vcs-Browser: https://salsa.debian.org/printing-team/pnm2ppa -Vcs-Git: https://salsa.debian.org/printing-team/pnm2ppa.git -Standards-Version: 4.1.3 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=printing/pnm2ppa.git +Vcs-Git: https://alioth.debian.org/anonscm/git/printing/pnm2ppa.git +Standards-Version: 3.9.7 Package: printer-driver-pnm2ppa Architecture: any
  6. Download patch debian/patches/10_177295-fix_signedness.patch

    --- 1.13-10/debian/patches/10_177295-fix_signedness.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/10_177295-fix_signedness.patch 2011-05-26 14:32:56.000000000 +0000 @@ -0,0 +1,15 @@ +Description: Fix signedness of "c" +Bugs-Debian: 177295 +Author: Chad Walstrom <chewie@debian.org> +Last-Update: 2003-10-26 +--- a/calibrate_ppa.c ++++ b/calibrate_ppa.c +@@ -81,7 +81,7 @@ + FILE *outFile = NULL ; + int testPattern = 0; + char *out_filepath = NULL; +- char c; ++ int c; + static struct option long_opts[] = { + {"gamma",0,0,'g'}, + {"align",0,0,0},
  7. Download patch debian/patches/99-pnm2ppa_manpage.patch
  8. Download patch debian/patches/0002-Make-sure-examples-have-shebangs.patch

    --- 1.13-10/debian/patches/0002-Make-sure-examples-have-shebangs.patch 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/0002-Make-sure-examples-have-shebangs.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ -From: Chad Walstrom <chewie@debian.org> -Date: Sat, 10 Feb 2018 16:45:12 +0100 -Subject: Make sure examples have shebangs - -Last-Update: 2004-11-12 ---- - sample_scripts/lprbw | 1 + - sample_scripts/lprcolor | 1 + - sample_scripts/lpreco | 1 + - 3 files changed, 3 insertions(+) - -diff --git a/sample_scripts/lprbw b/sample_scripts/lprbw -index 17d281a..2311dd2 100755 ---- a/sample_scripts/lprbw -+++ b/sample_scripts/lprbw -@@ -1,3 +1,4 @@ -+#!/bin/sh - cat $1 | \ - gs -sDEVICE=pbmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ - pnm2ppa --bw --eco $2 $3 $4 $5 -i - -o /dev/lp0 -diff --git a/sample_scripts/lprcolor b/sample_scripts/lprcolor -index b745b5b..9ee223f 100755 ---- a/sample_scripts/lprcolor -+++ b/sample_scripts/lprcolor -@@ -1,3 +1,4 @@ -+#!/bin/sh - cat $1 | \ - gs -sDEVICE=ppmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ - pnm2ppa $2 $3 $4 $5 -i - -o /dev/lp0 -diff --git a/sample_scripts/lpreco b/sample_scripts/lpreco -index 450cbe3..7e0674e 100755 ---- a/sample_scripts/lpreco -+++ b/sample_scripts/lpreco -@@ -1,3 +1,4 @@ -+#!/bin/sh - cat $1 | \ - gs -sDEVICE=ppmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ - pnm2ppa --eco $2 $3 $4 $5 -i - -o /dev/lp0
  9. Download patch debian/patches/0004-Drop-usage-of-__DATE__-and-__TIME__-hindering-build.patch

    --- 1.13-10/debian/patches/0004-Drop-usage-of-__DATE__-and-__TIME__-hindering-build.patch 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/0004-Drop-usage-of-__DATE__-and-__TIME__-hindering-build.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -From: Didier Raboud <odyx@debian.org> -Date: Sat, 10 Feb 2018 16:45:14 +0100 -Subject: Drop usage of __DATE__ and __TIME__, hindering build - - reproducibility. -Last-Update: 2016-02-26 ---- - pnm2ppa.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pnm2ppa.c b/pnm2ppa.c -index 1790927..9fd88ec 100644 ---- a/pnm2ppa.c -+++ b/pnm2ppa.c -@@ -732,9 +732,9 @@ main (int argc, char *argv[]) - - case 2: - /* --version (output to stderr, not syslog) */ -- fprintf(stderr,"%s %s %s %s %s\n", -+ fprintf(stderr,"%s %s %s\n", - *argv, gMessages[LOG_VERSION], -- VERSION, __DATE__, __TIME__); -+ VERSION); - exit (0); - break; -
  10. Download patch debian/patches/series

    --- 1.13-10/debian/patches/series 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/series 2020-09-29 10:46:13.000000000 +0000 @@ -1,5 +1,6 @@ -0001-Fix-signedness-of-c.patch -0002-Make-sure-examples-have-shebangs.patch -0003-Fix-various-errors-in-the-pnm2ppa-manpage.patch -0004-Drop-usage-of-__DATE__-and-__TIME__-hindering-build.patch +00_use_env_buildflags.patch +10_177295-fix_signedness.patch +99-examples_shbangs.patch +99-pnm2ppa_manpage.patch +99-remove-cpp-timestamps.patch 0005-Declare-syslog_message-correctly-for-GCC-10-FTBFS.patch
  11. Download patch debian/.git-dpm

    --- 1.13-10/debian/.git-dpm 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/.git-dpm 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -# see git-dpm(1) from git-dpm package -9252ab22fd5f15d1550f85dd735ae31121e9f413 -9252ab22fd5f15d1550f85dd735ae31121e9f413 -cc8c38baf2f50d2cde426ba1c2dc61fbdad6bd79 -cc8c38baf2f50d2cde426ba1c2dc61fbdad6bd79 -pnm2ppa_1.13.orig.tar.gz -3de33786e9d3f35a73d7e4acb5281f30654cef7c -291190
  12. Download patch debian/patches/0001-Fix-signedness-of-c.patch

    --- 1.13-10/debian/patches/0001-Fix-signedness-of-c.patch 2020-07-24 08:49:39.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/0001-Fix-signedness-of-c.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -From: Chad Walstrom <chewie@debian.org> -Date: Sat, 10 Feb 2018 16:45:11 +0100 -Subject: Fix signedness of "c" - -Bugs-Debian: 177295 -Last-Update: 2003-10-26 ---- - calibrate_ppa.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/calibrate_ppa.c b/calibrate_ppa.c -index d2eddb7..59f6231 100644 ---- a/calibrate_ppa.c -+++ b/calibrate_ppa.c -@@ -81,7 +81,7 @@ main (int argc, char *argv[]) - FILE *outFile = NULL ; - int testPattern = 0; - char *out_filepath = NULL; -- char c; -+ int c; - static struct option long_opts[] = { - {"gamma",0,0,'g'}, - {"align",0,0,0},
  13. Download patch debian/patches/99-examples_shbangs.patch

    --- 1.13-10/debian/patches/99-examples_shbangs.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/99-examples_shbangs.patch 2011-05-26 14:32:56.000000000 +0000 @@ -0,0 +1,27 @@ +Description: Make sure examples have shebangs +Author: Chad Walstrom <chewie@debian.org> +Last-Update: 2004-11-12 +diff -ruN pnm2ppa-1.12-old/sample_scripts/lprbw pnm2ppa-1.11/sample_scripts/lprbw +--- pnm2ppa-1.12-old/sample_scripts/lprbw 2002-10-02 20:32:36.000000000 -0500 ++++ pnm2ppa-1.12/sample_scripts/lprbw 2002-11-13 15:21:21.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/sh + cat $1 | \ + gs -sDEVICE=pbmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ + pnm2ppa --bw --eco $2 $3 $4 $5 -i - -o /dev/lp0 +diff -ruN pnm2ppa-1.12-old/sample_scripts/lprcolor pnm2ppa-1.11/sample_scripts/lprcolor +--- pnm2ppa-1.12-old/sample_scripts/lprcolor 2002-10-02 20:32:36.000000000 -0500 ++++ pnm2ppa-1.12/sample_scripts/lprcolor 2002-11-13 15:21:25.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/sh + cat $1 | \ + gs -sDEVICE=ppmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ + pnm2ppa $2 $3 $4 $5 -i - -o /dev/lp0 +diff -ruN pnm2ppa-1.12-old/sample_scripts/lpreco pnm2ppa-1.11/sample_scripts/lpreco +--- pnm2ppa-1.12-old/sample_scripts/lpreco 2002-10-02 20:32:36.000000000 -0500 ++++ pnm2ppa-1.12/sample_scripts/lpreco 2002-11-13 15:21:27.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/sh + cat $1 | \ + gs -sDEVICE=ppmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \ + pnm2ppa --eco $2 $3 $4 $5 -i - -o /dev/lp0
  14. Download patch debian/patches/99-remove-cpp-timestamps.patch

    --- 1.13-10/debian/patches/99-remove-cpp-timestamps.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.13+nondbs-0ubuntu7/debian/patches/99-remove-cpp-timestamps.patch 2016-08-12 14:31:39.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Drop usage of __DATE__ and __TIME__, hindering build + reproducibility. +Author: Didier Raboud <odyx@debian.org> +Last-Update: 2016-02-26 +--- a/pnm2ppa.c ++++ b/pnm2ppa.c +@@ -732,9 +732,9 @@ + + case 2: + /* --version (output to stderr, not syslog) */ +- fprintf(stderr,"%s %s %s %s %s\n", ++ fprintf(stderr,"%s %s %s\n", + *argv, gMessages[LOG_VERSION], +- VERSION, __DATE__, __TIME__); ++ VERSION); + exit (0); + break; +
  15. Download patch debian/patches/0003-Fix-various-errors-in-the-pnm2ppa-manpage.patch
  1. pnm2ppa