* [PR PATCH] mosquitto: move headers to devel pkg, fix deps
@ 2024-09-02 14:29 classabbyamp
2024-09-07 11:33 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2024-09-02 14:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages mosquitto-headers
https://github.com/void-linux/void-packages/pull/52082
mosquitto: move headers to devel pkg, fix deps
mqtt_protocol.h was in the main package, not the devel
the C++ devel pkg needs to depend on the C devel pkg because one of its
headers includes mosquitto.h
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/52082.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto-headers-52082.patch --]
[-- Type: text/x-diff, Size: 1606 bytes --]
From 22a660986393780247d99b4cea3572ffc746ea3b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 2 Sep 2024 10:28:14 -0400
Subject: [PATCH] mosquitto: move headers to devel pkg, fix deps
mqtt_protocol.h was in the main package, not the devel
the C++ devel pkg needs to depend on the C devel pkg because one of its
headers includes mosquitto.h
---
srcpkgs/mosquitto/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 1c2195c4b3f735..7dacb07ec3dacc 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
# Template file for 'mosquitto'
pkgname=mosquitto
version=2.0.18
-revision=1
+revision=2
build_style=gnu-makefile
make_build_args="WITH_WEBSOCKETS=yes WITH_BUNDLED_DEPS=no"
make_install_args="prefix=/usr"
@@ -73,6 +73,7 @@ libmosquitto-devel_package() {
short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
depends="libmosquitto-${version}_${revision}"
pkg_install() {
+ vmove usr/include/mqtt_protocol.h
vmove usr/include/mosquitto.h
vmove usr/include/mosquitto_plugin.h
vmove usr/include/mosquitto_broker.h
@@ -91,7 +92,7 @@ libmosquittopp_package() {
libmosquittopp-devel_package() {
short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
- depends="libmosquittopp-${version}_${revision}"
+ depends="libmosquittopp-${version}_${revision} libmosquitto-devel-${version}_${revision}"
pkg_install() {
vmove usr/include/mosquittopp.h
vmove usr/lib/libmosquittopp.so
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: mosquitto: move headers to devel pkg, fix deps
2024-09-02 14:29 [PR PATCH] mosquitto: move headers to devel pkg, fix deps classabbyamp
@ 2024-09-07 11:33 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-09-07 11:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]
There's a merged pull request on the void-packages repository
mosquitto: move headers to devel pkg, fix deps
https://github.com/void-linux/void-packages/pull/52082
Description:
mqtt_protocol.h was in the main package, not the devel
the C++ devel pkg needs to depend on the C devel pkg because one of its
headers includes mosquitto.h
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-07 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 14:29 [PR PATCH] mosquitto: move headers to devel pkg, fix deps classabbyamp
2024-09-07 11:33 ` [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).