Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libtool: fix autoconf mismatch
@ 2022-12-18 10:02 sgn
  2022-12-18 15:14 ` [PR PATCH] [Updated] " sgn
  2022-12-18 16:01 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: sgn @ 2022-12-18 10:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages libtool-fix
https://github.com/void-linux/void-packages/pull/41160

libtool: fix autoconf mismatch
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libtool-fix-41160.patch --]
[-- Type: text/x-diff, Size: 3511 bytes --]

From ad97b8719a35ca7e1daab59ee8eff42c39938f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sun, 18 Dec 2022 17:00:48 +0700
Subject: [PATCH 1/2] libtool: fix autoconf mismatch

---
 srcpkgs/libtool/template | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template
index aebad9294eef..769220f2243f 100644
--- a/srcpkgs/libtool/template
+++ b/srcpkgs/libtool/template
@@ -1,9 +1,9 @@
 # Template file for 'libtool'
 pkgname=libtool
 version=2.4.7
-revision=2
+revision=3
 build_style=gnu-configure
-hostmakedepends="texinfo perl automake help2man xz"
+hostmakedepends="texinfo perl automake help2man xz gnulib"
 depends="tar sed"
 short_desc="Generic library support script"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -17,9 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	configure_args="lt_cv_shlibpath_overrides_runpath=yes"
 fi
 
+post_extract() {
+	chmod -R +rw .
+}
+
 pre_configure() {
-	touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in
-	./bootstrap --force
+	# touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in
+	./bootstrap --force --no-git --skip-po \
+		--gnulib-srcdir=/usr/share/gnulib/ --copy
 }
 
 post_install() {

From 8691b85a5dcc30ff0a68cab592d522fe94b3b085 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sun, 18 Dec 2022 17:01:14 +0700
Subject: [PATCH 2/2] New package: gnulib-20220829~828413b

---
 srcpkgs/git-merge-changelog |  1 +
 srcpkgs/gnulib/template     | 51 +++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 120000 srcpkgs/git-merge-changelog
 create mode 100644 srcpkgs/gnulib/template

diff --git a/srcpkgs/git-merge-changelog b/srcpkgs/git-merge-changelog
new file mode 120000
index 000000000000..acfd814db2ff
--- /dev/null
+++ b/srcpkgs/git-merge-changelog
@@ -0,0 +1 @@
+gnulib
\ No newline at end of file
diff --git a/srcpkgs/gnulib/template b/srcpkgs/gnulib/template
new file mode 100644
index 000000000000..68bae03db4d4
--- /dev/null
+++ b/srcpkgs/gnulib/template
@@ -0,0 +1,51 @@
+# Template file for 'gnulib'
+pkgname=gnulib
+version=20220829~828413b
+revision=1
+create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake"
+makedepends=""
+depends=""
+short_desc="Gnulib - The GNU Portability Library"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://www.gnu.org/software/gnulib/"
+distfiles="${DEBIAN_SITE}/main/g/gnulib/gnulib_${version}.orig.tar.gz"
+checksum=8bf9ac42ebc7d6ec1afc9d50bfe823a212b06f0d40e738b0e9e468be60a858fe
+
+post_extract() {
+	mv gnulib-* gnulib
+	chmod -R +w gnulib
+	chmod -R a+r gnulib
+	chmod 0755 gnulib/build-aux/config.guess
+}
+
+do_configure() {
+	rm -rf build
+	./gnulib/gnulib-tool --create-testdir --with-tests -S \
+		--dir=build git-merge-changelog
+	cd build
+	./configure ${configure_args}
+}
+
+do_build() {
+	make -C build ${makejobs}
+}
+
+do_install() {
+	vmkdir usr/share
+	vcopy gnulib /usr/share
+}
+
+git-merge-changelog_package() {
+	short_desc="Tool for merging changelog with git"
+	pkg_install() {
+		vbin build/gllib/git-merge-changelog
+	}
+}

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

* Re: [PR PATCH] [Updated] libtool: fix autoconf mismatch
  2022-12-18 10:02 [PR PATCH] libtool: fix autoconf mismatch sgn
@ 2022-12-18 15:14 ` sgn
  2022-12-18 16:01 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-12-18 15:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages libtool-fix
https://github.com/void-linux/void-packages/pull/41160

libtool: fix autoconf mismatch
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libtool-fix-41160.patch --]
[-- Type: text/x-diff, Size: 3387 bytes --]

From b350e3ea79163831d7ed680fb20ba95ae57a5d7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sun, 18 Dec 2022 17:01:14 +0700
Subject: [PATCH 1/2] New package: gnulib-20220829~828413b

---
 srcpkgs/git-merge-changelog |  1 +
 srcpkgs/gnulib/template     | 43 +++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/git-merge-changelog
 create mode 100644 srcpkgs/gnulib/template

diff --git a/srcpkgs/git-merge-changelog b/srcpkgs/git-merge-changelog
new file mode 120000
index 000000000000..acfd814db2ff
--- /dev/null
+++ b/srcpkgs/git-merge-changelog
@@ -0,0 +1 @@
+gnulib
\ No newline at end of file
diff --git a/srcpkgs/gnulib/template b/srcpkgs/gnulib/template
new file mode 100644
index 000000000000..da256f2adf09
--- /dev/null
+++ b/srcpkgs/gnulib/template
@@ -0,0 +1,43 @@
+# Template file for 'gnulib'
+pkgname=gnulib
+version=20220829~828413b
+revision=1
+create_wrksrc=yes
+build_style=gnu-configure
+hostmakedepends="automake"
+short_desc="Gnulib - The GNU Portability Library"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="LGPL-2.1-or-later, GPL-2.0-or-later, FSFULLR"
+homepage="https://www.gnu.org/software/gnulib/"
+distfiles="${DEBIAN_SITE}/main/g/gnulib/gnulib_${version}.orig.tar.gz"
+checksum=8bf9ac42ebc7d6ec1afc9d50bfe823a212b06f0d40e738b0e9e468be60a858fe
+
+post_extract() {
+	mv gnulib-* gnulib
+	chmod -R +w gnulib
+	chmod -R a+r gnulib
+}
+
+do_configure() {
+	rm -rf build
+	./gnulib/gnulib-tool --create-testdir --with-tests -S \
+		--dir=build git-merge-changelog
+	cd build
+	./configure ${configure_args}
+}
+
+do_build() {
+	make -C build ${makejobs}
+}
+
+do_install() {
+	vmkdir usr/share
+	vcopy gnulib /usr/share
+}
+
+git-merge-changelog_package() {
+	short_desc="GNU-style ChangeLog merge driver"
+	pkg_install() {
+		make -C build DESTDIR=${PKGDESTDIR} install
+	}
+}

From 3f695670da860a73d8d45c00b59eeb9e772e3f34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sun, 18 Dec 2022 17:00:48 +0700
Subject: [PATCH 2/2] libtool: fix autoconf mismatch

---
 srcpkgs/libtool/template | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template
index aebad9294eef..cd7c684c5945 100644
--- a/srcpkgs/libtool/template
+++ b/srcpkgs/libtool/template
@@ -1,10 +1,10 @@
 # Template file for 'libtool'
 pkgname=libtool
 version=2.4.7
-revision=2
+revision=3
 build_style=gnu-configure
-hostmakedepends="texinfo perl automake help2man xz"
-depends="tar sed"
+hostmakedepends="texinfo perl automake help2man xz gnulib tar"
+depends="tar sed grep"
 short_desc="Generic library support script"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later"
@@ -17,9 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	configure_args="lt_cv_shlibpath_overrides_runpath=yes"
 fi
 
-pre_configure() {
-	touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in
-	./bootstrap --force
+post_extract() {
+	chmod -R +rw .
+}
+
+do_configure() {
+	./bootstrap --force --no-git --skip-po \
+		--gnulib-srcdir=/usr/share/gnulib/ --copy
+	./configure ${configure_args} SED=/bin/sed GREP=/bin/grep
 }
 
 post_install() {

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

* Re: [PR PATCH] [Merged]: libtool: fix autoconf mismatch
  2022-12-18 10:02 [PR PATCH] libtool: fix autoconf mismatch sgn
  2022-12-18 15:14 ` [PR PATCH] [Updated] " sgn
@ 2022-12-18 16:01 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-12-18 16:01 UTC (permalink / raw)
  To: ml

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

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

libtool: fix autoconf mismatch
https://github.com/void-linux/void-packages/pull/41160

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2022-12-18 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-18 10:02 [PR PATCH] libtool: fix autoconf mismatch sgn
2022-12-18 15:14 ` [PR PATCH] [Updated] " sgn
2022-12-18 16:01 ` [PR PATCH] [Merged]: " 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).