ports/115985: Error message when setting up printer with gnome-cups-manager
Jason Lenthe
lenthe at comcast.net
Fri Aug 31 20:30:02 UTC 2007
>Number: 115985
>Category: ports
>Synopsis: Error message when setting up printer with gnome-cups-manager
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 31 20:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jason Lenthe
>Release: 6.2
>Organization:
>Environment:
FreeBSD gandalf.hsd1.state.comcast.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Aug 27 07:04:39 EDT 2007 lenthe at gandalf.hsd1.state.comcast.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Got an error message when setting up a printer with gnome-cups-manager. Error said that cups wasn't installed where expected: "/usr/share/cups/model".
>How-To-Repeat:
>Fix:
This problem is because the libgnomecups library in port gnome-cups-manager has a path hardcoded as /usr/share/cups/model, but it should be /usr/local/share/cups/model, because that's where we install cups data.
The following fixed the problem for me:
--- gnome-cups-ui-driver.c Thu Aug 30 21:50:32 2007
+++ gnome-cups-ui-driver.c.bak Thu Aug 30 21:50:08 2007
@@ -770,7 +770,7 @@
g_signal_emit (G_OBJECT (ds), signals [CHANGED], 0);
}
-#define CUPS_DIR "/usr/local/share/cups/model"
+#define CUPS_DIR "/usr/share/cups/model"
static gboolean
cb_find_ppd_by_filename (gpointer key, gpointer value, gpointer filename)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list