Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/poppler/
Date: Wed, 03 Feb 2021 22:34:01
Message-Id: 1612391626.f7558a1eed407aaa039b82fa42b4d5c289d24d2a.asturm@gentoo
1 commit: f7558a1eed407aaa039b82fa42b4d5c289d24d2a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 3 22:10:05 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 3 22:33:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7558a1e
7
8 app-text/poppler: Drop 20.12.1
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-text/poppler/Manifest | 1 -
14 app-text/poppler/poppler-20.12.1.ebuild | 122 --------------------------------
15 2 files changed, 123 deletions(-)
16
17 diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest
18 index c8710791860..18dd2c7dccf 100644
19 --- a/app-text/poppler/Manifest
20 +++ b/app-text/poppler/Manifest
21 @@ -1,4 +1,3 @@
22 DIST poppler-20.11.0.tar.xz 1648432 BLAKE2B 373464ba60ed84863b40eca2e4f99ebc1625ea06f68a1621165675cf46e70713b649f90630049d15c5c2bc59bd0befb437a4039b47e17509d4fcc4fed8586d53 SHA512 c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
23 -DIST poppler-20.12.1.tar.xz 1660164 BLAKE2B b96198be824dad6bde3ed89cbd05ebae001914c253d1b95321088ee209c73134efbb7f0044aa5d20c07d35b2460f5d17171810f36b873d2542e4bc93f423273f SHA512 a7ede8b11ce73c724fc54bc1e522ecfedaff65a08265c5faee4645765f1d6670a35abf67e57bdebacfd01b2071f1c532a04b9e302939a500fea9185f6e8226d0
24 DIST poppler-21.01.0.tar.xz 1680536 BLAKE2B 5f8d283cd26f4713c09b0c102dd3295bc7ae1c2ad2ba0f51d12fdaed5f89a864d98d10be7176e17c5613aa4579da3bea1aca56aff3cec4e5c53e977a1e84659f SHA512 aec130446df73a2fc66851a563a14cb40299212a2de4a0d03668b0fecb28312fffa70d0a82431c774d0c0e3f7293788bd2bdf28c8136aa09ad80edbca4cf0ddd
25 DIST poppler-21.02.0.tar.xz 1684496 BLAKE2B f62399a70baa0af36abd9bf7f5bc69003fcdc9b668a64475a6373dbdd9885092a8beb42f887eafdafac5ee17e9aac5b610bad1c9a64af8112e72c82f47e6a304 SHA512 3964990749f38f4468b244c579ff1f2dab7357dfddecb3035d14d3aaeac6ee4be42e76b4a1cc1a8cf53715518def9e92cc59d08c1e22592ced00a9c948989035
26
27 diff --git a/app-text/poppler/poppler-20.12.1.ebuild b/app-text/poppler/poppler-20.12.1.ebuild
28 deleted file mode 100644
29 index d9ca7649018..00000000000
30 --- a/app-text/poppler/poppler-20.12.1.ebuild
31 +++ /dev/null
32 @@ -1,122 +0,0 @@
33 -# Copyright 2005-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake toolchain-funcs xdg-utils
39 -
40 -if [[ ${PV} == *9999* ]] ; then
41 - inherit git-r3
42 - EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
43 - SLOT="0/9999"
44 -else
45 - SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
46 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 - SLOT="0/105" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
48 -fi
49 -
50 -DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
51 -HOMEPAGE="https://poppler.freedesktop.org/"
52 -
53 -LICENSE="GPL-2"
54 -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
55 -
56 -# No test data provided
57 -RESTRICT="test"
58 -
59 -BDEPEND="
60 - dev-util/glib-utils
61 - virtual/pkgconfig
62 -"
63 -DEPEND="
64 - media-libs/fontconfig
65 - media-libs/freetype
66 - sys-libs/zlib
67 - cairo? (
68 - dev-libs/glib:2
69 - x11-libs/cairo
70 - introspection? ( dev-libs/gobject-introspection:= )
71 - )
72 - curl? ( net-misc/curl )
73 - jpeg? ( virtual/jpeg:0 )
74 - jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
75 - lcms? ( media-libs/lcms:2 )
76 - nss? ( >=dev-libs/nss-3.19:0 )
77 - png? ( media-libs/libpng:0= )
78 - qt5? (
79 - dev-qt/qtcore:5
80 - dev-qt/qtgui:5
81 - dev-qt/qtxml:5
82 - )
83 - tiff? ( media-libs/tiff:0 )
84 -"
85 -RDEPEND="${DEPEND}
86 - cjk? ( app-text/poppler-data )
87 -"
88 -
89 -DOCS=( AUTHORS NEWS README.md README-XPDF )
90 -
91 -PATCHES=(
92 - "${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
93 - "${FILESDIR}/${PN}-20.12.0-respect-cflags.patch"
94 - "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
95 -)
96 -
97 -src_prepare() {
98 - cmake_src_prepare
99 -
100 - # Clang doesn't grok this flag, the configure nicely tests that, but
101 - # cmake just uses it, so remove it if we use clang
102 - if [[ ${CC} == clang ]] ; then
103 - sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
104 - fi
105 -
106 - if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
107 - sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
108 - -i CMakeLists.txt || die
109 - else
110 - einfo "policy(SET CMP0002 OLD) - workaround can be removed"
111 - fi
112 -}
113 -
114 -src_configure() {
115 - xdg_environment_reset
116 - local mycmakeargs=(
117 - -DBUILD_GTK_TESTS=OFF
118 - -DBUILD_QT5_TESTS=OFF
119 - -DBUILD_CPP_TESTS=OFF
120 - -DRUN_GPERF_IF_PRESENT=OFF
121 - -DENABLE_SPLASH=ON
122 - -DENABLE_ZLIB=ON
123 - -DENABLE_ZLIB_UNCOMPRESS=OFF
124 - -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
125 - -DUSE_FLOAT=OFF
126 - -DWITH_Cairo=$(usex cairo)
127 - -DENABLE_LIBCURL=$(usex curl)
128 - -DENABLE_CPP=$(usex cxx)
129 - -DWITH_JPEG=$(usex jpeg)
130 - -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
131 - -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
132 - -DENABLE_CMS=$(usex lcms lcms2 none)
133 - -DWITH_NSS3=$(usex nss)
134 - -DWITH_PNG=$(usex png)
135 - $(cmake_use_find_package qt5 Qt5Core)
136 - -DWITH_TIFF=$(usex tiff)
137 - -DENABLE_UTILS=$(usex utils)
138 - -DENABLE_QT6=OFF
139 - )
140 - use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
141 -
142 - cmake_src_configure
143 -}
144 -
145 -src_install() {
146 - cmake_src_install
147 -
148 - # live version doesn't provide html documentation
149 - if use cairo && use doc && [[ ${PV} != *9999* ]]; then
150 - # For now install gtk-doc there
151 - insinto /usr/share/gtk-doc/html/poppler
152 - doins -r "${S}"/glib/reference/html/*
153 - fi
154 -}