texlive rebuild.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import libtools
|
||||
@@ -36,9 +36,10 @@ def setup():
|
||||
--with-system-zlib \
|
||||
--with-system-t1lib \
|
||||
--datadir=/usr/share \
|
||||
--with-system-pnglib \
|
||||
--with-system-libpng \
|
||||
--with-system-ncurses \
|
||||
--without-system-xpdf \
|
||||
--with-system-zziplib \
|
||||
--with-system-harfbuzz \
|
||||
--mandir=/usr/share/man \
|
||||
--disable-multiplatform \
|
||||
@@ -57,7 +58,7 @@ def install():
|
||||
autotools.rawInstall("prefix=/usr DESTDIR=%s" % get.installDIR())
|
||||
shelltools.system("pwd")
|
||||
#install biber
|
||||
pisitools.dobin("../../biber-2.14/bin/biber")
|
||||
pisitools.dobin("../../biber-2.16/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())
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>texlive-bin</Name>
|
||||
<Homepage>http://www.tug.org/texlive</Homepage>
|
||||
<Homepage>https://www.tug.org/texlive/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -17,7 +17,7 @@
|
||||
<!--<Archive sha1sum="7fdc8972d22347880d1117bec8c3b75f82c4fbd5" type="tarxz">http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20120623.tar.xz</Archive>-->
|
||||
<!--<Archive sha1sum="2d176c127470638ee9818592464500252fe5569b" type="tarxz">http://mirrors.edge.kernel.org/archlinux/other/texlive/texlive-bin-source-2018.47465.tar.xz</Archive> -->
|
||||
<Archive sha1sum="94b77331474d678ce75d9d6c673965fd7f93295b" type="tarxz">ftp://tug.org/texlive/historic/2020/texlive-20200406-source.tar.xz</Archive>
|
||||
<Archive sha1sum="8d60837532d1b6a3dbaf4822174144bd9c1a20bb" type="targz">https://github.com/plk/biber/archive/v2.14.tar.gz</Archive>
|
||||
<Archive sha1sum="cb27ebbee89e0e53630efa4308ca38f8278f7367" type="targz">https://github.com/plk/biber/archive/v2.16.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gd-devel</Dependency>
|
||||
<Dependency>clisp-devel</Dependency>
|
||||
@@ -30,7 +30,9 @@
|
||||
<Dependency>libXaw-devel</Dependency>
|
||||
<Dependency>libXmu-devel</Dependency>
|
||||
<Dependency>libXpm-devel</Dependency>
|
||||
<!-- <Dependency>potrace</Dependency> -->
|
||||
<Dependency>poppler-devel</Dependency>
|
||||
<Dependency>zziplib-devel</Dependency>
|
||||
<Dependency>libpaper-devel</Dependency>
|
||||
<Dependency>harfbuzz-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
@@ -38,15 +40,9 @@
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>libsigsegv-devel</Dependency>
|
||||
<Dependency>ghostscript-devel</Dependency>
|
||||
<!--
|
||||
<Dependency>zziplib-devel</Dependency>
|
||||
<Dependency>potrace</Dependency>
|
||||
-->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--
|
||||
<Patch level="1">arch/texlive-20190410-source-upstream_fixes-1.patch</Patch>
|
||||
-->
|
||||
<!-- <Patch level="1">arch/texlive-20190410-source-upstream_fixes-1.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -67,6 +63,7 @@
|
||||
<Dependency>libXaw</Dependency>
|
||||
<Dependency>libXmu</Dependency>
|
||||
<Dependency>libXpm</Dependency>
|
||||
<Dependency>zziplib</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>graphite2</Dependency>
|
||||
@@ -86,8 +83,8 @@
|
||||
<Path fileType="data">/usr/share/texmf-dist</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<!--<AdditionalFile permission="0755" target="/usr/bin/biber">biber</AdditionalFile>-->
|
||||
<!--<AdditionalFile permission="0644" target="09-texlive-fonts.conf">09-texlive-fonts.conf</AdditionalFile> -->
|
||||
<!-- <AdditionalFile permission="0755" target="/usr/bin/biber">biber</AdditionalFile> -->
|
||||
<!-- <AdditionalFile permission="0644" target="09-texlive-fonts.conf">09-texlive-fonts.conf</AdditionalFile> -->
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
@@ -104,6 +101,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2021-01-02</Date>
|
||||
<Version>20200406</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2020-06-01</Date>
|
||||
<Version>20200406</Version>
|
||||
@@ -126,4 +130,4 @@
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "."
|
||||
revnr = get.srcVERSION().split(".")[1]
|
||||
@@ -24,20 +25,23 @@ def install():
|
||||
# prepare and install installed packs list
|
||||
pisitools.dodir("/var/lib/texmf/pisilinux/installedpacks")
|
||||
pisitools.dosed("CONTENTS", "^#", deleteLine=True)
|
||||
pisitools.insinto("/var/lib/texmf/pisilinux/installedpacks", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr))
|
||||
pisitools.insinto("/var/lib/texmf/pisilinux/installedpkgs", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr))
|
||||
|
||||
for i in shelltools.ls("texmf-dist"):
|
||||
shelltools.copytree("texmf-dist/%s/" % i, "%s/usr/share/texmf-dist/" % get.installDIR())
|
||||
shelltools.system("find texmf-dist -type f -executable -exec chmod 755 %s/usr/share/{} \;" % get.installDIR())
|
||||
|
||||
for i in shelltools.ls("."):
|
||||
if shelltools.isDirectory(i) and not i.startswith("texmf"):
|
||||
shelltools.copytree(i, "%s/usr/share/texmf-dist/" % get.installDIR())
|
||||
for i in ["tlpkg"]:
|
||||
shelltools.copytree("%s/" % i, "%s/usr/share/" % get.installDIR())
|
||||
|
||||
for i in ["bibtex", "dvips", "fonts", "makeindex", "metafont", "metapost", "mft", "scripts", "tex"]:
|
||||
shelltools.system("find %s -type d -exec install -d -m755 %s/usr/share/texmf-dist/'{}' \;" % (i, get.installDIR()))
|
||||
shelltools.system("find %s -type f -exec install -m644 '{}' %s/usr/share/texmf-dist/'{}' \;" % (i, get.installDIR()))
|
||||
|
||||
# clean config files
|
||||
pisitools.dosed("tex/generic/config", "DO NOT EDIT", deleteLine=True, filePattern="language\.d..$")
|
||||
pisitools.dosed("texmf-dist/web2c/updmap.cfg", "^(#!\s*)?(Map|MixedMap)", deleteLine=True)
|
||||
pisitools.dosed("%s/usr/share/texmf-dist/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True)
|
||||
# pisitools.dosed("%s/usr/share/texmf-dist/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True)
|
||||
|
||||
# install config files
|
||||
cfs = ["chktex/chktexrc",
|
||||
@@ -65,7 +69,7 @@ def install():
|
||||
#shelltools.system("texmf-dist/scripts/texlive/texlinks.sh -f %s/usr/share/texmf-dist/web2c/fmtutil.cnf %s/usr/bin" % ((get.installDIR(), ) * 2))
|
||||
|
||||
# remove upstream updmap.cfg: it contains too many maps
|
||||
pisitools.remove("/usr/share/texmf-dist/updmap.cfg")
|
||||
# pisitools.remove("/usr/share/texmf-dist/updmap.cfg")
|
||||
|
||||
# remove unneeded dir
|
||||
pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/mswin")
|
||||
|
||||
@@ -10,7 +10,7 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
|
||||
updmap_file = "/etc/texmf/web2c/updmap.cfg"
|
||||
updmap_local_file = "/etc/texmf/web2c/updmap-local.cfg"
|
||||
updmap_share_file = "/usr/share/texmf-dist/updmap-hdr.cfg"
|
||||
updmap_share_file = "/usr/share/texmf-dist/web2c/updmap-hdr.cfg"
|
||||
temp_file = "/tmp/updmap.cfg.temp"
|
||||
texmf_file="/etc/texmf/web2c/texmf.cnf"
|
||||
texmf_symfile="/usr/share/texmf-dist/web2c/texmf.cnf"
|
||||
@@ -40,7 +40,7 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
|
||||
# Look for custom additions, if available add them too
|
||||
if os.path.exists(updmap_local_file):
|
||||
fin = open(updmaplocal_file, "r")
|
||||
fin = open(updmap_local_file, "r")
|
||||
updmap_local = fin.read()
|
||||
fin.close()
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ Map qhv.map
|
||||
Map qpl.map
|
||||
Map qtm.map
|
||||
Map qzc.map
|
||||
Map rojud.map
|
||||
Map tabvar.map
|
||||
Map troff-updmap.map
|
||||
Map txfonts.map
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>texlive-core</Name>
|
||||
<Homepage>http://www.tug.org/texlive</Homepage>
|
||||
<Homepage>https://www.tug.org/texlive</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -12,9 +12,11 @@
|
||||
<License>GPLv2</License>
|
||||
<IsA>data:doc</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>TeX Live core distribution</Summary>
|
||||
<Description>texlive-core is the essential part of TeXLive. It corresponds to the "medium" scheme of TexLive</Description>
|
||||
<Archive sha1sum="454c5a8a032f451432a6d3c56a80a86495667536" type="zip">http://mirrors.kernel.org/archlinux/other/texlive/texlive-core-2020.54593-src.zip </Archive>
|
||||
<Summary>TeX Live core distribution.</Summary>
|
||||
<Description>texlive-core is the essential part of TeXLive. It corresponds to the "medium" scheme of TexLive.</Description>
|
||||
<Archive sha1sum="b09343dda8512cab5c3810c488c1d738aa43e547" type="zip">
|
||||
https://mirrors.kernel.org/archlinux/other/texlive/texlive-core-2020.57066-src.zip
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>texlive-bin</Dependency>
|
||||
</BuildDependencies>
|
||||
@@ -22,7 +24,7 @@
|
||||
|
||||
<Package>
|
||||
<Name>texlive-core</Name>
|
||||
<Summary>TeX Live core distribution</Summary>
|
||||
<Summary>TeX Live core distribution.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>psutils</Dependency>
|
||||
<Dependency>t1utils</Dependency>
|
||||
@@ -51,6 +53,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2020-01-02</Date>
|
||||
<Version>2020.57066</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2020-05-29</Date>
|
||||
<Version>2020.54593</Version>
|
||||
@@ -60,3 +69,4 @@
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>texlive-core</Name>
|
||||
<Summary xml:lang="tr">TeX Live Dağıtımının Ana Parçası</Summary>
|
||||
<Description xml:lang="tr">texlive-core Tex Live dağıtımının ana parçasıdır.</Description>
|
||||
<Description xml:lang="fr">texlive-core est la part essentiel de TeXLive.</Description>
|
||||
</Source>
|
||||
<Source>
|
||||
<Name>texlive-core</Name>
|
||||
<Summary xml:lang="tr">TeX Live Dağıtımının Ana Parçası</Summary>
|
||||
<Description xml:lang="tr">texlive-core Tex Live dağıtımının ana parçasıdır.</Description>
|
||||
<Description xml:lang="fr">texlive-core est la part essentiel de TeXLive.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user