Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages
@ 2021-04-10 21:17 paper42
  2021-04-11  6:43 ` ericonr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: paper42 @ 2021-04-10 21:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages remove-wrong-files
https://github.com/void-linux/void-packages/pull/30134

Remove LICENSE, README, CHANGES files from /usr/ in some packages


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-remove-wrong-files-30134.patch --]
[-- Type: text/x-diff, Size: 2858 bytes --]

From bce4c01f2a0b710386092f0da182a0d2906b837a Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 23:10:25 +0200
Subject: [PATCH 1/3] Haru: remove /usr/{INSTALL,README,CHANGES}

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

diff --git a/srcpkgs/Haru/template b/srcpkgs/Haru/template
index c343c70ec5de..010d74a75685 100644
--- a/srcpkgs/Haru/template
+++ b/srcpkgs/Haru/template
@@ -1,7 +1,7 @@
 # Template file for 'Haru'
 pkgname=Haru
 version=2.3.0
-revision=2
+revision=3
 wrksrc="libharu-RELEASE_${version//./_}"
 build_style=cmake
 makedepends="zlib-devel libpng-devel"
@@ -13,6 +13,7 @@ distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.ta
 checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
 
 post_install() {
+	rm ${DESTDIR}/usr/{INSTALL,README,CHANGES}
 	vlicense LICENSE
 }
 

From b1db5bb49526ca02ab69198721a91de69fa4d8ec Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 23:07:46 +0200
Subject: [PATCH 2/3] MultiMarkdown: remove /usr/{LICENSE,README}.txt

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

diff --git a/srcpkgs/MultiMarkdown/template b/srcpkgs/MultiMarkdown/template
index 96d153d87297..75bd1e04e476 100644
--- a/srcpkgs/MultiMarkdown/template
+++ b/srcpkgs/MultiMarkdown/template
@@ -1,7 +1,7 @@
 # Template file for 'MultiMarkdown'
 pkgname=MultiMarkdown
 version=6.6.0
-revision=1
+revision=2
 wrksrc="$pkgname-6-$version"
 build_style=cmake
 hostmakedepends="perl"
@@ -18,5 +18,6 @@ post_install() {
 	mv ${DESTDIR}/usr/bin/markdown ${DESTDIR}/usr/bin/multimarkdown-markdown
 	# Avoid conflict with mtools
 	mv ${DESTDIR}/usr/bin/mmd  ${DESTDIR}/usr/bin/multimarkdown-mmd
+	rm ${DESTDIR}/usr/{LICENSE,README}.txt
 	vlicense LICENSE
 }

From 7d0899149581009715d38f78e0f1e0998036a5dc Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 10 Apr 2021 22:38:33 +0200
Subject: [PATCH 3/3] python3-anytree: remove /usr/LICENSE

---
 srcpkgs/python3-anytree/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python3-anytree/template b/srcpkgs/python3-anytree/template
index e767018e6331..4aa26af7da49 100644
--- a/srcpkgs/python3-anytree/template
+++ b/srcpkgs/python3-anytree/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-anytree'
 pkgname=python3-anytree
 version=2.8.0
-revision=2
+revision=3
 wrksrc="anytree-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,3 +12,7 @@ license="Apache-2.0"
 homepage="https://github.com/c0fec0de/anytree"
 distfiles="${PYPI_SITE}/a/anytree/anytree-${version}.tar.gz"
 checksum=3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab
+
+post_install() {
+	rm ${DESTDIR}/usr/LICENSE
+}

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

* Re: Remove LICENSE, README, CHANGES files from /usr/ in some packages
  2021-04-10 21:17 [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages paper42
@ 2021-04-11  6:43 ` ericonr
  2021-04-11  9:53 ` paper42
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-04-11  6:43 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/30134#issuecomment-817258864

Comment:
Oh, that's ugly. Nice find, though.

We should get a lint for such files :v 

Think any of these should be moved to a `vdoc` or similar? Otherwise LGTM.

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

* Re: Remove LICENSE, README, CHANGES files from /usr/ in some packages
  2021-04-10 21:17 [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages paper42
  2021-04-11  6:43 ` ericonr
@ 2021-04-11  9:53 ` paper42
  2021-04-11 23:53 ` sgn
  2021-04-12  0:50 ` [PR PATCH] [Closed]: " sgn
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2021-04-11  9:53 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/30134#issuecomment-817280425

Comment:
> Think any of these should be moved to a `vdoc` or similar? Otherwise LGTM.

I don't think so, the READMEs are mostly installation instructions and the licenses are installed in the correct locations

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

* Re: Remove LICENSE, README, CHANGES files from /usr/ in some packages
  2021-04-10 21:17 [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages paper42
  2021-04-11  6:43 ` ericonr
  2021-04-11  9:53 ` paper42
@ 2021-04-11 23:53 ` sgn
  2021-04-12  0:50 ` [PR PATCH] [Closed]: " sgn
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2021-04-11 23:53 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/30134#issuecomment-817395571

Comment:
Haru installation is broken, I'm fixing now.

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

* Re: [PR PATCH] [Closed]: Remove LICENSE, README, CHANGES files from /usr/ in some packages
  2021-04-10 21:17 [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages paper42
                   ` (2 preceding siblings ...)
  2021-04-11 23:53 ` sgn
@ 2021-04-12  0:50 ` sgn
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2021-04-12  0:50 UTC (permalink / raw)
  To: ml

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

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

Remove LICENSE, README, CHANGES files from /usr/ in some packages
https://github.com/void-linux/void-packages/pull/30134

Description:


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

end of thread, other threads:[~2021-04-12  0:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 21:17 [PR PATCH] Remove LICENSE, README, CHANGES files from /usr/ in some packages paper42
2021-04-11  6:43 ` ericonr
2021-04-11  9:53 ` paper42
2021-04-11 23:53 ` sgn
2021-04-12  0:50 ` [PR PATCH] [Closed]: " sgn

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