summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-03-28 15:09:50 +0000
committerMamoru Komachi <usata@gentoo.org>2005-03-28 15:09:50 +0000
commita2460dd7b7a642a7bce084ad1eafc17af97ec341 (patch)
tree0965a9476d0a73528596046ba3dc41f4efe079b7 /media-fonts
parentremove medusa from package.mask as the ebuild itself has been removed as well (diff)
downloadgentoo-2-a2460dd7b7a642a7bce084ad1eafc17af97ec341.tar.gz
gentoo-2-a2460dd7b7a642a7bce084ad1eafc17af97ec341.tar.bz2
gentoo-2-a2460dd7b7a642a7bce084ad1eafc17af97ec341.zip
Temporal asianfont pack corresponding to Acroread 7; bug #86181. Thanks to Kalin KOZHUHAROV <kalin@ThinRope.net>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/acroread-asianfonts/ChangeLog11
-rw-r--r--media-fonts/acroread-asianfonts/Manifest17
-rw-r--r--media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild57
-rw-r--r--media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild58
-rw-r--r--media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-5.0.200208154
-rw-r--r--media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.200208154
6 files changed, 139 insertions, 12 deletions
diff --git a/media-fonts/acroread-asianfonts/ChangeLog b/media-fonts/acroread-asianfonts/ChangeLog
index 69943b78e9c3..75334c5f9003 100644
--- a/media-fonts/acroread-asianfonts/ChangeLog
+++ b/media-fonts/acroread-asianfonts/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-fonts/acroread-asianfonts
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.7 2005/03/16 20:00:53 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.8 2005/03/28 15:09:50 usata Exp $
+
+*acroread-asianfonts-7.0.20020815 (28 Mar 2005)
+*acroread-asianfonts-5.0.20020815 (28 Mar 2005)
+
+ 28 Mar 2005; Mamoru KOMACHI <usata@gentoo.org>
+ +acroread-asianfonts-5.0.20020815.ebuild,
+ +acroread-asianfonts-7.0.20020815.ebuild:
+ Temporal asianfont pack corresponding to Acroread 7; bug #86181.
+ Thanks to Kalin KOZHUHAROV <kalin@ThinRope.net>.
16 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
acroread-asianfonts-20020815.ebuild:
diff --git a/media-fonts/acroread-asianfonts/Manifest b/media-fonts/acroread-asianfonts/Manifest
index e929ee17ec2c..11f061352098 100644
--- a/media-fonts/acroread-asianfonts/Manifest
+++ b/media-fonts/acroread-asianfonts/Manifest
@@ -1,14 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 6f82532dcf0e4325ece63bc5263aaca4 acroread-asianfonts-20020815.ebuild 915
MD5 09ae02aa0c130df350d0a2ee861fb0c7 ChangeLog 994
MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175
+MD5 f3ddaffcda5fb88ec59e95b3099245f5 20020815__to__7.0.ebuild.diff 2022
+MD5 fea34f5508031581c4ff79536d4361ca acroread-asianfonts-7.0.20020815.ebuild 1749
+MD5 14a18c41242c020ed2d5a7a343ad2ec5 acroread-asianfonts-5.0.20020815.ebuild 1747
+MD5 6f82532dcf0e4325ece63bc5263aaca4 acroread-asianfonts-20020815.ebuild 915
MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-20020815 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCOJB706ebR+OMO78RAp9YAJ9lJv2OaKbnsmoW/tsX+lKz1xcptACgjodh
-NX8MhxZu3FkUM5wTtfpNxy0=
-=FJhq
------END PGP SIGNATURE-----
+MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-7.0.20020815 241
+MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-5.0.20020815 241
diff --git a/media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild b/media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild
new file mode 100644
index 000000000000..10e9591689a2
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild,v 1.1 2005/03/28 15:09:50 usata Exp $
+
+BASE_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/"
+
+DESCRIPTION="Asian font packs for Adobe Acrobat Reader"
+HOMEPAGE="http://www.adobe.com/products/acrobat/acrrasianfontpack.html"
+SRC_URI="linguas_zh_CN? ( ${BASE_URI}/chsfont.tar.gz )
+ linguas_zh_TW? ( ${BASE_URI}/chtfont.tar.gz )
+ linguas_ja? ( ${BASE_URI}/jpnfont.tar.gz )
+ linguas_ko? ( ${BASE_URI}/korfont.tar.gz )"
+
+SLOT="0"
+LICENSE="Adobe"
+KEYWORDS="x86 amd64"
+IUSE=""
+DEPEND="=app-text/acroread-5*"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ einfo
+ einfo "You need to set LINGUAS to desired font pack name."
+ einfo "e.g. set LINGUAS=\"ja zh_TW\" to get Japanese and"
+ einfo "Traditional Chinese font packs. Available LINGUAS"
+ einfo "are: zh_CN, zh_TW, ja and ko."
+ einfo
+ if ! useq linguas_zh_CN && ! useq linguas_zh_TW && ! useq linugas_ja && useq linguas_ko ; then
+ die "You need to set LINGUAS variable to emerge ${PN}."
+ fi
+}
+
+src_install() {
+ INSTALLDIR="/opt/Acrobat5/Resource"
+ INST_LANG=""
+ useq linguas_zh_CN && INST_LANG="${INST_LANG} CHS"
+ useq linguas_zh_CN && INST_LANG="${INST_LANG} CHT"
+ useq linguas_ja && INST_LANG="${INST_LANG} JPN"
+ useq linguas_ko && INST_LANG="${INST_LANG} KOR"
+
+ cd ${WORKDIR}
+ dodir ${INSTALLDIR}/Font
+ for lang in ${INST_LANG}
+ do
+ einfo "Installing ${lang} pack ..."
+ tar xf "${lang}KIT/LANG${lang}.TAR" --no-same-owner -C ${D}/${INSTALLDIR}/Font
+ done
+
+ einfo "Installing Asian CMaps ..."
+ tar xf ${INST_LANG/* /}KIT/LANGCOM.TAR --no-same-owner -C ${D}/${INSTALLDIR}/Font
+
+ insinto ${INSTALLDIR}/Font
+ doins ${INST_LANG/* /}KIT/LICFONT.TXT
+
+ chown -R --dereference 0:0 ${D}/${INSTALLDIR}
+}
diff --git a/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild
new file mode 100644
index 000000000000..462e26969356
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild,v 1.1 2005/03/28 15:09:50 usata Exp $
+
+BASE_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/"
+
+DESCRIPTION="Asian font packs for Adobe Acrobat Reader"
+HOMEPAGE="http://www.adobe.com/products/acrobat/acrrasianfontpack.html"
+SRC_URI="linguas_zh_CN? ( ${BASE_URI}/chsfont.tar.gz )
+ linguas_zh_TW? ( ${BASE_URI}/chtfont.tar.gz )
+ linguas_ja? ( ${BASE_URI}/jpnfont.tar.gz )
+ linguas_ko? ( ${BASE_URI}/korfont.tar.gz )"
+
+SLOT="0"
+LICENSE="Adobe"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="=app-text/acroread-7*"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ einfo
+ einfo "You need to set LINGUAS to desired font pack name."
+ einfo "e.g. set LINGUAS=\"ja zh_TW\" to get Japanese and"
+ einfo "Traditional Chinese font packs. Available LINGUAS"
+ einfo "are: zh_CN, zh_TW, ja and ko."
+ einfo
+ if ! useq linguas_zh_CN && ! useq linguas_zh_TW && ! useq linugas_ja && useq linguas_ko ; then
+ die "You need to set LINGUAS variable to emerge ${PN}."
+ fi
+}
+
+src_install() {
+ INSTALLDIR="/opt/Acrobat7/Resource"
+ INST_LANG=""
+ useq linguas_zh_CN && INST_LANG="${INST_LANG} CHS"
+ useq linguas_zh_CN && INST_LANG="${INST_LANG} CHT"
+ useq linguas_ja && INST_LANG="${INST_LANG} JPN"
+ useq linguas_ko && INST_LANG="${INST_LANG} KOR"
+
+ cd ${WORKDIR}
+ dodir ${INSTALLDIR}/Font
+ for lang in ${INST_LANG}
+ do
+ einfo "Installing ${lang} pack ..."
+ tar xf "${lang}KIT/LANG${lang}.TAR" --no-same-owner -C ${D}/${INSTALLDIR}/Font
+ done
+
+ dodir ${INSTALLDIR}/CMap
+ einfo "Installing Asian CMaps ..."
+ tar xf ${INST_LANG/* /}KIT/LANGCOM.TAR --no-same-owner -C ${D}/${INSTALLDIR}/CMap
+
+ insinto ${INSTALLDIR}
+ doins ${INST_LANG/* /}KIT/LICFONT.TXT
+
+ chown -R --dereference 0:0 ${D}/${INSTALLDIR}
+}
diff --git a/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-5.0.20020815 b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-5.0.20020815
new file mode 100644
index 000000000000..1b1096c56d99
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-5.0.20020815
@@ -0,0 +1,4 @@
+MD5 bf5d6713b2eb16798419c2792cd1bd19 chsfont.tar.gz 13078861
+MD5 cc15fd94d1ba6fd1e995da984bc342e9 chtfont.tar.gz 9441658
+MD5 5986656807cb4ef9cf532c10b8e1da3e jpnfont.tar.gz 5332283
+MD5 f2c4add2a12dd362c914bd811d033492 korfont.tar.gz 4977639
diff --git a/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20020815 b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20020815
new file mode 100644
index 000000000000..1b1096c56d99
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20020815
@@ -0,0 +1,4 @@
+MD5 bf5d6713b2eb16798419c2792cd1bd19 chsfont.tar.gz 13078861
+MD5 cc15fd94d1ba6fd1e995da984bc342e9 chtfont.tar.gz 9441658
+MD5 5986656807cb4ef9cf532c10b8e1da3e jpnfont.tar.gz 5332283
+MD5 f2c4add2a12dd362c914bd811d033492 korfont.tar.gz 4977639