sys-apps/xdg-desktop-portal-gnome: drop 46.2, 46.2-r1, 47.1, 47.2

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2025-08-01 17:23:56 +02:00
parent 437dea4994
commit b2ca84ca9e
6 changed files with 0 additions and 274 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}