1 |
commit: bb5d2536ee9fe7736ec040306021ff09a347cc4f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 04:39:20 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 04:39:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5d2536 |
7 |
|
8 |
app-text/podofo: Remove 0.9.6_p20200526 |
9 |
|
10 |
This version broke scribus builds as reported in bug 728090. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/717792 |
13 |
Bug: https://bugs.gentoo.org/728090 |
14 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
15 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
16 |
|
17 |
app-text/podofo/Manifest | 1 - |
18 |
app-text/podofo/podofo-0.9.6_p20200526.ebuild | 141 -------------------------- |
19 |
2 files changed, 142 deletions(-) |
20 |
|
21 |
diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest |
22 |
index b23fb02c554..9e65b16b6c0 100644 |
23 |
--- a/app-text/podofo/Manifest |
24 |
+++ b/app-text/podofo/Manifest |
25 |
@@ -1,3 +1,2 @@ |
26 |
DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff SHA512 4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f |
27 |
DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d SHA512 b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc |
28 |
-DIST podofo-0.9.6_p20200526.tar.xz 752264 BLAKE2B 52eb40a63e8462b6d1f975c76c2112b93ae98c19ad6cb65906bef018e99a3d92e26781cee9d4ef1c4de74779db7eca6589c320849be84b70c20d5c7d988c0a49 SHA512 7baa58c9a524ccc5aa954bd5fe891b9add8b8f4ec29e3ebbc1c8a467d2787e6c3f9e4652db08e50cb4c28a73691215947940634975e292ec01fb57e2e45efbe4 |
29 |
|
30 |
diff --git a/app-text/podofo/podofo-0.9.6_p20200526.ebuild b/app-text/podofo/podofo-0.9.6_p20200526.ebuild |
31 |
deleted file mode 100644 |
32 |
index 058f8499ab0..00000000000 |
33 |
--- a/app-text/podofo/podofo-0.9.6_p20200526.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,141 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
-inherit cmake-utils flag-o-matic multilib toolchain-funcs |
41 |
- |
42 |
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format" |
43 |
-HOMEPAGE="https://sourceforge.net/projects/podofo/" |
44 |
-SRC_URI="https://dev.gentoo.org/~zmedico/dist/podofo-0.9.6_p20200526.tar.xz" |
45 |
- |
46 |
-LICENSE="GPL-2 LGPL-2.1" |
47 |
-SLOT="0/${PV%_*}" |
48 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
49 |
-IUSE="+boost idn libressl debug test +tools" |
50 |
-RESTRICT="test" |
51 |
-REQUIRED_USE="test? ( tools )" |
52 |
- |
53 |
-RDEPEND="dev-lang/lua:= |
54 |
- idn? ( net-dns/libidn:= ) |
55 |
- !libressl? ( dev-libs/openssl:0= ) |
56 |
- libressl? ( dev-libs/libressl:0= ) |
57 |
- media-libs/fontconfig:= |
58 |
- media-libs/freetype:2= |
59 |
- virtual/jpeg:0= |
60 |
- media-libs/libpng:0= |
61 |
- media-libs/tiff:0= |
62 |
- sys-libs/zlib:=" |
63 |
-DEPEND="${RDEPEND} |
64 |
- virtual/pkgconfig |
65 |
- boost? ( dev-util/boost-build ) |
66 |
- test? ( dev-util/cppunit )" |
67 |
- |
68 |
-DOCS="AUTHORS ChangeLog TODO" |
69 |
- |
70 |
-src_prepare() { |
71 |
- cmake-utils_src_prepare |
72 |
- local x sed_args |
73 |
- |
74 |
- if use libressl; then |
75 |
- sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef PODOFO_HAVE_OPENSSL_1_1:' \ |
76 |
- -i tools/podofosign/podofosign.cpp || die #663602 |
77 |
- fi |
78 |
- |
79 |
- # bug 620934 - Disable linking with cppunit when possible, since it |
80 |
- # triggers errors with some older compilers. |
81 |
- use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || die |
82 |
- |
83 |
- # bug 556962 |
84 |
- sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \ |
85 |
- test/unit/EncryptTest.cpp || die |
86 |
- |
87 |
- sed -i \ |
88 |
- -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ |
89 |
- -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \ |
90 |
- CMakeLists.txt || die |
91 |
- |
92 |
- # Use pkg-config to find headers for bug #459404. |
93 |
- sed_args= |
94 |
- for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do |
95 |
- [[ ${x} == -I* ]] || continue |
96 |
- x=${x#-I} |
97 |
- if [[ -f ${x}/ft2build.h ]] ; then |
98 |
- sed_args+=" -e s:/usr/include/\\r\$:${x}:" |
99 |
- elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then |
100 |
- sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:" |
101 |
- fi |
102 |
- done |
103 |
- [[ -n ${sed_args} ]] && \ |
104 |
- { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; } |
105 |
- |
106 |
- # Bug #439784: Add missing unistd include for close() and unlink(). |
107 |
- sed -i 's:^#include <stdio.h>$:#include <unistd.h>\n\0:' -i \ |
108 |
- test/unit/TestUtils.cpp || die |
109 |
- |
110 |
- # TODO: fix these test cases |
111 |
- # ColorTest.cpp:62:Assertion |
112 |
- # Test name: ColorTest::testDefaultConstructor |
113 |
- # expected exception not thrown |
114 |
- # - Expected: PdfError |
115 |
- sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \ |
116 |
- -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \ |
117 |
- -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \ |
118 |
- -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \ |
119 |
- -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \ |
120 |
- -e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \ |
121 |
- -e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \ |
122 |
- -e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \ |
123 |
- -i test/unit/ColorTest.h || die |
124 |
- |
125 |
- # ColorTest.cpp:42:Assertion |
126 |
- # Test name: ColorTest::testHexNames |
127 |
- # assertion failed |
128 |
- # - Expression: static_cast<int>(rgb.GetGreen() * 255.0) == 0x0A |
129 |
- sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \ |
130 |
- -i test/unit/ColorTest.h || die |
131 |
- |
132 |
- # Bug #352125: test failure, depending on installed fonts |
133 |
- # ##Failure Location unknown## : Error |
134 |
- # Test name: FontTest::testFonts |
135 |
- # uncaught exception of type PoDoFo::PdfError |
136 |
- # - ePdfError_UnsupportedFontFormat |
137 |
- sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \ |
138 |
- -i test/unit/FontTest.h || die |
139 |
- |
140 |
- # Test name: EncodingTest::testDifferencesEncoding |
141 |
- # equality assertion failed |
142 |
- # - Expected: 1 |
143 |
- # - Actual : 0 |
144 |
- sed -e 's:CPPUNIT_TEST( testDifferencesEncoding ://\0:' \ |
145 |
- -i test/unit/EncodingTest.h || die |
146 |
- |
147 |
- # Bug #407015: fix to compile with Lua 5.2 |
148 |
- if has_version '>=dev-lang/lua-5.2' ; then |
149 |
- sed -e 's: lua_open(: luaL_newstate(:' \ |
150 |
- -e 's: luaL_getn(: lua_rawlen(:' -i \ |
151 |
- tools/podofocolor/luaconverter.cpp \ |
152 |
- tools/podofoimpose/planreader_lua.cpp || die |
153 |
- fi |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- |
158 |
- # Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()' |
159 |
- filter-flags -fvisibility-inlines-hidden |
160 |
- |
161 |
- mycmakeargs+=( |
162 |
- "-DPODOFO_BUILD_SHARED=1" |
163 |
- "-DPODOFO_HAVE_JPEG_LIB=1" |
164 |
- "-DPODOFO_HAVE_PNG_LIB=1" |
165 |
- "-DPODOFO_HAVE_TIFF_LIB=1" |
166 |
- "-DWANT_FONTCONFIG=1" |
167 |
- "-DUSE_STLPORT=0" |
168 |
- -DWANT_BOOST=$(usex boost ON OFF) |
169 |
- -DHAVE_LIBIDN=$(usex idn ON OFF) |
170 |
- -DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF) |
171 |
- -DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON) |
172 |
- ) |
173 |
- |
174 |
- cmake-utils_src_configure |
175 |
- mkdir -p "${S}/test/TokenizerTest/objects" || die |
176 |
-} |