diff --git a/srcpkgs/xdg-desktop-portal-gnome/patches/gcc14.patch b/srcpkgs/xdg-desktop-portal-gnome/patches/gcc14.patch new file mode 100644 index 00000000000..34a43f04f96 --- /dev/null +++ b/srcpkgs/xdg-desktop-portal-gnome/patches/gcc14.patch @@ -0,0 +1,29 @@ +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 +--- + src/inputcapture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/inputcapture.c b/src/inputcapture.c +index ffa91a1d..bf60e6ea 100644 +--- 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/srcpkgs/xdg-desktop-portal-gnome/template b/srcpkgs/xdg-desktop-portal-gnome/template index 884baccf764..c7441c6caa7 100644 --- a/srcpkgs/xdg-desktop-portal-gnome/template +++ b/srcpkgs/xdg-desktop-portal-gnome/template @@ -1,6 +1,6 @@ # Template file for 'xdg-desktop-portal-gnome' pkgname=xdg-desktop-portal-gnome -version=44.1 +version=45.1 revision=1 build_style=meson configure_args="-Dsystemduserunitdir=/usr/lib/systemd/user" @@ -14,7 +14,7 @@ short_desc="GNOME portal backend for xdg-desktop-portal" maintainer="oreo639 " license="LGPL-2.1-or-later" homepage="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome" -changelog="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/raw/gnome-44/NEWS" +changelog="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/raw/gnome-45/NEWS" #changelog="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/raw/main/NEWS" distfiles="${GNOME_SITE}/xdg-desktop-portal-gnome/${version%.*}/xdg-desktop-portal-gnome-${version}.tar.xz" -checksum=3682c546c81922a5ba69d62d86f69c0c26b17c9096823f58149d0b55bbf0eedb +checksum=3e9ca821044005fb37bd68ebe4ad196fc3d072835581467a22a4879dac7b5fdd