summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-01-07 12:18:46 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-01-07 12:18:46 +0000
commitb4d3c1c3d2b7f780561c1e618eeb5a4ab1d3f214 (patch)
tree764230f02ad669386696c8cb75915f68769197a4 /dev-tex/cjk-latex
parentversion bump (diff)
downloadhistorical-b4d3c1c3d2b7f780561c1e618eeb5a4ab1d3f214.tar.gz
historical-b4d3c1c3d2b7f780561c1e618eeb5a4ab1d3f214.tar.bz2
historical-b4d3c1c3d2b7f780561c1e618eeb5a4ab1d3f214.zip
version bump
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'dev-tex/cjk-latex')
-rw-r--r--dev-tex/cjk-latex/ChangeLog7
-rw-r--r--dev-tex/cjk-latex/Manifest12
-rw-r--r--dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild153
3 files changed, 167 insertions, 5 deletions
diff --git a/dev-tex/cjk-latex/ChangeLog b/dev-tex/cjk-latex/ChangeLog
index adece2615801..e0265029dfba 100644
--- a/dev-tex/cjk-latex/ChangeLog
+++ b/dev-tex/cjk-latex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/cjk-latex
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.34 2009/01/07 11:53:46 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.35 2009/01/07 12:18:46 aballier Exp $
+
+*cjk-latex-4.8.2 (07 Jan 2009)
+
+ 07 Jan 2009; Alexis Ballier <aballier@gentoo.org> +cjk-latex-4.8.2.ebuild:
+ version bump
07 Jan 2009; Alexis Ballier <aballier@gentoo.org> -cjk-latex-4.7.0.ebuild,
-cjk-latex-4.8.0.ebuild:
diff --git a/dev-tex/cjk-latex/Manifest b/dev-tex/cjk-latex/Manifest
index c305b802d669..bf13393d2008 100644
--- a/dev-tex/cjk-latex/Manifest
+++ b/dev-tex/cjk-latex/Manifest
@@ -4,13 +4,17 @@ Hash: SHA1
DIST cjk-4.8.1-doc.tar.gz 2242574 RMD160 d1d222cfa0966468163c72c35d84f6d2db8fdfc4 SHA1 2a3741052518e83c0a3d15aef148946cc633bd97 SHA256 7c19996c1dfe2b818fcfcaf964011f33140f6bb61ae8462301d3454597256cf1
DIST cjk-4.8.1-fonts.zip 20384230 RMD160 0c1d363af352c48bf6f24067699a9559e208f517 SHA1 f1e7ae35757241af267d2a086bfec2d82b081925 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4
DIST cjk-4.8.1.tar.gz 545637 RMD160 21a68d434b4dda4b84d9ee6339d20b7386365686 SHA1 d0e0de1f381b05d6f945b4e60b756d96589f3a79 SHA256 f4df50e7b601ae9c95c0383ea38467854ca8ac6d24cea6474f6bf994d92e7f46
+DIST cjk-4.8.2-doc.tar.gz 2243205 RMD160 291c6d57dbef52537e712aa9b4f6f0cfa41b8e67 SHA1 95690d4dd7a820e729bd125507db05c808ab4f37 SHA256 d4eb32896e9f0e69c6f8ae81fd9d0aa0257390eb1d2b028173625995bcb9c00c
+DIST cjk-4.8.2-fonts.zip 20384230 RMD160 0c1d363af352c48bf6f24067699a9559e208f517 SHA1 f1e7ae35757241af267d2a086bfec2d82b081925 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4
+DIST cjk-4.8.2.tar.gz 553425 RMD160 184a890fb360b0c2ddd8f45fbd50f1b34ca22c51 SHA1 0b288469a56e3e30e7aa8b559f2b710f9525836c SHA256 2108856bafbf6eb44b65500122ae540d863fb1e4196485682be4d88244f16dd6
EBUILD cjk-latex-4.8.1.ebuild 3465 RMD160 1a126513d8026c1627eba53c2030c05afb4ca701 SHA1 02433034a9ff0f8bc89918845926c3e07faf6a37 SHA256 91339f5d6ad4418722626b6a48900f06ad25d8b929c4ee63608e35e635a2530d
-MISC ChangeLog 3918 RMD160 859e667b4f4d45db6e511d0bc0c36d933def8f2f SHA1 7c57bc089072c8eb08f77e05e94ff48220840a23 SHA256 5a65fa1cf56b035c27ee90fcecd2e235f880cb23cbe1b79164621b07116c8b71
+EBUILD cjk-latex-4.8.2.ebuild 3475 RMD160 b49eea4a6a1db3e62fd7bc856ba30abfe75ecc02 SHA1 0f4d19ab9ccb35fbb4180fcb449867c67e302df8 SHA256 308265d0d51217648494e46fa96698c462ede27e39346c2d3ca9eeb40da05387
+MISC ChangeLog 4043 RMD160 17ebf4ab954163a4ecefcfcd44585b6ee530464e SHA1 0a42f5023c5ca250391068c80f5476b96785725b SHA256 4b5e54275967e64dd2c530b11519b88ae2b362c937eac5a2601fb7651f0917f0
MISC metadata.xml 173 RMD160 2a5c18ac36394027f647f337410df755f5d37369 SHA1 98f3803fec9ccaf2574571b904292027095f5273 SHA256 f489b81a91c6b9b653122719caac14c4f1cfd63d26d4b100abf1a995db71d9c8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAklkl9AACgkQvFcC4BYPU0qNJACfeve5j4pkjF5R8rCPelh+02ck
-pQoAoJesUTxyYDyqQzliP8Ek3USR0lDX
-=RhmE
+iEYEARECAAYFAklknawACgkQvFcC4BYPU0qnKwCdGqxmnGXD+F82ppjp5Mjgum0s
+xm0AnjUyViUOa2EChoWOoyJkj8YuIxto
+=JtQI
-----END PGP SIGNATURE-----
diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild
new file mode 100644
index 000000000000..1560d3f21a95
--- /dev/null
+++ b/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild,v 1.1 2009/01/07 12:18:46 aballier Exp $
+
+inherit latex-package elisp-common toolchain-funcs multilib
+
+MY_P="${P/-latex/}"
+
+DESCRIPTION="A LaTeX 2e macro package which enables the use of CJK scripts in various encodings"
+HOMEPAGE="http://cjk.ffii.org/"
+# fonts are taken from ftp://ftp.ctan.org/tex-archive/fonts/CJK.zip
+SRC_URI="ftp://ftp.ffii.org/pub/cjk/${MY_P}.tar.gz
+ mirror://gentoo/${MY_P}-fonts.zip
+ doc? ( ftp://ftp.ffii.org/pub/cjk/${MY_P}-doc.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc emacs"
+
+DEPEND="virtual/latex-base
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ for i in "${WORKDIR}"/CJK/*.tar.gz; do
+ tar -xzf ${i} || die "failed to unpack $i"
+ done
+ find texmf/fonts/hbf -type f -exec cp {} "${T}" \; || die
+ sed -i -e "/^pk_files/s/no/yes/" \
+ -e "/^dpi_x/s/300/500/" \
+ texmf/hbf2gf/*.cfg || die
+}
+
+src_compile() {
+ tc-export CC
+ cd utils
+ for d in *conv; do
+ cd $d
+ local f=`echo $d | tr '[:upper:]' '[:lower:]'`
+ echo "all: $f" >> Makefile
+ emake || die || die "building $f failed"
+ if [ $d = CEFconv ] ; then
+ echo "all: cef5conv cefsconv" >> Makefile
+ emake || die "building $d failed"
+ fi
+ cd -
+ done
+ cd hbf2gf
+ econf --with-kpathsea-lib=/usr/$(get_libdir) \
+ --with-kpathsea-include=/usr/include/kpathsea
+ emake || die "building hbf2gf failed!"
+ cd -
+
+ if use emacs ; then
+ cd lisp
+ elisp-compile *.el
+ cd emacs
+ elisp-compile *.el
+ cd ../mule-2.3
+ elisp-compile *.el
+ fi
+
+ cd "${T}"
+
+ for f in "${S}"/texmf/hbf2gf/*.cfg ; do
+ env HBF_TARGET="${S}/texmf/fonts" "${S}/utils/hbf2gf/hbf2gf" $f || die
+ done
+
+ einfo "Generating pk fonts"
+ for gf in *.gf ; do
+ gftopk $gf || die
+ done
+}
+
+src_install() {
+ cd utils
+ for d in *conv; do
+ cd $d
+ local f=`echo $d | tr '[:upper:]' '[:lower:]'`
+ dobin *latex *conv
+ doman *.1
+ cd -
+ done
+ cd hbf2gf
+ einstall || die "einstall failed"
+
+ cd "${S}"
+
+ # Install pk fonts
+ for d in texmf/fonts/pk/modeless/*/* ; do
+ insinto /usr/share/${d}
+ for f in "${T}"/${d##*/}*.pk ; do
+ newins $f `basename ${f/.pk/.500pk}` || die "newins failed"
+ done
+ done
+
+ insinto "${TEXMF}/tex/latex/${PN}"
+ doins -r texinput/* || die "installing texinput files failed"
+ doins -r contrib/wadalab || die "installing wadalab failed"
+
+ if use emacs ; then
+ cd utils/lisp
+ elisp-install ${PN} *.el{,c} emacs/*.el{,c} mule-2.3/*.el{,c}
+ fi
+
+ cd "${S}"
+
+ # uwpatch stuff
+ insinto ${TEXMF}/scripts/uwpatch
+ doins uwpatch/uwpatchold.sh
+ insinto ${TEXMF}/fonts/afm/uwpatch
+ doins uwpatch/*.afm
+
+ # jisksp40 stuff
+ insinto ${TEXMF}
+ doins -r jisksp40/texmf/*
+
+ # kanji48 stuff
+ insinto ${TEXMF}
+ doins -r kanji48/texmf/*
+
+ use doc || rm -rf texmf/doc
+ insinto ${TEXMF}
+ doins -r texmf/* || die "installing texmf failed"
+
+ # Move fonts because hbf2gf expects them in MISCFONTS
+ mv "${D}/${TEXMF}/fonts/hbf" "${D}/${TEXMF}/fonts/misc" || die "mv font failed"
+
+ insinto ${TEXMF}/hbf2gf
+ doins utils/hbf2gf/cfg/*
+
+ insinto ${TEXMF}/scripts/subfonts
+ doins utils/subfonts/*
+
+ rm -f doc/COPYING doc/INSTALL
+ dodoc ChangeLog README
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/*
+ doins -r examples
+ fi
+ docinto uwpatch
+ dodoc uwpatch/README
+
+ prepalldocs
+}