From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69C29158015 for ; Tue, 12 Dec 2023 02:50:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21CA02BC047; Tue, 12 Dec 2023 02:50:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDC742BC04C for ; Tue, 12 Dec 2023 02:50:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8BC6335DC5 for ; Tue, 12 Dec 2023 02:50:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E739136E for ; Tue, 12 Dec 2023 02:50:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1702349135.b0fdff8c8f3c36cded1c82d80d9d955d6da94bdf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/, sys-apps/xdg-desktop-portal-gnome/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xdg-desktop-portal-gnome/files/45.1-c99.patch sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild X-VCS-Directories: sys-apps/xdg-desktop-portal-gnome/ sys-apps/xdg-desktop-portal-gnome/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b0fdff8c8f3c36cded1c82d80d9d955d6da94bdf X-VCS-Branch: master Date: Tue, 12 Dec 2023 02:50:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b4e44bb-dda8-47e8-a33c-26df7b1efb11 X-Archives-Hash: 8f94f9d59a23bf7b3c54a9f57b5ada56 commit: b0fdff8c8f3c36cded1c82d80d9d955d6da94bdf Author: Sam James gentoo org> AuthorDate: Tue Dec 12 02:45:35 2023 +0000 Commit: Sam James gentoo 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 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?= +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 +}