Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Provide and use 'tex' virtual package
Date: Tue, 14 Jul 2020 07:46:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23559@inbox.vuxu.org> (raw)

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

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

https://github.com/ahesford/void-packages tex-virtual
https://github.com/void-linux/void-packages/pull/23559

Provide and use 'tex' virtual package
The `texlive` virtual package has been renamed `tex` to be more generic and avoid confusion with the new "native" `texlive` package, and `texlive` has been named the default provider for the new virtual.

Every `texlive*-bin` package provides `tex` with a version based on its own (which is the release year); the new `texlive` strips the month and day from its year to similarly provide `tex` with a version by year.

A few texlive dependents that are quick to build have been updated to depend on the new virtual, and I've bumped `python3-pyx` while I was at it.

This is really motivated by `xournalpp`, which is [ready to go](https://github.com/ahesford/void-packages/tree/xournalpp) with the new virtual, but I'm holding back because I want this to run through CI and I'm afraid `xournalpp` will time out.

This will also break `lyx` which currently depends on `virtual?texlive`, but that's also [ready to go](https://github.com/ahesford/void-packages/tree/lyx) with a new version bump. Again, including `lyx` here might overrun Travis time limits.

Seeking comments from @q66 and @fosslinux since they shepherded the new `texlive` as well as @leahneukirchen as `texlive*-bin` maintainer.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tex-virtual-23559.patch --]
[-- Type: text/x-diff, Size: 11866 bytes --]

From 389d48320166a68994456b8ea563be633d9213b1 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:15:06 -0400
Subject: [PATCH 01/11] xbps-src: rename texlive virtual pkg, default to native
 texlive

---
 etc/defaults.virtual | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/defaults.virtual b/etc/defaults.virtual
index e1d7fb2dd2c..083ab6349ea 100644
--- a/etc/defaults.virtual
+++ b/etc/defaults.virtual
@@ -30,7 +30,7 @@ phonon-backend phonon-backend-gstreamer
 phonon-qt5-backend phonon-qt5-backend-gstreamer
 rkt-stage1 rkt-stage1-coreos
 smtp-server opensmtpd
-texlive texlive-bin
+tex texlive
 xserver-abi-input xorg-server
 xserver-abi-video xorg-server
 libGL libglvnd

From 126124c319734a2c05983eb62c17bcf68f5f5b03 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 02/11] texlive2014-bin: provide tex virtual package

---
 srcpkgs/texlive2014-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2014-bin/template b/srcpkgs/texlive2014-bin/template
index c63a58ee7c5..4e5b199b04f 100644
--- a/srcpkgs/texlive2014-bin/template
+++ b/srcpkgs/texlive2014-bin/template
@@ -1,12 +1,13 @@
 # Template file for 'texlive2014-bin'
 pkgname=texlive2014-bin
 version=2014
-revision=8
+revision=9
 archs="x86_64* i686 aarch64 arm*"
 create_wrksrc=yes
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 short_desc="TeX Live Binary distribution through tl-install"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="GPL-2"

From 60a73cc40889398031feb80137d211bcb948f926 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 03/11] texlive2016-bin: provide tex virtual package

---
 srcpkgs/texlive2016-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2016-bin/template b/srcpkgs/texlive2016-bin/template
index 4412561108d..6f2ed09c366 100644
--- a/srcpkgs/texlive2016-bin/template
+++ b/srcpkgs/texlive2016-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive-bin'
 pkgname=texlive2016-bin
 version=2016
-revision=2
+revision=3
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,6 +10,7 @@ short_desc="TeX Live Binary distribution through tl-install"
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
 checksum=a0559306f4ef1903b92c829a11177dcbf3b85ddb9c6b512a80791e2c543f7d95
 create_wrksrc=yes

From 48b029e920c111bc086a642ffde852530b6dbc94 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 04/11] texlive2017-bin: provide tex virtual package

---
 srcpkgs/texlive2017-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2017-bin/template b/srcpkgs/texlive2017-bin/template
index 52f5b1af27d..2dd12a23e45 100644
--- a/srcpkgs/texlive2017-bin/template
+++ b/srcpkgs/texlive2017-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive-bin'
 pkgname=texlive2017-bin
 version=2017
-revision=3
+revision=4
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,6 +10,7 @@ short_desc="TeX Live Binary distribution through tl-install"
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
 checksum=d4e07ed15dace1ea7fabe6d225ca45ba51f1cb7783e17850bc9fe3b890239d6d
 create_wrksrc=yes

From d55dded230830fc2d697d9958cb7960cae5b38c1 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 05/11] texlive2018-bin: provide tex virtual package

---
 srcpkgs/texlive2018-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2018-bin/template b/srcpkgs/texlive2018-bin/template
index a389fc42379..9fec7b8246c 100644
--- a/srcpkgs/texlive2018-bin/template
+++ b/srcpkgs/texlive2018-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive-bin'
 pkgname=texlive2018-bin
 version=2018
-revision=2
+revision=3
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,6 +10,7 @@ short_desc="TeX Live Binary distribution through tl-install"
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
 checksum=82c13110852af162c4c5ef1579fa2f4f51c2040850ec02fb7f97497da45eb446
 create_wrksrc=yes

From 802e2acabf951718e4bd42cbde1a4a33d4759b3f Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 06/11] texlive2019-bin: provide tex virtual package

---
 srcpkgs/texlive2019-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2019-bin/template b/srcpkgs/texlive2019-bin/template
index d7cd1c71664..fc0553b0802 100644
--- a/srcpkgs/texlive2019-bin/template
+++ b/srcpkgs/texlive2019-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive2019-bin'
 pkgname=texlive2019-bin
 version=2019
-revision=2
+revision=3
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,6 +10,7 @@ short_desc="TeX Live Binary distribution through tl-install"
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
 checksum=44aa41b5783e345b7021387f19ac9637ff1ce5406a59754230c666642dfe7750
 create_wrksrc=yes

From 86a3b1430b958eba48f9132569da8ec7e8eba40c Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:13 -0400
Subject: [PATCH 07/11] texlive2020-bin: provide tex virtual package

---
 srcpkgs/texlive2020-bin/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive2020-bin/template b/srcpkgs/texlive2020-bin/template
index ee7f347cc25..94376abd509 100644
--- a/srcpkgs/texlive2020-bin/template
+++ b/srcpkgs/texlive2020-bin/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive-bin'
 pkgname=texlive2020-bin
 version=2020
-revision=1
+revision=2
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,6 +10,7 @@ short_desc="TeX Live Binary distribution through tl-install"
 depends="cairo pixman graphite gd poppler libsigsegv
  zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
  ghostscript xz"
+provides="tex-${version}_1"
 distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
 checksum=7c90a50e55533d57170cbc7c0370a010019946eb18570282948e1af6f809382d
 create_wrksrc=yes

From befb6e08189f4167e4f0e17d22f0bc12acfdc484 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:17:43 -0400
Subject: [PATCH 08/11] texlive: provide tex virtual package

---
 srcpkgs/texlive/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template
index 8aa8208d733..27a2b7a9d8a 100644
--- a/srcpkgs/texlive/template
+++ b/srcpkgs/texlive/template
@@ -1,7 +1,7 @@
 # Template file for 'texlive'
 pkgname=texlive
 version=20200406
-revision=1
+revision=2
 wrksrc="texlive-${version}-source"
 build_wrksrc="build"
 build_style=gnu-configure
@@ -72,6 +72,8 @@ 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"

From c2b05407128ed5518b41149119b10284a45ebdcd Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:18:13 -0400
Subject: [PATCH 09/11] python-pyx: depend on tex virtual package

---
 srcpkgs/python-pyx/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python-pyx/template b/srcpkgs/python-pyx/template
index ce3aeebe130..1ece52764ab 100644
--- a/srcpkgs/python-pyx/template
+++ b/srcpkgs/python-pyx/template
@@ -1,13 +1,13 @@
 # Template file for 'python-pyx'
 pkgname=python-pyx
 version=0.12.1
-revision=3
+revision=4
 archs=noarch
 wrksrc="PyX-${version}"
 build_style=python2-module
 pycompile_module="pyx"
 hostmakedepends="python-setuptools"
-depends="python texlive-bin"
+depends="python virtual?tex"
 short_desc="Python library for the creation of PostScript and PDF files"
 maintainer="cipr3s <cipr3s@gmx.com>"
 license="GPL-2.0-or-later"

From f488069b65b1b8b84d7a2c29692c2de750e7e02f Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:19:02 -0400
Subject: [PATCH 10/11] python3-pyx: update to 0.15.

---
 srcpkgs/python3-pyx/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-pyx/template b/srcpkgs/python3-pyx/template
index 89963bed89f..f8de127e420 100644
--- a/srcpkgs/python3-pyx/template
+++ b/srcpkgs/python3-pyx/template
@@ -1,16 +1,15 @@
 # Template file for 'python3-pyx'
 pkgname=python3-pyx
-version=0.14.1
-revision=2
+version=0.15
+revision=1
 archs=noarch
 wrksrc="PyX-${version}"
 build_style=python3-module
-pycompile_module="pyx"
 hostmakedepends="python3-setuptools"
-depends="python3 texlive-bin"
+depends="python3 virtual?tex"
 short_desc="Python3 library for the creation of PostScript and PDF files"
 maintainer="cipr3s <cipr3s@gmx.com>"
-license="GPL-2"
-homepage="http://pyx.sourceforge.net"
+license="GPL-2.0-or-later"
+homepage="https://pyx-project.org"
 distfiles="${PYPI_SITE}/P/PyX/PyX-${version}.tar.gz"
-checksum=05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912
+checksum=0fc3b00c5e7fb6f4aefbf63b95f624297dde47700a82b8b5ad6ebb346b5e4977

From e565fdf5a22929e429e59afdbcb6dfa973d66e51 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 14 Jul 2020 00:18:28 -0400
Subject: [PATCH 11/11] rubber: depend on tex virtual package

---
 srcpkgs/rubber/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/rubber/template b/srcpkgs/rubber/template
index c7fe4cbbd06..de6652231aa 100644
--- a/srcpkgs/rubber/template
+++ b/srcpkgs/rubber/template
@@ -1,11 +1,11 @@
 # Template file for 'rubber'
 pkgname=rubber
 version=1.5.1
-revision=2
+revision=3
 archs=noarch
 build_style=python3-module
 hostmakedepends="python3"
-depends="python3 texlive-bin"
+depends="python3 virtual?tex"
 pycompile_module="rubber"
 short_desc="LaTeX building tool"
 maintainer="Matteo Signer <matteo.signer@gmail.com>"

             reply	other threads:[~2020-07-14  5:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14  5:46 ahesford [this message]
2020-07-14  7:22 ` fosslinux
2020-07-14 17:54 ` [PR PATCH] [Updated] " ahesford
2020-07-14 17:59 ` ahesford
2020-07-14 19:54 ` [PR PATCH] [Merged]: " ahesford
2020-07-14 22:51 ` fosslinux

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23559@inbox.vuxu.org \
    --to=ahesford@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).