Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New package: binutils-doc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11884@inbox.vuxu.org>
@ 2019-05-30 17:41 ` voidlinux-github
  2019-05-31 14:36 ` [PR PATCH] [Closed]: " voidlinux-github
  1 sibling, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-05-30 17:41 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by sirikid against master on the void-packages repository

https://github.com/sirikid/void-packages binutils-doc
https://github.com/void-linux/void-packages/pull/11884

New package: binutils-doc
Move the documentation to a separate package so that native binutils and cross ones can share it.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-binutils-doc-11884.patch --]
[-- Type: application/text/x-diff, Size: 3339 bytes --]

From b05dbd96e01b0a0eecf5f9f940d874cf88d1e6d3 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Wed, 22 May 2019 23:25:06 +0300
Subject: [PATCH 1/3] New package: bintuils-doc-2.32

---
 srcpkgs/binutils-doc      |  1 +
 srcpkgs/binutils/template | 12 ++++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)
 create mode 120000 srcpkgs/binutils-doc

diff --git a/srcpkgs/binutils-doc b/srcpkgs/binutils-doc
new file mode 120000
index 00000000000..695eb82eae6
--- /dev/null
+++ b/srcpkgs/binutils-doc
@@ -0,0 +1 @@
+binutils
\ No newline at end of file
diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 2ebd7c5d9a2..5a156c4c4c9 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -96,8 +96,6 @@ do_install() {
 	echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" \
 		>${DESTDIR}/usr/lib/libopcodes.so
 
-	# Remove info file that conflicts with autoconf.
-	rm -f ${DESTDIR}/usr/share/info/standards.info
 	rm -f ${DESTDIR}/usr/lib64
 
 	# Remove useless manpages.
@@ -119,3 +117,13 @@ binutils-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+binutils-doc_package() {
+	archs=noarch
+	short_desc+=" - info files"
+	pkg_install() {
+		vmove usr/share/info
+		# Remove info file that conflicts with autoconf.
+		rm -f ${PKGDESTDIR}/usr/share/info/standards.info
+	}
+}

From 0878aba1719f243ae09a8c60053cf5f3d49aa5d1 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Wed, 22 May 2019 23:28:15 +0300
Subject: [PATCH 2/3] cross-arm-none-eabi-binutils: add dependency on
 documentation

---
 srcpkgs/cross-arm-none-eabi-binutils/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/cross-arm-none-eabi-binutils/template b/srcpkgs/cross-arm-none-eabi-binutils/template
index 3bee321d7c8..fd106a2c40a 100644
--- a/srcpkgs/cross-arm-none-eabi-binutils/template
+++ b/srcpkgs/cross-arm-none-eabi-binutils/template
@@ -3,7 +3,7 @@ _triplet=arm-none-eabi
 _pkgname=binutils
 pkgname=cross-${_triplet}-${_pkgname}
 version=2.32
-revision=1
+revision=2
 wrksrc="${_pkgname}-${version}"
 build_style=gnu-configure
 configure_args="
@@ -24,6 +24,7 @@ configure_args="
 "
 hostmakedepends="autoconf automake bison flex perl"
 makedepends="zlib-devel"
+depends="binutils-doc"
 short_desc="GNU binary utilities"
 maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
 license="GPL-3.0-or-later"

From ef51cba584cdbfe88139bf62aa0a0d1c03da5318 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Thu, 23 May 2019 03:36:53 +0300
Subject: [PATCH 3/3] binutils: add dependency on documentation

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

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 5a156c4c4c9..2607ab5f817 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.32
-revision=2
+revision=3
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Juan RP <xtraeme@voidlinux.org>"
@@ -13,6 +13,7 @@ checksum=0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="flex perl"
 	checkdepends="bc"
+	depends="binutils-doc"
 else
 	unset XBPS_CHECK_PKGS
 	XBPS_TRIPLET=x86_64-unknown-linux-gnu

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

* Re: [PR PATCH] [Closed]: New package: binutils-doc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11884@inbox.vuxu.org>
  2019-05-30 17:41 ` [PR PATCH] [Updated] New package: binutils-doc voidlinux-github
@ 2019-05-31 14:36 ` voidlinux-github
  1 sibling, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-05-31 14:36 UTC (permalink / raw)
  To: ml

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

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

New package: binutils-doc
https://github.com/void-linux/void-packages/pull/11884
Description: Move the documentation to a separate package so that native binutils and cross ones can share it.

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

end of thread, other threads:[~2019-05-31 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11884@inbox.vuxu.org>
2019-05-30 17:41 ` [PR PATCH] [Updated] New package: binutils-doc voidlinux-github
2019-05-31 14:36 ` [PR PATCH] [Closed]: " voidlinux-github

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