From: Markus Volk Date: Mon, 23 Jan 2023 17:59:48 +0000 (+0100) Subject: gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1891 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac88d032968f4d005a61fc34f7e3e6e55426ccd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend Add options to enable support for libcloudprovider and tracker If the cups backend is enabled, the mandatory file backend gets disabled and thus configure fails. Fix it by not defining the print-backend and just include cups as a dependency. Additionally add it as a runtime dependency. Now, if cups gets enabled, it should include the following print-backends by default: cups,lpr,file Signed-off-by: Markus Volk Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 1d726b56969..8d01e6077fd 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc @@ -41,8 +41,10 @@ PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontcon # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy" PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native" -PACKAGECONFIG[cups] = "-Dprint_backends=cups,-Dprint_backends=file,cups" +PACKAGECONFIG[cups] = ",,cups,cups" PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord" +PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders" +PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners" prepare_gtk_scripts() { mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0