update to 0.2.4

epel9
François Cami 11 years ago
parent 3cb8db0890
commit fcd4f4b29c

1
.gitignore vendored

@ -6,3 +6,4 @@ zathura-0.0.8.1.tar.gz
/zathura-0.2.1.tar.gz /zathura-0.2.1.tar.gz
/zathura-0.2.2.tar.gz /zathura-0.2.2.tar.gz
/zathura-0.2.3.tar.gz /zathura-0.2.3.tar.gz
/zathura-0.2.4.tar.gz

@ -1 +1 @@
c0265fd9fa64a37b01d729efb75a7c32 zathura-0.2.3.tar.gz 935c6e15f5b7688bf4024ec7fe45f064 zathura-0.2.4.tar.gz

@ -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;
}

@ -1,12 +1,11 @@
Name: zathura Name: zathura
Version: 0.2.3 Version: 0.2.4
Release: 7%{?dist} Release: 1%{?dist}
Summary: A lightweight document viewer Summary: A lightweight document viewer
Group: Applications/Publishing Group: Applications/Publishing
License: zlib License: zlib
URL: http://pwmt.org/projects/%{name}/ URL: http://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz 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: cairo-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -58,7 +57,6 @@ This package provides all Zathura plugins.
sed -ie "s/install:\ all/install:\ /g" Makefile sed -ie "s/install:\ all/install:\ /g" Makefile
# ensure manpages are built from *.rst sources # ensure manpages are built from *.rst sources
rm -f zathura.1 zathurarc.5 rm -f zathura.1 zathurarc.5
%patch0 -p1 -b .unknown~
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@ -97,6 +95,9 @@ update-desktop-database &> /dev/null || :
%files plugins-all %files plugins-all
%changelog %changelog
* Sat Aug 31 2013 François Cami <fcami@fedoraproject.org> - 0.2.4-1
- New upstream release
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-7 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Loading…
Cancel
Save