public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-tex/cjk-latex: ChangeLog cjk-latex-4.8.4.ebuild
@ 2015-04-29 15:38 Alexis Ballier (aballier)
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2015-04-29 15:38 UTC (permalink / raw
  To: gentoo-commits

aballier    15/04/29 15:38:32

  Modified:             ChangeLog
  Added:                cjk-latex-4.8.4.ebuild
  Log:
  version bump
  
  Signed-off-by: Alexis Ballier <aballier@gentoo.org>
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

Revision  Changes    Path
1.71                 dev-tex/cjk-latex/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.71&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.71&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?r1=1.70&r2=1.71

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- ChangeLog	26 Jan 2014 12:12:39 -0000	1.70
+++ ChangeLog	29 Apr 2015 15:38:32 -0000	1.71
@@ -1,6 +1,11 @@
 # ChangeLog for dev-tex/cjk-latex
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.70 2014/01/26 12:12:39 ago Exp $
+# 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 $
+
+*cjk-latex-4.8.4 (29 Apr 2015)
+
+  29 Apr 2015; Alexis Ballier <aballier@gentoo.org> +cjk-latex-4.8.4.ebuild:
+  version bump
 
   26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> cjk-latex-4.8.3-r1.ebuild:
   Stable for sparc, wrt bug #495650



1.1                  dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild?rev=1.1&content-type=text/plain

Index: cjk-latex-4.8.4.ebuild
===================================================================
# Copyright 1999-2015 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.4.ebuild,v 1.1 2015/04/29 15:38:32 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
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-tex/cjk-latex: ChangeLog cjk-latex-4.8.4.ebuild
@ 2015-07-26  7:32 Alexis Ballier (aballier)
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2015-07-26  7:32 UTC (permalink / raw
  To: gentoo-commits

aballier    15/07/26 07:32:09

  Modified:             ChangeLog cjk-latex-4.8.4.ebuild
  Log:
  fix build with kpathsea from texlive 2015, add explicit dep on it, bug #555868
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

Revision  Changes    Path
1.73                 dev-tex/cjk-latex/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?r1=1.72&r2=1.73

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- ChangeLog	29 Apr 2015 15:41:04 -0000	1.72
+++ ChangeLog	26 Jul 2015 07:32:09 -0000	1.73
@@ -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.72 2015/04/29 15:41:04 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.73 2015/07/26 07:32:09 aballier Exp $
+
+  26 Jul 2015; Alexis Ballier <aballier@gentoo.org> cjk-latex-4.8.4.ebuild:
+  fix build with kpathsea from texlive 2015, add explicit dep on it, bug
+  #555868
 
   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:



1.2                  dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild?r1=1.1&r2=1.2

Index: cjk-latex-4.8.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cjk-latex-4.8.4.ebuild	29 Apr 2015 15:38:32 -0000	1.1
+++ cjk-latex-4.8.4.ebuild	26 Jul 2015 07:32:09 -0000	1.2
@@ -1,10 +1,10 @@
 # Copyright 1999-2015 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.4.ebuild,v 1.1 2015/04/29 15:38:32 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.4.ebuild,v 1.2 2015/07/26 07:32:09 aballier Exp $
 
 EAPI=4
 
-inherit latex-package elisp-common toolchain-funcs multilib eutils
+inherit latex-package elisp-common toolchain-funcs multilib eutils flag-o-matic
 
 MY_P="${P/-latex/}"
 
@@ -20,9 +20,11 @@
 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
+RDEPEND="virtual/latex-base
+	dev-libs/kpathsea
 	emacs? ( virtual/emacs )"
-RDEPEND="${DEPEND}
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
 	app-arch/unzip"
 
 S="${WORKDIR}/${MY_P}"
@@ -38,6 +40,7 @@
 }
 
 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-26  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26  7:32 [gentoo-commits] gentoo-x86 commit in dev-tex/cjk-latex: ChangeLog cjk-latex-4.8.4.ebuild Alexis Ballier (aballier)
  -- strict thread matches above, loose matches on Subject: below --
2015-04-29 15:38 Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox