- Import gobject in gtkspinner.py.
This commit is contained in:
parent
641c88302a
commit
250dd09c9d
21
system-config-printer-import-gobject.patch
Normal file
21
system-config-printer-import-gobject.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff -up system-config-printer-1.1.93/gtkspinner.py.import-gobject system-config-printer-1.1.93/gtkspinner.py
|
||||||
|
--- system-config-printer-1.1.93/gtkspinner.py.import-gobject 2009-12-03 17:06:22.000000000 +0000
|
||||||
|
+++ system-config-printer-1.1.93/gtkspinner.py 2010-02-28 09:24:55.338693167 +0000
|
||||||
|
@@ -2,7 +2,8 @@
|
||||||
|
|
||||||
|
## system-config-printer
|
||||||
|
|
||||||
|
-## Copyright (C) 2009 Tim Waugh <twaugh@redhat.com>
|
||||||
|
+## Copyright (C) 2009, 2010 Red Hat, Inc
|
||||||
|
+## Author: Tim Waugh <twaugh@redhat.com>
|
||||||
|
|
||||||
|
## This program is free software; you can redistribute it and/or modify
|
||||||
|
## it under the terms of the GNU General Public License as published by
|
||||||
|
@@ -19,6 +20,7 @@
|
||||||
|
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
|
import glib
|
||||||
|
+import gobject
|
||||||
|
import gtk
|
||||||
|
|
||||||
|
class Spinner:
|
@ -7,7 +7,7 @@
|
|||||||
Summary: A printer administration tool
|
Summary: A printer administration tool
|
||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Version: 1.1.93
|
Version: 1.1.93
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/software/system-config-printer/
|
URL: http://cyberelk.net/tim/software/system-config-printer/
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -17,6 +17,7 @@ Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
|
|||||||
|
|
||||||
Patch1: system-config-printer-no-epydoc.patch
|
Patch1: system-config-printer-no-epydoc.patch
|
||||||
Patch2: system-config-printer-lowercase-mfg-mdl.patch
|
Patch2: system-config-printer-lowercase-mfg-mdl.patch
|
||||||
|
Patch3: system-config-printer-import-gobject.patch
|
||||||
|
|
||||||
BuildRequires: cups-devel >= 1.2
|
BuildRequires: cups-devel >= 1.2
|
||||||
BuildRequires: python-devel >= 2.4
|
BuildRequires: python-devel >= 2.4
|
||||||
@ -77,6 +78,7 @@ printers.
|
|||||||
%setup -q -a 1 -a 2
|
%setup -q -a 1 -a 2
|
||||||
%patch1 -p1 -b .no-epydoc
|
%patch1 -p1 -b .no-epydoc
|
||||||
%patch2 -p1 -b .lowercase-mfg-mdl
|
%patch2 -p1 -b .lowercase-mfg-mdl
|
||||||
|
%patch3 -p1 -b .import_gobject
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-udev-rules --with-polkit-1
|
%configure --with-udev-rules --with-polkit-1
|
||||||
@ -193,6 +195,9 @@ rm -rf %buildroot
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 28 2010 Tim Waugh <twaugh@redhat.com> - 1.1.93-2
|
||||||
|
- Import gobject in gtkspinner.py.
|
||||||
|
|
||||||
* Sat Feb 27 2010 Tim Waugh <twaugh@redhat.com> - 1.1.93-1
|
* Sat Feb 27 2010 Tim Waugh <twaugh@redhat.com> - 1.1.93-1
|
||||||
- 1.1.93.
|
- 1.1.93.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user