commit gnome-online-miners for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package gnome-online-miners for openSUSE:Factory checked in at 2014-05-05 21:15:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-online-miners (Old) and /work/SRC/openSUSE:Factory/.gnome-online-miners.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-online-miners" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-online-miners/gnome-online-miners.changes 2014-03-13 20:43:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-online-miners.new/gnome-online-miners.changes 2014-05-05 21:16:36.000000000 +0200 @@ -1,0 +2,54 @@ +Sun Mar 23 15:29:07 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.12.0: + + No changes from version 3.11.92. + +------------------------------------------------------------------- +Mon Mar 10 03:11:57 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.11.90: + + Bugs fixed: build: support tracker 1.0. +- Replace pkgconfig(tracker-miner-0.18) and + pkgconfig(tracker-sparql-0.18) BuildRequires with + pkgconfig(tracker-miner-1.0) and pkgconfig(tracker-sparql-1.0). + +------------------------------------------------------------------- +Mon Mar 10 03:11:05 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.5: + + Fix build failure on non-Linux systems (bgo#722525). + +------------------------------------------------------------------- +Mon Mar 10 03:11:04 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.4: + + facebook: Update the DB only for new and modified entries + (bgo#719729). + + miner-main: Lower the CPU and disk I/O scheduling and priority + (bgo#722278). + +------------------------------------------------------------------- +Mon Mar 10 03:11:03 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.3: + + Support Facebook (bgo#701499). + + Support tracker 0.18 (bgo#715086). +- Add pkgconfig(libgfbgraph-0.2) BuildRequires: new dependency for + Facebook support. +- Drop sed hack to support tracker 0.18. + +------------------------------------------------------------------- +Mon Mar 10 03:11:02 UTC 2014 - dimstar@opensuse.org + +- Replace pkgconfig(tracker-{sparql,miner}-0.16) BuildRequires with + pkgconfig(tracker-{sparql,miner}-0.18): move to Tracker 0.18. +- Replace tracker-{spaqrl,miner}-0.16 in configure with + tracker-{sparql,miner}-0.18, using sed. + +------------------------------------------------------------------- +Mon Mar 10 03:11:02 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.2: + + bgo#715026: owncloud: Regular files are missing. + +------------------------------------------------------------------- Old: ---- gnome-online-miners-3.10.3.tar.xz New: ---- gnome-online-miners-3.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-online-miners.spec ++++++ --- /var/tmp/diff_new_pack.vxbKIa/_old 2014-05-05 21:16:37.000000000 +0200 +++ /var/tmp/diff_new_pack.vxbKIa/_new 2014-05-05 21:16:37.000000000 +0200 @@ -18,20 +18,21 @@ Name: gnome-online-miners -Version: 3.10.3 +Version: 3.12.0 Release: 0 Summary: Crawls through your online content License: GPL-2.0+ Group: System/Libraries Url: http://download.gnome.org/sources/gnome-online-miners -Source: http://download.gnome.org/sources/gnome-online-miners/3.10/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gnome-online-miners/3.12/%{name}-%{version}.tar.xz BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.35.1 BuildRequires: pkgconfig(goa-1.0) >= 3.2.0 BuildRequires: pkgconfig(grilo-0.2) >= 0.2.6 BuildRequires: pkgconfig(libgdata) >= 0.13.3 -BuildRequires: pkgconfig(tracker-miner-0.16) -BuildRequires: pkgconfig(tracker-sparql-0.16) +BuildRequires: pkgconfig(libgfbgraph-0.2) >= 0.2.2 +BuildRequires: pkgconfig(tracker-miner-1.0) +BuildRequires: pkgconfig(tracker-sparql-1.0) BuildRequires: pkgconfig(zapojit-0.0) >= 0.0.2 # Provide the respective DBus services Provides: dbus(org.gnome.OnlineMiners.Flickr) @@ -62,6 +63,9 @@ %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README NEWS +# Facebook miner +%{_datadir}/dbus-1/services/org.gnome.OnlineMiners.Facebook.service +%{_libexecdir}/gom-facebook-miner # Flickr miner %{_datadir}/dbus-1/services/org.gnome.OnlineMiners.Flickr.service %{_libexecdir}/gom-flickr-miner ++++++ gnome-online-miners-3.10.3.tar.xz -> gnome-online-miners-3.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/AUTHORS new/gnome-online-miners-3.12.0/AUTHORS --- old/gnome-online-miners-3.10.3/AUTHORS 2014-01-20 17:57:21.000000000 +0100 +++ new/gnome-online-miners-3.12.0/AUTHORS 2014-03-23 14:39:02.000000000 +0100 @@ -1,4 +1,5 @@ # Generated by Makefile. Do not edit. +Álvaro Peña Debarshi Ray Marek Chalupa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/Makefile.in new/gnome-online-miners-3.12.0/Makefile.in --- old/gnome-online-miners-3.10.3/Makefile.in 2014-01-20 17:56:30.000000000 +0100 +++ new/gnome-online-miners-3.12.0/Makefile.in 2014-03-23 14:38:05.000000000 +0100 @@ -258,6 +258,8 @@ FGREP = @FGREP@ GDATA_CFLAGS = @GDATA_CFLAGS@ GDATA_LIBS = @GDATA_LIBS@ +GFBGRAPH_CFLAGS = @GFBGRAPH_CFLAGS@ +GFBGRAPH_LIBS = @GFBGRAPH_LIBS@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/NEWS new/gnome-online-miners-3.12.0/NEWS --- old/gnome-online-miners-3.10.3/NEWS 2014-01-20 17:55:58.000000000 +0100 +++ new/gnome-online-miners-3.12.0/NEWS 2014-03-23 14:36:37.000000000 +0100 @@ -1,36 +1,48 @@ -Overview of changes in 3.10.3 +Overview of changes in 3.12.0 ============================= +* None + + +Overview of changes in 3.11.90 +============================== + * Bugs fixed: - 722278 miner-main: Lower the CPU and disk I/O scheduling and priority + build: support tracker 1.0 -Overview of changes in 3.10.2 +Overview of changes in 3.11.5 ============================= * Bugs fixed: - 715026 owncloud: Regular files are missing + 722525 Fix build failure on non-Linux systems -Overview of changes in 3.10.0 +Overview of changes in 3.11.4 ============================= -* None +* Bugs fixed: + 719729 facebook: Update the DB only for new and modified entries + 722278 miner-main: Lower the CPU and disk I/O scheduling and priority -Overview of changes in 3.9.92 +Overview of changes in 3.11.3 ============================= +* Support Facebook (701499) + * Bugs fixed: - 694003 gdata: Empty collections + 715086 build: support tracker 0.18 -Overview of changes in 3.9.91 +Overview of changes in 3.11.2 ============================= * Bugs fixed: + 694003 gdata: Empty collections 707142 owncloud: Fix typo 707143 flickr: Wait for the GOA source to be added + 715026 owncloud: Regular files are missing Overview of changes in 3.9.90 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/README new/gnome-online-miners-3.12.0/README --- old/gnome-online-miners-3.10.3/README 2014-01-20 17:55:58.000000000 +0100 +++ new/gnome-online-miners-3.12.0/README 2014-03-23 14:33:20.000000000 +0100 @@ -4,6 +4,7 @@ Bugs: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners Download: http://download.gnome.org/sources/gnome-online-miners Git: http://git.gnome.org/browse/gnome-online-miners +Website: https://wiki.gnome.org/Projects/GnomeOnlineMiners ---- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/configure new/gnome-online-miners-3.12.0/configure --- old/gnome-online-miners-3.10.3/configure 2014-01-20 17:56:29.000000000 +0100 +++ new/gnome-online-miners-3.12.0/configure 2014-03-23 14:38:04.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.10.3. +# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.12.0. # # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>. # @@ -591,10 +591,10 @@ # Identity of this package. PACKAGE_NAME='GNOME Online Miners' PACKAGE_TARNAME='gnome-online-miners' -PACKAGE_VERSION='3.10.3' -PACKAGE_STRING='GNOME Online Miners 3.10.3' +PACKAGE_VERSION='3.12.0' +PACKAGE_STRING='GNOME Online Miners 3.12.0' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners' -PACKAGE_URL='' +PACKAGE_URL='https://wiki.gnome.org/Projects/GnomeOnlineMiners' ac_unique_file="src" # Factoring default headers for most tests. @@ -649,6 +649,8 @@ GIO_CFLAGS GLIB_LIBS GLIB_CFLAGS +GFBGRAPH_LIBS +GFBGRAPH_CFLAGS GDATA_LIBS GDATA_CFLAGS PKG_CONFIG_LIBDIR @@ -803,6 +805,8 @@ PKG_CONFIG_LIBDIR GDATA_CFLAGS GDATA_LIBS +GFBGRAPH_CFLAGS +GFBGRAPH_LIBS GLIB_CFLAGS GLIB_LIBS GIO_CFLAGS @@ -1355,7 +1359,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNOME Online Miners 3.10.3 to adapt to many kinds of systems. +\`configure' configures GNOME Online Miners 3.12.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1426,7 +1430,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNOME Online Miners 3.10.3:";; + short | recursive ) echo "Configuration of GNOME Online Miners 3.12.0:";; esac cat <<\_ACEOF @@ -1479,6 +1483,10 @@ GDATA_CFLAGS C compiler flags for GDATA, overriding pkg-config GDATA_LIBS linker flags for GDATA, overriding pkg-config + GFBGRAPH_CFLAGS + C compiler flags for GFBGRAPH, overriding pkg-config + GFBGRAPH_LIBS + linker flags for GFBGRAPH, overriding pkg-config GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config GIO_CFLAGS C compiler flags for GIO, overriding pkg-config @@ -1501,6 +1509,7 @@ it to find libraries and programs with nonstandard names/locations. Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>. +GNOME Online Miners home page: <https://wiki.gnome.org/Projects/GnomeOnlineMiners>. _ACEOF ac_status=$? fi @@ -1563,7 +1572,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNOME Online Miners configure 3.10.3 +GNOME Online Miners configure 3.12.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1841,7 +1850,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNOME Online Miners $as_me 3.10.3, which was +It was created by GNOME Online Miners $as_me 3.12.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2712,7 +2721,7 @@ # Define the identity of the package. PACKAGE='gnome-online-miners' - VERSION='3.10.3' + VERSION='3.12.0' cat >>confdefs.h <<_ACEOF @@ -4377,6 +4386,7 @@ GDATA_MIN_VERSION=0.13.3 +GFBGRAPH_MIN_VERSION=0.2.2 GLIB_MIN_VERSION=2.35.1 GOA_MIN_VERSION=3.2.0 GRILO_MIN_VERSION=0.2.6 @@ -6842,10 +6852,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - powerpcle-*linux*) + powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; - powerpc-*linux*) + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -11970,6 +11980,97 @@ fi pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GFBGRAPH" >&5 +$as_echo_n "checking for GFBGRAPH... " >&6; } + +if test -n "$GFBGRAPH_CFLAGS"; then + pkg_cv_GFBGRAPH_CFLAGS="$GFBGRAPH_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GFBGRAPH_CFLAGS=`$PKG_CONFIG --cflags "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GFBGRAPH_LIBS"; then + pkg_cv_GFBGRAPH_LIBS="$GFBGRAPH_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GFBGRAPH_LIBS=`$PKG_CONFIG --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1` + else + GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GFBGRAPH_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION) were not met: + +$GFBGRAPH_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GFBGRAPH_CFLAGS +and GFBGRAPH_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GFBGRAPH_CFLAGS +and GFBGRAPH_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GFBGRAPH_CFLAGS=$pkg_cv_GFBGRAPH_CFLAGS + GFBGRAPH_LIBS=$pkg_cv_GFBGRAPH_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 $as_echo_n "checking for GLIB... " >&6; } @@ -12346,12 +12447,12 @@ pkg_cv_TRACKER_CFLAGS="$TRACKER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-0.16 tracker-sparql-0.16\""; } >&5 - ($PKG_CONFIG --exists --print-errors "tracker-miner-0.16 tracker-sparql-0.16") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_TRACKER_CFLAGS=`$PKG_CONFIG --cflags "tracker-miner-0.16 tracker-sparql-0.16" 2>/dev/null` + pkg_cv_TRACKER_CFLAGS=`$PKG_CONFIG --cflags "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -12363,12 +12464,12 @@ pkg_cv_TRACKER_LIBS="$TRACKER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-0.16 tracker-sparql-0.16\""; } >&5 - ($PKG_CONFIG --exists --print-errors "tracker-miner-0.16 tracker-sparql-0.16") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_TRACKER_LIBS=`$PKG_CONFIG --libs "tracker-miner-0.16 tracker-sparql-0.16" 2>/dev/null` + pkg_cv_TRACKER_LIBS=`$PKG_CONFIG --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -12389,14 +12490,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - TRACKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-miner-0.16 tracker-sparql-0.16" 2>&1` + TRACKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1` else - TRACKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-miner-0.16 tracker-sparql-0.16" 2>&1` + TRACKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$TRACKER_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements (tracker-miner-0.16 tracker-sparql-0.16) were not met: + as_fn_error $? "Package requirements (tracker-miner-1.0 tracker-sparql-1.0) were not met: $TRACKER_PKG_ERRORS @@ -13056,7 +13157,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GNOME Online Miners $as_me 3.10.3, which was +This file was extended by GNOME Online Miners $as_me 3.12.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13116,13 +13217,14 @@ Configuration commands: $config_commands -Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>." +Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>. +GNOME Online Miners home page: <https://wiki.gnome.org/Projects/GnomeOnlineMiners>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GNOME Online Miners config.status 3.10.3 +GNOME Online Miners config.status 3.12.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/configure.ac new/gnome-online-miners-3.12.0/configure.ac --- old/gnome-online-miners-3.10.3/configure.ac 2014-01-20 17:55:58.000000000 +0100 +++ new/gnome-online-miners-3.12.0/configure.ac 2014-03-23 14:37:25.000000000 +0100 @@ -1,8 +1,8 @@ AC_INIT([GNOME Online Miners], - [3.10.3], + [3.12.0], [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners], [gnome-online-miners], - []) + [https://wiki.gnome.org/Projects/GnomeOnlineMiners]) AC_PREREQ(2.63) AC_CONFIG_AUX_DIR([config]) @@ -20,6 +20,7 @@ AC_HEADER_STDC GDATA_MIN_VERSION=0.13.3 +GFBGRAPH_MIN_VERSION=0.2.2 GLIB_MIN_VERSION=2.35.1 GOA_MIN_VERSION=3.2.0 GRILO_MIN_VERSION=0.2.6 @@ -33,6 +34,7 @@ LT_INIT PKG_CHECK_MODULES(GDATA, [libgdata >= $GDATA_MIN_VERSION]) +PKG_CHECK_MODULES(GFBGRAPH, [libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION]) PKG_CHECK_MODULES(GLIB, [glib-2.0 >= $GLIB_MIN_VERSION]) PKG_CHECK_MODULES(GIO, [gio-2.0]) @@ -40,7 +42,7 @@ AC_DEFINE([GOA_API_IS_SUBJECT_TO_CHANGE], [], [We are aware that GOA's API can change]) PKG_CHECK_MODULES(GRILO, [grilo-0.2 >= $GRILO_MIN_VERSION]) -PKG_CHECK_MODULES(TRACKER, [tracker-miner-0.16 tracker-sparql-0.16]) +PKG_CHECK_MODULES(TRACKER, [tracker-miner-1.0 tracker-sparql-1.0]) PKG_CHECK_MODULES(ZAPOJIT, [zapojit-0.0 >= $ZAPOJIT_MIN_VERSION]) AC_CONFIG_FILES([ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/data/Makefile.am new/gnome-online-miners-3.12.0/data/Makefile.am --- old/gnome-online-miners-3.10.3/data/Makefile.am 2014-01-20 17:55:58.000000000 +0100 +++ new/gnome-online-miners-3.12.0/data/Makefile.am 2014-03-23 14:33:20.000000000 +0100 @@ -1,6 +1,11 @@ servicedir = $(datadir)/dbus-1/services service_DATA = $(service_in_files:.service.in=.service) +org.gnome.OnlineMiners.Facebook.service: org.gnome.OnlineMiners.Facebook.service.in Makefile + $(AM_V_GEN) \ + [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ + sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@ + org.gnome.OnlineMiners.Flickr.service: org.gnome.OnlineMiners.Flickr.service.in Makefile $(AM_V_GEN) \ [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ @@ -22,6 +27,7 @@ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@ service_in_files = \ + org.gnome.OnlineMiners.Facebook.service.in \ org.gnome.OnlineMiners.Flickr.service.in \ org.gnome.OnlineMiners.GData.service.in \ org.gnome.OnlineMiners.Owncloud.service.in \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/data/Makefile.in new/gnome-online-miners-3.12.0/data/Makefile.in --- old/gnome-online-miners-3.10.3/data/Makefile.in 2014-01-20 17:56:30.000000000 +0100 +++ new/gnome-online-miners-3.12.0/data/Makefile.in 2014-03-23 14:38:05.000000000 +0100 @@ -170,6 +170,8 @@ FGREP = @FGREP@ GDATA_CFLAGS = @GDATA_CFLAGS@ GDATA_LIBS = @GDATA_LIBS@ +GFBGRAPH_CFLAGS = @GFBGRAPH_CFLAGS@ +GFBGRAPH_LIBS = @GFBGRAPH_LIBS@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -279,6 +281,7 @@ servicedir = $(datadir)/dbus-1/services service_DATA = $(service_in_files:.service.in=.service) service_in_files = \ + org.gnome.OnlineMiners.Facebook.service.in \ org.gnome.OnlineMiners.Flickr.service.in \ org.gnome.OnlineMiners.GData.service.in \ org.gnome.OnlineMiners.Owncloud.service.in \ @@ -509,6 +512,11 @@ ps ps-am tags-am uninstall uninstall-am uninstall-serviceDATA +org.gnome.OnlineMiners.Facebook.service: org.gnome.OnlineMiners.Facebook.service.in Makefile + $(AM_V_GEN) \ + [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ + sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@ + org.gnome.OnlineMiners.Flickr.service: org.gnome.OnlineMiners.Flickr.service.in Makefile $(AM_V_GEN) \ [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/data/org.gnome.OnlineMiners.Facebook.service.in new/gnome-online-miners-3.12.0/data/org.gnome.OnlineMiners.Facebook.service.in --- old/gnome-online-miners-3.10.3/data/org.gnome.OnlineMiners.Facebook.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/gnome-online-miners-3.12.0/data/org.gnome.OnlineMiners.Facebook.service.in 2014-03-23 14:33:20.000000000 +0100 @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.gnome.OnlineMiners.Facebook +Exec=@libexecdir@/gom-facebook-miner diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/m4/libtool.m4 new/gnome-online-miners-3.12.0/m4/libtool.m4 --- old/gnome-online-miners-3.10.3/m4/libtool.m4 2014-01-20 17:56:26.000000000 +0100 +++ new/gnome-online-miners-3.12.0/m4/libtool.m4 2014-03-23 14:38:02.000000000 +0100 @@ -1326,10 +1326,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - powerpcle-*linux*) + powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; - powerpc-*linux*) + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/Makefile.am new/gnome-online-miners-3.12.0/src/Makefile.am --- old/gnome-online-miners-3.10.3/src/Makefile.am 2014-01-20 17:55:58.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/Makefile.am 2014-03-23 14:33:20.000000000 +0100 @@ -35,12 +35,39 @@ $(NULL) libexec_PROGRAMS = \ + gom-facebook-miner \ gom-flickr-miner \ gom-gdata-miner \ gom-owncloud-miner \ gom-zpj-miner \ $(NULL) +gom_facebook_miner_SOURCES = \ + gom-facebook-miner-main.c \ + gom-facebook-miner.c \ + gom-facebook-miner.h \ + $(NULL) + +gom_facebook_miner_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"Gom\" \ + -DG_DISABLE_DEPRECATED \ + -I$(top_srcdir)/src \ + $(GFBGRAPH_CFLAGS) \ + $(GIO_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GOA_CFLAGS) \ + $(TRACKER_CFLAGS) \ + $(NULL) + +gom_facebook_miner_LDADD = \ + libgom-1.0.la \ + $(GFBGRAPH_LIBS) \ + $(GIO_LIBS) \ + $(GLIB_LIBS) \ + $(GOA_LIBS) \ + $(TRACKER_LIBS) \ + $(NULL) + gom_flickr_miner_SOURCES = \ gom-flickr-miner-main.c \ gom-flickr-miner.c \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/Makefile.in new/gnome-online-miners-3.12.0/src/Makefile.in --- old/gnome-online-miners-3.10.3/src/Makefile.in 2014-01-20 17:56:30.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/Makefile.in 2014-03-23 14:38:05.000000000 +0100 @@ -79,7 +79,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -libexec_PROGRAMS = gom-flickr-miner$(EXEEXT) gom-gdata-miner$(EXEEXT) \ +libexec_PROGRAMS = gom-facebook-miner$(EXEEXT) \ + gom-flickr-miner$(EXEEXT) gom-gdata-miner$(EXEEXT) \ gom-owncloud-miner$(EXEEXT) gom-zpj-miner$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ @@ -140,6 +141,13 @@ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgom_1_0_la_LDFLAGS) $(LDFLAGS) -o $@ PROGRAMS = $(libexec_PROGRAMS) +am_gom_facebook_miner_OBJECTS = \ + gom_facebook_miner-gom-facebook-miner-main.$(OBJEXT) \ + gom_facebook_miner-gom-facebook-miner.$(OBJEXT) +gom_facebook_miner_OBJECTS = $(am_gom_facebook_miner_OBJECTS) +gom_facebook_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am_gom_flickr_miner_OBJECTS = \ gom_flickr_miner-gom-flickr-miner-main.$(OBJEXT) \ gom_flickr_miner-gom-flickr-miner.$(OBJEXT) @@ -201,12 +209,12 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(libgom_1_0_la_SOURCES) $(gom_flickr_miner_SOURCES) \ - $(gom_gdata_miner_SOURCES) $(gom_owncloud_miner_SOURCES) \ - $(gom_zpj_miner_SOURCES) -DIST_SOURCES = $(libgom_1_0_la_SOURCES) $(gom_flickr_miner_SOURCES) \ - $(gom_gdata_miner_SOURCES) $(gom_owncloud_miner_SOURCES) \ - $(gom_zpj_miner_SOURCES) +SOURCES = $(libgom_1_0_la_SOURCES) $(gom_facebook_miner_SOURCES) \ + $(gom_flickr_miner_SOURCES) $(gom_gdata_miner_SOURCES) \ + $(gom_owncloud_miner_SOURCES) $(gom_zpj_miner_SOURCES) +DIST_SOURCES = $(libgom_1_0_la_SOURCES) $(gom_facebook_miner_SOURCES) \ + $(gom_flickr_miner_SOURCES) $(gom_gdata_miner_SOURCES) \ + $(gom_owncloud_miner_SOURCES) $(gom_zpj_miner_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -261,6 +269,8 @@ FGREP = @FGREP@ GDATA_CFLAGS = @GDATA_CFLAGS@ GDATA_LIBS = @GDATA_LIBS@ +GFBGRAPH_CFLAGS = @GFBGRAPH_CFLAGS@ +GFBGRAPH_LIBS = @GFBGRAPH_LIBS@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -402,6 +412,32 @@ -avoid-version \ $(NULL) +gom_facebook_miner_SOURCES = \ + gom-facebook-miner-main.c \ + gom-facebook-miner.c \ + gom-facebook-miner.h \ + $(NULL) + +gom_facebook_miner_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"Gom\" \ + -DG_DISABLE_DEPRECATED \ + -I$(top_srcdir)/src \ + $(GFBGRAPH_CFLAGS) \ + $(GIO_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GOA_CFLAGS) \ + $(TRACKER_CFLAGS) \ + $(NULL) + +gom_facebook_miner_LDADD = \ + libgom-1.0.la \ + $(GFBGRAPH_LIBS) \ + $(GIO_LIBS) \ + $(GLIB_LIBS) \ + $(GOA_LIBS) \ + $(TRACKER_LIBS) \ + $(NULL) + gom_flickr_miner_SOURCES = \ gom-flickr-miner-main.c \ gom-flickr-miner.c \ @@ -630,6 +666,10 @@ echo " rm -f" $$list; \ rm -f $$list +gom-facebook-miner$(EXEEXT): $(gom_facebook_miner_OBJECTS) $(gom_facebook_miner_DEPENDENCIES) $(EXTRA_gom_facebook_miner_DEPENDENCIES) + @rm -f gom-facebook-miner$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(gom_facebook_miner_OBJECTS) $(gom_facebook_miner_LDADD) $(LIBS) + gom-flickr-miner$(EXEEXT): $(gom_flickr_miner_OBJECTS) $(gom_flickr_miner_DEPENDENCIES) $(EXTRA_gom_flickr_miner_DEPENDENCIES) @rm -f gom-flickr-miner$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gom_flickr_miner_OBJECTS) $(gom_flickr_miner_LDADD) $(LIBS) @@ -652,6 +692,8 @@ distclean-compile: -rm -f *.tab.c +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_flickr_miner-gom-flickr-miner.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gom_gdata_miner-gom-gdata-miner-main.Po@am__quote@ @@ -722,6 +764,34 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgom_1_0_la-tracker-sched.lo `test -f 'tracker-sched.c' || echo '$(srcdir)/'`tracker-sched.c +gom_facebook_miner-gom-facebook-miner-main.o: gom-facebook-miner-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gom_facebook_miner-gom-facebook-miner-main.o -MD -MP -MF $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Tpo -c -o gom_facebook_miner-gom-facebook-miner-main.o `test -f 'gom-facebook-miner-main.c' || echo '$(srcdir)/'`gom-facebook-miner-main.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Tpo $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gom-facebook-miner-main.c' object='gom_facebook_miner-gom-facebook-miner-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gom_facebook_miner-gom-facebook-miner-main.o `test -f 'gom-facebook-miner-main.c' || echo '$(srcdir)/'`gom-facebook-miner-main.c + +gom_facebook_miner-gom-facebook-miner-main.obj: gom-facebook-miner-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gom_facebook_miner-gom-facebook-miner-main.obj -MD -MP -MF $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Tpo -c -o gom_facebook_miner-gom-facebook-miner-main.obj `if test -f 'gom-facebook-miner-main.c'; then $(CYGPATH_W) 'gom-facebook-miner-main.c'; else $(CYGPATH_W) '$(srcdir)/gom-facebook-miner-main.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Tpo $(DEPDIR)/gom_facebook_miner-gom-facebook-miner-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gom-facebook-miner-main.c' object='gom_facebook_miner-gom-facebook-miner-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gom_facebook_miner-gom-facebook-miner-main.obj `if test -f 'gom-facebook-miner-main.c'; then $(CYGPATH_W) 'gom-facebook-miner-main.c'; else $(CYGPATH_W) '$(srcdir)/gom-facebook-miner-main.c'; fi` + +gom_facebook_miner-gom-facebook-miner.o: gom-facebook-miner.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gom_facebook_miner-gom-facebook-miner.o -MD -MP -MF $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Tpo -c -o gom_facebook_miner-gom-facebook-miner.o `test -f 'gom-facebook-miner.c' || echo '$(srcdir)/'`gom-facebook-miner.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Tpo $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gom-facebook-miner.c' object='gom_facebook_miner-gom-facebook-miner.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gom_facebook_miner-gom-facebook-miner.o `test -f 'gom-facebook-miner.c' || echo '$(srcdir)/'`gom-facebook-miner.c + +gom_facebook_miner-gom-facebook-miner.obj: gom-facebook-miner.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gom_facebook_miner-gom-facebook-miner.obj -MD -MP -MF $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Tpo -c -o gom_facebook_miner-gom-facebook-miner.obj `if test -f 'gom-facebook-miner.c'; then $(CYGPATH_W) 'gom-facebook-miner.c'; else $(CYGPATH_W) '$(srcdir)/gom-facebook-miner.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Tpo $(DEPDIR)/gom_facebook_miner-gom-facebook-miner.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gom-facebook-miner.c' object='gom_facebook_miner-gom-facebook-miner.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_facebook_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gom_facebook_miner-gom-facebook-miner.obj `if test -f 'gom-facebook-miner.c'; then $(CYGPATH_W) 'gom-facebook-miner.c'; else $(CYGPATH_W) '$(srcdir)/gom-facebook-miner.c'; fi` + gom_flickr_miner-gom-flickr-miner-main.o: gom-flickr-miner-main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gom_flickr_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gom_flickr_miner-gom-flickr-miner-main.o -MD -MP -MF $(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Tpo -c -o gom_flickr_miner-gom-flickr-miner-main.o `test -f 'gom-flickr-miner-main.c' || echo '$(srcdir)/'`gom-flickr-miner-main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Tpo $(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Po diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/gom-facebook-miner-main.c new/gnome-online-miners-3.12.0/src/gom-facebook-miner-main.c --- old/gnome-online-miners-3.10.3/src/gom-facebook-miner-main.c 1970-01-01 01:00:00.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/gom-facebook-miner-main.c 2014-03-23 14:33:20.000000000 +0100 @@ -0,0 +1,33 @@ +/* + * GNOME Online Miners - crawls through your online content + * Copyright (c) 2013 Álvaro Peña + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + * + * Author: Álvaro Peña <alvaropg@gmail.com> + * + */ + +#include "config.h" + +#define INSIDE_MINER +#define MINER_NAME "FACEBOOK" +#define MINER_TYPE GOM_TYPE_FACEBOOK_MINER +#define MINER_BUS_NAME "org.gnome.OnlineMiners.Facebook" +#define MINER_OBJECT_PATH "/org/gnome/OnlineMiners/Facebook" + +#include "gom-facebook-miner.h" +#include "gom-miner-main.c" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/gom-facebook-miner.c new/gnome-online-miners-3.12.0/src/gom-facebook-miner.c --- old/gnome-online-miners-3.10.3/src/gom-facebook-miner.c 1970-01-01 01:00:00.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/gom-facebook-miner.c 2014-03-23 14:33:20.000000000 +0100 @@ -0,0 +1,400 @@ +/* + * GNOME Online Miners - crawls through your online content + * Copyright (c) 2013 Álvaro Peña + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + * + * Author: Álvaro Peña <alvaropg@gmail.com> + * + */ + +#include "config.h" + +#include <goa/goa.h> +#include <gfbgraph/gfbgraph.h> +#include <gfbgraph/gfbgraph-goa-authorizer.h> + +#include "gom-facebook-miner.h" + +#define MINER_IDENTIFIER "gd:facebook:miner:9972c7ff-a30f-4dd4-bc77-1adf9dd14364" + +G_DEFINE_TYPE (GomFacebookMiner, gom_facebook_miner, GOM_TYPE_MINER) + +static gboolean +account_miner_job_process_photo (GomAccountMinerJob *job, + GFBGraphPhoto *photo, + const gchar *parent_resource_urn, + const gchar *creator, + GError **error) +{ + GTimeVal new_mtime; + const gchar *photo_id; + const gchar *photo_name; + const gchar *photo_created_time; + const gchar *photo_updated_time; + const gchar *photo_link; + gchar *identifier; + const gchar *class = "nmm:Photo"; + gchar *resource = NULL; + gboolean resource_exists, mtime_changed; + gchar *contact_resource; + + photo_id = gfbgraph_node_get_id (GFBGRAPH_NODE (photo)); + photo_link = gfbgraph_node_get_link (GFBGRAPH_NODE (photo)); + photo_created_time = gfbgraph_node_get_created_time (GFBGRAPH_NODE (photo)); + photo_name = gfbgraph_photo_get_name (photo); + if (photo_name == NULL) + photo_name = photo_created_time; + + identifier = g_strdup_printf ("facebook:%s", photo_id); + + /* remove from the list of the previous resources */ + g_hash_table_remove (job->previous_resources, identifier); + + resource = gom_tracker_sparql_connection_ensure_resource + (job->connection, + job->cancellable, error, + &resource_exists, + job->datasource_urn, identifier, + "nfo:RemoteDataObject", class, NULL); + + if (*error != NULL) + goto out; + + gom_tracker_update_datasource (job->connection, job->datasource_urn, + resource_exists, identifier, resource, + job->cancellable, error); + if (*error != NULL) + goto out; + + photo_updated_time = gfbgraph_node_get_updated_time (GFBGRAPH_NODE (photo)); + if (!g_time_val_from_iso8601 (photo_updated_time, &new_mtime)) + g_warning ("Can't convert updated time from ISO 8601 (%s) to a GTimeVal struct", + photo_updated_time); + else + { + mtime_changed = gom_tracker_update_mtime (job->connection, new_mtime.tv_sec, + resource_exists, identifier, resource, + job->cancellable, error); + if (*error != NULL) + goto out; + + /* avoid updating the DB if the entry already exists and has not + * been modified since our last run. + */ + if (!mtime_changed) + goto out; + } + + /* the resource changed - just set all the properties again */ + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:url", photo_link); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:isPartOf", parent_resource_urn); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:mimeType", "image/jpeg"); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:title", photo_name); + + if (*error != NULL) + goto out; + + contact_resource = gom_tracker_utils_ensure_contact_resource + (job->connection, + job->cancellable, error, + job->datasource_urn, creator); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nco:creator", contact_resource); + + g_free (contact_resource); + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:contentCreated", photo_created_time); + + if (*error != NULL) + goto out; + + out: + g_free (resource); + g_free (identifier); + + if (*error != NULL) + return FALSE; + + return TRUE; +} + +/* TODO: Until GFBGraph parse the "from" node section, we require the + * album creator (generally the logged user) + */ +static gboolean +account_miner_job_process_album (GomAccountMinerJob *job, + GFBGraphAlbum *album, + const gchar *creator, + GError **error) +{ + const gchar *album_id; + const gchar *album_name; + const gchar *album_description; + const gchar *album_link; + const gchar *album_created_time; + gchar *identifier; + const gchar *class = "nfo:DataContainer"; + gchar *resource = NULL; + gboolean resource_exists; + gchar *contact_resource; + GList *l; + GList *photos = NULL; + + album_id = gfbgraph_node_get_id (GFBGRAPH_NODE (album)); + album_link = gfbgraph_node_get_link (GFBGRAPH_NODE (album)); + album_created_time = gfbgraph_node_get_created_time (GFBGRAPH_NODE (album)); + album_name = gfbgraph_album_get_name (album); + album_description = gfbgraph_album_get_description (album); + g_message ("%s", album_created_time); + + identifier = g_strdup_printf ("photos:collection:facebook:%s", album_id); + + /* remove from the list of the previous resources */ + g_hash_table_remove (job->previous_resources, identifier); + + resource = gom_tracker_sparql_connection_ensure_resource + (job->connection, + job->cancellable, error, + &resource_exists, + job->datasource_urn, identifier, + "nfo:RemoteDataObject", class, + NULL); + + if (*error != NULL) + goto out; + + gom_tracker_update_datasource (job->connection, job->datasource_urn, + resource_exists, identifier, resource, + job->cancellable, error); + + if (*error != NULL) + goto out; + + /* TODO: Check updated time to avoid updating the album if has not + * been modified since our last run + */ + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:url", album_link); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:description", album_description); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:title", album_name); + + if (*error != NULL) + goto out; + + contact_resource = gom_tracker_utils_ensure_contact_resource + (job->connection, + job->cancellable, error, + job->datasource_urn, creator); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nco:creator", contact_resource); + g_free (contact_resource); + + if (*error != NULL) + goto out; + + gom_tracker_sparql_connection_insert_or_replace_triple + (job->connection, + job->cancellable, error, + job->datasource_urn, resource, + "nie:contentCreated", album_created_time); + + if (*error != NULL) + goto out; + + /* Album photos */ + photos = gfbgraph_node_get_connection_nodes (GFBGRAPH_NODE (album), + GFBGRAPH_TYPE_PHOTO, + GFBGRAPH_AUTHORIZER (job->service), + error); + if (*error != NULL) + goto out; + + for (l = photos; l != NULL; l = l->next) + { + GError *local_error = NULL; + GFBGraphPhoto *photo = GFBGRAPH_PHOTO (l->data); + + account_miner_job_process_photo (job, photo, resource, creator, &local_error); + if (local_error != NULL) + { + const gchar *photo_id; + + photo_id = gfbgraph_node_get_id (GFBGRAPH_NODE (photo)); + g_warning ("Unable to process %s: %s", photo_id, local_error->message); + g_clear_error (&local_error); + } + } + + out: + g_free (resource); + g_free (identifier); + + g_list_free_full (photos, g_object_unref); + + if (*error != NULL) + return FALSE; + + return TRUE; +} + +static void +query_facebook (GomAccountMinerJob *job, + GError **error) +{ + GFBGraphUser *me; + const gchar *me_name; + GList *albums = NULL; + GList *l = NULL; + GError *local_error = NULL; + + me = gfbgraph_user_get_me (GFBGRAPH_AUTHORIZER (job->service), &local_error); + if (local_error != NULL) + goto out; + + me_name = gfbgraph_user_get_name (me); + + albums = gfbgraph_user_get_albums (me, GFBGRAPH_AUTHORIZER (job->service), &local_error); + if (local_error != NULL) + goto out; + + for (l = albums; l != NULL; l = l->next) + { + GFBGraphAlbum *album = GFBGRAPH_ALBUM (l->data); + + account_miner_job_process_album (job, album, me_name, &local_error); + if (local_error != NULL) + { + const gchar *album_id; + + album_id = gfbgraph_node_get_id (GFBGRAPH_NODE (album)); + g_warning ("Unable to process %s: %s", album_id, local_error->message); + g_clear_error (&local_error); + } + } + + out: + if (local_error != NULL) + g_propagate_error (error, local_error); + + g_list_free_full (albums, g_object_unref); + g_clear_object (&me); +} + +static GObject * +create_service (GomMiner *self, + GoaObject *object) +{ + GFBGraphGoaAuthorizer *authorizer; + GError *error = NULL; + + authorizer = gfbgraph_goa_authorizer_new (object); + + gfbgraph_authorizer_refresh_authorization (GFBGRAPH_AUTHORIZER (authorizer), NULL, &error); + if (error != NULL) + { + g_warning ("Error refreshing authorization (%d): %s", error->code, error->message); + g_error_free (error); + } + + return G_OBJECT (authorizer); +} + +static void +gom_facebook_miner_init (GomFacebookMiner *miner) +{ +} + +static void +gom_facebook_miner_class_init (GomFacebookMinerClass *klass) +{ + GomMinerClass *miner_class = GOM_MINER_CLASS (klass); + + miner_class->goa_provider_type = "facebook"; + miner_class->miner_identifier = MINER_IDENTIFIER; + miner_class->version = 1; + + miner_class->create_service = create_service; + miner_class->query = query_facebook; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/gom-facebook-miner.h new/gnome-online-miners-3.12.0/src/gom-facebook-miner.h --- old/gnome-online-miners-3.10.3/src/gom-facebook-miner.h 1970-01-01 01:00:00.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/gom-facebook-miner.h 2014-03-23 14:33:20.000000000 +0100 @@ -0,0 +1,69 @@ +/* + * GNOME Online Miners - crawls through your online content + * Copyright (c) 2013 Álvaro Peña + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + * + * Author: Álvaro Peña <alvaropg@gmail.com> + * + */ + +#ifndef __GOM_FACEBOOK_MINER_H__ +#define __GOM_FACEBOOK_MINER_H__ + +#include <gio/gio.h> +#include "gom-miner.h" + +G_BEGIN_DECLS + +#define GOM_TYPE_FACEBOOK_MINER gom_facebook_miner_get_type() + +#define GOM_FACEBOOK_MINER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + GOM_TYPE_FACEBOOK_MINER, GomFacebookMiner)) + +#define GOM_FACEBOOK_MINER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), \ + GOM_TYPE_FACEBOOK_MINER, GomFacebookMinerClass)) + +#define GOM_IS_FACEBOOK_MINER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ + GOM_TYPE_FACEBOOK_MINER)) + +#define GOM_IS_FACEBOOK_MINER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), \ + GOM_TYPE_FACEBOOK_MINER)) + +#define GOM_FACEBOOK_MINER_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + GOM_TYPE_FACEBOOK_MINER, GomFacebookMinerClass)) + +typedef struct _GomFacebookMiner GomFacebookMiner; +typedef struct _GomFacebookMinerClass GomFacebookMinerClass; + +struct _GomFacebookMiner { + GomMiner parent; +}; + +struct _GomFacebookMinerClass { + GomMinerClass parent_class; +}; + +GType gom_facebook_miner_get_type(void); + +G_END_DECLS + +#endif /* __GOM_FACEBOOK_MINER_H__ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/tracker-ioprio.h new/gnome-online-miners-3.12.0/src/tracker-ioprio.h --- old/gnome-online-miners-3.10.3/src/tracker-ioprio.h 2014-01-20 17:55:34.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/tracker-ioprio.h 2014-03-23 14:33:20.000000000 +0100 @@ -21,6 +21,8 @@ #ifndef __LIBTRACKER_COMMON_IOPRIO_H__ #define __LIBTRACKER_COMMON_IOPRIO_H__ +#include <glib.h> + G_BEGIN_DECLS void tracker_ioprio_init (void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/tracker-sched.c new/gnome-online-miners-3.12.0/src/tracker-sched.c --- old/gnome-online-miners-3.10.3/src/tracker-sched.c 2014-01-20 17:55:34.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/tracker-sched.c 2014-03-23 14:33:20.000000000 +0100 @@ -28,8 +28,6 @@ #include <errno.h> #include <sched.h> -#include <glib.h> - #include "tracker-sched.h" gboolean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-online-miners-3.10.3/src/tracker-sched.h new/gnome-online-miners-3.12.0/src/tracker-sched.h --- old/gnome-online-miners-3.10.3/src/tracker-sched.h 2014-01-20 17:55:34.000000000 +0100 +++ new/gnome-online-miners-3.12.0/src/tracker-sched.h 2014-03-23 14:33:20.000000000 +0100 @@ -20,6 +20,8 @@ #ifndef __LIBTRACKER_COMMON_SCHED_H__ #define __LIBTRACKER_COMMON_SCHED_H__ +#include <glib.h> + G_BEGIN_DECLS gboolean tracker_sched_idle (void); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de