public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-11-17 16:46 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-11-17 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     048c7f14a471f2e2c32cca54797689e137cd67c9
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 17 16:45:06 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Nov 17 16:45:06 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=048c7f14

app-text/texlive-core: set TEXMF_PATH

The TEXMF_PATH variable was previously set via the
texlive-common.eclass, but this was changed with
13ea75aeff01 ("texlive-{common,module}.eclass: reduce diff and cleanup").

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index ff8a8a7..9987e3d 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -317,6 +317,8 @@ fi
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cjk X doc source tk +luajittex xetex xindy"
 
+TEXMF_PATH=/usr/share/texmf-dist
+
 MODULAR_X_DEPEND="
 	X? (
 		x11-libs/libX11


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-11-19 18:13 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-11-19 18:13 UTC (permalink / raw
  To: gentoo-commits

commit:     e232c6dc2071ab1df12836addecc927c7325dafc
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 18:12:33 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 18:12:48 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=e232c6dc

app-text/texlive-core: patch out zlib version check in luazlib

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                 | 1 +
 app-text/texlive-core/texlive-core-2023.ebuild | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index d7cf934..4e92cfa 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -176,6 +176,7 @@ DIST texdoctk.doc.r62186.tar.xz 30728 BLAKE2B 4878654c60e2fb3a1415f492894a3d956d
 DIST texdoctk.r62186.tar.xz 26712 BLAKE2B 4076b8b227dc08762cd7880165fd4b1780f3ed34e0ba68b1b04ce542efd47aefc3f893d71da7dbc8122ebb45107480974da0631f16f849d2990a14cd2db74ce6 SHA512 f3300a088f5ecedfe66ca277f793d3565b5b0f111721a0d73a788d65b72f09d0103a11edda13679fb9e919f11ce9ed3662717c18e46be99a83b744a1f7ec88fe
 DIST texfot.doc.r68110.tar.xz 35164 BLAKE2B 47f10b3bb639330c3517392ed19469fb36280bffd786792cc6c4b608c92c61a091b1c6143f707d4be09d46aa4dda48f928cc4cf1811ebbc487ca7e5eb677b58a SHA512 d652523552ad401598c68227b3e0e11c84261a3a243afc731f54892fc971c8f22e74bb58b6eb45ac15f70c8789e5a4a9c4dfca81a3dc304762ab97c8bc74e3c4
 DIST texfot.r68110.tar.xz 6936 BLAKE2B 1104fc5319d2dd5b71eee5f8e6e0a79edc4ad40215253591828b3fcc36cda0c7e538eb1751bc790994332b882af8e5618b0d908a6bb079e04370a3be2a296156 SHA512 0886ab706ce0f18b0eab304afa1d570fd55b57bc02c8b3b1aacde77c73ee260f688bd395b2e362cb998cc1aa9a2d1e228b118f5234eb9c40ce867a97d86f4ac9
+DIST texlive-2023-drop-luazlip-version-check.patch 1621 BLAKE2B 907cd70c1756cb5c771554b34232a4544d77d2ba5f5136b698cd713757a09643db4d338737490b9490c54eb2909a564685b8a765c08bcbf1b228dbe239c05955 SHA512 6ed1f7f7baefde6d027e30ae82fc3bf66b646a81148aeb81416e76893af167070032b385775aeed2a27a67c12ec76edff1fa2362e26d531cb6984b49710af9d0
 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
 DIST texlive-scripts-extra.doc.r62517.tar.xz 197196 BLAKE2B 80d2fd7b53ffbe21f975156cf0d5f52826faebc422d3e66c342c8237d7da27ba58b1ffc56f83a040ae4b4e870c8063c0d53392f9cc7e3bb3da30ebe5a258a40a SHA512 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
 DIST texlive-scripts-extra.r62517.tar.xz 23540 BLAKE2B 85762b7a74f5132ec550033e08caef5f6fd145ef367475a1b3ebaccfefdcfb426f2e12e647e45a35daa2a44cf0c2fba8d6ed8afec88ed6fccee0cf7eb52c2c50 SHA512 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 9987e3d..4ba6b2e 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -17,6 +17,8 @@ RESTRICT="mirror"
 
 SRC_URI="
 	mirror://ctan/Source/${MY_P}.tar.xz
+	https://github.com/Flowdalic/texlive-source/commit/9d53bc46fc5259542e32299ec695df375a4f54c9.patch
+		-> texlive-2023-drop-luazlip-version-check.patch
 "
 
 # We ship binextra collection alongside
@@ -417,6 +419,8 @@ src_prepare() {
 	# eapply "${FILESDIR}"/${P}-clang-16.patch
 	# eapply "${WORKDIR}"/${P}-CVE-2023-32700.patch
 
+	eapply "${DISTDIR}/texlive-2023-drop-luazlip-version-check.patch"
+
 	default
 
 	elibtoolize


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-11-19 18:50 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-11-19 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     13e452d1a3757ee8f950282c27da0b2907eac77d
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 18:50:36 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 18:50:36 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=13e452d1

app-text/texlive-core: update drop-luazlib-version-check.patch, add PR link

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                 | 2 +-
 app-text/texlive-core/texlive-core-2023.ebuild | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index 4e92cfa..a0508fb 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -176,7 +176,7 @@ DIST texdoctk.doc.r62186.tar.xz 30728 BLAKE2B 4878654c60e2fb3a1415f492894a3d956d
 DIST texdoctk.r62186.tar.xz 26712 BLAKE2B 4076b8b227dc08762cd7880165fd4b1780f3ed34e0ba68b1b04ce542efd47aefc3f893d71da7dbc8122ebb45107480974da0631f16f849d2990a14cd2db74ce6 SHA512 f3300a088f5ecedfe66ca277f793d3565b5b0f111721a0d73a788d65b72f09d0103a11edda13679fb9e919f11ce9ed3662717c18e46be99a83b744a1f7ec88fe
 DIST texfot.doc.r68110.tar.xz 35164 BLAKE2B 47f10b3bb639330c3517392ed19469fb36280bffd786792cc6c4b608c92c61a091b1c6143f707d4be09d46aa4dda48f928cc4cf1811ebbc487ca7e5eb677b58a SHA512 d652523552ad401598c68227b3e0e11c84261a3a243afc731f54892fc971c8f22e74bb58b6eb45ac15f70c8789e5a4a9c4dfca81a3dc304762ab97c8bc74e3c4
 DIST texfot.r68110.tar.xz 6936 BLAKE2B 1104fc5319d2dd5b71eee5f8e6e0a79edc4ad40215253591828b3fcc36cda0c7e538eb1751bc790994332b882af8e5618b0d908a6bb079e04370a3be2a296156 SHA512 0886ab706ce0f18b0eab304afa1d570fd55b57bc02c8b3b1aacde77c73ee260f688bd395b2e362cb998cc1aa9a2d1e228b118f5234eb9c40ce867a97d86f4ac9
-DIST texlive-2023-drop-luazlip-version-check.patch 1621 BLAKE2B 907cd70c1756cb5c771554b34232a4544d77d2ba5f5136b698cd713757a09643db4d338737490b9490c54eb2909a564685b8a765c08bcbf1b228dbe239c05955 SHA512 6ed1f7f7baefde6d027e30ae82fc3bf66b646a81148aeb81416e76893af167070032b385775aeed2a27a67c12ec76edff1fa2362e26d531cb6984b49710af9d0
+DIST texlive-2023-drop-luazlib-version-check.patch 1622 BLAKE2B 657d2cf7a8082bf295a4f0b8f7d1f6db9284b2b937527b4550dbe440a5d7c53524cd0c81d16d0939c832e5f49f3ec2fdeb10b90333787b8c0b65c5a5846adcb7 SHA512 a81aea3127881f8b57dcbaece0f1b8a5afc2d20781d1e28f44695348ae4444bfa6cd8963f26d929bfdd77833f3732ca3785348cd42d8ea20d37458b3ddb1273b
 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
 DIST texlive-scripts-extra.doc.r62517.tar.xz 197196 BLAKE2B 80d2fd7b53ffbe21f975156cf0d5f52826faebc422d3e66c342c8237d7da27ba58b1ffc56f83a040ae4b4e870c8063c0d53392f9cc7e3bb3da30ebe5a258a40a SHA512 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
 DIST texlive-scripts-extra.r62517.tar.xz 23540 BLAKE2B 85762b7a74f5132ec550033e08caef5f6fd145ef367475a1b3ebaccfefdcfb426f2e12e647e45a35daa2a44cf0c2fba8d6ed8afec88ed6fccee0cf7eb52c2c50 SHA512 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 4ba6b2e..1791cbe 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -17,8 +17,8 @@ RESTRICT="mirror"
 
 SRC_URI="
 	mirror://ctan/Source/${MY_P}.tar.xz
-	https://github.com/Flowdalic/texlive-source/commit/9d53bc46fc5259542e32299ec695df375a4f54c9.patch
-		-> texlive-2023-drop-luazlip-version-check.patch
+	https://github.com/Flowdalic/texlive-source/commit/8be4094fa5dfcfbeace5d16a481ae97fdf816727.patch
+		-> texlive-2023-drop-luazlib-version-check.patch
 "
 
 # We ship binextra collection alongside
@@ -419,7 +419,8 @@ src_prepare() {
 	# eapply "${FILESDIR}"/${P}-clang-16.patch
 	# eapply "${WORKDIR}"/${P}-CVE-2023-32700.patch
 
-	eapply "${DISTDIR}/texlive-2023-drop-luazlip-version-check.patch"
+	# https://github.com/TeX-Live/texlive-source/pull/62
+	eapply "${DISTDIR}/texlive-2023-drop-luazlib-version-check.patch"
 
 	default
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-11-20 17:44 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-11-20 17:44 UTC (permalink / raw
  To: gentoo-commits

commit:     811c9ab604cdc32d7ac580b6925edfba9446c606
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 17:44:38 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 17:44:38 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=811c9ab6

app-text/texlive-core: fix texlive-*-source SRC_URI

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 1791cbe..891992f 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -16,7 +16,7 @@ LICENSE="Apache-2.0 Artistic BSD BSD-2 FDL-1.3 GPL-1 GPL-2 GPL-3 GPL-3+ LGPL-3 L
 RESTRICT="mirror"
 
 SRC_URI="
-	mirror://ctan/Source/${MY_P}.tar.xz
+	mirror://ctan/systems/texlive/Source/${MY_P}.tar.xz
 	https://github.com/Flowdalic/texlive-source/commit/8be4094fa5dfcfbeace5d16a481ae97fdf816727.patch
 		-> texlive-2023-drop-luazlib-version-check.patch
 "


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-12-29 11:50 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-12-29 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     d380ac5e3c76339bb7121c42d131fd243d34fb85
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 10:46:50 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 10:46:57 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=d380ac5e

app-text/texlive-core: drop obsolete lines

The texlive.tlpdb is no longer available since we obtain the packages in
a differnt way now, and it is not clear why it was moved anyway.

Also, do as the comment guides us and remove the reautoconf for
libs/cairo.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 891992f..749e642 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -394,8 +394,6 @@ RELOC_TARGET=texmf-dist
 src_prepare() {
 	cd "${WORKDIR}" || die
 
-	# mv texlive.tlpdb tlpkg/ || die "failed to move texlive.tlpdb"
-
 	# From texlive-module.eclass.
 	sed -n -e 's:\s*RELOC/::p' tlpkg/tlpobj/* > "${T}/reloclist" || die
 	sed -e 's/\/[^/]*$//' -e "s:^:${RELOC_TARGET}/:" "${T}/reloclist" |
@@ -425,9 +423,6 @@ src_prepare() {
 	default
 
 	elibtoolize
-
-	# Drop this on 2022 bump!
-	"${S}"/reautoconf libs/cairo || die
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-12-29 11:50 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2023-12-29 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     b8ae489765c273244bb399971ba7618f3d349f68
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 11:50:24 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 11:50:24 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=b8ae4897

app-text/texlive-core: reduce diff with previous ebuild version

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 159 ++++++++++++-------------
 1 file changed, 77 insertions(+), 82 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 749e642..e1d570a 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -441,86 +441,9 @@ src_configure() {
 	# revisit/upstream once we bump to 2022, bug #882245
 	append-cppflags -D_GNU_SOURCE
 
-	tc-export CC CXX AR RANLIB
-	myconf=(
-		--disable-native-texlive-build
-		--enable-shared
-		--disable-static
-		--with-banner-add="/Gentoo Linux"
-
-		--with-system-freetype2
-		--with-system-zlib
-		--with-system-libpng
-		--with-system-teckit
-		--with-teckit-includes="${EPREFIX}"/usr/include/teckit
-		--with-system-kpathsea
-		--with-kpathsea-includes="${EPREFIX}"/usr/include
-		--with-system-icu
-		--with-system-ptexenc
-		--with-system-harfbuzz
-		--with-system-graphite2
-		--with-system-cairo
-		--with-system-pixman
-		--with-system-zziplib
-		--with-system-libpaper
-		--with-system-gmp
-		--with-system-gd
-		--with-system-mpfr
-		--with-system-potrace
-		# --with-system-xpdf
-		--without-texinfo
-		--disable-dialog
-		--disable-multiplatform
-		--enable-chktex
-		--enable-epsfwin
-		--enable-detex
-		--enable-dvi2tty
-		--enable-mftalkwin
-		--enable-regiswin
-		--enable-tektronixwin
-		--enable-unitermwin
-		--enable-vlna
-		--with-ps=gs
-		--disable-psutils
-		--disable-t1utils
-		--enable-ipc
-		--disable-biber
-		--disable-bibtex-x
-		--disable-dvipng
-		--disable-dvipsk
-		--disable-lcdf-typetools
-		--disable-ps2pk
-		--disable-ttf2pk2
-		--disable-tex4htk
-		--disable-cjkutils
-		--disable-xdvik
-		--enable-luatex
-		--disable-dvisvgm
-		--disable-ps2eps
-		--disable-largefile
-		--disable-build-in-source-tree
-		--disable-xindy-docs
-		--disable-xindy-rules
-		"$(use_enable luajittex)"
-		"$(use_enable luajittex luajithbtex)"
-		"$(use_enable luajittex mfluajit)"
-		"$(use_enable xetex)"
-		"$(use_enable cjk dviout-util)"
-		# "$(use_enable cjk ptex)"
-		"$(use_enable cjk eptex)"
-		# "$(use_enable cjk uptex)"
-		"$(use_enable cjk euptex)"
-		"$(use_enable cjk mendexk)"
-		"$(use_enable cjk makejvf)"
-		"$(use_enable cjk pmp)"
-		"$(use_enable cjk upmp)"
-		"$(use_enable tk texdoctk)"
-		"$(use_with X x)"
-		"$(use_enable xindy)"
-
+	local econf_new_2023=(
 		--enable-ptex=no
 		--enable-uptex=no
-
 		--enable-autosp=yes
 		--enable-axodraw2=yes
 		--enable-devnag=yes
@@ -546,16 +469,89 @@ src_configure() {
 		--enable-ttfdump=yes
 		--enable-upmendex=yes
 		--enable-texlive=yes
-
 		--enable-linked-scripts=no
 		# web2c afm2pl chktex detex dtl dvi2tty dvidvi dviljk dviout-util dvipdfm-x dvipos gregorio gsftopk makeindexk makejvf mendexk musixtnt seetexk ttfdump upmendex texlive
 	)
+
+	tc-export CC CXX AR RANLIB
 	cd "${BUILDDIR}" || die
 	ECONF_SOURCE="${S}" \
 		econf -C \
 		--bindir="${EPREFIX}"/usr/bin \
 		--datadir="${BUILDDIR}" \
-		"${myconf[@]}"
+		--with-system-freetype2 \
+		--with-system-zlib \
+		--with-system-libpng \
+		--with-system-teckit \
+		--with-teckit-includes="${EPREFIX}"/usr/include/teckit \
+		--with-system-kpathsea \
+		--with-kpathsea-includes="${EPREFIX}"/usr/include \
+		--with-system-icu \
+		--with-system-ptexenc \
+		--with-system-harfbuzz \
+		--with-system-graphite2 \
+		--with-system-cairo \
+		--with-system-pixman \
+		--with-system-zziplib \
+		--with-system-libpaper \
+		--with-system-gmp \
+		--with-system-gd \
+		--with-system-mpfr \
+		--with-system-potrace \
+		--without-texinfo \
+		--disable-dialog \
+		--disable-multiplatform \
+		--enable-chktex \
+		--enable-epsfwin \
+		--enable-detex \
+		--enable-dvi2tty \
+		--enable-mftalkwin \
+		--enable-regiswin \
+		--enable-shared \
+		--enable-tektronixwin \
+		--enable-unitermwin \
+		--enable-vlna \
+		--with-ps=gs \
+		--disable-psutils \
+		--disable-t1utils \
+		--enable-ipc \
+		--disable-biber \
+		--disable-bibtex-x \
+		--disable-dvipng \
+		--disable-dvipsk \
+		--disable-lcdf-typetools \
+		--disable-ps2pk \
+		--disable-ttf2pk2 \
+		--disable-tex4htk \
+		--disable-cjkutils \
+		--disable-xdvik \
+		--enable-luatex \
+		--disable-dvisvgm \
+		--disable-ps2eps \
+		--disable-static \
+		--disable-native-texlive-build \
+		--disable-largefile \
+		--disable-build-in-source-tree \
+		--disable-xindy-docs \
+		--disable-xindy-rules \
+		--with-banner-add=" Gentoo Linux" \
+		$(use_enable luajittex) \
+		$(use_enable luajittex luajithbtex) \
+		$(use_enable luajittex mfluajit) \
+		$(use_enable xetex) \
+		$(use_enable cjk dviout-util) \
+		$(use_enable cjk ptex) \
+		$(use_enable cjk eptex) \
+		$(use_enable cjk uptex) \
+		$(use_enable cjk euptex) \
+		$(use_enable cjk mendexk) \
+		$(use_enable cjk makejvf) \
+		$(use_enable cjk pmp) \
+		$(use_enable cjk upmp) \
+		$(use_enable tk texdoctk) \
+		$(use_with X x) \
+		$(use_enable xindy) \
+		"${econf_new_2023[@]}"
 }
 
 src_compile() {
@@ -666,9 +662,8 @@ pkg_postinst() {
 
 	local display_migration_hint=false
 	if [[ -n ${REPLACING_VERSIONS} ]]; then
-		local new_texlive_version
+		local new_texlive_version=$(ver_cut 1)
 		local replaced_version
-		new_texlive_version=$(ver_cut 1)
 		for replaced_version in ${REPLACING_VERSIONS}; do
 			replaced_version=$(ver_cut 1 "${replaced_version}")
 			if ver_test "${replaced_version}" -lt "${new_texlive_version}" ; then


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2023-12-30 12:05 Paul Zander
  0 siblings, 0 replies; 22+ messages in thread
From: Paul Zander @ 2023-12-30 12:05 UTC (permalink / raw
  To: gentoo-commits

commit:     08b0e18b2ef3b095a6b50b592c8f01b2bfb3cf12
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sat Dec 30 11:58:27 2023 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Sat Dec 30 11:58:27 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=08b0e18b

app-text/texlive-core: only enable xpdfopen when X is enabled

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index e1d570a..7147ea9 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -453,7 +453,7 @@ src_configure() {
 		--enable-tpic2pdftex=yes
 		--with-clisp-runtime=system
 		--enable-xml2pmx=yes
-		--enable-xpdfopen=yes
+		$(use_enable X xpdfopen)
 		--enable-web2c=yes
 		--enable-afm2pl=yes
 		--enable-dtl=yes


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-01-10 21:15 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-01-10 21:15 UTC (permalink / raw
  To: gentoo-commits

commit:     30ada4d41a2a485c3c86b01644a13f0e9b6fcaad
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 21:14:45 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 21:14:45 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=30ada4d4

app-text/texlive-core: apply gentoo patches

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                 |  2 +-
 app-text/texlive-core/texlive-core-2023.ebuild | 28 ++++++++++++++++----------
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index a0508fb..211d640 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -67,6 +67,7 @@ DIST findhyph.doc.r47444.tar.xz 35040 BLAKE2B c8c7bd2eec414c4289b441c047c3687072
 DIST findhyph.r47444.tar.xz 3904 BLAKE2B ed688ba5b589ecfda3c1de90f7977fb76952576534b4614ba01643335d25a7a7b2593d954515f96e65e6fffb5544aae6237b5ad1dd7b011691a0666cf516ba86 SHA512 aea6305dc0d9b31367638078a7958933468e761ef4cf47a1c44d9fd5ab2e25f7af22273c4631946a90edc9b51947c2e56b3d4b74c8c59f0a79250c2edf5bc137
 DIST fragmaster.doc.r26313.tar.xz 80316 BLAKE2B 5fe2d1f1b5b38dbf579e0ab8819103a04e885c9b43ed7e76afc4836da78f230a0a56840a0c188a6f40e06d17084108f0f7cccb8e45f5a9c32c2856d8c681a55e SHA512 61f0bd7dab46bfb91b634006217f01648007cbce3c9187b0811a5cc1755ec19654da94b47866ad9873fd57629f1561d1cc46bf3a4d62db618502aa0e67500637
 DIST fragmaster.r26313.tar.xz 6872 BLAKE2B 85cb9e3b240f22274f25bf1ff002b86ad20389d20840c197653242e8983795e4f61358b9546b302be786eeebe7359f51ae60a7b82fc06d2a5aec561d50fc7cfc SHA512 dc5d80aa4bab7a0a66258face6cf8222d03b12ea492f7cf568ef815a6d5950a8a2b36c7403ab466141f49cb8faedfbb33146820b88da17d8b8fa18a2b16235e4
+DIST gentoo-tex-patches-2.tar.bz2 16843 BLAKE2B 57f26c2c8179f4b97b87395af8a768dbf8ae38510a73fa649f09ac731343bd21261e8b1489c674e8ba1fa0384351b288382adb0fefa6dd58e39f5419460fc0c3 SHA512 d5a2e7eea4d94473f7adb599ae3e5ed87aacde8430c3f50a3a837746103658ccf50b32ebb2849ad4c80fcb1e9756823b45cd267732564ee44ac5e6f7a16d2acf
 DIST git-latexdiff.doc.r54732.tar.xz 18012 BLAKE2B f92e9a6aa1f258e89166b3b980af777fae808a4181fbfaa6258040ae2b732cc0cca054fae359d4b297964df50932e1880de285ec55f01be4321a82730128869e SHA512 bfda354f808c1f94dfac207d1526409a160b89292e44541930dac34383e3ffec9ce63d04db041ea5ac529e1e01fdc80c4c64cd43e8cdc14aac974094732d6fe8
 DIST git-latexdiff.r54732.tar.xz 8100 BLAKE2B d1acd7e6d100f59084868d2178c25bf75689646130edf87c1626c3b542d56001865c359df4d2d210a07649ea5293f05d7785e9e4ddfd81a7bc570969268ccf4d SHA512 74077b3dd1a91a734af6d668b309f804dc58a282393d88d8d5d74a5e6fc73c197e49b462369f829cc7151e20aaf8085c0587428ed61ce7957a1ef173d92c5481
 DIST gsftopk.doc.r52851.tar.xz 27540 BLAKE2B c6f3e6f01bf63616a66318fc652ae0e7cf08ac0e94eb9d31ec98058da77215fc8c84be7e885960eea70ff82d72533c5011a96136758f0159b7c17430aa835fc6 SHA512 0a597e2908438fc00fc2bafa7ec635a82b70aad9d7f7e86851a654c0b72b719b8c550be0c20ecf6c8d96627863a48e6a387156ad2c7e71d1e296dd4937d60805
@@ -176,7 +177,6 @@ DIST texdoctk.doc.r62186.tar.xz 30728 BLAKE2B 4878654c60e2fb3a1415f492894a3d956d
 DIST texdoctk.r62186.tar.xz 26712 BLAKE2B 4076b8b227dc08762cd7880165fd4b1780f3ed34e0ba68b1b04ce542efd47aefc3f893d71da7dbc8122ebb45107480974da0631f16f849d2990a14cd2db74ce6 SHA512 f3300a088f5ecedfe66ca277f793d3565b5b0f111721a0d73a788d65b72f09d0103a11edda13679fb9e919f11ce9ed3662717c18e46be99a83b744a1f7ec88fe
 DIST texfot.doc.r68110.tar.xz 35164 BLAKE2B 47f10b3bb639330c3517392ed19469fb36280bffd786792cc6c4b608c92c61a091b1c6143f707d4be09d46aa4dda48f928cc4cf1811ebbc487ca7e5eb677b58a SHA512 d652523552ad401598c68227b3e0e11c84261a3a243afc731f54892fc971c8f22e74bb58b6eb45ac15f70c8789e5a4a9c4dfca81a3dc304762ab97c8bc74e3c4
 DIST texfot.r68110.tar.xz 6936 BLAKE2B 1104fc5319d2dd5b71eee5f8e6e0a79edc4ad40215253591828b3fcc36cda0c7e538eb1751bc790994332b882af8e5618b0d908a6bb079e04370a3be2a296156 SHA512 0886ab706ce0f18b0eab304afa1d570fd55b57bc02c8b3b1aacde77c73ee260f688bd395b2e362cb998cc1aa9a2d1e228b118f5234eb9c40ce867a97d86f4ac9
-DIST texlive-2023-drop-luazlib-version-check.patch 1622 BLAKE2B 657d2cf7a8082bf295a4f0b8f7d1f6db9284b2b937527b4550dbe440a5d7c53524cd0c81d16d0939c832e5f49f3ec2fdeb10b90333787b8c0b65c5a5846adcb7 SHA512 a81aea3127881f8b57dcbaece0f1b8a5afc2d20781d1e28f44695348ae4444bfa6cd8963f26d929bfdd77833f3732ca3785348cd42d8ea20d37458b3ddb1273b
 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
 DIST texlive-scripts-extra.doc.r62517.tar.xz 197196 BLAKE2B 80d2fd7b53ffbe21f975156cf0d5f52826faebc422d3e66c342c8237d7da27ba58b1ffc56f83a040ae4b4e870c8063c0d53392f9cc7e3bb3da30ebe5a258a40a SHA512 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
 DIST texlive-scripts-extra.r62517.tar.xz 23540 BLAKE2B 85762b7a74f5132ec550033e08caef5f6fd145ef367475a1b3ebaccfefdcfb426f2e12e647e45a35daa2a44cf0c2fba8d6ed8afec88ed6fccee0cf7eb52c2c50 SHA512 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 7147ea9..f272a7e 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,10 +15,12 @@ SLOT="0"
 LICENSE="Apache-2.0 Artistic BSD BSD-2 FDL-1.3 GPL-1 GPL-2 GPL-3 GPL-3+ LGPL-3 LPPL-1.0 LPPL-1.2 LPPL-1.3 LPPL-1.3c MIT TeX TeX-other-free public-domain"
 RESTRICT="mirror"
 
+GENTOO_TEX_PATCHES_NUM=2
+
 SRC_URI="
 	mirror://ctan/systems/texlive/Source/${MY_P}.tar.xz
-	https://github.com/Flowdalic/texlive-source/commit/8be4094fa5dfcfbeace5d16a481ae97fdf816727.patch
-		-> texlive-2023-drop-luazlib-version-check.patch
+	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
+		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
 "
 
 # We ship binextra collection alongside
@@ -411,14 +413,18 @@ src_prepare() {
 		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
 		texk/web2c/configure || die
 
-	# eapply "${WORKDIR}"/patches
-	# eapply "${FILESDIR}"/${P}-cairo-strings.patch
-	# eapply "${FILESDIR}"/${P}-slibtool.patch
-	# eapply "${FILESDIR}"/${P}-clang-16.patch
-	# eapply "${WORKDIR}"/${P}-CVE-2023-32700.patch
-
-	# https://github.com/TeX-Live/texlive-source/pull/62
-	eapply "${DISTDIR}/texlive-2023-drop-luazlib-version-check.patch"
+	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
+	local drop_patches=(
+		texlive-2021-unbundle-linked_scripts.patch
+		texlive-core-2021-CVE-2023-32700.patch
+		texlive-core-2021-clang-16.patch
+		texlive-core-2021-slibtool.patch
+	)
+	local patch
+	for patch in ${drop_patches[@]}; do
+		rm "${patch_dir}/${patch}" || die "Could not remove ${patch}"
+	done
+	eapply "${patch_dir}"
 
 	default
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-11 11:28 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-11 11:28 UTC (permalink / raw
  To: gentoo-commits

commit:     19e9754e5ce7a52dccaa0db0b07eb57bd76306e2
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:12:02 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:12:02 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=19e9754e

app-text/texlive-core: add 'die' when invoking "fmtutil-sys -all"

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 644f9e4..86b92a6 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -743,7 +743,7 @@ pkg_postinst() {
 	etexmf-update
 
 	einfo "Regenerating TeX formats"
-	fmtutil-sys --all &> /dev/null
+	fmtutil-sys --all &> /dev/null || die "Failed to regenerate TeX formats"
 
 	elog
 	elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-12  9:30 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-12  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     26829570ca8dd60c2d518a2ddb69a63506b4de6f
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 09:29:50 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 09:30:11 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=26829570

app-text/texlive-core: add note about not using 'die'

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 644f9e4..f09dc64 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -742,6 +742,10 @@ src_install() {
 pkg_postinst() {
 	etexmf-update
 
+	# Note that the fmtutil-sys call has no "|| die" attached to it. We
+	# are here in pkg_postinst where invoking die is not sensible.
+	# TODO: Research the rationale of calling fmtutil-sys here and the
+	# reasons why it fails.
 	einfo "Regenerating TeX formats"
 	fmtutil-sys --all &> /dev/null
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-12  9:30 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-12  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     080320cef7ec1f3eac489b0cff570f286417b3d5
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 09:27:07 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 09:30:11 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=080320ce

Revert "app-text/texlive-core: add 'die' when invoking "fmtutil-sys -all""

This reverts commit 19e9754e5ce7a52dccaa0db0b07eb57bd76306e2.

So, this is in pkg_postinst where invoking die is not really
sensible. After all, the package was already successfully merged.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 86b92a6..644f9e4 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -743,7 +743,7 @@ pkg_postinst() {
 	etexmf-update
 
 	einfo "Regenerating TeX formats"
-	fmtutil-sys --all &> /dev/null || die "Failed to regenerate TeX formats"
+	fmtutil-sys --all &> /dev/null
 
 	elog
 	elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-12 15:02 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-12 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c20bbb8aac0d34b3f53012668b73d87704d7fcd7
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 10:15:45 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 10:15:49 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=c20bbb8a

app-text/texlive-core: invoke efmtutil-sys from the eclass and use --ignore-errors

texlive-core always invoked texmf-update and fmtutil-sys ignore its
exit status, but with the recent eclass change etexmf-update became
sensitive to its exit status.

And since we now invoke efmtutil-sys, instead of invoking fmtutil-sys
directly, we have to use --ignore-errors to restore the original
behavior of the ebuild.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index f09dc64..07d1909 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -740,14 +740,16 @@ src_install() {
 }
 
 pkg_postinst() {
-	etexmf-update
-
-	# Note that the fmtutil-sys call has no "|| die" attached to it. We
-	# are here in pkg_postinst where invoking die is not sensible.
-	# TODO: Research the rationale of calling fmtutil-sys here and the
-	# reasons why it fails.
-	einfo "Regenerating TeX formats"
-	fmtutil-sys --all &> /dev/null
+	# Note that the etexmf-update and efmtutil-sys use nonfatal. We are
+	# pkg_postinst, so invoking die will merely print an error message
+	# but not abort the installation as it already happened. However,
+	# unlike the texlive modules, we observed fmtutil-sys failures in
+	# texlive-core.
+
+	# TODO: Research the rationale of calling etexmf-update and
+	# eftmutil-sys here and the reasons why it fails.
+	etexmf-update --ignore-errors
+	efmtutil-sys --ignore-errors
 
 	elog
 	elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-25 15:26 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-25 15:26 UTC (permalink / raw
  To: gentoo-commits

commit:     65cbcf36fa23a63bc2ccdba0e433562d9a988a21
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 15:26:14 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 15:26:14 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=65cbcf36

app-text/texlive-core: dependency adjustments

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 07d1909..0f46bfc 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=8
+EAPI="8"
 
 TL_SOURCE_VERSION=20230311
 inherit flag-o-matic toolchain-funcs libtool texlive-common
@@ -13,9 +13,7 @@ HOMEPAGE="https://tug.org/texlive/"
 SLOT="0"
 LICENSE="Apache-2.0 Artistic BSD BSD-2 FDL-1.3 GPL-1 GPL-2 GPL-3 GPL-3+ LGPL-3 LPPL-1.0 LPPL-1.2 LPPL-1.3 LPPL-1.3c MIT TeX TeX-other-free public-domain"
 RESTRICT="mirror"
-
 GENTOO_TEX_PATCHES_NUM=2
-
 SRC_URI="
 	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
 	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
@@ -378,7 +376,6 @@ TEXLIVE_MODULE_BINLINKS="
 	kpsetool:kpsexpand
 	kpsetool:kpsepath
 "
-
 # TL_CORE_EXTRA_SRC_MODULES=""
 
 texlive-common_append_to_src_uri TL_CORE_EXTRA_CONTENTS
@@ -406,7 +403,6 @@ KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
 IUSE="cjk X doc source tk +luajittex xetex xindy"
 
 TEXMF_PATH=/usr/share/texmf-dist
-
 MODULAR_X_DEPEND="
 	X? (
 		x11-libs/libX11
@@ -431,13 +427,13 @@ COMMON_DEPEND="
 	dev-libs/mpfr:=
 	>=dev-libs/ptexenc-1.4.3
 	xetex? (
-		>=app-text/teckit-2.5.3
+		>=app-text/teckit-2.5.10
 		media-libs/fontconfig
 	)
 	xindy? ( dev-lisp/clisp:= )
 	media-libs/freetype:2
 	>=dev-libs/icu-50:=
-	>=dev-libs/kpathsea-6.3.2:=
+	>=dev-libs/kpathsea-6.3.5:=
 "
 
 BDEPEND="
@@ -452,9 +448,6 @@ DEPEND="
 
 RDEPEND="
 	${COMMON_DEPEND}
-	>=app-text/ps2pkm-1.8_p20230311
-	>=app-text/dvipsk-2023.1_p20230311
-	>=dev-tex/bibtexu-4.00_p20230311
 	virtual/perl-Getopt-Long
 	dev-perl/File-HomeDir
 	dev-perl/Log-Dispatch
@@ -465,6 +458,12 @@ RDEPEND="
 		dev-perl/Tk
 	)
 "
+RDEPEND+="
+	>=app-text/dvisvgm-3.2
+	>=dev-tex/bibtexu-3.72
+	>=dev-tex/latexdiff-1.3.3
+	>=dev-tex/latexmk-4.83
+"
 
 S="${WORKDIR}/${MY_P}"
 BUILDDIR="${WORKDIR}/${P}_build"


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-26 13:54 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-26 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     692d410f5b9264c34fe1d191db04cffefb668bf6
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 13:54:42 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 13:54:42 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=692d410f

app-text/texlive-core: fix DoubleEmptyLine

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index f76bceb..881aff4 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -20,7 +20,6 @@ SRC_URI="
 		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
 "
 
-
 # Macros that are not a part of texlive-sources or or pulled in from collection-binextra
 # but still needed for other packages during installation
 TL_CORE_EXTRA_CONTENTS="


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-26 13:54 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-26 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     dfbef99927a09a0561b2e38fa7409f3b566379b0
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 13:53:38 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 13:53:38 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=dfbef999

app-text/texlive-core: drop keepdir /usr/share/texmf-site

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index fa9ac06..f76bceb 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -443,8 +443,6 @@ src_install() {
 
 	texlive-common_handle_config_files
 
-	keepdir /usr/share/texmf-site
-
 	# the virtex symlink is not installed
 	# The links has to be relative, since the targets
 	# is not present at this stage and MacOS doesn't


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-02-26 13:55 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-02-26 13:55 UTC (permalink / raw
  To: gentoo-commits

commit:     f28c6e6a5d5176bb5b7dc8dbe07812237912d04f
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 13:55:38 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 13:55:38 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=f28c6e6a

app-text/texlive-core: tabify

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 881aff4..6205862 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -263,8 +263,8 @@ src_configure() {
 		--enable-web2c=yes
 		--enable-afm2pl=yes
 		--enable-dvidvi=yes
-	    --enable-dviljk=yes
-        $(use_enable cjk dvipdfm-x)
+		--enable-dviljk=yes
+		$(use_enable cjk dvipdfm-x)
 		--enable-dvipos=yes
 		--enable-gregorio=yes
 		--enable-gsftopk=yes


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-03-01  8:06 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-03-01  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     0c5ffff310cd69c76976d2392d819a58f4aa96e6
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 07:56:14 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 07:56:14 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=0c5ffff3

app-text/texlive-core: bump gentoo patches to 3

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                 |  2 +-
 app-text/texlive-core/texlive-core-2023.ebuild | 12 +-----------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index 5f7214a..9484ef4 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -17,7 +17,7 @@ DIST dvipdfmx.doc.r69127.tar.xz 3125132 BLAKE2B b29cc6a2f1934fdeab678a5246154b1b
 DIST dvipdfmx.r69127.tar.xz 26704 BLAKE2B 7d2790d9aa6b994ab3619bd96ea6880e9243105001224d7bbadd130b03c7b8335fe751bdcbb90ef5ad92d60d3a80e63f0f152d50725a80cf1c78e45ab5c9245d SHA512 75703f600365c90379c5d009e00d35d2e514a76b2556c96c84fc2a717287441af419a26fc9ef087d111f2e77c7180f6371ca2ec33b66052ab63ca3d11f48e788
 DIST dvipos.doc.r66186.tar.xz 28764 BLAKE2B 7bc90b21109d52375ffdfef601722d0d3bb36932556f8f29ae62cd4f62c2171da2cf08f9bec72f368711dea071cd15b09f3d3661a91013a086c3a6621abc8794 SHA512 254a1db41636608a133e7807a8d4ea8ddd99ac646f35b66a43205ac7fdaf4a15c21eafbb85e23a182506e509895776d1fcbe63b3b8a7f197d577c6405ece5c44
 DIST dvipos.r66186.tar.xz 296 BLAKE2B 1560c5a795df9c095c8115e7f0296ffa3206dd2630a8cf2df9dd76aa2ae1c6b5f044d327c44d026bd94bf80d6bab12cf7da04ef5b7ccb3291762a495d8a4764c SHA512 9e949fb402facda9c30fa2f388b80f2cfc530670b33cbd78559e4449fa6004c5d4082e4fb895ea397a334a333e5d5ae1a4f66fde3885f0a9eb28c9d9ebbecd0a
-DIST gentoo-tex-patches-2.tar.bz2 16843 BLAKE2B 57f26c2c8179f4b97b87395af8a768dbf8ae38510a73fa649f09ac731343bd21261e8b1489c674e8ba1fa0384351b288382adb0fefa6dd58e39f5419460fc0c3 SHA512 d5a2e7eea4d94473f7adb599ae3e5ed87aacde8430c3f50a3a837746103658ccf50b32ebb2849ad4c80fcb1e9756823b45cd267732564ee44ac5e6f7a16d2acf
+DIST gentoo-tex-patches-3.tar.bz2 3860 BLAKE2B 048d1fb59909f0f319f7a77ca424dd48d1f879d7c97be5c683e6c76142d1a878705adfd3cd734e401bbf2cf319c7e539540781bd9ab0fc937b2c93e129e3ceac SHA512 6976ddf60b6b61fb04c04ddae1fcc98372047b7186a34cd531f0a5011b69310b598db89f216265d91e9a465fd4a4e7410920ae1373b378495beeeb537c73a17a
 DIST gsftopk.doc.r52851.tar.xz 27540 BLAKE2B c6f3e6f01bf63616a66318fc652ae0e7cf08ac0e94eb9d31ec98058da77215fc8c84be7e885960eea70ff82d72533c5011a96136758f0159b7c17430aa835fc6 SHA512 0a597e2908438fc00fc2bafa7ec635a82b70aad9d7f7e86851a654c0b72b719b8c550be0c20ecf6c8d96627863a48e6a387156ad2c7e71d1e296dd4937d60805
 DIST gsftopk.r52851.tar.xz 3548 BLAKE2B 65e455587ba7b014be3f7668225fd0f5b4816406896209929001cab5b61dd6b748120970dca79207117b6a5b07ff7c00f96aab6e540397405d075425f8a79a2b SHA512 cb9aebd7428d10b627d80ea40d297f3e6de006859c7dd713478ff193458494f90017ecd0737376ac1f47638b059e02e8a46ea53a7c56b8561af75f770e214413
 DIST hyphen-base.r68321.tar.xz 22604 BLAKE2B b11b688304c3622c71ddbb38e9095e550871360418d176ab717bdc59954c0648636e5627f55180980e789efed918dfdbab55c25b1b95c8ab0467398b1b2592c4 SHA512 d3f2749cc6946702ff0d51c1d823531bc92b77c1106aec252c84cc8649aa56048556c90e9792f1b0749bba0b86b7c34aa2b04fe2946d1226315dbc73add36913

diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild
index 0e13faf..a9c765a 100644
--- a/app-text/texlive-core/texlive-core-2023.ebuild
+++ b/app-text/texlive-core/texlive-core-2023.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://tug.org/texlive/"
 SLOT="0"
 LICENSE="Apache-2.0 Artistic BSD BSD-2 FDL-1.3 GPL-1 GPL-2 GPL-3 GPL-3+ LGPL-3 LPPL-1.0 LPPL-1.2 LPPL-1.3 LPPL-1.3c MIT TeX TeX-other-free public-domain"
 RESTRICT="mirror"
-GENTOO_TEX_PATCHES_NUM=2
+GENTOO_TEX_PATCHES_NUM=3
 SRC_URI="
 	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
 	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
@@ -214,16 +214,6 @@ src_prepare() {
 		texk/web2c/configure || die
 
 	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
-	local drop_patches=(
-		texlive-2021-unbundle-linked_scripts.patch
-		texlive-core-2021-CVE-2023-32700.patch
-		texlive-core-2021-clang-16.patch
-		texlive-core-2021-slibtool.patch
-	)
-	local patch
-	for patch in ${drop_patches[@]}; do
-		rm "${patch_dir}/${patch}" || die "Could not remove ${patch}"
-	done
 	eapply "${patch_dir}"
 
 	default


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-04-02  9:43 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-04-02  9:43 UTC (permalink / raw
  To: gentoo-commits

commit:     f1cc4722470f523044d811ff51b1f27300001217
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 18:06:47 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 18:06:47 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=f1cc4722

app-text/texlive-core: add 2023-r2

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023-r2.ebuild | 455 ++++++++++++++++++++++
 1 file changed, 455 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2023-r2.ebuild b/app-text/texlive-core/texlive-core-2023-r2.ebuild
new file mode 100644
index 0000000..829ec0c
--- /dev/null
+++ b/app-text/texlive-core/texlive-core-2023-r2.ebuild
@@ -0,0 +1,455 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TL_SOURCE_VERSION=20230311
+inherit flag-o-matic toolchain-funcs libtool texlive-common
+
+MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
+
+DESCRIPTION="A complete TeX distribution"
+HOMEPAGE="https://tug.org/texlive/"
+SLOT="0"
+LICENSE="BSD GPL-1 GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
+RESTRICT="mirror"
+GENTOO_TEX_PATCHES_NUM=3
+SRC_URI="
+	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
+	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
+		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
+"
+
+# Macros that are not a part of texlive-sources or or pulled in from collection-binextra
+# but still needed for other packages during installation
+TL_CORE_EXTRA_CONTENTS="
+	autosp.r58211
+	axodraw2.r58155
+	chktex.r64797
+	detex.r66186
+	dvi2tty.r66186
+	dvidvi.r65952
+	dviljk.r66186
+	dvipdfmx.r69127
+	dvipos.r66186
+	gsftopk.r52851
+	hyphen-base.r68321
+	lacheck.r66186
+	m-tx.r64182
+	makeindex.r62517
+	pmx.r65926
+	texlive-scripts.r69754
+	texlive-scripts-extra.r62517
+	texlive.infra.r69740
+	tpic2pdftex.r52851
+	upmendex.r66381
+	velthuis.r66186
+	vlna.r66186
+	xml2pmx.r57972
+"
+TL_CORE_EXTRA_DOC_CONTENTS="
+	autosp.doc.r58211
+	axodraw2.doc.r58155
+	chktex.doc.r64797
+	detex.doc.r66186
+	dvi2tty.doc.r66186
+	dvidvi.doc.r65952
+	dviljk.doc.r66186
+	dvipdfmx.doc.r69127
+	dvipos.doc.r66186
+	gsftopk.doc.r52851
+	lacheck.doc.r66186
+	m-tx.doc.r64182
+	makeindex.doc.r62517
+	pmx.doc.r65926
+	texlive-scripts.doc.r69754
+	texlive-scripts-extra.doc.r62517
+	texlive.infra.doc.r69740
+	tpic2pdftex.doc.r52851
+	upmendex.doc.r66381
+	velthuis.doc.r66186
+	vlna.doc.r66186
+	xml2pmx.doc.r57972
+"
+TL_CORE_EXTRA_SRC_CONTENTS="
+	axodraw2.source.r58155
+"
+
+TEXLIVE_MODULE_BINSCRIPTS="
+	texmf-dist/scripts/m-tx/m-tx.lua
+	texmf-dist/scripts/texlive/fmtutil-sys.sh
+	texmf-dist/scripts/texlive/fmtutil-user.sh
+	texmf-dist/scripts/texlive/fmtutil.pl
+	texmf-dist/scripts/texlive/mktexlsr
+	texmf-dist/scripts/texlive/mktexlsr.pl
+	texmf-dist/scripts/texlive/mktexmf
+	texmf-dist/scripts/texlive/mktexpk
+	texmf-dist/scripts/texlive/mktextfm
+	texmf-dist/scripts/texlive/rungs.lua
+	texmf-dist/scripts/texlive/tlmgr.pl
+	texmf-dist/scripts/texlive/updmap-sys.sh
+	texmf-dist/scripts/texlive/updmap-user.sh
+	texmf-dist/scripts/texlive/updmap.pl
+	texmf-dist/scripts/texlive-extra/allcm.sh
+	texmf-dist/scripts/texlive-extra/allneeded.sh
+	texmf-dist/scripts/texlive-extra/dvi2fax.sh
+	texmf-dist/scripts/texlive-extra/dvired.sh
+	texmf-dist/scripts/texlive-extra/e2pall.pl
+	texmf-dist/scripts/texlive-extra/kpsetool.sh
+	texmf-dist/scripts/texlive-extra/kpsewhere.sh
+	texmf-dist/scripts/texlive-extra/ps2frag.sh
+	texmf-dist/scripts/texlive-extra/pslatex.sh
+	texmf-dist/scripts/texlive-extra/texconfig-dialog.sh
+	texmf-dist/scripts/texlive-extra/texconfig-sys.sh
+	texmf-dist/scripts/texlive-extra/texconfig.sh
+	texmf-dist/scripts/texlive-extra/texlinks.sh
+"
+
+TEXLIVE_MODULE_BINLINKS="
+	fmtutil:mktexfmt
+	mktexlsr:texhash
+	allcm:allec
+	kpsetool:kpsexpand
+	kpsetool:kpsepath
+"
+texlive-common_append_to_src_uri TL_CORE_EXTRA_CONTENTS
+
+SRC_URI+=" doc? ( "
+texlive-common_append_to_src_uri TL_CORE_EXTRA_DOC_CONTENTS
+SRC_URI+=" )"
+
+SRC_URI+=" source? ( "
+texlive-common_append_to_src_uri TL_CORE_EXTRA_SRC_CONTENTS
+SRC_URI+=" )"
+
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
+IUSE="cjk X doc source tk +luajittex xetex xindy"
+
+TEXMF_PATH=/usr/share/texmf-dist
+MODULAR_X_DEPEND="
+	X? (
+		x11-libs/libX11
+		x11-libs/libXmu
+	)"
+
+COMMON_DEPEND="
+	${MODULAR_X_DEPEND}
+	!app-text/epspdf
+	!app-text/pdfjam
+	sys-libs/zlib
+	>=media-libs/harfbuzz-1.4.5:=[icu,graphite]
+	>=media-libs/libpng-1.2.43-r2:0=
+	media-libs/gd[png]
+	media-gfx/graphite2:=
+	media-gfx/potrace:=
+	>=x11-libs/cairo-1.12
+	>=x11-libs/pixman-0.18
+	dev-libs/zziplib:=
+	app-text/libpaper:=
+	dev-libs/gmp:=
+	dev-libs/mpfr:=
+	>=dev-libs/ptexenc-1.4.3
+	xetex? (
+		>=app-text/teckit-2.5.10
+		media-libs/fontconfig
+	)
+	xindy? ( dev-lisp/clisp:= )
+	media-libs/freetype:2
+	>=dev-libs/icu-50:=
+	>=dev-libs/kpathsea-6.3.5:=
+"
+
+BDEPEND="
+	sys-apps/ed
+	sys-devel/flex
+	virtual/pkgconfig
+"
+
+DEPEND="
+	${COMMON_DEPEND}
+"
+
+RDEPEND="
+	${COMMON_DEPEND}
+	virtual/perl-Getopt-Long
+	dev-perl/File-HomeDir
+	dev-perl/Log-Dispatch
+	dev-perl/Unicode-LineBreak
+	dev-perl/YAML-Tiny
+	tk? (
+		dev-lang/tk
+		dev-perl/Tk
+	)
+"
+
+S="${WORKDIR}/${MY_P}"
+BUILDDIR="${WORKDIR}/${P}_build"
+
+src_unpack() {
+	default
+
+	mkdir -p "${BUILDDIR}" || die "failed to create build dir"
+}
+
+RELOC_TARGET=texmf-dist
+
+src_prepare() {
+	cd "${WORKDIR}" || die
+
+	# From texlive-module.eclass.
+	sed -n -e 's:\s*RELOC/::p' tlpkg/tlpobj/* > "${T}/reloclist" || die
+	sed -e 's/\/[^/]*$//' -e "s:^:${RELOC_TARGET}/:" "${T}/reloclist" |
+		sort -u |
+		xargs mkdir -p || die
+	local i
+	while read -r i; do
+		mv "${i}" "${RELOC_TARGET}/${i%/*}" || die
+	done < "${T}/reloclist"
+	mv "${WORKDIR}"/texmf* "${S}" || die "failed to move texmf files"
+
+	cd "${S}" || die
+
+	sed -i \
+		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
+		texk/web2c/configure || die
+
+	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
+	eapply "${patch_dir}"
+
+	default
+
+	elibtoolize
+}
+
+src_configure() {
+	# It fails on alpha without this
+	use alpha && append-ldflags "-Wl,--no-relax"
+
+	# 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 #242430
+	# So we set LC_ALL to C in order to avoid problems.
+	export LC_ALL=C
+
+	# Disable freetype-config as this is considered obsolete.
+	# Also only pkg-config works for prefix as described in bug #690094
+	export ac_cv_prog_ac_ct_FT2_CONFIG=no
+
+	local my_conf=(
+		--bindir="${EPREFIX}"/usr/bin
+		--datadir="${BUILDDIR}"
+		--with-system-freetype2
+		--with-system-zlib
+		--with-system-libpng
+		--with-system-teckit
+		--with-system-kpathsea
+		--with-system-icu
+		--with-system-ptexenc
+		--with-system-harfbuzz
+		--with-system-graphite2
+		--with-system-cairo
+		--with-system-pixman
+		--with-system-zziplib
+		--with-system-libpaper
+		--with-system-gmp
+		--with-system-gd
+		--with-system-mpfr
+		--with-system-potrace
+		--disable-multiplatform
+		--enable-chktex
+		--enable-epsfwin
+		--enable-detex
+		--enable-dvi2tty
+		--enable-mftalkwin
+		--enable-regiswin
+		--enable-shared
+		--enable-tektronixwin
+		--enable-unitermwin
+		--enable-vlna
+		--enable-year2038
+		--disable-psutils
+		--disable-t1utils
+		--enable-ipc
+		--disable-bibtex-x
+		--disable-dvipng
+		--disable-dvipsk
+		--disable-lcdf-typetools
+		--disable-ps2pk
+		--disable-ttf2pk2
+		--disable-tex4htk
+		--disable-cjkutils
+		--disable-xdvik
+		--enable-luatex
+		--disable-dvisvgm
+		--disable-ps2eps
+		--disable-static
+		--disable-native-texlive-build
+		--disable-largefile
+		--disable-xindy-docs
+		--disable-xindy-rules
+		--with-banner-add=" Gentoo Linux"
+		$(use_enable luajittex)
+		$(use_enable luajittex luajithbtex)
+		$(use_enable luajittex mfluajit)
+		$(use_enable xetex)
+		$(use_enable cjk dviout-util)
+		$(use_enable cjk ptex)
+		$(use_enable cjk eptex)
+		$(use_enable cjk uptex)
+		$(use_enable cjk euptex)
+		$(use_enable cjk mendexk)
+		$(use_enable cjk makejvf)
+		$(use_enable cjk pmp)
+		$(use_enable cjk upmp)
+		$(use_enable tk texdoctk)
+		$(use_with X x)
+		$(use_enable xindy)
+		--enable-ptex=no
+		--enable-uptex=no
+		--enable-autosp=yes
+		--enable-axodraw2=yes
+		--enable-devnag=yes
+		--enable-lacheck=yes
+		--enable-m-tx=yes
+		--enable-pmx=yes
+		--enable-tpic2pdftex=yes
+		--with-clisp-runtime=system
+		--enable-xml2pmx=yes
+		$(use_enable X xpdfopen)
+		--enable-web2c=yes
+		--enable-afm2pl=yes
+		--enable-dvidvi=yes
+		--enable-dviljk=yes
+		$(use_enable cjk dvipdfm-x)
+		--enable-dvipos=yes
+		--enable-gregorio=yes
+		--enable-gsftopk=yes
+		--enable-makeindexk=yes
+		--enable-musixtnt=yes
+		--enable-seetexk=yes
+		--enable-ttfdump=yes
+		--enable-upmendex=yes
+		--enable-texlive=yes
+		--enable-linked-scripts=no
+		# web2c afm2pl chktex dtl dvi2tty dvidvi dviljk dviout-util dvipdfm-x gregorio
+	)
+
+	# Enable the following on version bumps. While it makes the build
+	# always fail, presumably because texlive passes these configure
+	# options to sub-configures, it still points out dropped
+	# options. See https://bugs.gentoo.org/828591
+	my_conf+=(
+		# --enable-option-checking=fatal
+	)
+
+	tc-export CC CXX AR RANLIB
+	cd "${BUILDDIR}" || die
+	ECONF_SOURCE="${S}" \
+		econf -C "${my_conf[@]}"
+}
+
+src_compile() {
+	cd "${BUILDDIR}" || die
+	tc-export CC CXX AR RANLIB
+
+	emake AR="$(tc-getAR)" SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist}
+
+	cd "${S}" || die
+	# Mimic updmap --syncwithtrees to enable only fonts installed
+	# Code copied from updmap script
+	while read -r i; do
+		texlive-common_is_file_present_in_texmf "${i}" || echo "${i}"
+	done > "${T}/updmap_update" < <(grep -E '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@')
+	{
+		sed 's@/@\\/@g; s@^@/^MixedMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
+		sed 's@/@\\/@g; s@^@/^Map[  ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
+		sed 's@/@\\/@g; s@^@/^KanjiMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
+	} > "${T}/updmap_update2"
+	sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" >	"${T}/updmap_update3"\
+		&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
+}
+
+src_install() {
+	cd "${BUILDDIR}" || die
+	dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
+
+	emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install
+
+	cd "${S}" || die
+	dodir /usr/share # just in case
+	cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
+	cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
+
+	# When X is disabled mf-nowin doesn't exist but some scripts expect it to
+	# exist. Instead, it is called mf, so we symlink it to please everything.
+	use X || dosym mf /usr/bin/mf-nowin
+
+	docinto texk
+	cd "${S}/texk" || die
+	dodoc ChangeLog README
+
+	docinto dviljk
+	cd "${S}/texk/dviljk" || die
+	dodoc ChangeLog README NEWS
+
+	docinto makeindexk
+	cd "${S}/texk/makeindexk" || die
+	dodoc ChangeLog NOTES README
+
+	docinto web2c
+	cd "${S}/texk/web2c" || die
+	dodoc ChangeLog NEWS PROJECTS README
+
+	use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
+
+	dodir /etc/env.d
+	echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
+	# populate /etc/texmf
+	keepdir /etc/texmf/web2c
+
+	# take care of updmap.cfg and language.d files
+	keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
+
+	mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
+
+	# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
+	# by texmf-update
+	rm "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die
+
+	rm "${ED}/usr/bin/"{,u}ptex || die
+
+	dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
+
+	dodir "/usr/bin"
+	for i in ${TEXLIVE_MODULE_BINLINKS} ; do
+		[[ -f ${ED}/usr/bin/${i%:*} ]] || die "Trying to install an invalid BINLINK ${i%:*}. This should not happen. Please file a bug."
+
+		dosym "${i%:*}" "/usr/bin/${i#*:}"
+	done
+
+	# https://bugs.gentoo.org/832139
+    rm "${ED}"/usr/bin/tlmgr || die
+
+	texlive-common_handle_config_files
+
+	# the virtex symlink is not installed
+	# The links has to be relative, since the targets
+	# is not present at this stage and MacOS doesn't
+	# like non-existing targets
+	dosym tex /usr/bin/virtex
+	dosym pdftex /usr/bin/pdfvirtex
+
+	find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	# Note that the etexmf-update and efmtutil-sys use nonfatal. We are
+	# pkg_postinst, so invoking die will merely print an error message
+	# but not abort the installation as it already happened. However,
+	# unlike the texlive modules, we observed fmtutil-sys failures in
+	# texlive-core.
+
+	# TODO: Research the rationale of calling etexmf-update and
+	# eftmutil-sys here and the reasons why it sometimes fails.
+	nonfatal etexmf-update
+	nonfatal efmtutil-sys
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-04-04 13:02 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-04-04 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     356ebad3bab3702ee6d2630af4a2116eb6a05b72
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  4 08:43:41 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 08:43:41 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=356ebad3

app-text/texlive-core: drop 2023-r1, 2023-r2

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023-r1.ebuild | 483 ----------------------
 app-text/texlive-core/texlive-core-2023-r2.ebuild | 461 ---------------------
 2 files changed, 944 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023-r1.ebuild b/app-text/texlive-core/texlive-core-2023-r1.ebuild
deleted file mode 100644
index 7d3e51f..0000000
--- a/app-text/texlive-core/texlive-core-2023-r1.ebuild
+++ /dev/null
@@ -1,483 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-TL_SOURCE_VERSION=20230311
-inherit flag-o-matic toolchain-funcs libtool texlive-common
-
-MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
-
-DESCRIPTION="A complete TeX distribution"
-HOMEPAGE="https://tug.org/texlive/"
-SLOT="0"
-LICENSE="BSD GPL-1 GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
-RESTRICT="mirror"
-GENTOO_TEX_PATCHES_NUM=3
-SRC_URI="
-	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
-	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
-		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
-"
-
-# Macros that are not a part of texlive-sources or or pulled in from collection-binextra
-# but still needed for other packages during installation
-TL_CORE_EXTRA_CONTENTS="
-	autosp.r58211
-	axodraw2.r58155
-	chktex.r64797
-	detex.r66186
-	dvi2tty.r66186
-	dvidvi.r65952
-	dviljk.r66186
-	dvipdfmx.r69127
-	dvipos.r66186
-	gsftopk.r52851
-	hyphen-base.r68321
-	lacheck.r66186
-	m-tx.r64182
-	makeindex.r62517
-	pmx.r65926
-	texlive-scripts.r69754
-	texlive-scripts-extra.r62517
-	texlive.infra.r69740
-	tpic2pdftex.r52851
-	upmendex.r66381
-	velthuis.r66186
-	vlna.r66186
-	xml2pmx.r57972
-"
-TL_CORE_EXTRA_DOC_CONTENTS="
-	autosp.doc.r58211
-	axodraw2.doc.r58155
-	chktex.doc.r64797
-	detex.doc.r66186
-	dvi2tty.doc.r66186
-	dvidvi.doc.r65952
-	dviljk.doc.r66186
-	dvipdfmx.doc.r69127
-	dvipos.doc.r66186
-	gsftopk.doc.r52851
-	lacheck.doc.r66186
-	m-tx.doc.r64182
-	makeindex.doc.r62517
-	pmx.doc.r65926
-	texlive-scripts.doc.r69754
-	texlive-scripts-extra.doc.r62517
-	texlive.infra.doc.r69740
-	tpic2pdftex.doc.r52851
-	upmendex.doc.r66381
-	velthuis.doc.r66186
-	vlna.doc.r66186
-	xml2pmx.doc.r57972
-"
-TL_CORE_EXTRA_SRC_CONTENTS="
-	axodraw2.source.r58155
-"
-
-TEXLIVE_MODULE_BINSCRIPTS="
-	texmf-dist/scripts/m-tx/m-tx.lua
-	texmf-dist/scripts/texlive/fmtutil-sys.sh
-	texmf-dist/scripts/texlive/fmtutil-user.sh
-	texmf-dist/scripts/texlive/fmtutil.pl
-	texmf-dist/scripts/texlive/mktexlsr
-	texmf-dist/scripts/texlive/mktexlsr.pl
-	texmf-dist/scripts/texlive/mktexmf
-	texmf-dist/scripts/texlive/mktexpk
-	texmf-dist/scripts/texlive/mktextfm
-	texmf-dist/scripts/texlive/rungs.lua
-	texmf-dist/scripts/texlive/tlmgr.pl
-	texmf-dist/scripts/texlive/updmap-sys.sh
-	texmf-dist/scripts/texlive/updmap-user.sh
-	texmf-dist/scripts/texlive/updmap.pl
-	texmf-dist/scripts/texlive-extra/allcm.sh
-	texmf-dist/scripts/texlive-extra/allneeded.sh
-	texmf-dist/scripts/texlive-extra/dvi2fax.sh
-	texmf-dist/scripts/texlive-extra/dvired.sh
-	texmf-dist/scripts/texlive-extra/e2pall.pl
-	texmf-dist/scripts/texlive-extra/kpsetool.sh
-	texmf-dist/scripts/texlive-extra/kpsewhere.sh
-	texmf-dist/scripts/texlive-extra/ps2frag.sh
-	texmf-dist/scripts/texlive-extra/pslatex.sh
-	texmf-dist/scripts/texlive-extra/texconfig-dialog.sh
-	texmf-dist/scripts/texlive-extra/texconfig-sys.sh
-	texmf-dist/scripts/texlive-extra/texconfig.sh
-	texmf-dist/scripts/texlive-extra/texlinks.sh
-"
-
-TEXLIVE_MODULE_BINLINKS="
-	fmtutil:mktexfmt
-	mktexlsr:texhash
-	allcm:allec
-	kpsetool:kpsexpand
-	kpsetool:kpsepath
-"
-texlive-common_append_to_src_uri TL_CORE_EXTRA_CONTENTS
-
-SRC_URI+=" doc? ( "
-texlive-common_append_to_src_uri TL_CORE_EXTRA_DOC_CONTENTS
-SRC_URI+=" )"
-
-SRC_URI+=" source? ( "
-texlive-common_append_to_src_uri TL_CORE_EXTRA_SRC_CONTENTS
-SRC_URI+=" )"
-
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
-IUSE="cjk X doc source tk +luajittex xetex xindy"
-
-TEXMF_PATH=/usr/share/texmf-dist
-MODULAR_X_DEPEND="
-	X? (
-		x11-libs/libX11
-		x11-libs/libXmu
-	)"
-
-COMMON_DEPEND="
-	${MODULAR_X_DEPEND}
-	!app-text/epspdf
-	!app-text/pdfjam
-	sys-libs/zlib
-	>=media-libs/harfbuzz-1.4.5:=[icu,graphite]
-	>=media-libs/libpng-1.2.43-r2:0=
-	media-libs/gd[png]
-	media-gfx/graphite2:=
-	media-gfx/potrace:=
-	>=x11-libs/cairo-1.12
-	>=x11-libs/pixman-0.18
-	dev-libs/zziplib:=
-	app-text/libpaper:=
-	dev-libs/gmp:=
-	dev-libs/mpfr:=
-	>=dev-libs/ptexenc-1.4.3
-	xetex? (
-		>=app-text/teckit-2.5.10
-		media-libs/fontconfig
-	)
-	xindy? ( dev-lisp/clisp:= )
-	media-libs/freetype:2
-	>=dev-libs/icu-50:=
-	>=dev-libs/kpathsea-6.3.5:=
-"
-
-BDEPEND="
-	sys-apps/ed
-	sys-devel/flex
-	virtual/pkgconfig
-"
-
-DEPEND="
-	${COMMON_DEPEND}
-"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	virtual/perl-Getopt-Long
-	dev-perl/File-HomeDir
-	dev-perl/Log-Dispatch
-	dev-perl/Unicode-LineBreak
-	dev-perl/YAML-Tiny
-	tk? (
-		dev-lang/tk
-		dev-perl/Tk
-	)
-"
-
-S="${WORKDIR}/${MY_P}"
-BUILDDIR="${WORKDIR}/${P}_build"
-
-src_unpack() {
-	default
-
-	mkdir -p "${BUILDDIR}" || die "failed to create build dir"
-}
-
-RELOC_TARGET=texmf-dist
-
-src_prepare() {
-	cd "${WORKDIR}" || die
-
-	# From texlive-module.eclass.
-	sed -n -e 's:\s*RELOC/::p' tlpkg/tlpobj/* > "${T}/reloclist" || die
-	sed -e 's/\/[^/]*$//' -e "s:^:${RELOC_TARGET}/:" "${T}/reloclist" |
-		sort -u |
-		xargs mkdir -p || die
-	local i
-	while read -r i; do
-		mv "${i}" "${RELOC_TARGET}/${i%/*}" || die
-	done < "${T}/reloclist"
-	mv "${WORKDIR}"/texmf* "${S}" || die "failed to move texmf files"
-
-	cd "${S}" || die
-
-	sed -i \
-		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
-		texk/web2c/configure || die
-
-	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
-	eapply "${patch_dir}"
-
-	default
-
-	elibtoolize
-}
-
-src_configure() {
-	# It fails on alpha without this
-	use alpha && append-ldflags "-Wl,--no-relax"
-
-	# 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 #242430
-	# So we set LC_ALL to C in order to avoid problems.
-	export LC_ALL=C
-
-	# Disable freetype-config as this is considered obsolete.
-	# Also only pkg-config works for prefix as described in bug #690094
-	export ac_cv_prog_ac_ct_FT2_CONFIG=no
-
-	# revisit/upstream once we bump to 2022, bug #882245
-	append-cppflags -D_GNU_SOURCE
-
-	local econf_new_2023=(
-		--enable-ptex=no
-		--enable-uptex=no
-		--enable-autosp=yes
-		--enable-axodraw2=yes
-		--enable-devnag=yes
-		--enable-lacheck=yes
-		--enable-m-tx=yes
-		--enable-pmx=yes
-		--enable-tpic2pdftex=yes
-		--with-clisp-runtime=system
-		--enable-xml2pmx=yes
-		$(use_enable X xpdfopen)
-		--enable-web2c=yes
-		--enable-afm2pl=yes
-		--enable-dvidvi=yes
-		--enable-dviljk=yes
-		$(use_enable cjk dvipdfm-x)
-		--enable-dvipos=yes
-		--enable-gregorio=yes
-		--enable-gsftopk=yes
-		--enable-makeindexk=yes
-		--enable-musixtnt=yes
-		--enable-seetexk=yes
-		--enable-ttfdump=yes
-		--enable-upmendex=yes
-		--enable-texlive=yes
-		--enable-linked-scripts=no
-		# web2c afm2pl chktex dtl dvi2tty dvidvi dviljk dviout-util dvipdfm-x gregorio
-	)
-
-	tc-export CC CXX AR RANLIB
-	cd "${BUILDDIR}" || die
-	ECONF_SOURCE="${S}" \
-		econf -C \
-		--bindir="${EPREFIX}"/usr/bin \
-		--datadir="${BUILDDIR}" \
-		--with-system-freetype2 \
-		--with-system-zlib \
-		--with-system-libpng \
-		--with-system-teckit \
-		--with-teckit-includes="${EPREFIX}"/usr/include/teckit \
-		--with-system-kpathsea \
-		--with-kpathsea-includes="${EPREFIX}"/usr/include \
-		--with-system-icu \
-		--with-system-ptexenc \
-		--with-system-harfbuzz \
-		--with-system-graphite2 \
-		--with-system-cairo \
-		--with-system-pixman \
-		--with-system-zziplib \
-		--with-system-libpaper \
-		--with-system-gmp \
-		--with-system-gd \
-		--with-system-mpfr \
-		--with-system-potrace \
-		--without-texinfo \
-		--disable-dialog \
-		--disable-multiplatform \
-		--enable-chktex \
-		--enable-epsfwin \
-		--enable-detex \
-		--enable-dvi2tty \
-		--enable-mftalkwin \
-		--enable-regiswin \
-		--enable-shared \
-		--enable-tektronixwin \
-		--enable-unitermwin \
-		--enable-vlna \
-		--with-ps=gs \
-		--disable-psutils \
-		--disable-t1utils \
-		--enable-ipc \
-		--disable-biber \
-		--disable-bibtex-x \
-		--disable-dvipng \
-		--disable-dvipsk \
-		--disable-lcdf-typetools \
-		--disable-ps2pk \
-		--disable-ttf2pk2 \
-		--disable-tex4htk \
-		--disable-cjkutils \
-		--disable-xdvik \
-		--enable-luatex \
-		--disable-dvisvgm \
-		--disable-ps2eps \
-		--disable-static \
-		--disable-native-texlive-build \
-		--disable-largefile \
-		--disable-build-in-source-tree \
-		--disable-xindy-docs \
-		--disable-xindy-rules \
-		--with-banner-add=" Gentoo Linux" \
-		$(use_enable luajittex) \
-		$(use_enable luajittex luajithbtex) \
-		$(use_enable luajittex mfluajit) \
-		$(use_enable xetex) \
-		$(use_enable cjk dviout-util) \
-		$(use_enable cjk ptex) \
-		$(use_enable cjk eptex) \
-		$(use_enable cjk uptex) \
-		$(use_enable cjk euptex) \
-		$(use_enable cjk mendexk) \
-		$(use_enable cjk makejvf) \
-		$(use_enable cjk pmp) \
-		$(use_enable cjk upmp) \
-		$(use_enable tk texdoctk) \
-		$(use_with X x) \
-		$(use_enable xindy) \
-		"${econf_new_2023[@]}"
-}
-
-src_compile() {
-	cd "${BUILDDIR}" || die
-	tc-export CC CXX AR RANLIB
-
-	emake AR="$(tc-getAR)" SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist}
-
-	cd "${S}" || die
-	# Mimic updmap --syncwithtrees to enable only fonts installed
-	# Code copied from updmap script
-	while read -r i; do
-		texlive-common_is_file_present_in_texmf "${i}" || echo "${i}"
-	done > "${T}/updmap_update" < <(grep -E '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@')
-	{
-		sed 's@/@\\/@g; s@^@/^MixedMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-		sed 's@/@\\/@g; s@^@/^Map[  ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-		sed 's@/@\\/@g; s@^@/^KanjiMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-	} > "${T}/updmap_update2"
-	sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" >	"${T}/updmap_update3"\
-		&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
-}
-
-src_install() {
-	cd "${BUILDDIR}" || die
-	dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
-
-	emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install
-
-	cd "${S}" || die
-	dodir /usr/share # just in case
-	cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
-	cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
-
-	# When X is disabled mf-nowin doesn't exist but some scripts expect it to
-	# exist. Instead, it is called mf, so we symlink it to please everything.
-	use X || dosym mf /usr/bin/mf-nowin
-
-	docinto texk
-	cd "${S}/texk" || die
-	dodoc ChangeLog README
-
-	docinto dviljk
-	cd "${S}/texk/dviljk" || die
-	dodoc ChangeLog README NEWS
-
-	docinto makeindexk
-	cd "${S}/texk/makeindexk" || die
-	dodoc ChangeLog NOTES README
-
-	docinto web2c
-	cd "${S}/texk/web2c" || die
-	dodoc ChangeLog NEWS PROJECTS README
-
-	use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
-
-	dodir /etc/env.d
-	echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
-	# populate /etc/texmf
-	keepdir /etc/texmf/web2c
-
-	# take care of updmap.cfg and language.d files
-	keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
-
-	mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
-
-	# 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
-	# Remove bundled and invalid updmap.cfg
-	rm -f "${ED}/usr/share/texmf-dist/web2c/updmap.cfg" || die
-
-	rm -f "${ED}/usr/bin/"{,u}ptex
-
-	[[ -n ${TEXLIVE_MODULE_BINSCRIPTS} ]] && dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
-	if [[ -n ${TEXLIVE_MODULE_BINLINKS} ]] ; then
-		dodir "/usr/bin"
-		for i in ${TEXLIVE_MODULE_BINLINKS} ; do
-			[[ -f ${ED}/usr/bin/${i%:*} ]] || die "Trying to install an invalid BINLINK ${i%:*}. This should not happen. Please file a bug."
-			dosym "${i%:*}" "/usr/bin/${i#*:}"
-		done
-	fi
-
-	texlive-common_handle_config_files
-
-	# the virtex symlink is not installed
-	# The links has to be relative, since the targets
-	# is not present at this stage and MacOS doesn't
-	# like non-existing targets
-	dosym tex /usr/bin/virtex
-	dosym pdftex /usr/bin/pdfvirtex
-
-	find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-	# Note that the etexmf-update and efmtutil-sys use nonfatal. We are
-	# pkg_postinst, so invoking die will merely print an error message
-	# but not abort the installation as it already happened. However,
-	# unlike the texlive modules, we observed fmtutil-sys failures in
-	# texlive-core.
-
-	# TODO: Research the rationale of calling etexmf-update and
-	# eftmutil-sys here and the reasons why it sometimes fails.
-	nonfatal etexmf-update
-	nonfatal efmtutil-sys
-
-	elog
-	elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
-	elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."
-	elog
-
-	local display_migration_hint=false
-	if [[ -n ${REPLACING_VERSIONS} ]]; then
-		local new_texlive_version=$(ver_cut 1)
-		local replaced_version
-		for replaced_version in ${REPLACING_VERSIONS}; do
-			replaced_version=$(ver_cut 1 "${replaced_version}")
-			if ver_test "${replaced_version}" -lt "${new_texlive_version}" ; then
-				display_migration_hint=true
-				break
-			fi
-		done
-	fi
-
-	if ! ${display_migration_hint}; then
-		return
-	fi
-
-	ewarn "If you are migrating from an older TeX distribution"
-	ewarn "Please make sure you have read:"
-	ewarn "https://wiki.gentoo.org/wiki/Project:TeX/Tex_Live_Migration_Guide"
-	ewarn "in order to avoid possible problems"
-}

diff --git a/app-text/texlive-core/texlive-core-2023-r2.ebuild b/app-text/texlive-core/texlive-core-2023-r2.ebuild
deleted file mode 100644
index 906d98f..0000000
--- a/app-text/texlive-core/texlive-core-2023-r2.ebuild
+++ /dev/null
@@ -1,461 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-TL_SOURCE_VERSION=20230311
-inherit flag-o-matic toolchain-funcs libtool texlive-common
-
-MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
-
-DESCRIPTION="A complete TeX distribution"
-HOMEPAGE="https://tug.org/texlive/"
-SLOT="0"
-LICENSE="BSD GPL-1 GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
-RESTRICT="mirror"
-GENTOO_TEX_PATCHES_NUM=3
-SRC_URI="
-	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
-	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
-		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
-"
-
-# Macros that are not a part of texlive-sources or or pulled in from collection-binextra
-# but still needed for other packages during installation.
-TL_CORE_EXTRA_CONTENTS="
-	autosp.r58211
-	axodraw2.r58155
-	chktex.r64797
-	detex.r66186
-	dvi2tty.r66186
-	dvidvi.r65952
-	dviljk.r66186
-	dvipdfmx.r69127
-	dvipos.r66186
-	gsftopk.r52851
-	hyphen-base.r68321
-	lacheck.r66186
-	m-tx.r64182
-	makeindex.r62517
-	pmx.r65926
-	texlive-scripts.r69754
-	texlive-scripts-extra.r62517
-	texlive.infra.r69740
-	tpic2pdftex.r52851
-	upmendex.r66381
-	velthuis.r66186
-	vlna.r66186
-	xindy.r65958
-	xml2pmx.r57972
-"
-TL_CORE_EXTRA_DOC_CONTENTS="
-	autosp.doc.r58211
-	axodraw2.doc.r58155
-	chktex.doc.r64797
-	detex.doc.r66186
-	dvi2tty.doc.r66186
-	dvidvi.doc.r65952
-	dviljk.doc.r66186
-	dvipdfmx.doc.r69127
-	dvipos.doc.r66186
-	gsftopk.doc.r52851
-	lacheck.doc.r66186
-	m-tx.doc.r64182
-	makeindex.doc.r62517
-	pmx.doc.r65926
-	texlive-scripts.doc.r69754
-	texlive-scripts-extra.doc.r62517
-	texlive.infra.doc.r69740
-	tpic2pdftex.doc.r52851
-	upmendex.doc.r66381
-	velthuis.doc.r66186
-	vlna.doc.r66186
-	xindy.doc.r65958
-	xml2pmx.doc.r57972
-"
-TL_CORE_EXTRA_SRC_CONTENTS="
-	axodraw2.source.r58155
-"
-
-TEXLIVE_MODULE_BINSCRIPTS="
-	texmf-dist/scripts/m-tx/m-tx.lua
-	texmf-dist/scripts/texlive/fmtutil-sys.sh
-	texmf-dist/scripts/texlive/fmtutil-user.sh
-	texmf-dist/scripts/texlive/fmtutil.pl
-	texmf-dist/scripts/texlive/mktexlsr
-	texmf-dist/scripts/texlive/mktexlsr.pl
-	texmf-dist/scripts/texlive/mktexmf
-	texmf-dist/scripts/texlive/mktexpk
-	texmf-dist/scripts/texlive/mktextfm
-	texmf-dist/scripts/texlive/rungs.lua
-	texmf-dist/scripts/texlive/tlmgr.pl
-	texmf-dist/scripts/texlive/updmap-sys.sh
-	texmf-dist/scripts/texlive/updmap-user.sh
-	texmf-dist/scripts/texlive/updmap.pl
-	texmf-dist/scripts/texlive-extra/allcm.sh
-	texmf-dist/scripts/texlive-extra/allneeded.sh
-	texmf-dist/scripts/texlive-extra/dvi2fax.sh
-	texmf-dist/scripts/texlive-extra/dvired.sh
-	texmf-dist/scripts/texlive-extra/e2pall.pl
-	texmf-dist/scripts/texlive-extra/kpsetool.sh
-	texmf-dist/scripts/texlive-extra/kpsewhere.sh
-	texmf-dist/scripts/texlive-extra/ps2frag.sh
-	texmf-dist/scripts/texlive-extra/pslatex.sh
-	texmf-dist/scripts/texlive-extra/texconfig-dialog.sh
-	texmf-dist/scripts/texlive-extra/texconfig-sys.sh
-	texmf-dist/scripts/texlive-extra/texconfig.sh
-	texmf-dist/scripts/texlive-extra/texlinks.sh
-"
-
-TEXLIVE_MODULE_BINLINKS="
-	fmtutil:mktexfmt
-	mktexlsr:texhash
-	allcm:allec
-	kpsetool:kpsexpand
-	kpsetool:kpsepath
-"
-texlive-common_append_to_src_uri TL_CORE_EXTRA_CONTENTS
-
-SRC_URI+=" doc? ( "
-texlive-common_append_to_src_uri TL_CORE_EXTRA_DOC_CONTENTS
-SRC_URI+=" )"
-
-SRC_URI+=" source? ( "
-texlive-common_append_to_src_uri TL_CORE_EXTRA_SRC_CONTENTS
-SRC_URI+=" )"
-
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
-IUSE="cjk X doc source tk +luajittex xetex xindy"
-
-TEXMF_PATH=/usr/share/texmf-dist
-MODULAR_X_DEPEND="
-	X? (
-		x11-libs/libX11
-		x11-libs/libXmu
-	)"
-
-COMMON_DEPEND="
-	${MODULAR_X_DEPEND}
-	!app-text/epspdf
-	!app-text/pdfjam
-	sys-libs/zlib
-	>=media-libs/harfbuzz-1.4.5:=[icu,graphite]
-	>=media-libs/libpng-1.2.43-r2:0=
-	media-libs/gd[png]
-	media-gfx/graphite2:=
-	media-gfx/potrace:=
-	>=x11-libs/cairo-1.12
-	>=x11-libs/pixman-0.18
-	dev-libs/zziplib:=
-	app-text/libpaper:=
-	dev-libs/gmp:=
-	dev-libs/mpfr:=
-	>=dev-libs/ptexenc-1.4.3
-	xetex? (
-		>=app-text/teckit-2.5.10
-		media-libs/fontconfig
-	)
-	xindy? ( dev-lisp/clisp:= )
-	media-libs/freetype:2
-	>=dev-libs/icu-50:=
-	>=dev-libs/kpathsea-6.3.5:=
-"
-
-BDEPEND="
-	sys-apps/ed
-	sys-devel/flex
-	virtual/pkgconfig
-"
-
-DEPEND="
-	${COMMON_DEPEND}
-"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	virtual/perl-Getopt-Long
-	dev-perl/File-HomeDir
-	dev-perl/Log-Dispatch
-	dev-perl/Unicode-LineBreak
-	dev-perl/YAML-Tiny
-	tk? (
-		dev-lang/tk
-		dev-perl/Tk
-	)
-"
-
-S="${WORKDIR}/${MY_P}"
-BUILDDIR="${WORKDIR}/${P}_build"
-
-src_unpack() {
-	default
-
-	mkdir -p "${BUILDDIR}" || die "failed to create build dir"
-}
-
-RELOC_TARGET=texmf-dist
-
-src_prepare() {
-	cd "${WORKDIR}" || die
-
-	# From texlive-module.eclass.
-	sed -n -e 's:\s*RELOC/::p' tlpkg/tlpobj/* > "${T}/reloclist" || die
-	sed -e 's/\/[^/]*$//' -e "s:^:${RELOC_TARGET}/:" "${T}/reloclist" |
-		sort -u |
-		xargs mkdir -p || die
-	local i
-	while read -r i; do
-		mv "${i}" "${RELOC_TARGET}/${i%/*}" || die
-	done < "${T}/reloclist"
-	mv "${WORKDIR}"/texmf* "${S}" || die "failed to move texmf files"
-
-	cd "${S}" || die
-
-	sed -i \
-		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
-		texk/web2c/configure || die
-
-	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
-	eapply "${patch_dir}"
-
-	default
-
-	elibtoolize
-}
-
-src_configure() {
-	# It fails on alpha without this
-	use alpha && append-ldflags "-Wl,--no-relax"
-
-	# 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 #242430
-	# So we set LC_ALL to C in order to avoid problems.
-	export LC_ALL=C
-
-	# Disable freetype-config as this is considered obsolete.
-	# Also only pkg-config works for prefix as described in bug #690094
-	export ac_cv_prog_ac_ct_FT2_CONFIG=no
-
-	local my_conf=(
-		--bindir="${EPREFIX}"/usr/bin
-		--datadir="${BUILDDIR}"
-		--with-system-freetype2
-		--with-system-zlib
-		--with-system-libpng
-		--with-system-teckit
-		--with-system-kpathsea
-		--with-system-icu
-		--with-system-ptexenc
-		--with-system-harfbuzz
-		--with-system-graphite2
-		--with-system-cairo
-		--with-system-pixman
-		--with-system-zziplib
-		--with-system-libpaper
-		--with-system-gmp
-		--with-system-gd
-		--with-system-mpfr
-		--with-system-potrace
-		--disable-multiplatform
-		--enable-chktex
-		--enable-epsfwin
-		--enable-detex
-		--enable-dvi2tty
-		--enable-mftalkwin
-		--enable-regiswin
-		--enable-shared
-		--enable-tektronixwin
-		--enable-unitermwin
-		--enable-vlna
-		--enable-year2038
-		--disable-psutils
-		--disable-t1utils
-		--enable-ipc
-		--disable-bibtex-x
-		--disable-dvipng
-		--disable-dvipsk
-		--disable-lcdf-typetools
-		--disable-ps2pk
-		--disable-ttf2pk2
-		--disable-tex4htk
-		--disable-cjkutils
-		--disable-xdvik
-		--enable-luatex
-		--disable-dvisvgm
-		--disable-ps2eps
-		--disable-static
-		--disable-native-texlive-build
-		--disable-largefile
-		--disable-xindy-docs
-		--disable-xindy-rules
-		--with-banner-add=" Gentoo Linux"
-		$(use_enable luajittex)
-		$(use_enable luajittex luajithbtex)
-		$(use_enable luajittex mfluajit)
-		$(use_enable xetex)
-		$(use_enable cjk dviout-util)
-		$(use_enable cjk ptex)
-		$(use_enable cjk eptex)
-		$(use_enable cjk uptex)
-		$(use_enable cjk euptex)
-		$(use_enable cjk mendexk)
-		$(use_enable cjk makejvf)
-		$(use_enable cjk pmp)
-		$(use_enable cjk upmp)
-		$(use_enable tk texdoctk)
-		$(use_with X x)
-		$(use_enable xindy)
-		--enable-ptex=no
-		--enable-uptex=no
-		--enable-autosp=yes
-		--enable-axodraw2=yes
-		--enable-devnag=yes
-		--enable-lacheck=yes
-		--enable-m-tx=yes
-		--enable-pmx=yes
-		--enable-tpic2pdftex=yes
-		--with-clisp-runtime=system
-		--enable-xml2pmx=yes
-		$(use_enable X xpdfopen)
-		--enable-web2c=yes
-		--enable-afm2pl=yes
-		--enable-dvidvi=yes
-		--enable-dviljk=yes
-		$(use_enable cjk dvipdfm-x)
-		--enable-dvipos=yes
-		--enable-gregorio=yes
-		--enable-gsftopk=yes
-		--enable-makeindexk=yes
-		--enable-musixtnt=yes
-		--enable-seetexk=yes
-		--enable-ttfdump=yes
-		--enable-upmendex=yes
-		--enable-texlive=yes
-		--enable-linked-scripts=no
-		# web2c afm2pl chktex dtl dvi2tty dvidvi dviljk dviout-util dvipdfm-x gregorio
-	)
-
-	# Enable the following on version bumps. While it makes the build
-	# always fail, presumably because texlive passes these configure
-	# options to sub-configures, it still points out dropped
-	# options. See https://bugs.gentoo.org/828591
-	my_conf+=(
-		# --enable-option-checking=fatal
-	)
-
-	tc-export CC CXX AR RANLIB
-	cd "${BUILDDIR}" || die
-	ECONF_SOURCE="${S}" \
-		econf -C "${my_conf[@]}"
-}
-
-src_compile() {
-	cd "${BUILDDIR}" || die
-	tc-export CC CXX AR RANLIB
-
-	emake AR="$(tc-getAR)" SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist}
-
-	cd "${S}" || die
-	# Mimic updmap --syncwithtrees to enable only fonts installed
-	# Code copied from updmap script
-	while read -r i; do
-		texlive-common_is_file_present_in_texmf "${i}" || echo "${i}"
-	done > "${T}/updmap_update" < <(grep -E '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@')
-	{
-		sed 's@/@\\/@g; s@^@/^MixedMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-		sed 's@/@\\/@g; s@^@/^Map[  ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-		sed 's@/@\\/@g; s@^@/^KanjiMap[     ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
-	} > "${T}/updmap_update2"
-	sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" >	"${T}/updmap_update3"\
-		&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
-}
-
-src_install() {
-	cd "${BUILDDIR}" || die
-	dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
-
-	emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install
-
-	cd "${S}" || die
-	dodir /usr/share # just in case
-	cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
-	cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
-
-	# When X is disabled mf-nowin doesn't exist but some scripts expect it to
-	# exist. Instead, it is called mf, so we symlink it to please everything.
-	use X || dosym mf /usr/bin/mf-nowin
-
-	docinto texk
-	cd "${S}/texk" || die
-	dodoc ChangeLog README
-
-	docinto dviljk
-	cd "${S}/texk/dviljk" || die
-	dodoc ChangeLog README NEWS
-
-	docinto makeindexk
-	cd "${S}/texk/makeindexk" || die
-	dodoc ChangeLog NOTES README
-
-	docinto web2c
-	cd "${S}/texk/web2c" || die
-	dodoc ChangeLog NEWS PROJECTS README
-
-	use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
-
-	dodir /etc/env.d
-	echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
-	# populate /etc/texmf
-	keepdir /etc/texmf/web2c
-
-	# take care of updmap.cfg and language.d files
-	keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
-
-	mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
-
-	# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
-	# by texmf-update
-	rm "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die
-
-	rm "${ED}/usr/bin/"{,u}ptex || die
-
-	if ! use xindy; then
-		rm -rf "${ED}{TEXMF_PATH}"/{,scripts,doc}/xindy
-	fi
-
-	dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
-
-	dodir "/usr/bin"
-	for i in ${TEXLIVE_MODULE_BINLINKS} ; do
-		[[ -f ${ED}/usr/bin/${i%:*} ]] || die "Trying to install an invalid BINLINK ${i%:*}. This should not happen. Please file a bug."
-
-		dosym "${i%:*}" "/usr/bin/${i#*:}"
-	done
-
-	# https://bugs.gentoo.org/832139
-	rm "${ED}"/usr/bin/tlmgr || die
-
-	texlive-common_handle_config_files
-
-	# the virtex symlink is not installed
-	# The links has to be relative, since the targets
-	# is not present at this stage and MacOS doesn't
-	# like non-existing targets
-	dosym tex /usr/bin/virtex
-	dosym pdftex /usr/bin/pdfvirtex
-
-	find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-	# Note that the etexmf-update and efmtutil-sys use nonfatal. We are
-	# pkg_postinst, so invoking die will merely print an error message
-	# but not abort the installation as it already happened. However,
-	# unlike the texlive modules, we observed fmtutil-sys failures in
-	# texlive-core.
-
-	# TODO: Research the rationale of calling etexmf-update and
-	# eftmutil-sys here and the reasons why it sometimes fails.
-	nonfatal etexmf-update
-	nonfatal efmtutil-sys
-}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-04-04 13:02 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-04-04 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     2cdb8878605e7db482ea873cb23ac51282022a02
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  4 08:43:23 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 08:43:23 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=2cdb8878

app-text/texlive-core: sync with ::gentoo

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                     |  4 ++
 app-text/texlive-core/texlive-core-2023-r2.ebuild  | 10 ++++-
 ...-2023-r2.ebuild => texlive-core-2023-r6.ebuild} | 45 ++++++++++++++++++----
 3 files changed, 49 insertions(+), 10 deletions(-)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index 9484ef4..02aecd9 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -29,6 +29,8 @@ DIST makeindex.doc.r62517.tar.xz 466380 BLAKE2B a192f04417e76a387c9dec2170570491
 DIST makeindex.r62517.tar.xz 4608 BLAKE2B d86957d1598cdd16025d43cca88547893824ef9bce3f75190874de40949ec0995db039b42d38b4514fd256feb6f3dd4352357de84c0d9a087aa48d0f7d17ca29 SHA512 5967ba4123fd4c708ce841d29211fdb66c28518f4b418903be0ddf2a49964f706af96b250eec814c547e0703460c1273ce72a7acf3ea9fe28cc1c7073af29d3c
 DIST pmx.doc.r65926.tar.xz 636768 BLAKE2B 5b499d950581b5b6ca1e27aa54dbe1e324d4462999f9a8f52c314c9a4827183079dbc0d945542d304621ad94aca3f7f4cfdcb985e40c7be00c7fdff8fb95825a SHA512 dedba4570b68a8628442716dc3a9b1699e5f531aef2737e4b3f47862a91ba69bda91d6fe6692914d2bd7b8fe3188a83fdfce8bdd219ab7c4f238a9c6ec273ffb
 DIST pmx.r65926.tar.xz 10184 BLAKE2B 550140955d4033c258c7793c56846d8a0d235fcb2def0469f9b0ca5189eea4c3ba569fc3e7002bafe57f0bb7fbb9738debd7b1d867cfaf32493b3558f0a3ed97 SHA512 433287732fbb2cb47886c6c78c923d5b6a1b5c1e71e3990084cde9bb288a282fff7fb9134a5165e0fc0908b8e60547e23cb900bc82b99717133d7600fa17dc31
+DIST texdoctk.doc.r62186.tar.xz 30728 BLAKE2B 4878654c60e2fb3a1415f492894a3d956d86cdd6f8ebc337e4ec928a55ccd2b8c202a3c06b3c8687530a505f45e740eb33005e2cd4c2f65aa68ec77e3990ed31 SHA512 fb403dc17ad839ea64bcf6da84e59288a8745b5eb731051d7df8593138aa5d3b6891d56f52bdbe5c9a41e590f1f36db390e7e7a825d9aaf00d4fbc01c8dc16ba
+DIST texdoctk.r62186.tar.xz 26712 BLAKE2B 4076b8b227dc08762cd7880165fd4b1780f3ed34e0ba68b1b04ce542efd47aefc3f893d71da7dbc8122ebb45107480974da0631f16f849d2990a14cd2db74ce6 SHA512 f3300a088f5ecedfe66ca277f793d3565b5b0f111721a0d73a788d65b72f09d0103a11edda13679fb9e919f11ce9ed3662717c18e46be99a83b744a1f7ec88fe
 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
 DIST texlive-scripts-extra.doc.r62517.tar.xz 197196 BLAKE2B 80d2fd7b53ffbe21f975156cf0d5f52826faebc422d3e66c342c8237d7da27ba58b1ffc56f83a040ae4b4e870c8063c0d53392f9cc7e3bb3da30ebe5a258a40a SHA512 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
 DIST texlive-scripts-extra.r62517.tar.xz 23540 BLAKE2B 85762b7a74f5132ec550033e08caef5f6fd145ef367475a1b3ebaccfefdcfb426f2e12e647e45a35daa2a44cf0c2fba8d6ed8afec88ed6fccee0cf7eb52c2c50 SHA512 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7
@@ -44,5 +46,7 @@ DIST velthuis.doc.r66186.tar.xz 979936 BLAKE2B e1ac5b3bc747b17c5ab39e89d7f1634ac
 DIST velthuis.r66186.tar.xz 4149432 BLAKE2B 84e6a6c390e5e2f4082229d688761596880f8115531587df7ac637c6eb53090e035e758d0cde60ba30559d856df2108637d19c8282279d5d95a28dd3e950b635 SHA512 b7901813517790a92a921b1202c39a058d53a4159634cae79960ec7ce2da08acb757b307b5066ab1251e4b460234fd9dd98c2e404c05fc6384c656472302e3ec
 DIST vlna.doc.r66186.tar.xz 142752 BLAKE2B 2a7a5aa68e189e8297c0bb714ae80ef33b765de542626f5800dc1ef87dc8e66a613eb055ece652124c340b159ec7a317d2d3a44bb2c8e01187b9b9d5392b5a25 SHA512 921d76535cbe7e940617355c74b82acfc61edb840db8ed9cae1aaf987fe6b83245505048c7c550d59829b204f139ae1cfd44601435e2fff2b0d5230b45a27b77
 DIST vlna.r66186.tar.xz 380 BLAKE2B 91840e28251f06b724eb5860c853d54db9cc0ce0063b911d7c28d24e1b7bc863bec0eaf7f595e666938d8c2a54c2438d52d086fc5c8b70ebf20f3998d0258381 SHA512 6c66717442bca3306e23f5d546e17929240ce9626a562b9e56512446998996d38f83f78fbb39e46bde0b9faf0db7eb0c0218c79e1d66711d6cd3c64a8778edec
+DIST xindy.doc.r65958.tar.xz 461176 BLAKE2B 417d49c0fbc35ea5e24146894284cd2ec9109271570f49aca90352d2d38969ee60b934134babe8107161e2f2975d91787f321b805dded6eae96add1e5ebfa9dc SHA512 d0dacd7cfa169b03b7fa9d0b351133582577c3908323f501d7bca7b0165159b72c34f62abfd73b97065baef8cf179b292e654759f3b3e324112623539e5acfd6
+DIST xindy.r65958.tar.xz 143636 BLAKE2B 72c6f4a78e77d3a348c4666dd8e322b446b7dd6d418c1f9880ea2508e274878d3f2a992e5876fb410ab4c39d7f317a6b236afc65c5486d04dbe0838c0a07eca4 SHA512 9b7fe97c14e3cf30d1e6743c2d7b4460e8bca901ba3ee216001f1518ff4d834fb3d9b67085825a6e152c6acde544c41cf16d56e609016caab89a594305a21599
 DIST xml2pmx.doc.r57972.tar.xz 15512 BLAKE2B dafe9dabe542a746a962a02fd04a483181544afd319b501ea0f4b0c74ce9d049840c65fa5e7e497571ae04c409b8c3cb11815f0dbfff4c8c3ae01a3e639f6ca8 SHA512 973960f65159f5107caa7e9a041dca75f0171fc61f94794c7b7560eb9b6898534974fb8b360a28dfa3a01d422b71618bcaf8aba2ed25ae4d4b9f67d24ab730be
 DIST xml2pmx.r57972.tar.xz 496 BLAKE2B 52d22c6616dc74d3e6600ef18449af31b2c286be9fe0bcacdffa2daa260f409baf8c7af1ce8444486b2fe3e21a05ec22aed280a55f227a1693b27ff3c55eed8b SHA512 9545fb5ca0e95788afab79d8a29336f337619adbcac68472bb5de6af6c54187f19bda655232175223168891c064f6fadc67c4ab8f5a0256e2c55e1a65c5e6f6b

diff --git a/app-text/texlive-core/texlive-core-2023-r2.ebuild b/app-text/texlive-core/texlive-core-2023-r2.ebuild
index 829ec0c..906d98f 100644
--- a/app-text/texlive-core/texlive-core-2023-r2.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 "
 
 # Macros that are not a part of texlive-sources or or pulled in from collection-binextra
-# but still needed for other packages during installation
+# but still needed for other packages during installation.
 TL_CORE_EXTRA_CONTENTS="
 	autosp.r58211
 	axodraw2.r58155
@@ -45,6 +45,7 @@ TL_CORE_EXTRA_CONTENTS="
 	upmendex.r66381
 	velthuis.r66186
 	vlna.r66186
+	xindy.r65958
 	xml2pmx.r57972
 "
 TL_CORE_EXTRA_DOC_CONTENTS="
@@ -69,6 +70,7 @@ TL_CORE_EXTRA_DOC_CONTENTS="
 	upmendex.doc.r66381
 	velthuis.doc.r66186
 	vlna.doc.r66186
+	xindy.doc.r65958
 	xml2pmx.doc.r57972
 "
 TL_CORE_EXTRA_SRC_CONTENTS="
@@ -417,6 +419,10 @@ src_install() {
 
 	rm "${ED}/usr/bin/"{,u}ptex || die
 
+	if ! use xindy; then
+		rm -rf "${ED}{TEXMF_PATH}"/{,scripts,doc}/xindy
+	fi
+
 	dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
 
 	dodir "/usr/bin"
@@ -427,7 +433,7 @@ src_install() {
 	done
 
 	# https://bugs.gentoo.org/832139
-    rm "${ED}"/usr/bin/tlmgr || die
+	rm "${ED}"/usr/bin/tlmgr || die
 
 	texlive-common_handle_config_files
 

diff --git a/app-text/texlive-core/texlive-core-2023-r2.ebuild b/app-text/texlive-core/texlive-core-2023-r6.ebuild
similarity index 91%
copy from app-text/texlive-core/texlive-core-2023-r2.ebuild
copy to app-text/texlive-core/texlive-core-2023-r6.ebuild
index 829ec0c..4c3cc6a 100644
--- a/app-text/texlive-core/texlive-core-2023-r2.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r6.ebuild
@@ -12,7 +12,6 @@ DESCRIPTION="A complete TeX distribution"
 HOMEPAGE="https://tug.org/texlive/"
 SLOT="0"
 LICENSE="BSD GPL-1 GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
-RESTRICT="mirror"
 GENTOO_TEX_PATCHES_NUM=3
 SRC_URI="
 	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
@@ -21,7 +20,7 @@ SRC_URI="
 "
 
 # Macros that are not a part of texlive-sources or or pulled in from collection-binextra
-# but still needed for other packages during installation
+# but still needed for other packages during installation.
 TL_CORE_EXTRA_CONTENTS="
 	autosp.r58211
 	axodraw2.r58155
@@ -38,6 +37,7 @@ TL_CORE_EXTRA_CONTENTS="
 	m-tx.r64182
 	makeindex.r62517
 	pmx.r65926
+	texdoctk.r62186
 	texlive-scripts.r69754
 	texlive-scripts-extra.r62517
 	texlive.infra.r69740
@@ -45,6 +45,7 @@ TL_CORE_EXTRA_CONTENTS="
 	upmendex.r66381
 	velthuis.r66186
 	vlna.r66186
+	xindy.r65958
 	xml2pmx.r57972
 "
 TL_CORE_EXTRA_DOC_CONTENTS="
@@ -62,6 +63,7 @@ TL_CORE_EXTRA_DOC_CONTENTS="
 	m-tx.doc.r64182
 	makeindex.doc.r62517
 	pmx.doc.r65926
+	texdoctk.doc.r62186
 	texlive-scripts.doc.r69754
 	texlive-scripts-extra.doc.r62517
 	texlive.infra.doc.r69740
@@ -69,6 +71,7 @@ TL_CORE_EXTRA_DOC_CONTENTS="
 	upmendex.doc.r66381
 	velthuis.doc.r66186
 	vlna.doc.r66186
+	xindy.doc.r65958
 	xml2pmx.doc.r57972
 "
 TL_CORE_EXTRA_SRC_CONTENTS="
@@ -169,6 +172,7 @@ DEPEND="
 	${COMMON_DEPEND}
 "
 
+# !<dev-texlive/texlive-langother-2023 see https://bugs.gentoo.org/928307
 RDEPEND="
 	${COMMON_DEPEND}
 	virtual/perl-Getopt-Long
@@ -180,6 +184,9 @@ RDEPEND="
 		dev-lang/tk
 		dev-perl/Tk
 	)
+	!<dev-texlive/texlive-basic-2023
+	!<dev-texlive/texlive-mathscience-2023
+	!<dev-texlive/texlive-langother-2023
 "
 
 S="${WORKDIR}/${MY_P}"
@@ -209,8 +216,9 @@ src_prepare() {
 
 	cd "${S}" || die
 
+	TL_KPATHSEA_INCLUDES=$($(tc-getPKG_CONFIG) kpathsea --variable=includedir || die "failed to invoke pkg-config")
 	sed -i \
-		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
+		-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,${TL_KPATHSEA_INCLUDES}\"," \
 		texk/web2c/configure || die
 
 	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
@@ -219,9 +227,18 @@ src_prepare() {
 	default
 
 	elibtoolize
+
+	# Drop this once cairo's autoconf patches are gone. See
+	# https://bugs.gentoo.org/927714#c4 and https://bugs.gentoo.org/853121.
+	"${S}"/reautoconf libs/cairo || die
 }
 
 src_configure() {
+	# TODO: report upstream
+	# bug #915223
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	# It fails on alpha without this
 	use alpha && append-ldflags "-Wl,--no-relax"
 
@@ -242,6 +259,7 @@ src_configure() {
 		--with-system-libpng
 		--with-system-teckit
 		--with-system-kpathsea
+		--with-kpathsea-includes="${TL_KPATHSEA_INCLUDES}"
 		--with-system-icu
 		--with-system-ptexenc
 		--with-system-harfbuzz
@@ -265,7 +283,6 @@ src_configure() {
 		--enable-tektronixwin
 		--enable-unitermwin
 		--enable-vlna
-		--enable-year2038
 		--disable-psutils
 		--disable-t1utils
 		--enable-ipc
@@ -304,7 +321,6 @@ src_configure() {
 		$(use_with X x)
 		$(use_enable xindy)
 		--enable-ptex=no
-		--enable-uptex=no
 		--enable-autosp=yes
 		--enable-axodraw2=yes
 		--enable-devnag=yes
@@ -319,7 +335,7 @@ src_configure() {
 		--enable-afm2pl=yes
 		--enable-dvidvi=yes
 		--enable-dviljk=yes
-		$(use_enable cjk dvipdfm-x)
+		--enable-dvipdfm-x
 		--enable-dvipos=yes
 		--enable-gregorio=yes
 		--enable-gsftopk=yes
@@ -415,7 +431,14 @@ src_install() {
 	# by texmf-update
 	rm "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die
 
-	rm "${ED}/usr/bin/"{,u}ptex || die
+	if use cjk; then
+		rm "${ED}/usr/bin/"{,u}ptex || die
+	fi
+
+	if ! use xindy; then
+		rm -rf "${ED}{TEXMF_PATH}"/{,scripts,doc}/xindy
+		rm "${ED}"/usr/share/tlpkg/tlpobj/xindy.* || die
+	fi
 
 	dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS}
 
@@ -427,7 +450,7 @@ src_install() {
 	done
 
 	# https://bugs.gentoo.org/832139
-    rm "${ED}"/usr/bin/tlmgr || die
+	rm "${ED}"/usr/bin/tlmgr || die
 
 	texlive-common_handle_config_files
 
@@ -452,4 +475,10 @@ pkg_postinst() {
 	# eftmutil-sys here and the reasons why it sometimes fails.
 	nonfatal etexmf-update
 	nonfatal efmtutil-sys
+
+	texlive-common_update_tlpdb
+}
+
+pkg_postrm() {
+	texlive-common_update_tlpdb
 }


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-07-26  7:47 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-07-26  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     875833497bc1c790b4f268cf466a26158fefbab4
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 09:04:47 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 09:32:44 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=87583349

app-text/texlive-core: add texlive-core-2023-r10

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/Manifest                     |  3 +-
 ...2023-r6.ebuild => texlive-core-2023-r10.ebuild} | 43 ++++++++++++++--------
 2 files changed, 29 insertions(+), 17 deletions(-)

diff --git a/app-text/texlive-core/Manifest b/app-text/texlive-core/Manifest
index 02aecd9..1dfdf14 100644
--- a/app-text/texlive-core/Manifest
+++ b/app-text/texlive-core/Manifest
@@ -17,7 +17,7 @@ DIST dvipdfmx.doc.r69127.tar.xz 3125132 BLAKE2B b29cc6a2f1934fdeab678a5246154b1b
 DIST dvipdfmx.r69127.tar.xz 26704 BLAKE2B 7d2790d9aa6b994ab3619bd96ea6880e9243105001224d7bbadd130b03c7b8335fe751bdcbb90ef5ad92d60d3a80e63f0f152d50725a80cf1c78e45ab5c9245d SHA512 75703f600365c90379c5d009e00d35d2e514a76b2556c96c84fc2a717287441af419a26fc9ef087d111f2e77c7180f6371ca2ec33b66052ab63ca3d11f48e788
 DIST dvipos.doc.r66186.tar.xz 28764 BLAKE2B 7bc90b21109d52375ffdfef601722d0d3bb36932556f8f29ae62cd4f62c2171da2cf08f9bec72f368711dea071cd15b09f3d3661a91013a086c3a6621abc8794 SHA512 254a1db41636608a133e7807a8d4ea8ddd99ac646f35b66a43205ac7fdaf4a15c21eafbb85e23a182506e509895776d1fcbe63b3b8a7f197d577c6405ece5c44
 DIST dvipos.r66186.tar.xz 296 BLAKE2B 1560c5a795df9c095c8115e7f0296ffa3206dd2630a8cf2df9dd76aa2ae1c6b5f044d327c44d026bd94bf80d6bab12cf7da04ef5b7ccb3291762a495d8a4764c SHA512 9e949fb402facda9c30fa2f388b80f2cfc530670b33cbd78559e4449fa6004c5d4082e4fb895ea397a334a333e5d5ae1a4f66fde3885f0a9eb28c9d9ebbecd0a
-DIST gentoo-tex-patches-3.tar.bz2 3860 BLAKE2B 048d1fb59909f0f319f7a77ca424dd48d1f879d7c97be5c683e6c76142d1a878705adfd3cd734e401bbf2cf319c7e539540781bd9ab0fc937b2c93e129e3ceac SHA512 6976ddf60b6b61fb04c04ddae1fcc98372047b7186a34cd531f0a5011b69310b598db89f216265d91e9a465fd4a4e7410920ae1373b378495beeeb537c73a17a
+DIST gentoo-tex-patches-5.tar.bz2 4975 BLAKE2B fbf4115fe462cf7b5e1bf36b30e6c52ee0a8c32896f63b04684d43c768c26ce04dfcd4d8dee671afc480df8c83daeaa6625e58c22bc400f0fbfadbd7ff31ff8c SHA512 be93e7a1aa233ee40c10dcaafd0ff3d0dbd2b0211758187201de6433867249b8a807450cc57c89cf18df8e672f47a3ae36b39032145e56531dc1da19b557bf7a
 DIST gsftopk.doc.r52851.tar.xz 27540 BLAKE2B c6f3e6f01bf63616a66318fc652ae0e7cf08ac0e94eb9d31ec98058da77215fc8c84be7e885960eea70ff82d72533c5011a96136758f0159b7c17430aa835fc6 SHA512 0a597e2908438fc00fc2bafa7ec635a82b70aad9d7f7e86851a654c0b72b719b8c550be0c20ecf6c8d96627863a48e6a387156ad2c7e71d1e296dd4937d60805
 DIST gsftopk.r52851.tar.xz 3548 BLAKE2B 65e455587ba7b014be3f7668225fd0f5b4816406896209929001cab5b61dd6b748120970dca79207117b6a5b07ff7c00f96aab6e540397405d075425f8a79a2b SHA512 cb9aebd7428d10b627d80ea40d297f3e6de006859c7dd713478ff193458494f90017ecd0737376ac1f47638b059e02e8a46ea53a7c56b8561af75f770e214413
 DIST hyphen-base.r68321.tar.xz 22604 BLAKE2B b11b688304c3622c71ddbb38e9095e550871360418d176ab717bdc59954c0648636e5627f55180980e789efed918dfdbab55c25b1b95c8ab0467398b1b2592c4 SHA512 d3f2749cc6946702ff0d51c1d823531bc92b77c1106aec252c84cc8649aa56048556c90e9792f1b0749bba0b86b7c34aa2b04fe2946d1226315dbc73add36913
@@ -32,6 +32,7 @@ DIST pmx.r65926.tar.xz 10184 BLAKE2B 550140955d4033c258c7793c56846d8a0d235fcb2de
 DIST texdoctk.doc.r62186.tar.xz 30728 BLAKE2B 4878654c60e2fb3a1415f492894a3d956d86cdd6f8ebc337e4ec928a55ccd2b8c202a3c06b3c8687530a505f45e740eb33005e2cd4c2f65aa68ec77e3990ed31 SHA512 fb403dc17ad839ea64bcf6da84e59288a8745b5eb731051d7df8593138aa5d3b6891d56f52bdbe5c9a41e590f1f36db390e7e7a825d9aaf00d4fbc01c8dc16ba
 DIST texdoctk.r62186.tar.xz 26712 BLAKE2B 4076b8b227dc08762cd7880165fd4b1780f3ed34e0ba68b1b04ce542efd47aefc3f893d71da7dbc8122ebb45107480974da0631f16f849d2990a14cd2db74ce6 SHA512 f3300a088f5ecedfe66ca277f793d3565b5b0f111721a0d73a788d65b72f09d0103a11edda13679fb9e919f11ce9ed3662717c18e46be99a83b744a1f7ec88fe
 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96
+DIST texlive-core-2023-pdflatex-big-endian-fix.patch 1162 BLAKE2B a440115cb804a9a9e48c068853fd38ab87d50ab23177283ea20304ea4c7a9f3ee3a4ae35ae2c95dd2a0c339352aeed91cb436bc461db2983d6911d6417c48bb6 SHA512 b17b209b09884f78fe47f2a5e5afd09bc7c7ca8a67a5b67c0ac0e9977ac352b7867ed8e35ff97925ff2af1c67f2c716f513ecd9389fb99c3ad9bf5d3bdebc570
 DIST texlive-scripts-extra.doc.r62517.tar.xz 197196 BLAKE2B 80d2fd7b53ffbe21f975156cf0d5f52826faebc422d3e66c342c8237d7da27ba58b1ffc56f83a040ae4b4e870c8063c0d53392f9cc7e3bb3da30ebe5a258a40a SHA512 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
 DIST texlive-scripts-extra.r62517.tar.xz 23540 BLAKE2B 85762b7a74f5132ec550033e08caef5f6fd145ef367475a1b3ebaccfefdcfb426f2e12e647e45a35daa2a44cf0c2fba8d6ed8afec88ed6fccee0cf7eb52c2c50 SHA512 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7
 DIST texlive-scripts.doc.r69754.tar.xz 432212 BLAKE2B a1597fea1443974012eac8b0b060c770e5421ee08b8a8aea8c32c94abf153ae22cac29015e074ffd164e0c5c355034c0fefb673fa917ccf98afebb511492ccc5 SHA512 0a319e6864787c0b62a7f0fb389497a94449c6b420573805a1ba49fb11d0453f5727d2f44a935468cb6c7945d177a5ca828ef4209f717aeb5b21d2b523f21b82

diff --git a/app-text/texlive-core/texlive-core-2023-r6.ebuild b/app-text/texlive-core/texlive-core-2023-r10.ebuild
similarity index 93%
rename from app-text/texlive-core/texlive-core-2023-r6.ebuild
rename to app-text/texlive-core/texlive-core-2023-r10.ebuild
index 4c3cc6a..4f20ff1 100644
--- a/app-text/texlive-core/texlive-core-2023-r6.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r10.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 TL_SOURCE_VERSION=20230311
 inherit flag-o-matic toolchain-funcs libtool texlive-common
@@ -11,12 +11,14 @@ MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
 DESCRIPTION="A complete TeX distribution"
 HOMEPAGE="https://tug.org/texlive/"
 SLOT="0"
-LICENSE="BSD GPL-1 GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
-GENTOO_TEX_PATCHES_NUM=3
+LICENSE="BSD GPL-1+ GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
+GENTOO_TEX_PATCHES_NUM=5
 SRC_URI="
 	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
 	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
 		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
+	https://raw.githubusercontent.com/debian-tex/texlive-bin/58a00e704a15ec3dd8abbf3826f28207eb095251/debian/patches/1054218.patch
+		-> texlive-core-2023-pdflatex-big-endian-fix.patch
 "
 
 # Macros that are not a part of texlive-sources or or pulled in from collection-binextra
@@ -84,7 +86,6 @@ TEXLIVE_MODULE_BINSCRIPTS="
 	texmf-dist/scripts/texlive/fmtutil-user.sh
 	texmf-dist/scripts/texlive/fmtutil.pl
 	texmf-dist/scripts/texlive/mktexlsr
-	texmf-dist/scripts/texlive/mktexlsr.pl
 	texmf-dist/scripts/texlive/mktexmf
 	texmf-dist/scripts/texlive/mktexpk
 	texmf-dist/scripts/texlive/mktextfm
@@ -125,7 +126,7 @@ SRC_URI+=" source? ( "
 texlive-common_append_to_src_uri TL_CORE_EXTRA_SRC_CONTENTS
 SRC_URI+=" )"
 
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="cjk X doc source tk +luajittex xetex xindy"
 
 TEXMF_PATH=/usr/share/texmf-dist
@@ -137,8 +138,6 @@ MODULAR_X_DEPEND="
 
 COMMON_DEPEND="
 	${MODULAR_X_DEPEND}
-	!app-text/epspdf
-	!app-text/pdfjam
 	sys-libs/zlib
 	>=media-libs/harfbuzz-1.4.5:=[icu,graphite]
 	>=media-libs/libpng-1.2.43-r2:0=
@@ -187,20 +186,17 @@ RDEPEND="
 	!<dev-texlive/texlive-basic-2023
 	!<dev-texlive/texlive-mathscience-2023
 	!<dev-texlive/texlive-langother-2023
+	!<dev-texlive/texlive-music-2023
 "
 
 S="${WORKDIR}/${MY_P}"
 BUILDDIR="${WORKDIR}/${P}_build"
 
-src_unpack() {
-	default
-
-	mkdir -p "${BUILDDIR}" || die "failed to create build dir"
-}
-
 RELOC_TARGET=texmf-dist
 
 src_prepare() {
+	mkdir "${BUILDDIR}" || die "failed to create build dir"
+
 	cd "${WORKDIR}" || die
 
 	# From texlive-module.eclass.
@@ -224,6 +220,10 @@ src_prepare() {
 	local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"
 	eapply "${patch_dir}"
 
+	# Can be dropped in texlive 2024
+	# https://git.texlive.info/texlive/commit/?id=c45afdc843154fcb09b583f54a2f802c6069b50e
+	eapply "${DISTDIR}"/texlive-core-2023-pdflatex-big-endian-fix.patch
+
 	default
 
 	elibtoolize
@@ -384,6 +384,20 @@ src_compile() {
 		&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
 }
 
+src_test() {
+	cd "${BUILDDIR}" || die
+
+	sed -i \
+		-e 's;uptexdir/nissya.test;;' \
+		-e 's;uptexdir/upbibtex.test;;' \
+		texk/web2c/Makefile || die
+	sed -i \
+		-e 's;dvispc.test;;' \
+		texk/dviout-util/Makefile || die
+
+	emake check
+}
+
 src_install() {
 	cd "${BUILDDIR}" || die
 	dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
@@ -449,9 +463,6 @@ src_install() {
 		dosym "${i%:*}" "/usr/bin/${i#*:}"
 	done
 
-	# https://bugs.gentoo.org/832139
-	rm "${ED}"/usr/bin/tlmgr || die
-
 	texlive-common_handle_config_files
 
 	# the virtex symlink is not installed


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
@ 2024-07-26  7:47 Florian Schmaus
  0 siblings, 0 replies; 22+ messages in thread
From: Florian Schmaus @ 2024-07-26  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     7cb61d763d50a655635ed331384719a4db575e04
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 26 07:46:18 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 07:46:18 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=7cb61d76

app-text/texlive-core: sync with ::gentoo

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023-r10.ebuild | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/app-text/texlive-core/texlive-core-2023-r10.ebuild b/app-text/texlive-core/texlive-core-2023-r10.ebuild
index 4f20ff1..9e3d1e7 100644
--- a/app-text/texlive-core/texlive-core-2023-r10.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r10.ebuild
@@ -10,15 +10,13 @@ MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
 
 DESCRIPTION="A complete TeX distribution"
 HOMEPAGE="https://tug.org/texlive/"
-SLOT="0"
-LICENSE="BSD GPL-1+ GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
 GENTOO_TEX_PATCHES_NUM=5
 SRC_URI="
 	https://mirrors.ctan.org/systems/texlive/Source/${MY_P}.tar.xz
 	https://gitweb.gentoo.org/proj/tex-patches.git/snapshot/tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
 		-> gentoo-tex-patches-${GENTOO_TEX_PATCHES_NUM}.tar.bz2
 	https://raw.githubusercontent.com/debian-tex/texlive-bin/58a00e704a15ec3dd8abbf3826f28207eb095251/debian/patches/1054218.patch
-		-> texlive-core-2023-pdflatex-big-endian-fix.patch
+		-> ${PN}-2023-pdflatex-big-endian-fix.patch
 "
 
 # Macros that are not a part of texlive-sources or or pulled in from collection-binextra
@@ -126,6 +124,9 @@ SRC_URI+=" source? ( "
 texlive-common_append_to_src_uri TL_CORE_EXTRA_SRC_CONTENTS
 SRC_URI+=" )"
 
+S="${WORKDIR}/${MY_P}"
+LICENSE="BSD GPL-1+ GPL-2 GPL-2+ GPL-3+ MIT TeX-other-free"
+SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="cjk X doc source tk +luajittex xetex xindy"
 
@@ -189,7 +190,6 @@ RDEPEND="
 	!<dev-texlive/texlive-music-2023
 "
 
-S="${WORKDIR}/${MY_P}"
 BUILDDIR="${WORKDIR}/${P}_build"
 
 RELOC_TARGET=texmf-dist
@@ -395,7 +395,9 @@ src_test() {
 		-e 's;dvispc.test;;' \
 		texk/dviout-util/Makefile || die
 
-	emake check
+	# TODO: Drop -j1 when bumping to texlive-2024
+	# https://bugs.gentoo.org/935825
+	emake check -j1
 }
 
 src_install() {
@@ -431,8 +433,10 @@ src_install() {
 
 	use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
 
-	dodir /etc/env.d
-	echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
+	newenvd - 98texlive <<-EOF
+	CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"
+	EOF
+
 	# populate /etc/texmf
 	keepdir /etc/texmf/web2c
 
@@ -458,7 +462,9 @@ src_install() {
 
 	dodir "/usr/bin"
 	for i in ${TEXLIVE_MODULE_BINLINKS} ; do
-		[[ -f ${ED}/usr/bin/${i%:*} ]] || die "Trying to install an invalid BINLINK ${i%:*}. This should not happen. Please file a bug."
+		if [[ ! -f ${ED}/usr/bin/${i%:*} ]]; then
+			die "Trying to install an invalid BINLINK ${i%:*}. This should not happen. Please file a bug."
+		fi
 
 		dosym "${i%:*}" "/usr/bin/${i#*:}"
 	done


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-07-26  7:47 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26  7:47 [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-07-26  7:47 Florian Schmaus
2024-04-04 13:02 Florian Schmaus
2024-04-04 13:02 Florian Schmaus
2024-04-02  9:43 Florian Schmaus
2024-03-01  8:06 Florian Schmaus
2024-02-26 13:55 Florian Schmaus
2024-02-26 13:54 Florian Schmaus
2024-02-26 13:54 Florian Schmaus
2024-02-25 15:26 Florian Schmaus
2024-02-12 15:02 Florian Schmaus
2024-02-12  9:30 Florian Schmaus
2024-02-12  9:30 Florian Schmaus
2024-02-11 11:28 Florian Schmaus
2024-01-10 21:15 Florian Schmaus
2023-12-30 12:05 Paul Zander
2023-12-29 11:50 Florian Schmaus
2023-12-29 11:50 Florian Schmaus
2023-11-20 17:44 Florian Schmaus
2023-11-19 18:50 Florian Schmaus
2023-11-19 18:13 Florian Schmaus
2023-11-17 16:46 Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox