Fix installation of symbolic app icon

This commit is contained in:
Michael Catanzaro 2015-11-19 07:13:10 -06:00
parent 89c83d33ce
commit ad0510a107
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From 3bd2709900526ab1a4b82123a8b62c887b30e8f4 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
Date: Wed, 18 Nov 2015 21:57:15 -0600
Subject: Fix installation of symbolic app icon
---
data/icons/scalable/apps/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/icons/scalable/apps/Makefile.am b/data/icons/scalable/apps/Makefile.am
index 77e9a10..1dacc95 100644
--- a/data/icons/scalable/apps/Makefile.am
+++ b/data/icons/scalable/apps/Makefile.am
@@ -1,4 +1,4 @@
-themedir = $(pkgdatadir)/icons/hicolor
+themedir = $(datadir)/icons/hicolor
size = scalable
context = apps
--
cgit v0.11.2

View File

@ -13,6 +13,7 @@ Group: Applications/Publishing
URL: https://wiki.gnome.org/Apps/Evince
Source0: http://download.gnome.org/sources/%{name}/3.18/%{name}-%{version}.tar.xz
Patch1: evince-3.17.2-check-to-avoid-crash.patch
Patch2: evince-3.18.2-symbolic-app-icon.patch
BuildRequires: pkgconfig(adwaita-icon-theme)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
@ -122,6 +123,7 @@ This package contains the evince web browser plugin.
%prep
%setup -q
%patch1 -p1 -b .check-to-avoid-crash
%patch2 -p1 -b .symbolic-app-icon
%build
./autogen.sh
@ -193,6 +195,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/evince-previewer.desktop
%{_datadir}/icons/hicolor/*/apps/evince.*
%{_datadir}/icons/hicolor/*/apps/evince-symbolic.svg
%{_mandir}/man1/evince.1*
%{_libexecdir}/evinced
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
@ -263,6 +266,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
%changelog
* Thu Nov 19 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.18.2-2
- Fix installation of symbolic app icon
* Wed Nov 11 2015 Kalev Lember <klember@redhat.com> - 3.18.2-1
- Update to 3.18.2