1 |
aballier 11/06/28 15:40:05 |
2 |
|
3 |
Modified: cjk-latex-4.8.2.ebuild ChangeLog |
4 |
Log: |
5 |
set TEXMFCNF so that texmf.cnf is found by kpathsea, bump to eapi3 |
6 |
|
7 |
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: cjk-latex-4.8.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- cjk-latex-4.8.2.ebuild 10 Oct 2010 16:42:18 -0000 1.8 |
23 |
+++ cjk-latex-4.8.2.ebuild 28 Jun 2011 15:40:04 -0000 1.9 |
24 |
@@ -1,6 +1,8 @@ |
25 |
-# Copyright 1999-2010 Gentoo Foundation |
26 |
+# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild,v 1.8 2010/10/10 16:42:18 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.2.ebuild,v 1.9 2011/06/28 15:40:04 aballier Exp $ |
30 |
+ |
31 |
+EAPI=3 |
32 |
|
33 |
inherit latex-package elisp-common toolchain-funcs multilib eutils autotools |
34 |
|
35 |
@@ -25,10 +27,7 @@ |
36 |
|
37 |
S="${WORKDIR}/${MY_P}" |
38 |
|
39 |
-src_unpack() { |
40 |
- unpack ${A} |
41 |
- cd "${S}" |
42 |
- |
43 |
+src_prepare() { |
44 |
for i in "${WORKDIR}"/CJK/*.tar.gz; do |
45 |
tar -xzf ${i} || die "failed to unpack $i" |
46 |
done |
47 |
@@ -41,24 +40,32 @@ |
48 |
eautoreconf |
49 |
} |
50 |
|
51 |
-src_compile() { |
52 |
- tc-export CC |
53 |
+src_configure() { |
54 |
cd utils |
55 |
for d in *conv; do |
56 |
cd $d |
57 |
local f=`echo $d | tr '[:upper:]' '[:lower:]'` |
58 |
echo "all: $f" >> Makefile |
59 |
- emake || die || die "building $f failed" |
60 |
if [ $d = CEFconv ] ; then |
61 |
echo "all: cef5conv cefsconv" >> Makefile |
62 |
- emake || die "building $d failed" |
63 |
fi |
64 |
cd - |
65 |
done |
66 |
cd hbf2gf |
67 |
econf --with-kpathsea-lib=/usr/$(get_libdir) \ |
68 |
--with-kpathsea-include=/usr/include/kpathsea |
69 |
- emake || die "building hbf2gf failed!" |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ tc-export CC |
74 |
+ cd utils |
75 |
+ for d in *conv; do |
76 |
+ cd $d |
77 |
+ emake || die |
78 |
+ cd - |
79 |
+ done |
80 |
+ cd hbf2gf |
81 |
+ emake || die |
82 |
cd - |
83 |
|
84 |
if use emacs ; then |
85 |
@@ -73,7 +80,7 @@ |
86 |
cd "${T}" |
87 |
|
88 |
for f in "${S}"/texmf/hbf2gf/*.cfg ; do |
89 |
- env HBF_TARGET="${S}/texmf/fonts" "${S}/utils/hbf2gf/hbf2gf" $f || die |
90 |
+ env TEXMFCNF="${EPREFIX}/etc/texmf/web2c" HBF_TARGET="${S}/texmf/fonts" "${S}/utils/hbf2gf/hbf2gf" $f || die |
91 |
done |
92 |
|
93 |
einfo "Generating pk fonts" |
94 |
|
95 |
|
96 |
|
97 |
1.45 dev-tex/cjk-latex/ChangeLog |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.45&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?rev=1.45&content-type=text/plain |
101 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/cjk-latex/ChangeLog?r1=1.44&r2=1.45 |
102 |
|
103 |
Index: ChangeLog |
104 |
=================================================================== |
105 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v |
106 |
retrieving revision 1.44 |
107 |
retrieving revision 1.45 |
108 |
diff -u -r1.44 -r1.45 |
109 |
--- ChangeLog 10 Oct 2010 16:42:18 -0000 1.44 |
110 |
+++ ChangeLog 28 Jun 2011 15:40:04 -0000 1.45 |
111 |
@@ -1,6 +1,9 @@ |
112 |
# ChangeLog for dev-tex/cjk-latex |
113 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
114 |
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.44 2010/10/10 16:42:18 aballier Exp $ |
115 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
116 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.45 2011/06/28 15:40:04 aballier Exp $ |
117 |
+ |
118 |
+ 28 Jun 2011; Alexis Ballier <aballier@g.o> cjk-latex-4.8.2.ebuild: |
119 |
+ set TEXMFCNF so that texmf.cnf is found by kpathsea, bump to eapi3 |
120 |
|
121 |
10 Oct 2010; Alexis Ballier <aballier@g.o> cjk-latex-4.8.2.ebuild, |
122 |
+files/cjk-latex-4.8.2-kpathsea_version.patch: |