summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xdg-desktop-portal-xapp/files/xdg-desktop-portal-xapp-1.0.9-remove-gdk-refs.patch')
-rw-r--r--sys-apps/xdg-desktop-portal-xapp/files/xdg-desktop-portal-xapp-1.0.9-remove-gdk-refs.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/xdg-desktop-portal-xapp/files/xdg-desktop-portal-xapp-1.0.9-remove-gdk-refs.patch b/sys-apps/xdg-desktop-portal-xapp/files/xdg-desktop-portal-xapp-1.0.9-remove-gdk-refs.patch
new file mode 100644
index 000000000000..948fb6ad91f4
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-xapp/files/xdg-desktop-portal-xapp-1.0.9-remove-gdk-refs.patch
@@ -0,0 +1,35 @@
+From b364687b8a696c78f2d3c46e0c45c2dc28e79a33 Mon Sep 17 00:00:00 2001
+From: Michael Webster <miketwebster@gmail.com>
+Date: Sat, 10 Aug 2024 08:06:28 -0400
+Subject: [PATCH] Remove Gdk references and meson dependency.
+
+ref: 54fca8b5b6a2b
+---
+ src/meson.build | 1 -
+ src/settings.c | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/src/meson.build b/src/meson.build
+index f4128c8..a3e8aa5 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -61,7 +61,6 @@ deps = [
+ meson.get_compiler('c').find_library('m'),
+ dependency('glib-2.0', version: '>= 2.44'),
+ dependency('gio-unix-2.0'),
+- dependency('gdk-3.0'),
+ xdg_desktop_portal_dep,
+ ]
+
+diff --git a/src/settings.c b/src/settings.c
+index 55014fb..1e77664 100644
+--- a/src/settings.c
++++ b/src/settings.c
+@@ -24,7 +24,6 @@
+ #include <string.h>
+ #include <glib/gi18n.h>
+ #include <gio/gio.h>
+-#include <gdk/gdk.h>
+
+ #include "settings.h"
+ #include "utils.h"