diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-14 17:23:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-14 17:25:57 +0200 |
commit | 305f3c4136b7a57be67d73bf833d9a70a718ee8a (patch) | |
tree | d7ce31cf6f5de712953dbedd9a117aa6ed8598e5 /dev-java | |
parent | dev-java/groovy: Remove last-rited pkg (diff) | |
download | gentoo-305f3c4136b7a57be67d73bf833d9a70a718ee8a.tar.gz gentoo-305f3c4136b7a57be67d73bf833d9a70a718ee8a.tar.bz2 gentoo-305f3c4136b7a57be67d73bf833d9a70a718ee8a.zip |
dev-java/flyingsaucer: Remove last-rited pkg
Bug: https://bugs.gentoo.org/607720
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/flyingsaucer/Manifest | 1 | ||||
-rw-r--r-- | dev-java/flyingsaucer/files/7-itext-2.0.8.patch | 61 | ||||
-rw-r--r-- | dev-java/flyingsaucer/flyingsaucer-7-r2.ebuild | 75 | ||||
-rw-r--r-- | dev-java/flyingsaucer/metadata.xml | 14 |
4 files changed, 0 insertions, 151 deletions
diff --git a/dev-java/flyingsaucer/Manifest b/dev-java/flyingsaucer/Manifest deleted file mode 100644 index 16e8d5504dca..000000000000 --- a/dev-java/flyingsaucer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flyingsaucer-R7final-src.zip 7058444 BLAKE2B 30c9b13cc376a5ef3c215908cc09a77a00f8d7c3d4217b46591e112dc1803ff3497ce30e1747bf8c97c691162a41276d581138797f862a29243080e8ece9d3f8 SHA512 14c26a10f3493f3b9fc1fe5d3d11591cf4c09d781d1d2cccf5de15d4b5a0108f8780e168c32968338b82c7929cb083cc47aab539c53d140860505ff0e05f9135 diff --git a/dev-java/flyingsaucer/files/7-itext-2.0.8.patch b/dev-java/flyingsaucer/files/7-itext-2.0.8.patch deleted file mode 100644 index 33b4ea37b994..000000000000 --- a/dev-java/flyingsaucer/files/7-itext-2.0.8.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff -u -r src.old/java/org/xhtmlrenderer/pdf/ITextFSImage.java src/java/org/xhtmlrenderer/pdf/ITextFSImage.java ---- src.old/java/org/xhtmlrenderer/pdf/ITextFSImage.java 2008-10-23 19:46:53.000000000 +0300 -+++ src/java/org/xhtmlrenderer/pdf/ITextFSImage.java 2008-10-23 19:48:05.000000000 +0300 -@@ -31,11 +31,11 @@ - } - - public int getWidth() { -- return (int)_image.plainWidth(); -+ return (int)_image.getPlainWidth(); - } - - public int getHeight() { -- return (int)_image.plainHeight(); -+ return (int)_image.getPlainHeight(); - } - - public void scale(int width, int height) { -diff -u -r src.old/java/org/xhtmlrenderer/pdf/ITextRenderer.java src/java/org/xhtmlrenderer/pdf/ITextRenderer.java ---- src.old/java/org/xhtmlrenderer/pdf/ITextRenderer.java 2008-10-23 19:46:53.000000000 +0300 -+++ src/java/org/xhtmlrenderer/pdf/ITextRenderer.java 2008-10-23 19:48:56.000000000 +0300 -@@ -234,7 +234,7 @@ - - _outputDevice.start(_doc); - _outputDevice.setWriter(writer); -- _outputDevice.initializePage(writer.getDirectContent(), firstPageSize.height()); -+ _outputDevice.initializePage(writer.getDirectContent(), firstPageSize.getHeight()); - - _root.getLayer().assignPagePaintingPositions(c, Layer.PAGED_MODE_PRINT); - -@@ -254,7 +254,7 @@ - doc.setPageSize(nextPageSize); - doc.newPage(); - _outputDevice.initializePage( -- writer.getDirectContent(), nextPageSize.height()); -+ writer.getDirectContent(), nextPageSize.getHeight()); - } - } - -diff -u -r src.old/java/org/xhtmlrenderer/pdf/ITextUserAgent.java src/java/org/xhtmlrenderer/pdf/ITextUserAgent.java ---- src.old/java/org/xhtmlrenderer/pdf/ITextUserAgent.java 2008-10-23 19:46:53.000000000 +0300 -+++ src/java/org/xhtmlrenderer/pdf/ITextUserAgent.java 2008-10-23 19:50:00.000000000 +0300 -@@ -60,8 +60,8 @@ - PdfReader reader = _outputDevice.getReader(url); - PDFAsImage image = new PDFAsImage(url); - Rectangle rect = reader.getPageSizeWithRotation(1); -- image.setInitialWidth(rect.width()*_outputDevice.getDotsPerPoint()); -- image.setInitialHeight(rect.height()*_outputDevice.getDotsPerPoint()); -+ image.setInitialWidth(rect.getWidth()*_outputDevice.getDotsPerPoint()); -+ image.setInitialHeight(rect.getHeight()*_outputDevice.getDotsPerPoint()); - resource = new ImageResource(image); - } else { - Image image = Image.getInstance(url); -@@ -84,7 +84,7 @@ - - private void scaleToOutputResolution(Image image) { - float factor = _sharedContext.getDotsPerPixel(); -- image.scaleAbsolute(image.plainWidth() * factor, image.plainHeight() * factor); -+ image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); - } - - public SharedContext getSharedContext() { diff --git a/dev-java/flyingsaucer/flyingsaucer-7-r2.ebuild b/dev-java/flyingsaucer/flyingsaucer-7-r2.ebuild deleted file mode 100644 index f12bb7a33986..000000000000 --- a/dev-java/flyingsaucer/flyingsaucer-7-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="100% Java XHTML+CSS renderer" -HOMEPAGE="https://xhtmlrenderer.dev.java.net/" -SRC_URI="http://www.pdoubleya.com/projects/${PN}/downloads/r${PV}/${PN}-R${PV}final-src.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="minimal svg ${JAVA_PKG_IUSE}" - -COMMON_DEP=" - >=dev-java/itext-2.0.8:0 - svg? ( dev-java/svgsalamander:0 )" - -# 1.5 because svgsalamander is 1.5 -RDEPEND=" - svg? ( >=virtual/jre-1.5 ) - !svg? ( >=virtual/jre-1.4 ) - ${COMMON_DEP}" - -DEPEND=" - svg? ( >=virtual/jdk-1.5 ) - !svg? ( >=virtual/jdk-1.4 ) - app-arch/unzip - ${COMMON_DEP}" - -S="${WORKDIR}" - -java_prepare() { - epatch "${FILESDIR}"/7-itext-2.0.8.patch - - # Save lib/minium.jar because it's not publicly available although it's in - # public domain, will separate if something else needs it - rm -v lib/itext*.jar lib/dev/*.jar lib/dev/*/*.jar || die - - cd lib || die - java-pkg_jar-from itext - - if use svg; then - java-pkg_jar-from svgsalamander - EANT_BUILD_TARGET+=" jar.svg" - fi - - use minimal || EANT_BUILD_TARGET=" jar.docbook jar.about jar.browser" -} - -# Investigate building demos/photogallery demos/filebrowser because -# the files seem to be missing for jar.photogaller jar.filebrowser -EANT_BUILD_TARGET="jar.core" -EANT_DOC_TARGET="docs" - -RESTRICT="test" - -# Needs X11. -src_test() { - eant test -Djava.awt.headless=true -} - -src_install() { - java-pkg_dojar build/*.jar lib/minium.jar - - dodoc README || die - - use doc && java-pkg_dojavadoc doc/user/api - use source && java-pkg_dosrc src/java/org -} diff --git a/dev-java/flyingsaucer/metadata.xml b/dev-java/flyingsaucer/metadata.xml deleted file mode 100644 index 41a479ba55e2..000000000000 --- a/dev-java/flyingsaucer/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <longdescription lang="en"> - Flying Saucer is a 100% Java XHTML+CSS renderer, including support - for table pagination, margin boxes, running elements, named pages, - and more. - </longdescription> -</pkgmetadata> |