]> git.pld-linux.org Git - packages/elficon.git/commitdiff
fix default icon path for gnome-elf-thumbnailer
authorElan Ruusamäe <glen@delfi.ee>
Sat, 21 Mar 2015 11:46:01 +0000 (13:46 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 21 Mar 2015 11:46:01 +0000 (13:46 +0200)
default-icon.patch [new file with mode: 0644]
elficon.spec

diff --git a/default-icon.patch b/default-icon.patch
new file mode 100644 (file)
index 0000000..b1ad4a7
--- /dev/null
@@ -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
index 66021928bc7664105d113b0942a4f40cd0ebe0e5..0d4263cd2d8ea07f6dcb5d06bf7acf52363ec8c0 100644 (file)
@@ -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
 
This page took 0.200433 seconds and 4 git commands to generate.