rpms/deluge/F-10 deluge-scalable-icon-dir.diff, NONE, 1.1 deluge.spec, 1.77, 1.78

Peter Gordon pgordon at fedoraproject.org
Wed Mar 11 05:01:13 UTC 2009


Author: pgordon

Update of /cvs/pkgs/rpms/deluge/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20913/F-10

Modified Files:
	deluge.spec 
Added Files:
	deluge-scalable-icon-dir.diff 
Log Message:
Fix scalable icon installation. (Thanks, Mamoru Tasaka - bug #483443)

deluge-scalable-icon-dir.diff:

--- NEW FILE deluge-scalable-icon-dir.diff ---
diff -up ./setup.py.old ./setup.py
--- ./setup.py.old	2009-03-10 16:50:52.000000000 -0700
+++ ./setup.py	2009-03-10 16:51:04.000000000 -0700
@@ -328,7 +328,7 @@ cmdclass = {
 
 # Data files to be installed to the system
 _data_files = [
-    ('share/icons/scalable/apps', ['deluge/data/icons/scalable/apps/deluge.svg']),
+    ('share/icons/hicolor/scalable/apps', ['deluge/data/icons/scalable/apps/deluge.svg']),
     ('share/icons/hicolor/128x128/apps', ['deluge/data/icons/hicolor/128x128/apps/deluge.png']),
     ('share/icons/hicolor/16x16/apps', ['deluge/data/icons/hicolor/16x16/apps/deluge.png']),
     ('share/icons/hicolor/192x192/apps', ['deluge/data/icons/hicolor/192x192/apps/deluge.png']),


Index: deluge.spec
===================================================================
RCS file: /cvs/pkgs/rpms/deluge/F-10/deluge.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- deluge.spec	10 Mar 2009 06:25:51 -0000	1.77
+++ deluge.spec	11 Mar 2009 05:00:42 -0000	1.78
@@ -3,7 +3,7 @@
 
 Name:		deluge
 Version:	1.1.4
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A GTK+ BitTorrent client with support for DHT, UPnP, and PEX
 Group:		Applications/Internet
 License:	GPLv2+
@@ -14,6 +14,9 @@
 ## rb_libtorrent. See below for more details. 
 # Source1:	%{name}-fixed-setup.py
 
+## The scalable icon needs to be installed to the proper place.
+Patch0: 	%{name}-scalable-icon-dir.diff
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	boost-devel
@@ -57,6 +60,7 @@
 
 %prep
 %setup -q
+%patch0 -p0 -b .fix-scalable-icon-dir
 ## Not building against system rb_libtorrent - see above.
 # install -m 0755 %{SOURCE1} ./setup.py
 
@@ -131,8 +135,7 @@
 %{_bindir}/%{name}d
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/pixmaps/%{name}.*
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/icons/scalable/
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
 %{_mandir}/man?/%{name}*
 
 
@@ -153,6 +156,10 @@
 
 
 %changelog
+* Tue Mar 10 2009 Peter Gordon <peter at thecodergeek.com> - 1.1.4-2
+- Fix the installed location of the scalable (SVG) icon (#483443).
+  + scalable-icon-dir.diff
+
 * Mon Mar 09 2009 Peter Gordon <peter at thecodergeek.com> - 1.1.4-1
 - Update to new upstream bug-fix release (1.1.4)
 




More information about the fedora-extras-commits mailing list