Package: m2300w / 0.51-12

30_find_foomatic-rip_in_cups_filters.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Search foomatic-rip in /usr/lib/cups/filter as this is the
 needed filter, not the binary in /usr/bin.
Author: Didier Raboud <odyx@debian.org>
Last-Update: 2013-12-06
--- a/configure.in
+++ b/configure.in
@@ -87,10 +87,10 @@
 dnl check for FOOMATIC
 dnl --------------------------------------------------------------------------
 
-AC_PATH_PROG(FOOMATIC_RIP,foomatic-rip,,[/usr/bin:/bin:/usr/local/bin:/opt/bin:$PATH])
+AC_PATH_PROG(FOOMATIC_RIP,foomatic-rip,,[/usr/lib/cups/filter:/usr/bin:/bin:/usr/local/bin:/opt/bin:$PATH])
 if test -z "$FOOMATIC_RIP"; then
     echo "ERROR: This driver requires foomatic-rip."
-    echo "Please install the 'foomatic-filters' package first."
+    echo "Please install the 'foomatic-filters' or 'cups-filters' (>= 1.0.42) package first."
     echo "See http://www.linuxprinting.org/foomatic.html"
     echo "(Some distributions, e.g. SuSE, deliver foomatic-rip with CUPS)"
     exit 1