lp:ubuntu/hardy/cups-pdf

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/hardy/cups-pdf
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

17. By Jonathan Riddell

Suggest both frontends system-config-printer-gnome |
system-config-printer-kde

16. By Till Kamppeter

* Merge from debian unstable, remaining changes:
  - debian/control: "Depends: ghostscript | gs-esp | gs-gpl, libpaper-utils,
    cupsys, cupsys-client", "Suggests: system-config-printer"
  - debian/patches/01_mkdir_as_user.patch: Postpone creation of per-user
    output directory until we setuid()'ed to the user. This both avoids
    nasty mistakes, and also avoids using CAP_DAC_OVERRIDE, so that we
    can tighten cups' apparmor profile.
  - debian/patches/10_auto_assign_ppd.patch: Make the PPD automatically
    assigned to the PDF printer by CUPS/printer setup tools
  - debian/patches/50_default_conf.patch, extra/cups-pdf.conf: Move the
    default configuration changes into a patch 50_default_conf.patch, so
    that the diff.gz is now free of upstream diffs.
  - debian/rules: Enabled the package for applying patches by adding
    "include /usr/share/cdbs/1/rules/simple-patchsys.mk"
  - debian/postinst, debian/prerm: Let PDF print queue being created
    automatically when installing the package and being removed
    automatically when uninstalling the package.
* debian/postinst, debian/postrm: Restart of CUPS daemon not needed,
  restarting only causes CUPS daemon not listening immediately after
  restart and so the PDF queue not being created. So removed any
  restart of the CUPS daemon from the maintainer script. We only start
  the CUPS daemon if it is not actually running, because we need it
  for having a PDF printer (LP: #152293).
* debian/postinst: Create CUPS queue by modifying config files in the
  case that the CUPS daemon could not be started or if CUPS is not
  installed.

15. By Till Kamppeter

debian/postinst: Before creating a CUPS queue wait 3 seconds to be sure
that the CUPS daemon is listening (LP: #152293).

14. By Till Kamppeter

* debian/patches/50_default_conf.patch: Withdrawn the chnage of the PDF
  destination to ~/Desktop, returned to ~/PDF, also do not let cups-pdf
  label documents with job numbers by default (see LP bugs 134682 and
  134671).
* debian/control: Removed the versioned require on cupsys, as we have
  withdrawn the change of the PDF destination.

13. By Till Kamppeter

* debian/patches/50_default_conf.patch: Use ~/Desktop as default destination
  for the PDF files so that users find them more easily (LP: #134682,
  LP: #134671)
* debian/prerm, debian/postinst: Make any failure of CUPS command line tools
  non-fatal, to not affect the setup of cups-pdf if CUPS crashes immediately
  after being restarted by the cups-pdf setup (LP: #136449, LP: #147974).
* debian/control: Require cupsys 1.3.2-1ubuntu2 or newer, to have
  AppArmor restrictions allowing to write into ~/Desktop.

12. By Martin Pitt

debian/control: Add explicit cupsys-client dependency, since the postinst
needs 'lpadmin' and cupsys itself only recommends -client.
(LP: #134453)

11. By Martin Pitt

debian/postinst: Fix invocation of "lpstat -r" (remove backticks). This
makes the automatic setup of the PDF queue actually work again.

10. By Kees Cook

debian/postinst: force PDF queues on localhost only; systems configured
for remote CUPS servers are not expecting it.

9. By Till Kamppeter

debian/postinst, debian/prerm: Check, create, or remove PDF queues only
if the CUPS daemon is running, otherwise go on silently (LP: #133743).

8. By Till Kamppeter

debian/postinst: Only set up the PDF queue, do not make it the default.
Otherwise the PDF queue would stay the default when the first real printer
is detected after installation and as the installation of the packages
happens before the detection of the printers all systems will have the PDF
queue as default.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/karmic/cups-pdf
This branch contains Public information 
Everyone can see this information.

Subscribers