* [gentoo-commits] gentoo-x86 commit in dev-java/itext: itext-2.0.8-r1.ebuild itext-2.1.5-r2.ebuild ChangeLog itext-2.0.8.ebuild itext-2.1.5-r1.ebuild
@ 2013-08-15 13:45 Tom Wijsman (tomwij)
0 siblings, 0 replies; only message in thread
From: Tom Wijsman (tomwij) @ 2013-08-15 13:45 UTC (permalink / raw
To: gentoo-commits
tomwij 13/08/15 13:45:52
Modified: ChangeLog
Added: itext-2.0.8-r1.ebuild itext-2.1.5-r2.ebuild
Removed: itext-2.0.8.ebuild itext-2.1.5-r1.ebuild
Log:
Revision bump. Slotted bcmail and bcprov dependencies. Punted old and broken version.
(Portage version: 2.2.0/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 6D34E57D)
Revision Changes Path
1.94 dev-java/itext/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/ChangeLog?rev=1.94&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/ChangeLog?rev=1.94&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/ChangeLog?r1=1.93&r2=1.94
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- ChangeLog 8 May 2012 12:20:43 -0000 1.93
+++ ChangeLog 15 Aug 2013 13:45:51 -0000 1.94
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/itext
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.93 2012/05/08 12:20:43 sera Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.94 2013/08/15 13:45:51 tomwij Exp $
+
+*itext-2.1.5-r2 (15 Aug 2013)
+*itext-2.0.8-r1 (15 Aug 2013)
+
+ 15 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +itext-2.0.8-r1.ebuild,
+ +itext-2.1.5-r2.ebuild, -itext-2.0.8.ebuild, -itext-2.1.5-r1.ebuild:
+ Revision bump. Slotted bcmail and bcprov dependencies. Punted old and broken
+ version.
*itext-2.1.5-r1 (08 May 2012)
1.1 dev-java/itext/itext-2.0.8-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/itext-2.0.8-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/itext-2.0.8-r1.ebuild?rev=1.1&content-type=text/plain
Index: itext-2.0.8-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-2.0.8-r1.ebuild,v 1.1 2013/08/15 13:45:51 tomwij Exp $
EAPI=1
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A Java library that generate documents in the Portable Document Format (PDF) and/or HTML."
HOMEPAGE="http://www.lowagie.com/iText/"
DISTFILE="${PN/it/iT}-src-${PV}.tar.gz"
ASIANJAR="iTextAsian.jar"
ASIANCMAPSJAR="iTextAsianCmaps.jar"
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"
IUSE="cjk"
BCV="1.38"
COMMON_DEPEND="dev-java/bcmail:${BCV}
dev-java/bcprov:${BCV}"
DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* )
cjk? ( app-arch/unzip )
${COMMON_DEPEND}"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEPEND}"
S=${WORKDIR}
src_unpack() {
mkdir "${WORKDIR}/src" && cd "${WORKDIR}/src"
unpack ${DISTFILE}
if use cjk; then
cp "${DISTDIR}/${ASIANJAR}" "${DISTDIR}/${ASIANCMAPSJAR}" "${S}" || die "Could not copy asian fonts"
fi
epatch "${FILESDIR}"/2.0.8-site_xml.patch
java-ant_bsfix_files ant/*.xml || die "failed to rewrite build xml files"
mkdir -p "${WORKDIR}/lib" || die "Failed to create ${WORKDIR}/lib"
cd "${WORKDIR}/lib" || die "Could not cd ${WORKDIR}/lib"
java-pkg_jar-from bcmail-${BCV} bcmail.jar "bcmail-jdk14-${BCV/./}.jar"
java-pkg_jar-from bcprov-${BCV} bcprov.jar "bcprov-jdk14-${BCV/./}.jar"
}
EANT_BUILD_XML="src/build.xml"
src_install() {
java-pkg_dojar lib/iText.jar
if use cjk; then
java-pkg_dojar "${ASIANJAR}"
java-pkg_dojar "${ASIANCMAPSJAR}"
fi
use source && java-pkg_dosrc src/core/com src/rups/com
use doc && java-pkg_dojavadoc build/docs
}
1.1 dev-java/itext/itext-2.1.5-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/itext-2.1.5-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/itext/itext-2.1.5-r2.ebuild?rev=1.1&content-type=text/plain
Index: itext-2.1.5-r2.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-2.1.5-r2.ebuild,v 1.1 2013/08/15 13:45:51 tomwij Exp $
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-15 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 13:45 [gentoo-commits] gentoo-x86 commit in dev-java/itext: itext-2.0.8-r1.ebuild itext-2.1.5-r2.ebuild ChangeLog itext-2.0.8.ebuild itext-2.1.5-r1.ebuild Tom Wijsman (tomwij)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox