commit: ff6364e6f18a8a6c9145c71b99bff865152b6861 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Tue Feb 3 08:43:23 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 5 22:54:12 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6364e6
app-text/poppler: fix pkg-config if cairo and introspection are enabled, giscanner is called and PKG_CONFIG must be defined to avoid 'pkg-config' by default. > ERROR: pkg-config: error executing command ['pkg-config', '--cflags', > 'gobject-2.0', 'glib-2.0', 'cairo-gobject', 'gio-2.0', 'gmodule-2.0', > 'gio-unix-2.0']: [Errno 2] No such file or directory: 'pkg-config' Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45612 Closes: https://github.com/gentoo/gentoo/pull/45612 Signed-off-by: Sam James <sam <AT> gentoo.org> app-text/poppler/poppler-26.01.0.ebuild | 4 ++++ app-text/poppler/poppler-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app-text/poppler/poppler-26.01.0.ebuild b/app-text/poppler/poppler-26.01.0.ebuild index b06a28783f13..df1affdf44ac 100644 --- a/app-text/poppler/poppler-26.01.0.ebuild +++ b/app-text/poppler/poppler-26.01.0.ebuild @@ -98,6 +98,10 @@ src_configure() { xdg_environment_reset append-lfs-flags # bug #898506 + # giscanner is called if cairo and introspection are enabled. + # In that case, PKG_CONFIG must be defined. + tc-export PKG_CONFIG + local mycmakeargs=( -DBUILD_GTK_TESTS=OFF -DBUILD_QT5_TESTS=OFF diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 1f544780d681..7d03e1bb41d0 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -97,6 +97,10 @@ src_configure() { xdg_environment_reset append-lfs-flags # bug #898506 + # giscanner is called if cairo and introspection are enabled. + # In that case, PKG_CONFIG must be defined. + tc-export PKG_CONFIG + local mycmakeargs=( -DBUILD_GTK_TESTS=OFF -DBUILD_QT5_TESTS=OFF
