1 |
aballier 08/02/10 12:35:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tex4ht-20080125_p0949.ebuild |
5 |
Log: |
6 |
version bump and keyword ~x86-fbsd |
7 |
(Portage version: 2.1.4.2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.24 dev-tex/tex4ht/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.24&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/tex4ht/ChangeLog?rev=1.24&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/tex4ht/ChangeLog?r1=1.23&r2=1.24 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v |
19 |
retrieving revision 1.23 |
20 |
retrieving revision 1.24 |
21 |
diff -u -r1.23 -r1.24 |
22 |
--- ChangeLog 10 Feb 2008 12:09:00 -0000 1.23 |
23 |
+++ ChangeLog 10 Feb 2008 12:35:01 -0000 1.24 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-tex/tex4ht |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.23 2008/02/10 12:09:00 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.24 2008/02/10 12:35:01 aballier Exp $ |
29 |
+ |
30 |
+*tex4ht-20080125_p0949 (10 Feb 2008) |
31 |
+ |
32 |
+ 10 Feb 2008; Alexis Ballier <aballier@g.o> |
33 |
+ +tex4ht-20080125_p0949.ebuild: |
34 |
+ version bump and keyword ~x86-fbsd |
35 |
|
36 |
10 Feb 2008; Alexis Ballier <aballier@g.o> |
37 |
-tex4ht-20050406_p1623-r1.ebuild, -tex4ht-20050701_p1825.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: tex4ht-20080125_p0949.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild,v 1.1 2008/02/10 12:35:01 aballier Exp $ |
51 |
|
52 |
inherit latex-package toolchain-funcs java-pkg-opt-2 |
53 |
|
54 |
IUSE="" |
55 |
|
56 |
# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350 |
57 |
MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}" |
58 |
|
59 |
DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org" |
60 |
HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/ |
61 |
http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html" |
62 |
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="LPPL-1.2" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
SLOT="0" |
67 |
|
68 |
DEPEND=">=sys-apps/sed-4 |
69 |
java? ( >=virtual/jdk-1.5 )" |
70 |
|
71 |
RDEPEND="virtual/ghostscript |
72 |
media-gfx/imagemagick |
73 |
java? ( >=virtual/jre-1.5 )" |
74 |
|
75 |
IUSE="java" |
76 |
|
77 |
S="${WORKDIR}/${MY_P}" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}/texmf/tex4ht/base/unix" |
82 |
sed -i -e \ |
83 |
's#~/tex4ht.dir#/usr/share#' tex4ht.env || die |
84 |
sed -i -e \ |
85 |
's#tpath/tex/texmf/fonts/tfm/!#t/usr/share/texmf/fonts/tfm/!\nt/usr/local/share/texmf/fonts/tfm/!\nt/var/cache/fonts/tfm/!#' tex4ht.env || die |
86 |
sed -i -e \ |
87 |
's#%%~/texmf-dist#/usr/share/texmf#g' tex4ht.env || die |
88 |
|
89 |
einfo "Removing precompiled java stuff" |
90 |
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete |
91 |
|
92 |
# Rename ht script to avoid collisions with app-editors/hteditor |
93 |
# Bug #197213 |
94 |
mv "${S}/bin/unix/ht" "${S}/bin/unix/ht.tex4ht" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
cd "${S}/src/" |
99 |
einfo "Compiling postprocessor sources..." |
100 |
for f in tex4ht t4ht htcmd ; do |
101 |
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \ |
102 |
-DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \ |
103 |
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \ |
104 |
|| die "Compiling $f failed" |
105 |
done |
106 |
if use java; then |
107 |
einfo "Compiling java files..." |
108 |
cd java |
109 |
ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin |
110 |
cd "${S}/texmf/tex4ht/bin" |
111 |
# Create the jar needed by oolatex |
112 |
jar -cf "${S}/${PN}.jar" * || die "failed to create jar" |
113 |
fi |
114 |
} |
115 |
|
116 |
src_install () { |
117 |
# install the binaries |
118 |
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd" |
119 |
# install the scripts |
120 |
if ! use java; then |
121 |
rm -f "${S}"/bin/unix/oo* |
122 |
rm -f "${S}"/bin/unix/jh* |
123 |
fi |
124 |
dobin "${S}"/bin/unix/* |
125 |
|
126 |
# install the .4ht scripts |
127 |
insinto /usr/share/texmf/tex/generic/tex4ht |
128 |
doins "${S}"/texmf/tex/generic/tex4ht/* |
129 |
|
130 |
# install the special htf fonts |
131 |
insinto /usr/share/texmf/tex4ht |
132 |
doins -r "${S}/texmf/tex4ht/ht-fonts" |
133 |
|
134 |
if use java; then |
135 |
# install the java files |
136 |
doins -r "${S}/texmf/tex4ht/bin" |
137 |
java-pkg_jarinto /usr/share/texmf/tex4ht/bin |
138 |
java-pkg_dojar "${S}/${PN}.jar" |
139 |
fi |
140 |
|
141 |
# install the .4xt files |
142 |
doins -r "${S}/texmf/tex4ht/xtpipes" |
143 |
doins -r "${S}/texmf/tex4ht/xttl" |
144 |
|
145 |
# install the env file |
146 |
insinto /usr/share/texmf/tex4ht/base |
147 |
newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env |
148 |
|
149 |
if latex-package_has_tetex_3 ; then |
150 |
insinto /etc/texmf/texmf.d |
151 |
doins "${FILESDIR}/50tex4ht.cnf" || die |
152 |
fi |
153 |
} |
154 |
|
155 |
pkg_postinst() { |
156 |
use java || elog 'ODF converters (oolatex & friends) require the java use flag' |
157 |
latex-package_pkg_postinst |
158 |
elog "In order to avoid collisions with app-editors/hteditor" |
159 |
elog "The helper script 'ht' has been renamed to 'ht.tex4ht'" |
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
-- |
165 |
gentoo-commits@l.g.o mailing list |