summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/itext
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/itext')
-rw-r--r--dev-java/itext/Manifest4
-rw-r--r--dev-java/itext/itext-2.1.5-r2.ebuild79
-rw-r--r--dev-java/itext/itext-5.5.4.ebuild48
-rw-r--r--dev-java/itext/metadata.xml22
4 files changed, 153 insertions, 0 deletions
diff --git a/dev-java/itext/Manifest b/dev-java/itext/Manifest
new file mode 100644
index 000000000000..d745f5cc2739
--- /dev/null
+++ b/dev-java/itext/Manifest
@@ -0,0 +1,4 @@
+DIST iText-src-2.1.5.tar.gz 1301652 SHA256 213599606c9b77c064486c3f5335ede99718eb4bc8c00c29a21758ddb67653e4 SHA512 ca6bc9807379923b25e45cf06976c7ddea7ebce5bd418204ca4a6f668cb55fb06ddda2b55d34e78aebd2ae307fc8040bcd702369b5c9da849286dab7f8d474ea WHIRLPOOL ce3067c7c747b2e8f07f63a0e0693bea1025b8cbad09d66912bf2c039e0f4aa9a2a284bcdf7590f604c4afe14ab21815a880b3c3f9ad13cd5584f537da3af4af
+DIST iTextAsian.jar 329741 SHA256 19c8c57b430958ee93d7a7aab61448e1627b9acd2b0735aa0ca33d78404587bc SHA512 fad669829efb9b6d3e5de8b8b6b175058e4aedaf310c1f6991487f3ebea15f2979e401b7969e6388bfc8ba456382d452986505abfc431fca714f471faa70933e WHIRLPOOL b861a2e78e71e2df07e45a2be44ccf21328f4b16b6d4cf17535b205b2592ff5135ba54133e1360547ced983356a60b1fd25e6264ec06d63bf8048439dffa6e48
+DIST iTextAsianCmaps.jar 1696864 SHA256 f7fdbd3c93f7b552d935d8300b6644685beb57e056f1934ed001b50d0b60de6f SHA512 bc5d9b06f405488075d2027fadee72127fdd81f1f362ec1f59ebbd70da61ea62a8a9f1122eec4a3f030fdc72f0f440bed049ca4c3f91206321ca5cfec79a4a85 WHIRLPOOL f68c9bf551f924d1ee531d730b147fa1dcf26ac8effa2c4caacad8b7c8b1b9ac82ac0ce78a3b3a9acf5abfd1cc71c087a2d0506a5e0a75426985b2002b9c71fe
+DIST itext-5.5.4.zip 9765296 SHA256 d4ddf4e5825f2c240641aaf3d7340cc7e6e2318576dc2f523b9da170df005c4f SHA512 bfcbc1de97a94451ac5b486bd02a764ed60d28455aeeecab4e93c6004accd015e61cce2019dc4979e46ef220547e7dfdbbc5d3aaad182f88280cc0053b4681d2 WHIRLPOOL bf7e88c16393df90e0de0ebf17d19088e2120db78bd219fefee251457b2c6dba72a084a10ac547cfc73cd1c074b312193de7c02241681c152a7746ba83d62d64
diff --git a/dev-java/itext/itext-2.1.5-r2.ebuild b/dev-java/itext/itext-2.1.5-r2.ebuild
new file mode 100644
index 000000000000..86bafa80f428
--- /dev/null
+++ b/dev-java/itext/itext-2.1.5-r2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DISTFILE="${PN/it/iT}-src-${PV}.tar.gz"
+ASIANJAR="iTextAsian.jar"
+ASIANCMAPSJAR="iTextAsianCmaps.jar"
+
+DESCRIPTION="A Java library that generate documents in the Portable Document Format (PDF) and/or HTML"
+HOMEPAGE="http://www.lowagie.com/iText/"
+SRC_URI="mirror://sourceforge/itext/${DISTFILE}
+ cjk? ( mirror://sourceforge/itext/${ASIANJAR}
+ mirror://sourceforge/itext/${ASIANCMAPSJAR} )"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="cjk rtf rups"
+
+BCV="1.45"
+
+COMMON_DEPEND="
+ dev-java/bcmail:${BCV}
+ dev-java/bcprov:${BCV}
+ rups? (
+ dev-java/dom4j:1
+ dev-java/pdf-renderer:0
+ )"
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEPEND}
+ >=virtual/jdk-1.5
+ cjk? ( app-arch/unzip )"
+
+S="${WORKDIR}/src"
+
+src_unpack() {
+ unpack ${DISTFILE}
+}
+
+java_prepare() {
+ sed -i -e 's|<link href="http://java.sun.com/j2se/1.4/docs/api/" />||' \
+ -e 's|<link href="http://www.bouncycastle.org/docs/docs1.4/" />||' \
+ "${S}/ant/site.xml"
+
+ java-ant_bsfix_files ant/*.xml || die "failed to rewrite build xml files"
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_ANT_ENCODING="utf8"
+
+src_compile() {
+ EANT_GENTOO_CLASSPATH="bcmail-${BCV},bcprov-${BCV}"
+ use rups && EANT_GENTOO_CLASSPATH+=",dom4j-1,pdf-renderer"
+
+ java-pkg-2_src_compile \
+ $(use rtf && echo "jar.rtf") \
+ $(use rups && echo "jar.rups")
+}
+
+src_install() {
+ cd "${WORKDIR}"
+ java-pkg_dojar lib/iText.jar
+ use rtf && java-pkg_dojar lib/iText-rtf.jar
+ use rups && java-pkg_dojar lib/iText-rups.jar
+ if use cjk; then
+ java-pkg_dojar "${DISTDIR}/${ASIANJAR}"
+ java-pkg_dojar "${DISTDIR}/${ASIANCMAPSJAR}"
+ fi
+
+ use source && java-pkg_dosrc src/core/com src/rups/com
+ use doc && java-pkg_dojavadoc build/docs
+}
diff --git a/dev-java/itext/itext-5.5.4.ebuild b/dev-java/itext/itext-5.5.4.ebuild
new file mode 100644
index 000000000000..0ecabcdebfbe
--- /dev/null
+++ b/dev-java/itext/itext-5.5.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java library that generate documents in the Portable Document Format (PDF) and/or HTML."
+HOMEPAGE="http://itextpdf.com"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
+LICENSE="AGPL-3"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEP="
+ dev-java/bcmail:0
+ >=dev-java/bcprov-1.49:0
+ dev-java/bcpkix:0
+ dev-java/xml-security:0
+"
+
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/unzip"
+
+JAVA_GENTOO_CLASSPATH="bcmail,bcprov,bcpkix,xml-security"
+
+java_prepare() {
+ mkdir source || die
+
+ for x in *-sources.jar; do
+ unzip -n ${x} -d source || die
+ done
+
+ rm -v *.jar || die
+
+ mkdir target/classes/com/itextpdf/text/pdf/fonts -p || die
+ cp source/com/itextpdf/text/pdf/fonts/*{afm,html,txt} target/classes/com/itextpdf/text/pdf/fonts/ || die
+ mkdir target/classes/com/itextpdf/text/l10n/ -p || die
+ cp -r source/com/itextpdf/text/l10n/* target/classes/com/itextpdf/text/l10n/ || die
+}
diff --git a/dev-java/itext/metadata.xml b/dev-java/itext/metadata.xml
new file mode 100644
index 000000000000..73d4832148ee
--- /dev/null
+++ b/dev-java/itext/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>
+ iText is a library that allows you to generate PDF files on
+ the fly. The iText classes are very useful for people who need
+ to generate read-only, platform independent documents
+ containing text, lists, tables and images. The library is
+ especially useful in combination with Java(TM) technology-based
+ Servlets: The look and feel of HTML is browser dependent; with
+ iText and PDF you can control exactly how your servlet's output
+ will look.
+ </longdescription>
+ <use>
+ <flag name="rtf">Build and provide libraries for rich text format</flag>
+ <flag name="rups">Build and provide GUI for Reading/Updating PDF Syntax</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">itext</remote-id>
+ </upstream>
+</pkgmetadata>