Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] texlive2022-bin: install infraonly by default, tweak INSTALL.msg.
@ 2022-04-16 12:04 leahneukirchen
  2022-04-16 12:05 ` leahneukirchen
  2022-04-19 15:03 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: leahneukirchen @ 2022-04-16 12:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/leahneukirchen/void-packages texlive-infraonly
https://github.com/void-linux/void-packages/pull/36721

texlive2022-bin: install infraonly by default, tweak INSTALL.msg.
This avoids having a long installation time during XBPS run, and allows people to install what they really need.

#### Testing the changes
- I tested the changes in this PR: **YES**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-infraonly-36721.patch --]
[-- Type: text/x-diff, Size: 3187 bytes --]

From 01cee8d48b49f5e2d28343a954b4713acb174c7a Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Sat, 16 Apr 2022 14:02:47 +0200
Subject: [PATCH] texlive2022-bin: install infraonly by default, tweak
 INSTALL.msg.

---
 srcpkgs/texlive2022-bin/INSTALL.msg | 18 +++++-------------
 srcpkgs/texlive2022-bin/template    | 11 +++++++----
 2 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/srcpkgs/texlive2022-bin/INSTALL.msg b/srcpkgs/texlive2022-bin/INSTALL.msg
index 05a58d965c72..1ccb0429afc2 100644
--- a/srcpkgs/texlive2022-bin/INSTALL.msg
+++ b/srcpkgs/texlive2022-bin/INSTALL.msg
@@ -1,11 +1,4 @@
-- TeXLive is free software see the files:
-
-  /usr/share/licenses/texlive2022-bin/LICENSE.TL
-  /usr/share/licenses/texlive2022-bin/LICENSE.CTAN
-
-=====================================================================
-
-  To update you TeXLive installation use only the program 
+  To update your TeX Live installation use only the program 
 
   /opt/texlive/2022/bin/<arch>/tlmgr
 
@@ -13,13 +6,12 @@
     - x86_64-linux  ==> x86_64 architecture
     - i386-linux    ==> i386 architecture
 
-  see:
-
+  for details see:
   http://www.tug.org/texlive/doc/tlmgr.html#EXAMPLES
-  
-  for the details and the documentation in 
     		 		 
-  WARNING: To avoid messing up your TeXLive installation, DON'T use
+  WARNING: To avoid messing up your TeX Live installation, DON'T use
   the installation scripts in /opt/texlive-installer.
 
+  This package only installs TeX Live infrastructure now, not TeX Live itself.
+  For a basic installation (previous default), run "tlmgr install scheme-basic".
   For a full installation, run "tlmgr install scheme-full".
diff --git a/srcpkgs/texlive2022-bin/template b/srcpkgs/texlive2022-bin/template
index 902d4dc245d7..679a1e4e4bdd 100644
--- a/srcpkgs/texlive2022-bin/template
+++ b/srcpkgs/texlive2022-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive2022-bin'
 pkgname=texlive2022-bin
 version=2022
-revision=1
+revision=2
 archs="x86_64* i686 aarch64 arm*"
 create_wrksrc=yes
 depends="cairo pixman graphite gd poppler libsigsegv
@@ -15,8 +15,9 @@ distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>$
 checksum=e67edec49df6b7c4a987a7d5a9b31bcf41258220f9ac841c7a836080cd334fb5
 
 # Package build options
-build_options="basic small medium full"
-build_options_default="small"
+build_options="infraonly basic small medium full"
+build_options_default="infraonly"
+desc_option_infraonly="Install TeXLive infrastructure only"
 desc_option_basic="Install TeXLive using scheme-basic"
 desc_option_small="Install TeXLive using scheme-small"
 desc_option_medium="Install TeXLive using scheme-medium"
@@ -31,7 +32,9 @@ do_install() {
 	vmkdir opt/texlive${version}-installer
 	vcopy "install-tl-*/*" /opt/texlive${version}-installer
 	vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer
-	if [ "$build_option_basic" ]; then
+	if [ "$build_option_infraonly" ]; then
+		echo "selected_scheme scheme-infraonly"
+	elif [ "$build_option_basic" ]; then
 		echo "selected_scheme scheme-basic"
 	elif [ "$build_option_small" ]; then
 		echo "selected_scheme scheme-small"

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

* Re: texlive2022-bin: install infraonly by default, tweak INSTALL.msg.
  2022-04-16 12:04 [PR PATCH] texlive2022-bin: install infraonly by default, tweak INSTALL.msg leahneukirchen
@ 2022-04-16 12:05 ` leahneukirchen
  2022-04-19 15:03 ` [PR PATCH] [Merged]: " leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2022-04-16 12:05 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/36721#issuecomment-1100649511

Comment:
Closes #33048.

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

* Re: [PR PATCH] [Merged]: texlive2022-bin: install infraonly by default, tweak INSTALL.msg.
  2022-04-16 12:04 [PR PATCH] texlive2022-bin: install infraonly by default, tweak INSTALL.msg leahneukirchen
  2022-04-16 12:05 ` leahneukirchen
@ 2022-04-19 15:03 ` leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2022-04-19 15:03 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

texlive2022-bin: install infraonly by default, tweak INSTALL.msg.
https://github.com/void-linux/void-packages/pull/36721

Description:
This avoids having a long installation time during XBPS run, and allows people to install what they really need.

#### Testing the changes
- I tested the changes in this PR: **YES**


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

end of thread, other threads:[~2022-04-19 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-16 12:04 [PR PATCH] texlive2022-bin: install infraonly by default, tweak INSTALL.msg leahneukirchen
2022-04-16 12:05 ` leahneukirchen
2022-04-19 15:03 ` [PR PATCH] [Merged]: " leahneukirchen

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