public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcupsfilters] rawhide: Drop the unappliable test
@ 2026-11-11 16:23 Zdenek Dohnal
  0 siblings, 0 replies; only message in thread
From: Zdenek Dohnal @ 2026-11-11 16:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libcupsfilters
Branch : rawhide
Commit : e4765f7d0a2a1c622516a0baf6441094db17cd21
Author : Zdenek Dohnal <zdohnal@redhat.com>
Date   : 2026-11-11T17:23:17+01:00
Stats  : +0/-45 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libcupsfilters/c/e4765f7d0a2a1c622516a0baf6441094db17cd21?branch=rawhide

Log:
Drop the unappliable test

---
diff --git a/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch b/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
index bd78d51..6f4ddd5 100644
--- a/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
+++ b/0001-bannertopdf-preserve-indirect-page-resources-when-ad.patch
@@ -58,51 +58,6 @@ index 252f85b8..2645a593 100644
    return 1;
  }
 -
-diff --git a/cupsfilters/test-bannertopdf-unicode.c b/cupsfilters/test-bannertopdf-unicode.c
-index 9e40dfc6..a9877f9d 100644
---- a/cupsfilters/test-bannertopdf-unicode.c
-+++ b/cupsfilters/test-bannertopdf-unicode.c
-@@ -106,7 +106,7 @@ main(int argc, char *argv[])
- {
-   pdfio_file_t *pdf;
-   pdfio_obj_t *page;
--  pdfio_dict_t *resources, *fonts, *unicode_font;
-+  pdfio_dict_t *resources, *fonts, *unicode_font, *xobjects;
-   char *contents;
-   int status = 1;
- 
-@@ -137,6 +137,15 @@ main(int argc, char *argv[])
-     goto done;
-   }
- 
-+  if ((xobjects = get_dict(resources, "XObject")) == NULL ||
-+      pdfioDictGetObj(xobjects, "x6") == NULL ||
-+      pdfioDictGetObj(xobjects, "x7") == NULL ||
-+      pdfioDictGetObj(xobjects, "x8") == NULL)
-+  {
-+    fputs("Template image resources were not preserved.\n", stderr);
-+    goto done;
-+  }
-+
-   if (get_dict(fonts, "bannertopdf-font") == NULL)
-   {
-     fputs("Courier banner font resource is missing.\n", stderr);
-@@ -182,6 +191,15 @@ main(int argc, char *argv[])
-     goto done;
-   }
- 
-+  if (!strstr(contents, "/x6 Do") ||
-+      !strstr(contents, "/x7 Do") ||
-+      !strstr(contents, "/x8 Do"))
-+  {
-+    fputs("Template image drawing commands were not preserved.\n", stderr);
-+    free(contents);
-+    goto done;
-+  }
-+
-   if (!strstr(contents, "Office \\(Floor 2\\) \\\\ Queue"))
-   {
-     fputs("ASCII PDF literal string escaping is incorrect.\n", stderr);
 -- 
 2.56.0
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 16:23 [rpms/libcupsfilters] rawhide: Drop the unappliable test Zdenek Dohnal

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