Skip to contentSkip to conversation

flatpak: add PACKAGECONFIG for dconf

PATCH In review [email protected] 3 participants 4 messages Mar 31 – Apr 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flatpak: add PACKAGECONFIG for dconf

From: Markus Volk <[email protected]>

Disable by default to avoid a requirement for meta-gnome

---
 meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +1 -2
index 639027701b..3a2974294f 100644
@@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
 DEPENDS = " \
     appstream \
     bison-native \
-    dconf \
     fuse3 \
     gdk-pixbuf \
     glib-2.0 \
@@ -38,7 +37,6 @@ DEPENDS = " \
 
 RDEPENDS:${PN} = " \
     ca-certificates \
-    dconf \
     flatpak-xdg-utils \
     fuse3-utils \
 "
@@ -51,6 +49,7 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
 GTKDOC_MESON_DISABLE_FLAG = 'disabled'
 
 PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
+PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"
 PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
 PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
 PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
#1 lore raw
Quoted 32 lines · Martin Jansa via lists.openembedded.org

From: Markus Volk <[email protected]>

Disable by default to avoid a requirement for meta-gnome

---
 meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -2
index 639027701b..3a2974294f 100644
@@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
 DEPENDS = " \
     appstream \
     bison-native \
-    dconf \
     fuse3 \
     gdk-pixbuf \
     glib-2.0 \
@@ -38,7 +37,6 @@ DEPENDS = " \
 
 RDEPENDS:${PN} = " \
     ca-certificates \
-    dconf \
     flatpak-xdg-utils \
     fuse3-utils \
 "

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb GTKDOC_MESON_ENABLE_FLAG = 'enabled' · line 52

Quoted 4 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +1 -0
@@ -51,6 +49,7 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
 GTKDOC_MESON_DISABLE_FLAG = 'disabled'
 
 PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
+PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"

This will change the behaviour for this recipe. Why is it needed? Are there problems if it's left enabled?

Quoted 12 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -1
 PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
 PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
 PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#125884): https://lists.openembedded.org/g/openembedded-devel/message/125884
Mute This Topic: https://lists.openembedded.org/mt/118593820/3616702
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 38 lines · Anuj Mittal via lists.openembedded.org
Quoted 5 lines · Martin Jansa via lists.openembedded.org

From: Markus Volk <[email protected]>

Disable by default to avoid a requirement for meta-gnome

Review

Quoted 7 lines
---
 meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb

Quoted 22 lines

index 639027701b..3a2974294f 100644

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -2
@@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
 DEPENDS = " \
     appstream \
     bison-native \
-    dconf \
     fuse3 \
     gdk-pixbuf \
     glib-2.0 \
@@ -38,7 +37,6 @@ DEPENDS = " \
 
 RDEPENDS:${PN} = " \
     ca-certificates \
-    dconf \
     flatpak-xdg-utils \
     fuse3-utils \
 "
@@ -51,6 +49,7 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
 GTKDOC_MESON_DISABLE_FLAG = 'disabled'
 
Quoted 6 lines

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb GTKDOC_MESON_ENABLE_FLAG = 'enabled' · line 52

Quoted 2 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +1 -0
 PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
+PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"

This will change the behaviour for this recipe. Why is it needed? Are there problems if it's left enabled?

meta-oe does not depend on meta-gnome but its vice versa. If this option is kept enabled by default
its adding dep on dconf which comes from meta-gnome. We do not want that

Quoted 21 lines

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb GTKDOC_MESON_ENABLE_FLAG = 'enabled' · line 53

Quoted 3 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -0
 PACKAGECONFIG[docbook_docs] =

"-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb GTKDOC_MESON_ENABLE_FLAG = 'enabled' · line 55

Quoted 5 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -0
 PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
 PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#125974):
https://lists.openembedded.org/g/openembedded-devel/message/125974
Mute This Topic: https://lists.openembedded.org/mt/118593820/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 49 lines · Khem Raj
Quoted 38 lines · Anuj Mittal via lists.openembedded.org
Quoted 34 lines · Martin Jansa via lists.openembedded.org

From: Markus Volk <[email protected]>

Disable by default to avoid a requirement for meta-gnome

---
 meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +0 -2
index 639027701b..3a2974294f 100644
@@ -21,7 +21,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
 DEPENDS = " \
     appstream \
     bison-native \
-    dconf \
     fuse3 \
     gdk-pixbuf \
     glib-2.0 \
@@ -38,7 +37,6 @@ DEPENDS = " \
 
 RDEPENDS:${PN} = " \
     ca-certificates \
-    dconf \
     flatpak-xdg-utils \
     fuse3-utils \
 "
@@ -51,6 +49,7 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
 GTKDOC_MESON_DISABLE_FLAG = 'disabled'
 
Quoted 5 lines

meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb GTKDOC_MESON_ENABLE_FLAG = 'enabled' · line 52

Quoted 2 lines
meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb +1 -0
 PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
+PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"

This will change the behaviour for this recipe. Why is it needed? Are there problems if it's left enabled?

Quoted 2 lines

meta-oe does not depend on meta-gnome but its vice versa. If this option is kept enabled by default its adding dep on dconf which comes from meta-gnome. We do not want that

Yes, exactly this, as the commit message says.

I've noticed this when running "bitbake -nk world" and this causing:

ERROR: Nothing PROVIDES 'dconf' (but meta-oe/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb DEPENDS on or otherwise requires it). Close matches:
dnf
gconf
obconf
ERROR: Nothing RPROVIDES 'dconf' (but meta-oe/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'dconf' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['dconf']
ERROR: Nothing RPROVIDES 'flatpak' (but meta-oe/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'flatpak'
NOTE: Runtime target 'flatpak' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['flatpak']
ERROR: Nothing RPROVIDES 'flatpak-dev' (but meta-oe/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'flatpak-dev'
NOTE: Runtime target 'flatpak-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['flatpak-dev']
ERROR: Nothing RPROVIDES 'xdg-desktop-portal' (but meta-oe/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'xdg-desktop-portal'
NOTE: Runtime target 'xdg-desktop-portal' is unbuildable, removing... Missing or unbuildable dependency chain was: ['xdg-desktop-portal']
ERROR: Nothing RPROVIDES 'xdg-desktop-portal-dev' (but meta-oe/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'xdg-desktop-portal-dev'
NOTE: Runtime target 'xdg-desktop-portal-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['xdg-desktop-portal-dev']