Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pkgconf: update to 1.8.0, split -devel and libpkgconf.
@ 2021-08-17 20:03 ericonr
  2021-08-18 18:50 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: ericonr @ 2021-08-17 20:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages pkgconf
https://github.com/void-linux/void-packages/pull/32553

pkgconf: update to 1.8.0, split -devel and libpkgconf.
We used to ship a static library in the main package, which was
accidental. We now ship it in pkgconf-devel package.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/32553.patch is attached

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

From 0859f71733df451c54f5f437bfa0b41700a8af5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Tue, 17 Aug 2021 17:02:18 -0300
Subject: [PATCH] pkgconf: update to 1.8.0, split -devel and libpkgconf.

We used to ship a static library in the main package, which was
accidental. We now ship it in pkgconf-devel package.
---
 common/shlibs            |  1 +
 srcpkgs/libpkgconf       |  1 +
 srcpkgs/pkgconf-devel    |  1 +
 srcpkgs/pkgconf/template | 25 ++++++++++++++++++++-----
 4 files changed, 23 insertions(+), 5 deletions(-)
 create mode 120000 srcpkgs/libpkgconf
 create mode 120000 srcpkgs/pkgconf-devel

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..47ea002f4fd6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3563,6 +3563,7 @@ libgaminggear.so.0 libgaminggear-0.15.1_1
 libgaminggearfx.so.0 libgaminggear-0.15.1_1
 libgaminggearwidget.so.0 libgaminggear-0.15.1_1
 libopkg.so.1 libopkg-0.4.4_2
+libpkgconf.so.3 libpkgconf-1.8.0_1
 libkodiplatform.so.19.0 kodi-platform-20180302_1
 libQuotient.so.0.6 libQuotient-0.6.6_1
 libipset.so.13 libipset-7.9_1
diff --git a/srcpkgs/libpkgconf b/srcpkgs/libpkgconf
new file mode 120000
index 000000000000..243cd47f2e6f
--- /dev/null
+++ b/srcpkgs/libpkgconf
@@ -0,0 +1 @@
+pkgconf
\ No newline at end of file
diff --git a/srcpkgs/pkgconf-devel b/srcpkgs/pkgconf-devel
new file mode 120000
index 000000000000..243cd47f2e6f
--- /dev/null
+++ b/srcpkgs/pkgconf-devel
@@ -0,0 +1 @@
+pkgconf
\ No newline at end of file
diff --git a/srcpkgs/pkgconf/template b/srcpkgs/pkgconf/template
index e8acc8b1b9e4..dc020f562003 100644
--- a/srcpkgs/pkgconf/template
+++ b/srcpkgs/pkgconf/template
@@ -1,10 +1,9 @@
 # Template file for 'pkgconf'
 pkgname=pkgconf
-version=1.7.4
+version=1.8.0
 revision=1
 bootstrap=yes
 build_style=gnu-configure # cmake and meson also available
-configure_args="--disable-shared --disable-static"
 checkdepends="kyua"
 short_desc="Provides compiler and linker configuration"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -12,7 +11,7 @@ license="MIT"
 homepage="http://pkgconf.org/"
 changelog="https://raw.githubusercontent.com/pkgconf/pkgconf/master/NEWS"
 distfiles="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz"
-checksum=d73f32c248a4591139a6b17777c80d4deab6b414ec2b3d21d0a24be348c476ab
+checksum=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf
 
 alternatives="
  pkg-config:pkg-config:/usr/bin/pkgconf
@@ -22,8 +21,24 @@ alternatives="
 post_install() {
 	vlicense COPYING
 
-	rm -rf $DESTDIR/usr/include
-
 	# Suffix file that conflicts with pkg-config
 	mv ${DESTDIR}/usr/share/aclocal/pkg.m4{,.pkgconf}
 }
+
+libpkgconf_package() {
+	short_desc+=" - runtime library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+pkgconf-devel_package() {
+	depends="libpkgconf>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

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

* Re: [PR PATCH] [Merged]: pkgconf: update to 1.8.0, split -devel and libpkgconf.
  2021-08-17 20:03 [PR PATCH] pkgconf: update to 1.8.0, split -devel and libpkgconf ericonr
@ 2021-08-18 18:50 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-08-18 18:50 UTC (permalink / raw)
  To: ml

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

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

pkgconf: update to 1.8.0, split -devel and libpkgconf.
https://github.com/void-linux/void-packages/pull/32553

Description:
We used to ship a static library in the main package, which was
accidental. We now ship it in pkgconf-devel package.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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] 2+ messages in thread

end of thread, other threads:[~2021-08-18 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 20:03 [PR PATCH] pkgconf: update to 1.8.0, split -devel and libpkgconf ericonr
2021-08-18 18:50 ` [PR PATCH] [Merged]: " ericonr

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