texlive-bin

This commit is contained in:
Rmys
2026-02-19 14:57:15 +03:00
parent 5ca3d936d9
commit 21adcfb608
4 changed files with 51 additions and 6 deletions
+13 -3
View File
@@ -13,10 +13,20 @@ from pisi.actionsapi import texlivemodules
import os
WorkDir = "."
buildDir = 'texlive-20240312-source/build'
# WorkDir = "."
# buildDir = 'texlive-20250308-source/build'
buildDir = 'build'
def setup():
shelltools.export("CFLAGS", " -std=gnu17")
shelltools.system("sed -i '/AC_SEARCH_LIBS/a KPSE_KPATHSEA_FLAGS' texk/bibtex-x/configure.ac")
shelltools.system("sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c")
shelltools.cd("texk/bibtex-x")
shelltools.system("autoreconf")
shelltools.cd("../..")
shelltools.makedirs(buildDir)
shelltools.cd(buildDir)
shelltools.sym("../configure", "configure")
@@ -58,7 +68,7 @@ def install():
autotools.rawInstall("prefix=/usr DESTDIR=%s" % get.installDIR())
shelltools.system("pwd")
#install biber
pisitools.dobin("../../biber-2.20/bin/biber")
pisitools.dobin("../../biber-2.21/bin/biber")
#pisitools.dodir("/usr/share/tlpkg/TeXLive")
#shelltools.move("%s/source/utils/biber/TeXLive/*.pm" % get.workDIR(), "%s/usr/share/tlpkg/TeXLive" % get.installDIR())
@@ -0,0 +1,13 @@
diff --git a/libs/lua53/lua53-src/src/luaconf.h b/libs/lua53/lua53-src/src/luaconf.h
index 9eeeea69e2..2a7deef3e1 100644
--- a/libs/lua53/lua53-src/src/luaconf.h
+++ b/libs/lua53/lua53-src/src/luaconf.h
@@ -200,7 +200,7 @@
#else /* }{ */
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
#define LUA_PATH_DEFAULT \
@@ -0,0 +1,14 @@
diff --git a/texk/ptexenc/ptexenc.c b/texk/ptexenc/ptexenc.c
index 4e81dbee7c..3c98d68125 100644
--- a/texk/ptexenc/ptexenc.c
+++ b/texk/ptexenc/ptexenc.c
@@ -1044,7 +1044,9 @@ long input_line2(FILE *fp, unsigned char *buff, unsigned char *buff2,
enc = ptenc_guess_enc(fp);
if (string_to_enc(enc) > 0) {
infile_enc[fd] = string_to_enc(enc);
+#ifdef DEBUG
fprintf(stderr, "(guessed encoding #%d: %s = %s)", fd, enc, enc_to_string(infile_enc[fd]));
+#endif /* DEBUG */
} else {
infile_enc[fd] = get_file_enc();
}
+11 -3
View File
@@ -16,8 +16,8 @@
<Description>Texlive binaries that are an essential part of TeXLive component.</Description>
<!--<Archive sha1sum="f353ce0b24a8e4019f75f3a7b6bc01037b87da68" type="tarxz">https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2024/texlive-20240312-texmf.tar.xz</Archive>-->
<!--<Archive sha1sum="3ec2d60663566b5849e62534b1306f730850739e" type="tarxz">https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2024/texlive-20240312-bin.tar.xz</Archive> -->
<Archive sha1sum="d7a64c26bec66f6a60f784af1340929621b5b00a" type="tarxz">https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2024/texlive-20240312-source.tar.xz</Archive>
<Archive sha1sum="cb8995f3c6dbe187e9b010dd709994e55b0e76d2" type="targz">https://github.com/plk/biber/archive/refs/tags/v2.20.tar.gz</Archive>
<Archive sha1sum="00b49ccb73709caedfe6c04ccac76f129ecec205" type="tarxz">https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2025/texlive-20250308-source.tar.xz</Archive>
<Archive sha1sum="73dc7b0d50986f08549da0f419cc6f0b686d9252" type="targz">https://github.com/plk/biber/archive/refs/tags/v2.21.tar.gz</Archive>
<BuildDependencies>
<Dependency>gd-devel</Dependency>
<Dependency>clisp-devel</Dependency>
@@ -42,7 +42,8 @@
<Dependency>ghostscript-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">arch/texlive-20240312-source-upstream_fixes-1.patch</Patch> -->
<Patch level="1">arch/ptex-debug-print.patch</Patch>
<Patch level="1">arch/lua-root.patch</Patch>
</Patches>
</Source>
@@ -101,6 +102,13 @@
</Package>
<History>
<Update release="9">
<Date>2026-02-19</Date>
<Version>20250308</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2025-02-26</Date>
<Version>20240312</Version>