Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphite2/
Date: Fri, 28 Apr 2017 20:42:47
Message-Id: 1493412150.53476037a802c817330818220bdf49f312681683.dilfridge@gentoo
1 commit: 53476037a802c817330818220bdf49f312681683
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 28 20:42:30 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 28 20:42:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53476037
7
8 media-gfx/graphite2: Remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 media-gfx/graphite2/Manifest | 1 -
13 media-gfx/graphite2/graphite2-1.3.5.ebuild | 105 -------------------------
14 media-gfx/graphite2/graphite2-1.3.9.ebuild | 119 -----------------------------
15 3 files changed, 225 deletions(-)
16
17 diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest
18 index 4c32de69042..a86e8f76d8a 100644
19 --- a/media-gfx/graphite2/Manifest
20 +++ b/media-gfx/graphite2/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST graphite2-1.3.5.tgz 3880214 SHA256 f4712626eda0a1804367133460770560b545bbe75b1c4aab480c9b8e4e1c64bd SHA512 70e85ff44d63dcca6beb55aa68966888453610c4ec1fca0d0986910a8f396ad64fd0b9f393270fd403c93e7e5d45cdc134c3965f47761cd40cd659b92b8abcec WHIRLPOOL 90f5e9858c63f9c452b8457dc5dac9cb78d319dd2bfd13207bbe7e73b60dbfa701be5c17cabe4e11ce2d1be8e0054c23186834425f40d614a1002c3eff2bdcc5
23 DIST graphite2-1.3.8.tgz 3885841 SHA256 9f3f25b3a8495ce0782e77f69075c0dd9b7c054847b9bf9ff130bec38f4c8cc2 SHA512 df8a3a7b67b356092fe8d4f62b7cd6d45ee7fe2b614699b0f8b29dc2441e00675021fdaec24cef4629c5294b33d6b269d596bc869fae8257f8f2e935c9db3639 WHIRLPOOL 88420608db053bd4d66b852a54eeb19359910c786ef1785e303e68f0d0d5b840b4a5cdcb7e17ae6c2064563d02b03a7be43ae203184218a8ac4d9dd40c17c56f
24 DIST graphite2-1.3.9.tgz 3889102 SHA256 ec0185b663059553fd46e8c4a4f0dede60a02f13a7a1fefc2ce70332ea814567 SHA512 6585a2b69b8226d6e9ba9ef67d94497b24f09b7ca64357c5455c276cf6f0dd3eb7fc05f5fbc79d0bb5e62ecd44e9e19bc4f4c20f7a1d9d6eeb2f89f67af5f1ac WHIRLPOOL b0ca8ca8b79319cf8806c4e0ee4bf61b240c6537c66cd57d191d74e2001b2eeb91ab19db3bf28aaddb9ab916e3f073fefd51bba3cb96f6b2ebde5a28c0bf3ea1
25
26 diff --git a/media-gfx/graphite2/graphite2-1.3.5.ebuild b/media-gfx/graphite2/graphite2-1.3.5.ebuild
27 deleted file mode 100644
28 index beca8d2a5db..00000000000
29 --- a/media-gfx/graphite2/graphite2-1.3.5.ebuild
30 +++ /dev/null
31 @@ -1,105 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -PYTHON_COMPAT=( python2_7 )
38 -
39 -GENTOO_DEPEND_ON_PERL="no"
40 -inherit eutils perl-module python-any-r1 cmake-multilib
41 -
42 -DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
43 -HOMEPAGE="http://graphite.sil.org/"
44 -SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
49 -IUSE="perl test"
50 -
51 -RDEPEND="
52 - perl? ( dev-lang/perl:= )
53 -"
54 -DEPEND="${RDEPEND}
55 - perl? (
56 - dev-perl/Module-Build
57 - dev-perl/Locale-Maketext-Lexicon
58 - )
59 - test? (
60 - dev-libs/glib:2
61 - media-libs/fontconfig
62 - media-libs/silgraphite
63 - ${PYTHON_DEPS}
64 - perl? ( virtual/perl-Test-Simple )
65 - )
66 -"
67 -
68 -PATCHES=(
69 - "${FILESDIR}/${PN}-1.3.5-includes-libs-perl.patch"
70 -)
71 -
72 -# tests fail, especially on multilib systems, fixed in 1.3.5-r1 but needs additional dependencies
73 -RESTRICT=test
74 -
75 -pkg_setup() {
76 - use perl && perl_set_version
77 - use test && python-any-r1_pkg_setup
78 -}
79 -
80 -src_prepare() {
81 - cmake-utils_src_prepare
82 -
83 - # make tests optional
84 - if ! use test; then
85 - sed -i \
86 - -e '/tests/d' \
87 - CMakeLists.txt || die
88 - fi
89 -}
90 -
91 -multilib_src_configure() {
92 - local mycmakeargs=(
93 - "-DVM_MACHINE_TYPE=direct"
94 - # https://sourceforge.net/p/silgraphite/bugs/49/
95 - $([[ ${CHOST} == powerpc*-apple* ]] && \
96 - echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON")
97 - )
98 -
99 - cmake-utils_src_configure
100 -
101 - # fix perl linking
102 - if multilib_is_native_abi && use perl; then
103 - _cmake_check_build_dir init
104 - sed -i \
105 - -e "s:@BUILD_DIR@:\"${BUILD_DIR}/src\":" \
106 - "${S}"/contrib/perl/Build.PL || die
107 - fi
108 -}
109 -
110 -src_compile() {
111 - cmake-multilib_src_compile
112 - if use perl; then
113 - cd contrib/perl || die
114 - perl-module_src_configure
115 - perl-module_src_compile
116 - fi
117 -}
118 -
119 -src_test() {
120 - cmake-multilib_src_test
121 - if use perl; then
122 - cd contrib/perl || die
123 - perl-module_src_test
124 - fi
125 -}
126 -
127 -src_install() {
128 - cmake-multilib_src_install
129 - if use perl; then
130 - cd contrib/perl || die
131 - perl-module_src_install
132 - perl_delete_localpod
133 - fi
134 -
135 - prune_libtool_files --all
136 -}
137
138 diff --git a/media-gfx/graphite2/graphite2-1.3.9.ebuild b/media-gfx/graphite2/graphite2-1.3.9.ebuild
139 deleted file mode 100644
140 index 53ecb168480..00000000000
141 --- a/media-gfx/graphite2/graphite2-1.3.9.ebuild
142 +++ /dev/null
143 @@ -1,119 +0,0 @@
144 -# Copyright 1999-2016 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=6
148 -
149 -PYTHON_COMPAT=( python2_7 )
150 -
151 -GENTOO_DEPEND_ON_PERL="no"
152 -inherit eutils perl-module python-any-r1 cmake-multilib
153 -
154 -DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
155 -HOMEPAGE="http://graphite.sil.org/"
156 -SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
157 -
158 -LICENSE="LGPL-2.1"
159 -SLOT="0"
160 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
161 -IUSE="perl test"
162 -
163 -RDEPEND="
164 - perl? ( dev-lang/perl:= )
165 -"
166 -DEPEND="${RDEPEND}
167 - perl? (
168 - dev-perl/Module-Build
169 - dev-perl/Locale-Maketext-Lexicon
170 - )
171 - test? (
172 - dev-libs/glib:2
173 - media-libs/fontconfig
174 - media-libs/silgraphite
175 - $(python_gen_any_dep '
176 - dev-python/fonttools[${PYTHON_USEDEP}]
177 - ')
178 - ${PYTHON_DEPS}
179 - perl? ( virtual/perl-Test-Simple )
180 - )
181 -"
182 -
183 -PATCHES=(
184 - "${FILESDIR}/${PN}-1.3.5-includes-libs-perl.patch"
185 -)
186 -
187 -pkg_setup() {
188 - use perl && perl_set_version
189 - use test && python-any-r1_pkg_setup
190 -}
191 -
192 -python_check_deps() {
193 - has_version "dev-python/fonttools[${PYTHON_USEDEP}]"
194 -}
195 -
196 -src_prepare() {
197 - cmake-utils_src_prepare
198 -
199 - # make tests optional
200 - if ! use test; then
201 - sed -i \
202 - -e '/tests/d' \
203 - CMakeLists.txt || die
204 - fi
205 -}
206 -
207 -multilib_src_configure() {
208 - local mycmakeargs=(
209 - "-DVM_MACHINE_TYPE=direct"
210 - # https://sourceforge.net/p/silgraphite/bugs/49/
211 - $([[ ${CHOST} == powerpc*-apple* ]] && \
212 - echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON")
213 - )
214 -
215 - cmake-utils_src_configure
216 -
217 - # fix perl linking
218 - if multilib_is_native_abi && use perl; then
219 - # we rely on the fact that cmake-utils_src_configure sets BUILD_DIR
220 - sed -i \
221 - -e "s:@BUILD_DIR@:\"${BUILD_DIR}/src\":" \
222 - "${S}"/contrib/perl/Build.PL || die
223 - fi
224 -}
225 -
226 -src_compile() {
227 - cmake-multilib_src_compile
228 - if use perl; then
229 - cd contrib/perl || die
230 - perl-module_src_configure
231 - perl-module_src_compile
232 - fi
233 -}
234 -
235 -multilib_src_test() {
236 - if multilib_is_native_abi; then
237 - cmake-utils_src_test
238 - else
239 - einfo Cannot test since python is not multilib.
240 - fi
241 -}
242 -
243 -src_test() {
244 - cmake-multilib_src_test
245 - if use perl; then
246 - # Perl tests fail due to missing POD coverage...
247 - perl_rm_files "contrib/perl/t/pod.t" "contrib/perl/t/pod-coverage.t"
248 - cd contrib/perl || die
249 - perl-module_src_test
250 - fi
251 -}
252 -
253 -src_install() {
254 - cmake-multilib_src_install
255 - if use perl; then
256 - cd contrib/perl || die
257 - perl-module_src_install
258 - perl_delete_localpod
259 - fi
260 -
261 - prune_libtool_files --all
262 -}