* [PR PATCH] hexchat: don't remove pkgconfig/headers
@ 2024-05-02 2:50 classabbyamp
2024-05-02 2:54 ` [PR PATCH] [Updated] " classabbyamp
2024-05-02 3:04 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2024-05-02 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages hexchat
https://github.com/void-linux/void-packages/pull/50151
hexchat: don't remove pkgconfig/headers
they're not unnecessary, they're needed for compiling C plugins
#### Testing the changes
- I tested the changes in this PR: **YES**
@0x5c
A patch file from https://github.com/void-linux/void-packages/pull/50151.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hexchat-50151.patch --]
[-- Type: text/x-diff, Size: 1256 bytes --]
From 127f77d85d55769329a15217c704f78678fefe01 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 1 May 2024 22:49:18 -0400
Subject: [PATCH] hexchat: don't remove pkgconfig/headers
---
srcpkgs/hexchat/template | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/hexchat/template b/srcpkgs/hexchat/template
index d20bef5fccf20c..11b9253c4156e2 100644
--- a/srcpkgs/hexchat/template
+++ b/srcpkgs/hexchat/template
@@ -1,7 +1,7 @@
# Template file for 'hexchat'
pkgname=hexchat
version=2.16.2
-revision=2
+revision=3
build_style=meson
configure_args="-Ddbus=enabled -Dtls=enabled
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
@@ -31,12 +31,6 @@ if [ "$CROSS_BUILD" ]; then
shared-mime-info"
fi
-post_install() {
- # Remove useless files.
- rm -rf "${DESTDIR}/usr/include"
- rm -rf "${DESTDIR}/usr/lib/pkgconfig"
-}
-
hexchat-perl_package() {
lib32disabled=yes
short_desc+=" - perl plugin"
@@ -64,3 +58,12 @@ hexchat-lua_package() {
vmove usr/lib/hexchat/plugins/lua.so
}
}
+
+hexchat-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] hexchat: don't remove pkgconfig/headers
2024-05-02 2:50 [PR PATCH] hexchat: don't remove pkgconfig/headers classabbyamp
@ 2024-05-02 2:54 ` classabbyamp
2024-05-02 3:04 ` [PR PATCH] [Merged]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-05-02 2:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages hexchat
https://github.com/void-linux/void-packages/pull/50151
hexchat: don't remove pkgconfig/headers
they're not useless, they're needed for compiling C plugins
#### Testing the changes
- I tested the changes in this PR: **YES**
@0x5c
A patch file from https://github.com/void-linux/void-packages/pull/50151.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hexchat-50151.patch --]
[-- Type: text/x-diff, Size: 1542 bytes --]
From 8ee6316bb308c4b09cc1b62e9c291f15631c3228 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 1 May 2024 22:49:18 -0400
Subject: [PATCH] hexchat: don't remove pkgconfig/headers
---
srcpkgs/hexchat-devel | 1 +
srcpkgs/hexchat/template | 17 ++++++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
create mode 120000 srcpkgs/hexchat-devel
diff --git a/srcpkgs/hexchat-devel b/srcpkgs/hexchat-devel
new file mode 120000
index 00000000000000..6cf68e662f61f1
--- /dev/null
+++ b/srcpkgs/hexchat-devel
@@ -0,0 +1 @@
+hexchat
\ No newline at end of file
diff --git a/srcpkgs/hexchat/template b/srcpkgs/hexchat/template
index d20bef5fccf20c..11b9253c4156e2 100644
--- a/srcpkgs/hexchat/template
+++ b/srcpkgs/hexchat/template
@@ -1,7 +1,7 @@
# Template file for 'hexchat'
pkgname=hexchat
version=2.16.2
-revision=2
+revision=3
build_style=meson
configure_args="-Ddbus=enabled -Dtls=enabled
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
@@ -31,12 +31,6 @@ if [ "$CROSS_BUILD" ]; then
shared-mime-info"
fi
-post_install() {
- # Remove useless files.
- rm -rf "${DESTDIR}/usr/include"
- rm -rf "${DESTDIR}/usr/lib/pkgconfig"
-}
-
hexchat-perl_package() {
lib32disabled=yes
short_desc+=" - perl plugin"
@@ -64,3 +58,12 @@ hexchat-lua_package() {
vmove usr/lib/hexchat/plugins/lua.so
}
}
+
+hexchat-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: hexchat: don't remove pkgconfig/headers
2024-05-02 2:50 [PR PATCH] hexchat: don't remove pkgconfig/headers classabbyamp
2024-05-02 2:54 ` [PR PATCH] [Updated] " classabbyamp
@ 2024-05-02 3:04 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-05-02 3:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
There's a merged pull request on the void-packages repository
hexchat: don't remove pkgconfig/headers
https://github.com/void-linux/void-packages/pull/50151
Description:
they're not useless, they're needed for compiling C plugins
#### Testing the changes
- I tested the changes in this PR: **YES**
@0x5c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-02 3:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 2:50 [PR PATCH] hexchat: don't remove pkgconfig/headers classabbyamp
2024-05-02 2:54 ` [PR PATCH] [Updated] " classabbyamp
2024-05-02 3:04 ` [PR PATCH] [Merged]: " classabbyamp
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).