[packages/elficon] fix default icon path for gnome-elf-thumbnailer
glen
glen at pld-linux.org
Sat Mar 21 12:48:09 CET 2015
commit f00910e3b169b84b617298e2cce00c78a1b30234
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 21 13:46:01 2015 +0200
fix default icon path for gnome-elf-thumbnailer
default-icon.patch | 11 +++++++++++
elficon.spec | 5 ++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/elficon.spec b/elficon.spec
index 6602192..0d4263c 100644
--- a/elficon.spec
+++ b/elficon.spec
@@ -6,13 +6,14 @@
Summary: Adding icons to ELF binaries
Name: elficon
Version: 0.6.0
-Release: 0.1
+Release: 0.2
# libr: LGPL v2.1; libr-libbfd backend: LGPL v3; elfres, gnome-thumbnailer: MIT
License: LGPL v2.1, LGPL v3, MIT
Group: Applications
Source0: http://www.compholio.com/elfres/download.php?file=%{name}_%{version}.tar.gz
# Source0-md5: 6ad0ff2dbd9f561b7372a03b5d82c778
Patch0: libtool.patch
+Patch1: default-icon.patch
URL: http://www.compholio.com/elfres/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,6 +65,7 @@ License: MIT
Group: X11/Applications
Requires: elfres = %{version}-%{release}
Requires: glib2 >= 1:2.26.0
+Requires: gnome-themes-standard
%description -n gnome-elf-thumbnailer
Generate thumbnailers for ELF binaries with icons.
@@ -71,6 +73,7 @@ Generate thumbnailers for ELF binaries with icons.
%prep
%setup -qc
%patch0 -p1
+%patch1 -p1
%build
diff --git a/default-icon.patch b/default-icon.patch
new file mode 100644
index 0000000..b1ad4a7
--- /dev/null
+++ b/default-icon.patch
@@ -0,0 +1,11 @@
+--- elficon-0.6.0/gnome-elf-thumbnailer/src/gnome-elf-thumbnailer.sh~ 2011-03-05 20:58:24.000000000 +0200
++++ elficon-0.6.0/gnome-elf-thumbnailer/src/gnome-elf-thumbnailer.sh 2015-03-21 13:44:46.464813856 +0200
+@@ -8,7 +8,7 @@
+ # 1) Image Size Request
+ # 2) Executable File
+ # 3) Temporary Output File
+-DEFAULT_ICON=/usr/share/icons/gnome/scalable/mimetypes/application-x-executable.svg
++DEFAULT_ICON=/usr/share/icons/HighContrast/scalable/mimetypes/application-x-executable.svg
+ #DEBUG_OUTPUT=/home/${USER}/thumbnail.txt
+ DEBUG_OUTPUT=/dev/null
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elficon.git/commitdiff/f00910e3b169b84b617298e2cce00c78a1b30234
More information about the pld-cvs-commit
mailing list