Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bzip2-devel: add pkgconfig file
@ 2022-11-11 13:22 tranzystorek-io
  2022-11-15 11:41 ` 0x5c
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-11-11 13:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages bzip2-pkgconfig
https://github.com/void-linux/void-packages/pull/40468

bzip2-devel: add pkgconfig file
<!-- Uncomment relevant sections and delete options which are not applicable -->

Adapted from [Arch Linux](https://github.com/archlinux/svntogit-packages/commit/e2cc08098f31fc7110131782626d22939731b7d5)

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

<!--
#### 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/40468.patch is attached

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

From 6a71efe518a2f8f0ec46c551bc1768a2570db769 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 11 Nov 2022 14:10:25 +0100
Subject: [PATCH] bzip2-devel: add pkgconfig file

---
 srcpkgs/bzip2/files/bzip2.pc | 11 +++++++++++
 srcpkgs/bzip2/template       |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/bzip2/files/bzip2.pc

diff --git a/srcpkgs/bzip2/files/bzip2.pc b/srcpkgs/bzip2/files/bzip2.pc
new file mode 100644
index 000000000000..a4dd68259cec
--- /dev/null
+++ b/srcpkgs/bzip2/files/bzip2.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=/usr
+bindir=${exec_prefix}/bin
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: bzip2
+Description: A file compression library
+Version: @VERSION@
+Libs: -L${libdir} -lbz2
+Cflags: -I${includedir}
diff --git a/srcpkgs/bzip2/template b/srcpkgs/bzip2/template
index c39a9427efb1..05a68132b828 100644
--- a/srcpkgs/bzip2/template
+++ b/srcpkgs/bzip2/template
@@ -1,7 +1,7 @@
 # Template file for 'bzip2'
 pkgname=bzip2
 version=1.0.8
-revision=1
+revision=2
 bootstrap=yes
 short_desc="Freely available, patent free, high-quality data compressor"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -35,6 +35,9 @@ do_install() {
 	vinstall libbz2.a 644 usr/lib
 	vinstall bzlib.h 644 usr/include
 
+	vinstall "${FILESDIR}/bzip2.pc" 644 usr/lib/pkgconfig
+	vsed -i "s/@VERSION@/${version}/" "${DESTDIR}/usr/lib/pkgconfig/bzip2.pc"
+
 	vman bzip2.1
 	ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bunzip2.1
 	ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bzcat.1
@@ -46,6 +49,7 @@ bzip2-devel_package() {
 	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] 7+ messages in thread

* Re: bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
@ 2022-11-15 11:41 ` 0x5c
  2022-11-15 11:42 ` 0x5c
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: 0x5c @ 2022-11-15 11:41 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/40468#issuecomment-1315191348

Comment:
I've recently had a package categorically reject the possibility of using bzip2 without the presence of a pkg-config file for it, and resorting to use their own bundled bzip2.

Too many distros already ship that .pc file or a variant of it; more and more packages are going to depend on it existing.

Debian is another distro that ships it. 

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

* Re: bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
  2022-11-15 11:41 ` 0x5c
@ 2022-11-15 11:42 ` 0x5c
  2023-02-14  2:02 ` github-actions
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: 0x5c @ 2022-11-15 11:42 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/40468#issuecomment-1315191348

Comment:
I've recently had a package categorically reject the possibility of using system bzip2 without the presence of a pkg-config file for it, and resorting to use their own bundled bzip2.

Too many distros already ship that .pc file or a variant of it; more and more packages are going to depend on it existing.

Debian is another distro that ships it. 

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

* Re: bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
  2022-11-15 11:41 ` 0x5c
  2022-11-15 11:42 ` 0x5c
@ 2023-02-14  2:02 ` github-actions
  2023-02-26 19:43 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-02-14  2:02 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/40468#issuecomment-1428997534

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
                   ` (2 preceding siblings ...)
  2023-02-14  2:02 ` github-actions
@ 2023-02-26 19:43 ` tranzystorek-io
  2023-05-29  1:57 ` github-actions
  2023-05-29  8:36 ` [PR PATCH] [Merged]: " the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-02-26 19:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages bzip2-pkgconfig
https://github.com/void-linux/void-packages/pull/40468

bzip2-devel: add pkgconfig file
<!-- Uncomment relevant sections and delete options which are not applicable -->

Adapted from [Arch Linux](https://github.com/archlinux/svntogit-packages/commit/e2cc08098f31fc7110131782626d22939731b7d5)

Context: upstream has been unresponsive about requests for pkgconfig files in the past, but Arch and Alpine include their own, at least.
Also, the experimental future development project added the file back in 2019: https://gitlab.com/bzip2/bzip2/-/commit/70ec984159c8263fdd4aac7c4670977aff0fe5b3

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

<!--
#### 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/40468.patch is attached

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

From a5f0a077d04c99e40c53a90eef679e601f6c0e47 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 11 Nov 2022 14:10:25 +0100
Subject: [PATCH] bzip2-devel: add pkgconfig file

---
 srcpkgs/bzip2/files/bzip2.pc | 11 +++++++++++
 srcpkgs/bzip2/template       |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/bzip2/files/bzip2.pc

diff --git a/srcpkgs/bzip2/files/bzip2.pc b/srcpkgs/bzip2/files/bzip2.pc
new file mode 100644
index 000000000000..a4dd68259cec
--- /dev/null
+++ b/srcpkgs/bzip2/files/bzip2.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=/usr
+bindir=${exec_prefix}/bin
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: bzip2
+Description: A file compression library
+Version: @VERSION@
+Libs: -L${libdir} -lbz2
+Cflags: -I${includedir}
diff --git a/srcpkgs/bzip2/template b/srcpkgs/bzip2/template
index c39a9427efb1..05a68132b828 100644
--- a/srcpkgs/bzip2/template
+++ b/srcpkgs/bzip2/template
@@ -1,7 +1,7 @@
 # Template file for 'bzip2'
 pkgname=bzip2
 version=1.0.8
-revision=1
+revision=2
 bootstrap=yes
 short_desc="Freely available, patent free, high-quality data compressor"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -35,6 +35,9 @@ do_install() {
 	vinstall libbz2.a 644 usr/lib
 	vinstall bzlib.h 644 usr/include
 
+	vinstall "${FILESDIR}/bzip2.pc" 644 usr/lib/pkgconfig
+	vsed -i "s/@VERSION@/${version}/" "${DESTDIR}/usr/lib/pkgconfig/bzip2.pc"
+
 	vman bzip2.1
 	ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bunzip2.1
 	ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bzcat.1
@@ -46,6 +49,7 @@ bzip2-devel_package() {
 	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] 7+ messages in thread

* Re: bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
                   ` (3 preceding siblings ...)
  2023-02-26 19:43 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2023-05-29  1:57 ` github-actions
  2023-05-29  8:36 ` [PR PATCH] [Merged]: " the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-05-29  1:57 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/40468#issuecomment-1566380388

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Merged]: bzip2-devel: add pkgconfig file
  2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
                   ` (4 preceding siblings ...)
  2023-05-29  1:57 ` github-actions
@ 2023-05-29  8:36 ` the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2023-05-29  8:36 UTC (permalink / raw)
  To: ml

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

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

bzip2-devel: add pkgconfig file
https://github.com/void-linux/void-packages/pull/40468

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

Adapted from [Arch Linux](https://github.com/archlinux/svntogit-packages/commit/e2cc08098f31fc7110131782626d22939731b7d5)

Context: upstream has been unresponsive about requests for pkgconfig files in the past, but Arch and Alpine include their own, at least.
Also, the experimental future development project added the file back in 2019: https://gitlab.com/bzip2/bzip2/-/commit/70ec984159c8263fdd4aac7c4670977aff0fe5b3

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

<!--
#### 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] 7+ messages in thread

end of thread, other threads:[~2023-05-29  8:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 13:22 [PR PATCH] bzip2-devel: add pkgconfig file tranzystorek-io
2022-11-15 11:41 ` 0x5c
2022-11-15 11:42 ` 0x5c
2023-02-14  2:02 ` github-actions
2023-02-26 19:43 ` [PR PATCH] [Updated] " tranzystorek-io
2023-05-29  1:57 ` github-actions
2023-05-29  8:36 ` [PR PATCH] [Merged]: " the-maldridge

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