Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > a6bc312ce50b5c8d0c51736e58ac32bc > files > 174

kdebase-3.4.2-55mdk.src.rpm

--- kdebase-3.1.92/kioslave/thumbnail/Makefile.am--	2003-09-29 19:32:21.000000000 -0400
+++ kdebase-3.1.92/kioslave/thumbnail/Makefile.am	2003-09-29 19:32:48.000000000 -0400
@@ -15,7 +15,7 @@ kde_module_LTLIBRARIES = kio_thumbnail.l
 	djvuthumbnail.la picturethumbnail.la $(CURSOR_MODULE)
 
 kio_thumbnail_la_SOURCES = thumbnail.cpp
-kio_thumbnail_la_LIBADD = $(LIB_KIO)
+kio_thumbnail_la_LIBADD = $(LIB_KIO) -lfontconfig
 kio_thumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
 
 imagethumbnail_la_SOURCES = imagecreator.cpp
--- kdebase-3.3.2/kioslave/thumbnail/thumbnail.cpp.use_fontconfig_cache	2005-01-03 15:59:34.000000000 +0100
+++ kdebase-3.3.2/kioslave/thumbnail/thumbnail.cpp	2005-01-03 16:04:31.792677353 +0100
@@ -50,6 +50,7 @@
 
 #include "thumbnail.h"
 #include <kio/thumbcreator.h>
+#include <fontconfig/fontconfig.h>
 
 // Recognized metadata entries:
 // mimeType     - the mime type of the file, used for the overlay icon if any
@@ -74,10 +75,13 @@ using namespace KIO;
 extern "C"
 {
     KDE_EXPORT int kdemain(int argc, char **argv);
+	FcBool
+	FcConfigEnableHome (FcBool enable);
 }
 
 int kdemain(int argc, char **argv)
 {
+	FcConfigEnableHome(FcFalse);
     nice( 5 );
     // creating KApplication in a slave in not a very good idea,
     // as dispatchLoop() doesn't allow it to process its messages,