texlive rebuild.
This commit is contained in:
@@ -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