From cbc8ccdaa3aa1c54eccc35a6f714c55f2decc0f4 Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 2 Sep 2016 12:25:08 +0100 Subject: [PATCH] Update to 0.3 --- .gitignore | 1 + sources | 2 +- ...ortal-gtk-0.2-format-literal-warning.patch | 25 ------------------- xdg-desktop-portal-gtk.spec | 8 +++--- 4 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 xdg-desktop-portal-gtk-0.2-format-literal-warning.patch diff --git a/.gitignore b/.gitignore index b55b091..99ce6e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /xdg-desktop-portal-gtk-0.1.tar.xz /xdg-desktop-portal-gtk-0.2.tar.xz +/xdg-desktop-portal-gtk-0.3.tar.xz diff --git a/sources b/sources index 2769762..fc19988 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6aff832065f917172389692f12ec0d45 xdg-desktop-portal-gtk-0.2.tar.xz +dd7b94c0a365400746b1bdd9cd8d62eb xdg-desktop-portal-gtk-0.3.tar.xz diff --git a/xdg-desktop-portal-gtk-0.2-format-literal-warning.patch b/xdg-desktop-portal-gtk-0.2-format-literal-warning.patch deleted file mode 100644 index cb7d503..0000000 --- a/xdg-desktop-portal-gtk-0.2-format-literal-warning.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 550f8a71aa7a6859bf010608875ebc3a13f7a189 Mon Sep 17 00:00:00 2001 -From: David King -Date: Fri, 29 Jul 2016 14:10:17 +0100 -Subject: [PATCH] Fix string literal format warning - ---- - src/access.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/access.c b/src/access.c -index d759e66..9b36f3c 100644 ---- a/src/access.c -+++ b/src/access.c -@@ -285,7 +285,7 @@ handle_access_dialog (XdpImplAccess *object, - gtk_window_set_modal (GTK_WINDOW (dialog), modal); - gtk_dialog_add_button (GTK_DIALOG (dialog), deny_label, GTK_RESPONSE_CANCEL); - gtk_dialog_add_button (GTK_DIALOG (dialog), grant_label, GTK_RESPONSE_OK); -- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), arg_subtitle); -+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", arg_subtitle); - - area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog)); - fix_up_label_alignment (area); --- -2.7.4 - diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index 08b802d..7cf3587 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -1,13 +1,11 @@ Name: xdg-desktop-portal-gtk -Version: 0.2 +Version: 0.3 Release: 1%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ URL: https://github.com/flatpak/%{name} Source0: https://github.com/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz -# Submitted upstream: https://github.com/flatpak/xdg-desktop-portal-gtk/pull/29 -Patch0: xdg-desktop-portal-gtk-0.2-format-literal-warning.patch BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(xdg-desktop-portal) @@ -22,7 +20,6 @@ org.gnome.SessionManager D-Bus interfaces. %prep %setup -q -%patch0 -p1 %build @@ -45,6 +42,9 @@ org.gnome.SessionManager D-Bus interfaces. %changelog +* Fri Sep 02 2016 David King - 0.3-1 +- Update to 0.3 + * Fri Jul 29 2016 David King - 0.2-1 - Update to 0.2 (#1361576)