Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][PATCH] gtk4: add PACKAGECONFIG for cloudproviders
@ 2023-01-22  7:06 Markus Volk
  2023-01-25 14:24 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Volk @ 2023-01-22  7:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

- Add missing cups runtime dependency
- Create packages for the printbackends only for target
  This fixes:

  NOTE: Multiple providers are available for runtime gtk4-printbackend-cups (gtk4, gtk4-native)
  Consider defining a PREFERRED_RPROVIDER entry to match gtk4-printbackend-cups
  NOTE: Multiple providers are available for runtime gtk4-printbackend-file (gtk4, gtk4-native)
  Consider defining a PREFERRED_RPROVIDER entry to match gtk4-printbackend-file

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-gnome/gtk+/gtk4_4.8.3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gtk+/gtk4_4.8.3.bb b/meta/recipes-gnome/gtk+/gtk4_4.8.3.bb
index 6101905128..5112d3b38b 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.8.3.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.8.3.bb
@@ -65,7 +65,8 @@ PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)
 
 PACKAGECONFIG[x11] = "-Dx11-backend=true,-Dx11-backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes xinerama"
 PACKAGECONFIG[wayland] = "-Dwayland-backend=true,-Dwayland-backend=false,wayland wayland-protocols virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups"
+PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=enabled,-Dcloudproviders=disabled,libcloudproviders"
+PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups"
 PACKAGECONFIG[colord] = "-Dcolord=enabled,-Dcolord=disabled,colord"
 PACKAGECONFIG[iso-codes] = ",,iso-codes,iso-codes"
 PACKAGECONFIG[ffmpeg] = "-Dmedia-ffmpeg=enabled,-Dmedia-ffmpeg=disabled,ffmpeg"
@@ -114,7 +115,7 @@ RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
 RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
 RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}"
 
-PACKAGES_DYNAMIC += "^gtk4-printbackend-.*"
+PACKAGES_DYNAMIC:class-target += "^gtk4-printbackend-.*"
 python populate_packages:prepend () {
     import os.path
 
-- 
2.34.1



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

end of thread, other threads:[~2023-01-25 18:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-22  7:06 [oe-core][PATCH] gtk4: add PACKAGECONFIG for cloudproviders Markus Volk
2023-01-25 14:24 ` Richard Purdie
2023-01-25 18:11   ` Markus Volk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox