* [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/
@ 2023-03-28 20:50 David Seifert
0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2023-03-28 20:50 UTC (permalink / raw
To: gentoo-commits
commit: 47a3d74dc5c3f919f857429dbbc95a11c1496fdf
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 20:50:16 2023 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 20:50:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a3d74d
sys-apps/xdg-desktop-portal-gnome: fix USE="-wayland" build
Closes: https://bugs.gentoo.org/903189
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../xdg-desktop-portal-gnome-44.0-x11-only.patch | 36 ++++++++++++++++++++++
.../xdg-desktop-portal-gnome-44.0.ebuild | 6 ++++
2 files changed, 42 insertions(+)
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)"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/
@ 2023-12-12 2:50 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-12-12 2:50 UTC (permalink / raw
To: gentoo-commits
commit: b0fdff8c8f3c36cded1c82d80d9d955d6da94bdf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 02:45:35 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 02:45:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fdff8c
sys-apps/xdg-desktop-portal-gnome: fix modern C issue
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../xdg-desktop-portal-gnome/files/45.1-c99.patch | 25 +++++++++++
.../xdg-desktop-portal-gnome-45.1-r1.ebuild | 49 ++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/sys-apps/xdg-desktop-portal-gnome/files/45.1-c99.patch b/sys-apps/xdg-desktop-portal-gnome/files/45.1-c99.patch
new file mode 100644
index 000000000000..884b0d9c15a6
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/files/45.1-c99.patch
@@ -0,0 +1,25 @@
+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/112
+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/134
+
+From 5fb3c0c23ccd76c6f8239bbb66c3fb1230208d5e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tyrychtr?= <ltyrycht@redhat.com>
+Date: Mon, 11 Dec 2023 11:36:13 +0100
+Subject: [PATCH] input-capture: Pass correct pointer type to
+ gtk_window_add_group
+
+It produced only a warning, but will be an error in the future.
+
+Fixes #112
+--- a/src/inputcapture.c
++++ b/src/inputcapture.c
+@@ -409,7 +409,7 @@ create_input_capture_dialog (GDBusMethodInvocation *invocation,
+ gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
+
+ window_group = gtk_window_group_new ();
+- gtk_window_group_add_window (window_group, dialog);
++ gtk_window_group_add_window (window_group, GTK_WINDOW (dialog));
+
+ dialog_handle = g_new0 (InputCaptureDialogHandle, 1);
+ dialog_handle->request = g_object_ref (request);
+--
+GitLab
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
new file mode 100644
index 000000000000..e4d9f570f008
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson systemd xdg
+
+DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="wayland X"
+
+# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
+# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
+DEPEND="
+ dev-libs/glib:2
+ gnome-base/gnome-desktop:4=
+ >=gui-libs/libadwaita-1.2.0:1
+ media-libs/fontconfig
+ sys-apps/dbus
+ >=sys-apps/xdg-desktop-portal-1.17.0
+ >=sys-apps/xdg-desktop-portal-gtk-1.14.0
+ gui-libs/gtk:4[wayland?,X?]
+ X? ( x11-libs/libX11 )
+ wayland? ( dev-libs/wayland )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-util/gdbus-codegen
+ sys-devel/gettext
+ virtual/pkgconfig
+
+ wayland? ( dev-util/wayland-scanner )
+"
+
+PATCHES=(
+ "${FILESDIR}"/45.1-c99.patch
+)
+
+src_configure() {
+ local emesonargs=(
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+ )
+
+ meson_src_configure
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/
@ 2025-06-16 19:34 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2025-06-16 19:34 UTC (permalink / raw
To: gentoo-commits
commit: 0811b74b40165befd943025472d2b2797b6e5f1b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 19:33:02 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 19:34:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0811b74b
sys-apps/xdg-desktop-portal-gnome: backport Valgrind fix to 46.2-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../xdg-desktop-portal-gnome-46.2-valgrind.patch | 65 ++++++++++++++++++++++
.../xdg-desktop-portal-gnome-46.2-r1.ebuild | 49 ++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch
new file mode 100644
index 000000000000..2d48f87de6fd
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch
@@ -0,0 +1,65 @@
+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/commit/7c440350b17a6007d2054db741340993b6e9aac7
+
+From 7c440350b17a6007d2054db741340993b6e9aac7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
+Date: Mon, 27 May 2024 10:56:00 +0200
+Subject: [PATCH] screencast: Fix valgrind warning
+
+Fixes the following warning when cancelling a screen cast dialog.
+
+==343654== Invalid read of size 8
+==343654== at 0x48486A: screen_cast_dialog_handle_free (screencast.c:103)
+==343654== by 0x4848F9: screen_cast_dialog_handle_close (screencast.c:113)
+==343654== by 0x48640D: screen_cast_session_close (screencast.c:916)
+==343654== by 0x489BE6: session_close (session.c:87)
+==343654== by 0x489C7B: handle_close (session.c:117)
+==343654== by 0x410696: _g_dbus_codegen_marshal_BOOLEAN__OBJECT (xdg-desktop-portal-dbus.c:444)
+==343654== by 0x436254: xdp_impl_session_method_marshal_close (xdg-desktop-portal-dbus.c:28756)
+==343654== by 0x4CF9567: g_closure_invoke (gclosure.c:833)
+==343654== by 0x4D0C5FB: signal_emit_unlocked_R.isra.0 (gsignal.c:3928)
+==343654== by 0x4D1311A: signal_emitv_unlocked (gsignal.c:3212)
+==343654== by 0x4D1311A: g_signal_emitv (gsignal.c:3112)
+==343654== by 0x43772F: _xdp_impl_session_skeleton_handle_method_call (xdg-desktop-portal-dbus.c:29485)
+==343654== by 0x4C24D21: g_dbus_interface_method_dispatch_helper (gdbusinterfaceskeleton.c:618)
+==343654== Address 0x1c5acb10 is 16 bytes inside a block of size 40 free'd
+==343654== at 0x4845B2C: free (vg_replace_malloc.c:985)
+==343654== by 0x4848DE: screen_cast_dialog_handle_free (screencast.c:107)
+==343654== by 0x4848F9: screen_cast_dialog_handle_close (screencast.c:113)
+==343654== by 0x484C9C: on_request_handle_close_cb (screencast.c:216)
+==343654== by 0x410696: _g_dbus_codegen_marshal_BOOLEAN__OBJECT (xdg-desktop-portal-dbus.c:444)
+==343654== by 0x42EE5A: xdp_impl_request_method_marshal_close (xdg-desktop-portal-dbus.c:24008)
+==343654== by 0x4CF9567: g_closure_invoke (gclosure.c:833)
+==343654== by 0x4D0BFC8: signal_emit_unlocked_R.isra.0 (gsignal.c:3888)
+==343654== by 0x4D1311A: signal_emitv_unlocked (gsignal.c:3212)
+==343654== by 0x4D1311A: g_signal_emitv (gsignal.c:3112)
+==343654== by 0x42FE83: _xdp_impl_request_skeleton_handle_method_call (xdg-desktop-portal-dbus.c:24590)
+==343654== by 0x4C24D21: g_dbus_interface_method_dispatch_helper (gdbusinterfaceskeleton.c:618)
+==343654== by 0x4C0A837: call_in_idle_cb (gdbusconnection.c:5013)
+
+
+(cherry picked from commit 9a4dffaf775f6bdb372768f568167fa2c1187257)
+---
+ src/screencast.c | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/src/screencast.c b/src/screencast.c
+index 33d1af3..4bc993f 100644
+--- a/src/screencast.c
++++ b/src/screencast.c
+@@ -211,9 +211,12 @@ on_request_handle_close_cb (XdpImplRequest *object,
+ GDBusMethodInvocation *invocation,
+ ScreenCastDialogHandle *dialog_handle)
+ {
+- cancel_start_session (dialog_handle->session, 2);
++ ScreenCastSession *screen_cast_session = dialog_handle->session;
+
+- screen_cast_dialog_handle_close (dialog_handle);
++ cancel_start_session (screen_cast_session, 2);
++
++ g_clear_pointer (&screen_cast_session->dialog_handle,
++ screen_cast_dialog_handle_close);
+
+ return FALSE;
+ }
+--
+GitLab
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild
new file mode 100644
index 000000000000..d15b5bfd140f
--- /dev/null
+++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson systemd xdg
+
+DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="wayland X"
+
+# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
+# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
+DEPEND="
+ dev-libs/glib:2
+ gnome-base/gnome-desktop:4=
+ >=gui-libs/libadwaita-1.4.0:1
+ media-libs/fontconfig
+ sys-apps/dbus
+ >=sys-apps/xdg-desktop-portal-1.18.2
+ >=sys-apps/xdg-desktop-portal-gtk-1.14.0
+ gui-libs/gtk:4[wayland?,X?]
+ X? ( x11-libs/libX11 )
+ wayland? ( dev-libs/wayland )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-util/gdbus-codegen
+ sys-devel/gettext
+ virtual/pkgconfig
+
+ wayland? ( dev-util/wayland-scanner )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-46.2-valgrind.patch
+)
+
+src_configure() {
+ local emesonargs=(
+ -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+ )
+
+ meson_src_configure
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/
@ 2025-08-01 15:31 Pacho Ramos
0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2025-08-01 15:31 UTC (permalink / raw
To: gentoo-commits
commit: b2ca84ca9e0be7694b9bf4d37635ac002ef9d42a
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 1 15:23:56 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Aug 1 15:23:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ca84ca
sys-apps/xdg-desktop-portal-gnome: drop 46.2, 46.2-r1, 47.1, 47.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sys-apps/xdg-desktop-portal-gnome/Manifest | 3 -
.../xdg-desktop-portal-gnome-46.2-valgrind.patch | 65 ----------------------
.../xdg-desktop-portal-gnome-46.2-r1.ebuild | 49 ----------------
.../xdg-desktop-portal-gnome-46.2.ebuild | 45 ---------------
.../xdg-desktop-portal-gnome-47.1.ebuild | 56 -------------------
.../xdg-desktop-portal-gnome-47.2.ebuild | 56 -------------------
6 files changed, 274 deletions(-)
diff --git a/sys-apps/xdg-desktop-portal-gnome/Manifest b/sys-apps/xdg-desktop-portal-gnome/Manifest
index e6bde3cd6f80..09536aa1b07a 100644
--- a/sys-apps/xdg-desktop-portal-gnome/Manifest
+++ b/sys-apps/xdg-desktop-portal-gnome/Manifest
@@ -1,5 +1,2 @@
-DIST xdg-desktop-portal-gnome-46.2.tar.xz 161088 BLAKE2B 586729957351a41cc483e68fc3f8774f662542f8f8e7bb18228ba8adbe852a030bea18ba71192ce9d2219e10199d3b0b4d699d864dbf202a43dbd860f73b7916 SHA512 8257a30fd2303e32c6eebd2fd97e876f2776aeb7442de96040d7fdb5961b674272d03c24ebd89bfb55a88bd668ae75bde3f3405a26cda48b93c23033d0d7bde5
-DIST xdg-desktop-portal-gnome-47.1.tar.xz 163448 BLAKE2B dfaa078689f5f897c8deb289ff21339cab13b01a7ec5e1367da0e0488a4b95c08d6f7778f53fbb4dcffe766093117c41b175bfbce840587168f146245fcceea9 SHA512 bc4118b56baed90c42ae75c99c911d11d1541c8e2d4629672621d29217bc49bfa37218a9b27bd4b2712d95d2b6dbab36212687a6d15bca33467bb8dbde047ef3
-DIST xdg-desktop-portal-gnome-47.2.tar.xz 163904 BLAKE2B 534704a415a2bc11f29119cd33c3ddff435c9fa8ef81303ddd21d1465486061dda73d700645840cf612b10b46d94f3d401cb2c3e04c05496be1a0d4c03eb524e SHA512 0be371c1891544eea4e20665c2b8b79435a505a5245c3ae98e8378b33a7c9569bad17e1c9d9c23919377447aff85734fdaa394b0a93e5e14d985696c1694a5bf
DIST xdg-desktop-portal-gnome-47.3.tar.xz 163996 BLAKE2B 24434f86c92881179ade791c020c6be9565365edc44a68215773c53308e89bd4215b2e9e2108f2587fc93d8cad28aaf534c03dc531244188d8b91e055d5a9ccf SHA512 4d5dc6e4ff151dbe0a50b40d2adf3a1b2c30efaa2d0bc63a69f4d7cb57d2aad695a145b2a4a49c9abc9140549d264c18547f70f3f25b9fbd18f13ae7c52cbd9a
DIST xdg-desktop-portal-gnome-48.0.tar.xz 192012 BLAKE2B b243b711a11f73bcc2997e632d41274ee5536d4111347f6a10f04de5287202f22a2a6abe30caa678a230abdd0b8b9d67faa4ed6e7290b00abf37e7021be62f85 SHA512 82efcee0799ece8a5bc7bdf1fcfeed46757a42e4d009fc7a6e8615707f698294708bac411d7651c8e387716d5ad8791565a796936bf231f9b55b3d720dae522a
diff --git a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch b/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch
deleted file mode 100644
index 2d48f87de6fd..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/files/xdg-desktop-portal-gnome-46.2-valgrind.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/commit/7c440350b17a6007d2054db741340993b6e9aac7
-
-From 7c440350b17a6007d2054db741340993b6e9aac7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
-Date: Mon, 27 May 2024 10:56:00 +0200
-Subject: [PATCH] screencast: Fix valgrind warning
-
-Fixes the following warning when cancelling a screen cast dialog.
-
-==343654== Invalid read of size 8
-==343654== at 0x48486A: screen_cast_dialog_handle_free (screencast.c:103)
-==343654== by 0x4848F9: screen_cast_dialog_handle_close (screencast.c:113)
-==343654== by 0x48640D: screen_cast_session_close (screencast.c:916)
-==343654== by 0x489BE6: session_close (session.c:87)
-==343654== by 0x489C7B: handle_close (session.c:117)
-==343654== by 0x410696: _g_dbus_codegen_marshal_BOOLEAN__OBJECT (xdg-desktop-portal-dbus.c:444)
-==343654== by 0x436254: xdp_impl_session_method_marshal_close (xdg-desktop-portal-dbus.c:28756)
-==343654== by 0x4CF9567: g_closure_invoke (gclosure.c:833)
-==343654== by 0x4D0C5FB: signal_emit_unlocked_R.isra.0 (gsignal.c:3928)
-==343654== by 0x4D1311A: signal_emitv_unlocked (gsignal.c:3212)
-==343654== by 0x4D1311A: g_signal_emitv (gsignal.c:3112)
-==343654== by 0x43772F: _xdp_impl_session_skeleton_handle_method_call (xdg-desktop-portal-dbus.c:29485)
-==343654== by 0x4C24D21: g_dbus_interface_method_dispatch_helper (gdbusinterfaceskeleton.c:618)
-==343654== Address 0x1c5acb10 is 16 bytes inside a block of size 40 free'd
-==343654== at 0x4845B2C: free (vg_replace_malloc.c:985)
-==343654== by 0x4848DE: screen_cast_dialog_handle_free (screencast.c:107)
-==343654== by 0x4848F9: screen_cast_dialog_handle_close (screencast.c:113)
-==343654== by 0x484C9C: on_request_handle_close_cb (screencast.c:216)
-==343654== by 0x410696: _g_dbus_codegen_marshal_BOOLEAN__OBJECT (xdg-desktop-portal-dbus.c:444)
-==343654== by 0x42EE5A: xdp_impl_request_method_marshal_close (xdg-desktop-portal-dbus.c:24008)
-==343654== by 0x4CF9567: g_closure_invoke (gclosure.c:833)
-==343654== by 0x4D0BFC8: signal_emit_unlocked_R.isra.0 (gsignal.c:3888)
-==343654== by 0x4D1311A: signal_emitv_unlocked (gsignal.c:3212)
-==343654== by 0x4D1311A: g_signal_emitv (gsignal.c:3112)
-==343654== by 0x42FE83: _xdp_impl_request_skeleton_handle_method_call (xdg-desktop-portal-dbus.c:24590)
-==343654== by 0x4C24D21: g_dbus_interface_method_dispatch_helper (gdbusinterfaceskeleton.c:618)
-==343654== by 0x4C0A837: call_in_idle_cb (gdbusconnection.c:5013)
-
-
-(cherry picked from commit 9a4dffaf775f6bdb372768f568167fa2c1187257)
----
- src/screencast.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/src/screencast.c b/src/screencast.c
-index 33d1af3..4bc993f 100644
---- a/src/screencast.c
-+++ b/src/screencast.c
-@@ -211,9 +211,12 @@ on_request_handle_close_cb (XdpImplRequest *object,
- GDBusMethodInvocation *invocation,
- ScreenCastDialogHandle *dialog_handle)
- {
-- cancel_start_session (dialog_handle->session, 2);
-+ ScreenCastSession *screen_cast_session = dialog_handle->session;
-
-- screen_cast_dialog_handle_close (dialog_handle);
-+ cancel_start_session (screen_cast_session, 2);
-+
-+ g_clear_pointer (&screen_cast_session->dialog_handle,
-+ screen_cast_dialog_handle_close);
-
- return FALSE;
- }
---
-GitLab
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild
deleted file mode 100644
index ef79a201f843..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
-IUSE="wayland X"
-
-# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
-# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
-DEPEND="
- dev-libs/glib:2
- gnome-base/gnome-desktop:4=
- >=gui-libs/libadwaita-1.4.0:1
- media-libs/fontconfig
- sys-apps/dbus
- >=sys-apps/xdg-desktop-portal-1.18.2
- >=sys-apps/xdg-desktop-portal-gtk-1.14.0
- gui-libs/gtk:4[wayland?,X?]
- X? ( x11-libs/libX11 )
- wayland? ( dev-libs/wayland )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-util/gdbus-codegen
- sys-devel/gettext
- virtual/pkgconfig
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-46.2-valgrind.patch
-)
-
-src_configure() {
- local emesonargs=(
- -Dsystemduserunitdir="$(systemd_get_userunitdir)"
- )
-
- meson_src_configure
-}
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2.ebuild
deleted file mode 100644
index 8bf290ab2eae..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-46.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
-IUSE="wayland X"
-
-# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
-# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
-DEPEND="
- dev-libs/glib:2
- gnome-base/gnome-desktop:4=
- >=gui-libs/libadwaita-1.4.0:1
- media-libs/fontconfig
- sys-apps/dbus
- >=sys-apps/xdg-desktop-portal-1.18.2
- >=sys-apps/xdg-desktop-portal-gtk-1.14.0
- gui-libs/gtk:4[wayland?,X?]
- X? ( x11-libs/libX11 )
- wayland? ( dev-libs/wayland )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-util/gdbus-codegen
- sys-devel/gettext
- virtual/pkgconfig
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-src_configure() {
- local emesonargs=(
- -Dsystemduserunitdir="$(systemd_get_userunitdir)"
- )
-
- meson_src_configure
-}
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.1.ebuild
deleted file mode 100644
index 56557e036313..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org gnome2-utils meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="wayland X"
-
-# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
-# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
-DEPEND="
- dev-libs/glib:2
- >=gnome-base/gsettings-desktop-schemas-47_alpha
- gnome-base/gnome-desktop:4=
- >=gui-libs/libadwaita-1.6_beta:1
- media-libs/fontconfig
- sys-apps/dbus
- >=sys-apps/xdg-desktop-portal-1.18.2
- >=sys-apps/xdg-desktop-portal-gtk-1.14.0
- gui-libs/gtk:4[wayland?,X?]
- X? ( x11-libs/libX11 )
- wayland? ( dev-libs/wayland )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-util/gdbus-codegen
- sys-devel/gettext
- virtual/pkgconfig
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-src_configure() {
- local emesonargs=(
- -Dsystemduserunitdir="$(systemd_get_userunitdir)"
- )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.2.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.2.ebuild
deleted file mode 100644
index 56557e036313..000000000000
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-47.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org gnome2-utils meson systemd xdg
-
-DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="wayland X"
-
-# Newer-than-strictly-required xdg-desktop-portal dep for hang/slowness fixes
-# https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
-DEPEND="
- dev-libs/glib:2
- >=gnome-base/gsettings-desktop-schemas-47_alpha
- gnome-base/gnome-desktop:4=
- >=gui-libs/libadwaita-1.6_beta:1
- media-libs/fontconfig
- sys-apps/dbus
- >=sys-apps/xdg-desktop-portal-1.18.2
- >=sys-apps/xdg-desktop-portal-gtk-1.14.0
- gui-libs/gtk:4[wayland?,X?]
- X? ( x11-libs/libX11 )
- wayland? ( dev-libs/wayland )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-util/gdbus-codegen
- sys-devel/gettext
- virtual/pkgconfig
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-src_configure() {
- local emesonargs=(
- -Dsystemduserunitdir="$(systemd_get_userunitdir)"
- )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-01 15:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 19:34 [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-08-01 15:31 Pacho Ramos
2023-12-12 2:50 Sam James
2023-03-28 20:50 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox