summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-10-10 13:15:01 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-10-10 13:15:01 +0000
commit3abf5fbe0ab1bd60f2e1036ea61975f802c64ac9 (patch)
tree3482212f13d8e8c82ebbb3a9a801909d3cc26c04 /dev-tex
parentBumping to 1.0-r4, to include fix for bug #437830 (diff)
downloadhistorical-3abf5fbe0ab1bd60f2e1036ea61975f802c64ac9.tar.gz
historical-3abf5fbe0ab1bd60f2e1036ea61975f802c64ac9.tar.bz2
historical-3abf5fbe0ab1bd60f2e1036ea61975f802c64ac9.zip
version bump
Package-Manager: portage-2.2.0_alpha136/cvs/Linux x86_64
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/cjk-latex/ChangeLog7
-rw-r--r--dev-tex/cjk-latex/Manifest16
-rw-r--r--dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild159
3 files changed, 173 insertions, 9 deletions
diff --git a/dev-tex/cjk-latex/ChangeLog b/dev-tex/cjk-latex/ChangeLog
index bd03d0ae003b..e6013fc0acbd 100644
--- a/dev-tex/cjk-latex/ChangeLog
+++ b/dev-tex/cjk-latex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/cjk-latex
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.47 2012/07/25 14:07:54 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.48 2012/10/10 13:14:53 aballier Exp $
+
+*cjk-latex-4.8.3 (10 Oct 2012)
+
+ 10 Oct 2012; Alexis Ballier <aballier@gentoo.org> +cjk-latex-4.8.3.ebuild:
+ version bump
25 Jul 2012; Christoph Junghans <ottxor@gentoo.org> cjk-latex-4.8.2.ebuild:
added prefix support (bug #427840)
diff --git a/dev-tex/cjk-latex/Manifest b/dev-tex/cjk-latex/Manifest
index ec2db2420f28..0c963bf8b7b0 100644
--- a/dev-tex/cjk-latex/Manifest
+++ b/dev-tex/cjk-latex/Manifest
@@ -5,17 +5,17 @@ AUX cjk-latex-4.8.2-kpathsea_version.patch 1211 SHA256 70f57755bc40a1c85dc487c1c
DIST cjk-4.8.2-doc.tar.gz 2243205 SHA256 d4eb32896e9f0e69c6f8ae81fd9d0aa0257390eb1d2b028173625995bcb9c00c SHA512 596fb87fed66c6a3866b4f6aea647787dbb45040da15a9c82f4e8c6b8bba4d80c6df106e9d68b01dfe670d80925b61079cc7cbfac304c5c83732c00ca40d67ea WHIRLPOOL 99ffa575936d9290a25ddc216b102304b8b3fd34b6307fb8f49cfb5cca52dbd00868f2ed15eab60e905c258f5cd96f1e6837f566e4927d3fd094e4869eedd2aa
DIST cjk-4.8.2-fonts.zip 20384230 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4 SHA512 ec55aa604f1e8b19936d0e22949f8100f6442c6c93a5f240a78c9891289d838dd29350dcb4d20998c3e7a13ba05d451934ed29a2d7e7cbbaf517db06a92204d1 WHIRLPOOL 0876b7908b1f0c164a3e28888e97b4b7d8f251ea56e84f0268053bd6b3cc7877ca4e1543c9afb4534b1a5a4860187bb038ef08a9d66567b4937eb46ee8ae0a45
DIST cjk-4.8.2.tar.gz 553425 SHA256 2108856bafbf6eb44b65500122ae540d863fb1e4196485682be4d88244f16dd6 SHA512 39c4e3c65fe759e437dd88be9ebe1c91df89c4025440bdd420cbbac9c0cb1b0a105c2ba42f9b89cd2e196519224194f7c0071f110b65dd710b233f08b62a7f32 WHIRLPOOL 6611f8eec5acc31b730c51e5ce530b3a79276d67192cd27d1f97fc311dd5ff7c452cee4efb700991b29409693e2f807b913e002b02484c4da342b99cc376ed06
+DIST cjk-4.8.3-doc.tar.gz 2045004 SHA256 d7a39b532f318b210ee650be0389145973029ffaebcb3e731a3e1fd90440d8b5 SHA512 06cab391ebd7d92a120dc493101bd3f9aef585e9f8be26d5c510c1b2266fe8dd6dd83aa6b41a4a58b8a97b294431193e05350485d4480019acab388b4a25f0a7 WHIRLPOOL 566db0371595a25352e36a35b294aa19f0df7c704e36c3a682bec25d2f5edaa6517f84e0791433e0e457015f4d0444cf2a1babb7e0a39f64a27711eec3d2a63b
+DIST cjk-4.8.3-fonts.zip 20384230 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4 SHA512 ec55aa604f1e8b19936d0e22949f8100f6442c6c93a5f240a78c9891289d838dd29350dcb4d20998c3e7a13ba05d451934ed29a2d7e7cbbaf517db06a92204d1 WHIRLPOOL 0876b7908b1f0c164a3e28888e97b4b7d8f251ea56e84f0268053bd6b3cc7877ca4e1543c9afb4534b1a5a4860187bb038ef08a9d66567b4937eb46ee8ae0a45
+DIST cjk-4.8.3.tar.gz 562787 SHA256 fd8847d7494110a318f222276f8026bc9723f4728ad1fd5ec72e0494a20f4837 SHA512 b3ff2761f86de900abcf678cb85886fa3bd2ec80a205e042ccdf44d432f699b0e8fb45e56aff4368b534b187c46de2eb4e2657098bab877b11a2bc13d099bee9 WHIRLPOOL 00ab9a67bccc2bcc3737b1e739b6526a0ef0dc33bf997f89e42245f243b1f711b24dd570d41470b8cba135369feddca349c86d7d9f84b4c58fb17ab271c0fc0a
EBUILD cjk-latex-4.8.2.ebuild 3643 SHA256 fa71dfed8fae74ac140f1dd9189c8e5a443471d050da4da51871638269dcfea7 SHA512 b0fb7e04c7b770ea562ee50521a3e600bf541391b6445d9ee0ed8b416f184bcd5e42948d77480a78361d0ea86ec6a0f15f3686f5368d4812692cac5b18b7fbb3 WHIRLPOOL a5067d1a6f722a75b63f362ab413ff6b57cd06e7422205bd78994446cce3d32904fc8537fbd55e8828d46a0fc095db518bf92e7987df9af445567babcf31955b
-MISC ChangeLog 5439 SHA256 1a8aa67636a0f12874680f62aaeb65dcde6dd0d7c2d45e40dfa6bbe7ddf30597 SHA512 b7f46c64ec493f7467d544322ab20ec20e5f89fa64643b5342a88134c86e090938aef0848b97d680cbf7b9e6f6dde53d64472add81e6d1f022750d5ba824a0e3 WHIRLPOOL a3e3f67a299100e110b30a75d6b8195574ea75e668a6312d343233c3652d21cada7210ca31ebaed2b635ff46955eb68f0bfa792662aa424fcb107f1c76b9da17
+EBUILD cjk-latex-4.8.3.ebuild 3574 SHA256 44588487a3b4391d4c8227c4e028f3245baf736f8c957fed32efb33b24d6c684 SHA512 6ccf420a7b7261b2fb9d02f0082276ba7853449770396452e9d64f9af379b0bfd9103cbc17655354964166f15a4b3dd658364b704861609963e9ddd18a10174a WHIRLPOOL aa630bcdccb1662903f314bab53379d3e63d9516c1c3a77f50b7bd92e892c439f4ba15784dd320a91fc7c56642f76095aba3dd391a3fdc3cca4307d633328b9b
+MISC ChangeLog 5566 SHA256 6ca28f8104e4ee60f407a770a4d24831065cfcbb3f015ed265d89984fc57537e SHA512 fc2e8b55853f509c8128d94ac7eb119ba9b8d7ba8207b9f1a4cb9abb64e5bface9a020d199f300f24d482f53083ad164bea6138578b5545a0298cdf18c080750 WHIRLPOOL 987562a3f81f9621a8bc719e7e5a3da2a21dbd95fd5af2825d60883d379dbe2018143252e0a27434a1813e274facd7fdd5927263f48fa3ba527c8ef82dabacc8
MISC metadata.xml 173 SHA256 f489b81a91c6b9b653122719caac14c4f1cfd63d26d4b100abf1a995db71d9c8 SHA512 d6228b72cd89fb05fcf5edc3e7f6abc21d90df6ab598c43d2b753450f096349d99f65c524344707f685f07883e9bf434c9a33875734965eb316ae837d8c3ef25 WHIRLPOOL 3b03e35eb022fc1ce244b82b623186d70ff30c809cae2369d00b609281a65180851a3988058995790a8a1971fdb1674c60107ae3e08750b8a58164c830933299
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQD/3AAAoJEOeBhlrCAAWG9aIIAJTBWJLkkt6/Qf+CQMzBgf4l
-d2yJ4c2v46PrU8E20IcoNchEKF6xFAZSC6gR5tM5q/Npt47IUcpToV6cODC+KUv2
-T4OM/9liidb89Ue9sel7pHSpHZfUqjZKMqYUQTJnfTLm1eYM7NCX+4PLtNWeIDLX
-2AT3aMzTDkfOEl9s0ko4z5y9PL0378AVyHEbMUhgHooVNTmLLJP4KnVsfVAjKRXX
-OHO5bXn+XAH73wQIZwxXDz0/TtIcyuvVtdawo0X0ciKdt6b7a44GHWRR1LRFnKYf
-KyIttxD8apafMd4evFe02TptpimWdSnCwpA4mM+VtEMvHHPIRoiZwH5CirFTOSs=
-=6xdI
+iEYEAREIAAYFAlB1dM8ACgkQvFcC4BYPU0qS8QCfVcvUngO/AljESJ3vHcrKx3xB
+PHMAoKYoGDNSBtdkl/s2JCVza5nqmDj6
+=bjM7
-----END PGP SIGNATURE-----
diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild
new file mode 100644
index 000000000000..a4deb4128f87
--- /dev/null
+++ b/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2012 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.3.ebuild,v 1.1 2012/10/10 13:14:53 aballier Exp $
+
+EAPI=4
+
+inherit latex-package elisp-common toolchain-funcs multilib eutils
+
+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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="doc emacs"
+
+DEPEND="virtual/latex-base
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ 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_configure() {
+ cd utils
+ for d in *conv; do
+ cd $d
+ local f=`echo $d | tr '[:upper:]' '[:lower:]'`
+ echo "all: $f" >> Makefile
+ if [ $d = CEFconv ] ; then
+ echo "all: cef5conv cefsconv" >> Makefile
+ fi
+ cd -
+ done
+ cd hbf2gf
+ econf --with-kpathsea-lib="${EPREFIX}"/usr/$(get_libdir) \
+ --with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea
+}
+
+src_compile() {
+ tc-export CC
+ cd utils
+ for d in *conv; do
+ cd $d
+ emake || die
+ cd -
+ done
+ cd hbf2gf
+ emake || die
+ 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 TEXMFCNF="${EPREFIX}/etc/texmf/web2c" HBF_TARGET="${S}/texmf/fonts" "${S}/utils/hbf2gf/hbf2gf" $f || die
+ done
+
+ einfo "Generating pk fonts"
+ for gf in *.gf ; do
+ einfo "${gf}"
+ 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 "${ED}/${TEXMF}/fonts/hbf" "${ED}/${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
+}