summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-04 13:02:20 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-04 13:05:10 +0300
commit814a4d02b1d1781676d3a592f626d06b1cf797a1 (patch)
tree1d5073f7f8a05a4e60791a7ac08dc08664f192a7 /dev-tex
parentdev-perl/Dist-Zilla-Plugin-RPM: Bump to version 0.16.0 (diff)
downloadgentoo-814a4d02b1d1781676d3a592f626d06b1cf797a1.tar.gz
gentoo-814a4d02b1d1781676d3a592f626d06b1cf797a1.tar.bz2
gentoo-814a4d02b1d1781676d3a592f626d06b1cf797a1.zip
dev-tex/cjk-latex: remove last-rited pkg
Closes: https://bugs.gentoo.org/634578 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/cjk-latex/Manifest3
-rw-r--r--dev-tex/cjk-latex/cjk-latex-4.8.4-r1.ebuild167
-rw-r--r--dev-tex/cjk-latex/metadata.xml12
3 files changed, 0 insertions, 182 deletions
diff --git a/dev-tex/cjk-latex/Manifest b/dev-tex/cjk-latex/Manifest
deleted file mode 100644
index c97a714026a8..000000000000
--- a/dev-tex/cjk-latex/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST cjk-4.8.4-doc.tar.gz 2152418 BLAKE2B 09b72aa75efa01ea880a99bf0c289dd3f7d0c107080b38fb99390a39c1179884eb55fcd32f978f07fdad25898aabbc636367e3ab83d1f1c1ce95aedfeb46efb7 SHA512 453ff48554d950eeba53481e0643dcd96214627a12e685e1c39476e19aee9f5284ae347cf694df583c43cc273be44a5b56511bfc622144552f07e51d9e1e0877
-DIST cjk-4.8.4-fonts.zip 20384230 BLAKE2B 6b73b20381b6a1de91cc7de6760f9c453616857b5fe493e90944145ae16c42b85f760018f2b2a6397fd8f1b02801b58b6e35f2a5493fcf0b367be2d25463664d SHA512 ec55aa604f1e8b19936d0e22949f8100f6442c6c93a5f240a78c9891289d838dd29350dcb4d20998c3e7a13ba05d451934ed29a2d7e7cbbaf517db06a92204d1
-DIST cjk-4.8.4.tar.gz 556197 BLAKE2B c884d8482dc107344c6afd3d2eba49c84907fdeaa9bd422c1239f2c43ed643991ad7c16c3c2a6dbf7d7bb0642c8f41d707feb98a5d08fc32c40de69615eb08bc SHA512 d1dc754c176331d0694561158554072083e6b8f2bbeb2516915c8bc8b15bbcedff81f2a14655cc9d77d832121971a5f9792e3c477336f9b5bcb77c8f15f8cfa3
diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.4-r1.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.4-r1.ebuild
deleted file mode 100644
index c8ab85a83a96..000000000000
--- a/dev-tex/cjk-latex/cjk-latex-4.8.4-r1.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit latex-package elisp-common toolchain-funcs flag-o-matic
-
-MY_P="${P/-latex/}"
-
-DESCRIPTION="LaTeX package to use CJK (Chinese/Japanese/Korean) scripts in various encodings"
-HOMEPAGE="https://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 ~arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc emacs"
-
-RDEPEND="virtual/latex-base
- dev-libs/kpathsea
- emacs? ( >=app-editors/emacs-23.1:* )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="app-arch/unzip
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- 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 || die
- for d in *conv; do
- cd ${d} || die
- local f=`echo ${d} | tr '[:upper:]' '[:lower:]'`
- echo "all: $f" >> Makefile
- if [ ${d} = CEFconv ] ; then
- echo "all: cef5conv cefsconv" >> Makefile
- fi
- cd - || die
- done
- cd hbf2gf || die
- econf --with-kpathsea-lib="${EPREFIX}"/usr/$(get_libdir) \
- --with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea
-}
-
-src_compile() {
- tc-export CC
- cd utils || die
- for d in *conv; do
- cd ${d} || die
- emake
- cd - || die
- done
- cd hbf2gf || die
- emake
- cd - || die
-
- if use emacs ; then
- cd lisp || die
- elisp-compile *.el
- cd emacs || die
- elisp-compile *.el
- cd ../mule-2.3 || die
- elisp-compile *.el
- fi
-
- cd "${T}" || die
-
- 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 || die
- for d in *conv; do
- cd ${d} || die
- local f=`echo $d | tr '[:upper:]' '[:lower:]'`
- dobin *latex *conv
- doman *.1
- cd - || die
- done
- cd hbf2gf || die
- doman hbf2gf.1
- dobin hbf2gf
- dodir "${TEXMF}/fonts/hbf"
-
- cd "${S}" || die
-
- # Install pk fonts
- pushd texmf &>/dev/null || die
- for d in fonts/pk/modeless/*/* ; do
- insinto ${TEXMF}/${d}
- for f in "${T}"/${d##*/}*.pk ; do
- newins ${f} `basename ${f/.pk/.500pk}`
- done
- done
- popd &>/dev/null || die
-
- insinto "${TEXMF}/tex/latex/${PN}"
- doins -r texinput/.
- doins -r contrib/wadalab
-
- if use emacs ; then
- cd utils/lisp || die
- elisp-install ${PN} *.el{,c} emacs/*.el{,c} mule-2.3/*.el{,c}
- fi
-
- cd "${S}" || die
-
- # 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/.
-
- # 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 -r utils/hbf2gf/cfg/.
-
- insinto ${TEXMF}/scripts/subfonts
- doins -r utils/subfonts/.
-
- rm -f doc/COPYING doc/INSTALL || die
- dodoc ChangeLog README
- if use doc ; then
- dodoc -r doc/.
- dodoc -r examples
- fi
- docinto uwpatch
- dodoc uwpatch/README
-}
diff --git a/dev-tex/cjk-latex/metadata.xml b/dev-tex/cjk-latex/metadata.xml
deleted file mode 100644
index ce43799eecd6..000000000000
--- a/dev-tex/cjk-latex/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>tex@gentoo.org</email>
- <name>Gentoo TeX Project</name>
-</maintainer>
-<maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
-</maintainer>
-</pkgmetadata>