You really should make this optional Khem, there's no reason to build with
it by default.

Alex

On Tue, 11 Jan 2022 at 20:38, Khem Raj <[email protected]> wrote:

> 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.patch
>
> diff --git
> a/meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patch
> b/meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patch
> new file mode 100644
> index 0000000000..708595a7f1
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/nautilus/nautilus/liportal-0.5-fix.patch
> @@ -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 */
> diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_41.1.bb
> b/meta-gnome/recipes-gnome/nautilus/nautilus_41.1.bb
> index c64d49b0ba..330c361806 100644
> --- a/meta-gnome/recipes-gnome/nautilus/nautilus_41.1.bb
> +++ b/meta-gnome/recipes-gnome/nautilus/nautilus_41.1.bb
> @@ -22,6 +22,7 @@ inherit gnomebase gsettings gobject-introspection
> gtk-doc gettext features_check
>  def gnome_verdir(v):
>      return oe.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 (#94756): 
https://lists.openembedded.org/g/openembedded-devel/message/94756
Mute This Topic: https://lists.openembedded.org/mt/88357284/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to