summaryrefslogtreecommitdiff
path: root/sys-apps/xdg-desktop-portal-gnome
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-29 03:52:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-29 03:52:19 +0100
commit80422eacf48ea819f1aeefc7a809533aa63fb85a (patch)
tree9f6b06247fc71d25dc56c5140d56d7be0ae379a7 /sys-apps/xdg-desktop-portal-gnome
parentc55c2cf7b5e5e8ce7f21c53ee7996c2ea918279d (diff)
gentoo auto-resync : 29:03:2023 - 03:52:19
Diffstat (limited to 'sys-apps/xdg-desktop-portal-gnome')
-rw-r--r--sys-apps/xdg-desktop-portal-gnome/Manifest3
-rw-r--r--sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch36
-rw-r--r--sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild6
3 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/xdg-desktop-portal-gnome/Manifest b/sys-apps/xdg-desktop-portal-gnome/Manifest
index de4c37ed5efc..3ecd31f98b53 100644
--- a/sys-apps/xdg-desktop-portal-gnome/Manifest
+++ b/sys-apps/xdg-desktop-portal-gnome/Manifest
@@ -1,7 +1,8 @@
+AUX xdg-desktop-portal-gnome-44.0-x11-only.patch 1194 BLAKE2B f1a15a1cced04f05fa26a0f190f22c5c0273470c26e950ea737bb0e5456cc3f5dc0f42d8fbed6ca7a449a16f3e90b231e3037cdb43e8f74062f6d78485ae395a SHA512 79ee72f4705a75b4d2b7088e5cb4abcf5924ccd9326aaf2da7a0971063fe30b58919a96e4b5bbd76ca098e6ab87ba315a5c35c586c9028703f3a48b6b359ff96
DIST xdg-desktop-portal-gnome-43.1.tar.xz 125248 BLAKE2B 5290041b3b0d24c6d62c1433c492fa5b04af80493d192392d6b89839356c1a4f2c74aba5509476bd5df5383375889d50636216b52e2448de1b3c8360501cb16b SHA512 fc9b2a0bf5483194326308099be0cb76245644bfc26546a4e63679eb695400cf254aa9e85de1b168e07ba7f05eb4f9fe4fde31853bcee4bd8bfb94063933ebc3
DIST xdg-desktop-portal-gnome-44.0.tar.xz 127076 BLAKE2B e8775fe8017b5112bba995cea830a64b5f77222e40f09bf5318bed720274a7516cd2178b6d132b71b9608aae2885b9f9cab679a5abce25cd099591633a8a51e7 SHA512 1aa8eae420f4bf00ea34b3ad665edad89f9444bd2d5baa84d1f96b303ab072c66c139eb760cfbfd796691bda745f3eb5455f8d805fb042c8037eb786a730eb95
DIST xdg-desktop-portal-gnome-44.rc.tar.xz 127040 BLAKE2B b762d1e29cad9ed9afa98cfd98793a2b27c1553beccdaf6bccceaf642cd35d9d28bcbc3b4be891d1fb54efe99a27d62cf190f317deb26ea837b73b0448272a58 SHA512 bb3be21cbb4cb0e1fb22ae70d4c47cbd8b8bc6e87d4495f967fb4f8494cdcb0f1b3d03c15d12ed9cec4fca31151e99a967b38b3eb46cfdcc791f399185ceeacc
EBUILD xdg-desktop-portal-gnome-43.1.ebuild 833 BLAKE2B fc1bfbcd80ec123f7b909b1baca1772e33b7c362371a1afa179f05fb3450b1ebb2ed48419b9f60aab1ca12e84cd3b27d96bbac3b456ba617b6b0bcf55dca58f3 SHA512 144499e267d7cd112d0eee9486b13f8f0c9699ab0b87af7972b9ee8ec5a869d57dd0d36e9fb3d4b5e9ffd624048cc09c48338e40f2e4d0d72fbaa0a649a60bfb
-EBUILD xdg-desktop-portal-gnome-44.0.ebuild 931 BLAKE2B 1b6e829f729303950910ecbf946d9ca115765135666999d6f045bee68f812f4ec7250736b11016a4c21d1e83e28b4eefdc5ce1dc758de2464ba7d5dc48b1001e SHA512 a9e893efbb70f4a8a06d896e87459d9f934d844b7150438ae55b0441e4b6538129f492f705b78b3e40bab5cb89df541bf1e6416715a0a6ef4d5cba778610aa18
+EBUILD xdg-desktop-portal-gnome-44.0.ebuild 1070 BLAKE2B 55ee293070c3e21b79f4459d97859de910ceddc9aa1f9316d3a95f44f330c5916003e102b6610f404173f30448955e92f352b648cab5d0a0f5ab7ef3c29a746b SHA512 0f50a1111f5d4f0df9ea66f448d97759fdc1f5fe39927230d3bb6f1112d20a794450e01ab3f4e79e3d0a4e2e13aa81eb36a560abc6905b95c5855b6edc14955d
EBUILD xdg-desktop-portal-gnome-44_rc.ebuild 1007 BLAKE2B 50428e53058ad711eb91c9f650e0b45f27b12f243ce717bec4684ba226b50225789d77e94ba058e6a9b9f85fad62b8bb8b06dab3d669b397d16074eca8a065d8 SHA512 3a623df49e37712853af2a3882a0c0613ba6c6d98ed2056b3beda2ccbf4bb28a3fc490d0ad45126a5b15b8b6ca568cf6d47f16af9de4b87970c7762ddd5bb7e4
MISC metadata.xml 365 BLAKE2B 2e19983c4095f43cd1c2c15ffadd6d2fec127291bc3017b788cad8f54eda2767ba7bacb73ebd64b3d63f9e6ced1d95c07ad1c7f48f5b0e45ae1c7439b8ca849f SHA512 be38ae716e9291da42d39c6c756f8c7f4d0e65fc10fc405d5dc086643d2cddc5b6e101be1fadae9aa5508085964c550262703b949b03d29b130744d760ad4eb7
diff --git a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch
new file mode 100644
index 000000000000..0c7af9253bae
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-44.0-x11-only.patch
@@ -0,0 +1,36 @@
+From d19e5a66fbba22274a774ac603d2ecb3ff528779 Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Tue, 28 Mar 2023 20:42:32 +0200
+Subject: [PATCH] Do not reference wayland routines without wayland support
+
+* If GTK4 is built without Wayland support, there will be no
+ `init_external_window_wayland_display` symbol.
+
+Bug: https://bugs.gentoo.org/903189
+---
+ src/externalwindow.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/externalwindow.c b/src/externalwindow.c
+index c3ea3d7..f7372bb 100644
+--- a/src/externalwindow.c
++++ b/src/externalwindow.c
+@@ -90,10 +90,14 @@ init_external_window_display (GError **error)
+ const char *session_type;
+
+ session_type = getenv ("XDG_SESSION_TYPE");
++#ifdef HAVE_GTK_WAYLAND
+ if (g_strcmp0 (session_type, "wayland") == 0)
+ return init_external_window_wayland_display (error);
+- else if (g_strcmp0 (session_type, "x11") == 0)
++#endif
++#ifdef HAVE_GTK_X11
++ if (g_strcmp0 (session_type, "x11") == 0)
+ return init_external_window_x11_display (error);
++#endif
+
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+ "Unsupported or missing session type '%s'",
+--
+GitLab
+
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild
index ef62dd2dfcc4..e902e5b3a415 100644
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild
+++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-44.0.ebuild
@@ -34,6 +34,12 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )
"
+PATCHES=(
+ # backport
+ # https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/83
+ "${FILESDIR}"/${P}-x11-only.patch
+)
+
src_configure() {
local emesonargs=(
-Dsystemduserunitdir="$(systemd_get_userunitdir)"