From 2e8ee3683180932ddb68d701f697a144f7d78160 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Mon, 28 Mar 2005 15:09:50 +0000 Subject: Temporal asianfont pack corresponding to Acroread 7; bug #86181. Thanks to Kalin KOZHUHAROV . Package-Manager: portage-2.0.51.19 --- media-fonts/acroread-asianfonts/ChangeLog | 11 +++- media-fonts/acroread-asianfonts/Manifest | 16 +++--- .../acroread-asianfonts-5.0.20020815.ebuild | 57 +++++++++++++++++++++ .../acroread-asianfonts-7.0.20020815.ebuild | 58 ++++++++++++++++++++++ .../files/digest-acroread-asianfonts-5.0.20020815 | 4 ++ .../files/digest-acroread-asianfonts-7.0.20020815 | 4 ++ 6 files changed, 143 insertions(+), 7 deletions(-) create mode 100644 media-fonts/acroread-asianfonts/acroread-asianfonts-5.0.20020815.ebuild create mode 100644 media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20020815.ebuild create mode 100644 media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-5.0.20020815 create mode 100644 media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20020815 (limited to 'media-fonts/acroread-asianfonts') 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 + +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 . 16 Mar 2005; Jan Brinkmann acroread-asianfonts-20020815.ebuild: diff --git a/media-fonts/acroread-asianfonts/Manifest b/media-fonts/acroread-asianfonts/Manifest index e929ee17ec2c..4ba4626beeda 100644 --- a/media-fonts/acroread-asianfonts/Manifest +++ b/media-fonts/acroread-asianfonts/Manifest @@ -1,14 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 6f82532dcf0e4325ece63bc5263aaca4 acroread-asianfonts-20020815.ebuild 915 -MD5 09ae02aa0c130df350d0a2ee861fb0c7 ChangeLog 994 +MD5 bf215f3cc66658ef6695a11684f9d74e ChangeLog 1343 MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175 +MD5 a81b44884017b478c9e1af7f0f8d8d6f acroread-asianfonts-7.0.20020815.ebuild 1881 +MD5 3896a71c5e279e5eb5403cef2b049554 acroread-asianfonts-5.0.20020815.ebuild 1858 +MD5 6f82532dcf0e4325ece63bc5263aaca4 acroread-asianfonts-20020815.ebuild 915 MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-20020815 241 +MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-7.0.20020815 241 +MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-5.0.20020815 241 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCOJB706ebR+OMO78RAp9YAJ9lJv2OaKbnsmoW/tsX+lKz1xcptACgjodh -NX8MhxZu3FkUM5wTtfpNxy0= -=FJhq +iD8DBQFCSBvmVWNWqTUmv+0RAmq+AJ9T90VEZa6Tc3KkbqRJsb1s/xJ20gCdF0Nu +Btx62iys+7A2L8e8gIQIXOE= +=Vik3 -----END PGP SIGNATURE----- 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 -- cgit v1.2.3-65-gdbad