summaryrefslogtreecommitdiff
path: root/dev-libs/kpathsea
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/kpathsea
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-libs/kpathsea')
-rw-r--r--dev-libs/kpathsea/Manifest7
-rw-r--r--dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-c23.patch52
-rw-r--r--dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-r1-musl.patch22
-rw-r--r--dev-libs/kpathsea/files/kpathsea.conf1
-rw-r--r--dev-libs/kpathsea/files/texmf-update-r2168
-rw-r--r--dev-libs/kpathsea/kpathsea-6.3.5_p20230311.ebuild106
-rw-r--r--dev-libs/kpathsea/kpathsea-6.4.0_p20240311-r1.ebuild111
-rw-r--r--dev-libs/kpathsea/kpathsea-6.4.0_p20240311.ebuild106
-rw-r--r--dev-libs/kpathsea/metadata.xml11
9 files changed, 0 insertions, 584 deletions
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest
deleted file mode 100644
index c3282dce19fb..000000000000
--- a/dev-libs/kpathsea/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST kpathsea-texmf.d-11.tar.xz 12616 BLAKE2B f64dcaae859d6c95d534907f69519428973fad5b7a734eec269b3cc89fc2ae527a459b4ae4d966a3394d6a95f40fac16841f59f9f6cabf2a07dcdcb98a14cba9 SHA512 eec72ecc35edd47bd9a5762f0d06212e4625eea1ee2ffc36f93885b548ca6c4e0eb65345a1ec050f3f838aed5128bb32eda509b5aadbad6643469b4955441f22
-DIST kpathsea.doc.r68516.tar.xz 1040300 BLAKE2B f62e86600b7eef2edba9a1fc77d8bb1fe7ee7f6839cc541e976381c2435fe4e18c410edb1c422f9a56e838cf481f38398305c8691f55ce6ee8728ed4cd21862b SHA512 de1946896816d6ece6ac8632d8ca0d04212c34ef98009aaca5c7ec593f1c932e67c591d85b12406c7be6f142a59a03345d78279492857502ab2696af76bd35db
-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-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
-DIST texlive-20240311-source.tar.xz 70130920 BLAKE2B f7e0c99694734585e36cbfa815e8c50b4e73c2b8b9a81a0c13f2ca22b1f54d46d92d07792c2036bdd2b3ebfcdf2c100638f4302b3dd64d478b04d1eb7a7aaee1 SHA512 2f1d567abba2ba98e236c1de034a861a86af9ce34a9be4f6b478a9f4eaf07a78d09104c652dddab9db2e7057a66f39504c0403a456c72a74f612d0efeccb0714
diff --git a/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-c23.patch b/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-c23.patch
deleted file mode 100644
index 0c06095c3567..000000000000
--- a/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-c23.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-https://bugs.gentoo.org/952902
-https://bugs.gentoo.org/955549
-https://github.com/TeX-Live/texlive-source/commit/cc687b6c0ae8c6a4b566646282a7bc702d822e6d (cherry-picked)
-.. then another fix on top.
-
-From cc687b6c0ae8c6a4b566646282a7bc702d822e6d Mon Sep 17 00:00:00 2001
-From: Karl Berry <karl@freefriends.org>
-Date: Tue, 8 Apr 2025 22:40:48 +0000
-Subject: [PATCH] begin groveling to C23 (fixes mostly from Hilmar)
-
-git-svn-id: svn://tug.org/texlive/trunk/Build/source@74888 c570f23f-e606-0410-a88d-b1316a301751
----
- texk/kpathsea/c-memstr.h | 7 -------
- 17 files changed, 81 insertions(+), 25 deletions(-)
-
-diff --git a/texk/kpathsea/c-memstr.h b/texk/kpathsea/c-memstr.h
-index e8e107a6f9..fdd4faeb7e 100644
---- a/c-memstr.h
-+++ b/c-memstr.h
-@@ -53,11 +53,4 @@
- #define memcpy(to, from, len) bcopy ((from), (to), (len))
- #endif
-
--#if !defined(HAVE_STRING_H)
--extern char *strtok ();
--#ifndef strstr
--extern char *strstr ();
--#endif
--#endif
--
- #endif /* not KPATHSEA_C_MEMSTR_H */
-diff --git a/c-std.h b/c-std.h
-index 6d65d15..f001f0a 100644
---- a/c-std.h
-+++ b/c-std.h
-@@ -37,16 +37,10 @@
- /* Be sure we have constants from <unistd.h>. */
- #include <kpathsea/c-unistd.h>
-
--#ifdef HAVE_STDLIB_H
- #include <stdlib.h>
- /* Include <stdlib.h> before <stddef.h>, to help avoid NULL
- redefinitions on some systems. (We don't include <stddef.h>
- ourselves any more, but FYI.) */
--#else
--/* It's impossible to say for sure what the system will deign to put in
-- <stdlib.h>, but let's hope it's at least this. */
--extern char *getenv ();
--#endif /* not HAVE_STDLIB_H */
-
- #ifdef WIN32
- #include <malloc.h>
diff --git a/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-r1-musl.patch b/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-r1-musl.patch
deleted file mode 100644
index bbfcdb98316a..000000000000
--- a/dev-libs/kpathsea/files/kpathsea-6.4.0_p20240311-r1-musl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/getopt.h 2026-04-07 15:14:48.565190070 +0200
-+++ b/getopt.h 2026-04-07 15:17:07.788553013 +0200
-@@ -117,7 +117,7 @@
- #define optional_argument 2
- #endif /* need getopt */
-
--#if defined(__GNU_LIBRARY__) || defined (WIN32) || defined (__CYGWIN__)
-+#if defined(__GNU_LIBRARY__) || defined (WIN32) || defined (__CYGWIN__) || defined(__linux__)
- /* Many other libraries have conflicting prototypes for getopt, with
- differences in the consts, in stdlib.h. To avoid compilation
- errors, only prototype getopt for the GNU C library. And not when
---- a/getopt.c 2026-04-07 15:14:45.507226231 +0200
-+++ b/getopt.c 2026-04-07 15:16:52.243736062 +0200
-@@ -194,7 +194,7 @@
- /* Value of POSIXLY_CORRECT environment variable. */
- static char *posixly_correct;
-
--#if defined(__GNU_LIBRARY__) || defined(WIN32)
-+#if defined(__GNU_LIBRARY__) || defined(WIN32) || defined(__linux__)
- /* We want to avoid inclusion of string.h with non-GNU libraries
- because there are many ways it can cause trouble.
- On some systems, it contains special magic macros that don't work
diff --git a/dev-libs/kpathsea/files/kpathsea.conf b/dev-libs/kpathsea/files/kpathsea.conf
deleted file mode 100644
index f68f5d5e125c..000000000000
--- a/dev-libs/kpathsea/files/kpathsea.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /var/cache/fonts 1777 root root -
diff --git a/dev-libs/kpathsea/files/texmf-update-r2 b/dev-libs/kpathsea/files/texmf-update-r2
deleted file mode 100644
index d30cbd3b3eac..000000000000
--- a/dev-libs/kpathsea/files/texmf-update-r2
+++ /dev/null
@@ -1,168 +0,0 @@
-#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
-#
-# Utility to update Gentoo TeXLive distribution configuration files
-#
-
-echo "Configuring TeXLive ..."
-
-PATH="@GENTOO_PORTAGE_EPREFIX@"/bin:"@GENTOO_PORTAGE_EPREFIX@"/usr/bin
-
-# Fix for all those with altered umask for root
-umask 022
-
-# Ensure reliable order when concatenating files, bug #579018
-LC_COLLATE=C
-
-# Make sure we have a correct environment, bug #30432
-# The list of env. vars is taken from the INSTALL file
-for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \
- DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \
- MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \
- OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \
- T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \
- TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \
- TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \
- VFFONTS XDVIFONTS XDVIVFS ; do
-
- if [ "${!texvar}" ]; then
- if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then
- export ${texvar}="${!texvar}:"
- fi
- fi
-done
-
-if [ "$TEXINPUTS" ]; then
- if $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf/*:\?||g')
- elif $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf/*:\?||g')
- fi
-fi
-
-MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX"
-DIFF_COMMAND="cmp -s"
-TEMP_FILE="`${MKTEMP_COMMAND}`"
-
-if [ -z "${TEMP_FILE}" ]; then
- exit
-fi
-
-# check whether config files for fmtutil and updmap have changed
-STATUS_FMTUTIL="0"
-STATUS_UPDMAP="0"
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d ]; then
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/texmf.d ..."
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf"
-fi
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d ]; then
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/fmtutil.d ..."
- if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ]; then
- cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf"
- ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE}
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-else
-# if no regeneration took place:
-# always regenerate the formats to be on the safe side
- STATUS_FMTUTIL="${STATUS_FMTUTIL}3"
-fi
-
-if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d ]; then
- if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ]; then
- cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- else
- touch ${TEMP_FILE}
- fi
- echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/updmap.d ..."
- cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d/*.cfg > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg"
- ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE}
- STATUS_UPDMAP="${STATUS_UPDMAP}$?"
-else
-# if no regeneration could be done:
-# always regenerate the maps to be on the safe side
- STATUS_UPDMAP="${STATUS_UPDMAP}3"
-fi
-
-echo "Generating ls-R files"
-mktexlsr &>/dev/null
-
-# Generate language.dat file, from texlive install-pkg.sh
-X=`kpsewhich language.dat`
-Z=`dirname $X`
-if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then
- echo "Generating language.dat file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat" "${TEMP_FILE}"
-
- cat "$Z/language.us" > "$Z/language.dat"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.d/language.*.dat; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat"
- done
-
- ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.def file.
-if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then
- echo "Generating language.def file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.def" "${TEMP_FILE}"
-
- cat "$Z/language.us.def" > "$Z/language.def"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.def.d/language.*.def; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.def"
- done
- cat << EOF >> "$Z/language.def"
-%%% No changes may be made beyond this point.
-
-\uselanguage {USenglish} %%% This MUST be the last line of the file.
-EOF
-
- ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-# Generate language.dat.lua file.
-if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then
- echo "Generating language.dat.lua file"
-
- # Save the old one, we will check if it has changed
- cp -f "$Z/language.dat.lua" "${TEMP_FILE}"
-
- cat "$Z/language.us.lua" > "$Z/language.dat.lua"
- for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.lua.d/language.*.dat.lua; do
- [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua"
- done
- printf "}\n" >> "$Z/language.dat.lua"
-
- ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}"
- STATUS_FMTUTIL="${STATUS_FMTUTIL}$?"
-fi
-
-if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then
- echo "Generating format files ..."
- fmtutil-sys --all &>/dev/null
-else
- echo "Skipping format files, since they are unchanged"
-fi
-
-if [ "${STATUS_UPDMAP}" -ne 0 ] ; then
- echo "Generating font maps..."
- updmap-sys &>/dev/null
-else
- echo "Skipping font maps, since they are unchanged"
-fi
-
-rm -f ${TEMP_FILE}
-
-echo
-echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users"
-echo
diff --git a/dev-libs/kpathsea/kpathsea-6.3.5_p20230311.ebuild b/dev-libs/kpathsea/kpathsea-6.3.5_p20230311.ebuild
deleted file mode 100644
index 89d69c255620..000000000000
--- a/dev-libs/kpathsea/kpathsea-6.3.5_p20230311.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit texlive-common libtool prefix tmpfiles
-
-TEXMFD_VERSION="11"
-MY_SOURCE_FILE="texlive-${PV#*_p}-source.tar.xz"
-
-DESCRIPTION="Path searching library for TeX-related files"
-HOMEPAGE="https://tug.org/texlive/"
-SRC_URI="
- https://mirrors.ctan.org/systems/texlive/Source/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~flow/distfiles/texlive/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~sam/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz
-"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
-IUSE="doc source static-libs"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-
-TL_REVISION=68516
-EXTRA_TL_MODULES="kpathsea.r${TL_REVISION}"
-EXTRA_TL_DOC_MODULES="kpathsea.doc.r${TL_REVISION}"
-
-texlive-common_append_to_src_uri EXTRA_TL_MODULES
-
-SRC_URI="${SRC_URI} doc? ( "
-texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-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
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.4.0_p20240311-r1.ebuild b/dev-libs/kpathsea/kpathsea-6.4.0_p20240311-r1.ebuild
deleted file mode 100644
index 2dd4a627a126..000000000000
--- a/dev-libs/kpathsea/kpathsea-6.4.0_p20240311-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit texlive-common libtool prefix tmpfiles
-
-TEXMFD_VERSION="11"
-MY_SOURCE_FILE="texlive-${PV#*_p}-source.tar.xz"
-
-DESCRIPTION="Path searching library for TeX-related files"
-HOMEPAGE="https://tug.org/texlive/"
-SRC_URI="
- https://mirrors.ctan.org/systems/texlive/Source/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~flow/distfiles/texlive/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~sam/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz
-"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-LICENSE="LGPL-2.1"
-SLOT="0/${PV%_p*}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
-IUSE="doc source static-libs"
-
-TL_REVISION=72376
-EXTRA_TL_MODULES="kpathsea.r${TL_REVISION}"
-EXTRA_TL_DOC_MODULES="kpathsea.doc.r${TL_REVISION}"
-
-texlive-common_append_to_src_uri EXTRA_TL_MODULES
-
-SRC_URI="${SRC_URI} doc? ( "
-texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-PATCHES=(
- "${FILESDIR}"/kpathsea-6.4.0_p20240311-c23.patch
- "${FILESDIR}"/kpathsea-6.4.0_p20240311-r1-musl.patch
-)
-
-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
-}
diff --git a/dev-libs/kpathsea/kpathsea-6.4.0_p20240311.ebuild b/dev-libs/kpathsea/kpathsea-6.4.0_p20240311.ebuild
deleted file mode 100644
index 180994057a9b..000000000000
--- a/dev-libs/kpathsea/kpathsea-6.4.0_p20240311.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit texlive-common libtool prefix tmpfiles
-
-TEXMFD_VERSION="11"
-MY_SOURCE_FILE="texlive-${PV#*_p}-source.tar.xz"
-
-DESCRIPTION="Path searching library for TeX-related files"
-HOMEPAGE="https://tug.org/texlive/"
-SRC_URI="
- https://mirrors.ctan.org/systems/texlive/Source/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~flow/distfiles/texlive/${MY_SOURCE_FILE}
- https://dev.gentoo.org/~sam/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz
-"
-
-S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
-LICENSE="LGPL-2.1"
-SLOT="0/${PV%_p*}"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
-IUSE="doc source static-libs"
-
-TL_REVISION=72376
-EXTRA_TL_MODULES="kpathsea.r${TL_REVISION}"
-EXTRA_TL_DOC_MODULES="kpathsea.doc.r${TL_REVISION}"
-
-texlive-common_append_to_src_uri EXTRA_TL_MODULES
-
-SRC_URI="${SRC_URI} doc? ( "
-texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES
-SRC_URI="${SRC_URI} ) "
-
-TEXMF_PATH=/usr/share/texmf-dist
-
-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
-}
diff --git a/dev-libs/kpathsea/metadata.xml b/dev-libs/kpathsea/metadata.xml
deleted file mode 100644
index 98446157c3f1..000000000000
--- a/dev-libs/kpathsea/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>tex@gentoo.org</email>
- <name>Gentoo TeX Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">TeX-Live/texlive-source</remote-id>
- </upstream>
-</pkgmetadata>