Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/fontbox/files/, dev-java/fontbox/
Date: Mon, 09 May 2022 17:21:45
Message-Id: 1652116881.0a1f468fa995e0aafc4376ed867cb99dd1397539.arthurzam@gentoo
1 commit: 0a1f468fa995e0aafc4376ed867cb99dd1397539
2 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
3 AuthorDate: Thu May 5 16:30:21 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 17:21:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1f468f
7
8 dev-java/fontbox: drop 1.7.1-r1, 1.7.1-r2
9
10 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 dev-java/fontbox/Manifest | 1 -
14 dev-java/fontbox/files/fontbox-1.7.1-build.xml | 250 -------------------------
15 dev-java/fontbox/fontbox-1.7.1-r1.ebuild | 50 -----
16 dev-java/fontbox/fontbox-1.7.1-r2.ebuild | 61 ------
17 4 files changed, 362 deletions(-)
18
19 diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest
20 index 8da187270c9b..dcc7f67ef612 100644
21 --- a/dev-java/fontbox/Manifest
22 +++ b/dev-java/fontbox/Manifest
23 @@ -1,5 +1,4 @@
24 DIST DejaVuSansMono.ttf 317336 BLAKE2B c80f50cea451963a75c66160596b67655afb19c9ea0d61b8a5cd38b81c66bdd89a24872d293fa8752b1ce0bb828d63caf91e682c283312d5828218943c63c095 SHA512 1af1ce3e6d34a0b89c93072d8646e92cceb45b276389d2dd0d84457ec1193394d2bcc49bf3ce99c9c6b2658cd1337fc40ee5c61957f74cd45dbc3d51b6aef417
25 DIST NotoEmoji-Regular.ttf 418804 BLAKE2B e94f7b1d5bced052ff3f15a32ecce8f0f1dc2ef19565d3bcaa75b82676fbf0efeaa6efa1d25edf352b577acce17a45c6f0e7be1550c46a8c2ab6cef208cd6f11 SHA512 51b01ab0794be9f92c59679f6d56d4ce09ed959daeb9ec945bb837eb15a82ab302e83b29aab1972ac9cb648f7196a5f5ff4488a4622b36bedbc9cd0cab6dc3de
26 DIST SourceSansProBold.otf 104072 BLAKE2B 2c6538ed97cca04a6a38a1bcca7def6c9e923f0e7a773c2715d50ca1a526b1ff683bc6544155b1e170fb828c3923d6b22cdf7017f9da9de164523f328c1cc187 SHA512 28a044a2685fbc8da7810d9ac7b6b93a95542d504d7d8e671f009b8ebb2f5b70c974be7ea78974b188d8e6ab17d65b08f276c054927857315d5aad26f6fe36fc
27 -DIST fontbox-1.7.1.zip 9167805 BLAKE2B f9e02d1540eaf7e4bb748906e56887494d81eecc88685fa9d758cb50712a530528573f4a7e5f816b4ff57d664a416b35444517d840c9b37239ec1e2b5a62b5a1 SHA512 8b2af3d8f431626c106e4f6e9e1d59d14abcd58cfdc9553f20c5057eef9f9cfbd0287e14e58e4d34472ad81198eb3f4d0a2fd6e88bd1fa5cbcf01e4befbf77d0
28 DIST pdfbox-2.0.24-src.zip 15651754 BLAKE2B 5d0220c28c2be18a66aa66c2540d3e1d85ecc6826f632e6c9a0193f2f02dca645909b0a54c707d856bb2886d52b0b5fb706503b4f89f0eb7aede8e612bebfa8e SHA512 5d55b3cadbbae266d90c47f5b10c9b09b6dc16f53b77a0cf15c78e62fc69afc7b6eab5a4329608ecdf25de9194b38db1f7d23e7d71af473cc1bf7b09b0028642
29
30 diff --git a/dev-java/fontbox/files/fontbox-1.7.1-build.xml b/dev-java/fontbox/files/fontbox-1.7.1-build.xml
31 deleted file mode 100644
32 index ccde1983d680..000000000000
33 --- a/dev-java/fontbox/files/fontbox-1.7.1-build.xml
34 +++ /dev/null
35 @@ -1,250 +0,0 @@
36 -<?xml version="1.0" encoding="UTF-8"?>
37 -
38 -<!-- ====================================================================== -->
39 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
40 -<!-- ====================================================================== -->
41 -
42 -<!-- ====================================================================== -->
43 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
44 -<!-- ====================================================================== -->
45 -<!-- -->
46 -<!-- Any modifications will be overwritten. -->
47 -<!-- -->
48 -<!-- Generated by Maven Ant Plugin on 8/2/12 1:39 PM -->
49 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
50 -<!-- -->
51 -<!-- ====================================================================== -->
52 -
53 -<project name="fontbox-from-maven" default="package" basedir=".">
54 -
55 - <!-- ====================================================================== -->
56 - <!-- Build environment properties -->
57 - <!-- ====================================================================== -->
58 -
59 - <property file="${user.home}/.m2/maven.properties"/>
60 - <property file="maven-build.properties"/>
61 -
62 - <property name="maven.build.finalName" value="fontbox-1.7.1"/>
63 - <property name="maven.build.dir" value="target"/>
64 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
65 - <property name="maven.build.srcDir.0" value="src/main/java"/>
66 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
67 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
68 - <property name="maven.build.testDir.0" value="src/test/java"/>
69 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
70 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
71 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
72 -
73 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
74 - <property name="maven.settings.offline" value="false"/>
75 - <property name="maven.settings.interactiveMode" value="true"/>
76 -
77 - <!-- ====================================================================== -->
78 - <!-- Defining classpaths -->
79 - <!-- ====================================================================== -->
80 -
81 - <path id="build.classpath"/>
82 - <path id="build.test.classpath">
83 - <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/>
84 - </path>
85 -
86 - <!-- ====================================================================== -->
87 - <!-- Cleaning up target -->
88 - <!-- ====================================================================== -->
89 -
90 - <target name="clean" description="Clean the output directory">
91 - <delete dir="${maven.build.dir}"/>
92 - </target>
93 -
94 - <!-- ====================================================================== -->
95 - <!-- Compilation target -->
96 - <!-- ====================================================================== -->
97 -
98 - <target name="compile" depends="get-deps" description="Compile the code">
99 - <mkdir dir="${maven.build.outputDir}"/>
100 - <javac destdir="${maven.build.outputDir}"
101 - nowarn="false"
102 - debug="true"
103 - optimize="false"
104 - deprecation="true"
105 - target="1.5"
106 - verbose="false"
107 - fork="false"
108 - source="1.5">
109 - <src>
110 - <pathelement location="${maven.build.srcDir.0}"/>
111 - </src>
112 - <classpath refid="build.classpath"/>
113 - </javac>
114 - </target>
115 -
116 - <!-- ====================================================================== -->
117 - <!-- Test-compilation target -->
118 - <!-- ====================================================================== -->
119 -
120 - <target name="compile-tests"
121 - depends="compile"
122 - description="Compile the test code"
123 - unless="maven.test.skip">
124 - <mkdir dir="${maven.build.testOutputDir}"/>
125 - <javac destdir="${maven.build.testOutputDir}"
126 - nowarn="false"
127 - debug="true"
128 - optimize="false"
129 - deprecation="true"
130 - target="1.5"
131 - verbose="false"
132 - fork="false"
133 - source="1.5">
134 - <src>
135 - <pathelement location="${maven.build.testDir.0}"/>
136 - </src>
137 - <classpath>
138 - <path refid="build.test.classpath"/>
139 - <pathelement location="${maven.build.outputDir}"/>
140 - </classpath>
141 - </javac>
142 - <copy todir="${maven.build.testOutputDir}">
143 - <fileset dir="${maven.build.testResourceDir.0}"/>
144 - </copy>
145 - </target>
146 -
147 - <!-- ====================================================================== -->
148 - <!-- Run all tests -->
149 - <!-- ====================================================================== -->
150 -
151 - <target name="test"
152 - depends="compile-tests, junit-missing"
153 - unless="junit.skipped"
154 - description="Run the test cases">
155 - <mkdir dir="${maven.test.reports}"/>
156 - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
157 - <sysproperty key="basedir" value="."/>
158 - <formatter type="xml"/>
159 - <formatter type="plain" usefile="false"/>
160 - <classpath>
161 - <path refid="build.test.classpath"/>
162 - <pathelement location="${maven.build.outputDir}"/>
163 - <pathelement location="${maven.build.testOutputDir}"/>
164 - </classpath>
165 - <batchtest todir="${maven.test.reports}" unless="test">
166 - <fileset dir="${maven.build.testDir.0}">
167 - <include name="**/Test*.java"/>
168 - <include name="**/*Test.java"/>
169 - <include name="**/*TestCase.java"/>
170 - <exclude name="**/*Abstract*Test.java"/>
171 - </fileset>
172 - </batchtest>
173 - <batchtest todir="${maven.test.reports}" if="test">
174 - <fileset dir="${maven.build.testDir.0}">
175 - <include name="**/${test}.java"/>
176 - <exclude name="**/*Abstract*Test.java"/>
177 - </fileset>
178 - </batchtest>
179 - </junit>
180 - </target>
181 -
182 - <target name="test-junit-present">
183 - <available classname="junit.framework.Test" property="junit.present"/>
184 - </target>
185 -
186 - <target name="test-junit-status"
187 - depends="test-junit-present">
188 - <condition property="junit.missing">
189 - <and>
190 - <isfalse value="${junit.present}"/>
191 - <isfalse value="${maven.test.skip}"/>
192 - </and>
193 - </condition>
194 - <condition property="junit.skipped">
195 - <or>
196 - <isfalse value="${junit.present}"/>
197 - <istrue value="${maven.test.skip}"/>
198 - </or>
199 - </condition>
200 - </target>
201 -
202 - <target name="junit-missing"
203 - depends="test-junit-status"
204 - if="junit.missing">
205 - <echo>=================================== WARNING ===================================</echo>
206 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
207 - <echo>===============================================================================</echo>
208 - </target>
209 -
210 - <!-- ====================================================================== -->
211 - <!-- Javadoc target -->
212 - <!-- ====================================================================== -->
213 -
214 - <target name="javadoc" description="Generates the Javadoc of the application">
215 - <javadoc sourcepath="${maven.build.srcDir.0}"
216 - packagenames="*"
217 - destdir="${maven.reporting.outputDirectory}/apidocs"
218 - access="protected"
219 - old="false"
220 - verbose="false"
221 - version="true"
222 - use="true"
223 - author="true"
224 - splitindex="false"
225 - nodeprecated="false"
226 - nodeprecatedlist="false"
227 - notree="false"
228 - noindex="false"
229 - nohelp="false"
230 - nonavbar="false"
231 - serialwarn="false"
232 - charset="ISO-8859-1"
233 - source="1.5"
234 - linksource="false"
235 - breakiterator="false">
236 - <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
237 - </javadoc>
238 - </target>
239 -
240 - <!-- ====================================================================== -->
241 - <!-- Package target -->
242 - <!-- ====================================================================== -->
243 -
244 - <target name="package" depends="compile,test" description="Package the application">
245 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
246 - compress="true"
247 - index="false"
248 - basedir="${maven.build.outputDir}"
249 - excludes="**/package.html">
250 - </jar>
251 - </target>
252 -
253 - <!-- ====================================================================== -->
254 - <!-- A dummy target for the package named after the type it creates -->
255 - <!-- ====================================================================== -->
256 -
257 - <target name="jar" depends="package" description="Builds the jar for the application"/>
258 -
259 - <!-- ====================================================================== -->
260 - <!-- Download dependencies target -->
261 - <!-- ====================================================================== -->
262 -
263 - <target name="test-offline">
264 - <condition property="maven.mode.offline">
265 - <equals arg1="${maven.settings.offline}" arg2="true"/>
266 - </condition>
267 - </target>
268 -
269 - <target name="get-deps"
270 - depends="test-offline"
271 - description="Download all dependencies"
272 - unless="maven.mode.offline">
273 - <mkdir dir="${maven.repo.local}"/>
274 - <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/>
275 - <get src="http://repository.apache.org/snapshots/junit/junit/4.8.1/junit-4.8.1.jar"
276 - dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"
277 - usetimestamp="false"
278 - ignoreerrors="true"/>
279 - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar"
280 - dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"
281 - usetimestamp="false"
282 - ignoreerrors="true"/>
283 - </target>
284 -
285 -</project>
286
287 diff --git a/dev-java/fontbox/fontbox-1.7.1-r1.ebuild b/dev-java/fontbox/fontbox-1.7.1-r1.ebuild
288 deleted file mode 100644
289 index d2cd213f9ef4..000000000000
290 --- a/dev-java/fontbox/fontbox-1.7.1-r1.ebuild
291 +++ /dev/null
292 @@ -1,50 +0,0 @@
293 -# Copyright 1999-2018 Gentoo Foundation
294 -# Distributed under the terms of the GNU General Public License v2
295 -
296 -EAPI=6
297 -
298 -JAVA_PKG_IUSE="doc source test"
299 -
300 -inherit java-pkg-2 java-ant-2
301 -
302 -MY_PN="pdfbox"
303 -MY_P="${MY_PN}-${PV}"
304 -
305 -DESCRIPTION="An open source Java library for parsing font files"
306 -HOMEPAGE="https://pdfbox.apache.org/"
307 -SRC_URI="https://archive.apache.org/dist/pdfbox/${PV}/${MY_P}-src.zip -> ${P}.zip"
308 -
309 -LICENSE="BSD"
310 -SLOT="1.7"
311 -KEYWORDS="amd64 ~arm64 ppc64 x86 ~x64-macos"
312 -
313 -RDEPEND="
314 - >=virtual/jre-1.6"
315 -
316 -DEPEND="
317 - >=virtual/jdk-1.6
318 - test? (
319 - dev-java/ant-junit:0
320 - dev-java/junit:4
321 - )"
322 -
323 -S="${WORKDIR}/${MY_P}/${PN}"
324 -
325 -JAVA_ANT_REWRITE_CLASSPATH="yes"
326 -EANT_TEST_GENTOO_CLASSPATH="junit-4"
327 -
328 -src_prepare() {
329 - default
330 - cp -v "${FILESDIR}/${P}-build.xml" build.xml || die
331 -}
332 -
333 -src_test() {
334 - java-pkg-2_src_test
335 -}
336 -
337 -src_install() {
338 - java-pkg_newjar target/${P}.jar ${PN}.jar
339 -
340 - use doc && java-pkg_dojavadoc target/site/apidocs
341 - use source && java-pkg_dosrc src/main/java/org
342 -}
343
344 diff --git a/dev-java/fontbox/fontbox-1.7.1-r2.ebuild b/dev-java/fontbox/fontbox-1.7.1-r2.ebuild
345 deleted file mode 100644
346 index 6125efbc8ddb..000000000000
347 --- a/dev-java/fontbox/fontbox-1.7.1-r2.ebuild
348 +++ /dev/null
349 @@ -1,61 +0,0 @@
350 -# Copyright 1999-2022 Gentoo Authors
351 -# Distributed under the terms of the GNU General Public License v2
352 -
353 -EAPI=8
354 -
355 -JAVA_PKG_IUSE="doc source test"
356 -
357 -inherit java-pkg-2 java-ant-2
358 -
359 -MY_PN="pdfbox"
360 -MY_P="${MY_PN}-${PV}"
361 -
362 -DESCRIPTION="An open source Java library for parsing font files"
363 -HOMEPAGE="https://pdfbox.apache.org/"
364 -SRC_URI="https://archive.apache.org/dist/pdfbox/${PV}/${MY_P}-src.zip -> ${P}.zip"
365 -
366 -LICENSE="BSD"
367 -SLOT="1.7"
368 -KEYWORDS="~amd64 ~arm64 ppc64 ~x86 ~x64-macos"
369 -
370 -RDEPEND="
371 - >=virtual/jre-1.8:*"
372 -
373 -DEPEND="
374 - >=virtual/jdk-1.8:*
375 - test? (
376 - dev-java/ant-junit:0
377 - dev-java/junit:4
378 - )"
379 -
380 -BDEPEND="
381 - app-arch/unzip"
382 -
383 -S="${WORKDIR}/${MY_P}/${PN}"
384 -
385 -JAVA_ANT_REWRITE_CLASSPATH="yes"
386 -EANT_TEST_GENTOO_CLASSPATH="junit-4"
387 -
388 -src_prepare() {
389 - default
390 - cp -v "${FILESDIR}/${P}-build.xml" build.xml || die
391 -}
392 -
393 -src_test() {
394 - # junit.framework.AssertionFailedError:
395 - # No tests found in org.apache.fontbox.cff.Type1CharStringTest
396 - rm src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java || die
397 -
398 - # junit.framework.AssertionFailedError:
399 - # No tests found in org.apache.fontbox.cff.Type1FontUtilTest
400 - rm src/test/java/org/apache/fontbox/cff/Type1FontUtilTest.java || die
401 -
402 - java-pkg-2_src_test
403 -}
404 -
405 -src_install() {
406 - java-pkg_newjar target/${P}.jar ${PN}.jar
407 -
408 - use doc && java-pkg_dojavadoc target/site/apidocs
409 - use source && java-pkg_dosrc src/main/java/org
410 -}