]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
4 years agoscheduler/cups.service.in: Add 'nslcd.service' back to "After=" list. 141/head
Bryan Mason [Sat, 13 Mar 2021 06:04:14 +0000 (22:04 -0800)] 
scheduler/cups.service.in: Add 'nslcd.service' back to "After=" list.

4 years agoscheduler/cups.service.in: Use nss-user-lookup.target in "After="
Bryan Mason [Sat, 13 Mar 2021 01:18:31 +0000 (17:18 -0800)] 
scheduler/cups.service.in: Use nss-user-lookup.target in "After="

Start cupsd after nss-user-lookup.target has been reached, instead of
listing every service that could provide username resolution (sssd,
ypbind, nslcd, etc.) to the "After=" line in the systemd unit file.

4 years agoAdd USB quirk for Lexmark printer (Apple #5766)
Michael R Sweet [Fri, 12 Mar 2021 19:20:58 +0000 (14:20 -0500)] 
Add USB quirk for Lexmark printer (Apple #5766)

4 years agoDon't reattach DesignJet 130 (Apple #5838)
Michael R Sweet [Fri, 12 Mar 2021 14:55:50 +0000 (09:55 -0500)] 
Don't reattach DesignJet 130 (Apple #5838)

4 years agoDon't make Dymo unidirectional (Apple #5843)
Michael R Sweet [Fri, 12 Mar 2021 14:47:03 +0000 (09:47 -0500)] 
Don't make Dymo unidirectional (Apple #5843)

4 years agoAdd USB quirk rule for Arkscan label printers (Apple #5867)
Michael R Sweet [Fri, 12 Mar 2021 12:33:45 +0000 (07:33 -0500)] 
Add USB quirk rule for Arkscan label printers (Apple #5867)

4 years agoMerge pull request #126 from OpenPrinting/apmo
Michael R Sweet [Thu, 11 Mar 2021 17:41:38 +0000 (12:41 -0500)] 
Merge pull request #126 from OpenPrinting/apmo

Add AirPrint and Mopria Compatibility

4 years agoUpdate cupsd.conf.5 man page to address feedback from Till. 126/head
Michael R Sweet [Thu, 11 Mar 2021 17:40:58 +0000 (12:40 -0500)] 
Update cupsd.conf.5 man page to address feedback from Till.

4 years agoFix typo
Michael R Sweet [Thu, 11 Mar 2021 17:04:17 +0000 (12:04 -0500)] 
Fix typo

4 years agoAddress review by Till Kamppeter:
Michael R Sweet [Thu, 11 Mar 2021 16:31:03 +0000 (11:31 -0500)] 
Address review by Till Kamppeter:

- Add mopria-certified and printer-wifi-xxx to list of Printer Description
  attributes.
- Bump the PPD cache version to reflect the additional attributes we are adding.
- Update the documentation to note that DefaultPaperSize and ReadyPaperSizes
  contain a list of PPD size names.
- Update urf-supported/URF values to include copies (CP), finishings (FN), and
  print-quality (PQ) values.

4 years agoChangelog.
Michael R Sweet [Thu, 11 Mar 2021 11:34:37 +0000 (06:34 -0500)] 
Changelog.

4 years agoUpdate pager.tmpl
jschwender [Thu, 11 Mar 2021 09:39:55 +0000 (10:39 +0100)] 
Update pager.tmpl

this adds a missing translation

4 years agoChangelog.
Michael R Sweet [Thu, 11 Mar 2021 11:34:37 +0000 (06:34 -0500)] 
Changelog.

4 years agoMerge pull request #129 from jschwender/patch-2
Michael R Sweet [Thu, 11 Mar 2021 11:29:23 +0000 (06:29 -0500)] 
Merge pull request #129 from jschwender/patch-2

Update pager.tmpl

4 years agoUpdate pager.tmpl 129/head
jschwender [Thu, 11 Mar 2021 09:39:55 +0000 (10:39 +0100)] 
Update pager.tmpl

this adds a missing translation

4 years agoFix localization of InputSlot/media-source (Issue #120)
Michael R Sweet [Thu, 11 Mar 2021 00:25:21 +0000 (19:25 -0500)] 
Fix localization of InputSlot/media-source (Issue #120)

4 years agoUpdate Xcode project file.
Michael R Sweet [Wed, 10 Mar 2021 15:05:00 +0000 (10:05 -0500)] 
Update Xcode project file.

4 years agoDo some cleanup of the pkg-config support.
Michael R Sweet [Wed, 10 Mar 2021 22:01:22 +0000 (17:01 -0500)] 
Do some cleanup of the pkg-config support.

4 years agoDeprecate cups-config (Issue #97)
Michael R Sweet [Wed, 10 Mar 2021 21:12:03 +0000 (16:12 -0500)] 
Deprecate cups-config (Issue #97)

4 years agoadding pkgconfig file
surajkulriya [Mon, 8 Mar 2021 18:34:03 +0000 (00:04 +0530)] 
adding pkgconfig file

4 years agoscheduler: Admin task check: Grant access when client is our Snap
Till Kamppeter [Wed, 10 Mar 2021 20:48:18 +0000 (21:48 +0100)] 
scheduler: Admin task check: Grant access when client is our Snap

If the client Snap is the same as our cupsd is snapped in, grant
access without calling "snapctl". This makes the checks faster and
less resource-consuming if the inquiries are from the command line
tools or the included cups-browsed.

4 years agochange web page reference to openprinting web page
jschwender [Mon, 8 Mar 2021 23:09:09 +0000 (00:09 +0100)] 
change web page reference to openprinting web page

4 years agotranslation fix
jschwender [Mon, 8 Mar 2021 22:53:36 +0000 (23:53 +0100)] 
translation fix

4 years agoadded new translations
jschwender [Mon, 8 Mar 2021 22:39:04 +0000 (23:39 +0100)] 
added new translations

4 years agoFree emulations (Issue #124)
Michael R Sweet [Wed, 10 Mar 2021 20:30:54 +0000 (15:30 -0500)] 
Free emulations (Issue #124)

4 years agoInstall the USB backend to run as root.
Michael R Sweet [Wed, 10 Mar 2021 20:19:08 +0000 (15:19 -0500)] 
Install the USB backend to run as root.

4 years agoThe CUPS Snap uses "cups--control" and not "admin" any more as admin slot
Till Kamppeter [Tue, 9 Mar 2021 13:36:01 +0000 (14:36 +0100)] 
The CUPS Snap uses "cups--control" and not "admin" any more as admin slot

Renamed the default for "--with-cups-control-slot" from "admin" to
"cups-control".

4 years agoDo some cleanup of the pkg-config support.
Michael R Sweet [Wed, 10 Mar 2021 22:01:22 +0000 (17:01 -0500)] 
Do some cleanup of the pkg-config support.

4 years agoDeprecate cups-config (Issue #97)
Michael R Sweet [Wed, 10 Mar 2021 21:12:03 +0000 (16:12 -0500)] 
Deprecate cups-config (Issue #97)

4 years agoMerge pull request #122 from surajkulriya/pkgconfig2
Michael R Sweet [Wed, 10 Mar 2021 21:05:56 +0000 (16:05 -0500)] 
Merge pull request #122 from surajkulriya/pkgconfig2

adding pkgconfig file

4 years agoscheduler: Admin task check: Grant access when client is our Snap
Till Kamppeter [Wed, 10 Mar 2021 20:48:18 +0000 (21:48 +0100)] 
scheduler: Admin task check: Grant access when client is our Snap

If the client Snap is the same as our cupsd is snapped in, grant
access without calling "snapctl". This makes the checks faster and
less resource-consuming if the inquiries are from the command line
tools or the included cups-browsed.

4 years agoMerge pull request #123 from jschwender/master
Michael R Sweet [Wed, 10 Mar 2021 20:43:57 +0000 (15:43 -0500)] 
Merge pull request #123 from jschwender/master

added new translations

4 years agoFree emulations (Issue #124)
Michael R Sweet [Wed, 10 Mar 2021 20:30:54 +0000 (15:30 -0500)] 
Free emulations (Issue #124)

4 years agoInstall the USB backend to run as root.
Michael R Sweet [Wed, 10 Mar 2021 20:19:08 +0000 (15:19 -0500)] 
Install the USB backend to run as root.

4 years agoThe CUPS Snap uses "cups--control" and not "admin" any more as admin slot
Till Kamppeter [Tue, 9 Mar 2021 13:36:01 +0000 (14:36 +0100)] 
The CUPS Snap uses "cups--control" and not "admin" any more as admin slot

Renamed the default for "--with-cups-control-slot" from "admin" to
"cups-control".

4 years agoFix TXT record.
Michael R Sweet [Tue, 9 Mar 2021 01:20:34 +0000 (20:20 -0500)] 
Fix TXT record.

Don't include application/octet-stream in pdl value.

4 years agochange web page reference to openprinting web page 123/head
jschwender [Mon, 8 Mar 2021 23:09:09 +0000 (00:09 +0100)] 
change web page reference to openprinting web page

4 years agotranslation fix
jschwender [Mon, 8 Mar 2021 22:53:36 +0000 (23:53 +0100)] 
translation fix

4 years agoadded new translations
jschwender [Mon, 8 Mar 2021 22:39:04 +0000 (23:39 +0100)] 
added new translations

4 years agoadding pkgconfig file 122/head
surajkulriya [Mon, 8 Mar 2021 18:34:03 +0000 (00:04 +0530)] 
adding pkgconfig file

4 years agoRefactor the media[-col]-ready code to loop through the printer's media sizes and...
Michael R Sweet [Mon, 8 Mar 2021 12:47:45 +0000 (07:47 -0500)] 
Refactor the media[-col]-ready code to loop through the printer's media sizes and lookup the (smaller) list of ready sizes.

4 years agoFix scheduler crash when iterating supported sizes.
Michael R Sweet [Mon, 8 Mar 2021 12:10:37 +0000 (07:10 -0500)] 
Fix scheduler crash when iterating supported sizes.

4 years agoAdd media-col-ready and media-ready.
Michael R Sweet [Mon, 8 Mar 2021 00:58:57 +0000 (19:58 -0500)] 
Add media-col-ready and media-ready.

4 years agoAdd document-format-preferred and include image/urf in the TXT record.
Michael R Sweet [Mon, 8 Mar 2021 00:46:26 +0000 (19:46 -0500)] 
Add document-format-preferred and include image/urf in the TXT record.

4 years agoFix some clang-reported warnings.
Michael R Sweet [Mon, 8 Mar 2021 00:39:57 +0000 (19:39 -0500)] 
Fix some clang-reported warnings.

4 years agoAdd mopria-certified and URF/urf-supported keys/attributes.
Michael R Sweet [Mon, 8 Mar 2021 00:39:30 +0000 (19:39 -0500)] 
Add mopria-certified and URF/urf-supported keys/attributes.

4 years agoAdd _universal sub-type.
Michael R Sweet [Mon, 8 Mar 2021 00:38:53 +0000 (19:38 -0500)] 
Add _universal sub-type.

4 years agoAdd ReadyPaperSizes directive for cupsd.conf.
Michael R Sweet [Sun, 7 Mar 2021 22:44:06 +0000 (17:44 -0500)] 
Add ReadyPaperSizes directive for cupsd.conf.

4 years agoRemove private include functionality (Issue #119)
Michael R Sweet [Sun, 7 Mar 2021 19:49:38 +0000 (14:49 -0500)] 
Remove private include functionality (Issue #119)

4 years agoUpdate localization template and po files for 2.4.x.
Michael R Sweet [Sun, 7 Mar 2021 15:33:27 +0000 (10:33 -0500)] 
Update localization template and po files for 2.4.x.

4 years agoChangelog.
Michael R Sweet [Sun, 7 Mar 2021 15:19:28 +0000 (10:19 -0500)] 
Changelog.

4 years agoMerge pull request #110 from zdohnal/remove_underscore
Michael R Sweet [Sun, 7 Mar 2021 15:21:54 +0000 (10:21 -0500)] 
Merge pull request #110 from zdohnal/remove_underscore

cups/dest.c: Remove an underscore from queue name

4 years agoMerge branch 'master' into remove_underscore 110/head
Michael R Sweet [Sun, 7 Mar 2021 15:21:40 +0000 (10:21 -0500)] 
Merge branch 'master' into remove_underscore

4 years agoMerge pull request #74 from tsite/m2
Michael R Sweet [Sun, 7 Mar 2021 15:17:58 +0000 (10:17 -0500)] 
Merge pull request #74 from tsite/m2

backend/ipp: Change handling of job_canceled

4 years agoBump version in cups/cups.h...
Michael R Sweet [Sun, 7 Mar 2021 15:15:27 +0000 (10:15 -0500)] 
Bump version in cups/cups.h...

4 years agoChangelog + bump version in sample drivers.
Michael R Sweet [Sun, 7 Mar 2021 15:06:20 +0000 (10:06 -0500)] 
Changelog + bump version in sample drivers.

4 years agoChangelog.
Michael R Sweet [Sun, 7 Mar 2021 15:02:00 +0000 (10:02 -0500)] 
Changelog.

4 years agoChangelog.
Michael R Sweet [Sun, 7 Mar 2021 13:12:20 +0000 (08:12 -0500)] 
Changelog.

4 years agoIgnore backup file created by new autoconf.
Michael R Sweet [Sun, 7 Mar 2021 13:04:57 +0000 (08:04 -0500)] 
Ignore backup file created by new autoconf.

4 years agoRemove old image files that are no longer used.
Michael R Sweet [Sun, 7 Mar 2021 13:04:09 +0000 (08:04 -0500)] 
Remove old image files that are no longer used.

4 years agoMerge pull request #70 from frazhome/ZPL-add-Labelsizes
Michael R Sweet [Sun, 7 Mar 2021 15:03:30 +0000 (10:03 -0500)] 
Merge pull request #70 from frazhome/ZPL-add-Labelsizes

add some more ZPL labelsizes

4 years agoMerge pull request #106 from surajkulriya/master
Michael R Sweet [Sun, 7 Mar 2021 14:58:37 +0000 (09:58 -0500)] 
Merge pull request #106 from surajkulriya/master

making True case-insensitive and correcting documentation for existing clients

4 years agoMerge pull request #19 from scabrero/web-interface-negotiate-fix
Michael R Sweet [Sun, 7 Mar 2021 13:11:18 +0000 (08:11 -0500)] 
Merge pull request #19 from scabrero/web-interface-negotiate-fix

Fix negotiate authentication between CGIs and scheduler

4 years ago== is a bashism, stick with POSIX shell in config scripts.
Michael R Sweet [Sun, 7 Mar 2021 00:43:14 +0000 (19:43 -0500)] 
== is a bashism, stick with POSIX shell in config scripts.

4 years agoModernize cups-startup.m4.
Michael R Sweet [Sun, 7 Mar 2021 00:40:18 +0000 (19:40 -0500)] 
Modernize cups-startup.m4.

4 years agoModernize cups-snap.m4.
Michael R Sweet [Sun, 7 Mar 2021 00:08:58 +0000 (19:08 -0500)] 
Modernize cups-snap.m4.

4 years agoModernize cups-shared.m4.
Michael R Sweet [Sat, 6 Mar 2021 23:43:21 +0000 (18:43 -0500)] 
Modernize cups-shared.m4.

4 years agoModernize cups-poll.m4.
Michael R Sweet [Sat, 6 Mar 2021 23:35:44 +0000 (18:35 -0500)] 
Modernize cups-poll.m4.

4 years agoModernize cups-pam.m4.
Michael R Sweet [Sat, 6 Mar 2021 23:32:50 +0000 (18:32 -0500)] 
Modernize cups-pam.m4.

4 years agoModernize cups-opsys.m4.
Michael R Sweet [Sat, 6 Mar 2021 23:21:36 +0000 (18:21 -0500)] 
Modernize cups-opsys.m4.

4 years agoModernize cups-network.m4.
Michael R Sweet [Sat, 6 Mar 2021 23:13:19 +0000 (18:13 -0500)] 
Modernize cups-network.m4.

4 years agoModernize cups-manpages.m4.
Michael R Sweet [Sat, 6 Mar 2021 22:49:45 +0000 (17:49 -0500)] 
Modernize cups-manpages.m4.

4 years agoModernize cups-libtool.m4.
Michael R Sweet [Sat, 6 Mar 2021 22:41:30 +0000 (17:41 -0500)] 
Modernize cups-libtool.m4.

4 years agoMake sure 'lang' is initializes.
Michael R Sweet [Sat, 6 Mar 2021 21:16:42 +0000 (16:16 -0500)] 
Make sure 'lang' is initializes.

4 years agoMake sure 32-bit build still includes 64-bit dev libraries for pkg-config to see...
Michael R Sweet [Sat, 6 Mar 2021 17:55:33 +0000 (12:55 -0500)] 
Make sure 32-bit build still includes 64-bit dev libraries for pkg-config to see them.

4 years agoAdd some debugging for the new TLS checks - trying to fix 32-bit intel builds.
Michael R Sweet [Sat, 6 Mar 2021 17:52:16 +0000 (12:52 -0500)] 
Add some debugging for the new TLS checks - trying to fix 32-bit intel builds.

4 years agoAdd directory testing to testfile unit test program.
Michael R Sweet [Sat, 6 Mar 2021 17:39:12 +0000 (12:39 -0500)] 
Add directory testing to testfile unit test program.

4 years agoUpdate cups-config to use EXPORT_TLSLIBS.
Michael R Sweet [Sat, 6 Mar 2021 16:48:47 +0000 (11:48 -0500)] 
Update cups-config to use EXPORT_TLSLIBS.

4 years agoTransition from the --enable-foo configure options to --with-tls=foo.
Michael R Sweet [Sat, 6 Mar 2021 16:46:25 +0000 (11:46 -0500)] 
Transition from the --enable-foo configure options to --with-tls=foo.

Also rename HAVE_SSL, SSLFLAGS, and SSLLIBS to HAVE_TLS, TLSFLAGS, and TLSLIBS.

4 years agoMerge pull request #118 from OdyX/testlang-i386
Michael R Sweet [Sat, 6 Mar 2021 16:14:05 +0000 (11:14 -0500)] 
Merge pull request #118 from OdyX/testlang-i386

Github Actions: Add cross-build to i686

4 years agoModernize the cups-threads autoconf source file.
Michael R Sweet [Sat, 6 Mar 2021 16:13:03 +0000 (11:13 -0500)] 
Modernize the cups-threads autoconf source file.

4 years agoModernize the cups-largefile autoconf source file.
Michael R Sweet [Sat, 6 Mar 2021 16:08:59 +0000 (11:08 -0500)] 
Modernize the cups-largefile autoconf source file.

4 years agoAdd a directory listing for the language tests.
Michael R Sweet [Sat, 6 Mar 2021 16:03:29 +0000 (11:03 -0500)] 
Add a directory listing for the language tests.

4 years agoUpdate installation instructions for Kerberos (Issue #98).
Michael R Sweet [Sat, 6 Mar 2021 16:02:28 +0000 (11:02 -0500)] 
Update installation instructions for Kerberos (Issue #98).

4 years agoDeprecate Kerberos authentication (Issue #98)
Michael R Sweet [Sat, 6 Mar 2021 16:00:07 +0000 (11:00 -0500)] 
Deprecate Kerberos authentication (Issue #98)

Note: Kerberos is no longer enabled by default.  You must add the
"--enable-gssapi" configure option to build CUPS with Kerberos support.

4 years agoAdd cross-build to i686 118/head
Didier Raboud [Sat, 6 Mar 2021 14:51:17 +0000 (15:51 +0100)] 
Add cross-build to i686

4 years agoModernize cups-dnssd autoconf source file.
Michael R Sweet [Sat, 6 Mar 2021 15:17:55 +0000 (10:17 -0500)] 
Modernize cups-dnssd autoconf source file.

Now use --with-dnssd=foo, where "foo" is "avahi", "mdnsresponder", "no", or
"yes" (which auto-detects which DNS-SD client to use)

HAVE_DNSSD now specifies DNS-SD support is available.

HAVE_MDNSRESPONDER now specifies that mDNSResponder is being used vs
HAVE_AVAHI for Avahi.

4 years agoModernize cups-directories autoconf source file.
Michael R Sweet [Sat, 6 Mar 2021 13:53:32 +0000 (08:53 -0500)] 
Modernize cups-directories autoconf source file.

Drop lpd, smb, and font path options (no longer needed)

Update config.h files.

4 years agoModernize cups-defaults configure sources.
Michael R Sweet [Sat, 6 Mar 2021 13:21:59 +0000 (08:21 -0500)] 
Modernize cups-defaults configure sources.

Remove (long deprecated and not even working since 2.0) LPDConfigFile and
SMBConfigFile directives, along with "LPD" and "SMB" browsing protocols.
(LPD and SMB continue to work through their respective programs)

Remove unused RIPCache and FontPath directives.

4 years agoFix warning options.
Michael R Sweet [Sat, 6 Mar 2021 01:37:43 +0000 (20:37 -0500)] 
Fix warning options.

4 years agoscheduler: Admin task check: Code improvements
Till Kamppeter [Fri, 5 Mar 2021 14:50:14 +0000 (15:50 +0100)] 
scheduler: Admin task check: Code improvements

Several improvements on the client Snap status check code after review
by the snapd developer who created the facility:

- Create snapctl argument arrays without dynamic variables
- Removed unneeded NULL checks from Glib-based memory freeing
- Do not check stderr output of snapd_client_run_snapctl2_sync(), not
  needed in our case
- Use a switch statement for the treatment of the 4 possible snapctl results

In addition, do not use g_clear_object() for the GPtrArray plugs, it must
be g_ptr_array_unref() here.

4 years agoscheduler: Admin task check: Optimized snapctl arguments
Till Kamppeter [Thu, 4 Mar 2021 21:33:10 +0000 (22:33 +0100)] 
scheduler: Admin task check: Optimized snapctl arguments

Changed the snapctl call from

snapctl is-connected --apparmor-label=AA_CONTEXT CUPS_CONTROL_SLOT

to

snapctl is-connected --apparmor-label AA_CONTEXT CUPS_CONTROL_SLOT

removing the '=' between "--apparmor-label" and "AA_CONTEXT" to make
these two separate arguments and so avoid the need to concatenate the
strings in a buffer.

Did the same with the arguments for the
snapd_client_run_snapctl2_sync() function call.

4 years agoFix builds.
Michael R Sweet [Thu, 4 Mar 2021 20:10:05 +0000 (15:10 -0500)] 
Fix builds.

4 years agoUpdate configure script.
Michael R Sweet [Thu, 4 Mar 2021 16:31:57 +0000 (11:31 -0500)] 
Update configure script.

4 years agoMore autoconf modernization.
Michael R Sweet [Thu, 4 Mar 2021 16:31:31 +0000 (11:31 -0500)] 
More autoconf modernization.

4 years agoAdd autoheader protection and some more comments to explain what we're doing.
Michael R Sweet [Thu, 4 Mar 2021 14:43:00 +0000 (09:43 -0500)] 
Add autoheader protection and some more comments to explain what we're doing.

4 years agoWork on modernizing autoconf source files and the build system:
Michael R Sweet [Thu, 4 Mar 2021 14:37:28 +0000 (09:37 -0500)] 
Work on modernizing autoconf source files and the build system:

- Adopt non-deprecated autoconf macros, wrap shell "if" and "case" statements
  with AS_IF and AS_CASE macros.
- Remove strings.h and bstring.h checks since they are not needed for modern
  OS's.
- Rename cups-ssl.m4 to cups-tls.m4 (TLS support, not SSL support)

4 years agoscheduler: Do not set extra groups for processes when in a Snap
Till Kamppeter [Thu, 4 Mar 2021 16:29:53 +0000 (17:29 +0100)] 
scheduler: Do not set extra groups for processes when in a Snap

4 years agoscheduler: Admin task check: Support to use libsnapd-glib instead of snapctl
Till Kamppeter [Thu, 4 Mar 2021 14:27:59 +0000 (15:27 +0100)] 
scheduler: Admin task check: Support to use libsnapd-glib instead of snapctl

When CUPS is running in a Snap the scheduler checks client Snaps
requesting administrative tasks calling the external executable
"snapctl" which does not scale well on many inquiries in parallel.

Therefore we use an equivalent library function of libsnapd-glib,
snapd_client_run_snapctl2_sync() instead, at least if the
libsnapd-glib is new enough to already contain this function, which we
check during build, by the ./configure script. If the function is not
available we automatically fall back to a build using the "snapctl"
utility.

4 years agoUpdate configure script.
Michael R Sweet [Tue, 2 Mar 2021 19:57:00 +0000 (14:57 -0500)] 
Update configure script.