public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcupsfilters] f45: migrate to latest upstream git snapshot (fedora#2579625, fedora#2573692, fedora#2573573, fedora#2573434, fedora#2568640)
@ 2026-11-23 16:50 Zdenek Dohnal
  0 siblings, 0 replies; only message in thread
From: Zdenek Dohnal @ 2026-11-23 16:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libcupsfilters
Branch : f45
Commit : 75c23c7702affe8e921be1eb132e1b0c58d71a95
Author : Zdenek Dohnal <zdohnal@redhat.com>
Date   : 2026-11-23T17:45:27+01:00
Stats  : +11/-949 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/libcupsfilters/c/75c23c7702affe8e921be1eb132e1b0c58d71a95?branch=f45

Log:
migrate to latest upstream git snapshot (fedora#2579625, fedora#2573692, fedora#2573573, fedora#2573434, fedora#2568640)

---
diff --git a/0001-Fix-minor-errors-this-caused-issue-239.-240.patch b/0001-Fix-minor-errors-this-caused-issue-239.-240.patch
deleted file mode 100644
index 5408666..0000000
--- a/0001-Fix-minor-errors-this-caused-issue-239.-240.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From cb82339e748b6c1b0509060526dbd52e74968829 Mon Sep 17 00:00:00 2001
-From: szlt5 <117269245+szlt5@users.noreply.github.com>
-Date: Tue, 8 Sep 2026 17:16:39 +0800
-Subject: [PATCH] Fix minor errors; this caused issue #239. (#240)
-
----
- cupsfilters/ipp-options.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/cupsfilters/ipp-options.c b/cupsfilters/ipp-options.c
-index d3fed1ae..506056e4 100644
---- a/cupsfilters/ipp-options.c
-+++ b/cupsfilters/ipp-options.c
-@@ -404,7 +404,8 @@ cfFilterOptionsCreate(size_t num_options,   // I - Number of command-line option
-   ippo->separator_media       = ippo->media;
- 
-   // Set the rest of the options...
--  if ((value = get_option("output-order", num_options, options)) != NULL)
-+  if ((value = get_option("outputorder", num_options, options)) != NULL ||
-+      (value = cupsGetOption("output-order", num_options, options)) != NULL)
-   {
-     if (!strcasecmp(value, "reverse"))
-       ippo->reverse_order = true;
-@@ -492,9 +493,9 @@ cfFilterOptionsCreate(size_t num_options,   // I - Number of command-line option
-   if ((value = get_option("imposition-template", num_options, options)) != NULL ||
-       (value = get_option("booklet", num_options, options)) != NULL)
-   {
--    if(strcasecmp(value, "yes") ||
--       strcasecmp(value, "true") ||
--       strcasecmp(value, "booklet")) 
-+    if(!strcasecmp(value, "yes") ||
-+       !strcasecmp(value, "true") ||
-+       !strcasecmp(value, "booklet")) 
-     {
-       cupsCopyString(ippo->imposition_template, "booklet", sizeof(ippo->imposition_template));
-     }
--- 
-2.55.0
-

diff --git a/0001-Fix-printing-error-pdfio-output-Missing-Root-object..patch b/0001-Fix-printing-error-pdfio-output-Missing-Root-object..patch
deleted file mode 100644
index 9c19df5..0000000
--- a/0001-Fix-printing-error-pdfio-output-Missing-Root-object..patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From e14bad406189a66bdeb40131112944bfb58ee0cc Mon Sep 17 00:00:00 2001
-From: szlt5 <117269245+szlt5@users.noreply.github.com>
-Date: Tue, 18 Aug 2026 16:04:19 +0800
-Subject: [PATCH] Fix printing error:  pdfio output "Missing Root object."
- (#167)
-
----
- cupsfilters/pdf.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/cupsfilters/pdf.c b/cupsfilters/pdf.c
-index 1f714b20..3e438609 100644
---- a/cupsfilters/pdf.c
-+++ b/cupsfilters/pdf.c
-@@ -165,6 +165,11 @@ cfPDFPagesFP(FILE *file) 	// I - File pointer of PDF
-     fwrite(buffer, 1, bytes_read, temp_fp);
-   }
- 
-+  // call fflush(temp_fp) to flush the stdio buffer;
-+  // otherwise pdfioFileOpen() may not see the complete contents of temp_filename because
-+  // some data may still be buffered and not yet written to the file.
-+  fflush(temp_fp);
-+
-   // Open the temp file with pdfio
-   pdfio_file_t *pdf = pdfioFileOpen(temp_filename, NULL, NULL, NULL, NULL);
- 
--- 
-2.55.0
-

diff --git a/0001-Honor-data-copies-in-cfFilterPDFToPDF.patch b/0001-Honor-data-copies-in-cfFilterPDFToPDF.patch
deleted file mode 100644
index 8ef780c..0000000
--- a/0001-Honor-data-copies-in-cfFilterPDFToPDF.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 4c06f1bc2f090b487a71a9287c6eb54ce2827f7b Mon Sep 17 00:00:00 2001
-From: hakibro <sandalkuganti@gmail.com>
-Date: Tue, 1 Sep 2026 10:58:43 +0700
-Subject: [PATCH] Honor data->copies in cfFilterPDFToPDF
-
-CUPS passes the copy count via the standard 'copies' filter argument
-(argv[4], exposed as data->copies) and strips the 'copies' option from
-the options string (argv[5]).  cfFilterOptionsCreate() only reads the
-copy count from the options string, so it defaults to 1 and the
-requested number of copies is lost.
-
-For raster drivers that go through the 'universal' filter this means
-'print N copies' always prints a single copy.
-
-Honor data->copies as a fallback when no explicit copies option was
-given.
-
-Fixes #227
----
- cupsfilters/pdftopdf.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/cupsfilters/pdftopdf.c b/cupsfilters/pdftopdf.c
-index 894500343..f5397f479 100644
---- a/cupsfilters/pdftopdf.c
-+++ b/cupsfilters/pdftopdf.c
-@@ -2777,6 +2777,16 @@ cfFilterPDFToPDF(int inputfd,
- 
-   filter_options = cfFilterOptionsCreate(data->num_options, data->options);
- 
-+  // CUPS passes the copy count through the standard "copies" filter argument
-+  // (argv[4], exposed here as data->copies) and strips the "copies" option
-+  // from the options string (argv[5]).  cfFilterOptionsCreate() only reads
-+  // the copy count from the options string, so it defaults to 1 and the
-+  // requested number of copies is lost.  Honor data->copies as a fallback so
-+  // that printing multiple copies works for raster drivers going through the
-+  // "universal" filter.
-+  if (data->copies > 1 && filter_options->copies <= 1)
-+    filter_options->copies = data->copies;
-+
-   char temp_filename[] = "/tmp/tempfileXXXXXX";
-   int temp_fd = mkstemp(temp_filename);
-   if (temp_fd == -1)

diff --git a/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch b/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
deleted file mode 100644
index 6f4ddd5..0000000
--- a/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From ce65eb7455b5dedb08943a6d966f12bc4eaf3caa Mon Sep 17 00:00:00 2001
-From: oubayashi <214973957@qq.com>
-Date: Thu, 24 Sep 2026 13:39:10 +0800
-Subject: [PATCH] bannertopdf: preserve indirect page resources when adding
- fonts
-
-Resolve and copy an indirect page Resources dictionary before adding the
-banner font instead of replacing it with an empty dictionary.
-
-This preserves existing XObject, ExtGState, Font, and other resources from
-the banner template. Extend the Unicode banner regression test to verify
-that the template image resources and drawing commands remain present.
----
- cupsfilters/pdf.c                      | 22 ++++++++++++++++++----
- cupsfilters/test-bannertopdf-unicode.c | 20 +++++++++++++++++++-
- 2 files changed, 37 insertions(+), 5 deletions(-)
-
-diff --git a/cupsfilters/pdf.c b/cupsfilters/pdf.c
-index 252f85b8..2645a593 100644
---- a/cupsfilters/pdf.c
-+++ b/cupsfilters/pdf.c
-@@ -370,15 +370,30 @@ cfPDFAddType1Font1(cf_pdf_t *pdf, 	// I - Pointer to PDF object
- {
-   pdfio_dict_t *fonts;
-   pdfio_dict_t *pageDict = iterate_helper->page_dict;
-+  pdfio_valtype_t resources_type;
-   if (!pageDict) 
-     return 1; 
- 
-   // Locate or create the Resources dictionary
--  pdfio_dict_t *resources = pdfioDictGetDict(pageDict, "Resources");
--  if (!resources) 
-+  pdfio_dict_t *resources;
-+  resources_type = pdfioDictGetType(pageDict, "Resources");
-+  if (resources_type == PDFIO_VALTYPE_INDIRECT)
-+  {
-+    pdfio_obj_t *resources_obj = pdfioDictGetObj(pageDict, "Resources");
-+
-+    if (!resources_obj ||
-+	(resources = pdfioDictCopy((pdfio_file_t *)iterate_helper->pdf,
-+				   pdfioObjGetDict(resources_obj))) == NULL ||
-+	!pdfioDictSetDict(pageDict, "Resources", resources))
-+      return 1;
-+  }
-+  else if (resources_type == PDFIO_VALTYPE_DICT)
-+    resources = pdfioDictGetDict(pageDict, "Resources");
-+  else
-   {
-     resources = pdfioDictCreate((pdfio_file_t *)iterate_helper->pdf);
--    pdfioDictSetDict(pageDict, "Resources", resources);
-+    if (!resources || !pdfioDictSetDict(pageDict, "Resources", resources))
-+      return 1;
-   }
- 
-   // Locate or create the Font dictionary within Resources
-@@ -615,4 +630,3 @@ cfPDFFillForm(cf_pdf_t *doc,    // I - PDF document
-   // TODO: PDFio does not directly support form filling.
-   return 1;
- }
--
--- 
-2.56.0
-

diff --git a/0001-ghostscript-serialize-raster-integer-parameters-as-s.patch b/0001-ghostscript-serialize-raster-integer-parameters-as-s.patch
deleted file mode 100644
index 0a8dc15..0000000
--- a/0001-ghostscript-serialize-raster-integer-parameters-as-s.patch
+++ /dev/null
@@ -1,163 +0,0 @@
-From 318cd5b581d4261700add229ad23513cd30a0275 Mon Sep 17 00:00:00 2001
-From: Victor Trac <victor@cloudkite.io>
-Date: Mon, 31 Aug 2026 14:13:04 -0400
-Subject: [PATCH] ghostscript: serialize raster integer parameters as signed
-
-Signed-off-by: Victor Trac <victor@cloudkite.io>
----
- cupsfilters/ghostscript.c | 60 +++++++++++++++++++--------------------
- 1 file changed, 30 insertions(+), 30 deletions(-)
-
-diff --git a/cupsfilters/ghostscript.c b/cupsfilters/ghostscript.c
-index 9e8fa8fa..72e1c2f1 100644
---- a/cupsfilters/ghostscript.c
-+++ b/cupsfilters/ghostscript.c
-@@ -207,22 +207,22 @@ header_to_gs_args(gs_page_header *h,
-     }
-     if (h->AdvanceDistance)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceDistance=%u",
--	       (unsigned)(h->AdvanceDistance));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceDistance=%d",
-+	       (int)(h->AdvanceDistance));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->AdvanceMedia)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceMedia=%u",
--	       (unsigned)(h->AdvanceMedia));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceMedia=%d",
-+	       (int)(h->AdvanceMedia));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->Collate)
-       cupsArrayAdd(gs_args, strdup("-dCollate"));
-     if (h->CutMedia)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dCutMedia=%u",
--	       (unsigned)(h->CutMedia));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dCutMedia=%d",
-+	       (int)(h->CutMedia));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-   }
-@@ -254,14 +254,14 @@ header_to_gs_args(gs_page_header *h,
-       cupsArrayAdd(gs_args, strdup("-dInsertSheet"));
-     if (h->Jog)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dJog=%u",
--	       (unsigned)(h->Jog));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dJog=%d",
-+	       (int)(h->Jog));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->LeadingEdge)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dLeadingEdge=%u",
--	       (unsigned)(h->LeadingEdge));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dLeadingEdge=%d",
-+	       (int)(h->LeadingEdge));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->ManualFeed)
-@@ -309,8 +309,8 @@ header_to_gs_args(gs_page_header *h,
-       }
-       else
- 	mediapos = h->MediaPosition;
--      snprintf(tmpstr, sizeof(tmpstr), "-dMediaPosition=%u",
--	       (unsigned)(mediapos));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dMediaPosition=%d",
-+	       (int)(mediapos));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-   }
-@@ -320,8 +320,8 @@ header_to_gs_args(gs_page_header *h,
-   {
-     if (h->MediaWeight)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dMediaWeight=%u",
--	       (unsigned)(h->MediaWeight));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dMediaWeight=%d",
-+	       (int)(h->MediaWeight));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->MirrorPrint)
-@@ -330,14 +330,14 @@ header_to_gs_args(gs_page_header *h,
-       cupsArrayAdd(gs_args, strdup("-dNegativePrint"));
-     if (h->NumCopies != 1)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dNumCopies=%u",
--	       (unsigned)(h->NumCopies));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dNumCopies=%d",
-+	       (int)(h->NumCopies));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->Orientation)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dOrientation=%u",
--	       (unsigned)(h->Orientation));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dOrientation=%d",
-+	       (int)(h->Orientation));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->OutputFaceUp)
-@@ -376,8 +376,8 @@ header_to_gs_args(gs_page_header *h,
-   {
-     if (h->cupsMediaType)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dcupsMediaType=%u",
--	       (unsigned)(h->cupsMediaType));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dcupsMediaType=%d",
-+	       (int)(h->cupsMediaType));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     snprintf(tmpstr, sizeof(tmpstr), "-dcupsBitsPerColor=%d",
-@@ -412,26 +412,26 @@ header_to_gs_args(gs_page_header *h,
-   {
-     if (h->cupsCompression)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dcupsCompression=%u",
--	       (unsigned)(h->cupsCompression));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dcupsCompression=%d",
-+	       (int)(h->cupsCompression));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->cupsRowCount)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowCount=%u",
--	       (unsigned)(h->cupsRowCount));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowCount=%d",
-+	       (int)(h->cupsRowCount));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->cupsRowFeed)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowFeed=%u",
--	       (unsigned)(h->cupsRowFeed));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowFeed=%d",
-+	       (int)(h->cupsRowFeed));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-     if (h->cupsRowStep)
-     {
--      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowStep=%u",
--	       (unsigned)(h->cupsRowStep));
-+      snprintf(tmpstr, sizeof(tmpstr), "-dcupsRowStep=%d",
-+	       (int)(h->cupsRowStep));
-       cupsArrayAdd(gs_args, strdup(tmpstr));
-     }
-   }
-@@ -449,8 +449,8 @@ header_to_gs_args(gs_page_header *h,
-     for (i = 0; i <= 15; i ++)
-       if (h->cupsInteger[i])
-       {
--	snprintf(tmpstr, sizeof(tmpstr), "-dcupsInteger%d=%u",
--		 i, (unsigned)(h->cupsInteger[i]));
-+	snprintf(tmpstr, sizeof(tmpstr), "-dcupsInteger%d=%d",
-+		 i, (int)(h->cupsInteger[i]));
- 	cupsArrayAdd(gs_args, strdup(tmpstr));
-       }
-     for (i = 0; i <= 15; i ++)
--- 
-2.55.0
-

diff --git a/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch b/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch
deleted file mode 100644
index b283b94..0000000
--- a/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From b13e63e80d9c094bc4484dcbc7efd000f21308db Mon Sep 17 00:00:00 2001
-From: princemittalr <prince.mittal.work@gmail.com>
-Date: Sun, 30 Aug 2026 09:45:59 +0530
-Subject: [PATCH] libcupsfilters.pc: Add pdfio as public Requires dependency
-
-pdf.h (a public installed header) includes <pdfio.h> directly, which
-means downstream packages (e.g. libppd) that include pdf.h need pdfio
-headers and types at compile time. Moving pdfio from Libs.private to
-Requires ensures pkg-config propagates this dependency correctly.
-
-Fixes: #213
----
- libcupsfilters.pc.in | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/libcupsfilters.pc.in b/libcupsfilters.pc.in
-index db1b9a694..478d53de3 100644
---- a/libcupsfilters.pc.in
-+++ b/libcupsfilters.pc.in
-@@ -2,11 +2,12 @@ prefix=@prefix@
- exec_prefix=@exec_prefix@
- libdir=@libdir@
- includedir=@includedir@
--                                                                       
-+
- Name: libcupsfilters
- Description: Library providing everything for filtering/converting print/scan job data
- Version: @VERSION@
- 
-+Requires: pdfio >= 1.6.4
- Libs: -L${libdir} -lcupsfilters
--Libs.private: @CUPS_LIBS@ @LIBJPEG_LIBS@ @LIBPNG_LIBS@ @LIBTIFF_LIBS@ @LIBPDFIO_LIBS@
-+Libs.private: @CUPS_LIBS@ @LIBJPEG_LIBS@ @LIBPNG_LIBS@ @LIBTIFF_LIBS@
- Cflags: -I${includedir}/cupsfilters -I${includedir} @CUPS_CFLAGS@

diff --git a/0001-pclmtoraster.c-Fix-getting-MediaBox-from-input.patch b/0001-pclmtoraster.c-Fix-getting-MediaBox-from-input.patch
deleted file mode 100644
index deeb290..0000000
--- a/0001-pclmtoraster.c-Fix-getting-MediaBox-from-input.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From 209cae2445ec4b9770d6419ce7be844d5ec1ed16 Mon Sep 17 00:00:00 2001
-From: Zdenek Dohnal <zdohnal@redhat.com>
-Date: Tue, 11 Aug 2026 13:14:30 +0200
-Subject: [PATCH] pclmtoraster.c: Fix getting MediaBox from input
-
-The affected function had logic inverted - error handling happened when
-MediaBox was found - which caused no output was generated.
-
-The PR fixes it and adds logic to get MediaBox from parent object,
-because per PDF specification MediaBox can be inherited from parent.
-
-Assisted-By: Claude Code
----
- cupsfilters/pclmtoraster.c | 42 ++++++++++++++++++++++++--------------
- 1 file changed, 27 insertions(+), 15 deletions(-)
-
-diff --git a/cupsfilters/pclmtoraster.c b/cupsfilters/pclmtoraster.c
-index 896dbc2b..62c74768 100644
---- a/cupsfilters/pclmtoraster.c
-+++ b/cupsfilters/pclmtoraster.c
-@@ -210,27 +210,39 @@ parse_opts(cf_filter_data_t *data,			// I - Job and Print data
- }
- 
- //
--// 'media_box_lookup()' - Helper function look up MediaBox from PDF dictionary
-+// 'media_box_lookup()' - Helper function to look up MediaBox from a page
-+//                        object, walking parent nodes if needed (MediaBox is
-+//                        an inheritable attribute in PDF).
- //
- 
--static bool					  // O - 1 if mediabox is found, 0 if not
--media_box_lookup(pdfio_obj_t *object,		// I - Page Object to look for mediabox
--	       	 float rect[4])			// O - rectangle for mediabox output
-+static bool					// O - true if found, false if not
-+media_box_lookup(pdfio_obj_t *object,		// I - Page object
-+		 float rect[4])			// O - MediaBox rectangle
- {
--  pdfio_rect_t mediaBox;
--  pdfio_dict_t *object_dict = pdfioObjGetDict(object);
--  if(pdfioDictGetRect(object_dict, "MediaBox", &mediaBox))
--    return false;
-+  pdfio_rect_t	mediaBox;			// MediaBox value
-+  pdfio_dict_t	*dict;				// Current dictionary
- 
-- pdfioDictGetRect(object_dict, "MediaBox", &mediaBox);
-+  // Walk the page tree up through Parent nodes to find an inherited MediaBox
-+  while (object)
-+  {
-+    dict = pdfioObjGetDict(object);
-+    if (!dict)
-+      break;
- 
-- rect[0] = mediaBox.x1;
-- rect[1] = mediaBox.y1;
-- rect[2] = mediaBox.x2;
-- rect[3] = mediaBox.y2;
-+    if (pdfioDictGetRect(dict, "MediaBox", &mediaBox))
-+    {
-+      rect[0] = mediaBox.x1;
-+      rect[1] = mediaBox.y1;
-+      rect[2] = mediaBox.x2;
-+      rect[3] = mediaBox.y2;
-+      return (true);
-+    }
- 
-- return true;
--}	
-+    object = pdfioDictGetObj(dict, "Parent");
-+  }
-+
-+  return (false);
-+}
- 
- //
- // 'rotate_bitmap()' - Function to rotate a bitmap
--- 
-2.55.0
-

diff --git a/0001-pclmtoraster.c-Fix-processing-image-in-PCLm.patch b/0001-pclmtoraster.c-Fix-processing-image-in-PCLm.patch
deleted file mode 100644
index ad291ac..0000000
--- a/0001-pclmtoraster.c-Fix-processing-image-in-PCLm.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-From 98423c1bedb0a4d39ed9096c653fe91787664a0a Mon Sep 17 00:00:00 2001
-From: Zdenek Dohnal <zdohnal@redhat.com>
-Date: Tue, 11 Aug 2026 16:23:57 +0200
-Subject: [PATCH] pclmtoraster.c: Fix processing image in PCLm
-
-Fixed several issues in PCLm processing
-
-1. The input PCLm might not have /Type set for images, because it is
-optional key, filter has to look for subtype Image (fixed typo image ->
-Image).
-
-2. PDFIO read stream function can return -1, so it has to be saved in
-ssize_t to get correct interpretation - otherwise the filter aborts on
-alloc of large number.
-
-3. buffer was array of pointers to char instead of array of chars -
-saves memory
-
-4. making code straight, adding return value checks, grouping local vars
-at the beginning
-
-Assisted-By: Claude Code by Anthropic
----
- cupsfilters/pclmtoraster.c | 79 +++++++++++++++++++++++---------------
- 1 file changed, 49 insertions(+), 30 deletions(-)
-
-diff --git a/cupsfilters/pclmtoraster.c b/cupsfilters/pclmtoraster.c
-index 62c74768..d1ca9014 100644
---- a/cupsfilters/pclmtoraster.c
-+++ b/cupsfilters/pclmtoraster.c
-@@ -851,40 +851,65 @@ process_image(pdfio_dict_t *dict, 		// I - dictionary where images are there
- 	      const char *key, 			// I - key names of xobjects
- 	      void *cb_data)			// I - conversion data
- {
--  pclmtoraster_data_t *data = (pclmtoraster_data_t *)cb_data;
--  char *buffer[4096];
--  pdfio_obj_t *image = pdfioDictGetObj(dict, key);
-+  const char          *subtype;
-+  pclmtoraster_data_t *data;
-+  pdfio_obj_t         *image;
-+  pdfio_dict_t        *imgdict;
-+  pdfio_stream_t      *img_str;
-+  ssize_t             bytes;
-+  unsigned char       buffer[8192];
- 
--  if (strcmp(pdfioObjGetType(image), "image") == 0)
--  {
--    pdfio_dict_t *imgdict = pdfioObjGetDict(image);
--    if (!imgdict)
--       return true;
- 
--    // Read the raw image stream
--    pdfio_stream_t *img_str = pdfioObjOpenStream(image, true);
--    size_t bufsize = pdfioStreamRead(img_str, buffer, sizeof(buffer));
-+  data = (pclmtoraster_data_t *)cb_data;
-+
-+  if ((image = pdfioDictGetObj(dict, key)) == NULL)
-+    return (true);
-+
-+  if ((subtype = pdfioObjGetSubtype(image)) == NULL)
-+    return (true);
-+
-+  if (strcmp(subtype, "Image"))
-+    return (true);
- 
--    int width = pdfioDictGetNumber(imgdict, "Width");
--    int height = pdfioDictGetNumber(imgdict, "Height");
-+  if ((imgdict = pdfioObjGetDict(image)) == NULL)
-+    return (true);
- 
--    data->header.cupsHeight += height;
-+  int width = (int)pdfioDictGetNumber(imgdict, "Width");
-+  int height = (int)pdfioDictGetNumber(imgdict, "Height");
-+
-+  // Read the complete decoded image stream
-+  if ((img_str = pdfioObjOpenStream(image, true)) == NULL)
-+    return (true);
-+
-+  while ((bytes = pdfioStreamRead(img_str, buffer, sizeof(buffer))) > 0)
-+  {
-+    unsigned char *tmp;
- 
--    // Allocate memory for the bitmap data
-     if (data->pixel_count == 0)
--      data->bitmap = (unsigned char *)malloc(bufsize);
-+      tmp = (unsigned char *)malloc(bytes);
-     else
--      data->bitmap = (unsigned char *)realloc(data->bitmap,
--                                              data->pixel_count + bufsize);
-+      tmp = (unsigned char *)realloc(data->bitmap,
-+            data->pixel_count + bytes);
- 
--    memcpy(data->bitmap + data->pixel_count, buffer, bufsize);
--    data->pixel_count += bufsize;
-+    if (!tmp)
-+    {
-+      pdfioStreamClose(img_str);
-+      return (false);
-+    }
- 
--    // Track maximum width
--    if (width > data->header.cupsWidth)
--      data->header.cupsWidth = width;
-+    data->bitmap = tmp;
-+    memcpy(data->bitmap + data->pixel_count, buffer, bytes);
-+    data->pixel_count += bytes;
-   }
- 
-+  pdfioStreamClose(img_str);
-+
-+  data->header.cupsHeight += height;
-+
-+  // Track maximum width
-+  if (width > (int)data->header.cupsWidth)
-+    data->header.cupsWidth = width;
-+
-   return (true);
- }
- 
-@@ -1297,13 +1322,7 @@ cfFilterPCLmToRaster(int inputfd,         // I - File descriptor input stream
- 
-     if (log) log(ld, CF_LOGLEVEL_INFO,
- 		 "cfFilterPCLmToRaster: Starting page %d.", i + 1);
--    if (out_page(raster, pages, i, log, ld, &pclmtoraster_data,data,
--		 &convert) != 0)
--      break;
--
--    if (log) log(ld, CF_LOGLEVEL_INFO,
--		 "cfFilterPCLmToRaster: Starting page %d.", (i + 1));
--    if (out_page(raster, pages, i, log, ld, &pclmtoraster_data,data,
-+    if (out_page(raster, pages, i, log, ld, &pclmtoraster_data, data,
- 		 &convert) != 0)
-       break;
-   }
--- 
-2.55.0
-

diff --git a/0001-pdftopdf-assume-print-scaling-auto-by-default.-Fixes.patch b/0001-pdftopdf-assume-print-scaling-auto-by-default.-Fixes.patch
deleted file mode 100644
index 478ec05..0000000
--- a/0001-pdftopdf-assume-print-scaling-auto-by-default.-Fixes.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1973c4a959ad0041b07e2f2616bd153e0c218d4d Mon Sep 17 00:00:00 2001
-From: ValdikSS <iam@valdikss.org.ru>
-Date: Tue, 8 Sep 2026 12:13:51 +0300
-Subject: [PATCH] pdftopdf: assume print-scaling=auto by default. Fixes #237
- (#238)
-
-cups-filters 1.x rotate already-landscape documents according to printer
-paper path, and libcupsfilters 2.1.x do the same at least since V2.0rc1,
-where print-scaling=auto was used as default.
-
-Use print-scaling=auto as default for PDFio pdftopdf as well.
----
- cupsfilters/ipp-options.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cupsfilters/ipp-options.c b/cupsfilters/ipp-options.c
-index 27f0a391..d3fed1ae 100644
---- a/cupsfilters/ipp-options.c
-+++ b/cupsfilters/ipp-options.c
-@@ -368,7 +368,7 @@ cfFilterOptionsCreate(size_t num_options,   // I - Number of command-line option
-   ippo->copies                     = 1;
-   ippo->image_orientation          = CF_FILTER_ORIENT_NONE;
-   ippo->multiple_document_handling = CF_FILTER_HANDLING_COLLATED_COPIES;
--  ippo->print_scaling 		   = CF_FILTER_SCALING_NONE;
-+  ippo->print_scaling 		   = CF_FILTER_SCALING_AUTO;
-   ippo->number_up                  = 1;
-   ippo->orientation_requested      = CF_FILTER_ORIENT_NONE;
-   ippo->page_set      		   = CF_FILTER_PAGESET_ALL;
--- 
-2.55.0
-

diff --git a/0001-pdftopdf-keep-annotations-without-an-appearance-from.patch b/0001-pdftopdf-keep-annotations-without-an-appearance-from.patch
deleted file mode 100644
index b86c5d8..0000000
--- a/0001-pdftopdf-keep-annotations-without-an-appearance-from.patch
+++ /dev/null
@@ -1,304 +0,0 @@
-diff --git a/cupsfilters/pdftopdf.c b/cupsfilters/pdftopdf.c
-index f5397f4..48a30a1 100644
---- a/cupsfilters/pdftopdf.c
-+++ b/cupsfilters/pdftopdf.c
-@@ -1521,7 +1521,7 @@ flatten_pdf(xform_prepare_t *p,			// I - Preparation data
-   rotate_val = (int)pdfioDictGetNumber(idict, "Rotate"); 
-   count = pdfioArrayGetSize(annotsArray); 
-   
--  p->annotation_contents = (char**)malloc(count * sizeof(char*)); 
-+  p->annotation_contents = (char**)calloc(count, sizeof(char*)); 
-   
-   int* noAppearanceobjectIndex = (int *)malloc(count * sizeof(int)); 
-   noAppearanceobjectCount = 0; 
-@@ -1766,148 +1766,177 @@ flatten_pdf(xform_prepare_t *p,			// I - Preparation data
-       fprintf(stderr, "ignore annotation with no appearance\n");
-       noAppearanceobjectCount++;
-     } 
--    else 
--    { 
--      char *name = (char *)malloc(sizeof(char) * 32);
--      snprintf(name, 32, "Fxo%d", next_fx);
--
--      pdfio_dict_t *page_resources = pdfioDictGetDict(outpage->pagedict, "Resources");
--      if (!page_resources) 
-+    else
-+    {
-+      // No selected appearance stream (/N).  Link annotations and form
-+      // fields with no appearance have nothing to paint.  This branch used
-+      // to build a Form XObject anyway and register it under a
-+      // heap-allocated name, then free that name.  pdfioDictSetObj() keeps
-+      // the caller's key pointer, so by the time the flattened file was
-+      // written every /XObject key was a dangling pointer.  Reopening the
-+      // file failed and pdftopdf exited 1.  Issue #246.
-+      //
-+      // Text and choice fields that still carry a value are synthesized
-+      // below.  The XObject name is a PDFio-owned string.
-+      const char	*field_type,
-+			*field_value = NULL,
-+			*da_string = NULL;
-+
-+      field_type = pdfioDictGetName(Annot_dict, "FT");
-+      if (field_type && (strcmp(field_type, "Tx") == 0 ||
-+			 strcmp(field_type, "Ch") == 0))
-       {
--	page_resources = pdfioDictCreate(outpage->pdf); 
--	pdfioDictSetDict(outpage->pagedict, "Resources", page_resources);
--      } 
-+	field_value = pdfioDictGetName(Annot_dict, "V");
-+	if (!field_value)
-+	  field_value = pdfioDictGetString(Annot_dict, "V");
- 
--      pdfio_dict_t *xobj_dict = pdfioDictGetDict(page_resources, "XObject");
--      if (!xobj_dict) 
--      { 
--	xobj_dict = pdfioDictCreate(outpage->pdf);
--	pdfioDictSetDict(page_resources, "XObject", xobj_dict);
-+	da_string = pdfioDictGetName(Annot_dict, "DA");
-+	if (!da_string)
-+	  da_string = pdfioDictGetString(Annot_dict, "DA");
-       }
--      
--      pdfio_array_t *procset = pdfioArrayCreate(outpage->pdf);
--      pdfioArrayAppendName(procset, "PDF");   // adds /PDF
--      pdfioArrayAppendName(procset, "Text");  // adds /Text
- 
--      pdfio_dict_t *resources = pdfioDictCreate(outpage->pdf);
--      pdfioDictSetArray(resources, "ProcSet", procset);
-+      if (!field_value || !da_string)
-+      {
-+	fprintf(stderr, "DEBUG: special case ignore annotation with no appearance\n");
-+	noAppearanceobjectIndex[noAppearanceobjectCount] = (int)i;
-+	noAppearanceobjectCount++;
-+      }
-+      else
-+      {
-+	const char	*name;
-+	char		*content;
-+	pdfio_dict_t	*page_resources,
-+			*xobj_dict,
-+			*form_xobj_dict,
-+			*resources;
-+	pdfio_array_t	*procset;
-+	pdfio_obj_t	*form_xobj;
-+	pdfio_rect_t	rect,
-+			bbox;
-+	char		font_key[64];
-+	double		font_size = 10.0;
-+
-+	name = pdfioStringCreatef(outpage->pdf, "Fxo%d", next_fx);
-+	content = name ? special_pdfio_annotation_get_content(Annot_obj, name,
-+			    rotate_val, forbidden_flags, required_flags) : NULL;
-+	if (!name || !content || content[0] == '\0')
-+	{
-+	  free(content);
-+	  fprintf(stderr, "DEBUG: special case ignore annotation with no appearance\n");
-+	  noAppearanceobjectIndex[noAppearanceobjectCount] = (int)i;
-+	  noAppearanceobjectCount++;
-+	}
-+	else
-+	{
-+	  page_resources = pdfioDictGetDict(outpage->pagedict, "Resources");
-+	  if (!page_resources)
-+	  {
-+	    page_resources = pdfioDictCreate(outpage->pdf);
-+	    pdfioDictSetDict(outpage->pagedict, "Resources", page_resources);
-+	  }
-+
-+	  xobj_dict = pdfioDictGetDict(page_resources, "XObject");
-+	  if (!xobj_dict)
-+	  {
-+	    xobj_dict = pdfioDictCreate(outpage->pdf);
-+	    pdfioDictSetDict(page_resources, "XObject", xobj_dict);
-+	  }
- 
--      pdfio_dict_t *form_xobj_dict = pdfioDictCreate(outpage->pdf);
--      pdfioDictSetName(form_xobj_dict, "Type", "XObject");
--      pdfioDictSetName(form_xobj_dict, "Subtype", "Form");
-+	  procset = pdfioArrayCreate(outpage->pdf);
-+	  pdfioArrayAppendName(procset, "PDF");
-+	  pdfioArrayAppendName(procset, "Text");
- 
--      char *content = special_pdfio_annotation_get_content(Annot_obj, name, rotate_val, forbidden_flags, required_flags);
--      p->annotation_contents[i-noAppearanceobjectCount] = content;
-+	  resources = pdfioDictCreate(outpage->pdf);
-+	  pdfioDictSetArray(resources, "ProcSet", procset);
- 
--      // The addition to page xobject should be made only if the content stream is not NULL.
--      if (content && content[0] != '\0')
--      {
--        pdfio_array_t *bbox = pdfioDictGetArray(Annot_dict, "BBox");
--        if (bbox) 
--        { 
--          pdfioDictSetArray(form_xobj_dict, "BBox", pdfioArrayCopy(outpage->pdf, bbox));
--        } 
--        else 
--        { 
--     	  fprintf(stderr, "WARNING: Appearance stream is missing required /BBox.\n");
--	  pdfio_rect_t rect; 
--	    
--	  if (pdfioDictGetRect(Annot_dict, "Rect", &rect)) 
--	  { 
--	    pdfio_rect_t Bbox;
--	    Bbox.x1 = 0;
--	    Bbox.y1 = 0;
--	    Bbox.x2 = rect.x2 - rect.x1;
--	    Bbox.y2 = rect.y2 - rect.y1;
--	    pdfioDictSetRect(form_xobj_dict, "BBox", &Bbox);
--	  } 
--        }
--       
--        pdfio_obj_t *form_xobj = pdfioFileCreateObj(outpage->pdf, form_xobj_dict);
--      
--        const char *field_type = pdfioDictGetName(Annot_dict, "FT");
--        if (field_type && (strcmp(field_type, "Tx") == 0 || strcmp(field_type, "Ch") == 0)) 
--        { 
--     	  const char *field_value = pdfioDictGetName(Annot_dict, "V");
--	  if (!field_value) field_value = pdfioDictGetString(Annot_dict, "V");
-+	  form_xobj_dict = pdfioDictCreate(outpage->pdf);
-+	  pdfioDictSetName(form_xobj_dict, "Type", "XObject");
-+	  pdfioDictSetName(form_xobj_dict, "Subtype", "Form");
-+
-+	  if (!pdfioDictGetRect(Annot_dict, "Rect", &rect))
-+	  {
-+	    rect.x1 = 0.0;
-+	    rect.y1 = 0.0;
-+	    rect.x2 = 0.0;
-+	    rect.y2 = 0.0;
-+	  }
-+	  bbox.x1 = 0.0;
-+	  bbox.y1 = 0.0;
-+	  bbox.x2 = rect.x2 - rect.x1;
-+	  bbox.y2 = rect.y2 - rect.y1;
-+	  pdfioDictSetRect(form_xobj_dict, "BBox", &bbox);
- 
--	  const char *da_string = pdfioDictGetName(Annot_dict, "DA");
--	  if (!da_string) da_string = pdfioDictGetString(Annot_dict, "DA");
-+	  form_xobj = pdfioFileCreateObj(outpage->pdf, form_xobj_dict);
- 
--	  char font_key[64];
--	  double font_size = 10.0;
- 	  if (extractFontDetails(da_string, font_key, sizeof(font_key), &font_size))
--       	  {
--	    pdfio_obj_t *font_obj = NULL;
--	    pdfio_dict_t *page_resource_dict = pdfioDictGetDict(outpage->pagedict, "Resources");
--	    pdfio_dict_t *font_dict = page_resource_dict ? pdfioDictGetDict(page_resource_dict, "Font") : NULL;
--	 
-+	  {
-+	    pdfio_obj_t		*font_obj = NULL;
-+	    pdfio_dict_t	*page_resource_dict,
-+				*font_dict;
-+
-+	    page_resource_dict = pdfioDictGetDict(outpage->pagedict, "Resources");
-+	    font_dict = page_resource_dict ? pdfioDictGetDict(page_resource_dict, "Font") : NULL;
- 	    if (font_dict)
-+	      font_obj = pdfioDictGetObj(font_dict, font_key);
-+
-+	    if (!font_obj)
- 	    {
--              font_obj = pdfioDictGetObj(font_dict, font_key);
--	    } 
--	 
--	    // If font_obj is not found in the page's resources, check the AcroForm's /DR.
--    	    if (!font_obj)
--	    {
--              pdfio_dict_t *catalog = pdfioFileGetCatalog(p->inpdf);
--	      pdfio_dict_t *acroform = catalog ? pdfioDictGetDict(catalog, "AcroForm") : NULL;
--	      pdfio_dict_t *acroform_dr = acroform ? pdfioDictGetDict(acroform, "DR") : NULL;
--	      pdfio_dict_t *acroform_font_dict = acroform_dr ? pdfioDictGetDict(acroform_dr, "Font") : NULL;
-+	      pdfio_dict_t	*catalog,
-+				*acroform,
-+				*acroform_dr,
-+				*acroform_font_dict;
-+
-+	      catalog = pdfioFileGetCatalog(p->inpdf);
-+	      acroform = catalog ? pdfioDictGetDict(catalog, "AcroForm") : NULL;
-+	      acroform_dr = acroform ? pdfioDictGetDict(acroform, "DR") : NULL;
-+	      acroform_font_dict = acroform_dr ? pdfioDictGetDict(acroform_dr, "Font") : NULL;
- 	      if (acroform_font_dict)
--	      {
--                font_obj = pdfioDictGetObj(acroform_font_dict, font_key);
--	      }
-+		font_obj = pdfioDictGetObj(acroform_font_dict, font_key);
- 	    }
- 	    if (font_obj)
- 	    {
--	      // 1. Create the dedicated sub-dictionary for fonts.
- 	      pdfio_dict_t *sub_font_dict = pdfioDictCreate(outpage->pdf);
--	      pdfioDictSetObj(sub_font_dict, font_key, font_obj);
-+
-+	      pdfioDictSetObj(sub_font_dict, pdfioStringCreate(outpage->pdf, font_key), font_obj);
- 	      pdfioDictSetDict(resources, "Font", sub_font_dict);
- 	      pdfioDictSetDict(form_xobj_dict, "Resources", resources);
--	   
--	      fprintf(stderr, "SUCCESS: Font /%s correctly nested in /Resources /Font dictionary.\\n", font_key); 
--	    } 
--	    else
--	    {
--	      fprintf(stderr, "ERROR: Font %s not found in page or AcroForm resources.\\n", font_key);
- 	    }
--       	  }
-+	    else
-+	      fprintf(stderr, "ERROR: Font %s not found in page or AcroForm resources.\n", font_key);
-+	  }
- 
--	  if (field_value && da_string) 
--	  { 
-+	  if (form_xobj)
-+	  {
- 	    pdfio_stream_t *dst_stream = pdfioObjCreateStream(form_xobj, PDFIO_FILTER_NONE);
-+
- 	    if (dst_stream)
- 	    {
--              pdfio_rect_t form_bbox;
--              if (pdfioDictGetRect(form_xobj_dict, "BBox", &form_bbox))
--	      {
--	        double field_height = form_bbox.y2 - form_bbox.y1;
--	        double x = 2.0;
--	        double y = (field_height / 2.0) - (font_size * 0.35);
--
--	        pdfioStreamPuts(dst_stream, "BT\n");
--	        pdfioStreamPrintf(dst_stream, "%s\n", da_string);       // Assuming da_string is safe
--	        pdfioStreamPrintf(dst_stream, "%.2f %.2f Td\n", x, y);
--	        pdfioStreamPrintf(dst_stream, "(%s) Tj\n", field_value);  // The critical fix
--	        pdfioStreamPuts(dst_stream, "ET\n");
-+	      pdfio_rect_t	form_bbox;
-+	      double		field_height,
-+				x,
-+				y;
- 
-+	      if (pdfioDictGetRect(form_xobj_dict, "BBox", &form_bbox))
-+	      {
-+		field_height = form_bbox.y2 - form_bbox.y1;
-+		x = 2.0;
-+		y = (field_height / 2.0) - (font_size * 0.35);
-+		pdfioStreamPuts(dst_stream, "BT\n");
-+		pdfioStreamPrintf(dst_stream, "%s\n", da_string);
-+		pdfioStreamPrintf(dst_stream, "%.2f %.2f Td\n", x, y);
-+		pdfioStreamPrintf(dst_stream, "(%s) Tj\n", field_value);
-+		pdfioStreamPuts(dst_stream, "ET\n");
- 	      }
- 	      pdfioStreamClose(dst_stream);
- 	    }
--	  } 
--        }
--      
--        pdfioDictSetObj(xobj_dict, name, form_xobj);
--        next_fx++; 
-+	  }
-+
-+	  pdfioDictSetObj(xobj_dict, name, form_xobj);
-+	  p->annotation_contents[i - noAppearanceobjectCount] = content;
-+	  next_fx++;
-+	}
-       }
--      
--      //Annot_dict
--      free(name);
--      fprintf(stderr, "DEBUG: special case ignore annotation with no appearance\n");
--      noAppearanceobjectIndex[noAppearanceobjectCount] = i;
--    } 
-+    }
-     if(N_stream)
-       pdfioStreamClose(N_stream);
-   } 

diff --git a/libcupsfilters.spec b/libcupsfilters.spec
index 78fa35d..a1a6557 100644
--- a/libcupsfilters.spec
+++ b/libcupsfilters.spec
@@ -1,42 +1,22 @@
 %global _hardened_build 1
 
-%global upstream_version 2.2.1
+%global commit 3bf18925e58adffe008a155733708e26481640fc
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20261118
 
 %bcond jpegxl %{undefined rhel}
 
 Name: libcupsfilters
 Epoch: 1
-Version: 2.2.1
-Release: 8%{?dist}
+Version: 2.2.1^%{commitdate}.%{shortcommit}
+Release: 1%{?dist}
 Summary: Library for developing printing filters
 # the CUPS exception text is the same as LLVM exception, so using that name with
 # agreement from legal team
 # https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/A7GFSD6M3GYGSI32L2FC5KB22DUAEQI3/
 License: Apache-2.0 WITH LLVM-exception
 URL: https://github.com/OpenPrinting/libcupsfilters
-Source0: %{URL}/releases/download/%{version}/%{name}-%{version}.tar.gz
-
-# https://github.com/OpenPrinting/libcupsfilters/pull/208
-Patch001: 0001-pclmtoraster.c-Fix-getting-MediaBox-from-input.patch
-Patch002: 0001-pclmtoraster.c-Fix-processing-image-in-PCLm.patch
-# https://github.com/OpenPrinting/libcupsfilters/pull/167/commits/a9acdb22cc898076bf6c5d9d20474274ed123458
-Patch003: 0001-Fix-printing-error-pdfio-output-Missing-Root-object..patch
-# https://github.com/OpenPrinting/libcupsfilters/pull/228
-Patch004: 0001-Honor-data-copies-in-cfFilterPDFToPDF.patch
-# fix scaling
-# https://github.com/OpenPrinting/libcupsfilters/pull/238/
-Patch005: 0001-pdftopdf-assume-print-scaling-auto-by-default.-Fixes.patch
-# fix output order and booklet printing
-# https://github.com/OpenPrinting/libcupsfilters/commit/cb82339e748b6c1b0509060526dbd52e74968829
-Patch006: 0001-Fix-minor-errors-this-caused-issue-239.-240.patch
-# https://github.com/OpenPrinting/libcupsfilters/commit/318cd5b581d4261700add229ad23513cd30a0275
-Patch007: 0001-ghostscript-serialize-raster-integer-parameters-as-s.patch
-# https://github.com/OpenPrinting/libcupsfilters/commit/d3043e3c8b32d73c80f98b7c5d59613a9d844d69
-Patch008: 0001-pdftopdf-keep-annotations-without-an-appearance-from.patch
-# https://github.com/OpenPrinting/libcupsfilters/commit/b13e63e80d9c094bc4484dcbc7efd000f21308db
-Patch009: 0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch
-# https://github.com/OpenPrinting/libcupsfilters/commit/ce65eb7455b5
-Patch010: 0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
+Source0: %{URL}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
 
 
 # for generating configure and Makefile scripts in autogen.h
@@ -130,7 +110,7 @@ Development files for OpenPrinting cupsfilters library.
 
 
 %prep
-%autosetup -S git -n %{name}-%{upstream_version}
+%autosetup -S git -n %{name}-%{commit}
 
 
 %build
@@ -222,6 +202,9 @@ rm -f %{buildroot}%{_pkgdocdir}/{LICENSE,COPYING,NOTICE}
 
 
 %changelog
+* Wed Nov 18 2026 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.2.1^%{commitdate}.%{shortcommit}-1
+- migrate to latest upstream git snapshot (fedora#2579625, fedora#2573692, fedora#2573573, fedora#2573434, fedora#2568640)
+
 * Wed Nov 11 2026 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.2.1-8
 - fix copying of indirect page resources in PDF (fixes printing test page)
 

diff --git a/sources b/sources
index dd91d5c..393943d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libcupsfilters-2.2.1.tar.gz) = 9d4b34cd56fa9d6ad1307779458e231e5474fc046edb298d13ba9037574ed91a1ed2f13d479ab0028e1d213dfba867917c503cb926b9e605f74a29037ac026f0
+SHA512 (libcupsfilters-3bf1892.tar.gz) = a805bdcc48111f95fdd82ea790dbf98958a142fd027755d719ceb51e4084a0a3c8e4a49bf1793501e7d7d297a39c8871a99b733fac77736570c7d85caa14630c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 16:50 [rpms/libcupsfilters] f45: migrate to latest upstream git snapshot (fedora#2579625, fedora#2573692, fedora#2573573, fedora#2573434, fedora#2568640) Zdenek Dohnal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox