From e6a781b86e91463b8e2dd1e18331566a1b3a61d1 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 19 Jul 2019 10:55:57 +0300 Subject: [PATCH] Update to 3.33.4 --- .gitignore | 1 + ...Fix-format-security-compiler-warning.patch | 24 +++++++++++++++++++ gnome-font-viewer.spec | 8 ++++++- sources | 2 +- 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 0001-font-view-Fix-format-security-compiler-warning.patch diff --git a/.gitignore b/.gitignore index 96df9e5..cccb4f3 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /gnome-font-viewer-3.28.0.tar.xz /gnome-font-viewer-3.30.0.tar.xz /gnome-font-viewer-3.32.0.tar.xz +/gnome-font-viewer-3.33.4.tar.xz diff --git a/0001-font-view-Fix-format-security-compiler-warning.patch b/0001-font-view-Fix-format-security-compiler-warning.patch new file mode 100644 index 0000000..86b0f20 --- /dev/null +++ b/0001-font-view-Fix-format-security-compiler-warning.patch @@ -0,0 +1,24 @@ +From db4a41412c554614a2e2b7e739704b4282aa3678 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Fri, 19 Jul 2019 10:52:11 +0300 +Subject: [PATCH] font-view: Fix format-security compiler warning + +--- + src/font-view.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/font-view.c b/src/font-view.c +index 506743a..a7568eb 100644 +--- a/src/font-view.c ++++ b/src/font-view.c +@@ -854,6 +854,7 @@ font_view_show_error (FontViewApplication *self, + GTK_DIALOG_MODAL, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, ++ "%s", + primary_text); + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), + "%s", secondary_text); +-- +2.21.0 + diff --git a/gnome-font-viewer.spec b/gnome-font-viewer.spec index 90c0aa2..fd6a625 100644 --- a/gnome-font-viewer.spec +++ b/gnome-font-viewer.spec @@ -1,7 +1,7 @@ %global release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: gnome-font-viewer -Version: 3.32.0 +Version: 3.33.4 Release: 1%{?dist} Summary: Utility for previewing fonts for GNOME @@ -10,6 +10,9 @@ License: GPLv2+ URL: http://www.gnome.org/gnome-3/ Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz +# https://gitlab.gnome.org/GNOME/gnome-font-viewer/merge_requests/9 +Patch0: 0001-font-view-Fix-format-security-compiler-warning.patch + BuildRequires: meson >= 0.40.1 BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) >= 2.35.1 @@ -56,6 +59,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome %{_datadir}/thumbnailers/%{name}.thumbnailer %changelog +* Fri Jul 19 2019 Kalev Lember - 3.33.4-1 +- Update to 3.33.4 + * Fri Mar 15 2019 Kalev Lember - 3.32.0-1 - Update to 3.32.0 diff --git a/sources b/sources index ed88d6c..8fa9215 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-font-viewer-3.32.0.tar.xz) = 16b000b16b3e3e996dd83ef7f2a2f6877f6d367c6fd69f26f385dd13cc87a7690cd85e8895008fc7c5ca32ad4a15b763fe918ddc08aaf042f65087289b126681 +SHA512 (gnome-font-viewer-3.33.4.tar.xz) = 6ffceae8cce88a3b338fc7d59b1e4f888f3fc3b54993cb4946958fcc6fc32bf99b8fe5232bb4ce8f92d7e3052e42516ed6277f74e569e9f29b5812aa7d548ca8