diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-04-29 15:41:04 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-04-29 15:41:04 +0000 |
commit | 1d27b32453703c8be8432c0ae3a53deadb786fb8 (patch) | |
tree | e4a5800be21e1e497559e7b8d53ed61053b920de /dev-tex/cjk-latex | |
parent | version bump (diff) | |
download | gentoo-2-1d27b32453703c8be8432c0ae3a53deadb786fb8.tar.gz gentoo-2-1d27b32453703c8be8432c0ae3a53deadb786fb8.tar.bz2 gentoo-2-1d27b32453703c8be8432c0ae3a53deadb786fb8.zip |
remove old
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-tex/cjk-latex')
-rw-r--r-- | dev-tex/cjk-latex/ChangeLog | 6 | ||||
-rw-r--r-- | dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild | 161 | ||||
-rw-r--r-- | dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild | 161 | ||||
-rw-r--r-- | dev-tex/cjk-latex/files/cjk-latex-4.8.2-kpathsea_version.patch | 36 |
4 files changed, 5 insertions, 359 deletions
diff --git a/dev-tex/cjk-latex/ChangeLog b/dev-tex/cjk-latex/ChangeLog index a09ae0d4119c..3b59f7c6b691 100644 --- a/dev-tex/cjk-latex/ChangeLog +++ b/dev-tex/cjk-latex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-tex/cjk-latex # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.71 2015/04/29 15:38:32 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.72 2015/04/29 15:41:04 aballier Exp $ + + 29 Apr 2015; Alexis Ballier <aballier@gentoo.org> -cjk-latex-4.8.2.ebuild, + -cjk-latex-4.8.3.ebuild, -files/cjk-latex-4.8.2-kpathsea_version.patch: + remove old *cjk-latex-4.8.4 (29 Apr 2015) diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild deleted file mode 100644 index 224f9d32c0f7..000000000000 --- a/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# 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.2.ebuild,v 1.11 2012/07/25 14:07:54 ottxor Exp $ - -EAPI=4 - -inherit latex-package elisp-common toolchain-funcs multilib eutils autotools - -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 - epatch "${FILESDIR}/${P}-kpathsea_version.patch" - cd "${S}/utils/hbf2gf" - eautoreconf -} - -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 - 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 -} diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild deleted file mode 100644 index fde8f17d7e2b..000000000000 --- a/dev-tex/cjk-latex/cjk-latex-4.8.3.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2013 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.13 2013/07/06 00:54:04 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 - 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/files/cjk-latex-4.8.2-kpathsea_version.patch b/dev-tex/cjk-latex/files/cjk-latex-4.8.2-kpathsea_version.patch deleted file mode 100644 index dfbd0c3a28a6..000000000000 --- a/dev-tex/cjk-latex/files/cjk-latex-4.8.2-kpathsea_version.patch +++ /dev/null @@ -1,36 +0,0 @@ -Include kpathsea/version.h when available. Fixes a build failure with TeX Live -2010. - -Index: cjk-4.8.2/utils/hbf2gf/configure.ac -=================================================================== ---- cjk-4.8.2.orig/utils/hbf2gf/configure.ac -+++ cjk-4.8.2/utils/hbf2gf/configure.ac -@@ -79,6 +79,7 @@ if test -n "$kpathsea_include" -o -n "$k - - AC_CHECK_HEADER(kpathsea/c-auto.h, ,[ - AC_MSG_ERROR([Can't find kpathsea include files! Use --with-kpathsea-include option.])]) -+ AC_CHECK_HEADERS([kpathsea/version.h]) - else - CPPFLAGS="$CPPFLAGS -I$srcdir" - fi -Index: cjk-4.8.2/utils/hbf2gf/hbf2gf.w -=================================================================== ---- cjk-4.8.2.orig/utils/hbf2gf/hbf2gf.w -+++ cjk-4.8.2/utils/hbf2gf/hbf2gf.w -@@ -2500,12 +2500,16 @@ be used instead. - @ - @<Global variables@>= - #if defined(HAVE_LIBKPATHSEA) -+#if defined(HAVE_KPATHSEA_VERSION_H) -+#include <kpathsea/version.h> -+#else - #ifdef KPSEDLL - /* this is kpathsea 3.3 and newer */ - extern KPSEDLL char *kpathsea_version_string; - #else - extern DllImport char *kpathsea_version_string; - #endif -+#endif - #elif defined(HAVE_EMTEXDIR) - char emtex_version_string[] = "emTeXdir"; - #elif !defined(HAVE_MIKTEX) |