diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-07-24 21:25:04 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-07-25 00:55:58 -0700 |
commit | 6e99dcafb6cc2e93356e54eae4c101f664974dff (patch) | |
tree | 141110228ce2b200957e7eaa0d716a2c59e83565 /app-text/poppler | |
parent | dev-python/sqlalchemy: stable 1.4.20 for sparc, bug #803797 (diff) | |
download | gentoo-6e99dcafb6cc2e93356e54eae4c101f664974dff.tar.gz gentoo-6e99dcafb6cc2e93356e54eae4c101f664974dff.tar.bz2 gentoo-6e99dcafb6cc2e93356e54eae4c101f664974dff.zip |
app-text/poppler: Remove IUSE=+splash; Add USE=boost
Upstream poppler removed the configuration knob for the Splash backend
in upstream commit ce0bd9bf6f41 ("Remove ENABLE_SPLASH and HAVE_SPLASH
(always true)"). This commit is included in 21.07, but we go ahead and
remove IUSE=+splash from 21.06 because for example Qt-support relies on
it (see bug #795888).
Enabling Boost is recommended by upstream (see
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1080) because it
enables a "serious performance gain", but if we did that people would
scream.
Closes: https://bugs.gentoo.org/795888
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-text/poppler')
-rw-r--r-- | app-text/poppler/metadata.xml | 2 | ||||
-rw-r--r-- | app-text/poppler/poppler-21.06.1.ebuild | 9 | ||||
-rw-r--r-- | app-text/poppler/poppler-21.07.0.ebuild | 8 | ||||
-rw-r--r-- | app-text/poppler/poppler-9999.ebuild | 8 |
4 files changed, 11 insertions, 16 deletions
diff --git a/app-text/poppler/metadata.xml b/app-text/poppler/metadata.xml index 91f9161a0e05..c2171ad41891 100644 --- a/app-text/poppler/metadata.xml +++ b/app-text/poppler/metadata.xml @@ -21,8 +21,8 @@ <remote-id type="cpe">cpe:/a:freedesktop:poppler</remote-id> </upstream> <use> + <flag name="boost">Use boost::small_vector for a serious performance gain</flag> <flag name="nss">Enable signatures handling with <pkg>dev-libs/nss</pkg></flag> - <flag name="splash">Build the Splash graphics backend (requires <pkg>dev-libs/boost</pkg>)</flag> <flag name="utils">Install command-line PDF converters and various utilities.</flag> </use> <slots> diff --git a/app-text/poppler/poppler-21.06.1.ebuild b/app-text/poppler/poppler-21.06.1.ebuild index 048302fba121..efd4780f0a17 100644 --- a/app-text/poppler/poppler-21.06.1.ebuild +++ b/app-text/poppler/poppler-21.06.1.ebuild @@ -19,7 +19,7 @@ DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" HOMEPAGE="https://poppler.freedesktop.org/" LICENSE="GPL-2" -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 +splash tiff +utils" +IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" # No test data provided RESTRICT="test" @@ -54,7 +54,7 @@ RDEPEND="${DEPEND} cjk? ( app-text/poppler-data ) " DEPEND+=" - splash? ( dev-libs/boost ) + boost? ( dev-libs/boost ) " DOCS=( AUTHORS NEWS README.md README-XPDF ) @@ -90,9 +90,8 @@ src_configure() { -DBUILD_CPP_TESTS=OFF -DBUILD_MANUAL_TESTS=OFF -DRUN_GPERF_IF_PRESENT=OFF - # Required for SPLASH - -DENABLE_BOOST="$(usex splash)" - -DENABLE_SPLASH="$(usex splash)" + -DENABLE_BOOST="$(usex boost)" + -DENABLE_SPLASH=ON -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON diff --git a/app-text/poppler/poppler-21.07.0.ebuild b/app-text/poppler/poppler-21.07.0.ebuild index 5730019c6024..46958229f51c 100644 --- a/app-text/poppler/poppler-21.07.0.ebuild +++ b/app-text/poppler/poppler-21.07.0.ebuild @@ -19,7 +19,7 @@ DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" HOMEPAGE="https://poppler.freedesktop.org/" LICENSE="GPL-2" -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 +splash tiff +utils" +IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" # No test data provided RESTRICT="test" @@ -54,7 +54,7 @@ RDEPEND="${DEPEND} cjk? ( app-text/poppler-data ) " DEPEND+=" - splash? ( dev-libs/boost ) + boost? ( dev-libs/boost ) " DOCS=( AUTHORS NEWS README.md README-XPDF ) @@ -90,9 +90,7 @@ src_configure() { -DBUILD_CPP_TESTS=OFF -DBUILD_MANUAL_TESTS=OFF -DRUN_GPERF_IF_PRESENT=OFF - # Required for SPLASH - -DENABLE_BOOST="$(usex splash)" - -DENABLE_SPLASH="$(usex splash)" + -DENABLE_BOOST="$(usex boost)" -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 048302fba121..a7d99002f542 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -19,7 +19,7 @@ DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" HOMEPAGE="https://poppler.freedesktop.org/" LICENSE="GPL-2" -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 +splash tiff +utils" +IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" # No test data provided RESTRICT="test" @@ -54,7 +54,7 @@ RDEPEND="${DEPEND} cjk? ( app-text/poppler-data ) " DEPEND+=" - splash? ( dev-libs/boost ) + boost? ( dev-libs/boost ) " DOCS=( AUTHORS NEWS README.md README-XPDF ) @@ -90,9 +90,7 @@ src_configure() { -DBUILD_CPP_TESTS=OFF -DBUILD_MANUAL_TESTS=OFF -DRUN_GPERF_IF_PRESENT=OFF - # Required for SPLASH - -DENABLE_BOOST="$(usex splash)" - -DENABLE_SPLASH="$(usex splash)" + -DENABLE_BOOST="$(usex boost)" -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON |