All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto
@ 2020-08-29 13:03 Titouan Christophe
  2020-08-29 17:30 ` Peter Korsgaard
  2020-08-29 17:52 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Titouan Christophe @ 2020-08-29 13:03 UTC (permalink / raw)
  To: buildroot

In 4fc62e1eb6b3adbfc3d3eb7f841275ae8cd1b424, we removed arch/toolchain
dependencies from the mosquitto library (MMU, !STATIC, SYNC4), and moved
them to the mosquitto broker only.

All the packages modified here only need the mosquitto library, so they
shouldn't have those depends anymore; but this was never done before.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
---
 package/collectd/Config.in | 1 -
 package/domoticz/Config.in | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 4f54944cbc..ddf64015bd 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -607,7 +607,6 @@ comment "grpc needs a toolchain w/ C++, gcc >= 4.8"
 
 config BR2_PACKAGE_COLLECTD_MQTT
 	bool "mqtt"
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
 	select BR2_PACKAGE_MOSQUITTO
 	help
 	  Sends metrics to and/or receives metrics from an MQTT broker.
diff --git a/package/domoticz/Config.in b/package/domoticz/Config.in
index c713ac58b1..a2ad9f1b07 100644
--- a/package/domoticz/Config.in
+++ b/package/domoticz/Config.in
@@ -1,8 +1,5 @@
 config BR2_PACKAGE_DOMOTICZ
 	bool "domoticz"
-	depends on BR2_USE_MMU # mosquitto
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
-	depends on !BR2_STATIC_LIBS # mosquitto
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sleep_for
 	# pthread_condattr_setclock
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
-- 
2.25.3

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

* [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto
  2020-08-29 13:03 [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto Titouan Christophe
@ 2020-08-29 17:30 ` Peter Korsgaard
  2020-08-29 17:52 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-08-29 17:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Titouan" == Titouan Christophe <titouan.christophe@railnova.eu> writes:

 > In 4fc62e1eb6b3adbfc3d3eb7f841275ae8cd1b424, we removed arch/toolchain
 > dependencies from the mosquitto library (MMU, !STATIC, SYNC4), and moved
 > them to the mosquitto broker only.

 > All the packages modified here only need the mosquitto library, so they
 > shouldn't have those depends anymore; but this was never done before.

 > Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
 > ---
 >  package/collectd/Config.in | 1 -
 >  package/domoticz/Config.in | 3 ---
 >  2 files changed, 4 deletions(-)

 > diff --git a/package/collectd/Config.in b/package/collectd/Config.in
 > index 4f54944cbc..ddf64015bd 100644
 > --- a/package/collectd/Config.in
 > +++ b/package/collectd/Config.in
 > @@ -607,7 +607,6 @@ comment "grpc needs a toolchain w/ C++, gcc >= 4.8"
 
 >  config BR2_PACKAGE_COLLECTD_MQTT
 >  	bool "mqtt"
 > -	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
 >  	select BR2_PACKAGE_MOSQUITTO
 >  	help
 >  	  Sends metrics to and/or receives metrics from an MQTT broker.
 > diff --git a/package/domoticz/Config.in b/package/domoticz/Config.in
 > index c713ac58b1..a2ad9f1b07 100644
 > --- a/package/domoticz/Config.in
 > +++ b/package/domoticz/Config.in
 > @@ -1,8 +1,5 @@
 >  config BR2_PACKAGE_DOMOTICZ
 >  	bool "domoticz"
 > -	depends on BR2_USE_MMU # mosquitto

the domoticz code has a bunch of references to fork(), so I've kept
this.

 > -	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
 > -	depends on !BR2_STATIC_LIBS # mosquitto

CMakeLists.txt explicitly checks for libmosquitto.so:

find_library(MQTT_LIBRARIES NAMES libmosquitto.so)

So I've left that as well.

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto
  2020-08-29 13:03 [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto Titouan Christophe
  2020-08-29 17:30 ` Peter Korsgaard
@ 2020-08-29 17:52 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-08-29 17:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Titouan" == Titouan Christophe <titouan.christophe@railnova.eu> writes:

 > In 4fc62e1eb6b3adbfc3d3eb7f841275ae8cd1b424, we removed arch/toolchain
 > dependencies from the mosquitto library (MMU, !STATIC, SYNC4), and moved
 > them to the mosquitto broker only.

 > All the packages modified here only need the mosquitto library, so they
 > shouldn't have those depends anymore; but this was never done before.

 > Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2020-08-29 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29 13:03 [Buildroot] [PATCH 1/1] package/{collectd, domoticz}: fix outdated dependencies for mosquitto Titouan Christophe
2020-08-29 17:30 ` Peter Korsgaard
2020-08-29 17:52 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.