Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] texlive: make tlmgr work.
@ 2020-08-15 23:41 fosslinux
  2020-08-15 23:42 ` [PR PATCH] [Updated] " fosslinux
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: fosslinux @ 2020-08-15 23:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

There is a new 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: 2333 bytes --]

From 75974bdb70a90a118b935593c828098d098c4759 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
---
 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() {

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-08-17 13:48 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-15 23:41 [PR PATCH] texlive: make tlmgr work fosslinux
2020-08-15 23:42 ` [PR PATCH] [Updated] " fosslinux
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

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).