public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zdenek Dohnal <zdohnal@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcupsfilters] rawhide: Drop the unappliable test
Date: Wed, 11 Nov 2026 16:23:22 GMT	[thread overview]
Message-ID: <179441420282.1.10675647576078101326.rpms-libcupsfilters-e4765f7d0a2a@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-11 16:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179441420282.1.10675647576078101326.rpms-libcupsfilters-e4765f7d0a2a@fedoraproject.org \
    --to=zdohnal@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox