- Fixed icon search path.
This commit is contained in:
parent
2e12e2ffc6
commit
e09db86372
13
system-config-printer-iconpath.patch
Normal file
13
system-config-printer-iconpath.patch
Normal file
@ -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)
|
||||||
|
|
@ -13,6 +13,7 @@ Group: System Environment/Base
|
|||||||
Source0: http://cyberelk.net/tim/data/system-config-printer/system-config-printer-%{version}.tar.bz2
|
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
|
Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
|
||||||
Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_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: cups-devel >= 1.2
|
||||||
BuildRequires: python-devel >= 2.4
|
BuildRequires: python-devel >= 2.4
|
||||||
@ -58,6 +59,7 @@ the configuration tool.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 -a 2
|
%setup -q -a 1 -a 2
|
||||||
|
%patch1 -p1 -b .iconpath
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -140,6 +142,9 @@ rm -rf %buildroot
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 18 2008 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Fixed icon search path.
|
||||||
|
|
||||||
* Fri May 16 2008 Tim Waugh <twaugh@redhat.com> 0.9.91-1
|
* Fri May 16 2008 Tim Waugh <twaugh@redhat.com> 0.9.91-1
|
||||||
- No longer requires system-install-packages (bug #444645).
|
- No longer requires system-install-packages (bug #444645).
|
||||||
- Added pysmbc. Build requires libsmbclient-devel.
|
- Added pysmbc. Build requires libsmbclient-devel.
|
||||||
|
Loading…
Reference in New Issue
Block a user