File external-sqlite.diff of Package digikam

--- digikam/libs/Makefile.am	2007/12/10 09:07:01	1.1
+++ digikam/libs/Makefile.am	2007/12/10 09:07:10
@@ -1,5 +1,5 @@
 COMPILE_FIRST = sqlite2 $(SQLITE3_SUBDIR)
 
-SUBDIRS = sqlite2 $(SQLITE3_SUBDIR) lprof histogram levels curves whitebalance dmetadata \
+SUBDIRS = lprof histogram levels curves whitebalance dmetadata \
           dimg threadimageio themeengine widgets greycstoration \
           thumbbar jpegutils imageproperties dialogs 
--- digikam/digikam/Makefile.am	2007-12-22 18:19:47.000000000 +0100
+++ digikam/digikam/Makefile.am	2007-12-29 14:24:03.000000000 +0100
@@ -1,6 +1,6 @@
 METASOURCES = AUTO  
 
-INCLUDES = -I$(top_srcdir)/digikam/libs/sqlite2 \
+INCLUDES = \
 	   -I$(top_srcdir)/digikam/libs/histogram \
 	   -I$(top_srcdir)/digikam/libs/levels \
 	   -I$(top_srcdir)/digikam/libs/curves \
@@ -105,7 +105,7 @@ libdigikam_la_LIBADD = $(LIB_KIO) \
 	               $(LIB_KHTML) \
 	               $(LIBKIPI_LIBS) \
 	               $(LIB_KUTILS) \
-	               $(top_builddir)/digikam/libs/sqlite2/libsqlite2.la \
+		       -lsqlite \
 	               $(top_builddir)/digikam/libs/thumbbar/libthumbbar.la \
 	               $(top_builddir)/digikam/libs/themeengine/libthemeengine.la \
 	               $(top_builddir)/digikam/libs/widgets/libwidgets.la \
openSUSE Build Service is sponsored by