Commit Graph

29 Commits

Author SHA1 Message Date
Martin Pitt 5d3dd6a809 Do not mess with the permissions of cupsd.conf.
Patch-Name: confdirperms.patch

Gbp-Pq: Name 0027-Do-not-mess-with-the-permissions-of-cupsd.conf.patch
2022-05-13 20:08:42 +08:00
Didier Raboud c0a25e6ebf Deactivate CUPS' own log rotating as the system already provides a more sophisticated log rotating
Patch-Name: default_log_settings.patch

Gbp-Pq: Name 0026-Deactivate-CUPS-own-log-rotating-as-the-system-alrea.patch
2022-05-13 20:08:42 +08:00
Martin Pitt 4e347e8f31 Make log files readable to group "adm", if present.
Bug-Ubuntu: https://launchpad.net/bugs/345953
Patch-Name: logfiles_adm_readable.patch

Gbp-Pq: Name 0025-Make-log-files-readable-to-group-adm-if-present.patch
2022-05-13 20:08:42 +08:00
Till Kampetter dca4965086 CUPS removes the "(recommended)" comments of the NickNames of Foomatic PPDs when listing available PPDs. This patch removes this removal action.
Patch-Name: reactivate_recommended_driver.patch

Gbp-Pq: Name 0024-CUPS-removes-the-recommended-comments-of-the-NickNam.patch
2022-05-13 20:08:42 +08:00
Till Kampetter 472a97d25d Do not use host names for broadcasting print queues and
managing print queues broadcasted from other servers by default. Many
 networks do not have valid host names for all machines.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/449586
Patch-Name: do-not-broadcast-with-hostnames.patch

Gbp-Pq: Name 0023-Do-not-use-host-names-for-broadcasting-print-queues-.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 71b6027aa8 Rename the systemd service file from org.cups.cups.* to cups.*
Patch-Name: rename-systemd-units.patch

Gbp-Pq: Name 0022-Rename-the-systemd-service-file-from-org.cups.cups.-.patch
2022-05-13 20:08:42 +08:00
Kenshi Muto cd5af0c535 Do not write VCS tags into installed conffiles
Bug: https://github.com/apple/cups/issues/2369
Origin: vendor
Author: Didier Raboud <odyx@debian.org>
Patch-Name: removecvstag.patch

Gbp-Pq: Name 0021-Do-not-write-VCS-tags-into-installed-conffiles.patch
2022-05-13 20:08:42 +08:00
Joey Hess 77312d07fc Disable time stamps in conffiles, to avoid ever-changing files in /etc.
Bug: https://github.com/apple/cups/issues/3067
Bug-Debian: https://bugs.debian.org/549673
Patch-Name: no-conffile-timestamp.patch

Gbp-Pq: Name 0020-Disable-time-stamps-in-conffiles-to-avoid-ever-chang.patch
2022-05-13 20:08:42 +08:00
Tim Waugh 53ccc9c8e8 Let snmp backend also use manufacturer-specific MIBs
… of HP and Ricoh to obtain the device IDs of network-connected
 printers. This way we get more reliable information about make and model
 and in addition the supported page description languages, which allows one to
 identify whether an optional PostScript add-on is installed or for an
 unsupported printer which generic PPD is the best choice (requested by
 Ricoh).
Bug: https://github.com/apple/cups/issues/3552
Patch-Name: Let-snmp-backend-also-use-manufacturer-specific-MIBs.patch

Gbp-Pq: Name 0019-Let-snmp-backend-also-use-manufacturer-specific-MIBs.patch
2022-05-13 20:08:42 +08:00
Till Kamppeter b697d4aac6 Patch to support Apple AirPrint (printing from iPhone, iPad, iPod Touch to a CUPS server)
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495
Bug-Debian: https://bugs.debian.org/700961
Bug: https://github.com/apple/cups/issues/4341
Patch-Name: airprint-support.patch

Gbp-Pq: Name 0018-Patch-to-support-Apple-AirPrint-printing-from-iPhone.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 843db89d68 Move cupsd.conf.default from SERVERROOT to DATADIR
Origin: vendor
Bug: https://github.com/apple/cups/issues/4342
Bug-Debian: https://bugs.debian.org/640124
Patch-Name: move-cupsd-conf-default-to-share.patch

Gbp-Pq: Name 0017-Move-cupsd.conf.default-from-SERVERROOT-to-DATADIR.patch
2022-05-13 20:08:42 +08:00
Michael Sweet b90f4adbbb Tests: Do not test pdftourf
Revert commit 830cfed95a5349b008999eebd34f5233bc35829c

 "Update "make test" to include alternate filter."
 .
 This fixes the error lines counting in the test, and is unneeded as pdftourf
 is not shipped in Debian.
Origin: upstream
Patch-Name: tests-no-pdftourf.patch

Gbp-Pq: Name 0016-Tests-Do-not-test-pdftourf.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 4c5ef314ba Tests: Force LC_ALL=C environment variable when grepping the output of lpstat
Permits testing in non-"C" environments.
Origin: vendor
Patch-Name: tests-make-lpstat-call-reproducible.patch

Gbp-Pq: Name 0015-Tests-Force-LC_ALL-C-environment-variable-when-grepp.patch
2022-05-13 20:08:42 +08:00
Didier Raboud a6f316bc45 Tests: Use 127.0.0.1 instead of localhost to help pbuilder
This should make the test-suite work in pbuilder. It apparently also fixes an
ipp backend problem in the test-suite.

Origin: vendor
Patch-Name: tests-use-ipv4-lo-address.patch

Gbp-Pq: Name 0014-Tests-Use-127.0.0.1-instead-of-localhost-to-help-pbu.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 03be3daee9 Tests: Force LC_* environment variables when testing (non) l10n'isation.
Permits building in non-"C" environments.
Origin: vendor
Patch-Name: tests-fix-ppdLocalize-on-unclean-env.patch

Gbp-Pq: Name 0013-Tests-Force-LC_-environment-variables-when-testing-n.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 501f1428b8 Tests: Make sure that all scheduled jobs are finished before
running a new test. Fixes failures on slow architectures like armel and
 mipsel.
Bug-Debian: https://bugs.debian.org/670878
Patch-Name: tests-wait-on-unfinished-jobs-everytime.patch

Gbp-Pq: Name 0012-Tests-Make-sure-that-all-scheduled-jobs-are-finished.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 93e2054166 Tests: Do not run the CUPS_EUC_JP test case on BSD/Hurd either, as glibc's iconv behavior is different than what the test expects.
Bug-Debian: https://bugs.debian.org/662996
Patch-Name: test-i18n-nonlinux.patch

Gbp-Pq: Name 0011-Tests-Do-not-run-the-CUPS_EUC_JP-test-case-on-BSD-Hu.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 332aaca050 Tests: ignore 'job held' message
Origin: vendor

Gbp-Pq: Name 0010-Tests-ignore-job-held-message.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 78365163b2 Tests: ignore the failure to write uncompressed data
Ignore the 'Unable to write uncompressed print data: Broken pipe'  error that
sometimes breaks the errorlines counting on kfreebsd for some reason.
Origin: vendor
Patch-Name: tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch

Gbp-Pq: Name 0009-Tests-ignore-the-failure-to-write-uncompressed-data.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 94932f3085 Tests: ignore errors triggered on ipv6-deprived hosts
Ignore the 'Address family not supported by protocol' error that breaks the
errorlines counting on buildds without a working IPv6 stack.
Origin: vendor
Patch-Name: tests-ignore-ipv6-address-family-not-supported.patch

Gbp-Pq: Name 0008-Tests-ignore-errors-triggered-on-ipv6-deprived-hosts.patch
2022-05-13 20:08:42 +08:00
Didier Raboud cad6b49833 Tests: ignore loadFile failures
Ignore the 'loadFile failed: temp file: not a PDF file' error that sometimes
breaks the errorlines counting on kfreebsd-amd64 for some reason
Origin: vendor
Patch-Name: tests-ignore-kfreebsd-amd64-not-a-pdf.patch

Gbp-Pq: Name 0007-Tests-ignore-loadFile-failures.patch
2022-05-13 20:08:42 +08:00
Didier Raboud 477eb1992e Tests: ignore usb & dnssd backend unexpected exits
Ignore the following errors:
 "[cups-deviced] PID * (usb) crashed on signal 11!" and
 "[cups-deviced] PID * (dnssd) stopped with status 1"

 They seem to regularly happen on Debian/Ubuntu buildds and break error lines
 counting.
Patch-Name: tests-ignore-usb-crash.patch

Gbp-Pq: Name 0006-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch
2022-05-13 20:08:42 +08:00
Martin Pitt ca17faca57 Tests: Ignore warnings from colord and Avahi
These warnings change the expected number of warnings

Patch-Name: tests-ignore-warnings.patch

Gbp-Pq: Name 0005-Tests-Ignore-warnings-from-colord-and-Avahi.patch
2022-05-13 20:08:42 +08:00
Till Kamppeter 2a411b8d55 Fix conversion of PPD InputSlot choice names
When I create a CUPS queue with a PPD file with choice names "Tray-1", "Tray-2",
... in the InputSlot option CUPS translates these names to double-dashed IPP
attribute names: "tray--1", "tray--2", ... in the "media-source" attribute, both
when passing a job to the printer with the IPP backend, making the printer
ignore the tray choice, and also when answering a get-printer-attributes IPP
request from a client. This happens when in the PPD a dash is followed by a
digit, as the pwg_unppdize_name() function in cups/ppd-cache.c inserts a dash
whenever a non-digit is followed by a digit in the PPD name. As IPP attribute
names generally never have double-dashes and also no dashes in the beginning or
the end of the name, I have modified the pwg_unppdize_name() function
appropriately.

Bug: https://github.com/apple/cups/issues/5740
Bug-Debian: https://bugs.debian.org/949315

Gbp-Pq: Name 0004-Fix-conversion-of-PPD-InputSlot-choice-names.patch
2022-05-13 20:08:42 +08:00
Tim Waugh c538677bf8 Fix jobs with multiple files or multiple formats
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=972242
Bug: https://github.com/apple/cups/issues/4348
Patch-Name: fixes-for-jobs-with-multiple-files-and-multiple-formats.patch

Gbp-Pq: Name 0003-Fix-jobs-with-multiple-files-or-multiple-formats.patch
2022-05-13 20:08:42 +08:00
Martin Pitt 8dcd36bdbe Install root backends world-readable
This is needed:
 - to comply with Debian Policy
 - because it is both nonsensical to not do so
 - it also breaks system checkers, bug reporting, etc

Bug: https://github.com/apple/cups/issues/2935
Bug-Debian: https://bugs.debian.org/410171
Patch-Name install-root-backends-world-readable.patch

Gbp-Pq: Name 0002-Install-root-backends-world-readable.patch
2022-05-13 20:08:42 +08:00
Didier Raboud a537e97818 Fix hyphen-used-as-minus-sign manpage errors
Automatically generated using sed -i -s 's/^-/\\-/g;s/ -/ \\-/g;s/"-/"\\-/g' man/*.man*
Also fix a missing backslash escape

Origin: vendor
Bug-Upstream: https://github.com/apple/cups/issues/4299
Patch-Name: manpage-hyphen-minus.patch

Gbp-Pq: Name 0001-Fix-hyphen-used-as-minus-sign-manpage-errors.patch
2022-05-13 20:08:42 +08:00
openKylinBot e0ff084662 Import Debian changes 2.3.1-ok1
cups (2.3.1-ok1) yangtze; urgency=medium

  * Build for openKylin.
2022-05-13 20:08:21 +08:00
openKylinBot 9c7a73bc57 Import Upstream version 2.3.1 2022-05-13 20:08:20 +08:00