rpms/system-config-printer/devel system-config-printer-iconpath.patch, NONE, 1.1 system-config-printer.spec, 1.181, 1.182

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Sun May 18 11:59:37 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/system-config-printer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv402

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-iconpath.patch 
Log Message:
* Sun May 18 2008 Tim Waugh <twaugh at redhat.com>
- Fixed icon search path.


system-config-printer-iconpath.patch:

--- NEW FILE system-config-printer-iconpath.patch ---
diff -U0 system-config-printer-0.9.91/ChangeLog.iconpath system-config-printer-0.9.91/ChangeLog
diff -up system-config-printer-0.9.91/system-config-printer.py.iconpath system-config-printer-0.9.91/system-config-printer.py
--- system-config-printer-0.9.91/system-config-printer.py.iconpath	2008-05-16 16:42:41.000000000 +0100
+++ system-config-printer-0.9.91/system-config-printer.py	2008-05-18 12:42:24.000000000 +0100
@@ -82,7 +82,7 @@ import gettext
 gettext.textdomain (domain)
 gtk.glade.bindtextdomain (domain)
 pkgdata = config.Paths ().get_path ('pkgdatadir')
-iconpath = os.path.join (pkgdata, '/icons/')
+iconpath = os.path.join (pkgdata, 'icons/')
 glade_file = os.path.join (pkgdata, domain + '.glade')
 sys.path.append (pkgdata)
 


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -r1.181 -r1.182
--- system-config-printer.spec	16 May 2008 15:55:54 -0000	1.181
+++ system-config-printer.spec	18 May 2008 11:58:52 -0000	1.182
@@ -13,6 +13,7 @@
 Source0: http://cyberelk.net/tim/data/system-config-printer/system-config-printer-%{version}.tar.bz2
 Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
 Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
+Patch1: system-config-printer-iconpath.patch
 
 BuildRequires: cups-devel >= 1.2
 BuildRequires: python-devel >= 2.4
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q -a 1 -a 2
+%patch1 -p1 -b .iconpath
 
 %build
 %configure
@@ -140,6 +142,9 @@
 exit 0
 
 %changelog
+* Sun May 18 2008 Tim Waugh <twaugh at redhat.com>
+- Fixed icon search path.
+
 * Fri May 16 2008 Tim Waugh <twaugh at redhat.com> 0.9.91-1
 - No longer requires system-install-packages (bug #444645).
 - Added pysmbc.  Build requires libsmbclient-devel.




More information about the fedora-extras-commits mailing list