kdelibs/kdelibs-3.5.9-cupsserverbin.patch
Lukas Tinkl 857420b255 - #230979: Writes ServerBin into cupsd.conf
- #416101: unable to print after configuring printing in KDE
2008-02-26 14:12:23 +00:00

19 lines
874 B
Diff

diff -ur kdelibs-orig/kdeprint/cups/cupsdconf2/cupsdconf.cpp kdelibs-3.5.9/kdeprint/cups/cupsdconf2/cupsdconf.cpp
--- kdelibs-orig/kdeprint/cups/cupsdconf2/cupsdconf.cpp 2005-10-10 17:06:30.000000000 +0200
+++ kdelibs-3.5.9/kdeprint/cups/cupsdconf2/cupsdconf.cpp 2008-02-26 15:03:47.000000000 +0100
@@ -71,10 +71,10 @@
//fontpath_ << (datadir_+"/fonts");
requestdir_ = findDir(QStringList("/var/spool/cups")
<< "/var/cups");
- serverbin_ = findDir(QStringList("/usr/lib" KDELIBSUFF "/cups")
- << "/usr/local/lib" KDELIBSUFF "/cups"
- << "/opt/lib" KDELIBSUFF "/cups"
- << "/opt/local/lib" KDELIBSUFF "/cups");
+ serverbin_ = findDir(QStringList("/usr/lib/cups")
+ << "/usr/local/lib/cups"
+ << "/opt/lib/cups"
+ << "/opt/local/lib/cups");
serverfiles_ = findDir(QStringList("/etc/cups")
<< "/usr/local/etc/cups");
tmpfiles_ = requestdir_+"/tmp";