From bfa2807523b3a20f9f14a1878c0775c2a5ec2c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Fri, 19 May 2023 21:02:26 +0200 Subject: [PATCH] texlive: fix references to texlive_core package links directory (#8687) This would bind the texlive packages to a fixed version (and revision!) of texlive_core. Also, they couldn't be shared between x86 and other architectures, because the packages are named `texlive_core_x86` on x86 because of secondaryArch. Revbump for rebuild (texlive was built against texlive_core 2022 before and is therefore broken right now.) --- app-text/texlive/texlive-2023.recipe | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app-text/texlive/texlive-2023.recipe b/app-text/texlive/texlive-2023.recipe index 53eb63441..960bc1885 100644 --- a/app-text/texlive/texlive-2023.recipe +++ b/app-text/texlive/texlive-2023.recipe @@ -6,7 +6,7 @@ are free software, including support for many languages around the world." HOMEPAGE="http://tug.org/texlive/" COPYRIGHT="1996 by collaboration between the TeX user groups." LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" fullVersion=20230313 SOURCE_URI="ftp://tug.org/historic/systems/texlive/$portVersion/install-tl-unx.tar.gz" SOURCE_URI_2="ftp://tug.org/historic/systems/texlive/$portVersion/texlive-$fullVersion-texmf.tar.xz" @@ -256,8 +256,11 @@ INSTALL() install-tl --custom-bin=$customBinDir --profile=texlive.profile # somewhere along the way, a texmf.cnf gets created with ALL the wrong paths... - # replace it with the known working version from the main texlive_core package - cp -f /boot/system/data/texmf-dist/web2c/texmf.cnf $dataDir/texlive/texmf-dist/web2c/texmf.cnf + # replace it with the known working version from the main texlive_core package, + # but replace package links with our own ones + sed -e "s@/packages/texlive_core.*/\.self@$prefix@g" \ + -e "s@/packages/texlive_core.*/\.settings@$sysconfDir@g" \ + /boot/system/data/texmf-dist/web2c/texmf.cnf > $dataDir/texlive/texmf-dist/web2c/texmf.cnf rm -rf $dataDir/texlive/bin