From fcd4f4b29c62837ecdbacc7735f416be28fb8c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Sat, 31 Aug 2013 23:48:37 +0200 Subject: [PATCH] update to 0.2.4 --- .gitignore | 1 + sources | 2 +- ...a-0.2.3-missing-or-unknown-file-type.patch | 24 ------------------- zathura.spec | 9 +++---- 4 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 zathura-0.2.3-missing-or-unknown-file-type.patch diff --git a/.gitignore b/.gitignore index e6f8a3b..383d54a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ zathura-0.0.8.1.tar.gz /zathura-0.2.1.tar.gz /zathura-0.2.2.tar.gz /zathura-0.2.3.tar.gz +/zathura-0.2.4.tar.gz diff --git a/sources b/sources index 31dc61f..507432c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0265fd9fa64a37b01d729efb75a7c32 zathura-0.2.3.tar.gz +935c6e15f5b7688bf4024ec7fe45f064 zathura-0.2.4.tar.gz diff --git a/zathura-0.2.3-missing-or-unknown-file-type.patch b/zathura-0.2.3-missing-or-unknown-file-type.patch deleted file mode 100644 index 8c1557c..0000000 --- a/zathura-0.2.3-missing-or-unknown-file-type.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -rU3 zathura-0.2.3/document.c zathura-0.2.3-patched/document.c ---- zathura-0.2.3/document.c 2013-05-12 23:28:52.000000000 +0200 -+++ zathura-0.2.3-patched/document.c 2013-05-28 21:24:19.585439351 +0200 -@@ -110,6 +110,7 @@ - - if (plugin == NULL) { - girara_error("unknown file type\n"); -+ error = ZATHURA_ERROR_UNKNOWN; - goto error_free; - } - -diff -rU3 zathura-0.2.3/zathura.c zathura-0.2.3-patched/zathura.c ---- zathura-0.2.3/zathura.c 2013-05-12 23:28:52.000000000 +0200 -+++ zathura-0.2.3-patched/zathura.c 2013-05-28 21:24:25.955414704 +0200 -@@ -578,6 +578,9 @@ - } - goto error_out; - } -+ if (error == ZATHURA_ERROR_OK ) { -+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Unsupported file type. Please install the necessary plugin.")); -+ } - goto error_out; - } - diff --git a/zathura.spec b/zathura.spec index cc85944..6d515dd 100644 --- a/zathura.spec +++ b/zathura.spec @@ -1,12 +1,11 @@ Name: zathura -Version: 0.2.3 -Release: 7%{?dist} +Version: 0.2.4 +Release: 1%{?dist} Summary: A lightweight document viewer Group: Applications/Publishing License: zlib URL: http://pwmt.org/projects/%{name}/ Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz -Patch0: zathura-0.2.3-missing-or-unknown-file-type.patch BuildRequires: cairo-devel BuildRequires: desktop-file-utils @@ -58,7 +57,6 @@ This package provides all Zathura plugins. sed -ie "s/install:\ all/install:\ /g" Makefile # ensure manpages are built from *.rst sources rm -f zathura.1 zathurarc.5 -%patch0 -p1 -b .unknown~ %build export CFLAGS="%{optflags}" @@ -97,6 +95,9 @@ update-desktop-database &> /dev/null || : %files plugins-all %changelog +* Sat Aug 31 2013 François Cami - 0.2.4-1 +- New upstream release + * Sun Aug 04 2013 Fedora Release Engineering - 0.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild