rpms/libgnomecups/devel lpoptions.patch, NONE, 1.1 libgnomecups.spec, 1.51, 1.52
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Wed Mar 5 04:05:26 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/libgnomecups/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12194
Modified Files:
libgnomecups.spec
Added Files:
lpoptions.patch
Log Message:
Honor cups user default options from ~/.cups/lpoptions
lpoptions.patch:
--- NEW FILE lpoptions.patch ---
--- libgnomecups-0.2.2.orig/libgnomecups/gnome-cups-printer.c
+++ libgnomecups-0.2.2/libgnomecups/gnome-cups-printer.c
@@ -510,6 +510,10 @@
num_dests = cups_get_dests (filename, num_dests, dests);
g_free (filename);
+ filename = g_build_filename (g_get_home_dir (), ".cups", "lpoptions", NULL);
+ num_dests = cups_get_dests (filename, num_dests, dests);
+ g_free (filename);
+
return num_dests;
}
Index: libgnomecups.spec
===================================================================
RCS file: /cvs/extras/rpms/libgnomecups/devel/libgnomecups.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- libgnomecups.spec 19 Feb 2008 00:30:13 -0000 1.51
+++ libgnomecups.spec 5 Mar 2008 04:04:33 -0000 1.52
@@ -1,7 +1,7 @@
Summary: GNOME library for CUPS integration
Name: libgnomecups
Version: 0.2.3
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2
Group: Development/Libraries
URL: http://www.gnome.org
@@ -19,6 +19,7 @@
Patch2: libgnomecups-no-gnome-common.patch
Patch3: libgnomecups-dbus.patch
Patch5: libgnomecups-0.1.14-go-direct.patch
+Patch6: libgnomecups-lpoptions.patch
%description
GNOME library for CUPS integration
@@ -38,6 +39,7 @@
%patch2 -p1 -b .no-gnome-common
%patch3 -p1 -b .dbus
%patch5 -p1 -b .go-direct
+%patch6 -p1 -b .lpoptions
%build
@@ -72,6 +74,9 @@
%{_libdir}/*.so
%changelog
+* Tue Mar 4 2008 Matthias Clasen <mclasen at redhat.com> - 0.2.3-3
+- Honor cups user default options from ~/.cups/lpoptions
+
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.2.3-2
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list