From 381d0fc7ac7401857f87c0bebb3326dccd43ee3b3a298a56304fca3899d2cc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Wed, 4 Nov 2015 16:15:16 +0000 Subject: [PATCH] Accepting request 342410 from home:Zaitor Make it right for the ally using people (and pretty for the rest of us) OBS-URL: https://build.opensuse.org/request/show/342410 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calendar?expand=0&rev=16 --- gnome-calendar-symbolic-icon.patch | 62 ++++++++++++++++++++++++++++++ gnome-calendar.changes | 5 +++ gnome-calendar.spec | 9 ++++- 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 gnome-calendar-symbolic-icon.patch diff --git a/gnome-calendar-symbolic-icon.patch b/gnome-calendar-symbolic-icon.patch new file mode 100644 index 0000000..923336c --- /dev/null +++ b/gnome-calendar-symbolic-icon.patch @@ -0,0 +1,62 @@ +From 0ab11b8e283a0ca1a0689d43173d66081079c349 Mon Sep 17 00:00:00 2001 +From: Jakub Steiner +Date: Wed, 23 Sep 2015 18:14:18 +0200 +Subject: icons: provide app symbolic + +- provide a symbolic variant of the app icon, mainly + for the HighContrast theme (and shell's top bar). +--- + data/icons/Makefile.am | 1 + + ...color_apps_symbolic_gnome-calendar-symbolic.svg | 28 ++++++++++++++++++++++ + 2 files changed, 29 insertions(+) + create mode 100644 data/icons/hicolor_apps_symbolic_gnome-calendar-symbolic.svg + +diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am +index 58ecca8..210acf6 100644 +--- a/data/icons/Makefile.am ++++ b/data/icons/Makefile.am +@@ -12,6 +12,7 @@ public_icons = \ + hicolor_apps_48x48_gnome-calendar.png \ + hicolor_apps_256x256_gnome-calendar.png \ + hicolor_apps_512x512_gnome-calendar.png \ ++ hicolor_apps_symbolic_gnome-calendar-symbolic.svg \ + $(NULL) + + noinst_DATA = \ +diff --git a/data/icons/hicolor_apps_symbolic_gnome-calendar-symbolic.svg b/data/icons/hicolor_apps_symbolic_gnome-calendar-symbolic.svg +new file mode 100644 +index 0000000..09ae6af +--- /dev/null ++++ b/data/icons/hicolor_apps_symbolic_gnome-calendar-symbolic.svg +@@ -0,0 +1,28 @@ ++ ++ ++ ++ ++ ++ ++ ++ image/svg+xml ++ ++ Gnome Symbolic Icon Theme ++ ++ ++ ++ ++ ++ ++ Gnome Symbolic Icon Theme ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +-- +cgit v0.11.2 + diff --git a/gnome-calendar.changes b/gnome-calendar.changes index 5eda08f..052b237 100644 --- a/gnome-calendar.changes +++ b/gnome-calendar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 4 13:04:25 UTC 2015 - zaitor@opensuse.org + +- Add gnome-calendar-symbolic-icon.patch: Add symbolic icon. + ------------------------------------------------------------------- Sat Oct 17 06:09:33 UTC 2015 - zaitor@opensuse.org diff --git a/gnome-calendar.spec b/gnome-calendar.spec index 662389d..9e8b73d 100644 --- a/gnome-calendar.spec +++ b/gnome-calendar.spec @@ -24,7 +24,11 @@ License: GPL-3.0+ Group: Productivity/Office/Organizers Url: https://wiki.gnome.org/Design/Apps/Calendar Source: http://download.gnome.org/sources/gnome-calendar/3.18/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gnome-calendar-symbolic-icon.patch zaitor@opensuse.org -- Add a symbolic icon. +Patch0: gnome-calendar-symbolic-icon.patch BuildRequires: desktop-file-utils +# Only needed for patch0 +BuildRequires: gnome-common BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: pkgconfig(gio-2.0) >= 2.43.2 @@ -53,8 +57,11 @@ search results from GNOME Calendar. %lang_package %prep %setup -q +%patch0 -p1 %build +# Needed for patch0 +NOCONFIGURE=1 ./autogen.sh %configure --disable-static make %{?_smp_mflags} @@ -84,7 +91,7 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} %{_datadir}/dbus-1/services/org.gnome.Calendar.service %{_datadir}/glib-2.0/schemas/org.gnome.calendar.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.xml -%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/icons/hicolor/*/apps/*.* %files -n gnome-shell-search-provider-gnome-calendar %defattr(-,root,root)