fixed sqlite option
authorAnas Nashif <anas.nashif@intel.com>
Tue, 8 Jan 2013 21:31:06 +0000 (13:31 -0800)
committerdavid <david@david-desktop.(none)>
Fri, 21 Nov 2014 01:41:02 +0000 (09:41 +0800)
configure.ac
libsoup/Makefile.am
libsoup/libsoup-2.4.sym
libsoup/libsoup-gnome-2.4.sym
packaging/libsoup.spec

index 509e156..dc2313d 100644 (file)
@@ -132,11 +132,11 @@ dnl *************************
 dnl *** SQL Lite support independently of gnome for Tizen  ***
 dnl *************************
 
-AC_ARG_ENABLE(sqllite,
-         AS_HELP_STRING([--enable-sqllite], [Enable SQL lite support ]),        ,
-         enable_sqllite=no)
+AC_ARG_ENABLE(sqlite,
+         AS_HELP_STRING([--enable-sqlite], [Enable SQL lite support ]),        ,
+         enable_sqlite=no)
 
-if test "$enable_sqllite" != "no"; then
+if test "$enable_sqlite" != "no"; then
    PKG_CHECK_MODULES(SQLITE, sqlite3, :, [AC_MSG_ERROR(dnl
 [Could not find sqlite3 devel files:
 
index daa2c63..f1a037a 100644 (file)
@@ -74,6 +74,10 @@ if SQLLITE_SUPPORT
 soup_headers +=     \
     soup-cookie-jar-sqlite.h
 endif
+if BUILD_LIBSOUP_GNOME
+soup_headers +=     \
+    soup-cookie-jar-sqlite.h
+endif
 
 libsoupinclude_HEADERS =       \
        $(soup_headers)         \
@@ -97,10 +101,8 @@ libsoup_2_4_la_LIBADD =                     \
        $(XML_LIBS)                     \
        $(SQLITE_LIBS)
 
-if SQLLITE_SUPPORT
 libsoup_2_4_la_LIBADD +=        \
     $(SQLITE_LIBS)
-endif
 
 libsoup_2_4_la_SOURCES =               \
        soup-address.c                  \
@@ -202,10 +204,9 @@ TLD_DATA_FILE=$(top_srcdir)/data/effective_tld_names.dat
 
 tld_data.inc: tld-parser.py $(TLD_DATA_FILE)
        $(srcdir)/tld-parser.py $(TLD_DATA_FILE) tld_data.inc
-if SQLLITE_SUPPORT
+
 libsoup_2_4_la_SOURCES +=       \
-                                                                   soup-cookie-jar-sqlite.c
-endif
+    soup-cookie-jar-sqlite.c
 
 if BUILD_LIBSOUP_GNOME
 
@@ -230,7 +231,6 @@ libsoup_gnome_2_4_la_LIBADD =               \
        $(GLIB_LIBS)
 
 libsoup_gnome_2_4_la_SOURCES =         \
-       soup-cookie-jar-sqlite.c        \
        soup-gnome-features.c           \
        soup-proxy-resolver-gnome.h     \
        soup-proxy-resolver-gnome.c     \
index be4cd7f..2299404 100644 (file)
@@ -485,6 +485,8 @@ soup_xmlrpc_parse_method_response
 soup_xmlrpc_request_new
 soup_xmlrpc_set_fault
 soup_xmlrpc_set_response
+soup_cookie_jar_sqlite_new
+soup_cookie_jar_sqlite_get_type
 _SOUP_METHOD_CONNECT
 _SOUP_METHOD_COPY
 _SOUP_METHOD_DELETE
index 67f62de..8e12248 100644 (file)
@@ -1,5 +1,3 @@
-soup_cookie_jar_sqlite_get_type
-soup_cookie_jar_sqlite_new
 soup_gnome_features_2_26_get_type
 soup_password_manager_gnome_get_type
 soup_proxy_resolver_gnome_get_type
index 6ac91ff..539ebab 100644 (file)
@@ -9,7 +9,6 @@ Url:            http://www.gnome.org
 Group:          Development/Libraries/GNOME
 Source:         http://download.gnome.org/sources/libsoup/2.40/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
-# Patches auto-generated by git-buildpackage:
 BuildRequires:  gettext-tools
 BuildRequires:  glib-networking
 %if %{with gnome}
@@ -76,7 +75,7 @@ Features:
     --enable-introspection \
 %else
     --without-gnome \
-    --enable-sqllite=yes \
+    --enable-sqlite=yes \
     --disable-tls-check \
 %endif
     --disable-static 
@@ -98,9 +97,9 @@ make %{?_smp_mflags}
 %license COPYING
 %{_libdir}/*.so.*
 
+%if %{with gnome}
 %files -n typelib-Soup
 %defattr(-,root,root)
-%if %{with gnome}
 %{_libdir}/girepository-1.0/Soup-2.4.typelib
 %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
 %endif