diff options
author | James Le Cuirot <chewi@gentoo.org> | 2017-12-06 21:42:36 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2017-12-06 21:54:45 +0000 |
commit | 1f77848d5e65908cd118eaa3c3f41039ba0a83ed (patch) | |
tree | fd880f8a454a30a29cd196db4dd7e06678f112f0 /app-text | |
parent | media-libs/openmoiv: New package. Imported from sci overlay. (diff) | |
download | gentoo-1f77848d5e65908cd118eaa3c3f41039ba0a83ed.tar.gz gentoo-1f77848d5e65908cd118eaa3c3f41039ba0a83ed.tar.bz2 gentoo-1f77848d5e65908cd118eaa3c3f41039ba0a83ed.zip |
app-text/jmupdf: Remove last-rited package
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/jmupdf/Manifest | 1 | ||||
-rw-r--r-- | app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch | 27 | ||||
-rw-r--r-- | app-text/jmupdf/files/jmupdf-0.4.1-umlaut.patch | 11 | ||||
-rw-r--r-- | app-text/jmupdf/jmupdf-0.4.1-r1.ebuild | 74 | ||||
-rw-r--r-- | app-text/jmupdf/jmupdf-9999.ebuild | 69 | ||||
-rw-r--r-- | app-text/jmupdf/metadata.xml | 18 |
6 files changed, 0 insertions, 200 deletions
diff --git a/app-text/jmupdf/Manifest b/app-text/jmupdf/Manifest deleted file mode 100644 index c39f1f180851..000000000000 --- a/app-text/jmupdf/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST 2012-02-23-source-jmupdf-0.4.1.7z 4212084 SHA256 cb7311021dce6e1e7425b088f4d60c12f43c0e26eff794b057d78e105cdbbbc0 SHA512 f16190d02f9c3f6fe9aa2acd7bd270b6e807b61e926cd1bc4e17628f2d62a45d0f024c2748e4eb0a20e7da55895289f6c74685cb371e101a0901235a48eb1f42 WHIRLPOOL e8e93d303e925d1c1313d9951b3306d01abcb9ce1bca50fb40054e807c67f0347ee7c2375de11fde4f957f56fdc98e70620698fb3a02ff8a9f651fb6a21ffe86 diff --git a/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch b/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch deleted file mode 100644 index 3eb6a12c5f71..000000000000 --- a/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- jmupdf-0.4.1/jmupdf/build.xml -+++ jmupdf-0.4.1/jmupdf/build.xml -@@ -1,7 +1,7 @@ - <?xml version="1.0" encoding="UTF-8"?>
- <project name="jmupdf" default="jmupdf" basedir=".">
-
-- <property name="source.dir" value="${basedir}/bin"/>
-+ <property name="source.dir" value="${basedir}/src"/>
- <property name="target.dir" value="${basedir}"/>
- <property name="build.dir" value="${basedir}/build"/>
-
-@@ -11,9 +11,12 @@ -
- <mkdir dir="${build.dir}"/>
-
-- <copy todir="${build.dir}">
-- <fileset dir="${source.dir}" includes="**/*"/>
-- </copy>
-+ <javac srcdir="${source.dir}"
-+ includeantruntime="false"
-+ destdir="${build.dir}"
-+ debug="on"
-+ source="1.5"
-+ />
-
- <jar destfile="${build.dir}/jmupdf.jar">
- <manifest>
diff --git a/app-text/jmupdf/files/jmupdf-0.4.1-umlaut.patch b/app-text/jmupdf/files/jmupdf-0.4.1-umlaut.patch deleted file mode 100644 index c53e7bd0d813..000000000000 --- a/app-text/jmupdf/files/jmupdf-0.4.1-umlaut.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- jmupdf-0.4.1/jmupdf/src/com/examples/pdf/convert/Pdf_2_Png.java -+++ jmupdf-0.4.1/jmupdf/src/com/examples/pdf/convert/Pdf_2_Png.java -@@ -26,7 +26,7 @@ - */
- pdfDoc.saveAsPng(
- 1, // Page number
-- "e:\\tmp\\Lösung.png", // PNG file
-+ "e:\\tmp\\Loesung.png", // PNG file
- 2f, // Zoom
- ImageType.IMAGE_TYPE_RGB); // Color space. Only RGB, ARGB & Gray.
-
diff --git a/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild b/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild deleted file mode 100644 index df7924d2755f..000000000000 --- a/app-text/jmupdf/jmupdf-0.4.1-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic java-pkg-2 java-ant-2 multilib -EANT_BUILD_TARGET=${PN} - -DESCRIPTION="Java library for rendering PDF, XPS and CBZ (Comic Book) documents" -HOMEPAGE="https://code.google.com/p/jmupdf/" -SRC_URI="https://jmupdf.googlecode.com/files/2012-02-23-source-${P}.7z" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="system-mupdf" - -REQUIRED_USE="!system-mupdf" - -RDEPEND=" - media-libs/freetype:2 - media-libs/openjpeg:0= - system-mupdf? ( >=app-text/mupdf-1.2 ) - virtual/jdk:1.7 -" -DEPEND="${RDEPEND} - app-arch/p7zip - media-libs/libbmp -" - -S=${WORKDIR}/${PN}/${PN} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-build-xml.patch \ - "${FILESDIR}"/${P}-umlaut.patch - - edos2unix ../mupdf/jni/* - - sed -e "/^JVM_INCLUDES/s:=.*:= $(java-pkg_get-jni-cflags):" \ - -i ../mupdf/MakeJNI2 || die - sed -e "s:-pipe -O2::" \ - -i ../mupdf/Makerules || die - - rm -r ../mupdf/thirdparty || die - if use system-mupdf ; then - for i in android apps cbz cmaps debian draw fitz fonts ios pdf scripts viewer win32 xps ; do - einfo remove mupdf/${i} - rm -r ../mupdf/${i} || die - done - fi -} - -src_compile() { - local system-fitz=$(usex system-mupdf "FITZ_LIB=\"${EROOT}usr/$(get_libdir)/libfitz.so\"" "" ) - emake -C ../mupdf \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - SYS_FREETYPE_INC="$($(tc-getPKG_CONFIG) --cflags freetype2)" \ - "${system-fitz}" \ - JNI_DLL=build/libjmupdf.so \ - JNI_CMD="-shared -Wl,-soname -Wl,lib${PN}.so" \ - build/libjmupdf.so - - java-pkg-2_src_compile -} - -src_install() { - dolib.so ../mupdf/build/lib${PN}.so - - java-pkg_dojar build/${PN}{,-viewer}.jar - - dodoc Readme -} diff --git a/app-text/jmupdf/jmupdf-9999.ebuild b/app-text/jmupdf/jmupdf-9999.ebuild deleted file mode 100644 index a2b0354b57ec..000000000000 --- a/app-text/jmupdf/jmupdf-9999.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic git-2 java-pkg-2 java-ant-2 multilib -EANT_BUILD_TARGET=${PN} - -DESCRIPTION="Java library for rendering PDF, XPS and CBZ (Comic Book) documents" -HOMEPAGE="https://code.google.com/p/jmupdf/" -EGIT_REPO_URI="https://code.google.com/p/${PN}/" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="" -IUSE="system-mupdf" - -REQUIRED_USE="!system-mupdf" - -RDEPEND="system-mupdf? ( >=app-text/mupdf-1.2 ) - virtual/jdk:1.7" -DEPEND="${RDEPEND} - app-arch/p7zip - media-libs/libbmp" - -src_prepare() { - if ! grep javac ${PN}/build.xml >/dev/null ; then - epatch \ - "${FILESDIR}"/${PN}-0.4.1-build-xml.patch - fi - - edos2unix $(find mupdf/jni -type f) - - sed -e "/^JVM_INCLUDES/s:=.*:= $(java-pkg_get-jni-cflags):" \ - -i mupdf/MakeJNI2 || die - sed -e "s:-pipe -O2::" \ - -i mupdf/Makerules || die - - rm -r mupdf/thirdparty || die - if use system-mupdf ; then - for i in android apps cbz cmaps debian draw fitz fonts ios pdf scripts viewer win32 xps ; do - einfo remove mupdf/${i} - rm -r mupdf/${i} || die - done - fi -} - -src_compile() { - #append-cflags -Ijni/includes - emake -C mupdf \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - SYS_FREETYPE_INC="$($(tc-getPKG_CONFIG) --cflags freetype2)" \ - JNI_DLL=build/libjmupdf.so \ - JNI_CMD="-shared -Wl,-soname -Wl,lib${PN}.so" \ - build/libjmupdf.so - - cd ${PN} - java-pkg-2_src_compile -} - -src_install() { - dolib.so mupdf/build/lib${PN}.so - - cd ${PN} - java-pkg_dojar build/${PN}{,-viewer}.jar - - dodoc Readme -} diff --git a/app-text/jmupdf/metadata.xml b/app-text/jmupdf/metadata.xml deleted file mode 100644 index 42a250af9af9..000000000000 --- a/app-text/jmupdf/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> -<email>xmw@gentoo.org</email> -<name>Michael Weber</name> -</maintainer> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -<use> - <flag name="system-mupdf">Link against system version of app-text/mupdf</flag> -</use> -<longdescription> -JMuPdf is a Java library for rendering PDF, XPS and CBZ (Comic Book) documents. It can render pages and export them into various formats as well as generate a Java buffered image. It has the ability to render the whole page or sections (cropping). It can also extract page text, links, outlines, etc. -</longdescription> -</pkgmetadata> |