]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
2 weeks agoMerge pull request #1645 from weblate/weblate-cups-cups master
Michael R Sweet [Tue, 7 Jul 2026 22:46:57 +0000 (18:46 -0400)] 
Merge pull request #1645 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 weeks agoTranslated using Weblate (Portuguese) 1645/head
Américo Monteiro [Tue, 7 Jul 2026 21:48:17 +0000 (23:48 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 99.9% (4184 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

2 weeks agoTranslated using Weblate (Portuguese)
Américo Monteiro [Mon, 6 Jul 2026 23:13:42 +0000 (01:13 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 97.0% (4063 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

2 weeks agoTranslated using Weblate (Portuguese)
Américo Monteiro [Sun, 5 Jul 2026 21:13:28 +0000 (23:13 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 95.6% (4005 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

2 weeks agoMerge pull request #1643 from weblate/weblate-cups-cups
Michael R Sweet [Sat, 4 Jul 2026 23:35:32 +0000 (19:35 -0400)] 
Merge pull request #1643 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 weeks agoTranslated using Weblate (Portuguese) 1643/head
Américo Monteiro [Sat, 4 Jul 2026 21:49:25 +0000 (23:49 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 95.4% (3999 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

2 weeks agoFix section parsing in web help index code (Issue #1641)
Michael R Sweet [Sat, 4 Jul 2026 15:21:22 +0000 (11:21 -0400)] 
Fix section parsing in web help index code (Issue #1641)

2 weeks agoMerge pull request #1642 from weblate/weblate-cups-cups
Michael R Sweet [Sat, 4 Jul 2026 15:00:35 +0000 (11:00 -0400)] 
Merge pull request #1642 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 weeks agoTranslated using Weblate (Portuguese) 1642/head
Américo Monteiro [Sat, 4 Jul 2026 00:13:57 +0000 (02:13 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 95.4% (3999 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

2 weeks agoTranslated using Weblate (Russian)
hyperflint [Fri, 3 Jul 2026 09:02:46 +0000 (11:02 +0200)] 
Translated using Weblate (Russian)

Currently translated at 29.6% (1241 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ru/

2 weeks agoMerge pull request #1637 from aizu-m/commandtops-skip-terminator
Michael R Sweet [Thu, 2 Jul 2026 16:53:14 +0000 (12:53 -0400)] 
Merge pull request #1637 from aizu-m/commandtops-skip-terminator

stop response skip loop at nul in commandtops

2 weeks agoMerge pull request #1638 from OpenPrinting/dependabot/github_actions/actions/checkout-7
Michael R Sweet [Thu, 2 Jul 2026 16:52:16 +0000 (12:52 -0400)] 
Merge pull request #1638 from OpenPrinting/dependabot/github_actions/actions/checkout-7

Bump actions/checkout from 6 to 7

3 weeks agoBump actions/checkout from 6 to 7 1638/head
dependabot[bot] [Wed, 1 Jul 2026 10:42:29 +0000 (10:42 +0000)] 
Bump actions/checkout from 6 to 7

Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agostop response skip loop at nul in commandtops 1637/head
Aizal Khan [Wed, 1 Jul 2026 07:59:30 +0000 (13:29 +0530)] 
stop response skip loop at nul in commandtops

3 weeks agoMerge pull request #1628 from weblate/weblate-cups-cups
Michael R Sweet [Mon, 29 Jun 2026 17:10:27 +0000 (13:10 -0400)] 
Merge pull request #1628 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

3 weeks agoTranslated using Weblate (Italian) 1628/head
luca-vercelli [Mon, 29 Jun 2026 07:08:08 +0000 (09:08 +0200)] 
Translated using Weblate (Italian)

Currently translated at 78.6% (3294 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/

3 weeks agoTranslated using Weblate (Romanian)
Remus-Gabriel Chelu [Fri, 26 Jun 2026 07:29:25 +0000 (09:29 +0200)] 
Translated using Weblate (Romanian)

Currently translated at 100.0% (4188 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ro/

3 weeks agoTranslated using Weblate (Polish)
Matthaiks [Thu, 25 Jun 2026 19:18:06 +0000 (21:18 +0200)] 
Translated using Weblate (Polish)

Currently translated at 46.3% (1943 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/

3 weeks agoTranslated using Weblate (Spanish)
Libre [Fri, 26 Jun 2026 18:10:56 +0000 (20:10 +0200)] 
Translated using Weblate (Spanish)

Currently translated at 100.0% (4188 of 4188 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/

3 weeks agoTranslated using Weblate (Tamil)
தமிழ்நேரம் [Wed, 24 Jun 2026 08:59:56 +0000 (10:59 +0200)] 
Translated using Weblate (Tamil)

Currently translated at 99.4% (4158 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ta/

3 weeks agoAdded translation using Weblate (Tamil)
தமிழ்நேரம் [Mon, 22 Jun 2026 07:33:52 +0000 (09:33 +0200)] 
Added translation using Weblate (Tamil)

3 weeks agoMake sure we don't report invalid printer-state-reasons or printer-mandatory-job...
Michael R Sweet [Mon, 29 Jun 2026 17:06:12 +0000 (13:06 -0400)] 
Make sure we don't report invalid printer-state-reasons or printer-mandatory-job-attributes strings (Issue #1632)

3 weeks agoChangelog.
Michael R Sweet [Mon, 29 Jun 2026 16:44:19 +0000 (12:44 -0400)] 
Changelog.

3 weeks agoMerge pull request #1635 from liushuyu/master
Michael R Sweet [Mon, 29 Jun 2026 16:43:34 +0000 (12:43 -0400)] 
Merge pull request #1635 from liushuyu/master

Add PWG media sizes for PRC D0-D6 and PRC ZL

3 weeks agoAdd PWG media sizes for PRC D0-D6 and PRC ZL. 1635/head
liushuyu [Mon, 29 Jun 2026 14:20:40 +0000 (22:20 +0800)] 
Add PWG media sizes for PRC D0-D6 and PRC ZL.

Also moves the Japanese media sizes from the Chinese block to the
Japanese block.

3 weeks agoFix escaping of spaces in options (Issue #1630)
Michael R Sweet [Sat, 27 Jun 2026 14:25:05 +0000 (10:25 -0400)] 
Fix escaping of spaces in options (Issue #1630)

3 weeks agoUpdate message catalogs, packaging files, changelog.
Michael R Sweet [Thu, 25 Jun 2026 19:03:19 +0000 (15:03 -0400)] 
Update message catalogs, packaging files, changelog.

3 weeks agoMerge pull request #1535 from jackadam1981/i18n-chinese
Michael R Sweet [Thu, 25 Jun 2026 18:50:48 +0000 (14:50 -0400)] 
Merge pull request #1535 from jackadam1981/i18n-chinese

Add Chinese (zh_CN/zh_TW) web UI, static doc home pages, and packaging

3 weeks agoMerge pull request #1631 from aizu-m/collection-string-terminator
Michael R Sweet [Thu, 25 Jun 2026 18:45:42 +0000 (14:45 -0400)] 
Merge pull request #1631 from aizu-m/collection-string-terminator

fix out-of-bounds write in cups_collection_string

3 weeks agobound the nul terminator in cups_collection_string 1631/head
Aizal Khan [Thu, 25 Jun 2026 17:15:13 +0000 (22:45 +0530)] 
bound the nul terminator in cups_collection_string

The serialiser advances bufptr past bufend to report the length needed, so the final *bufptr = '\0' could terminate out of bounds once a collection overflows the buffer. Clamp it the way ippAttributeString already does, and keep the bufsize==0 sub-collection call safe.

4 weeks agoHandle empty POST/PUT request message bodies.
Michael R Sweet [Tue, 23 Jun 2026 19:26:50 +0000 (15:26 -0400)] 
Handle empty POST/PUT request message bodies.

4 weeks agoMerge pull request #1629 from zdohnal/ppcache-template-free
Michael R Sweet [Tue, 23 Jun 2026 15:03:11 +0000 (11:03 -0400)] 
Merge pull request #1629 from zdohnal/ppcache-template-free

ppd-cache.c: Free memory leaks when loading caches

4 weeks agoValidate attributes-natural-language, and normalize the logging punctuation.
Michael R Sweet [Tue, 23 Jun 2026 14:56:35 +0000 (10:56 -0400)] 
Validate attributes-natural-language, and normalize the logging punctuation.

4 weeks agoppd-cache.c: Free memory leaks when loading caches 1629/head
Zdenek Dohnal [Tue, 23 Jun 2026 14:40:48 +0000 (16:40 +0200)] 
ppd-cache.c: Free memory leaks when loading caches

When we create temp queue for service shared by ippeveprinter, there are
several leaks in cupsd.

4 weeks agoY2038 fixes (Issue #1592)
Michael R Sweet [Mon, 22 Jun 2026 21:23:05 +0000 (17:23 -0400)] 
Y2038 fixes (Issue #1592)

- Use dateTime attribute variants.
- Use CUPS_LLFMT and CUPS_LLCAST for printing and saving time_t values.
- Use strtoll to read time_t values.
- Update web interface to request and display dateTime values.

4 weeks agoMerge pull request #1618 from abubakarsabir924-cell/fix-1531-signed
Michael R Sweet [Mon, 22 Jun 2026 18:38:22 +0000 (14:38 -0400)] 
Merge pull request #1618 from abubakarsabir924-cell/fix-1531-signed

cups: Fix use-after-free in cups_enum_dests() for local destinations (issue #1531)

4 weeks agoMirror temporary device URI changes from 2.4.x.
Michael R Sweet [Mon, 22 Jun 2026 18:38:12 +0000 (14:38 -0400)] 
Mirror temporary device URI changes from 2.4.x.

4 weeks agoMerge pull request #1623 from aizu-m/client-ctype-mask
Michael R Sweet [Sun, 21 Jun 2026 16:41:22 +0000 (12:41 -0400)] 
Merge pull request #1623 from aizu-m/client-ctype-mask

mask request bytes before ctype calls in client.c

4 weeks agomask request bytes before ctype calls in client.c 1623/head
aizu-m [Sun, 21 Jun 2026 08:22:11 +0000 (13:52 +0530)] 
mask request bytes before ctype calls in client.c

4 weeks agoClear USB fault when getting device ID (Issue #1606)
Michael R Sweet [Sun, 21 Jun 2026 00:34:12 +0000 (20:34 -0400)] 
Clear USB fault when getting device ID (Issue #1606)

4 weeks agoClean up Dependencies file.
Michael R Sweet [Sun, 21 Jun 2026 00:03:39 +0000 (20:03 -0400)] 
Clean up Dependencies file.

4 weeks agoRefactor PackBits code (Issue #1613)
Michael R Sweet [Sat, 20 Jun 2026 23:42:26 +0000 (19:42 -0400)] 
Refactor PackBits code (Issue #1613)

4 weeks agoMerge pull request #1614 from aizu-m/mime-char-bounds
Michael R Sweet [Sat, 20 Jun 2026 21:20:05 +0000 (17:20 -0400)] 
Merge pull request #1614 from aizu-m/mime-char-bounds

fix out-of-bounds read in mime_check_rules char test

4 weeks agoSave PPD cache in testcache unit test.
Michael R Sweet [Fri, 19 Jun 2026 15:22:30 +0000 (11:22 -0400)] 
Save PPD cache in testcache unit test.

5 weeks agocups: Fix use-after-free in cups_enum_dests() for local destinations (Issue #1531) 1618/head
abubakarsabir924-cell [Mon, 15 Jun 2026 19:48:05 +0000 (15:48 -0400)] 
cups: Fix use-after-free in cups_enum_dests() for local destinations (Issue #1531)

5 weeks agofix out-of-bounds read in mime_check_rules char test 1614/head
aizu-m [Sun, 14 Jun 2026 16:57:49 +0000 (22:27 +0530)] 
fix out-of-bounds read in mime_check_rules char test

5 weeks agoFix JSON and PPD/PS long number error handling (Issue #1608)
Michael R Sweet [Sat, 13 Jun 2026 16:21:46 +0000 (12:21 -0400)] 
Fix JSON and PPD/PS long number error handling (Issue #1608)

5 weeks agoFix SNMP hex string debug output (Issue #1610)
Michael R Sweet [Sat, 13 Jun 2026 15:58:24 +0000 (11:58 -0400)] 
Fix SNMP hex string debug output (Issue #1610)

5 weeks agoProtect against bad JOB_PRINTER_URI variable (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:24:12 +0000 (17:24 -0400)] 
Protect against bad JOB_PRINTER_URI variable (Issue #1611)

5 weeks agoProtect against NULL variables (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:18:05 +0000 (17:18 -0400)] 
Protect against NULL variables (Issue #1611)

5 weeks agoFix cgiFormEncode error (Issue #1611)
Michael R Sweet [Fri, 12 Jun 2026 21:00:18 +0000 (17:00 -0400)] 
Fix cgiFormEncode error (Issue #1611)

5 weeks agoOpen temporary PPD files more securely.
Michael R Sweet [Fri, 12 Jun 2026 20:15:48 +0000 (16:15 -0400)] 
Open temporary PPD files more securely.

5 weeks agoSanitizer destination-uri and pre-dial-string values.
Michael R Sweet [Fri, 12 Jun 2026 19:43:15 +0000 (15:43 -0400)] 
Sanitizer destination-uri and pre-dial-string values.

5 weeks agoSanitize IPP attribute strings.
Michael R Sweet [Fri, 12 Jun 2026 18:45:40 +0000 (14:45 -0400)] 
Sanitize IPP attribute strings.

5 weeks agoUse case insensitive comparisons since the PPD API does.
Michael R Sweet [Fri, 12 Jun 2026 15:56:07 +0000 (11:56 -0400)] 
Use case insensitive comparisons since the PPD API does.

5 weeks agotls-gnutls.c: Fix type in debug message
Zdenek Dohnal [Fri, 12 Jun 2026 07:18:36 +0000 (09:18 +0200)] 
tls-gnutls.c: Fix type in debug message

StartTLS - > TLSStart

6 weeks agoMake sure we have room for another space (Issue #1607)
Michael R Sweet [Wed, 10 Jun 2026 22:27:59 +0000 (18:27 -0400)] 
Make sure we have room for another space (Issue #1607)

6 weeks agoMerge pull request #1605 from aizu-m/import-ppd-font-sscanf
Michael R Sweet [Wed, 10 Jun 2026 19:01:45 +0000 (15:01 -0400)] 
Merge pull request #1605 from aizu-m/import-ppd-font-sscanf

bound Font attribute sscanf in import_ppd

6 weeks agoUse ASCII strings in base zh_TW locale 1535/head
jack [Wed, 10 Jun 2026 07:31:36 +0000 (15:31 +0800)] 
Use ASCII strings in base zh_TW locale

6 weeks agoAdd base Traditional Chinese locale
jack [Wed, 10 Jun 2026 07:19:14 +0000 (15:19 +0800)] 
Add base Traditional Chinese locale

6 weeks agobound Font attribute sscanf in import_ppd 1605/head
aizu-m [Wed, 10 Jun 2026 06:18:34 +0000 (11:48 +0530)] 
bound Font attribute sscanf in import_ppd

The four char[256] destinations were filled by width-less %s/%[ conversions, so a *Font value with a token over 255 bytes (reachable via a multi-line quoted version field) overflowed the stack. Cap each field at 255 chars.

6 weeks agoUpdate requirements for language and country codes.
Michael R Sweet [Tue, 9 Jun 2026 21:06:24 +0000 (17:06 -0400)] 
Update requirements for language and country codes.

6 weeks agoMerge pull request #1603 from weblate/weblate-cups-cups
Michael R Sweet [Tue, 9 Jun 2026 20:40:04 +0000 (16:40 -0400)] 
Merge pull request #1603 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 weeks agoDeleted translation using Weblate (Kabyle) 1603/head
Michael R Sweet [Tue, 9 Jun 2026 12:07:51 +0000 (14:07 +0200)] 
Deleted translation using Weblate (Kabyle)

6 weeks agoTranslated using Weblate (Kabyle)
ButterflyOfFire [Mon, 8 Jun 2026 17:49:39 +0000 (19:49 +0200)] 
Translated using Weblate (Kabyle)

Currently translated at 1.9% (80 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/kab/

6 weeks agoAdded translation using Weblate (Kabyle)
ButterflyOfFire [Mon, 8 Jun 2026 17:23:40 +0000 (19:23 +0200)] 
Added translation using Weblate (Kabyle)

6 weeks agoIncrease supply name buffer by 1 byte (Issue #1604)
Michael R Sweet [Tue, 9 Jun 2026 20:36:27 +0000 (16:36 -0400)] 
Increase supply name buffer by 1 byte (Issue #1604)

6 weeks agoChangelog.
Michael R Sweet [Tue, 9 Jun 2026 12:27:28 +0000 (08:27 -0400)] 
Changelog.

6 weeks agoMerge pull request #1587 from ValdikSS/1375-fix-ppd-cache
Michael R Sweet [Tue, 9 Jun 2026 12:20:35 +0000 (08:20 -0400)] 
Merge pull request #1587 from ValdikSS/1375-fix-ppd-cache

Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375

6 weeks agoCopyright, whitespace.
Michael R Sweet [Tue, 9 Jun 2026 11:37:24 +0000 (07:37 -0400)] 
Copyright, whitespace.

6 weeks agoMerge pull request #1598 from aizu-m/encode-string-bounds
Michael R Sweet [Tue, 9 Jun 2026 11:35:17 +0000 (07:35 -0400)] 
Merge pull request #1598 from aizu-m/encode-string-bounds

fix out-of-bounds write in encode_string

6 weeks agofix out-of-bounds write in encode_string 1598/head
aizu-m [Tue, 9 Jun 2026 06:42:08 +0000 (12:12 +0530)] 
fix out-of-bounds write in encode_string

6 weeks agoMerge pull request #1595 from weblate/weblate-cups-cups
Michael R Sweet [Mon, 8 Jun 2026 11:37:27 +0000 (07:37 -0400)] 
Merge pull request #1595 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 weeks agoTranslated using Weblate (Portuguese) 1595/head
Américo Monteiro [Sun, 7 Jun 2026 19:33:26 +0000 (21:33 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 95.6% (4003 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

6 weeks agoMerge pull request #1594 from weblate/weblate-cups-cups
Michael R Sweet [Sat, 6 Jun 2026 15:17:01 +0000 (11:17 -0400)] 
Merge pull request #1594 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

6 weeks agoTranslated using Weblate (Portuguese) 1594/head
Américo Monteiro [Fri, 5 Jun 2026 21:41:32 +0000 (23:41 +0200)] 
Translated using Weblate (Portuguese)

Currently translated at 95.4% (3994 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt/

7 weeks agoFix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375 1587/head
ValdikSS [Thu, 28 May 2026 18:05:44 +0000 (21:05 +0300)] 
Fix PageSize/media to PPD mapping for non-Adobe names. Fixes #1375

If the client software sends only PageSize using Adobe name (common
when printer is shared), but the PPD file uses non-Adobe name,
default page size was used, which is incorrect.

The previous attempt in commit 226f509 to fix this issue have
missed loading PPD cache if no media is supplied.

8 weeks agoAdd Chinese web UI templates
Jack Adam [Sat, 11 Apr 2026 13:05:10 +0000 (21:05 +0800)] 
Add Chinese web UI templates

Add Simplified and Traditional Chinese templates for the CUPS web interface, including the CUPS 2.5 home.tmpl template.

Update desktop and packaging metadata for zh_CN and zh_TW template installation.

8 weeks agoFix whitespace.
Michael R Sweet [Sun, 24 May 2026 18:41:21 +0000 (14:41 -0400)] 
Fix whitespace.

8 weeks agoFix test suite crash caused by changes for duplicate printers (Issue #1531)
Michael R Sweet [Sun, 24 May 2026 18:32:58 +0000 (14:32 -0400)] 
Fix test suite crash caused by changes for duplicate printers (Issue #1531)

8 weeks agoChangelog.
Michael R Sweet [Sun, 24 May 2026 17:29:13 +0000 (13:29 -0400)] 
Changelog.

8 weeks agoMerge pull request #1573 from abubakarsabir924-cell/fix-local-printer-duplicate-1531
Michael R Sweet [Sun, 24 May 2026 17:28:22 +0000 (13:28 -0400)] 
Merge pull request #1573 from abubakarsabir924-cell/fix-local-printer-duplicate-1531

Fix duplicate local printers in DNS-SD discovery (Issue #1531)

8 weeks agoMerge pull request #1577 from abubakarsabir924-cell/fix/issue-1304-satisfy-all
Michael R Sweet [Sun, 24 May 2026 17:25:13 +0000 (13:25 -0400)] 
Merge pull request #1577 from abubakarsabir924-cell/fix/issue-1304-satisfy-all

Fix: Satisfy all with multiple Require directives (issue #1304)

8 weeks agoMerge pull request #1582 from abubakarsabir924-cell/fix/docker-libcups-runtime-issue...
Michael R Sweet [Sun, 24 May 2026 17:16:05 +0000 (13:16 -0400)] 
Merge pull request #1582 from abubakarsabir924-cell/fix/docker-libcups-runtime-issue-1275

Fix Docker: embed rpath and copy libcups.so.2 into runtime stage (issue #1275)

8 weeks agoFix duplicate local printers using UUID comparison (Issue #1531) 1573/head
abubakarsabir924-cell [Sat, 23 May 2026 15:32:15 +0000 (11:32 -0400)] 
Fix duplicate local printers using UUID comparison (Issue #1531)

Updated fix based on michaelrsweet feedback:
- Added printer-uuid to pattrs array in _cupsGetDests()
- Compare UUID from DNS-SD TXT record against local queue
  printer-uuid values in cups_dest_query_cb()
- UUID is guaranteed unique unlike rp value

8 weeks agoRemove redundant libgnutls packages and translate comments to English 1582/head
abubakarsabir924-cell [Sat, 23 May 2026 14:47:16 +0000 (10:47 -0400)] 
Remove redundant libgnutls packages and translate comments to English

8 weeks agoFix review comments: use bool, English comments, collapse else-if 1577/head
abubakarsabir924-cell [Sat, 23 May 2026 03:40:06 +0000 (23:40 -0400)] 
Fix review comments: use bool, English comments, collapse else-if

2 months agoDon't strip '@domain' portion of username if StripUserDomain isn't enabled (Issue...
Michael R Sweet [Fri, 22 May 2026 20:14:33 +0000 (16:14 -0400)] 
Don't strip '@domain' portion of username if StripUserDomain isn't enabled (Issue #1584)

2 months agoFix: use --libdir=/usr/lib to ensure library installs to standard path
abubakarsabir924-cell [Tue, 19 May 2026 03:44:03 +0000 (23:44 -0400)] 
Fix: use --libdir=/usr/lib to ensure library installs to standard path

Previous approach used /usr/lib64 which is x86_64 specific and
not present in Ubuntu's ldconfig search path. Using --libdir=/usr/lib
at configure time ensures libcups.so.2 installs to the standard
location that ldconfig finds on all architectures.

Also using make install DESTDIR=/buildroot as suggested by
@michaelrsweet to copy the entire build root instead of
individual files.

Tested: container stays Up, curl returns HTTP 200

2 months agoAddress review feedback from @michaelrsweet
abubakarsabir924-cell [Tue, 19 May 2026 02:21:06 +0000 (22:21 -0400)] 
Address review feedback from @michaelrsweet

- Remove LDFLAGS rpath (not needed, not portable across architectures)
- Use make install DESTDIR=/buildroot instead of copying individual files
- Add lib64->lib symlink and run ldconfig for library discovery

Tested: container stays Up, curl returns HTTP 200

2 months agoFix Docker: embed rpath and copy runtime files (issue #1275)
abubakarsabir924-cell [Mon, 18 May 2026 22:10:23 +0000 (18:10 -0400)] 
Fix Docker: embed rpath and copy runtime files (issue #1275)

PR #1153 introduced a multi-stage Dockerfile but left two bugs:

1. libcups.so.2 was not copied into the runtime stage, causing:
   error while loading shared libraries: libcups.so.2: cannot open
   shared object file: No such file or directory

2. Runtime apt dependencies (openssl, libavahi-client3, etc.)
   were missing from the runtime stage.

Fix:
- Pass LDFLAGS='-Wl,-rpath,/usr/lib64' at configure time
- Explicitly COPY libcups.so.2 into runtime stage
- Install correct runtime packages in runtime stage
- Add Browsing No to prevent avahi crash in container
- Run ldconfig in runtime stage

Fixes #1275

2 months agoMerge pull request #1579 from weblate/weblate-cups-cups
Michael R Sweet [Fri, 15 May 2026 18:51:55 +0000 (14:51 -0400)] 
Merge pull request #1579 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 months agoTranslated using Weblate (Italian) 1579/head
Pierfrancesco Passerini [Thu, 14 May 2026 18:17:48 +0000 (20:17 +0200)] 
Translated using Weblate (Italian)

Currently translated at 78.4% (3281 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/

2 months agoFix: Satisfy all with multiple Require directives
abubakarsabir924-cell [Fri, 15 May 2026 00:42:34 +0000 (20:42 -0400)] 
Fix: Satisfy all with multiple Require directives

- conf.c: Prevent level overwrite when multiple Require
  directives are used in same Location block
- auth.c: Implement AND logic for Satisfy all with
  multiple Require conditions instead of OR logic

Fixes #1304

2 months agofix duplicate local printers in DNS-SD discovery (Issue #1531)
abubakarsabir924-cell [Sun, 10 May 2026 06:07:31 +0000 (02:07 -0400)] 
fix duplicate local printers in DNS-SD discovery (Issue #1531)

2 months agoMerge pull request #1571 from weblate/weblate-cups-cups
Michael R Sweet [Thu, 7 May 2026 14:36:23 +0000 (10:36 -0400)] 
Merge pull request #1571 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 months agoTranslated using Weblate (Italian) 1571/head
Pierfrancesco Passerini [Thu, 7 May 2026 13:27:43 +0000 (15:27 +0200)] 
Translated using Weblate (Italian)

Currently translated at 78.1% (3267 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/

2 months agoMerge pull request #1567 from weblate/weblate-cups-cups
Michael R Sweet [Wed, 6 May 2026 16:16:58 +0000 (12:16 -0400)] 
Merge pull request #1567 from weblate/weblate-cups-cups

Translations update from Hosted Weblate

2 months agoTranslated using Weblate (Italian) 1567/head
Pierfrancesco Passerini [Wed, 6 May 2026 13:19:56 +0000 (15:19 +0200)] 
Translated using Weblate (Italian)

Currently translated at 76.9% (3217 of 4183 strings)

Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/it/

2 months agoSupport standard PPD, PWG, and legacy names for media/PageSize regardless of the...
Michael R Sweet [Mon, 4 May 2026 20:18:44 +0000 (16:18 -0400)] 
Support standard PPD, PWG, and legacy names for media/PageSize regardless of the PPD file (Issue #1375)