Jeremy, thank you for the debdiff.

I tried to apply it, but it does not build.

First, I have downloaded the current version on Zesty and applied the
debdiff to it. This worked perfectly, but when trying to build, the
patches in debian/patches/series do not apply.

What did I do wrong?

Here is the console output:

till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ apt-get source 
system-config-printerter
Reading package lists... Done
E: Unable to find a source package for system-config-printerter
till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ apt-get source 
system-config-printer
Reading package lists... Done
Need to get 2,021 kB of source archives.
Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 
1.5.7+20160812-0ubuntu1 (dsc) [1,747 B]
Get:2 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 
1.5.7+20160812-0ubuntu1 (tar) [1,953 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety/main system-config-printer 
1.5.7+20160812-0ubuntu1 (diff) [66.2 kB]
Fetched 2,021 kB in 1s (1,446 kB/s)              
gpgv: Signature made Fri 12 Aug 2016 02:02:29 PM BRT
gpgv:                using DSA key 
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on 
./system-config-printer_1.5.7+20160812-0ubuntu1.dsc
dpkg-source: info: extracting system-config-printer in 
system-config-printer-1.5.7+20160812
dpkg-source: info: unpacking system-config-printer_1.5.7+20160812.orig.tar.gz
dpkg-source: info: applying 
system-config-printer_1.5.7+20160812-0ubuntu1.diff.gz
till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ wget 
https://launchpadlibrarian.net/294725065/diff-from-current-ubuntu.debdiff
--2016-11-24 17:00:44--  
https://launchpadlibrarian.net/294725065/diff-from-current-ubuntu.debdiff
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 
91.189.89.228
Connecting to launchpadlibrarian.net 
(launchpadlibrarian.net)|91.189.89.229|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 262114 (256K) [text/plain]
Saving to: ‘diff-from-current-ubuntu.debdiff’

diff-from-current-u 100%[===================>] 255.97K   155KB/s    in
1.6s

2016-11-24 17:00:47 (155 KB/s) - ‘diff-from-current-ubuntu.debdiff’
saved [262114/262114]

till@till-x1carbon:~/ubuntu/system-config-printer/zesty$ cd 
system-config-printer-1.5.7+20160812/
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$
 patch -p0 < ../diff-from-current-ubuntu.debdiff 
patching file debian/README.Debian
patching file debian/changelog
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 3820 (offset -7 lines).
1 out of 2 hunks FAILED -- saving rejects to file debian/changelog.rej
patching file debian/compat
patching file debian/control
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file debian/control.rej
patching file debian/control.in
patching file debian/copyright
patching file debian/patches/0006-use-paper-size-default-in-etc-papersize.patch
patching file debian/patches/0007-fix-pk-package-name.patch
patching file debian/patches/0008-fix-device-sorting.patch
patching file debian/patches/0009-fix-udev-add-printer-shbang.patch
patching file debian/patches/03_install_layout.patch
patching file debian/patches/05_menu_entries.patch
patching file 
debian/patches/23_applet-also-do-not-autostart-on-unity-and-gnome.patch
patching file debian/patches/40_do-not-show-media-col-option.patch
patching file debian/patches/series
patching file debian/python3-cupshelpers.install
patching file debian/pyversions
patching file debian/rules
patching file debian/source/format
patching file debian/system-config-printer-common.install
patching file debian/system-config-printer-common.maintscript
patching file debian/system-config-printer-gnome.install
patching file debian/system-config-printer-gnome.manpages
patching file debian/system-config-printer-gnome.preinst
patching file debian/system-config-printer-udev.install
patching file debian/system-config-printer.install
patching file debian/upstream/signing-key.asc
patching file debian/watch
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$
 quilt push
Applying patch 03_install_layout.patch
patching file Makefile.am
Hunk #1 succeeded at 63 (offset 5 lines).
patching file Makefile.in
Hunk #1 succeeded at 1963 (offset 1 line).

Now at patch 03_install_layout.patch
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$
 quilt push
Applying patch 0006-use-paper-size-default-in-etc-papersize.patch
patching file cupshelpers/cupshelpers.py

Now at patch 0006-use-paper-size-default-in-etc-papersize.patch
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$
 quilt push
Applying patch 0007-fix-pk-package-name.patch
patching file newprinter.py
Hunk #1 FAILED at 1068.
1 out of 1 hunk FAILED -- rejects in file newprinter.py
Patch 0007-fix-pk-package-name.patch does not apply (enforce with -f)
till@till-x1carbon:~/ubuntu/system-config-printer/zesty/system-config-printer-1.5.7+20160812$

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1643129

Title:
  Drop system-config-printer-gnome package

Status in Ubuntu GNOME:
  Triaged
Status in system-config-printer package in Ubuntu:
  New

Bug description:
  I don't think the system-config-printer-gnome split makes sense any
  more and it would be nice to get this package closer in sync with
  Debian. In other words, let's drop system-config-printer-gnome and
  move most of its contents back to system-config-printer but a few
  files will end up in system-config-printer-common.

  The last explicit merge was almost a decade ago:
  https://launchpad.net/ubuntu/+source/system-config-printer/0.7.70-1ubuntu1 )

  The split was done in 2008 for KDE's benefit:
  
https://launchpad.net/ubuntu/+source/system-config-printer/0.7.78+svn1799-0ubuntu2

  - system-config-printer-kde no longer exists (it appears to have been
  part of the kdeadmin source package which was removed a few years ago)

  - Kubuntu only ships system-config-printer-udev so they aren't affected now
  
http://cdimage.ubuntu.com/cdimage/kubuntu/daily-live/current/zesty-desktop-amd64.manifest

  - Ubuntu GNOME does not need the files shipped in system-config-
  printer since GNOME has its own integrated Printers Settings panel.

  https://packages.debian.org/sid/all/system-config-printer/filelist

  In Ubuntu 16.10 I attempted to follow Debian's gnome-control-center
  packaging and depend on system-config-printer-common only, but it
  broke the Printers panel since Ubuntu's packaging moved the dbus
  service to the system-config-printer-gnome package (See bug 1496860 &
  bug 1623150 & bug 1637466 ).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1643129/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to