All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency
@ 2023-03-02 17:53 Fabrice Fontaine
  2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 17:53 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Fabrice Fontaine

libglib2 is an optional dependency which is enabled by default since
version 2.3.0 and
https://github.com/cminyard/gensio/commit/866924d69dabe8b8a981e19bd745d5c84e529881

Handle it properly to avoid the following build failure since bump to
version 2.5.2 in commit 5bb747f0b783a0d3f1712350ca3277263045b299:

sparc64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/glib-2.0'

Fixes:
 - http://autobuild.buildroot.org/results/3602c5cc2aff668211fd8e6eeab778b3fe287246

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gensio/gensio.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
index 5538f97b19..dafc0bf5d5 100644
--- a/package/gensio/gensio.mk
+++ b/package/gensio/gensio.mk
@@ -14,6 +14,13 @@ GENSIO_CONF_OPTS = \
 	--without-swig \
 	--without-python
 
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+GENSIO_DEPENDENCIES += host-pkgconf libglib2
+GENSIO_CONF_OPTS += --with-glib
+else
+GENSIO_CONF_OPTS += --without-glib
+endif
+
 ifeq ($(BR2_PACKAGE_OPENIPMI),y)
 GENSIO_DEPENDENCIES += openipmi
 GENSIO_CONF_OPTS += --with-openipmi
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib optional dependency
  2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
@ 2023-03-02 17:53 ` Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  2023-03-02 17:53 ` [Buildroot] [PATCH 3/4] package/gensio: use mdns option Fabrice Fontaine
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 12+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 17:53 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Fabrice Fontaine

alsa-lib is an optional dependency which is enabled by default since
version 2.5.3 and
https://github.com/cminyard/gensio/commit/dc9bad87d47588dcdd92ce118fcc4f41d10b671c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gensio/gensio.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
index dafc0bf5d5..89c734eec0 100644
--- a/package/gensio/gensio.mk
+++ b/package/gensio/gensio.mk
@@ -14,6 +14,13 @@ GENSIO_CONF_OPTS = \
 	--without-swig \
 	--without-python
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
+GENSIO_DEPENDENCIES += alsa-lib
+GENSIO_CONF_OPTS += --with-alsa
+else
+GENSIO_CONF_OPTS += --without-alsa
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
 GENSIO_DEPENDENCIES += host-pkgconf libglib2
 GENSIO_CONF_OPTS += --with-glib
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 3/4] package/gensio: use mdns option
  2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
  2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
@ 2023-03-02 17:53 ` Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  2023-03-02 17:53 ` [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency Fabrice Fontaine
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 12+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 17:53 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Fabrice Fontaine

mdns option is available since version 2.4.0 and
https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gensio/gensio.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
index 89c734eec0..3374313c0f 100644
--- a/package/gensio/gensio.mk
+++ b/package/gensio/gensio.mk
@@ -9,7 +9,6 @@ GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
 GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
 GENSIO_LICENSE_FILES = COPYING.LIB COPYING
 GENSIO_INSTALL_STAGING = YES
-GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
 GENSIO_CONF_OPTS = \
 	--without-swig \
 	--without-python
@@ -21,6 +20,13 @@ else
 GENSIO_CONF_OPTS += --without-alsa
 endif
 
+ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
+GENSIO_DEPENDENCIES += avahi
+GENSIO_CONF_OPTS += --with-mdns
+else
+GENSIO_CONF_OPTS += --without-mdns
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
 GENSIO_DEPENDENCIES += host-pkgconf libglib2
 GENSIO_CONF_OPTS += --with-glib
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency
  2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
  2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
  2023-03-02 17:53 ` [Buildroot] [PATCH 3/4] package/gensio: use mdns option Fabrice Fontaine
@ 2023-03-02 17:53 ` Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  2023-03-07 21:06 ` [Buildroot] [PATCH 1/4] package/gensio: add libglib2 " Peter Korsgaard
  2023-03-15 14:40 ` Peter Korsgaard
  4 siblings, 2 replies; 12+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 17:53 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Fabrice Fontaine

C++ is available since 2.3.0 and
https://github.com/cminyard/gensio/commit/3fda483f15a2668f9e2396517cdbf09693e6e3ff

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gensio/gensio.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
index 3374313c0f..2ba1b950d7 100644
--- a/package/gensio/gensio.mk
+++ b/package/gensio/gensio.mk
@@ -13,6 +13,12 @@ GENSIO_CONF_OPTS = \
 	--without-swig \
 	--without-python
 
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+GENSIO_CONF_OPTS += --with-cplusplus
+else
+GENSIO_CONF_OPTS += --without-cplusplus
+endif
+
 ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
 GENSIO_DEPENDENCIES += alsa-lib
 GENSIO_CONF_OPTS += --with-alsa
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency
  2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2023-03-02 17:53 ` [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency Fabrice Fontaine
@ 2023-03-07 21:06 ` Peter Korsgaard
  2023-03-15 14:40 ` Peter Korsgaard
  4 siblings, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-07 21:06 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > libglib2 is an optional dependency which is enabled by default since
 > version 2.3.0 and
 > https://github.com/cminyard/gensio/commit/866924d69dabe8b8a981e19bd745d5c84e529881

 > Handle it properly to avoid the following build failure since bump to
 > version 2.5.2 in commit 5bb747f0b783a0d3f1712350ca3277263045b299:

 > sparc64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path
 > used in cross-compilation: '-I/usr/include/glib-2.0'

 > Fixes:
 >  - http://autobuild.buildroot.org/results/3602c5cc2aff668211fd8e6eeab778b3fe287246

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib optional dependency
  2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
@ 2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-07 21:06 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > alsa-lib is an optional dependency which is enabled by default since
 > version 2.5.3 and
 > https://github.com/cminyard/gensio/commit/dc9bad87d47588dcdd92ce118fcc4f41d10b671c

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 3/4] package/gensio: use mdns option
  2023-03-02 17:53 ` [Buildroot] [PATCH 3/4] package/gensio: use mdns option Fabrice Fontaine
@ 2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-07 21:06 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > mdns option is available since version 2.4.0 and
 > https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency
  2023-03-02 17:53 ` [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency Fabrice Fontaine
@ 2023-03-07 21:06   ` Peter Korsgaard
  2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-07 21:06 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > C++ is available since 2.3.0 and
 > https://github.com/cminyard/gensio/commit/3fda483f15a2668f9e2396517cdbf09693e6e3ff

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

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

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

* Re: [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency
  2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
                   ` (3 preceding siblings ...)
  2023-03-07 21:06 ` [Buildroot] [PATCH 1/4] package/gensio: add libglib2 " Peter Korsgaard
@ 2023-03-15 14:40 ` Peter Korsgaard
  4 siblings, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-15 14:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > libglib2 is an optional dependency which is enabled by default since
 > version 2.3.0 and
 > https://github.com/cminyard/gensio/commit/866924d69dabe8b8a981e19bd745d5c84e529881

 > Handle it properly to avoid the following build failure since bump to
 > version 2.5.2 in commit 5bb747f0b783a0d3f1712350ca3277263045b299:

 > sparc64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path
 > used in cross-compilation: '-I/usr/include/glib-2.0'

 > Fixes:
 >  - http://autobuild.buildroot.org/results/3602c5cc2aff668211fd8e6eeab778b3fe287246

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

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

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

* Re: [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib optional dependency
  2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
@ 2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-15 14:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > alsa-lib is an optional dependency which is enabled by default since
 > version 2.5.3 and
 > https://github.com/cminyard/gensio/commit/dc9bad87d47588dcdd92ce118fcc4f41d10b671c

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

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

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

* Re: [Buildroot] [PATCH 3/4] package/gensio: use mdns option
  2023-03-02 17:53 ` [Buildroot] [PATCH 3/4] package/gensio: use mdns option Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
@ 2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-15 14:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > mdns option is available since version 2.4.0 and
 > https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

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

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

* Re: [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency
  2023-03-02 17:53 ` [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency Fabrice Fontaine
  2023-03-07 21:06   ` Peter Korsgaard
@ 2023-03-15 14:40   ` Peter Korsgaard
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2023-03-15 14:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > C++ is available since 2.3.0 and
 > https://github.com/cminyard/gensio/commit/3fda483f15a2668f9e2396517cdbf09693e6e3ff

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

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

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

end of thread, other threads:[~2023-03-15 14:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 17:53 [Buildroot] [PATCH 1/4] package/gensio: add libglib2 optional dependency Fabrice Fontaine
2023-03-02 17:53 ` [Buildroot] [PATCH 2/4] package/gensio: add alsa-lib " Fabrice Fontaine
2023-03-07 21:06   ` Peter Korsgaard
2023-03-15 14:40   ` Peter Korsgaard
2023-03-02 17:53 ` [Buildroot] [PATCH 3/4] package/gensio: use mdns option Fabrice Fontaine
2023-03-07 21:06   ` Peter Korsgaard
2023-03-15 14:40   ` Peter Korsgaard
2023-03-02 17:53 ` [Buildroot] [PATCH 4/4] package/gensio: add C++ optional dependency Fabrice Fontaine
2023-03-07 21:06   ` Peter Korsgaard
2023-03-15 14:40   ` Peter Korsgaard
2023-03-07 21:06 ` [Buildroot] [PATCH 1/4] package/gensio: add libglib2 " Peter Korsgaard
2023-03-15 14:40 ` 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.