summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-19 13:51:41 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-19 13:51:41 +0000
commit473d293fdf3f9b60ca87d93687ed690adbfcdd82 (patch)
tree17693bdeb442c1fa8dd15e8b985b161efe0b28f0 /dev-java
parentGet iText.jar via java-pkg_getjar to prevent problems with newly added itext ... (diff)
downloadhistorical-473d293fdf3f9b60ca87d93687ed690adbfcdd82.tar.gz
historical-473d293fdf3f9b60ca87d93687ed690adbfcdd82.tar.bz2
historical-473d293fdf3f9b60ca87d93687ed690adbfcdd82.zip
Add cjk useflag that downloads and installs Asian fonts and cmaps.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/itext/ChangeLog5
-rw-r--r--dev-java/itext/Manifest24
-rw-r--r--dev-java/itext/files/digest-itext-2.0.26
-rw-r--r--dev-java/itext/itext-2.0.2.ebuild22
4 files changed, 42 insertions, 15 deletions
diff --git a/dev-java/itext/ChangeLog b/dev-java/itext/ChangeLog
index f9f90188b75f..ad8f6de3c80f 100644
--- a/dev-java/itext/ChangeLog
+++ b/dev-java/itext/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/itext
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.41 2007/04/18 18:02:23 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/ChangeLog,v 1.42 2007/05/19 13:51:41 caster Exp $
+
+ 19 May 2007; Vlastimil Babka <caster@gentoo.org> itext-2.0.2.ebuild:
+ Add cjk useflag that downloads and installs Asian fonts and cmaps.
*itext-2.0.2 (18 Apr 2007)
diff --git a/dev-java/itext/Manifest b/dev-java/itext/Manifest
index 69babd317dcb..821d7c65c6be 100644
--- a/dev-java/itext/Manifest
+++ b/dev-java/itext/Manifest
@@ -6,20 +6,22 @@ AUX 2.0.2-site_xml.patch 605 RMD160 85b03eecf4ba0786c697f9e41803db2f7bab5ab3 SHA
MD5 a768d72871266f58d42ce070829a3a54 files/2.0.2-site_xml.patch 605
RMD160 85b03eecf4ba0786c697f9e41803db2f7bab5ab3 files/2.0.2-site_xml.patch 605
SHA256 7eae0aee289c82b9823a9f98ae69db878f1813c93e98feba177bf411f48258b2 files/2.0.2-site_xml.patch 605
+DIST iTextAsian.jar 329741 RMD160 eff3f2abec72982132a1aecc43493bb5f8294fbb SHA1 c227697b8af6f77ac8ebea3205cef07258e855c7 SHA256 19c8c57b430958ee93d7a7aab61448e1627b9acd2b0735aa0ca33d78404587bc
+DIST iTextAsianCmaps.jar 1696864 RMD160 9099b41a1fed08e278cc698b7f4eabd39ecb3217 SHA1 2901f5995849d5c1338f29a6de0d5415add8d4e0 SHA256 f7fdbd3c93f7b552d935d8300b6644685beb57e056f1934ed001b50d0b60de6f
DIST itext-src-1.4.8.tar.gz 1165951 RMD160 ecd9b80d7323319382fa16b8895332df25ecd6e2 SHA1 0ec375106add3bd622624991786d18eb8a9b4c2e SHA256 b283ac094389516e9914b31622e08842dd9220a026dcc4ce9138084b685e77a2
DIST itext-src-2.0.2.tar.gz 1152642 RMD160 8e8e360adaa78a2ac043e6daf4425b1eeee779dc SHA1 1c020521bc21e2580fad2895da92587c4ec22ea6 SHA256 64061dcfb933dc23de08d0042ca25ffb12f4f426d71330f003cfe28ffdc5b37e
EBUILD itext-1.4.8.ebuild 928 RMD160 0d25c72a105297ae9d072acdcca253ec4f405cf2 SHA1 2046691d9b118c4fc1a4a77ca1e64f973b071037 SHA256 dfaaf7582f83a015f2099cb1bab5475318772c1fd1164ee8b5ba425de677abeb
MD5 cf6f281b2cf47a9c7dc877ce95234de3 itext-1.4.8.ebuild 928
RMD160 0d25c72a105297ae9d072acdcca253ec4f405cf2 itext-1.4.8.ebuild 928
SHA256 dfaaf7582f83a015f2099cb1bab5475318772c1fd1164ee8b5ba425de677abeb itext-1.4.8.ebuild 928
-EBUILD itext-2.0.2.ebuild 1297 RMD160 96f18c063c143f0497902278954668eee26db26f SHA1 cc841bc9f31577119e5646d595bfd193c29c6e5d SHA256 5843481c0a144d76dcea73bdbf5f44493621863dbfd51dd6f2ff34cabc4abb86
-MD5 51ad0683060898d6ade68d480877167e itext-2.0.2.ebuild 1297
-RMD160 96f18c063c143f0497902278954668eee26db26f itext-2.0.2.ebuild 1297
-SHA256 5843481c0a144d76dcea73bdbf5f44493621863dbfd51dd6f2ff34cabc4abb86 itext-2.0.2.ebuild 1297
-MISC ChangeLog 7420 RMD160 799a568f95e1d77e22671da46249069ef155d353 SHA1 d76e24214ac3f126e067a8d2a894303a315f0ab6 SHA256 3863dfe8832fe623c07c55737f363e3279c4d00d3968a03def25afe164c425bd
-MD5 aa2bdaab22249bd2eff88b7c67ac7935 ChangeLog 7420
-RMD160 799a568f95e1d77e22671da46249069ef155d353 ChangeLog 7420
-SHA256 3863dfe8832fe623c07c55737f363e3279c4d00d3968a03def25afe164c425bd ChangeLog 7420
+EBUILD itext-2.0.2.ebuild 1685 RMD160 7ee5e7fea62ba288ead3cb927fd139e6f6e3dccd SHA1 f65b750dc061a168724c8c7228931aa895cf9b13 SHA256 4d39130aa1a8aa763e10c3343abf43b301383c0b2afed75383e36cd45704710f
+MD5 b82944ee546388384809662b98aaf0a3 itext-2.0.2.ebuild 1685
+RMD160 7ee5e7fea62ba288ead3cb927fd139e6f6e3dccd itext-2.0.2.ebuild 1685
+SHA256 4d39130aa1a8aa763e10c3343abf43b301383c0b2afed75383e36cd45704710f itext-2.0.2.ebuild 1685
+MISC ChangeLog 7562 RMD160 49f766a9a4e52519a35a81074df3c2a6edebd63d SHA1 7565cc3adf80ca7546b1dc16d11f834878f27816 SHA256 9d85ebd7437dbb81f185efc6ab02748d2bdee2beb2af0ab1f8709f4bc5951838
+MD5 b286df86e9800cf7df6591795b0c30a1 ChangeLog 7562
+RMD160 49f766a9a4e52519a35a81074df3c2a6edebd63d ChangeLog 7562
+SHA256 9d85ebd7437dbb81f185efc6ab02748d2bdee2beb2af0ab1f8709f4bc5951838 ChangeLog 7562
MISC metadata.xml 755 RMD160 6d5a2821fe21dec8e0ee7b4ca1f4b664430cc799 SHA1 fcfe8df62909268540923da86a2af452126d5359 SHA256 9e0fc30b42f3ed3e82f53abbaede5a2bca9ea2db5f6115cf0a3b0d3cf57cf605
MD5 220b53e6cd3c1cc6d9f735e4d06d4d4f metadata.xml 755
RMD160 6d5a2821fe21dec8e0ee7b4ca1f4b664430cc799 metadata.xml 755
@@ -27,6 +29,6 @@ SHA256 9e0fc30b42f3ed3e82f53abbaede5a2bca9ea2db5f6115cf0a3b0d3cf57cf605 metadata
MD5 581aef64e40ae5b7a0eecbda29306226 files/digest-itext-1.4.8 250
RMD160 a65feb676756314d01cab2a81fb5161c065208ea files/digest-itext-1.4.8 250
SHA256 3130669fad66b2d606b1086605e65ee66ad52fd83187378400f79c02e6e3a172 files/digest-itext-1.4.8 250
-MD5 c533a2a5b486c4932b44732660720e09 files/digest-itext-2.0.2 250
-RMD160 16bf10b99247b1c4b4dfe773cfc4ea4d7ff69c06 files/digest-itext-2.0.2 250
-SHA256 cf82f161236317b140e7029d64a1d4fe121410f25178f0e54fe321c73fa7a163 files/digest-itext-2.0.2 250
+MD5 9694ace35c6a56c96e150c92cbb9d6be files/digest-itext-2.0.2 714
+RMD160 e13c81e4362267eaf066472fb3e84e43e5b4ef41 files/digest-itext-2.0.2 714
+SHA256 6f134aa6ee4d1d8d14cddb70c4f9d9e77ee6b5f719130e657198ac8173f1b454 files/digest-itext-2.0.2 714
diff --git a/dev-java/itext/files/digest-itext-2.0.2 b/dev-java/itext/files/digest-itext-2.0.2
index ea3ed5e39cc7..10f51e3e0058 100644
--- a/dev-java/itext/files/digest-itext-2.0.2
+++ b/dev-java/itext/files/digest-itext-2.0.2
@@ -1,3 +1,9 @@
+MD5 e27491cdbb11d39d674fb5dad1247d54 iTextAsian.jar 329741
+RMD160 eff3f2abec72982132a1aecc43493bb5f8294fbb iTextAsian.jar 329741
+SHA256 19c8c57b430958ee93d7a7aab61448e1627b9acd2b0735aa0ca33d78404587bc iTextAsian.jar 329741
+MD5 d2b66db873422c5852eb9d2689486794 iTextAsianCmaps.jar 1696864
+RMD160 9099b41a1fed08e278cc698b7f4eabd39ecb3217 iTextAsianCmaps.jar 1696864
+SHA256 f7fdbd3c93f7b552d935d8300b6644685beb57e056f1934ed001b50d0b60de6f iTextAsianCmaps.jar 1696864
MD5 4d27033de24de8fc212795d476fef524 itext-src-2.0.2.tar.gz 1152642
RMD160 8e8e360adaa78a2ac043e6daf4425b1eeee779dc itext-src-2.0.2.tar.gz 1152642
SHA256 64061dcfb933dc23de08d0042ca25ffb12f4f426d71330f003cfe28ffdc5b37e itext-src-2.0.2.tar.gz 1152642
diff --git a/dev-java/itext/itext-2.0.2.ebuild b/dev-java/itext/itext-2.0.2.ebuild
index d191985b5a06..0baec8a48640 100644
--- a/dev-java/itext/itext-2.0.2.ebuild
+++ b/dev-java/itext/itext-2.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-2.0.2.ebuild,v 1.1 2007/04/18 18:02:23 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-2.0.2.ebuild,v 1.2 2007/05/19 13:51:41 caster Exp $
JAVA_PKG_IUSE="doc source"
@@ -8,11 +8,19 @@ 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/"
-SRC_URI="mirror://sourceforge/itext/${PN}-src-${PV}.tar.gz"
+DISTFILE="${PN}-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 ~x86"
+IUSE="cjk"
COMMON_DEPEND=">=dev-java/bcmail-1.36
>=dev-java/bcprov-1.36"
@@ -25,7 +33,11 @@ S=${WORKDIR}
src_unpack() {
mkdir "${WORKDIR}/src" && cd "${WORKDIR}/src"
- unpack ${A}
+ unpack ${DISTFILE}
+
+ if use cjk; then
+ cp "${DISTDIR}/${ASIANJAR}" "${DISTDIR}/${ASIANCMAPSJAR}" "${S}" || die
+ fi
epatch ${FILESDIR}/${PV}-compile_xml.patch
epatch ${FILESDIR}/${PV}-site_xml.patch
@@ -41,6 +53,10 @@ EANT_BUILD_XML="src/build.xml"
src_install() {
java-pkg_dojar build/bin/iText.jar
+ if use cjk; then
+ java-pkg_dojar "${ASIANJAR}"
+ java-pkg_dojar "${ASIANCMAPSJAR}"
+ fi
use source && java-pkg_dosrc src/com
use doc && java-pkg_dojavadoc build/docs