Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/poppler/
Date: Mon, 02 Nov 2020 14:07:46
Message-Id: 1604326059.9841444f53b75fa895c7b1faad67a2f14cbedced.polynomial-c@gentoo
1 commit: 9841444f53b75fa895c7b1faad67a2f14cbedced
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 14:07:05 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 14:07:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9841444f
7
8 app-text/poppler: Removed old
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-text/poppler/Manifest | 1 -
14 app-text/poppler/poppler-20.09.0.ebuild | 124 --------------------------------
15 2 files changed, 125 deletions(-)
16
17 diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest
18 index 0deb36ba3fe..fd3bca04d4c 100644
19 --- a/app-text/poppler/Manifest
20 +++ b/app-text/poppler/Manifest
21 @@ -1,4 +1,3 @@
22 DIST poppler-0.90.1.tar.xz 1633804 BLAKE2B 5c7256bca74af6cc2732fb6c413bec10ea579f28fe623ccb5d4863c62d39329a4264c240ee0e395a78de577a960a5156ba20f957990c0cde91efcee72dbc2fef SHA512 c0a38c3c40196f8b847f0737152d0cbb40656870a8ceb766134ee22ec7c21bc979a13f56b7596a13ae2f08f1a9a2c396ba7f5ff176d02c262af7e863c2afde34
23 -DIST poppler-20.09.0.tar.xz 1642932 BLAKE2B be61275560bf57c639f185b5ebbd8b37b99fd008412f49890ed644e95f4d8f2c4ca865b081eea99f2604d44fa1c0c31bd551339340f03cb43ab7f5a03992f760 SHA512 fbd57dd0754279d4b0a20ccbdbfb06abc5a5d84e63915676353fd42d5b80318904cf7e6ae462db445ed6c6e011fc24675dccbb8bd3597fc6532657a4ea23406a
24 DIST poppler-20.10.0.tar.xz 1644528 BLAKE2B ce38491805ff8ecb45eea45c44c93ec85404cb310ed6da49d7ce752a4e572abfbd7f5740448d6fb0c0958aa5661ebf87a3a2988bf51b0d0f0b1ea102110952b9 SHA512 edbcd53a06df9a5911a58fd05066e44dc8ab9a1dbc6da852b40bbc5627b9c0fcb35d97f46e3fcd78f7d08f86cba37e2ab3ff81b9a18fad300571df2bf1ef91a9
25 DIST poppler-20.11.0.tar.xz 1648432 BLAKE2B 373464ba60ed84863b40eca2e4f99ebc1625ea06f68a1621165675cf46e70713b649f90630049d15c5c2bc59bd0befb437a4039b47e17509d4fcc4fed8586d53 SHA512 c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
26
27 diff --git a/app-text/poppler/poppler-20.09.0.ebuild b/app-text/poppler/poppler-20.09.0.ebuild
28 deleted file mode 100644
29 index 39d7375ed1b..00000000000
30 --- a/app-text/poppler/poppler-20.09.0.ebuild
31 +++ /dev/null
32 @@ -1,124 +0,0 @@
33 -# Copyright 2005-2020 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 ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 - SLOT="0/102" # 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}-0.60.1-qt5-dependencies.patch"
93 - "${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
94 - "${FILESDIR}/${PN}-0.82.0-respect-cflags.patch"
95 - "${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
96 - "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
97 -)
98 -
99 -src_prepare() {
100 - cmake_src_prepare
101 -
102 - # Clang doesn't grok this flag, the configure nicely tests that, but
103 - # cmake just uses it, so remove it if we use clang
104 - if [[ ${CC} == clang ]] ; then
105 - sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
106 - fi
107 -
108 - if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
109 - sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
110 - -i CMakeLists.txt || die
111 - else
112 - einfo "policy(SET CMP0002 OLD) - workaround can be removed"
113 - fi
114 -}
115 -
116 -src_configure() {
117 - xdg_environment_reset
118 - local mycmakeargs=(
119 - -DBUILD_GTK_TESTS=OFF
120 - -DBUILD_QT5_TESTS=OFF
121 - -DBUILD_CPP_TESTS=OFF
122 - -DRUN_GPERF_IF_PRESENT=OFF
123 - -DENABLE_SPLASH=ON
124 - -DENABLE_ZLIB=ON
125 - -DENABLE_ZLIB_UNCOMPRESS=OFF
126 - -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
127 - -DUSE_FLOAT=OFF
128 - -DWITH_Cairo=$(usex cairo)
129 - -DENABLE_LIBCURL=$(usex curl)
130 - -DENABLE_CPP=$(usex cxx)
131 - -DWITH_JPEG=$(usex jpeg)
132 - -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
133 - -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
134 - -DENABLE_CMS=$(usex lcms lcms2 none)
135 - -DWITH_NSS3=$(usex nss)
136 - -DWITH_PNG=$(usex png)
137 - $(cmake_use_find_package qt5 Qt5Core)
138 - -DWITH_TIFF=$(usex tiff)
139 - -DENABLE_UTILS=$(usex utils)
140 - -DENABLE_QT6=OFF
141 - )
142 - use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
143 -
144 - cmake_src_configure
145 -}
146 -
147 -src_install() {
148 - cmake_src_install
149 -
150 - # live version doesn't provide html documentation
151 - if use cairo && use doc && [[ ${PV} != *9999* ]]; then
152 - # For now install gtk-doc there
153 - insinto /usr/share/gtk-doc/html/poppler
154 - doins -r "${S}"/glib/reference/html/*
155 - fi
156 -}