[packages/cups] - job-name issue fixed upstream: https://github.com/OpenPrinting/cups/issues/644

baggins baggins at pld-linux.org
Tue May 21 16:42:30 CEST 2024


commit 54567dbdd37ca2c6c39375dd2a242421e8338c64
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 21 16:05:26 2024 +0200

    - job-name issue fixed upstream: https://github.com/OpenPrinting/cups/issues/644

 cups.spec               |  2 --
 job-name-too-long.patch | 24 ------------------------
 2 files changed, 26 deletions(-)
---
diff --git a/cups.spec b/cups.spec
index 34540aa..0b44585 100644
--- a/cups.spec
+++ b/cups.spec
@@ -40,7 +40,6 @@ Patch12:	%{name}-desktop.patch
 Patch15:	reactivate_recommended_driver.patch
 Patch16:	read-embedded-options-from-incoming-postscript-and-add-to-ipp-attrs.patch
 Patch18:	%{name}-final-content-type.patch
-Patch19:	job-name-too-long.patch
 Patch102:	cups-banners.patch
 Patch103:	cups-pid.patch
 Patch104:	cups-eggcups.patch
@@ -278,7 +277,6 @@ bibliotecas do CUPS.
 %patch15 -p1
 %patch16 -p1
 %patch18 -p1
-%patch19 -p1
 
 %patch102 -p1
 %patch103 -p1
diff --git a/job-name-too-long.patch b/job-name-too-long.patch
deleted file mode 100644
index 25364c5..0000000
--- a/job-name-too-long.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- cups-2.3.6/backend/ipp.c.orig	2024-05-19 14:12:43.566004590 +0200
-+++ cups-2.3.6/backend/ipp.c	2024-05-19 14:49:20.758512651 +0200
-@@ -1519,18 +1519,17 @@
- 
-   if (create_job)
-   {
--    monitor.job_name = argv[3];
-+    snprintf(print_job_name, 127, "%s", argv[3]);
-   }
-   else
-   {
-    /*
-     * TODO: make this compatible with UTF-8 - possible UTF-8 truncation here..
-     */
- 
--    snprintf(print_job_name, sizeof(print_job_name), "%s - %s", argv[1],
--             argv[3]);
--    monitor.job_name = print_job_name;
-+    snprintf(print_job_name, 127, "%s - %s", argv[1], argv[3]);
-   }
-+  monitor.job_name = print_job_name;
- 
-   _cupsThreadCreate((_cups_thread_func_t)monitor_printer, &monitor);
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cups.git/commitdiff/54567dbdd37ca2c6c39375dd2a242421e8338c64



More information about the pld-cvs-commit mailing list