Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] texlive: fix tlmgr.
@ 2021-01-04 11:03 fosslinux
  2021-01-04 11:14 ` texlive: fix tlmgr. [ci skip] fosslinux
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: fosslinux @ 2021-01-04 11:03 UTC (permalink / raw)
  To: ml

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

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages tlpdb-new
https://github.com/void-linux/void-packages/pull/27653

texlive: fix tlmgr.
This PR adds a package texlive-tlpdb that is in the same vein as the foomatic-db* family, where there is no checksum as it packages a volatile database updated roughly daily that should be bumped regularly to ensure operation of tlmgr.

tlmgr requires the use of /usr/share/texmf-dist/tlpkg/texlive.tlpdb to
work correctly. We don't distribute this currently, but now we do, in
the package texlive-tlpdb. It is split out because it is very volatile
and we don't want to have to continously bump the full texlive package.

This finally! makes tlmgr work.

A patch file from https://github.com/void-linux/void-packages/pull/27653.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tlpdb-new-27653.patch --]
[-- Type: text/x-diff, Size: 2956 bytes --]

From 94ed5ea34564863ab65d396039a39940147d5606 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 4 Jan 2021 21:49:29 +1100
Subject: [PATCH 1/2] New package: texlive-tlpdb-20210104.

---
 srcpkgs/texlive-tlpdb/template | 23 +++++++++++++++++++++++
 srcpkgs/texlive-tlpdb/update   |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 srcpkgs/texlive-tlpdb/template
 create mode 100644 srcpkgs/texlive-tlpdb/update

diff --git a/srcpkgs/texlive-tlpdb/template b/srcpkgs/texlive-tlpdb/template
new file mode 100644
index 00000000000..40040b43dcc
--- /dev/null
+++ b/srcpkgs/texlive-tlpdb/template
@@ -0,0 +1,23 @@
+# Template file for 'texlive-tlpdb'
+# Note: update the version=<date> regularly like once/month.
+pkgname=texlive-tlpdb
+version=20210104
+revision=1
+create_wrksrc=yes
+hostmakedepends="xz"
+short_desc="TeX Live - ctan database"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="GPL-2.0-or-later"
+homepage="https://www.tug.org/texlive/"
+
+do_fetch() {
+	${XBPS_FETCH_CMD} ftp://tug.org/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+}
+
+do_extract() {
+	xz -dkc "${XBPS_BUILDDIR}/texlive.tlpdb.xz" > "${wrksrc}/texlive.tlpdb"
+}
+
+do_install() {
+	vinstall texlive.tlpdb 0644 usr/share/texmf-dist/tlpkg
+}
diff --git a/srcpkgs/texlive-tlpdb/update b/srcpkgs/texlive-tlpdb/update
new file mode 100644
index 00000000000..632ae769a2d
--- /dev/null
+++ b/srcpkgs/texlive-tlpdb/update
@@ -0,0 +1 @@
+pattern=$pkgname'-[\d.]+-\K[\d]+'

From e1fa23b7a909c6d2651403c9853c9838d391ce9a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 4 Jan 2021 21:49:35 +1100
Subject: [PATCH 2/2] texlive: add dependency on texlive-tlpdb (make tlmgr
 work).

tlmgr requires the use of /usr/share/texmf-dist/tlpkg/texlive.tlpdb to
work correctly. We don't distribute this currently, but now we do, in
the package texlive-tlpdb. It is split out because it is very volatile
and we don't want to have to continously bump the full texlive package.
---
 srcpkgs/texlive/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index f416e853534..bae453a333e 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
 version=20200406
-revision=5
+revision=6
 wrksrc="texlive-${version}-source"
 build_wrksrc="build"
 build_style=gnu-configure
@@ -71,7 +71,8 @@ makedepends="cairo-devel freetype-devel gd-devel graphite-devel gmp-devel
  harfbuzz-devel icu-devel libpaper-devel libpng-devel mpfr-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"
+depends="dialog ghostscript perl-Tk texlive-core xbps-triggers>=0.115_1
+ texlive-tlpdb"
 short_desc="TeX Live"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="GPL-2.0-or-later"

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

end of thread, other threads:[~2021-01-08 17:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04 11:03 [PR PATCH] texlive: fix tlmgr fosslinux
2021-01-04 11:14 ` texlive: fix tlmgr. [ci skip] fosslinux
2021-01-04 11:16 ` [PR PATCH] [Updated] texlive: fix tlmgr fosslinux
2021-01-04 12:48 ` ericonr
2021-01-04 21:23 ` fosslinux
2021-01-04 21:51 ` ericonr
2021-01-05  8:12 ` [PR PATCH] [Updated] " fosslinux
2021-01-05  8:13 ` fosslinux
2021-01-06  4:34 ` ericonr
2021-01-06  4:57 ` [PR REVIEW] " ericonr
2021-01-06  8:38 ` [PR PATCH] [Updated] " fosslinux
2021-01-08 17:35 ` [PR PATCH] [Merged]: " ericonr

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