diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-10-23 02:47:32 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-10-23 02:47:32 +0000 |
commit | 0b4c64da7b697d64d83c9b65634376b9016e2e25 (patch) | |
tree | b7ea21a8dbdf1cd21769fb754b2863e4461944b3 /dev-libs | |
parent | Security patch for bug #342121 (SA41738). Remove old. (diff) | |
download | historical-0b4c64da7b697d64d83c9b65634376b9016e2e25.tar.gz historical-0b4c64da7b697d64d83c9b65634376b9016e2e25.tar.bz2 historical-0b4c64da7b697d64d83c9b65634376b9016e2e25.zip |
Initial import. Ebuild by me, split out of texlive-core for TeX Live 2010.
Package-Manager: portage-2.2_rc99/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/kpathsea/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/kpathsea/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/kpathsea/kpathsea-6.0.0_p20100722.ebuild | 83 | ||||
-rw-r--r-- | dev-libs/kpathsea/metadata.xml | 10 |
4 files changed, 120 insertions, 0 deletions
diff --git a/dev-libs/kpathsea/ChangeLog b/dev-libs/kpathsea/ChangeLog new file mode 100644 index 000000000000..b700450ebfab --- /dev/null +++ b/dev-libs/kpathsea/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/kpathsea +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.1 2010/10/23 02:47:32 aballier Exp $ + +*kpathsea-6.0.0_p20100722 (23 Oct 2010) + + 23 Oct 2010; Alexis Ballier <aballier@gentoo.org> + +kpathsea-6.0.0_p20100722.ebuild, +metadata.xml: + Initial import. Ebuild by me, split out of texlive-core for TeX Live 2010. + diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest new file mode 100644 index 000000000000..89a2f1625070 --- /dev/null +++ b/dev-libs/kpathsea/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST kpathsea-texmf.d-1.tar.xz 10484 RMD160 52c1524c066f32ac784047b20a1a2da678600a10 SHA1 bfb352dc1273c05721fa0a14931c5957f0640467 SHA256 be1e14e40333b19eb809c5d7880cab211c4119e429e84d7b15814238d732553f +DIST texlive-20100722-source.tar.xz 33482988 RMD160 1859d5886c846763068120cb9005d09c12b59b09 SHA1 c5573c0617f1a44235212277959f48fb76590542 SHA256 d813d1482bb82e02e5c740601f4a9fc44411513ca421897a97d5f68aa2212417 +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 2522 RMD160 e25c5ffaa141a18316be4a2d056a7fc0f09ca35b SHA1 061a577e80c80a30ded4c93521d5d17b8ad44d36 SHA256 c57063e2abc02f1982eef0ba1163a57cfe8579dbf9c53102fa726eaa53b919d6 +MISC ChangeLog 431 RMD160 f20722023fe7eddc8c12937c148758bc12298896 SHA1 61683cca673441840b96d976275ae8322c840d85 SHA256 eecfd5c33710afd0fbb397316c7f33f617030e43b2eeb952da7c75966b85f01b +MISC metadata.xml 254 RMD160 b93e3e60f221af098c45ccb65cc5a755c4f7c964 SHA1 67ae4896c814d551e4ada1303a791b1bc84eaeb8 SHA256 78294df0a1d0e815b05f968bb43c4272d420e3025a38ea2d4fe6193a918a8e10 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkzCTMoACgkQvFcC4BYPU0p7hQCgs3B6foNe5dSGZesnd17vdhWo +9ZsAnAk9+yiWpaC6ENxefHUt+rduKugl +=8VdW +-----END PGP SIGNATURE----- diff --git a/dev-libs/kpathsea/kpathsea-6.0.0_p20100722.ebuild b/dev-libs/kpathsea/kpathsea-6.0.0_p20100722.ebuild new file mode 100644 index 000000000000..aea8ec925b27 --- /dev/null +++ b/dev-libs/kpathsea/kpathsea-6.0.0_p20100722.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/kpathsea-6.0.0_p20100722.ebuild,v 1.1 2010/10/23 02:47:32 aballier Exp $ + +EAPI=3 + +inherit texlive-common + +TEXMFD_VERSION="1" + +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="~amd64" +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_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" web2cdir="/usr/share/texmf/web2c" install || die + find "${D}" -name '*.la' -delete + + dodir /usr/share # just in case + cp -pR "${WORKDIR}"/texmf "${D}/usr/share/" || die "failed to install texmf trees" + if use source ; then + cp -pR "${WORKDIR}"/tlpkg "${D}/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 "${D}${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 "${D}${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 +} diff --git a/dev-libs/kpathsea/metadata.xml b/dev-libs/kpathsea/metadata.xml new file mode 100644 index 000000000000..709c45b017d6 --- /dev/null +++ b/dev-libs/kpathsea/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tex</herd> + <maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> +</pkgmetadata> + |