1 |
commit: f00b7a4185b939068bba108bb889ddba42b65053 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 1 20:04:11 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 1 20:43:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00b7a41 |
7 |
|
8 |
app-text/poppler: Drop 0.77.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.74, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-text/poppler/Manifest | 1 - |
14 |
.../files/poppler-0.71.0-respect-cflags.patch | 31 ----- |
15 |
app-text/poppler/poppler-0.77.0.ebuild | 127 --------------------- |
16 |
3 files changed, 159 deletions(-) |
17 |
|
18 |
diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest |
19 |
index abdff69112a..a7ddc5c03ca 100644 |
20 |
--- a/app-text/poppler/Manifest |
21 |
+++ b/app-text/poppler/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST poppler-0.77.0.tar.xz 1533068 BLAKE2B 9ce7db05bd9d0131f643096b84058e67ba416b34497af5e97c9b6f404131fc72c29ac05e60b77477d16e586df73b306e4a01c113be7ede0cf3956240db889a7f SHA512 7c82cf584541fcbfa7cecdb06be9c4ba6d03479fc248377b874afeab561eac24015915eee566edc35fafe785b9f381f492c1789c070e67a2c1b344879c156040 |
24 |
DIST poppler-0.79.0.tar.xz 1544140 BLAKE2B b5ecf204c5246f640d9f5ca5ffce9648a1a2c957efdb1e31ace9c1ccdff1be85337b67f7c4019b52eefce17e6f5869aa1911a60e54e421b80ddd3b6eec97a0ec SHA512 f0024fb86887e147ec1cbe9481498d348076dbd6b960716da65defab3365c67ab39626f946758dddbe438634a7116773d8ded8684b65e18abbfc299f56563ec9 |
25 |
DIST poppler-0.80.0.tar.xz 1548908 BLAKE2B 09a3b10b1ee6a9de900f7a6ca105e98ec266995c3f6a3d56fbefb7b57851462caa4a16a55081efd8b70d02107d8b7a13a74e316d448290bb3b02286c1778ad86 SHA512 0a0d68168ba4d560941de31cb9e32c6cd7b44025e93cd84ace863ffab5b9ff0356524626cb16fb99c29a897738f2ac5862480fc54d42f8aecd2e3457f11c642f |
26 |
|
27 |
diff --git a/app-text/poppler/files/poppler-0.71.0-respect-cflags.patch b/app-text/poppler/files/poppler-0.71.0-respect-cflags.patch |
28 |
deleted file mode 100644 |
29 |
index e54f7c6390a..00000000000 |
30 |
--- a/app-text/poppler/files/poppler-0.71.0-respect-cflags.patch |
31 |
+++ /dev/null |
32 |
@@ -1,31 +0,0 @@ |
33 |
---- a/cmake/modules/PopplerMacros.cmake 2018-10-21 18:47:56.000000000 +0200 |
34 |
-+++ b/cmake/modules/PopplerMacros.cmake 2018-11-01 10:43:10.898347039 +0100 |
35 |
-@@ -147,28 +147,6 @@ |
36 |
- endif(GCC_HAS_AS_NEEDED) |
37 |
- endif (CMAKE_COMPILER_IS_GNUCXX) |
38 |
- |
39 |
--if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") |
40 |
--# set the default compile warnings |
41 |
-- set(_warn "-Wall -Wextra -Wpedantic") |
42 |
-- set(_warn "${_warn} -Wno-unused-parameter") |
43 |
-- set(_warn "${_warn} -Wcast-align") |
44 |
-- set(_warn "${_warn} -Wformat-security") |
45 |
-- set(_warn "${_warn} -Wframe-larger-than=65536") |
46 |
-- set(_warn "${_warn} -Wmissing-format-attribute") |
47 |
-- set(_warn "${_warn} -Wnon-virtual-dtor") |
48 |
-- set(_warn "${_warn} -Woverloaded-virtual") |
49 |
-- set(_warn "${_warn} -Wmissing-declarations") |
50 |
-- set(_warn "${_warn} -Wundef") |
51 |
-- set(_warn "${_warn} -Wzero-as-null-pointer-constant") |
52 |
-- |
53 |
-- # set extra warnings |
54 |
-- set(_warnx "${_warnx} -Wconversion") |
55 |
-- set(_warnx "${_warnx} -Wshadow") |
56 |
-- |
57 |
-- set(DEFAULT_COMPILE_WARNINGS "${_warn}") |
58 |
-- set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") |
59 |
--endif() |
60 |
-- |
61 |
- if(CMAKE_C_COMPILER MATCHES "icc") |
62 |
- set(_save_cxxflags "${CMAKE_CXX_FLAGS}") |
63 |
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") |
64 |
|
65 |
diff --git a/app-text/poppler/poppler-0.77.0.ebuild b/app-text/poppler/poppler-0.77.0.ebuild |
66 |
deleted file mode 100644 |
67 |
index 4052e96324c..00000000000 |
68 |
--- a/app-text/poppler/poppler-0.77.0.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,127 +0,0 @@ |
71 |
-# Copyright 1999-2019 Gentoo Authors |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI=7 |
75 |
- |
76 |
-inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils |
77 |
- |
78 |
-if [[ ${PV} == *9999* ]] ; then |
79 |
- inherit git-r3 |
80 |
- EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git" |
81 |
- SLOT="0/9999" |
82 |
-else |
83 |
- SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz" |
84 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
85 |
- SLOT="0/88" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION |
86 |
-fi |
87 |
- |
88 |
-DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" |
89 |
-HOMEPAGE="https://poppler.freedesktop.org/" |
90 |
- |
91 |
-LICENSE="GPL-2" |
92 |
-IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" |
93 |
- |
94 |
-# No test data provided |
95 |
-RESTRICT="test" |
96 |
- |
97 |
-BDEPEND=" |
98 |
- dev-util/glib-utils |
99 |
- virtual/pkgconfig |
100 |
-" |
101 |
-DEPEND=" |
102 |
- media-libs/fontconfig |
103 |
- media-libs/freetype |
104 |
- sys-libs/zlib |
105 |
- cairo? ( |
106 |
- dev-libs/glib:2 |
107 |
- x11-libs/cairo |
108 |
- introspection? ( dev-libs/gobject-introspection:= ) |
109 |
- ) |
110 |
- curl? ( net-misc/curl ) |
111 |
- jpeg? ( virtual/jpeg:0 ) |
112 |
- jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= ) |
113 |
- lcms? ( media-libs/lcms:2 ) |
114 |
- nss? ( >=dev-libs/nss-3.19:0 ) |
115 |
- png? ( media-libs/libpng:0= ) |
116 |
- qt5? ( |
117 |
- dev-qt/qtcore:5 |
118 |
- dev-qt/qtgui:5 |
119 |
- dev-qt/qtxml:5 |
120 |
- ) |
121 |
- tiff? ( media-libs/tiff:0 ) |
122 |
-" |
123 |
-RDEPEND="${DEPEND} |
124 |
- cjk? ( app-text/poppler-data ) |
125 |
-" |
126 |
- |
127 |
-DOCS=( AUTHORS NEWS README README-XPDF ) |
128 |
- |
129 |
-PATCHES=( |
130 |
- "${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch" |
131 |
- "${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch" |
132 |
- "${FILESDIR}/${PN}-0.71.0-respect-cflags.patch" |
133 |
- "${FILESDIR}/${PN}-0.61.0-respect-cflags.patch" |
134 |
- "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch" |
135 |
-) |
136 |
- |
137 |
-src_prepare() { |
138 |
- cmake-utils_src_prepare |
139 |
- |
140 |
- # Clang doesn't grok this flag, the configure nicely tests that, but |
141 |
- # cmake just uses it, so remove it if we use clang |
142 |
- if [[ ${CC} == clang ]] ; then |
143 |
- sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die |
144 |
- fi |
145 |
- |
146 |
- if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then |
147 |
- sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \ |
148 |
- -i CMakeLists.txt || die |
149 |
- else |
150 |
- einfo "policy(SET CMP0002 OLD) - workaround can be removed" |
151 |
- fi |
152 |
- |
153 |
- # we need to up the C++ version, bug #622526, #643278 |
154 |
- append-cxxflags -std=c++11 |
155 |
-} |
156 |
- |
157 |
-src_configure() { |
158 |
- xdg_environment_reset |
159 |
- local mycmakeargs=( |
160 |
- -DBUILD_GTK_TESTS=OFF |
161 |
- -DBUILD_QT5_TESTS=OFF |
162 |
- -DBUILD_CPP_TESTS=OFF |
163 |
- -DENABLE_SPLASH=ON |
164 |
- -DENABLE_ZLIB=ON |
165 |
- -DENABLE_ZLIB_UNCOMPRESS=OFF |
166 |
- -DENABLE_UNSTABLE_API_ABI_HEADERS=ON |
167 |
- -DSPLASH_CMYK=OFF |
168 |
- -DUSE_FIXEDPOINT=OFF |
169 |
- -DUSE_FLOAT=OFF |
170 |
- -DWITH_Cairo=$(usex cairo) |
171 |
- -DENABLE_LIBCURL=$(usex curl) |
172 |
- -DENABLE_CPP=$(usex cxx) |
173 |
- -DWITH_JPEG=$(usex jpeg) |
174 |
- -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) |
175 |
- -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) |
176 |
- -DENABLE_CMS=$(usex lcms lcms2 none) |
177 |
- -DWITH_NSS3=$(usex nss) |
178 |
- -DWITH_PNG=$(usex png) |
179 |
- $(cmake-utils_use_find_package qt5 Qt5Core) |
180 |
- -DWITH_TIFF=$(usex tiff) |
181 |
- -DENABLE_UTILS=$(usex utils) |
182 |
- ) |
183 |
- use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) ) |
184 |
- |
185 |
- cmake-utils_src_configure |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- cmake-utils_src_install |
190 |
- |
191 |
- # live version doesn't provide html documentation |
192 |
- if use cairo && use doc && [[ ${PV} != *9999* ]]; then |
193 |
- # For now install gtk-doc there |
194 |
- insinto /usr/share/gtk-doc/html/poppler |
195 |
- doins -r "${S}"/glib/reference/html/* |
196 |
- fi |
197 |
-} |