summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-06-28 15:51:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-06-28 15:51:45 +0000
commit7d36ceaf7a6c1531d4ff378d5b659a15898681f6 (patch)
treeca521c1936df00ec67a1458d1433465a7de25ae8 /dev-libs/kpathsea
parentMarking mmdb-1.21-r4 ppc for bug 352065 (diff)
downloadhistorical-7d36ceaf7a6c1531d4ff378d5b659a15898681f6.tar.gz
historical-7d36ceaf7a6c1531d4ff378d5b659a15898681f6.tar.bz2
historical-7d36ceaf7a6c1531d4ff378d5b659a15898681f6.zip
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.
Package-Manager: portage-2.2.0_alpha41/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/kpathsea')
-rw-r--r--dev-libs/kpathsea/ChangeLog9
-rw-r--r--dev-libs/kpathsea/Manifest14
-rw-r--r--dev-libs/kpathsea/files/invocname.patch19
-rw-r--r--dev-libs/kpathsea/kpathsea-6.0.1_p20110627.ebuild103
4 files changed, 139 insertions, 6 deletions
diff --git a/dev-libs/kpathsea/ChangeLog b/dev-libs/kpathsea/ChangeLog
index 14ca9dc4bd69..b7e881d70009 100644
--- a/dev-libs/kpathsea/ChangeLog
+++ b/dev-libs/kpathsea/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/kpathsea
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.12 2011/06/15 05:50:16 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.13 2011/06/28 15:51:45 aballier Exp $
+
+*kpathsea-6.0.1_p20110627 (28 Jun 2011)
+
+ 28 Jun 2011; Alexis Ballier <aballier@gentoo.org>
+ +kpathsea-6.0.1_p20110627.ebuild, +files/invocname.patch:
+ 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.
15 Jun 2011; Naohiro Aota <naota@gentoo.org> kpathsea-6.0.0_p20100722.ebuild:
Added ~x86-fbsd, bug #345317
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest
index 8676d6cf9d75..62e25ea1ad2d 100644
--- a/dev-libs/kpathsea/Manifest
+++ b/dev-libs/kpathsea/Manifest
@@ -1,17 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX invocname.patch 800 RMD160 cadbb5b90d2d24ae5f52b7265a99875dd442be4d SHA1 c324f6de245fdd4d622bba9dbf391da28bf1e1df SHA256 99d132726cf4d385fb53d230463f52c9f13b00e15a82ff3f6098dc3a3ce5474f
DIST kpathsea-texmf.d-2.tar.xz 10484 RMD160 5ec4b1fa7b42fd41927018cc045f64098e5187d7 SHA1 dff9872b78096d3ddd996b5e10a94af8dbe19611 SHA256 6be7ef09387eb2fb4f3c716e4fb1b84570ca940502420a63ab5eb3d5914ebb17
+DIST kpathsea-texmf.d-3.tar.xz 10540 RMD160 2b55ed8627648e7a9e4c293b644d0f19d85ca865 SHA1 99fc6dfe08a867444c49869dc3dcbb51f9f7b833 SHA256 44e407b6daecd1a1943f650d2cb412d784b472fad26d3e9257bac8e8a741c706
DIST texlive-20100722-source.tar.xz 33482988 RMD160 1859d5886c846763068120cb9005d09c12b59b09 SHA1 c5573c0617f1a44235212277959f48fb76590542 SHA256 d813d1482bb82e02e5c740601f4a9fc44411513ca421897a97d5f68aa2212417
+DIST texlive-20110627-source.tar.xz 131225612 RMD160 fef8f9d63f54336f3fd1f2229207374b0b1959fa SHA1 a7076e5d9d6a95b18d4c57a6f8b40da87c6d91f0 SHA256 d3a28ce10e577b59e5fcd857ac5af960e80747eb1ac0fa14a360d843aadcfbdc
DIST texlive-module-kpathsea-2010.tar.xz 31204 RMD160 a781b585ffc2c6055cc714e759b38ad8721c9157 SHA1 e9ed275d1e801c35f287e8dff2fbcc1089a0eb69 SHA256 03fe5713adf01df46bfbeb3b620b64cd8f4c0612c9926075949e7e5673c4e2ca
DIST texlive-module-kpathsea.doc-2010.tar.xz 1089784 RMD160 7882648dfd847d566253e106cae27959d17c1f59 SHA1 b75d54853ffd11769de7f0a68e95a3f025068a8a SHA256 72af134cb8b13d92f06b6e2acb7005ffee3ab5eebe3c8adce28e440826f81a7b
EBUILD kpathsea-6.0.0_p20100722.ebuild 3007 RMD160 add9f07bd2d4d39c4950f19cf20d5bc4ea69fc62 SHA1 cf0e377f4d0e826fa88beff197365938bab33c74 SHA256 8a38e9edda2ed0823923dba45ab595d5a446684dc052abea2d89bc8fd7f3f16d
-MISC ChangeLog 1915 RMD160 85ab0886662bccf1e0c68308e60ed4cc9a37509f SHA1 c448cd5e007b0c19d596065ed4790270a14b4fdb SHA256 67feb05d5c722241cd260b53fbf1d431c2835a752d82caee9997d12ca33efd88
+EBUILD kpathsea-6.0.1_p20110627.ebuild 3189 RMD160 27a9e8802373a63bbcee50d1c624b8112a4e9015 SHA1 8c5edfdb63e5d5b471c906aa387e755ee97d4fb6 SHA256 56d6cb40f7b80c2d4af9370f1e7629ea825b63e09bdc7ac46da34e8b4cbb0ba5
+MISC ChangeLog 2224 RMD160 459836104027d6015f77627c95cd2a763fa2b8d4 SHA1 f74163e82caa7c005aba61da0e73346b76e431dc SHA256 f91eef400ff33be2aa937a05b06f070a2861752e368733cd533469a9d5f17bae
MISC metadata.xml 254 RMD160 b93e3e60f221af098c45ccb65cc5a755c4f7c964 SHA1 67ae4896c814d551e4ada1303a791b1bc84eaeb8 SHA256 78294df0a1d0e815b05f968bb43c4272d420e3025a38ea2d4fe6193a918a8e10
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (FreeBSD)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk34SPQACgkQGpDnPLSHuMBkKACeP2SkgbBm6ofsM3s6EHAYpeUh
-1UgAnRHVJ3KZMVen6hW24dkOjYpyPND3
-=U4Pn
+iEYEARECAAYFAk4J+JcACgkQvFcC4BYPU0oZuwCcD/JLIcBPEhpVrstDHHXcLLVL
+6H8AnjAe64QW2VWk+7Y1q7PrD2hbVWMV
+=zEOh
-----END PGP SIGNATURE-----
diff --git a/dev-libs/kpathsea/files/invocname.patch b/dev-libs/kpathsea/files/invocname.patch
new file mode 100644
index 000000000000..28ccc55a2960
--- /dev/null
+++ b/dev-libs/kpathsea/files/invocname.patch
@@ -0,0 +1,19 @@
+Preserve API for now. This has been renamed for TeX Live 2011.
+
+Index: texlive-20110627-source/texk/kpathsea/types.h
+===================================================================
+--- texlive-20110627-source.orig/texk/kpathsea/types.h
++++ texlive-20110627-source/texk/kpathsea/types.h
+@@ -280,8 +280,12 @@ extern KPSEDLL kpathsea kpse_def;
+
+ #undef kpse_invocation_name
+ #define kpse_invocation_name kpse_def_inst.invocation_name
++#undef program_invocation_name
++#define program_invocation_name kpse_def_inst.invocation_name
+ #undef kpse_invocation_short_name
+ #define kpse_invocation_short_name kpse_def_inst.invocation_short_name
++#undef program_invocation_short_name
++#define program_invocation_short_name kpse_def_inst.invocation_short_name
+
+ #endif /* KPSE_COMPAT_API */
+
diff --git a/dev-libs/kpathsea/kpathsea-6.0.1_p20110627.ebuild b/dev-libs/kpathsea/kpathsea-6.0.1_p20110627.ebuild
new file mode 100644
index 000000000000..6fd29b3aba32
--- /dev/null
+++ b/dev-libs/kpathsea/kpathsea-6.0.1_p20110627.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=3
+
+inherit texlive-common eutils
+
+TEXMFD_VERSION="3"
+
+DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
+HOMEPAGE="http://tug.org/texlive/"
+SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
+ mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE="doc source static-libs"
+
+DEPEND="!<app-text/texlive-core-2010
+ !app-text/ptex"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
+
+TL_VERSION=2010
+EXTRA_TL_MODULES="kpathsea"
+EXTRA_TL_DOC_MODULES="kpathsea.doc"
+
+for i in ${EXTRA_TL_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+
+SRC_URI="${SRC_URI} doc? ( "
+for i in ${EXTRA_TL_DOC_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+SRC_URI="${SRC_URI} ) "
+
+src_prepare() {
+ epatch "${FILESDIR}/invocname.patch"
+}
+
+src_configure() {
+ # Too many regexps use A-Z a-z constructs, what causes problems with locales
+ # that don't have the same alphabetical order than ascii. Bug #347798
+ # So we set LC_ALL to C in order to avoid problems.
+ export LC_ALL=C
+
+ # Disable largefile because it seems to cause problems on big endian 32 bits
+ # systems...
+ econf \
+ --disable-largefile \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf/web2c" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodir /usr/share # just in case
+ cp -pR "${WORKDIR}"/texmf "${ED}/usr/share/" || die "failed to install texmf trees"
+ if use source ; then
+ cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
+ fi
+
+ # The default configuration expects it to be world writable, bug #266680
+ # People can still change it with texconfig though.
+ dodir /var/cache/fonts
+ fperms 1777 /var/cache/fonts
+
+ # Take care of fmtutil.cnf and texmf.cnf
+ dodir /etc/texmf/{fmtutil.d,texmf.d}
+
+ # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
+ # texmf.cnf
+ # It will also be generated from /etc/texmf/texmf.d files by texmf-update
+ rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
+
+ insinto /etc/texmf/texmf.d
+ doins "${WORKDIR}/texmf.d/"*.cnf || die "failed to install texmf.d configuration files"
+
+ # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
+ # by texmf-update
+ rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
+
+ dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
+ dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
+
+ # Keep it as that's where the formats will go
+ keepdir /var/lib/texmf
+
+ dodoc BUGS ChangeLog NEWS PROJECTS README || die
+}
+
+pkg_postinst() {
+ etexmf-update
+}
+
+pkg_postrm() {
+ etexmf-update
+}