gtkmm3: depends on libgtk3
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 22 Mar 2016 22:56:37 +0000 (19:56 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Mar 2016 23:03:49 +0000 (00:03 +0100)
packages shouldn't select libgtk3 directly, just depend on it, like for
libgtk2.
In the past libgtk3 didn't require any *GL backend and the dead-end
solution/last resort was the broadway (networked) gdk backend - though
not very useful it didn't require any funky dependencies.
But now we do. Fixes:
http://autobuild.buildroot.net/results/794/794c7ed221432e46a810fc281732ba417cd4cda3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gtkmm3/Config.in

index 8859f6e5c9f030bc0f945e8b4c8e0a0d90392b40..ef62a1f9eb52dd308017f529e834cec88d362aaa 100644 (file)
@@ -1,11 +1,9 @@
-comment "gtkmm3 needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
+comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 4.8"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \
-               || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
-
-comment "gtkmm3 needs an OpenGL EGL backend"
-       depends on !BR2_PACKAGE_HAS_LIBEGL
+               || !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \
+               || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GTKMM3
        bool "gtkmm3"
@@ -20,11 +18,10 @@ config BR2_PACKAGE_GTKMM3
        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
-       depends on BR2_PACKAGE_HAS_LIBEGL # libgtk3 -> libepoxy
+       depends on BR2_PACKAGE_LIBGTK3
        select BR2_PACKAGE_ATKMM
        select BR2_PACKAGE_CAIROMM
        select BR2_PACKAGE_GLIBMM
-       select BR2_PACKAGE_LIBGTK3
        select BR2_PACKAGE_LIBSIGC
        select BR2_PACKAGE_PANGOMM
        help