Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/kpathsea: ChangeLog kpathsea-6.0.1_p20110705.ebuild
Date: Wed, 27 Jul 2011 12:36:08
Message-Id: 20110727123553.56B162004B@flycatcher.gentoo.org
1 aballier 11/07/27 12:35:53
2
3 Modified: ChangeLog
4 Added: kpathsea-6.0.1_p20110705.ebuild
5 Log:
6 bump to kpathsea from texlive 2011
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 dev-libs/kpathsea/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/kpathsea/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/kpathsea/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/kpathsea/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 28 Jun 2011 15:51:45 -0000 1.13
24 +++ ChangeLog 27 Jul 2011 12:35:53 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/kpathsea
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.13 2011/06/28 15:51:45 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.14 2011/07/27 12:35:53 aballier Exp $
30 +
31 +*kpathsea-6.0.1_p20110705 (27 Jul 2011)
32 +
33 + 27 Jul 2011; Alexis Ballier <aballier@g.o>
34 + +kpathsea-6.0.1_p20110705.ebuild:
35 + bump to kpathsea from texlive 2011
36
37 *kpathsea-6.0.1_p20110627 (28 Jun 2011)
38
39
40
41
42 1.1 dev-libs/kpathsea/kpathsea-6.0.1_p20110705.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/kpathsea/kpathsea-6.0.1_p20110705.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/kpathsea/kpathsea-6.0.1_p20110705.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kpathsea-6.0.1_p20110705.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/kpathsea-6.0.1_p20110705.ebuild,v 1.1 2011/07/27 12:35:53 aballier Exp $
52
53 EAPI=3
54
55 inherit texlive-common eutils
56
57 TEXMFD_VERSION="3"
58
59 DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
60 HOMEPAGE="http://tug.org/texlive/"
61 SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
62 mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
67 IUSE="doc source static-libs"
68
69 DEPEND="!<app-text/texlive-core-2010
70 !app-text/ptex"
71 RDEPEND="${DEPEND}"
72
73 S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
74
75 TL_VERSION=2011
76 EXTRA_TL_MODULES="kpathsea"
77 EXTRA_TL_DOC_MODULES="kpathsea.doc"
78
79 for i in ${EXTRA_TL_MODULES} ; do
80 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
81 done
82
83 SRC_URI="${SRC_URI} doc? ( "
84 for i in ${EXTRA_TL_DOC_MODULES} ; do
85 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
86 done
87 SRC_URI="${SRC_URI} ) "
88
89 src_prepare() {
90 epatch "${FILESDIR}/invocname.patch"
91 }
92
93 src_configure() {
94 # Too many regexps use A-Z a-z constructs, what causes problems with locales
95 # that don't have the same alphabetical order than ascii. Bug #347798
96 # So we set LC_ALL to C in order to avoid problems.
97 export LC_ALL=C
98
99 # Disable largefile because it seems to cause problems on big endian 32 bits
100 # systems...
101 econf \
102 --disable-largefile \
103 $(use_enable static-libs static)
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf/web2c" install || die
108 find "${D}" -name '*.la' -delete
109
110 dodir /usr/share # just in case
111 cp -pR "${WORKDIR}"/texmf "${ED}/usr/share/" || die "failed to install texmf trees"
112 if use source ; then
113 cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
114 fi
115
116 # The default configuration expects it to be world writable, bug #266680
117 # People can still change it with texconfig though.
118 dodir /var/cache/fonts
119 fperms 1777 /var/cache/fonts
120
121 # Take care of fmtutil.cnf and texmf.cnf
122 dodir /etc/texmf/{fmtutil.d,texmf.d}
123
124 # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
125 # texmf.cnf
126 # It will also be generated from /etc/texmf/texmf.d files by texmf-update
127 rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
128
129 insinto /etc/texmf/texmf.d
130 doins "${WORKDIR}/texmf.d/"*.cnf || die "failed to install texmf.d configuration files"
131
132 # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
133 # by texmf-update
134 rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
135
136 dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
137 dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
138
139 # Keep it as that's where the formats will go
140 keepdir /var/lib/texmf
141
142 dodoc BUGS ChangeLog NEWS PROJECTS README || die
143 }
144
145 pkg_postinst() {
146 etexmf-update
147 }
148
149 pkg_postrm() {
150 etexmf-update
151 }