public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcupsfilters] rawhide: libcupsfilters-devel requires pdfio-devel
@ 2026-11-10 11:17 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-10 11:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libcupsfilters
Branch : rawhide
Commit : 2aa849693fe1a351ea18f7c4c37048f2ef891860
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-09T13:33:29-05:00
Stats : +40/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libcupsfilters/c/2aa849693fe1a351ea18f7c4c37048f2ef891860?branch=rawhide
Log:
libcupsfilters-devel requires pdfio-devel
As of 2.2.0, libcupsfilters not only uses pdfio internally, but exports its
types in its headers. This fixes rebuilds of libppd.
https://github.com/OpenPrinting/libcupsfilters/commit/b13e63e80d9c094bc4484dcbc7efd000f21308db
---
diff --git a/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch b/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch
new file mode 100644
index 0000000..b283b94
--- /dev/null
+++ b/0001-libcupsfilters.pc-Add-pdfio-as-public-Requires-dep.patch
@@ -0,0 +1,34 @@
+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/libcupsfilters.spec b/libcupsfilters.spec
index 15ecb77..32e74f1 100644
--- a/libcupsfilters.spec
+++ b/libcupsfilters.spec
@@ -7,7 +7,7 @@
Name: libcupsfilters
Epoch: 1
Version: 2.2.1
-Release: 6%{?dist}
+Release: 7%{?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
@@ -33,6 +33,8 @@ Patch006: 0001-Fix-minor-errors-this-caused-issue-239.-240.patch
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
# for generating configure and Makefile scripts in autogen.h
@@ -218,6 +220,9 @@ rm -f %{buildroot}%{_pkgdocdir}/{LICENSE,COPYING,NOTICE}
%changelog
+* Mon Nov 09 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1:2.2.1-7
+- libcupsfilters-devel requires pdfio-devel
+
* Mon Nov 09 2026 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.2.1-6
- pdftopdf exits with status 1 after Key 'N' not found messages (fedora#2568601)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 11:17 [rpms/libcupsfilters] rawhide: libcupsfilters-devel requires pdfio-devel Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox