From 4106cc9043f62607401e5289c03ea7e0dcdd4258f100c8c6cab19946e17748d9 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 18 Aug 2015 06:24:18 +0000 Subject: [PATCH] Accepting request 323253 from home:badshah400:branches:Publishing Use inkscape instead of convert to generate the hires icons OBS-URL: https://build.opensuse.org/request/show/323253 OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=11 --- equalx.changes | 6 ++++++ equalx.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/equalx.changes b/equalx.changes index 067437f..7a1c433 100644 --- a/equalx.changes +++ b/equalx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 5 14:40:12 UTC 2015 - badshah400@gmail.com + +- Use inkscape instead of convert to generate the hires icons; + convert messes up the icon image geometry for unknown reasons. + ------------------------------------------------------------------- Thu Apr 30 20:52:09 UTC 2015 - crrodriguez@opensuse.org diff --git a/equalx.spec b/equalx.spec index 02d31fc..efc6c39 100644 --- a/equalx.spec +++ b/equalx.spec @@ -26,7 +26,6 @@ Url: http://equalx.sourceforge.net/ Source0: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE equalx-fix-desktop-file.patch badshah400@gmail.com -- Fix icon tag in desktop file and categories for compatibility with openSUSE defined ones Patch0: equalx-fix-desktop-file.patch -BuildRequires: ImageMagick BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: ghostscript @@ -80,7 +79,7 @@ install -D -p bin/%{name} %{buildroot}%{_bindir}/%{name} pushd resources/icons/equalx for i in 256 512; do - convert -density ${i}x -geometry ${i}x equalx.svg equalx-${i}x${i}.png + inkscape -w ${i} -C equalx.svg -e equalx-${i}x${i}.png done popd