[tracker/miner-web: 7/31] Disable the facebook bridge by default (legal problems)



commit d5c0d3eafebb86bfd5c0a3cd2f6ab30893b74d49
Author: Adrien Bustany <madcat mymadcat com>
Date:   Thu Nov 5 09:26:06 2009 -0300

    Disable the facebook bridge by default (legal problems)
    
    It looks like the Facebook TOS does not allow an application to act as a proxy,
    or to redistribute data to other apps. Until this point is further
    investigated, we'll disable the facebook miner by default.

 configure.ac    |   22 ++++++++++++++++++++++
 src/Makefile.am |    6 ++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9da01a7..383be6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -954,6 +954,27 @@ fi
 AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
 
 ##################################################################
+# Check for dependencies to build tracker facebook miner
+##################################################################
+
+AC_ARG_ENABLE([miner-facebook],
+	      AS_HELP_STRING([--enable-miner-facebook],
+	                     [enable tracker-miner-facebook[[default=no]]]),,
+	      [enable_tracker_miner_facebook=no])
+
+if test "x$enable_tracker_miner_facebook" != "xno" ; then
+   if test "x$have_librest" != "xyes" ; then
+      AC_MSG_ERROR([Couldn't find tracker-miner-facebook dependencies ($LIBREST_REQUIRED).])
+   else
+      have_tracker_miner_facebook="yes"
+   fi
+else
+   have_tracker_miner_facebook="no  (disabled)"
+fi
+
+AM_CONDITIONAL(HAVE_TRACKER_MINER_FACEBOOK, test "$have_tracker_miner_facebook" = "yes")
+
+##################################################################
 # Check for GNOME/GTK dependencies to build tracker search tool
 ##################################################################
 
@@ -1614,6 +1635,7 @@ Metadata Extractors:
 	Support helix formats (RPM/RM/etc):     $have_gstreamer_helix
 	Support MP3 album art:                  $selected_for_albumart
 	Support playlists (w/ Totem):           $have_playlist
+	Facebook miner:				$have_tracker_miner_facebook
 
 Plugins:
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 03fd031..dd264a0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,8 +14,7 @@ SUBDIRS = 					\
 	tracker-control				\
 	tracker-utils				\
 	tracker-extract				\
-	tracker-miner-fs        \
-	tracker-miner-facebook
+	tracker-miner-fs
 
 if HAVE_TRACKER_PREFERENCES
 SUBDIRS += tracker-preferences
@@ -41,3 +40,6 @@ if HAVE_TRACKER_EXPLORER
 SUBDIRS += tracker-explorer
 endif
 
+if HAVE_TRACKER_MINER_FACEBOOK
+SUBDIRS += tracker-miner-facebook
+endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]