* [Buildroot] [PATCH v3] package/libcppconnman: add new package
@ 2026-07-20 12:22 Andrea Ricchi
2026-07-20 19:22 ` Julien Olivain via buildroot
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Ricchi @ 2026-07-20 12:22 UTC (permalink / raw)
To: buildroot; +Cc: Andrea Ricchi
libcppconnman is a C++ library that provides an easy-to-use API
to communicate with ConnMan over D-Bus using GDBus.
https://github.com/amarula/libcppconnman
Also add myself to DEVELOPERS for this package.
Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
---
Changes v2 -> v3:
- Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 dependency (C++20 / <ranges>),
fixing build failures on GCC < 10 toolchains reported by the autobuilders
- Config.in, libcppconnman.mk: select and depend on readline for the example,
fixing the missing readline library configure error when examples are enabled
Changes v1 -> v2:
- add missing libcppconnman entry in package/Config.in
- merge the DEVELOPERS addition into this patch
DEVELOPERS | 1 +
package/Config.in | 1 +
package/libcppconnman/Config.in | 28 ++++++++++++++++++++++++
package/libcppconnman/libcppconnman.hash | 3 +++
package/libcppconnman/libcppconnman.mk | 25 +++++++++++++++++++++
5 files changed, 58 insertions(+)
create mode 100644 package/libcppconnman/Config.in
create mode 100644 package/libcppconnman/libcppconnman.hash
create mode 100644 package/libcppconnman/libcppconnman.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 42418d01a2..997fd6be74 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -186,6 +186,7 @@ F: package/wine/
N: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
F: package/cutekeyboard/
+F: package/libcppconnman/
N: Andreas Klinger <ak@it-klinger.de>
F: package/ply/
diff --git a/package/Config.in b/package/Config.in
index 015f635ad1..fc1e57d30d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2007,6 +2007,7 @@ menu "Networking"
source "package/ibrdtn/Config.in"
source "package/libcgicc/Config.in"
source "package/libcoap/Config.in"
+ source "package/libcppconnman/Config.in"
source "package/libcpprestsdk/Config.in"
source "package/libcurl/Config.in"
source "package/libdnet/Config.in"
diff --git a/package/libcppconnman/Config.in b/package/libcppconnman/Config.in
new file mode 100644
index 0000000000..d99d711e25
--- /dev/null
+++ b/package/libcppconnman/Config.in
@@ -0,0 +1,28 @@
+config BR2_PACKAGE_LIBCPPCONNMAN
+ bool "libcppconnman"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+ depends on BR2_USE_MMU # libglib2
+ select BR2_PACKAGE_LIBGLIB2
+ help
+ libcppconnman provide easy to use C++ API to communicate
+ with ConnMan via the DBus using GDBus.
+
+ https://amarula.github.io/libcppconnman/
+
+comment "libcppconnman needs a toolchain w/ C++20, wchar, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_10
+
+if BR2_PACKAGE_LIBCPPCONNMAN
+
+config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
+ bool "libcppconnman example"
+ select BR2_PACKAGE_READLINE
+ help
+ Compile CLI example.
+
+endif
diff --git a/package/libcppconnman/libcppconnman.hash b/package/libcppconnman/libcppconnman.hash
new file mode 100644
index 0000000000..70960d4a17
--- /dev/null
+++ b/package/libcppconnman/libcppconnman.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 5eb38232c3f9fcf2136c6508472841f6ee88d7155c384f4e6f2f3de1cd2fba62 libcppconnman-2.0.0.tar.gz
+sha256 7ffe1954587c77dfba1cf8eb9b2ea743671fa6e63f9e7a2f258119d42e14eefe LICENSE
diff --git a/package/libcppconnman/libcppconnman.mk b/package/libcppconnman/libcppconnman.mk
new file mode 100644
index 0000000000..1b41db3a0c
--- /dev/null
+++ b/package/libcppconnman/libcppconnman.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# libcppconnman
+#
+################################################################################
+
+LIBCPPCONNMAN_VERSION = 2.0.0
+LIBCPPCONNMAN_SITE = $(call github,amarula,libcppconnman,v$(LIBCPPCONNMAN_VERSION))
+LIBCPPCONNMAN_LICENSE = LGPL-2.1-or-later
+LIBCPPCONNMAN_LICENSE_FILES = LICENSE
+
+LIBCPPCONNMAN_INSTALL_STAGING = YES
+
+LIBCPPCONNMAN_DEPENDENCIES = host-pkgconf libglib2
+
+LIBCPPCONNMAN_CONF_OPTS = -DBUILD_CONNMAN=ON
+
+ifeq ($(BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE),y)
+LIBCPPCONNMAN_DEPENDENCIES += readline
+LIBCPPCONNMAN_CONF_OPTS += -DBUILD_EXAMPLES=ON
+else
+LIBCPPCONNMAN_CONF_OPTS += -DBUILD_EXAMPLES=OFF
+endif
+
+$(eval $(cmake-package))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [Buildroot] [PATCH v3] package/libcppconnman: add new package
2026-07-20 12:22 [Buildroot] [PATCH v3] package/libcppconnman: add new package Andrea Ricchi
@ 2026-07-20 19:22 ` Julien Olivain via buildroot
2026-07-21 7:06 ` Andrea Ricchi
0 siblings, 1 reply; 5+ messages in thread
From: Julien Olivain via buildroot @ 2026-07-20 19:22 UTC (permalink / raw)
To: Andrea Ricchi; +Cc: buildroot
Hi Andrea,
Thanks for the updated patch!
On 20/07/2026 14:22, Andrea Ricchi wrote:
> libcppconnman is a C++ library that provides an easy-to-use API
> to communicate with ConnMan over D-Bus using GDBus.
>
> https://github.com/amarula/libcppconnman
>
> Also add myself to DEVELOPERS for this package.
>
> Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
> ---
> Changes v2 -> v3:
> - Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 dependency (C++20 /
> <ranges>),
> fixing build failures on GCC < 10 toolchains reported by the
> autobuilders
> - Config.in, libcppconnman.mk: select and depend on readline for the
> example,
> fixing the missing readline library configure error when examples
> are enabled
>
> Changes v1 -> v2:
> - add missing libcppconnman entry in package/Config.in
> - merge the DEVELOPERS addition into this patch
>
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/libcppconnman/Config.in | 28 ++++++++++++++++++++++++
> package/libcppconnman/libcppconnman.hash | 3 +++
> package/libcppconnman/libcppconnman.mk | 25 +++++++++++++++++++++
> 5 files changed, 58 insertions(+)
> create mode 100644 package/libcppconnman/Config.in
> create mode 100644 package/libcppconnman/libcppconnman.hash
> create mode 100644 package/libcppconnman/libcppconnman.mk
>
[...]
> diff --git a/package/libcppconnman/Config.in
> b/package/libcppconnman/Config.in
> new file mode 100644
> index 0000000000..d99d711e25
> --- /dev/null
> +++ b/package/libcppconnman/Config.in
> @@ -0,0 +1,28 @@
> +config BR2_PACKAGE_LIBCPPCONNMAN
> + bool "libcppconnman"
> + depends on BR2_INSTALL_LIBSTDCPP
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
> + depends on BR2_USE_WCHAR # libglib2
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> + depends on BR2_USE_MMU # libglib2
> + select BR2_PACKAGE_LIBGLIB2
> + help
> + libcppconnman provide easy to use C++ API to communicate
> + with ConnMan via the DBus using GDBus.
> +
> + https://amarula.github.io/libcppconnman/
> +
> +comment "libcppconnman needs a toolchain w/ C++20, wchar, threads"
> + depends on BR2_USE_MMU
> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_10
> +
> +if BR2_PACKAGE_LIBCPPCONNMAN
> +
> +config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
> + bool "libcppconnman example"
It seems there is still 2 build failures with the examples. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2691451879
It is likely due to a missing dependency on BR2_TOOLCHAIN_HAS_SYNC_1.
Could you have a look please?
> + select BR2_PACKAGE_READLINE
> + help
> + Compile CLI example.
> +
> +endif
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3] package/libcppconnman: add new package
2026-07-20 19:22 ` Julien Olivain via buildroot
@ 2026-07-21 7:06 ` Andrea Ricchi
2026-07-21 19:59 ` Julien Olivain via buildroot
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Ricchi @ 2026-07-21 7:06 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 3914 bytes --]
Hi Julien,
Thanks again for the review, and sorry about the pipeline issue.
I tried running ./utils/test-pkg -a -p libcppconnman locally and got
bootlin-sparc-uclibc
[24/32]: OK. In my .config, I have the following set:
BR2_PACKAGE_LIBCPPCONNMAN=y
BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE=y
Do you have any idea why it works on my machine but fails in the GitLab
pipeline? Could it be due to some specific build environment configuration?
Thanks!
Andrea Ricchi
Embedded Software Engineer
M. +39 333 775 4973
andrea.ricchi@amarulasolutions.com
―――――――――――――――
Amarula Solutions SRL
Via Felice Cavallotti 25D, 41012 Carpi, MO, IT
info@amarulasolutions.com
www.amarulasolutions.com
On Mon, Jul 20, 2026 at 9:22 PM Julien Olivain <ju.o@free.fr> wrote:
> Hi Andrea,
>
> Thanks for the updated patch!
>
> On 20/07/2026 14:22, Andrea Ricchi wrote:
> > libcppconnman is a C++ library that provides an easy-to-use API
> > to communicate with ConnMan over D-Bus using GDBus.
> >
> > https://github.com/amarula/libcppconnman
> >
> > Also add myself to DEVELOPERS for this package.
> >
> > Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
> > ---
> > Changes v2 -> v3:
> > - Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 dependency (C++20 /
> > <ranges>),
> > fixing build failures on GCC < 10 toolchains reported by the
> > autobuilders
> > - Config.in, libcppconnman.mk: select and depend on readline for the
> > example,
> > fixing the missing readline library configure error when examples
> > are enabled
> >
> > Changes v1 -> v2:
> > - add missing libcppconnman entry in package/Config.in
> > - merge the DEVELOPERS addition into this patch
> >
> > DEVELOPERS | 1 +
> > package/Config.in | 1 +
> > package/libcppconnman/Config.in | 28 ++++++++++++++++++++++++
> > package/libcppconnman/libcppconnman.hash | 3 +++
> > package/libcppconnman/libcppconnman.mk | 25 +++++++++++++++++++++
> > 5 files changed, 58 insertions(+)
> > create mode 100644 package/libcppconnman/Config.in
> > create mode 100644 package/libcppconnman/libcppconnman.hash
> > create mode 100644 package/libcppconnman/libcppconnman.mk
> >
> [...]
> > diff --git a/package/libcppconnman/Config.in
> > b/package/libcppconnman/Config.in
> > new file mode 100644
> > index 0000000000..d99d711e25
> > --- /dev/null
> > +++ b/package/libcppconnman/Config.in
> > @@ -0,0 +1,28 @@
> > +config BR2_PACKAGE_LIBCPPCONNMAN
> > + bool "libcppconnman"
> > + depends on BR2_INSTALL_LIBSTDCPP
> > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
> > + depends on BR2_USE_WCHAR # libglib2
> > + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> > + depends on BR2_USE_MMU # libglib2
> > + select BR2_PACKAGE_LIBGLIB2
> > + help
> > + libcppconnman provide easy to use C++ API to communicate
> > + with ConnMan via the DBus using GDBus.
> > +
> > + https://amarula.github.io/libcppconnman/
> > +
> > +comment "libcppconnman needs a toolchain w/ C++20, wchar, threads"
> > + depends on BR2_USE_MMU
> > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> > + !BR2_TOOLCHAIN_HAS_THREADS ||
> !BR2_TOOLCHAIN_GCC_AT_LEAST_10
> > +
> > +if BR2_PACKAGE_LIBCPPCONNMAN
> > +
> > +config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
> > + bool "libcppconnman example"
>
> It seems there is still 2 build failures with the examples. See:
> https://gitlab.com/jolivain/buildroot/-/pipelines/2691451879
>
> It is likely due to a missing dependency on BR2_TOOLCHAIN_HAS_SYNC_1.
>
> Could you have a look please?
>
> > + select BR2_PACKAGE_READLINE
> > + help
> > + Compile CLI example.
> > +
> > +endif
>
> Best regards,
>
> Julien.
>
[-- Attachment #1.2: Type: text/html, Size: 6103 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3] package/libcppconnman: add new package
2026-07-21 7:06 ` Andrea Ricchi
@ 2026-07-21 19:59 ` Julien Olivain via buildroot
2026-07-21 20:47 ` Andrea Ricchi
0 siblings, 1 reply; 5+ messages in thread
From: Julien Olivain via buildroot @ 2026-07-21 19:59 UTC (permalink / raw)
To: Andrea Ricchi; +Cc: buildroot
Hi Andrea,
On 21/07/2026 09:06, Andrea Ricchi wrote:
> Hi Julien,
>
> Thanks again for the review, and sorry about the pipeline issue.
>
> I tried running ./utils/test-pkg -a -p libcppconnman locally and got
> bootlin-sparc-uclibc [24/32]: OK. In my .config, I have the following
> set:
>
> BR2_PACKAGE_LIBCPPCONNMAN=y
> BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE=y
>
> Do you have any idea why it works on my machine but fails in the
> GitLab pipeline? Could it be due to some specific build environment
> configuration?
The host environment should not have any impact for this kind of issue.
Are you using the correct command and are you looking at
the right config file?
For enabling examples in a test-pkg run, you should use
commands like:
cat >my.config <<EOF
BR2_PACKAGE_LIBCPPCONNMAN=y
BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE=y
EOF
utils/test-pkg -a -p libcppconnman -c my.config
The generated config of a failing builds should be in:
"~/br-test-pkg/bootlin-microblazeel-uclibc/.config"
rather than in "./.config".
> Thanks!
>
> Andrea Ricchi
> Embedded Software Engineer
> M. +39 333 775 4973
> andrea.ricchi@amarulasolutions.com
> ―――――――――――――――
> Amarula Solutions SRL
> Via Felice Cavallotti 25D, 41012 Carpi, MO, IT
> info@amarulasolutions.com
> www.amarulasolutions.com [2]
>
> On Mon, Jul 20, 2026 at 9:22 PM Julien Olivain <ju.o@free.fr> wrote:
>
>> Hi Andrea,
>>
>> Thanks for the updated patch!
>>
>> On 20/07/2026 14:22, Andrea Ricchi wrote:
>>> libcppconnman is a C++ library that provides an easy-to-use API
>>> to communicate with ConnMan over D-Bus using GDBus.
>>>
>>> https://github.com/amarula/libcppconnman
>>>
>>> Also add myself to DEVELOPERS for this package.
>>>
>>> Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
>>> ---
>>> Changes v2 -> v3:
>>> - Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 dependency (C++20
>> /
>>> <ranges>),
>>> fixing build failures on GCC < 10 toolchains reported by the
>>> autobuilders
>>> - Config.in, libcppconnman.mk [1]: select and depend on readline
>> for the
>>> example,
>>> fixing the missing readline library configure error when
>> examples
>>> are enabled
>>>
>>> Changes v1 -> v2:
>>> - add missing libcppconnman entry in package/Config.in
>>> - merge the DEVELOPERS addition into this patch
>>>
>>> DEVELOPERS | 1 +
>>> package/Config.in | 1 +
>>> package/libcppconnman/Config.in | 28
>> ++++++++++++++++++++++++
>>> package/libcppconnman/libcppconnman.hash | 3 +++
>>> package/libcppconnman/libcppconnman.mk [1] | 25
>> +++++++++++++++++++++
>>> 5 files changed, 58 insertions(+)
>>> create mode 100644 package/libcppconnman/Config.in
>>> create mode 100644 package/libcppconnman/libcppconnman.hash
>>> create mode 100644 package/libcppconnman/libcppconnman.mk [1]
>>>
>> [...]
>>> diff --git a/package/libcppconnman/Config.in
>>> b/package/libcppconnman/Config.in
>>> new file mode 100644
>>> index 0000000000..d99d711e25
>>> --- /dev/null
>>> +++ b/package/libcppconnman/Config.in
>>> @@ -0,0 +1,28 @@
>>> +config BR2_PACKAGE_LIBCPPCONNMAN
>>> + bool "libcppconnman"
>>> + depends on BR2_INSTALL_LIBSTDCPP
>>> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
>>> + depends on BR2_USE_WCHAR # libglib2
>>> + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
>>> + depends on BR2_USE_MMU # libglib2
>>> + select BR2_PACKAGE_LIBGLIB2
>>> + help
>>> + libcppconnman provide easy to use C++ API to communicate
>>> + with ConnMan via the DBus using GDBus.
>>> +
>>> + https://amarula.github.io/libcppconnman/
>>> +
>>> +comment "libcppconnman needs a toolchain w/ C++20, wchar,
>> threads"
>>> + depends on BR2_USE_MMU
>>> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
>>> + !BR2_TOOLCHAIN_HAS_THREADS ||
>> !BR2_TOOLCHAIN_GCC_AT_LEAST_10
>>> +
>>> +if BR2_PACKAGE_LIBCPPCONNMAN
>>> +
>>> +config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
>>> + bool "libcppconnman example"
>>
>> It seems there is still 2 build failures with the examples. See:
>> https://gitlab.com/jolivain/buildroot/-/pipelines/2691451879
>>
>> It is likely due to a missing dependency on
>> BR2_TOOLCHAIN_HAS_SYNC_1.
>>
>> Could you have a look please?
>>
>>> + select BR2_PACKAGE_READLINE
>>> + help
>>> + Compile CLI example.
>>> +
>>> +endif
>>
>> Best regards,
>>
>> Julien.
>
>
> Links:
> ------
> [1] http://libcppconnman.mk
> [2] http://www.amarulasolutions.com/
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3] package/libcppconnman: add new package
2026-07-21 19:59 ` Julien Olivain via buildroot
@ 2026-07-21 20:47 ` Andrea Ricchi
0 siblings, 0 replies; 5+ messages in thread
From: Andrea Ricchi @ 2026-07-21 20:47 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 5529 bytes --]
Hi Julien,
Thanks again for the help. I have submitted the v4 of the patch, which I
verified using the command you provided.
I hope everything is correct now.
Thanks,
Andrea Ricchi
Embedded Software Engineer
M. +39 333 775 4973
andrea.ricchi@amarulasolutions.com
―――――――――――――――
Amarula Solutions SRL
Via Felice Cavallotti 25D, 41012 Carpi, MO, IT
info@amarulasolutions.com
www.amarulasolutions.com
On Tue, Jul 21, 2026 at 9:59 PM Julien Olivain <ju.o@free.fr> wrote:
> Hi Andrea,
>
> On 21/07/2026 09:06, Andrea Ricchi wrote:
> > Hi Julien,
> >
> > Thanks again for the review, and sorry about the pipeline issue.
> >
> > I tried running ./utils/test-pkg -a -p libcppconnman locally and got
> > bootlin-sparc-uclibc [24/32]: OK. In my .config, I have the following
> > set:
> >
> > BR2_PACKAGE_LIBCPPCONNMAN=y
> > BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE=y
> >
> > Do you have any idea why it works on my machine but fails in the
> > GitLab pipeline? Could it be due to some specific build environment
> > configuration?
>
> The host environment should not have any impact for this kind of issue.
>
> Are you using the correct command and are you looking at
> the right config file?
>
> For enabling examples in a test-pkg run, you should use
> commands like:
>
> cat >my.config <<EOF
> BR2_PACKAGE_LIBCPPCONNMAN=y
> BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE=y
> EOF
> utils/test-pkg -a -p libcppconnman -c my.config
>
> The generated config of a failing builds should be in:
> "~/br-test-pkg/bootlin-microblazeel-uclibc/.config"
> rather than in "./.config".
>
> > Thanks!
> >
> > Andrea Ricchi
> > Embedded Software Engineer
> > M. +39 333 775 4973
> > andrea.ricchi@amarulasolutions.com
> > ―――――――――――――――
> > Amarula Solutions SRL
> > Via Felice Cavallotti 25D, 41012 Carpi, MO, IT
> > info@amarulasolutions.com
> > www.amarulasolutions.com [2]
> >
> > On Mon, Jul 20, 2026 at 9:22 PM Julien Olivain <ju.o@free.fr> wrote:
> >
> >> Hi Andrea,
> >>
> >> Thanks for the updated patch!
> >>
> >> On 20/07/2026 14:22, Andrea Ricchi wrote:
> >>> libcppconnman is a C++ library that provides an easy-to-use API
> >>> to communicate with ConnMan over D-Bus using GDBus.
> >>>
> >>> https://github.com/amarula/libcppconnman
> >>>
> >>> Also add myself to DEVELOPERS for this package.
> >>>
> >>> Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
> >>> ---
> >>> Changes v2 -> v3:
> >>> - Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 dependency (C++20
> >> /
> >>> <ranges>),
> >>> fixing build failures on GCC < 10 toolchains reported by the
> >>> autobuilders
> >>> - Config.in, libcppconnman.mk [1]: select and depend on readline
> >> for the
> >>> example,
> >>> fixing the missing readline library configure error when
> >> examples
> >>> are enabled
> >>>
> >>> Changes v1 -> v2:
> >>> - add missing libcppconnman entry in package/Config.in
> >>> - merge the DEVELOPERS addition into this patch
> >>>
> >>> DEVELOPERS | 1 +
> >>> package/Config.in | 1 +
> >>> package/libcppconnman/Config.in | 28
> >> ++++++++++++++++++++++++
> >>> package/libcppconnman/libcppconnman.hash | 3 +++
> >>> package/libcppconnman/libcppconnman.mk [1] | 25
> >> +++++++++++++++++++++
> >>> 5 files changed, 58 insertions(+)
> >>> create mode 100644 package/libcppconnman/Config.in
> >>> create mode 100644 package/libcppconnman/libcppconnman.hash
> >>> create mode 100644 package/libcppconnman/libcppconnman.mk [1]
> >>>
> >> [...]
> >>> diff --git a/package/libcppconnman/Config.in
> >>> b/package/libcppconnman/Config.in
> >>> new file mode 100644
> >>> index 0000000000..d99d711e25
> >>> --- /dev/null
> >>> +++ b/package/libcppconnman/Config.in
> >>> @@ -0,0 +1,28 @@
> >>> +config BR2_PACKAGE_LIBCPPCONNMAN
> >>> + bool "libcppconnman"
> >>> + depends on BR2_INSTALL_LIBSTDCPP
> >>> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
> >>> + depends on BR2_USE_WCHAR # libglib2
> >>> + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> >>> + depends on BR2_USE_MMU # libglib2
> >>> + select BR2_PACKAGE_LIBGLIB2
> >>> + help
> >>> + libcppconnman provide easy to use C++ API to communicate
> >>> + with ConnMan via the DBus using GDBus.
> >>> +
> >>> + https://amarula.github.io/libcppconnman/
> >>> +
> >>> +comment "libcppconnman needs a toolchain w/ C++20, wchar,
> >> threads"
> >>> + depends on BR2_USE_MMU
> >>> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> >>> + !BR2_TOOLCHAIN_HAS_THREADS ||
> >> !BR2_TOOLCHAIN_GCC_AT_LEAST_10
> >>> +
> >>> +if BR2_PACKAGE_LIBCPPCONNMAN
> >>> +
> >>> +config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
> >>> + bool "libcppconnman example"
> >>
> >> It seems there is still 2 build failures with the examples. See:
> >> https://gitlab.com/jolivain/buildroot/-/pipelines/2691451879
> >>
> >> It is likely due to a missing dependency on
> >> BR2_TOOLCHAIN_HAS_SYNC_1.
> >>
> >> Could you have a look please?
> >>
> >>> + select BR2_PACKAGE_READLINE
> >>> + help
> >>> + Compile CLI example.
> >>> +
> >>> +endif
> >>
> >> Best regards,
> >>
> >> Julien.
> >
> >
> > Links:
> > ------
> > [1] http://libcppconnman.mk
> > [2] http://www.amarulasolutions.com/
>
> Best regards,
>
> Julien.
>
[-- Attachment #1.2: Type: text/html, Size: 8906 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-07-21 20:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 12:22 [Buildroot] [PATCH v3] package/libcppconnman: add new package Andrea Ricchi
2026-07-20 19:22 ` Julien Olivain via buildroot
2026-07-21 7:06 ` Andrea Ricchi
2026-07-21 19:59 ` Julien Olivain via buildroot
2026-07-21 20:47 ` Andrea Ricchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox