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, 03 Aug 2020 12:10:00
Message-Id: 1596456592.a90c5d1ea4b7bcc486683c56c073fbc540a433ba.polynomial-c@gentoo
1 commit: a90c5d1ea4b7bcc486683c56c073fbc540a433ba
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 12:09:42 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 12:09:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90c5d1e
7
8 app-text/poppler: Removed old
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-text/poppler/Manifest | 1 -
14 app-text/poppler/poppler-0.90.0.ebuild | 123 ---------------------------------
15 2 files changed, 124 deletions(-)
16
17 diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest
18 index cab95b868c1..dcada468022 100644
19 --- a/app-text/poppler/Manifest
20 +++ b/app-text/poppler/Manifest
21 @@ -1,5 +1,4 @@
22 DIST poppler-0.88.0.tar.xz 1604348 BLAKE2B 3c78d15871398fb5f2125596f959d98a173de198c8460907be39ca5c5b91a05f0f4048a6ba01b59edb4643c4fdd2333462edf7ab0e0648cd607ffd2deb5a3b18 SHA512 2c4c1333d5bd7411eb6b05fa1c5967b8577798e439a22b2fd119cf7a8e7d519e04b253464c6892d31bae7483a8bda8492755089cef4131f760f95bc3f4e56880
23 DIST poppler-0.89.0.tar.xz 1612156 BLAKE2B 071724f823214f3b3a775a1e6ee57992c18c65815cc139d88953ea3a7b348066981ce7933bd00ea27ddb60bf9f2f34a245bf09944d8cfda9732f0e33feecb017 SHA512 e2af2ab20cc1bba72080d42e229379bda0802aff355d2932dd970ee5924f454577529aef21f0f90fc57efba54caf15cd973c75446f309498f88199d5c2d93f11
24 -DIST poppler-0.90.0.tar.xz 1619960 BLAKE2B 479c89b6e0881c674beb5c760e08e9277df40c08904dcb1bfc1b039e9ca95f3d24d4548017b3d06ac4e1324172b2c9e412db665d6ee1d7ffd11da0f3d0a0b42c SHA512 3b2a45c7fcdc41b0dad80b6454cd8bb50a6625537edbc537898790ef4b6425bb62e1934fd2aaa8565be9c045ab1ac40a8de2e939c5b5abf0254d8e6c833b4450
25 DIST poppler-0.90.1.tar.xz 1633804 BLAKE2B 5c7256bca74af6cc2732fb6c413bec10ea579f28fe623ccb5d4863c62d39329a4264c240ee0e395a78de577a960a5156ba20f957990c0cde91efcee72dbc2fef SHA512 c0a38c3c40196f8b847f0737152d0cbb40656870a8ceb766134ee22ec7c21bc979a13f56b7596a13ae2f08f1a9a2c396ba7f5ff176d02c262af7e863c2afde34
26 DIST poppler-20.08.0.tar.xz 1635372 BLAKE2B ca8829fe031bc9565baea71dd7a565d16160aa26645fdd6b30fa0d26c427f8b9d966766df95ca0c1e98552af2e3104c45721f7111db0bcd47f9f29620d1b37ed SHA512 e3d7d85356c854e298bb96ac8a563d9b97174e07d220eb5e7fe0372354a9105a3a1f6ea16e2a34af09d65c61f5fb349412fa7100e7fdda3c98e5030d82b48679
27
28 diff --git a/app-text/poppler/poppler-0.90.0.ebuild b/app-text/poppler/poppler-0.90.0.ebuild
29 deleted file mode 100644
30 index 7c34ec504ee..00000000000
31 --- a/app-text/poppler/poppler-0.90.0.ebuild
32 +++ /dev/null
33 @@ -1,123 +0,0 @@
34 -# Copyright 2005-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit cmake toolchain-funcs xdg-utils
40 -
41 -if [[ ${PV} == *9999* ]] ; then
42 - inherit git-r3
43 - EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
44 - SLOT="0/9999"
45 -else
46 - SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
47 - 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"
48 - SLOT="0/101" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
49 -fi
50 -
51 -DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
52 -HOMEPAGE="https://poppler.freedesktop.org/"
53 -
54 -LICENSE="GPL-2"
55 -IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
56 -
57 -# No test data provided
58 -RESTRICT="test"
59 -
60 -BDEPEND="
61 - dev-util/glib-utils
62 - virtual/pkgconfig
63 -"
64 -DEPEND="
65 - media-libs/fontconfig
66 - media-libs/freetype
67 - sys-libs/zlib
68 - cairo? (
69 - dev-libs/glib:2
70 - x11-libs/cairo
71 - introspection? ( dev-libs/gobject-introspection:= )
72 - )
73 - curl? ( net-misc/curl )
74 - jpeg? ( virtual/jpeg:0 )
75 - jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
76 - lcms? ( media-libs/lcms:2 )
77 - nss? ( >=dev-libs/nss-3.19:0 )
78 - png? ( media-libs/libpng:0= )
79 - qt5? (
80 - dev-qt/qtcore:5
81 - dev-qt/qtgui:5
82 - dev-qt/qtxml:5
83 - )
84 - tiff? ( media-libs/tiff:0 )
85 -"
86 -RDEPEND="${DEPEND}
87 - cjk? ( app-text/poppler-data )
88 -"
89 -
90 -DOCS=( AUTHORS NEWS README.md README-XPDF )
91 -
92 -PATCHES=(
93 - "${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
94 - "${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
95 - "${FILESDIR}/${PN}-0.82.0-respect-cflags.patch"
96 - "${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
97 - "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
98 -)
99 -
100 -src_prepare() {
101 - cmake_src_prepare
102 -
103 - # Clang doesn't grok this flag, the configure nicely tests that, but
104 - # cmake just uses it, so remove it if we use clang
105 - if [[ ${CC} == clang ]] ; then
106 - sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
107 - fi
108 -
109 - if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
110 - sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
111 - -i CMakeLists.txt || die
112 - else
113 - einfo "policy(SET CMP0002 OLD) - workaround can be removed"
114 - fi
115 -}
116 -
117 -src_configure() {
118 - xdg_environment_reset
119 - local mycmakeargs=(
120 - -DBUILD_GTK_TESTS=OFF
121 - -DBUILD_QT5_TESTS=OFF
122 - -DBUILD_CPP_TESTS=OFF
123 - -DRUN_GPERF_IF_PRESENT=OFF
124 - -DENABLE_SPLASH=ON
125 - -DENABLE_ZLIB=ON
126 - -DENABLE_ZLIB_UNCOMPRESS=OFF
127 - -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
128 - -DUSE_FLOAT=OFF
129 - -DWITH_Cairo=$(usex cairo)
130 - -DENABLE_LIBCURL=$(usex curl)
131 - -DENABLE_CPP=$(usex cxx)
132 - -DWITH_JPEG=$(usex jpeg)
133 - -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
134 - -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
135 - -DENABLE_CMS=$(usex lcms lcms2 none)
136 - -DWITH_NSS3=$(usex nss)
137 - -DWITH_PNG=$(usex png)
138 - $(cmake_use_find_package qt5 Qt5Core)
139 - -DWITH_TIFF=$(usex tiff)
140 - -DENABLE_UTILS=$(usex utils)
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 -}