All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space
@ 2022-07-27  8:35 Lang Daniel via buildroot
  2022-07-27  9:56 ` Thomas Petazzoni via buildroot
  2022-08-30 15:53 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Lang Daniel via buildroot @ 2022-07-27  8:35 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

By default sample files are installed to share/doc/Eclipse Paho C/.
The white-space can cause problems later down the line.
Therefore the path is changed to the one used by paho-mqtt-c
when configured to build the .deb package, which is share/doc/libpaho-mqtt.

Before:
Install configuration: "Release"
Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish.c
Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish_time.c
Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_subscribe.c

After:
Install configuration: "Release"
Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish.c
Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish_time.c
Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_subscribe.c

Signed-off-by: Daniel Lang <d.lang@abatec.at>
---
 package/paho-mqtt-c/paho-mqtt-c.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk
index d6356a7ccc..1b6fc5785c 100644
--- a/package/paho-mqtt-c/paho-mqtt-c.mk
+++ b/package/paho-mqtt-c/paho-mqtt-c.mk
@@ -11,6 +11,7 @@ PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE
 PAHO_MQTT_C_INSTALL_STAGING = YES
 
 PAHO_MQTT_C_CONF_OPTS = \
+	-DCMAKE_INSTALL_DOCDIR=share/doc/libpaho-mqtt \
 	-DPAHO_ENABLE_TESTING=FALSE \
 	-DPAHO_ENABLE_CPACK=FALSE \
 	-DPAHO_HIGH_PERFORMANCE=TRUE
-- 
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space
  2022-07-27  8:35 [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space Lang Daniel via buildroot
@ 2022-07-27  9:56 ` Thomas Petazzoni via buildroot
  2022-08-30 15:53 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-27  9:56 UTC (permalink / raw)
  To: Lang Daniel via buildroot; +Cc: Lang Daniel

On Wed, 27 Jul 2022 08:35:20 +0000
Lang Daniel via buildroot <buildroot@buildroot.org> wrote:

> By default sample files are installed to share/doc/Eclipse Paho C/.
> The white-space can cause problems later down the line.
> Therefore the path is changed to the one used by paho-mqtt-c
> when configured to build the .deb package, which is share/doc/libpaho-mqtt.
> 
> Before:
> Install configuration: "Release"
> Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish.c
> Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish_time.c
> Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_subscribe.c
> 
> After:
> Install configuration: "Release"
> Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish.c
> Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish_time.c
> Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_subscribe.c
> 
> Signed-off-by: Daniel Lang <d.lang@abatec.at>
> ---
>  package/paho-mqtt-c/paho-mqtt-c.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space
  2022-07-27  8:35 [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space Lang Daniel via buildroot
  2022-07-27  9:56 ` Thomas Petazzoni via buildroot
@ 2022-08-30 15:53 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-08-30 15:53 UTC (permalink / raw)
  To: Lang Daniel via buildroot; +Cc: Lang Daniel, Thomas Petazzoni

>>>>> "Lang" == Lang Daniel via buildroot <buildroot@buildroot.org> writes:

 > By default sample files are installed to share/doc/Eclipse Paho C/.
 > The white-space can cause problems later down the line.
 > Therefore the path is changed to the one used by paho-mqtt-c
 > when configured to build the .deb package, which is share/doc/libpaho-mqtt.

 > Before:
 > Install configuration: "Release"
 > Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish.c
 > Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_publish_time.c
 > Installing: $(STAGING_DIR)/usr/share/doc/Eclipse Paho C/MQTTAsync_subscribe.c

 > After:
 > Install configuration: "Release"
 > Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish.c
 > Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_publish_time.c
 > Installing: $(STAGING_DIR)/usr/share/doc/libpaho-mqtt/MQTTAsync_subscribe.c

 > Signed-off-by: Daniel Lang <d.lang@abatec.at>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-30 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27  8:35 [Buildroot] [PATCH 1/1] package/paho-mqtt-c: sample file path without white-space Lang Daniel via buildroot
2022-07-27  9:56 ` Thomas Petazzoni via buildroot
2022-08-30 15:53 ` 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.