* [Buildroot] [PATCH 1/1] package/libsigc: needs C++17
@ 2021-12-28 14:28 Fabrice Fontaine
2021-12-28 20:41 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-28 14:28 UTC (permalink / raw)
To: buildroot; +Cc: Bartosz Golaszewski, Fabrice Fontaine, James Knight
C++17 is mandatory since bump to version 3.0.7 in commit
d676c0e494ff75f00402f8bbd4afa90d27cea89b and
https://github.com/libsigcplusplus/libsigcplusplus/commit/617276cf47db463159263c359f7db09fcb6aaa9e
Fixes:
- http://autobuild.buildroot.org/results/6753fc9dce030a7d8be9afd202a5e27bc09a0041
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/atkmm/Config.in | 6 +++---
package/cairomm/Config.in | 6 +++---
package/glibmm/Config.in | 6 +++---
package/gstreamer1/gstreamer1-mm/Config.in | 6 +++---
package/gtkmm3/Config.in | 6 +++---
package/libsigc/Config.in | 6 +++---
package/libsigrok/Config.in | 6 +++---
package/libxmlpp/Config.in | 6 +++---
package/pangomm/Config.in | 6 +++---
package/pulseview/Config.in | 6 +++---
10 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/package/atkmm/Config.in b/package/atkmm/Config.in
index ce1e24d4ee..aa58f8d593 100644
--- a/package/atkmm/Config.in
+++ b/package/atkmm/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_ATKMM
bool "atkmm"
depends on BR2_INSTALL_LIBSTDCPP # glibmm
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2
depends on BR2_USE_MMU # atk/glibmm -> libglib2
depends on BR2_USE_WCHAR # atk/glibmm -> libglib2
@@ -14,7 +14,7 @@ config BR2_PACKAGE_ATKMM
http://www.gtkmm.org/
-comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/cairomm/Config.in b/package/cairomm/Config.in
index 840549b47c..dae52f01f7 100644
--- a/package/cairomm/Config.in
+++ b/package/cairomm/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_CAIROMM
bool "cairomm"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
depends on BR2_USE_MMU # libglib2
@@ -13,7 +13,7 @@ config BR2_PACKAGE_CAIROMM
http://www.gtkmm.org/
-comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
+comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
diff --git a/package/glibmm/Config.in b/package/glibmm/Config.in
index c7b4082e0e..2dfc861817 100644
--- a/package/glibmm/Config.in
+++ b/package/glibmm/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_GLIBMM
bool "glibmm"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # regex_replace
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
@@ -12,7 +12,7 @@ config BR2_PACKAGE_GLIBMM
http://www.gtkmm.org/
-comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gstreamer1/gstreamer1-mm/Config.in b/package/gstreamer1/gstreamer1-mm/Config.in
index 471c083ce7..3225e394f4 100644
--- a/package/gstreamer1/gstreamer1-mm/Config.in
+++ b/package/gstreamer1/gstreamer1-mm/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_GSTREAMER1_MM
bool "gstreamer1-mm"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
@@ -23,7 +23,7 @@ config BR2_PACKAGE_GSTREAMER1_MM
https://gstreamer.freedesktop.org/bindings/cplusplus.html
-comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gtkmm3/Config.in b/package/gtkmm3/Config.in
index 8762c7208d..3c1c6f36e8 100644
--- a/package/gtkmm3/Config.in
+++ b/package/gtkmm3/Config.in
@@ -1,7 +1,7 @@
-comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \
|| !BR2_TOOLCHAIN_HAS_THREADS
@@ -14,7 +14,7 @@ config BR2_PACKAGE_GTKMM3
depends on !BR2_nios2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/libgtk3 -> libglib2
depends on BR2_USE_MMU # *mm/libgtk3 -> libglib2
depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2
diff --git a/package/libsigc/Config.in b/package/libsigc/Config.in
index e5157e87b4..428774a3ab 100644
--- a/package/libsigc/Config.in
+++ b/package/libsigc/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_LIBSIGC
bool "libsigc++"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_INSTALL_LIBSTDCPP
help
libsigc++ implements a typesafe callback system for standard
@@ -10,5 +10,5 @@ config BR2_PACKAGE_LIBSIGC
https://libsigcplusplus.github.io/libsigcplusplus/
-comment "libsigc++ needs a toolchain w/ C++, gcc >= 4.8"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+comment "libsigc++ needs a toolchain w/ C++, gcc >= 7"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
diff --git a/package/libsigrok/Config.in b/package/libsigrok/Config.in
index 69531e621c..151c432295 100644
--- a/package/libsigrok/Config.in
+++ b/package/libsigrok/Config.in
@@ -25,16 +25,16 @@ if BR2_PACKAGE_LIBSIGROK
config BR2_PACKAGE_LIBSIGROKCXX
bool "build C++ bindings"
depends on BR2_INSTALL_LIBSTDCPP
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen
select BR2_PACKAGE_GLIBMM
select BR2_PACKAGE_HOST_DOXYGEN
help
Build libsigrok C++ bindings as well.
-comment "C++ bindings need a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9"
+comment "C++ bindings need a toolchain w/ C++, gcc >= 7, host gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || \
- !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_HOST_GCC_AT_LEAST_4_9
endif
diff --git a/package/libxmlpp/Config.in b/package/libxmlpp/Config.in
index 3249a84398..0b48e1082d 100644
--- a/package/libxmlpp/Config.in
+++ b/package/libxmlpp/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_LIBXMLPP
bool "libxml++"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2
@@ -12,7 +12,7 @@ config BR2_PACKAGE_LIBXMLPP
https://libxmlplusplus.github.io/libxmlplusplus/
-comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 7"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU
diff --git a/package/pangomm/Config.in b/package/pangomm/Config.in
index 0702b8c5bf..c23ac4aaa8 100644
--- a/package/pangomm/Config.in
+++ b/package/pangomm/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_PANGOMM
bool "pangomm"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2
depends on BR2_USE_MMU # *mm/pango -> libglib2
depends on BR2_USE_WCHAR # *mm/pango -> libglib2
@@ -15,8 +15,8 @@ config BR2_PACKAGE_PANGOMM
http://www.gtkmm.org/
-comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/pulseview/Config.in b/package/pulseview/Config.in
index e7a73e3765..f122551b9f 100644
--- a/package/pulseview/Config.in
+++ b/package/pulseview/Config.in
@@ -10,7 +10,7 @@ config BR2_PACKAGE_PULSEVIEW
# libsigrok->libzip
depends on !BR2_STATIC_LIBS
# libsigrok
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
depends on BR2_HOST_GCC_AT_LEAST_4_9
depends on BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBSIGROK
@@ -30,11 +30,11 @@ config BR2_PACKAGE_PULSEVIEW
http://sigrok.org/wiki/PulseView
-comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 4.9, host gcc >= 4.9"
+comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 7, host gcc >= 4.9"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_QT5
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|| BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \
!BR2_HOST_GCC_AT_LEAST_4_9
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-28 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-28 14:28 [Buildroot] [PATCH 1/1] package/libsigc: needs C++17 Fabrice Fontaine
2021-12-28 20:41 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox