diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-tex/cjk-latex | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-tex/cjk-latex')
-rw-r--r-- | dev-tex/cjk-latex/Manifest | 6 | ||||
-rw-r--r-- | dev-tex/cjk-latex/cjk-latex-4.8.3-r1.ebuild | 161 | ||||
-rw-r--r-- | dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild | 164 | ||||
-rw-r--r-- | dev-tex/cjk-latex/metadata.xml | 6 |
4 files changed, 337 insertions, 0 deletions
diff --git a/dev-tex/cjk-latex/Manifest b/dev-tex/cjk-latex/Manifest new file mode 100644 index 000000000000..3709a964ed09 --- /dev/null +++ b/dev-tex/cjk-latex/Manifest @@ -0,0 +1,6 @@ +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 +DIST cjk-4.8.4-doc.tar.gz 2152418 SHA256 73775aec5a9006acecca45acaf7f3f59cbdeab7f3d2dfe3a1d983d6791fbf987 SHA512 453ff48554d950eeba53481e0643dcd96214627a12e685e1c39476e19aee9f5284ae347cf694df583c43cc273be44a5b56511bfc622144552f07e51d9e1e0877 WHIRLPOOL 494c1a7fa00e73fdbafe503842b44dc928edf6fd19426a7a5c623427a6e4a7e77edc5944a31ce7ef1b4a4e02d39f2e37c1a91b8918018791171240fe2fea0ea0 +DIST cjk-4.8.4-fonts.zip 20384230 SHA256 1625582b13a5f46532b5f7d0b0f25a9f72960017ad9b1074fbcf70cbbf45efb4 SHA512 ec55aa604f1e8b19936d0e22949f8100f6442c6c93a5f240a78c9891289d838dd29350dcb4d20998c3e7a13ba05d451934ed29a2d7e7cbbaf517db06a92204d1 WHIRLPOOL 0876b7908b1f0c164a3e28888e97b4b7d8f251ea56e84f0268053bd6b3cc7877ca4e1543c9afb4534b1a5a4860187bb038ef08a9d66567b4937eb46ee8ae0a45 +DIST cjk-4.8.4.tar.gz 556197 SHA256 17b3978a1558dbcb23a041076673c4b26856bfe975839a17363e35cd2f93a6ea SHA512 d1dc754c176331d0694561158554072083e6b8f2bbeb2516915c8bc8b15bbcedff81f2a14655cc9d77d832121971a5f9792e3c477336f9b5bcb77c8f15f8cfa3 WHIRLPOOL 9c1d94f676b86f91bf0496047b7bc3fd9f5ae70eae49390dc1e52a313fad8e342ed9cc254f58e7b5ba109ddbfc027145fe1caae1659fd2cd2234a10de5dc0871 diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.3-r1.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.3-r1.ebuild new file mode 100644 index 000000000000..1414e62c74fe --- /dev/null +++ b/dev-tex/cjk-latex/cjk-latex-4.8.3-r1.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + pushd texmf &>/dev/null + for d in fonts/pk/modeless/*/* ; do + insinto ${TEXMF}/${d} + for f in "${T}"/${d##*/}*.pk ; do + newins $f `basename ${f/.pk/.500pk}` || die "newins failed" + done + done + popd &>/dev/null + + 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 +} diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild new file mode 100644 index 000000000000..440af1bb056b --- /dev/null +++ b/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit latex-package elisp-common toolchain-funcs multilib eutils flag-o-matic + +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" + +RDEPEND="virtual/latex-base + dev-libs/kpathsea + emacs? ( virtual/emacs )" +DEPEND="${RDEPEND} + virtual/pkgconfig + 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() { + has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)" + 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 + pushd texmf &>/dev/null + for d in fonts/pk/modeless/*/* ; do + insinto ${TEXMF}/${d} + for f in "${T}"/${d##*/}*.pk ; do + newins $f `basename ${f/.pk/.500pk}` || die "newins failed" + done + done + popd &>/dev/null + + 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 +} diff --git a/dev-tex/cjk-latex/metadata.xml b/dev-tex/cjk-latex/metadata.xml new file mode 100644 index 000000000000..a5618f4ac96f --- /dev/null +++ b/dev-tex/cjk-latex/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +<herd>cjk</herd> +</pkgmetadata> |