From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] texlive: make tlmgr work.
Date: Sun, 16 Aug 2020 01:42:22 +0200 [thread overview]
Message-ID: <20200815234222.gQa8Q45bM-1yarxFcySC-SxgFsJFR9tgiYg3SfTXRjQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24300@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
There is an updated pull request by fosslinux against master on the void-packages repository
https://github.com/fosslinux/void-packages texlive-fix-tlmgr
https://github.com/void-linux/void-packages/pull/24300
texlive: make tlmgr work.
tlmgr was attempting to lookup a relative path to /usr/bin, while it
expects to be in /usr/share/texmf-dist. Instead of symlinking it, create
a smallscript to run it from the correct location.
A patch file from https://github.com/void-linux/void-packages/pull/24300.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-fix-tlmgr-24300.patch --]
[-- Type: text/x-diff, Size: 2344 bytes --]
From 3d4f37ff3b44d00872005c9890bd32725bbf4153 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 16 Aug 2020 09:39:27 +1000
Subject: [PATCH] texlive: make tlmgr work.
tlmgr was attempting to lookup a relative path to /usr/bin, while it
expects to be in /usr/share/texmf-dist. Instead of symlinking it, create
a smallscript to run it from the correct location.
Closes #24013
[ci skip]
---
srcpkgs/texlive/files/tlmgr | 2 ++
srcpkgs/texlive/template | 9 ++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
create mode 100755 srcpkgs/texlive/files/tlmgr
diff --git a/srcpkgs/texlive/files/tlmgr b/srcpkgs/texlive/files/tlmgr
new file mode 100755
index 00000000000..07f5abe332d
--- /dev/null
+++ b/srcpkgs/texlive/files/tlmgr
@@ -0,0 +1,2 @@
+#!/bin/sh
+$(dirname $(realpath -s $0))/../share/texmf-dist/scripts/texlive/tlmgr.pl $@
diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 27a2b7a9d8a..0f7eaf24514 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
# Template file for 'texlive'
pkgname=texlive
version=20200406
-revision=2
+revision=3
wrksrc="texlive-${version}-source"
build_wrksrc="build"
build_style=gnu-configure
@@ -72,8 +72,6 @@ makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
poppler-devel pixman-devel libteckit-devel zlib-devel zziplib-devel
libXaw-devel"
depends="dialog ghostscript perl-Tk texlive-core xbps-triggers>=0.115_1"
-# Virtual package cares only about year part of version
-provides="tex-${version%${version#????}}_1"
short_desc="TeX Live"
maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-2.0-or-later"
@@ -81,6 +79,8 @@ homepage="https://www.tug.org/texlive/"
distfiles="ftp://tug.org/texlive/historic/2020/texlive-${version}-source.tar.xz"
checksum=e32f3d08cbbbcf21d8d3f96f2143b64a1f5e4cb01b06b761d6249c8785249078
python_version=3
+# Virtual package cares only about year part of version
+provides="tex-${version%${version#????}}_1"
if [ "$CROSS_BUILD" ] ; then
# Tangle is required for cross compile
@@ -252,6 +252,9 @@ post_install() {
done
ln -s eptex "${DESTDIR}/usr/bin/platex"
ln -s euptex "${DESTDIR}/usr/bin/uplatex"
+ # Create tlmgr smallscript
+ rm -f "${DESTDIR}/usr/bin/tlmgr"
+ vbin "${FILESDIR}/tlmgr"
}
texlive-XeTeX_package() {
next prev parent reply other threads:[~2020-08-15 23:42 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-15 23:41 [PR PATCH] " fosslinux
2020-08-15 23:42 ` fosslinux [this message]
2020-08-16 1:13 ` [PR REVIEW] " ericonr
2020-08-16 1:26 ` fosslinux
2020-08-16 1:38 ` fosslinux
2020-08-16 2:28 ` ericonr
2020-08-16 2:52 ` fosslinux
2020-08-16 2:53 ` [PR PATCH] [Updated] " fosslinux
2020-08-16 2:54 ` [PR REVIEW] " ericonr
2020-08-16 2:55 ` ericonr
2020-08-16 4:07 ` ericonr
2020-08-16 4:10 ` fosslinux
2020-08-16 4:12 ` ericonr
2020-08-16 4:12 ` ericonr
2020-08-16 4:13 ` ericonr
2020-08-16 4:14 ` fosslinux
2020-08-16 4:31 ` ericonr
2020-08-16 4:36 ` [PR PATCH] [Updated] " fosslinux
2020-08-16 5:25 ` [do not merge] texlive: make tlmgr work and split libsynctex fosslinux
2020-08-16 5:29 ` ericonr
2020-08-16 5:30 ` ericonr
2020-08-16 5:36 ` fosslinux
2020-08-16 8:04 ` fosslinux
2020-08-16 8:07 ` [PR PATCH] [Updated] " fosslinux
2020-08-17 13:48 ` [PR PATCH] [Closed]: " ahesford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200815234222.gQa8Q45bM-1yarxFcySC-SxgFsJFR9tgiYg3SfTXRjQ@z \
--to=fosslinux@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).