mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/kpathsea: drop 6.3.3_p20210325-r1
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -3,8 +3,5 @@ DIST kpathsea.doc.r68516.tar.xz 1040300 BLAKE2B f62e86600b7eef2edba9a1fc77d8bb1f
|
||||
DIST kpathsea.doc.r72376.tar.xz 1057476 BLAKE2B 8b83fd14c4fefb64b4e931cd1e3080bffb52f8e24f2630f2e50bf5a99c8e359582364337e6e97d62fc9b3b3dee6d9b23b4c21f77ce556ebf8ca9227d7d5018e7 SHA512 ba35e45f839354fd5047c12595656cd61ca1426dc164f596f159d2aa2e0cdd38e98e2fd8dc1389bce55db710510057945626a0c7a204e93edab400fa148b3205
|
||||
DIST kpathsea.r68516.tar.xz 32592 BLAKE2B b59e2ec011d34c6378a1815fd2041107bed0b66a01af4b138322bbca5504b9e1418d50463d2b6fca7d581eaa5c033509a7b63bb0060a566735cd9556f51def59 SHA512 3a0e08fd9a7635e282e0fa010594358488e03db40faa305c309f28d307d475573696f3b6091b84eca96e9f25870ccab9ff549cdcc1412e610f6ca8474154b9f9
|
||||
DIST kpathsea.r72376.tar.xz 33080 BLAKE2B f40fea6d5b6f1918b185d123914fca8e618b43ceb5e16399dbf64ff31c0dae5bedad3a444ef06d8839ad35975eba9eb1dcfeaca5575c3ddc9209dd373c8ea481 SHA512 f8f5404087aeec306e7c2713a165b0ced5bf02aaf5b002e0ac9c603c1a9f9eed3fedfff96ab47cba9c44e4360a0e98fd702a6c178ff51eed198d58717008f8b8
|
||||
DIST texlive-20210325-source.tar.xz 54837368 BLAKE2B 66bd4bdd43ff53513004b9b9b90ababa0ab5efcf183a27864a3d39cde9cf90721456bda90c49ad6014f4b12d2e6293feaf9a8b152b85a89ffaa96bf5056347df SHA512 afd6eb24efaeac7c58d43ff24162aece919079a9ae02934509f068c7a3828223c33c14d9db11ff7fea3560b08a06f352446ba7f845eefb4a56a87b96f088f213
|
||||
DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
|
||||
DIST texlive-20240311-source.tar.xz 70130920 BLAKE2B f7e0c99694734585e36cbfa815e8c50b4e73c2b8b9a81a0c13f2ca22b1f54d46d92d07792c2036bdd2b3ebfcdf2c100638f4302b3dd64d478b04d1eb7a7aaee1 SHA512 2f1d567abba2ba98e236c1de034a861a86af9ce34a9be4f6b478a9f4eaf07a78d09104c652dddab9db2e7057a66f39504c0403a456c72a74f612d0efeccb0714
|
||||
DIST tl-kpathsea-2021.tar.xz 32308 BLAKE2B 83052cefc5699d46ce104e4379d39eee8e86b514d25245a6104fc9940accf131790ae144ca11dbd3b99a31a06017495bb5a53afb1e49da71a2c9eec008200653 SHA512 398358b84ecb81fece969fbd3521b093f7e791feec828c218e6371c26d57956491328999517a65711d45dfb04c83fd643ef0fad6a0153590866eddf485d5c575
|
||||
DIST tl-kpathsea.doc-2021.tar.xz 1066608 BLAKE2B 798ccf9953e4fa2037f81b56dfa30cf99c56c17e2942d5a0f2041b871958284f05150e5d7631b542896190f178327f009130e6bb07f60e8173ec1e9f12c4cda9 SHA512 8ecccee7ad99220f91139dcd9c2ce0bd19eb0e2fe74f0a965f68e59a28bd3de454624d6e014ef2a5c481a537acb95b08a9546a79abd8df429300043ecf973545
|
||||
|
||||
@@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit texlive-common libtool prefix tmpfiles
|
||||
|
||||
TEXMFD_VERSION="11"
|
||||
|
||||
DESCRIPTION="Path searching library for TeX-related files"
|
||||
HOMEPAGE="https://tug.org/texlive/"
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz
|
||||
https://dev.gentoo.org/~sam/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${PV%_p*}"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc source static-libs"
|
||||
|
||||
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
|
||||
|
||||
TL_VERSION=2021
|
||||
EXTRA_TL_MODULES="kpathsea"
|
||||
EXTRA_TL_DOC_MODULES="kpathsea.doc"
|
||||
|
||||
for i in ${EXTRA_TL_MODULES} ; do
|
||||
SRC_URI="${SRC_URI} https://dev.gentoo.org/~sam/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz"
|
||||
done
|
||||
|
||||
SRC_URI="${SRC_URI} doc? ( "
|
||||
for i in ${EXTRA_TL_DOC_MODULES} ; do
|
||||
SRC_URI="${SRC_URI} https://dev.gentoo.org/~sam/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz"
|
||||
done
|
||||
SRC_URI="${SRC_URI} ) "
|
||||
|
||||
TEXMF_PATH=/usr/share/texmf-dist
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch
|
||||
"${FILESDIR}"/${PN}-6.3.3_p20210325-Fix-slibtool-test.patch #924405
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cd "${WORKDIR}/texlive-${PV#*_p}-source" || die
|
||||
S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize
|
||||
cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update || die
|
||||
eprefixify "${S}"/texmf-update
|
||||
}
|
||||
|
||||
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-dist/web2c" install
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
dodir /usr/share # just in case
|
||||
cp -pR "${WORKDIR}"/texmf-dist "${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
|
||||
|
||||
# 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" || die
|
||||
|
||||
insinto /etc/texmf/texmf.d
|
||||
doins "${WORKDIR}/texmf.d/"*.cnf
|
||||
|
||||
# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
|
||||
# by texmf-update
|
||||
rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die
|
||||
|
||||
dosym ../../../../etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
|
||||
dosym ../../../../etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
|
||||
|
||||
newsbin "${S}/texmf-update" texmf-update
|
||||
|
||||
# Keep it as that's where the formats will go
|
||||
keepdir /var/lib/texmf
|
||||
|
||||
dodoc ChangeLog NEWS PROJECTS README
|
||||
|
||||
# The default configuration expects it to be world writable, bug #266680
|
||||
# People can still change it with texconfig though.
|
||||
dotmpfiles "${FILESDIR}"/kpathsea.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process kpathsea.conf
|
||||
etexmf-update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
||||
Reference in New Issue
Block a user