Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] texlive2020-bin: move provides to metapackage
@ 2020-07-15 16:32 Chocimier
  2020-07-15 17:28 ` ahesford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chocimier @ 2020-07-15 16:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Chocimier/void-packages-org texlive-bin
https://github.com/void-linux/void-packages/pull/23590

texlive2020-bin: move provides to metapackage


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

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

From b5064f85ddbb5c2dd12abc533ed9c9cbe690c945 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Wed, 15 Jul 2020 18:31:20 +0200
Subject: [PATCH 1/2] texlive-bin: move provides to metapackage

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

diff --git a/srcpkgs/texlive-bin/template b/srcpkgs/texlive-bin/template
index 9d8f677ef4b..bd3a6e688c2 100644
--- a/srcpkgs/texlive-bin/template
+++ b/srcpkgs/texlive-bin/template
@@ -1,12 +1,15 @@
 # Template file for 'texlive-bin'
 pkgname=texlive-bin
 version=2020
-revision=2
+revision=3
 depends="texlive${version}-bin"
 short_desc="TeX Live Binary distribution through tl-install (newest version)"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="GPL-2.0-or-later"
 homepage="http://tug.org/texlive/"
+# Newest texliveYYYY-bin shouldn't provide tex.
+# This way updates will be pulled by packages depending on virtual.
+provides="tex-${version}_1"
 
 case "$XBPS_TARGET_MACHINE" in
 	i686) _tlarch=i386-linux;;

From 8b86daac1065b79f4cfc4f40333c2c534d902fa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Wed, 15 Jul 2020 18:31:20 +0200
Subject: [PATCH 2/2] texlive2020-bin: move provides to metapackage

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

diff --git a/srcpkgs/texlive2020-bin/template b/srcpkgs/texlive2020-bin/template
index 94376abd509..f6684c6122e 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=2
+revision=3
 archs="x86_64* i686 aarch64 arm*"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 homepage="http://tug.org/texlive/"
@@ -10,7 +10,6 @@ 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

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

* Re: texlive2020-bin: move provides to metapackage
  2020-07-15 16:32 [PR PATCH] texlive2020-bin: move provides to metapackage Chocimier
@ 2020-07-15 17:28 ` ahesford
  2020-07-15 18:06 ` Chocimier
  2020-07-15 18:28 ` [PR PATCH] [Merged]: " Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2020-07-15 17:28 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/23590#issuecomment-658900116

Comment:
I don't have a problem with this, but have two questions:
1. Should the `provides` be stripped from old `texliveYYYY-bin` packages as well, or leave them in case somebody wants to manually install an old version but still satisfy virtual deps?
2. Is there harm in both `texlive-bin` and `texliveYYYY-bin` providing the virtual?

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

* Re: texlive2020-bin: move provides to metapackage
  2020-07-15 16:32 [PR PATCH] texlive2020-bin: move provides to metapackage Chocimier
  2020-07-15 17:28 ` ahesford
@ 2020-07-15 18:06 ` Chocimier
  2020-07-15 18:28 ` [PR PATCH] [Merged]: " Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: Chocimier @ 2020-07-15 18:06 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/23590#issuecomment-658918655

Comment:
1. Old texliveYYYY-bin can stay providing tex, for this reason or for delaying update to newest.
2. It is practically unspecified which provider xbps will preserve and which remove on `xbps-remove -o` when two exist, so both providing does not help here.

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

* Re: [PR PATCH] [Merged]: texlive2020-bin: move provides to metapackage
  2020-07-15 16:32 [PR PATCH] texlive2020-bin: move provides to metapackage Chocimier
  2020-07-15 17:28 ` ahesford
  2020-07-15 18:06 ` Chocimier
@ 2020-07-15 18:28 ` Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: Chocimier @ 2020-07-15 18:28 UTC (permalink / raw)
  To: ml

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

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

texlive2020-bin: move provides to metapackage
https://github.com/void-linux/void-packages/pull/23590

Description:


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

end of thread, other threads:[~2020-07-15 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 16:32 [PR PATCH] texlive2020-bin: move provides to metapackage Chocimier
2020-07-15 17:28 ` ahesford
2020-07-15 18:06 ` Chocimier
2020-07-15 18:28 ` [PR PATCH] [Merged]: " Chocimier

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