[nautilus/wip/exalm/dark: 1/2] build: Adapt to libportal changes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/exalm/dark: 1/2] build: Adapt to libportal changes
- Date: Sat, 11 Dec 2021 13:01:23 +0000 (UTC)
commit 86db3bf1ca574a9db21202ffa656f5a9624d55d4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Dec 11 17:59:55 2021 +0500
build: Adapt to libportal changes
build-aux/flatpak/org.gnome.Nautilus.json | 3 ++-
meson.build | 1 +
src/meson.build | 1 +
src/nautilus-files-view.c | 2 +-
4 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json
index e4ab02ef2..c0ff8a1a6 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.json
+++ b/build-aux/flatpak/org.gnome.Nautilus.json
@@ -118,7 +118,8 @@
"builddir": true,
"config-opts": [
"--libdir=/app/lib",
- "--buildtype=debugoptimized"
+ "--buildtype=debugoptimized",
+ "-Dbackends=['gtk3']"
],
"sources" : [
{
diff --git a/meson.build b/meson.build
index 8cd9c287d..7462cef8c 100644
--- a/meson.build
+++ b/meson.build
@@ -124,6 +124,7 @@ libhandy = dependency('libhandy-1', version: '>= 1.1.90')
libportal = []
if get_option('libportal')
libportal = dependency('libportal', version: '>= 0.3')
+ libportal_gtk3 = dependency('libportal-gtk3', version: '>= 0.3')
endif
selinux = []
if get_option('selinux')
diff --git a/src/meson.build b/src/meson.build
index 39e0b0370..c13f0b75f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -283,6 +283,7 @@ nautilus_deps = [
libgd_dep,
libhandy,
libportal,
+ libportal_gtk3,
nautilus_extension,
selinux,
tracker_sparql,
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 4e57ae61e..df8059d05 100644
--- 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]