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
This commit is contained in:
parent
8829a15c79
commit
381d0fc7ac
62
gnome-calendar-symbolic-icon.patch
Normal file
62
gnome-calendar-symbolic-icon.patch
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
From 0ab11b8e283a0ca1a0689d43173d66081079c349 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jakub Steiner <jimmac@gmail.com>
|
||||||
|
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 @@
|
||||||
|
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||||
|
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
+
|
||||||
|
+<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' sodipodi:docname='gnome-calendar-symbolic.svg' height='16' id='svg7384' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' inkscape:version='0.91 r13725' width='16.03845' xmlns='http://www.w3.org/2000/svg'>
|
||||||
|
+ <metadata id='metadata90'>
|
||||||
|
+ <rdf:RDF>
|
||||||
|
+ <cc:Work rdf:about=''>
|
||||||
|
+ <dc:format>image/svg+xml</dc:format>
|
||||||
|
+ <dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
|
||||||
|
+ <dc:title>Gnome Symbolic Icon Theme</dc:title>
|
||||||
|
+ </cc:Work>
|
||||||
|
+ </rdf:RDF>
|
||||||
|
+ </metadata>
|
||||||
|
+ <sodipodi:namedview inkscape:bbox-nodes='true' inkscape:bbox-paths='true' bordercolor='#666666' borderopacity='1' inkscape:current-layer='layer9' inkscape:cx='3.2026434' inkscape:cy='5.11078' gridtolerance='10' inkscape:guide-bbox='true' guidetolerance='10' id='namedview88' inkscape:object-nodes='false' inkscape:object-paths='false' objecttolerance='10' pagecolor='#555753' inkscape:pageopacity='1' inkscape:pageshadow='2' showborder='false' showgrid='false' showguides='true' inkscape:snap-bbox='false' inkscape:snap-bbox-edge-midpoints='true' inkscape:snap-bbox-midpoints='true' inkscape:snap-global='true' inkscape:snap-grids='true' inkscape:snap-nodes='true' inkscape:snap-others='true' inkscape:snap-to-guides='true' inkscape:window-height='1376' inkscape:window-maximized='1' inkscape:window-width='2560' inkscape:window-x='0' inkscape:window-y='27' inkscape:zoom='1'>
|
||||||
|
+ <inkscape:grid empspacing='2' enabled='true' id='grid4866' originx='-221.96155' originy='-322' snapvisiblegridlinesonly='true' spacingx='1px' spacingy='1px' type='xygrid' visible='true'/>
|
||||||
|
+ </sodipodi:namedview>
|
||||||
|
+ <title id='title9167'>Gnome Symbolic Icon Theme</title>
|
||||||
|
+ <defs id='defs7386'>
|
||||||
|
+ <linearGradient id='linearGradient7212' osb:paint='solid'>
|
||||||
|
+ <stop id='stop7214' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
|
||||||
|
+ </linearGradient>
|
||||||
|
+ </defs>
|
||||||
|
+ <g inkscape:groupmode='layer' id='layer9' inkscape:label='apps' style='display:inline' transform='translate(-462.96175,105)'>
|
||||||
|
+
|
||||||
|
+ <path inkscape:connector-curvature='0' d='m 466.41331,-103.98805 c -1.08812,0 -2.08266,0.70238 -2.21754,1.71132 l -1.18269,7.71632 c -0.23162,1.7327 0.29768,3.58571 2.05549,3.56033 l 10.82243,-0.15625 c 1.75779,-0.0254 2.33066,-1.67244 2.09133,-3.40408 l -1.21853,-7.68048 c -0.14428,-1.04384 -1.11053,-1.74716 -2.21753,-1.74716 z m -0.12178,0.99331 8.20762,0.004 0.4841,4.76727 -0.30266,0.78741 0.46885,0.62631 0.50336,3.80803 -10.3281,0 0.43945,-3.90517 0.48554,-0.59708 -0.37686,-0.53694 z' id='path12403' sodipodi:nodetypes='sccssccssccccccccccc' style='color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:accumulate'/>
|
||||||
|
+ <path inkscape:connector-curvature='0' d='m 474.02488,-100.96939 -3.00242,-0.013 0.0435,1.02041 1.94342,0 -2.00945,4.93666 1.30033,-0.0389 1.72454,-4.69835 z m -6.53288,1.61759 c 1.15539,-0.89693 1.5747,-0.23156 1.13545,0.77095 l -1.60695,3.0178 0,0.55073 2.9852,-0.013 0.0326,-0.98533 -1.48344,0.013 0.88135,-1.82911 c 1.41812,-2.29582 -0.36954,-4.35574 -2.33834,-2.58383 z' id='path12416' sodipodi:nodetypes='cccccccccccccccccc' style='color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:125%;font-family:Cantarell;-inkscape-font-specification:Cantarell;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:0px;word-spacing:0px;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none'/>
|
||||||
|
+ </g>
|
||||||
|
+</svg>
|
||||||
|
--
|
||||||
|
cgit v0.11.2
|
||||||
|
|
@ -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
|
Sat Oct 17 06:09:33 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -24,7 +24,11 @@ License: GPL-3.0+
|
|||||||
Group: Productivity/Office/Organizers
|
Group: Productivity/Office/Organizers
|
||||||
Url: https://wiki.gnome.org/Design/Apps/Calendar
|
Url: https://wiki.gnome.org/Design/Apps/Calendar
|
||||||
Source: http://download.gnome.org/sources/gnome-calendar/3.18/%{name}-%{version}.tar.xz
|
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
|
BuildRequires: desktop-file-utils
|
||||||
|
# Only needed for patch0
|
||||||
|
BuildRequires: gnome-common
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.43.2
|
BuildRequires: pkgconfig(gio-2.0) >= 2.43.2
|
||||||
@ -53,8 +57,11 @@ search results from GNOME Calendar.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Needed for patch0
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -84,7 +91,7 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
|||||||
%{_datadir}/dbus-1/services/org.gnome.Calendar.service
|
%{_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.enums.xml
|
||||||
%{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.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
|
%files -n gnome-shell-search-provider-gnome-calendar
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user