nautilus: Fix build with libportal >= 0.5
A message that is not in the archive (sent off-list or not yet received): [email protected]
You really should make this optional Khem, there's no reason to build with it by default.
Alex
Quoted 76 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>Cc Alexander Kanavin <[email protected]>Cc Andreas Müller <[email protected]>--- .../nautilus/nautilus/liportal-0.5-fix.patch | 28 +++++++++++++++++++ .../recipes-gnome/nautilus/nautilus_41.1.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644
meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patchdiff --git
a/meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patchb/meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patchnew file mode 100644
index 0000000000..708595a7f1meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patch new file +28
-0@@ -0,0 +1,28 @@ +Fix an issue building Nautilus with libportal-0.5+ +where expected header is moved to different directory +in staging sysroot + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- a/meson.build ++++ b/meson.build +@@ -123,7 +123,7 @@ gtk = dependency('gtk+-3.0', version: '> + libhandy = dependency('libhandy-1', version: '>= 1.1.90') + libportal = [] + if get_option('libportal') +- libportal = dependency('libportal', version: '>= 0.3') ++ libportal = dependency('libportal-gtk3', version: '>= 0.3') + endif + selinux = [] + if get_option('selinux') +--- a/src/nautilus-files-view.c ++++ b/src/nautilus-files-view.c +@@ -92,7 +92,7 @@ + + #ifdef HAVE_LIBPORTAL + #include <libportal/portal.h> +-#include <libportal/portal-gtk3.h> ++#include <libportal-gtk3/portal-gtk3.h> + #endif + + /* Minimum starting update inverval */meta-gnome/recipes-gnome/nautilus/nautilus_41.1.bb +0
-0@@ -22,6 +22,7 @@ inherit gnomebase gsettings gobject-introspectiongtk-doc gettext
features_check
defgnome_verdir(v):
returnoe.utils.trim_version(v, 1)+SRC_URI += "file://liportal-0.5-fix.patch"
SRC_URI[archive.sha256sum] =
"3e633098853711a3e96b12fe9228b3201816e554b2823f161e7d901a8880582f"
REQUIRED_DISTRO_FEATURES= "x11"
--
2.34.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#94755):
https://lists.openembedded.org/g/openembedded-devel/message/94755
Mute This Topic: https://lists.openembedded.org/mt/88357284/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-