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