summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-12 17:09:08 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-12 17:09:08 +0000
commitffdbc80cd1454a9bd493dcde2570c8ab42cc9074 (patch)
tree5745e44d24d07cf21ae785b17bb798da7906c415 /dev-tex/cjk-latex
parentalpha stable (diff)
downloadhistorical-ffdbc80cd1454a9bd493dcde2570c8ab42cc9074.tar.gz
historical-ffdbc80cd1454a9bd493dcde2570c8ab42cc9074.tar.bz2
historical-ffdbc80cd1454a9bd493dcde2570c8ab42cc9074.zip
version bump
Package-Manager: portage-2.2_rc7/cvs/Linux 2.6.26-gentoo 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.1.ebuild153
3 files changed, 167 insertions, 5 deletions
diff --git a/dev-tex/cjk-latex/ChangeLog b/dev-tex/cjk-latex/ChangeLog
index aceed64da2ab..4c57f62f85d2 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.27 2008/07/09 16:40:57 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.28 2008/08/12 17:09:08 aballier Exp $
+
+*cjk-latex-4.8.1 (12 Aug 2008)
+
+ 12 Aug 2008; Alexis Ballier <aballier@gentoo.org> +cjk-latex-4.8.1.ebuild:
+ version bump
*cjk-latex-4.8.0 (09 Jul 2008)
diff --git a/dev-tex/cjk-latex/Manifest b/dev-tex/cjk-latex/Manifest
index 0b4978f8fdab..791c9dee5642 100644
--- a/dev-tex/cjk-latex/Manifest
+++ b/dev-tex/cjk-latex/Manifest
@@ -7,14 +7,18 @@ DIST cjk-4.7.0.tar.gz 535037 RMD160 5be9d397cbcb0f1f0eebf39bf6a51604cce22f96 SHA
DIST cjk-4.8.0-doc.tar.gz 2252561 RMD160 fb4c6d5dca10c456cb793fe88d5348d2f0440bbd SHA1 efe04682c6d5379742764abb14e61731478a8a10 SHA256 ff634aeec8aa9247701450a1e2f72bc375975dd0c989725bf49794bc7208a90a
DIST cjk-4.8.0-fonts.zip 20384230 RMD160 0c1d363af352c48bf6f24067699a9559e208f517 SHA1 f1e7ae35757241af267d2a086bfec2d82b081925 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4
DIST cjk-4.8.0.tar.gz 536876 RMD160 d570c11289aaec9f760f4a5dfd67bd186a66af37 SHA1 6f457d69c2cd4ef3d04043a76220755f82fb4cb2 SHA256 b6ef810624736f4f056595c251a2eda3623f74aecaedac22438aa9ce98862147
+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
EBUILD cjk-latex-4.7.0.ebuild 3450 RMD160 5cf98767d224080f88215e3e5c9d77b9f1d29205 SHA1 5b85c11ff2e9b37e3e5ff2287b2ce978bcce04f0 SHA256 4e1559f29fa00f2a8bffb1fb4cb67eaca0970f5df8720a99696cc42878058371
EBUILD cjk-latex-4.8.0.ebuild 3455 RMD160 a34c3cbc4a3d73efdeac36f454b601044f5a7a6d SHA1 ed9633df66358ef5ed7ad348588e6a38a48b0f4c SHA256 91c5ae5e62a4349b6df70913a806712d58bcc321ff16de3c3d4020a7c2842541
-MISC ChangeLog 3156 RMD160 44d853ef7e023e2204339c59554a07d6ae561c2f SHA1 49546e35d291c72c8641a6aab921a11d39bfbdfc SHA256 89a9b7b111e34061fc714b2cc60b54c7c6f68f299f4bdfcbdde68e49e20c6cfc
+EBUILD cjk-latex-4.8.1.ebuild 3475 RMD160 92159c71fb6cec0ec5b66b088324952855101fa2 SHA1 c496b1b38c7f264e3a50574738fc942a5e7f1100 SHA256 82600ad34b92099231bc6350b07fde4e0387b7e11eee95b275862f4216d7a26b
+MISC ChangeLog 3281 RMD160 54d47bf10d8bd73d79a683a78d6b613e6ce97ccf SHA1 11c566256a5044170b2598b58810f12cf35a7ec1 SHA256 88fa79e4f8be13a431344a04fea7873db0a12c0a24f533d42b60227ea8e8a5ea
MISC metadata.xml 173 RMD160 2a5c18ac36394027f647f337410df755f5d37369 SHA1 98f3803fec9ccaf2574571b904292027095f5273 SHA256 f489b81a91c6b9b653122719caac14c4f1cfd63d26d4b100abf1a995db71d9c8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkh06iMACgkQvFcC4BYPU0pLLACgq891+uALwP8i/iudGb0zQzw7
-wQgAni/wpOnXEnsxuVcKEwn0t94AdXOm
-=h5fK
+iEYEARECAAYFAkihw7oACgkQvFcC4BYPU0pTfwCeMLGxriuww2RF4vuFjNanbn5k
+rrcAoMXqIHPQtfYrLmGnSP9w5elFHs+m
+=a7hm
-----END PGP SIGNATURE-----
diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild
new file mode 100644
index 000000000000..de41f1841135
--- /dev/null
+++ b/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2008 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.1.ebuild,v 1.1 2008/08/12 17:09:08 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
+}