Update to 0.2 (#1361576)

This commit is contained in:
David King 2016-07-29 14:05:29 +01:00
parent c34bad567a
commit d858bf7137
4 changed files with 42 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/xdg-desktop-portal-gtk-0.1.tar.xz /xdg-desktop-portal-gtk-0.1.tar.xz
/xdg-desktop-portal-gtk-0.2.tar.xz

View File

@ -1 +1 @@
c6659f5dac1750e22271af6f210d7ae1 xdg-desktop-portal-gtk-0.1.tar.xz 6aff832065f917172389692f12ec0d45 xdg-desktop-portal-gtk-0.2.tar.xz

View File

@ -0,0 +1,25 @@
From 550f8a71aa7a6859bf010608875ebc3a13f7a189 Mon Sep 17 00:00:00 2001
From: David King <dking@redhat.com>
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

View File

@ -1,11 +1,13 @@
Name: xdg-desktop-portal-gtk Name: xdg-desktop-portal-gtk
Version: 0.1 Version: 0.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+ Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/flatpak/%{name} URL: https://github.com/flatpak/%{name}
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz 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(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal) BuildRequires: pkgconfig(xdg-desktop-portal)
@ -17,17 +19,22 @@ A backend implementation for xdg-desktop-portal that is using GTK+ and various
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
org.gnome.SessionManager D-Bus interfaces. org.gnome.SessionManager D-Bus interfaces.
%prep %prep
%autosetup %setup -q
%patch0 -p1
%build %build
%configure --disable-silent-rules %configure --disable-silent-rules
%make_build %make_build
%install %install
%make_install %make_install
%find_lang %{name} %find_lang %{name}
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc NEWS %doc NEWS
@ -35,6 +42,11 @@ org.gnome.SessionManager D-Bus interfaces.
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
%{_datadir}/xdg-desktop-portal/portals/gtk.portal %{_datadir}/xdg-desktop-portal/portals/gtk.portal
%changelog %changelog
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
- Update to 0.2 (#1361576)
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1 * Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging - Initial Fedora packaging