bruno pushed to fillets-ng (f21). "Replace 32x32 icon with an svg icon (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat May 23 00:42:08 UTC 2015


From b2085abcfe38fcb1b9f6c6fba37170129af80a51 Mon Sep 17 00:00:00 2001
From: Bruno Wolff III <bruno at wolff.to>
Date: Thu, 14 May 2015 21:39:10 -0500
Subject: Replace 32x32 icon with an svg icon

Bug 1157529 noted that 32x32 icons are too small to be used in the
software center. So I made a svg icon using inkscape to smooth out
the original icon and tweak some boundries to be exact circles.

diff --git a/.gitignore b/.gitignore
index 4839a30..9087a25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 fillets-ng-0.9.1.tar.gz
 /fillets-ng-1.0.1.tar.gz
+/fillets.svg
diff --git a/fillets-ng.spec b/fillets-ng.spec
index f6d3cb0..27b7f32 100644
--- a/fillets-ng.spec
+++ b/fillets-ng.spec
@@ -1,13 +1,16 @@
 Summary: Fish Fillets Next Generation, a puzzle game with 70 levels
 Name: fillets-ng
 Version: 1.0.1
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2+
 Group: Amusements/Games
 URL: http://fillets.sourceforge.net/
 Source0: http://downloads.sf.net/fillets/fillets-ng-%{version}.tar.gz
 Source1: fillets.desktop
-Source2: fillets.png
+# fillets.svg is based on doc/html/img/icon.png from upstreams fillets-ng-data.
+# inkscape was used to smooth things out and the outer boundries were converted 
+# to exact cirles.
+Source2: fillets.svg
 Patch0: fillets-ng-0.8.1-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: fillets-ng-data >= 0.9.0
@@ -53,7 +56,7 @@ desktop-file-install \
 
 # Install themeable icon
 %{__install} -D -p -m 0644 %{SOURCE2} \
-    %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/fillets.png
+    %{buildroot}%{_datadir}/icons//hicolor/scalable/apps/fillets.svg
 
 # Register as an application to be visible in the software center
 #
@@ -112,11 +115,14 @@ fi
 %{_bindir}/fillets
 %{_datadir}/appdata/fillets.appdata.xml
 %{_datadir}/applications/fillets.desktop
-%{_datadir}/icons/hicolor/32x32/apps/fillets.png
+%{_datadir}/icons/hicolor/scalable/apps/fillets.svg
 %{_mandir}/man6/fillets.6*
 
 
 %changelog
+* Thu May 14 2015 Bruno Wolff III <bruno at wolff.to> = 1.0.1-8
+- Replace 32x32 icon with an svg icon (bz 1157529)
+
 * Fri May 08 2015 Bruno Wolff III <bruno at wolff.to> = 1.0.1-7
 - The lua 5.2 patch wasn't working, switch to using compat version for 5.1
 
diff --git a/fillets.png b/fillets.png
deleted file mode 100644
index e57ea31..0000000
Binary files a/fillets.png and /dev/null differ
diff --git a/sources b/sources
index 248bff5..fce9587 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 bdd2dfacaab345f12d9ab0ff1d0ab6dc  fillets-ng-1.0.1.tar.gz
+457fa6c8244969cac0ffffa6a826c712  fillets.svg
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/fillets-ng.git/commit/?h=f21&id=b2085abcfe38fcb1b9f6c6fba37170129af80a51


More information about the scm-commits mailing list