* [gentoo-commits] gentoo-x86 commit in dev-tex/tex4ht: ChangeLog tex4ht-20090611_p1038-r3.ebuild
@ 2013-07-05 23:32 Alexis Ballier (aballier)
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2013-07-05 23:32 UTC (permalink / raw
To: gentoo-commits
aballier 13/07/05 23:32:01
Modified: ChangeLog
Added: tex4ht-20090611_p1038-r3.ebuild
Log:
Install in texmf-site and adjust a bit search paths.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path
1.91 dev-tex/tex4ht/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.91&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.91&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?r1=1.90&r2=1.91
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- ChangeLog 25 Apr 2013 21:29:52 -0000 1.90
+++ ChangeLog 5 Jul 2013 23:32:00 -0000 1.91
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/tex4ht
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.90 2013/04/25 21:29:52 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.91 2013/07/05 23:32:00 aballier Exp $
+
+*tex4ht-20090611_p1038-r3 (05 Jul 2013)
+
+ 05 Jul 2013; Alexis Ballier <aballier@gentoo.org>
+ +tex4ht-20090611_p1038-r3.ebuild:
+ Install in texmf-site and adjust a bit search paths.
25 Apr 2013; Agostino Sarubbo <ago@gentoo.org>
tex4ht-20090611_p1038-r2.ebuild:
1.1 dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild?rev=1.1&content-type=text/plain
Index: tex4ht-20090611_p1038-r3.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild,v 1.1 2013/07/05 23:32:01 aballier Exp $
EAPI=4
inherit latex-package toolchain-funcs java-pkg-opt-2
IUSE=""
# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350
MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}"
DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org"
HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/
http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html"
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"
LICENSE="LPPL-1.2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
SLOT="0"
DEPEND=">=sys-apps/sed-4
java? ( >=virtual/jdk-1.5 )"
RDEPEND="app-text/ghostscript-gpl
media-gfx/imagemagick
java? ( >=virtual/jre-1.5 )"
IUSE="java"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PN}-texlive-updates.patch"
cd "${S}/texmf/tex4ht/base/unix"
sed -i \
-e "s#~/tex4ht.dir#${EPREFIX}/usr/share#" \
-e "s#tpath/tex/texmf/fonts/tfm/!#t${EPREFIX}/usr/share/texmf-dist/fonts/tfm/!\nt${EPREFIX}/usr/local/share/texmf/fonts/tfm/!\nt${EPREFIX}/var/cache/fonts/tfm/!\nt${EPREFIX}${TEXMF}/fonts/tfm/!#" \
-e "s#%%~/texmf-dist#${EPREFIX}${TEXMF}#g" \
-e "s#/usr/share/texmf/#${EPREFIX}${TEXMF}/#" \
tex4ht.env \
|| die "sed of tex4ht.env failed"
einfo "Removing precompiled java stuff"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete
}
src_compile() {
cd "${S}/src/"
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
-DENVFILE="\"${EPREFIX}${TEXMF}/tex4ht/base/tex4ht.env\"" \
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
|| die "Compiling $f failed"
done
if use java; then
einfo "Compiling java files..."
cd java
ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin
cd "${S}/texmf/tex4ht/bin"
# Create the jar needed by oolatex
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
fi
}
src_install () {
# install the binaries
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
# install the scripts
if ! use java; then
rm -f "${S}"/bin/unix/oo*
rm -f "${S}"/bin/unix/jh*
fi
dobin "${S}"/bin/unix/mk4ht || die
# install the .4ht scripts
insinto ${TEXMF}/tex/generic/tex4ht
doins "${S}"/texmf/tex/generic/tex4ht/* || die
# install the special htf fonts
insinto ${TEXMF}/tex4ht
doins -r "${S}/texmf/tex4ht/ht-fonts" || die
if use java; then
# install the java files
doins -r "${S}/texmf/tex4ht/bin"
java-pkg_jarinto ${TEXMF}/tex4ht/bin
java-pkg_dojar "${S}/${PN}.jar"
fi
# install the .4xt files
doins -r "${S}/texmf/tex4ht/xtpipes" || die
# install the env file
insinto ${TEXMF}/tex4ht/base
newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env || die
if latex-package_has_tetex_3 ; then
insinto /etc/texmf/texmf.d
doins "${FILESDIR}/50tex4ht.cnf" || die
fi
insinto ${TEXMF}/tex/generic/${PN}
insopts -m755
doins "${S}"/bin/ht/unix/* || die
}
pkg_postinst() {
use java || elog 'ODF converters (oolatex & friends) require the java use flag'
latex-package_pkg_postinst
elog "In order to avoid collisions with multiple packages"
elog "We are not installing the scripts in /usr/bin anymore"
elog "If you want to use, say, htlatex, you can use 'mk4ht htlatex file'"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-tex/tex4ht: ChangeLog tex4ht-20090611_p1038-r3.ebuild
@ 2015-07-22 12:22 Alexis Ballier (aballier)
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2015-07-22 12:22 UTC (permalink / raw
To: gentoo-commits
aballier 15/07/22 12:22:17
Modified: ChangeLog tex4ht-20090611_p1038-r3.ebuild
Log:
fix build with kpathsea from tl2015 and add explicit dep on it, bug #529388
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path
1.94 dev-tex/tex4ht/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.94&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.94&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/ChangeLog?r1=1.93&r2=1.94
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- ChangeLog 12 Jul 2015 18:15:04 -0000 1.93
+++ ChangeLog 22 Jul 2015 12:22:17 -0000 1.94
@@ -1,6 +1,10 @@
# ChangeLog for dev-tex/tex4ht
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.93 2015/07/12 18:15:04 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.94 2015/07/22 12:22:17 aballier Exp $
+
+ 22 Jul 2015; Alexis Ballier <aballier@gentoo.org>
+ tex4ht-20090611_p1038-r3.ebuild:
+ fix build with kpathsea from tl2015 and add explicit dep on it, bug #529388
12 Jul 2015; Mikle Kolyada <zlogene@gentoo.org>
tex4ht-20090611_p1038-r3.ebuild:
1.4 dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild?r1=1.3&r2=1.4
Index: tex4ht-20090611_p1038-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tex4ht-20090611_p1038-r3.ebuild 12 Jul 2015 18:15:04 -0000 1.3
+++ tex4ht-20090611_p1038-r3.ebuild 22 Jul 2015 12:22:17 -0000 1.4
@@ -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/tex4ht/tex4ht-20090611_p1038-r3.ebuild,v 1.3 2015/07/12 18:15:04 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r3.ebuild,v 1.4 2015/07/22 12:22:17 aballier Exp $
EAPI=4
-inherit latex-package toolchain-funcs java-pkg-opt-2
+inherit latex-package toolchain-funcs java-pkg-opt-2 flag-o-matic
IUSE=""
@@ -21,10 +21,13 @@
SLOT="0"
DEPEND=">=sys-apps/sed-4
+ virtual/pkgconfig
+ dev-libs/kpathsea
java? ( >=virtual/jdk-1.5 )"
RDEPEND="app-text/ghostscript-gpl
media-gfx/imagemagick
+ dev-libs/kpathsea
java? ( >=virtual/jre-1.5 )"
IUSE="java"
@@ -47,6 +50,8 @@
}
src_compile() {
+ has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
+
cd "${S}/src/"
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-22 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-05 23:32 [gentoo-commits] gentoo-x86 commit in dev-tex/tex4ht: ChangeLog tex4ht-20090611_p1038-r3.ebuild Alexis Ballier (aballier)
-- strict thread matches above, loose matches on Subject: below --
2015-07-22 12:22 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