From e09db8637295c90774c64a3acfcf2d6156696915 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 18 May 2008 11:58:52 +0000 Subject: [PATCH] - Fixed icon search path. --- system-config-printer-iconpath.patch | 13 +++++++++++++ system-config-printer.spec | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 system-config-printer-iconpath.patch diff --git a/system-config-printer-iconpath.patch b/system-config-printer-iconpath.patch new file mode 100644 index 0000000..c829be1 --- /dev/null +++ b/system-config-printer-iconpath.patch @@ -0,0 +1,13 @@ +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) + diff --git a/system-config-printer.spec b/system-config-printer.spec index ddd7727..cf430ad 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -13,6 +13,7 @@ Group: System Environment/Base 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 @@ the configuration tool. %prep %setup -q -a 1 -a 2 +%patch1 -p1 -b .iconpath %build %configure @@ -140,6 +142,9 @@ rm -rf %buildroot exit 0 %changelog +* Sun May 18 2008 Tim Waugh +- Fixed icon search path. + * Fri May 16 2008 Tim Waugh 0.9.91-1 - No longer requires system-install-packages (bug #444645). - Added pysmbc. Build requires libsmbclient-devel.