Merge lp:~noskcaj/ubuntu/wily/gnome-online-miners/merge into lp:ubuntu/wily/gnome-online-miners

Proposed by Jackson Doak
Status: Merged
Merged at revision: 10
Proposed branch: lp:~noskcaj/ubuntu/wily/gnome-online-miners/merge
Merge into: lp:ubuntu/wily/gnome-online-miners
Diff against target: 2151 lines (+1011/-608)
10 files modified
NEWS (+16/-0)
aclocal.m4 (+86/-75)
configure (+484/-290)
configure.ac (+55/-5)
debian/changelog (+13/-0)
debian/control (+2/-1)
debian/control.in (+2/-1)
src/Makefile.am (+47/-5)
src/Makefile.in (+271/-218)
src/gom-gdata-miner.c (+35/-13)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/wily/gnome-online-miners/merge
Reviewer Review Type Date Requested Status
Logan Rosen (community) Approve
Ubuntu branches Pending
Review via email: mp+260250@code.launchpad.net

Description of the change

Merge from debian

To post a comment you must log in.
Revision history for this message
Logan Rosen (logan) wrote :

Uploaded. Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS'
2--- NEWS 2015-03-20 10:28:22 +0000
3+++ NEWS 2015-05-27 08:42:08 +0000
4@@ -1,3 +1,19 @@
5+Overview of changes in 3.14.3
6+=============================
7+
8+* Bugs fixed:
9+ 748253 gdata: Treat the GDataEntry:id as an opaque string
10+
11+
12+Overview of changes in 3.14.2
13+=============================
14+
15+* Add build options to enable/disable each miner (747847)
16+
17+* Bugs fixed:
18+ 740421 gdata: Skip PicasaWeb videos
19+
20+
21 Overview of changes in 3.14.1
22 =============================
23
24
25=== modified file 'aclocal.m4'
26--- aclocal.m4 2015-03-20 10:28:22 +0000
27+++ aclocal.m4 2015-05-27 08:42:08 +0000
28@@ -21,50 +21,51 @@
29 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
30
31 # ===========================================================================
32-# http://autoconf-archive.cryp.to/ax_check_enable_debug.html
33+# http://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html
34 # ===========================================================================
35 #
36 # SYNOPSIS
37 #
38-# Check for the presence of an --enable-debug option to configure and
39-# allow/avoid compiled debugging flags appropriately.
40-#
41-# AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no],
42-# [ENABLE DEBUG VARIABLES …],
43-# [DISABLE DEBUG VARIABLES NDEBUG …])
44+# AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
45 #
46 # DESCRIPTION
47 #
48-# Check for the presence of an --enable-debug option to configure, with the
49-# specified default value used when the option is not present. Return the
50-# value in the variable $ax_enable_debug.
51+# Check for the presence of an --enable-debug option to configure, with
52+# the specified default value used when the option is not present. Return
53+# the value in the variable $ax_enable_debug.
54 #
55-# Specifying 'yes' adds '-g -O0' to the compilation flags for all languages.
56-# Specifying 'info' adds '-g' to the compilation flags. Specifying 'profile'
57-# adds '-g -pg' to the compilation flags and '-pg' to the linking flags.
58-# Otherwise, nothing is added.
59+# Specifying 'yes' adds '-g -O0' to the compilation flags for all
60+# languages. Specifying 'info' adds '-g' to the compilation flags.
61+# Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
62+# the linking flags. Otherwise, nothing is added.
63 #
64 # Define the variables listed in the second argument if debug is enabled,
65 # defaulting to no variables. Defines the variables listed in the third
66 # argument if debug is disabled, defaulting to NDEBUG. All lists of
67 # variables should be space-separated.
68 #
69-# If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
70+# If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
71 # Should be invoked prior to any AC_PROG_* compiler checks.
72 #
73-# LAST MODIFICATION
74-#
75-# 2014-05-12
76-#
77-# COPYLEFT
78+# IS-RELEASE can be used to change the default to 'no' when making a
79+# release. Set IS-RELEASE to 'yes' or 'no' as appropriate. By default, it
80+# uses the value of $ax_is_release, so if you are using the AX_IS_RELEASE
81+# macro, there is no need to pass this parameter.
82+#
83+# AX_IS_RELEASE([git-directory])
84+# AX_CHECK_ENABLE_DEBUG()
85+#
86+# LICENSE
87 #
88 # Copyright (c) 2011 Rhys Ulerich <rhys.ulerich@gmail.com>
89-# Copyright © 2014 Philip Withnall <philip@tecnocode.co.uk>
90+# Copyright (c) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
91 #
92 # Copying and distribution of this file, with or without modification, are
93 # permitted in any medium without royalty provided the copyright notice
94 # and this notice are preserved.
95
96+#serial 5
97+
98 AC_DEFUN([AX_CHECK_ENABLE_DEBUG],[
99 AC_BEFORE([$0],[AC_PROG_CC])dnl
100 AC_BEFORE([$0],[AC_PROG_CXX])dnl
101@@ -73,64 +74,74 @@
102
103 AC_MSG_CHECKING(whether to enable debugging)
104
105- m4_define(ax_enable_debug_default,[m4_tolower(m4_normalize(ifelse([$1],,[no],[$1])))])
106+ ax_enable_debug_default=m4_tolower(m4_normalize(ifelse([$1],,[no],[$1])))
107+ ax_enable_debug_is_release=m4_tolower(m4_normalize(ifelse([$4],,
108+ [$ax_is_release],
109+ [$4])))
110+
111+ # If this is a release, override the default.
112+ AS_IF([test "$ax_enable_debug_is_release" = "yes"],
113+ [ax_enable_debug_default="no"])
114+
115 m4_define(ax_enable_debug_vars,[m4_normalize(ifelse([$2],,,[$2]))])
116 m4_define(ax_disable_debug_vars,[m4_normalize(ifelse([$3],,[NDEBUG],[$3]))])
117
118 AC_ARG_ENABLE(debug,
119- [AS_HELP_STRING([--enable-debug]@<:@=ax_enable_debug_default@:>@,[compile with debugging; one of yes/info/profile/no])],
120- [],enable_debug=ax_enable_debug_default)
121- if test "x$enable_debug" = "xyes" || test "x$enable_debug" = "x"; then
122- AC_MSG_RESULT(yes)
123- CFLAGS="${CFLAGS} -g -O0"
124- CXXFLAGS="${CXXFLAGS} -g -O0"
125- FFLAGS="${FFLAGS} -g -O0"
126- FCFLAGS="${FCFLAGS} -g -O0"
127- OBJCFLAGS="${OBJCFLAGS} -g -O0"
128-
129- dnl Define various variables if debugging is enabled.
130- m4_map_args_w(ax_enable_debug_vars, [AC_DEFINE(], [,,[Define if debugging is enabled])])
131- else
132- if test "x$enable_debug" = "xinfo"; then
133- AC_MSG_RESULT(info)
134- CFLAGS="${CFLAGS} -g"
135- CXXFLAGS="${CXXFLAGS} -g"
136- FFLAGS="${FFLAGS} -g"
137- FCFLAGS="${FCFLAGS} -g"
138- OBJCFLAGS="${OBJCFLAGS} -g"
139- elif test "x$enable_debug" = "xprofile"; then
140- AC_MSG_RESULT(profile)
141- CFLAGS="${CFLAGS} -g -pg"
142- CXXFLAGS="${CXXFLAGS} -g -pg"
143- FFLAGS="${FFLAGS} -g -pg"
144- FCFLAGS="${FCFLAGS} -g -pg"
145- OBJCFLAGS="${OBJCFLAGS} -g -pg"
146- LDFLAGS="${LDFLAGS} -pg"
147- else
148- AC_MSG_RESULT(no)
149- dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags
150- dnl by setting any unset environment flag variables
151- if test "x${CFLAGS+set}" != "xset"; then
152- CFLAGS=""
153- fi
154- if test "x${CXXFLAGS+set}" != "xset"; then
155- CXXFLAGS=""
156- fi
157- if test "x${FFLAGS+set}" != "xset"; then
158- FFLAGS=""
159- fi
160- if test "x${FCFLAGS+set}" != "xset"; then
161- FCFLAGS=""
162- fi
163- if test "x${OBJCFLAGS+set}" != "xset"; then
164- OBJCFLAGS=""
165- fi
166- fi
167-
168- dnl Define various variables if debugging is disabled.
169- dnl assert.h is a NOP if NDEBUG is defined, so define it by default.
170- m4_map_args_w(ax_disable_debug_vars, [AC_DEFINE(], [,,[Define if debugging is disabled])])
171- fi
172+ [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile with debugging])],
173+ [],enable_debug=$ax_enable_debug_default)
174+
175+ # empty mean debug yes
176+ AS_IF([test "x$enable_debug" = "x"],
177+ [enable_debug="yes"])
178+
179+ # case of debug
180+ AS_CASE([$enable_debug],
181+ [yes],[
182+ AC_MSG_RESULT(yes)
183+ CFLAGS="${CFLAGS} -g -O0"
184+ CXXFLAGS="${CXXFLAGS} -g -O0"
185+ FFLAGS="${FFLAGS} -g -O0"
186+ FCFLAGS="${FCFLAGS} -g -O0"
187+ OBJCFLAGS="${OBJCFLAGS} -g -O0"
188+ ],
189+ [info],[
190+ AC_MSG_RESULT(info)
191+ CFLAGS="${CFLAGS} -g"
192+ CXXFLAGS="${CXXFLAGS} -g"
193+ FFLAGS="${FFLAGS} -g"
194+ FCFLAGS="${FCFLAGS} -g"
195+ OBJCFLAGS="${OBJCFLAGS} -g"
196+ ],
197+ [profile],[
198+ AC_MSG_RESULT(profile)
199+ CFLAGS="${CFLAGS} -g -pg"
200+ CXXFLAGS="${CXXFLAGS} -g -pg"
201+ FFLAGS="${FFLAGS} -g -pg"
202+ FCFLAGS="${FCFLAGS} -g -pg"
203+ OBJCFLAGS="${OBJCFLAGS} -g -pg"
204+ LDFLAGS="${LDFLAGS} -pg"
205+ ],
206+ [
207+ AC_MSG_RESULT(no)
208+ dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags
209+ dnl by setting any unset environment flag variables
210+ AS_IF([test "x${CFLAGS+set}" != "xset"],
211+ [CFLAGS=""])
212+ AS_IF([test "x${CXXFLAGS+set}" != "xset"],
213+ [CXXFLAGS=""])
214+ AS_IF([test "x${FFLAGS+set}" != "xset"],
215+ [FFLAGS=""])
216+ AS_IF([test "x${FCFLAGS+set}" != "xset"],
217+ [FCFLAGS=""])
218+ AS_IF([test "x${OBJCFLAGS+set}" != "xset"],
219+ [OBJCFLAGS=""])
220+ ])
221+
222+ dnl Define various variables if debugging is disabled.
223+ dnl assert.h is a NOP if NDEBUG is defined, so define it by default.
224+ AS_IF([test "x$enable_debug" = "xyes"],
225+ [m4_map_args_w(ax_enable_debug_vars, [AC_DEFINE(], [,,[Define if debugging is enabled])])],
226+ [m4_map_args_w(ax_disable_debug_vars, [AC_DEFINE(], [,,[Define if debugging is disabled])])])
227 ax_enable_debug=$enable_debug
228 ])
229
230
231=== modified file 'configure'
232--- configure 2015-03-20 10:28:22 +0000
233+++ configure 2015-05-27 08:42:08 +0000
234@@ -1,6 +1,6 @@
235 #! /bin/sh
236 # Guess values for system-dependent variables and create Makefiles.
237-# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.14.1.
238+# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.14.3.
239 #
240 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>.
241 #
242@@ -591,8 +591,8 @@
243 # Identity of this package.
244 PACKAGE_NAME='GNOME Online Miners'
245 PACKAGE_TARNAME='gnome-online-miners'
246-PACKAGE_VERSION='3.14.1'
247-PACKAGE_STRING='GNOME Online Miners 3.14.1'
248+PACKAGE_VERSION='3.14.3'
249+PACKAGE_STRING='GNOME Online Miners 3.14.3'
250 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners'
251 PACKAGE_URL='https://wiki.gnome.org/Projects/GnomeOnlineMiners'
252
253@@ -637,22 +637,34 @@
254 am__EXEEXT_TRUE
255 LTLIBOBJS
256 LIBOBJS
257+BUILD_WINDOWS_LIVE_FALSE
258+BUILD_WINDOWS_LIVE_TRUE
259 ZAPOJIT_LIBS
260 ZAPOJIT_CFLAGS
261+BUILD_OWNCLOUD_FALSE
262+BUILD_OWNCLOUD_TRUE
263+BUILD_MEDIA_SERVER_FALSE
264+BUILD_MEDIA_SERVER_TRUE
265+BUILD_GOOGLE_FALSE
266+BUILD_GOOGLE_TRUE
267+GDATA_LIBS
268+GDATA_CFLAGS
269+BUILD_FLICKR_FALSE
270+BUILD_FLICKR_TRUE
271+GRILO_LIBS
272+GRILO_CFLAGS
273+BUILD_FACEBOOK_FALSE
274+BUILD_FACEBOOK_TRUE
275+GFBGRAPH_LIBS
276+GFBGRAPH_CFLAGS
277 TRACKER_LIBS
278 TRACKER_CFLAGS
279-GRILO_LIBS
280-GRILO_CFLAGS
281 GOA_LIBS
282 GOA_CFLAGS
283 GIO_LIBS
284 GIO_CFLAGS
285 GLIB_LIBS
286 GLIB_CFLAGS
287-GFBGRAPH_LIBS
288-GFBGRAPH_CFLAGS
289-GDATA_LIBS
290-GDATA_CFLAGS
291 PKG_CONFIG_LIBDIR
292 PKG_CONFIG_PATH
293 PKG_CONFIG
294@@ -789,6 +801,12 @@
295 with_gnu_ld
296 with_sysroot
297 enable_libtool_lock
298+enable_facebook
299+enable_flickr
300+enable_google
301+enable_media_server
302+enable_owncloud
303+enable_windows_live
304 '
305 ac_precious_vars='build_alias
306 host_alias
307@@ -802,20 +820,20 @@
308 PKG_CONFIG
309 PKG_CONFIG_PATH
310 PKG_CONFIG_LIBDIR
311-GDATA_CFLAGS
312-GDATA_LIBS
313-GFBGRAPH_CFLAGS
314-GFBGRAPH_LIBS
315 GLIB_CFLAGS
316 GLIB_LIBS
317 GIO_CFLAGS
318 GIO_LIBS
319 GOA_CFLAGS
320 GOA_LIBS
321+TRACKER_CFLAGS
322+TRACKER_LIBS
323+GFBGRAPH_CFLAGS
324+GFBGRAPH_LIBS
325 GRILO_CFLAGS
326 GRILO_LIBS
327-TRACKER_CFLAGS
328-TRACKER_LIBS
329+GDATA_CFLAGS
330+GDATA_LIBS
331 ZAPOJIT_CFLAGS
332 ZAPOJIT_LIBS'
333
334@@ -1358,7 +1376,7 @@
335 # Omit some internal or obsolete options to make the list less imposing.
336 # This message is too long to be a string in the A/UX 3.1 sh.
337 cat <<_ACEOF
338-\`configure' configures GNOME Online Miners 3.14.1 to adapt to many kinds of systems.
339+\`configure' configures GNOME Online Miners 3.14.3 to adapt to many kinds of systems.
340
341 Usage: $0 [OPTION]... [VAR=VALUE]...
342
343@@ -1429,7 +1447,7 @@
344
345 if test -n "$ac_init_help"; then
346 case $ac_init_help in
347- short | recursive ) echo "Configuration of GNOME Online Miners 3.14.1:";;
348+ short | recursive ) echo "Configuration of GNOME Online Miners 3.14.3:";;
349 esac
350 cat <<\_ACEOF
351
352@@ -1449,12 +1467,19 @@
353 --enable-compile-warnings=[no/minimum/yes/maximum/error]
354 Turn on compiler warnings
355 --enable-iso-c Try to warn if code is not ISO C
356- --enable-debug[=no] compile with debugging; one of yes/info/profile/no
357+ --enable-debug=[yes/info/profile/no]
358+ compile with debugging
359 --enable-shared[=PKGS] build shared libraries [default=yes]
360 --enable-static[=PKGS] build static libraries [default=yes]
361 --enable-fast-install[=PKGS]
362 optimize for fast installation [default=yes]
363 --disable-libtool-lock avoid locking (might break parallel builds)
364+ --enable-facebook Enable Facebook miner
365+ --enable-flickr Enable Flickr miner
366+ --enable-google Enable Google miner
367+ --enable-media-server Enable media server miner
368+ --enable-owncloud Enable ownCloud miner
369+ --enable-windows-live Enable Windows Live miner
370
371 Optional Packages:
372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
373@@ -1479,26 +1504,26 @@
374 directories to add to pkg-config's search path
375 PKG_CONFIG_LIBDIR
376 path overriding pkg-config's built-in search path
377- GDATA_CFLAGS
378- C compiler flags for GDATA, overriding pkg-config
379- GDATA_LIBS linker flags for GDATA, overriding pkg-config
380- GFBGRAPH_CFLAGS
381- C compiler flags for GFBGRAPH, overriding pkg-config
382- GFBGRAPH_LIBS
383- linker flags for GFBGRAPH, overriding pkg-config
384 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
385 GLIB_LIBS linker flags for GLIB, overriding pkg-config
386 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
387 GIO_LIBS linker flags for GIO, overriding pkg-config
388 GOA_CFLAGS C compiler flags for GOA, overriding pkg-config
389 GOA_LIBS linker flags for GOA, overriding pkg-config
390- GRILO_CFLAGS
391- C compiler flags for GRILO, overriding pkg-config
392- GRILO_LIBS linker flags for GRILO, overriding pkg-config
393 TRACKER_CFLAGS
394 C compiler flags for TRACKER, overriding pkg-config
395 TRACKER_LIBS
396 linker flags for TRACKER, overriding pkg-config
397+ GFBGRAPH_CFLAGS
398+ C compiler flags for GFBGRAPH, overriding pkg-config
399+ GFBGRAPH_LIBS
400+ linker flags for GFBGRAPH, overriding pkg-config
401+ GRILO_CFLAGS
402+ C compiler flags for GRILO, overriding pkg-config
403+ GRILO_LIBS linker flags for GRILO, overriding pkg-config
404+ GDATA_CFLAGS
405+ C compiler flags for GDATA, overriding pkg-config
406+ GDATA_LIBS linker flags for GDATA, overriding pkg-config
407 ZAPOJIT_CFLAGS
408 C compiler flags for ZAPOJIT, overriding pkg-config
409 ZAPOJIT_LIBS
410@@ -1571,7 +1596,7 @@
411 test -n "$ac_init_help" && exit $ac_status
412 if $ac_init_version; then
413 cat <<\_ACEOF
414-GNOME Online Miners configure 3.14.1
415+GNOME Online Miners configure 3.14.3
416 generated by GNU Autoconf 2.69
417
418 Copyright (C) 2012 Free Software Foundation, Inc.
419@@ -1849,7 +1874,7 @@
420 This file contains any messages produced by compilers while
421 running configure, to aid debugging if configure makes a mistake.
422
423-It was created by GNOME Online Miners $as_me 3.14.1, which was
424+It was created by GNOME Online Miners $as_me 3.14.3, which was
425 generated by GNU Autoconf 2.69. Invocation command line was
426
427 $ $0 $@
428@@ -2720,7 +2745,7 @@
429
430 # Define the identity of the package.
431 PACKAGE='gnome-online-miners'
432- VERSION='3.14.1'
433+ VERSION='3.14.3'
434
435
436 cat >>confdefs.h <<_ACEOF
437@@ -4618,6 +4643,13 @@
438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
439 $as_echo_n "checking whether to enable debugging... " >&6; }
440
441+ ax_enable_debug_default=no
442+ ax_enable_debug_is_release=$ax_is_release
443+
444+ # If this is a release, override the default.
445+ if test "$ax_enable_debug_is_release" = "yes"; then :
446+ ax_enable_debug_default="no"
447+fi
448
449
450
451@@ -4626,63 +4658,79 @@
452 if test "${enable_debug+set}" = set; then :
453 enableval=$enable_debug;
454 else
455- enable_debug=no
456-fi
457-
458- if test "x$enable_debug" = "xyes" || test "x$enable_debug" = "x"; then
459- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
460+ enable_debug=$ax_enable_debug_default
461+fi
462+
463+
464+ # empty mean debug yes
465+ if test "x$enable_debug" = "x"; then :
466+ enable_debug="yes"
467+fi
468+
469+ # case of debug
470+ case $enable_debug in #(
471+ yes) :
472+
473+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
474 $as_echo "yes" >&6; }
475- CFLAGS="${CFLAGS} -g -O0"
476- CXXFLAGS="${CXXFLAGS} -g -O0"
477- FFLAGS="${FFLAGS} -g -O0"
478- FCFLAGS="${FCFLAGS} -g -O0"
479- OBJCFLAGS="${OBJCFLAGS} -g -O0"
480-
481-
482-$as_echo "#define GNOME_ENABLE_DEBUG /**/" >>confdefs.h
483-
484- else
485- if test "x$enable_debug" = "xinfo"; then
486- { $as_echo "$as_me:${as_lineno-$LINENO}: result: info" >&5
487+ CFLAGS="${CFLAGS} -g -O0"
488+ CXXFLAGS="${CXXFLAGS} -g -O0"
489+ FFLAGS="${FFLAGS} -g -O0"
490+ FCFLAGS="${FCFLAGS} -g -O0"
491+ OBJCFLAGS="${OBJCFLAGS} -g -O0"
492+ ;; #(
493+ info) :
494+
495+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: info" >&5
496 $as_echo "info" >&6; }
497- CFLAGS="${CFLAGS} -g"
498- CXXFLAGS="${CXXFLAGS} -g"
499- FFLAGS="${FFLAGS} -g"
500- FCFLAGS="${FCFLAGS} -g"
501- OBJCFLAGS="${OBJCFLAGS} -g"
502- elif test "x$enable_debug" = "xprofile"; then
503- { $as_echo "$as_me:${as_lineno-$LINENO}: result: profile" >&5
504+ CFLAGS="${CFLAGS} -g"
505+ CXXFLAGS="${CXXFLAGS} -g"
506+ FFLAGS="${FFLAGS} -g"
507+ FCFLAGS="${FCFLAGS} -g"
508+ OBJCFLAGS="${OBJCFLAGS} -g"
509+ ;; #(
510+ profile) :
511+
512+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: profile" >&5
513 $as_echo "profile" >&6; }
514- CFLAGS="${CFLAGS} -g -pg"
515- CXXFLAGS="${CXXFLAGS} -g -pg"
516- FFLAGS="${FFLAGS} -g -pg"
517- FCFLAGS="${FCFLAGS} -g -pg"
518- OBJCFLAGS="${OBJCFLAGS} -g -pg"
519- LDFLAGS="${LDFLAGS} -pg"
520- else
521- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
522+ CFLAGS="${CFLAGS} -g -pg"
523+ CXXFLAGS="${CXXFLAGS} -g -pg"
524+ FFLAGS="${FFLAGS} -g -pg"
525+ FCFLAGS="${FCFLAGS} -g -pg"
526+ OBJCFLAGS="${OBJCFLAGS} -g -pg"
527+ LDFLAGS="${LDFLAGS} -pg"
528+ ;; #(
529+ *) :
530+
531+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
532 $as_echo "no" >&6; }
533- if test "x${CFLAGS+set}" != "xset"; then
534- CFLAGS=""
535- fi
536- if test "x${CXXFLAGS+set}" != "xset"; then
537- CXXFLAGS=""
538- fi
539- if test "x${FFLAGS+set}" != "xset"; then
540- FFLAGS=""
541- fi
542- if test "x${FCFLAGS+set}" != "xset"; then
543- FCFLAGS=""
544- fi
545- if test "x${OBJCFLAGS+set}" != "xset"; then
546- OBJCFLAGS=""
547- fi
548- fi
549-
550+ if test "x${CFLAGS+set}" != "xset"; then :
551+ CFLAGS=""
552+fi
553+ if test "x${CXXFLAGS+set}" != "xset"; then :
554+ CXXFLAGS=""
555+fi
556+ if test "x${FFLAGS+set}" != "xset"; then :
557+ FFLAGS=""
558+fi
559+ if test "x${FCFLAGS+set}" != "xset"; then :
560+ FCFLAGS=""
561+fi
562+ if test "x${OBJCFLAGS+set}" != "xset"; then :
563+ OBJCFLAGS=""
564+fi
565+ ;;
566+esac
567+
568+ if test "x$enable_debug" = "xyes"; then :
569+
570+$as_echo "#define GNOME_ENABLE_DEBUG /**/" >>confdefs.h
571+
572+else
573
574 $as_echo "#define NDEBUG /**/" >>confdefs.h
575
576- fi
577+fi
578 ax_enable_debug=$enable_debug
579
580
581@@ -12034,188 +12082,6 @@
582 fi
583
584 pkg_failed=no
585-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDATA" >&5
586-$as_echo_n "checking for GDATA... " >&6; }
587-
588-if test -n "$GDATA_CFLAGS"; then
589- pkg_cv_GDATA_CFLAGS="$GDATA_CFLAGS"
590- elif test -n "$PKG_CONFIG"; then
591- if test -n "$PKG_CONFIG" && \
592- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= \$GDATA_MIN_VERSION\""; } >&5
593- ($PKG_CONFIG --exists --print-errors "libgdata >= $GDATA_MIN_VERSION") 2>&5
594- ac_status=$?
595- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
596- test $ac_status = 0; }; then
597- pkg_cv_GDATA_CFLAGS=`$PKG_CONFIG --cflags "libgdata >= $GDATA_MIN_VERSION" 2>/dev/null`
598- test "x$?" != "x0" && pkg_failed=yes
599-else
600- pkg_failed=yes
601-fi
602- else
603- pkg_failed=untried
604-fi
605-if test -n "$GDATA_LIBS"; then
606- pkg_cv_GDATA_LIBS="$GDATA_LIBS"
607- elif test -n "$PKG_CONFIG"; then
608- if test -n "$PKG_CONFIG" && \
609- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= \$GDATA_MIN_VERSION\""; } >&5
610- ($PKG_CONFIG --exists --print-errors "libgdata >= $GDATA_MIN_VERSION") 2>&5
611- ac_status=$?
612- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
613- test $ac_status = 0; }; then
614- pkg_cv_GDATA_LIBS=`$PKG_CONFIG --libs "libgdata >= $GDATA_MIN_VERSION" 2>/dev/null`
615- test "x$?" != "x0" && pkg_failed=yes
616-else
617- pkg_failed=yes
618-fi
619- else
620- pkg_failed=untried
621-fi
622-
623-
624-
625-if test $pkg_failed = yes; then
626- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
627-$as_echo "no" >&6; }
628-
629-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
630- _pkg_short_errors_supported=yes
631-else
632- _pkg_short_errors_supported=no
633-fi
634- if test $_pkg_short_errors_supported = yes; then
635- GDATA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgdata >= $GDATA_MIN_VERSION" 2>&1`
636- else
637- GDATA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgdata >= $GDATA_MIN_VERSION" 2>&1`
638- fi
639- # Put the nasty error message in config.log where it belongs
640- echo "$GDATA_PKG_ERRORS" >&5
641-
642- as_fn_error $? "Package requirements (libgdata >= $GDATA_MIN_VERSION) were not met:
643-
644-$GDATA_PKG_ERRORS
645-
646-Consider adjusting the PKG_CONFIG_PATH environment variable if you
647-installed software in a non-standard prefix.
648-
649-Alternatively, you may set the environment variables GDATA_CFLAGS
650-and GDATA_LIBS to avoid the need to call pkg-config.
651-See the pkg-config man page for more details." "$LINENO" 5
652-elif test $pkg_failed = untried; then
653- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
654-$as_echo "no" >&6; }
655- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
656-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
657-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
658-is in your PATH or set the PKG_CONFIG environment variable to the full
659-path to pkg-config.
660-
661-Alternatively, you may set the environment variables GDATA_CFLAGS
662-and GDATA_LIBS to avoid the need to call pkg-config.
663-See the pkg-config man page for more details.
664-
665-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
666-See \`config.log' for more details" "$LINENO" 5; }
667-else
668- GDATA_CFLAGS=$pkg_cv_GDATA_CFLAGS
669- GDATA_LIBS=$pkg_cv_GDATA_LIBS
670- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
671-$as_echo "yes" >&6; }
672-
673-fi
674-
675-pkg_failed=no
676-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GFBGRAPH" >&5
677-$as_echo_n "checking for GFBGRAPH... " >&6; }
678-
679-if test -n "$GFBGRAPH_CFLAGS"; then
680- pkg_cv_GFBGRAPH_CFLAGS="$GFBGRAPH_CFLAGS"
681- elif test -n "$PKG_CONFIG"; then
682- if test -n "$PKG_CONFIG" && \
683- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5
684- ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5
685- ac_status=$?
686- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
687- test $ac_status = 0; }; then
688- pkg_cv_GFBGRAPH_CFLAGS=`$PKG_CONFIG --cflags "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null`
689- test "x$?" != "x0" && pkg_failed=yes
690-else
691- pkg_failed=yes
692-fi
693- else
694- pkg_failed=untried
695-fi
696-if test -n "$GFBGRAPH_LIBS"; then
697- pkg_cv_GFBGRAPH_LIBS="$GFBGRAPH_LIBS"
698- elif test -n "$PKG_CONFIG"; then
699- if test -n "$PKG_CONFIG" && \
700- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5
701- ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5
702- ac_status=$?
703- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
704- test $ac_status = 0; }; then
705- pkg_cv_GFBGRAPH_LIBS=`$PKG_CONFIG --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null`
706- test "x$?" != "x0" && pkg_failed=yes
707-else
708- pkg_failed=yes
709-fi
710- else
711- pkg_failed=untried
712-fi
713-
714-
715-
716-if test $pkg_failed = yes; then
717- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
718-$as_echo "no" >&6; }
719-
720-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
721- _pkg_short_errors_supported=yes
722-else
723- _pkg_short_errors_supported=no
724-fi
725- if test $_pkg_short_errors_supported = yes; then
726- GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1`
727- else
728- GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1`
729- fi
730- # Put the nasty error message in config.log where it belongs
731- echo "$GFBGRAPH_PKG_ERRORS" >&5
732-
733- as_fn_error $? "Package requirements (libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION) were not met:
734-
735-$GFBGRAPH_PKG_ERRORS
736-
737-Consider adjusting the PKG_CONFIG_PATH environment variable if you
738-installed software in a non-standard prefix.
739-
740-Alternatively, you may set the environment variables GFBGRAPH_CFLAGS
741-and GFBGRAPH_LIBS to avoid the need to call pkg-config.
742-See the pkg-config man page for more details." "$LINENO" 5
743-elif test $pkg_failed = untried; then
744- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
745-$as_echo "no" >&6; }
746- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
747-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
748-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
749-is in your PATH or set the PKG_CONFIG environment variable to the full
750-path to pkg-config.
751-
752-Alternatively, you may set the environment variables GFBGRAPH_CFLAGS
753-and GFBGRAPH_LIBS to avoid the need to call pkg-config.
754-See the pkg-config man page for more details.
755-
756-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
757-See \`config.log' for more details" "$LINENO" 5; }
758-else
759- GFBGRAPH_CFLAGS=$pkg_cv_GFBGRAPH_CFLAGS
760- GFBGRAPH_LIBS=$pkg_cv_GFBGRAPH_LIBS
761- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
762-$as_echo "yes" >&6; }
763-
764-fi
765-
766-pkg_failed=no
767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
768 $as_echo_n "checking for GLIB... " >&6; }
769
770@@ -12494,6 +12360,217 @@
771
772
773 pkg_failed=no
774+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRACKER" >&5
775+$as_echo_n "checking for TRACKER... " >&6; }
776+
777+if test -n "$TRACKER_CFLAGS"; then
778+ pkg_cv_TRACKER_CFLAGS="$TRACKER_CFLAGS"
779+ elif test -n "$PKG_CONFIG"; then
780+ if test -n "$PKG_CONFIG" && \
781+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5
782+ ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5
783+ ac_status=$?
784+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
785+ test $ac_status = 0; }; then
786+ pkg_cv_TRACKER_CFLAGS=`$PKG_CONFIG --cflags "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null`
787+ test "x$?" != "x0" && pkg_failed=yes
788+else
789+ pkg_failed=yes
790+fi
791+ else
792+ pkg_failed=untried
793+fi
794+if test -n "$TRACKER_LIBS"; then
795+ pkg_cv_TRACKER_LIBS="$TRACKER_LIBS"
796+ elif test -n "$PKG_CONFIG"; then
797+ if test -n "$PKG_CONFIG" && \
798+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5
799+ ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5
800+ ac_status=$?
801+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
802+ test $ac_status = 0; }; then
803+ pkg_cv_TRACKER_LIBS=`$PKG_CONFIG --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null`
804+ test "x$?" != "x0" && pkg_failed=yes
805+else
806+ pkg_failed=yes
807+fi
808+ else
809+ pkg_failed=untried
810+fi
811+
812+
813+
814+if test $pkg_failed = yes; then
815+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
816+$as_echo "no" >&6; }
817+
818+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
819+ _pkg_short_errors_supported=yes
820+else
821+ _pkg_short_errors_supported=no
822+fi
823+ if test $_pkg_short_errors_supported = yes; then
824+ TRACKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1`
825+ else
826+ TRACKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1`
827+ fi
828+ # Put the nasty error message in config.log where it belongs
829+ echo "$TRACKER_PKG_ERRORS" >&5
830+
831+ as_fn_error $? "Package requirements (tracker-miner-1.0 tracker-sparql-1.0) were not met:
832+
833+$TRACKER_PKG_ERRORS
834+
835+Consider adjusting the PKG_CONFIG_PATH environment variable if you
836+installed software in a non-standard prefix.
837+
838+Alternatively, you may set the environment variables TRACKER_CFLAGS
839+and TRACKER_LIBS to avoid the need to call pkg-config.
840+See the pkg-config man page for more details." "$LINENO" 5
841+elif test $pkg_failed = untried; then
842+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
843+$as_echo "no" >&6; }
844+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
845+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
846+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
847+is in your PATH or set the PKG_CONFIG environment variable to the full
848+path to pkg-config.
849+
850+Alternatively, you may set the environment variables TRACKER_CFLAGS
851+and TRACKER_LIBS to avoid the need to call pkg-config.
852+See the pkg-config man page for more details.
853+
854+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
855+See \`config.log' for more details" "$LINENO" 5; }
856+else
857+ TRACKER_CFLAGS=$pkg_cv_TRACKER_CFLAGS
858+ TRACKER_LIBS=$pkg_cv_TRACKER_LIBS
859+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
860+$as_echo "yes" >&6; }
861+
862+fi
863+
864+# Facebook
865+# Check whether --enable-facebook was given.
866+if test "${enable_facebook+set}" = set; then :
867+ enableval=$enable_facebook;
868+else
869+ enable_facebook=yes
870+fi
871+
872+if test "$enable_facebook" != "no"; then
873+
874+pkg_failed=no
875+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GFBGRAPH" >&5
876+$as_echo_n "checking for GFBGRAPH... " >&6; }
877+
878+if test -n "$GFBGRAPH_CFLAGS"; then
879+ pkg_cv_GFBGRAPH_CFLAGS="$GFBGRAPH_CFLAGS"
880+ elif test -n "$PKG_CONFIG"; then
881+ if test -n "$PKG_CONFIG" && \
882+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5
883+ ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5
884+ ac_status=$?
885+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
886+ test $ac_status = 0; }; then
887+ pkg_cv_GFBGRAPH_CFLAGS=`$PKG_CONFIG --cflags "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null`
888+ test "x$?" != "x0" && pkg_failed=yes
889+else
890+ pkg_failed=yes
891+fi
892+ else
893+ pkg_failed=untried
894+fi
895+if test -n "$GFBGRAPH_LIBS"; then
896+ pkg_cv_GFBGRAPH_LIBS="$GFBGRAPH_LIBS"
897+ elif test -n "$PKG_CONFIG"; then
898+ if test -n "$PKG_CONFIG" && \
899+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgfbgraph-0.2 >= \$GFBGRAPH_MIN_VERSION\""; } >&5
900+ ($PKG_CONFIG --exists --print-errors "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION") 2>&5
901+ ac_status=$?
902+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
903+ test $ac_status = 0; }; then
904+ pkg_cv_GFBGRAPH_LIBS=`$PKG_CONFIG --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>/dev/null`
905+ test "x$?" != "x0" && pkg_failed=yes
906+else
907+ pkg_failed=yes
908+fi
909+ else
910+ pkg_failed=untried
911+fi
912+
913+
914+
915+if test $pkg_failed = yes; then
916+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
917+$as_echo "no" >&6; }
918+
919+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
920+ _pkg_short_errors_supported=yes
921+else
922+ _pkg_short_errors_supported=no
923+fi
924+ if test $_pkg_short_errors_supported = yes; then
925+ GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1`
926+ else
927+ GFBGRAPH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION" 2>&1`
928+ fi
929+ # Put the nasty error message in config.log where it belongs
930+ echo "$GFBGRAPH_PKG_ERRORS" >&5
931+
932+ as_fn_error $? "Package requirements (libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION) were not met:
933+
934+$GFBGRAPH_PKG_ERRORS
935+
936+Consider adjusting the PKG_CONFIG_PATH environment variable if you
937+installed software in a non-standard prefix.
938+
939+Alternatively, you may set the environment variables GFBGRAPH_CFLAGS
940+and GFBGRAPH_LIBS to avoid the need to call pkg-config.
941+See the pkg-config man page for more details." "$LINENO" 5
942+elif test $pkg_failed = untried; then
943+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
944+$as_echo "no" >&6; }
945+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
946+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
947+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
948+is in your PATH or set the PKG_CONFIG environment variable to the full
949+path to pkg-config.
950+
951+Alternatively, you may set the environment variables GFBGRAPH_CFLAGS
952+and GFBGRAPH_LIBS to avoid the need to call pkg-config.
953+See the pkg-config man page for more details.
954+
955+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
956+See \`config.log' for more details" "$LINENO" 5; }
957+else
958+ GFBGRAPH_CFLAGS=$pkg_cv_GFBGRAPH_CFLAGS
959+ GFBGRAPH_LIBS=$pkg_cv_GFBGRAPH_LIBS
960+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
961+$as_echo "yes" >&6; }
962+
963+fi
964+fi
965+ if test x$enable_facebook != xno; then
966+ BUILD_FACEBOOK_TRUE=
967+ BUILD_FACEBOOK_FALSE='#'
968+else
969+ BUILD_FACEBOOK_TRUE='#'
970+ BUILD_FACEBOOK_FALSE=
971+fi
972+
973+
974+# Flickr
975+# Check whether --enable-flickr was given.
976+if test "${enable_flickr+set}" = set; then :
977+ enableval=$enable_flickr;
978+else
979+ enable_flickr=yes
980+fi
981+
982+if test "$enable_flickr" != "no"; then
983+
984+pkg_failed=no
985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRILO" >&5
986 $as_echo_n "checking for GRILO... " >&6; }
987
988@@ -12583,21 +12660,40 @@
989 $as_echo "yes" >&6; }
990
991 fi
992+fi
993+ if test x$enable_flickr != xno; then
994+ BUILD_FLICKR_TRUE=
995+ BUILD_FLICKR_FALSE='#'
996+else
997+ BUILD_FLICKR_TRUE='#'
998+ BUILD_FLICKR_FALSE=
999+fi
1000+
1001+
1002+# Google
1003+# Check whether --enable-google was given.
1004+if test "${enable_google+set}" = set; then :
1005+ enableval=$enable_google;
1006+else
1007+ enable_google=yes
1008+fi
1009+
1010+if test "$enable_google" != "no"; then
1011
1012 pkg_failed=no
1013-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRACKER" >&5
1014-$as_echo_n "checking for TRACKER... " >&6; }
1015+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDATA" >&5
1016+$as_echo_n "checking for GDATA... " >&6; }
1017
1018-if test -n "$TRACKER_CFLAGS"; then
1019- pkg_cv_TRACKER_CFLAGS="$TRACKER_CFLAGS"
1020+if test -n "$GDATA_CFLAGS"; then
1021+ pkg_cv_GDATA_CFLAGS="$GDATA_CFLAGS"
1022 elif test -n "$PKG_CONFIG"; then
1023 if test -n "$PKG_CONFIG" && \
1024- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5
1025- ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5
1026+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= \$GDATA_MIN_VERSION\""; } >&5
1027+ ($PKG_CONFIG --exists --print-errors "libgdata >= $GDATA_MIN_VERSION") 2>&5
1028 ac_status=$?
1029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1030 test $ac_status = 0; }; then
1031- pkg_cv_TRACKER_CFLAGS=`$PKG_CONFIG --cflags "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null`
1032+ pkg_cv_GDATA_CFLAGS=`$PKG_CONFIG --cflags "libgdata >= $GDATA_MIN_VERSION" 2>/dev/null`
1033 test "x$?" != "x0" && pkg_failed=yes
1034 else
1035 pkg_failed=yes
1036@@ -12605,16 +12701,16 @@
1037 else
1038 pkg_failed=untried
1039 fi
1040-if test -n "$TRACKER_LIBS"; then
1041- pkg_cv_TRACKER_LIBS="$TRACKER_LIBS"
1042+if test -n "$GDATA_LIBS"; then
1043+ pkg_cv_GDATA_LIBS="$GDATA_LIBS"
1044 elif test -n "$PKG_CONFIG"; then
1045 if test -n "$PKG_CONFIG" && \
1046- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-miner-1.0 tracker-sparql-1.0\""; } >&5
1047- ($PKG_CONFIG --exists --print-errors "tracker-miner-1.0 tracker-sparql-1.0") 2>&5
1048+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= \$GDATA_MIN_VERSION\""; } >&5
1049+ ($PKG_CONFIG --exists --print-errors "libgdata >= $GDATA_MIN_VERSION") 2>&5
1050 ac_status=$?
1051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1052 test $ac_status = 0; }; then
1053- pkg_cv_TRACKER_LIBS=`$PKG_CONFIG --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>/dev/null`
1054+ pkg_cv_GDATA_LIBS=`$PKG_CONFIG --libs "libgdata >= $GDATA_MIN_VERSION" 2>/dev/null`
1055 test "x$?" != "x0" && pkg_failed=yes
1056 else
1057 pkg_failed=yes
1058@@ -12635,22 +12731,22 @@
1059 _pkg_short_errors_supported=no
1060 fi
1061 if test $_pkg_short_errors_supported = yes; then
1062- TRACKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1`
1063+ GDATA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgdata >= $GDATA_MIN_VERSION" 2>&1`
1064 else
1065- TRACKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-miner-1.0 tracker-sparql-1.0" 2>&1`
1066+ GDATA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgdata >= $GDATA_MIN_VERSION" 2>&1`
1067 fi
1068 # Put the nasty error message in config.log where it belongs
1069- echo "$TRACKER_PKG_ERRORS" >&5
1070-
1071- as_fn_error $? "Package requirements (tracker-miner-1.0 tracker-sparql-1.0) were not met:
1072-
1073-$TRACKER_PKG_ERRORS
1074+ echo "$GDATA_PKG_ERRORS" >&5
1075+
1076+ as_fn_error $? "Package requirements (libgdata >= $GDATA_MIN_VERSION) were not met:
1077+
1078+$GDATA_PKG_ERRORS
1079
1080 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1081 installed software in a non-standard prefix.
1082
1083-Alternatively, you may set the environment variables TRACKER_CFLAGS
1084-and TRACKER_LIBS to avoid the need to call pkg-config.
1085+Alternatively, you may set the environment variables GDATA_CFLAGS
1086+and GDATA_LIBS to avoid the need to call pkg-config.
1087 See the pkg-config man page for more details." "$LINENO" 5
1088 elif test $pkg_failed = untried; then
1089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1090@@ -12661,19 +12757,72 @@
1091 is in your PATH or set the PKG_CONFIG environment variable to the full
1092 path to pkg-config.
1093
1094-Alternatively, you may set the environment variables TRACKER_CFLAGS
1095-and TRACKER_LIBS to avoid the need to call pkg-config.
1096+Alternatively, you may set the environment variables GDATA_CFLAGS
1097+and GDATA_LIBS to avoid the need to call pkg-config.
1098 See the pkg-config man page for more details.
1099
1100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1101 See \`config.log' for more details" "$LINENO" 5; }
1102 else
1103- TRACKER_CFLAGS=$pkg_cv_TRACKER_CFLAGS
1104- TRACKER_LIBS=$pkg_cv_TRACKER_LIBS
1105+ GDATA_CFLAGS=$pkg_cv_GDATA_CFLAGS
1106+ GDATA_LIBS=$pkg_cv_GDATA_LIBS
1107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1108 $as_echo "yes" >&6; }
1109
1110 fi
1111+fi
1112+ if test x$enable_google != xno; then
1113+ BUILD_GOOGLE_TRUE=
1114+ BUILD_GOOGLE_FALSE='#'
1115+else
1116+ BUILD_GOOGLE_TRUE='#'
1117+ BUILD_GOOGLE_FALSE=
1118+fi
1119+
1120+
1121+# Media Server
1122+# Check whether --enable-media-server was given.
1123+if test "${enable_media_server+set}" = set; then :
1124+ enableval=$enable_media_server;
1125+else
1126+ enable_media_server=yes
1127+fi
1128+
1129+ if test x$enable_media_server != xno; then
1130+ BUILD_MEDIA_SERVER_TRUE=
1131+ BUILD_MEDIA_SERVER_FALSE='#'
1132+else
1133+ BUILD_MEDIA_SERVER_TRUE='#'
1134+ BUILD_MEDIA_SERVER_FALSE=
1135+fi
1136+
1137+
1138+# ownCloud
1139+# Check whether --enable-owncloud was given.
1140+if test "${enable_owncloud+set}" = set; then :
1141+ enableval=$enable_owncloud;
1142+else
1143+ enable_owncloud=yes
1144+fi
1145+
1146+ if test x$enable_owncloud != xno; then
1147+ BUILD_OWNCLOUD_TRUE=
1148+ BUILD_OWNCLOUD_FALSE='#'
1149+else
1150+ BUILD_OWNCLOUD_TRUE='#'
1151+ BUILD_OWNCLOUD_FALSE=
1152+fi
1153+
1154+
1155+# Windows Live
1156+# Check whether --enable-windows-live was given.
1157+if test "${enable_windows_live+set}" = set; then :
1158+ enableval=$enable_windows_live;
1159+else
1160+ enable_windows_live=yes
1161+fi
1162+
1163+if test "$enable_windows_live" != "no"; then
1164
1165 pkg_failed=no
1166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZAPOJIT" >&5
1167@@ -12765,6 +12914,15 @@
1168 $as_echo "yes" >&6; }
1169
1170 fi
1171+fi
1172+ if test x$enable_windows_live != xno; then
1173+ BUILD_WINDOWS_LIVE_TRUE=
1174+ BUILD_WINDOWS_LIVE_FALSE='#'
1175+else
1176+ BUILD_WINDOWS_LIVE_TRUE='#'
1177+ BUILD_WINDOWS_LIVE_FALSE=
1178+fi
1179+
1180
1181 ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile"
1182
1183@@ -12905,6 +13063,30 @@
1184 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1186 fi
1187+if test -z "${BUILD_FACEBOOK_TRUE}" && test -z "${BUILD_FACEBOOK_FALSE}"; then
1188+ as_fn_error $? "conditional \"BUILD_FACEBOOK\" was never defined.
1189+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1190+fi
1191+if test -z "${BUILD_FLICKR_TRUE}" && test -z "${BUILD_FLICKR_FALSE}"; then
1192+ as_fn_error $? "conditional \"BUILD_FLICKR\" was never defined.
1193+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1194+fi
1195+if test -z "${BUILD_GOOGLE_TRUE}" && test -z "${BUILD_GOOGLE_FALSE}"; then
1196+ as_fn_error $? "conditional \"BUILD_GOOGLE\" was never defined.
1197+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1198+fi
1199+if test -z "${BUILD_MEDIA_SERVER_TRUE}" && test -z "${BUILD_MEDIA_SERVER_FALSE}"; then
1200+ as_fn_error $? "conditional \"BUILD_MEDIA_SERVER\" was never defined.
1201+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1202+fi
1203+if test -z "${BUILD_OWNCLOUD_TRUE}" && test -z "${BUILD_OWNCLOUD_FALSE}"; then
1204+ as_fn_error $? "conditional \"BUILD_OWNCLOUD\" was never defined.
1205+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1206+fi
1207+if test -z "${BUILD_WINDOWS_LIVE_TRUE}" && test -z "${BUILD_WINDOWS_LIVE_FALSE}"; then
1208+ as_fn_error $? "conditional \"BUILD_WINDOWS_LIVE\" was never defined.
1209+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1210+fi
1211
1212 : "${CONFIG_STATUS=./config.status}"
1213 ac_write_fail=0
1214@@ -13302,7 +13484,7 @@
1215 # report actual input values of CONFIG_FILES etc. instead of their
1216 # values after options handling.
1217 ac_log="
1218-This file was extended by GNOME Online Miners $as_me 3.14.1, which was
1219+This file was extended by GNOME Online Miners $as_me 3.14.3, which was
1220 generated by GNU Autoconf 2.69. Invocation command line was
1221
1222 CONFIG_FILES = $CONFIG_FILES
1223@@ -13369,7 +13551,7 @@
1224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1225 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1226 ac_cs_version="\\
1227-GNOME Online Miners config.status 3.14.1
1228+GNOME Online Miners config.status 3.14.3
1229 configured by $0, generated by GNU Autoconf 2.69,
1230 with options \\"\$ac_cs_config\\"
1231
1232@@ -15137,3 +15319,15 @@
1233 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1234 fi
1235
1236+
1237+echo "
1238+ gnome-online-miners $VERSION
1239+ ==============================
1240+
1241+ Facebook miner: ${enable_facebook}
1242+ Flickr miner: ${enable_flickr}
1243+ Google miner: ${enable_google}
1244+ Media server miner: ${enable_media_server}
1245+ ownCloud miner: ${enable_owncloud}
1246+ Windows Live miner: ${enable_windows_live}
1247+"
1248
1249=== modified file 'configure.ac'
1250--- configure.ac 2015-03-20 10:28:22 +0000
1251+++ configure.ac 2015-05-27 08:42:08 +0000
1252@@ -1,5 +1,5 @@
1253 AC_INIT([GNOME Online Miners],
1254- [3.14.1],
1255+ [3.14.3],
1256 [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners],
1257 [gnome-online-miners],
1258 [https://wiki.gnome.org/Projects/GnomeOnlineMiners])
1259@@ -32,17 +32,55 @@
1260
1261 LT_INIT
1262
1263-PKG_CHECK_MODULES(GDATA, [libgdata >= $GDATA_MIN_VERSION])
1264-PKG_CHECK_MODULES(GFBGRAPH, [libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION])
1265 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= $GLIB_MIN_VERSION])
1266 PKG_CHECK_MODULES(GIO, [gio-2.0 gio-unix-2.0])
1267
1268 PKG_CHECK_MODULES(GOA, [goa-1.0 >= $GOA_MIN_VERSION])
1269 AC_DEFINE([GOA_API_IS_SUBJECT_TO_CHANGE], [], [We are aware that GOA's API can change])
1270
1271-PKG_CHECK_MODULES(GRILO, [grilo-0.2 >= $GRILO_MIN_VERSION])
1272 PKG_CHECK_MODULES(TRACKER, [tracker-miner-1.0 tracker-sparql-1.0])
1273-PKG_CHECK_MODULES(ZAPOJIT, [zapojit-0.0 >= $ZAPOJIT_MIN_VERSION])
1274+
1275+# Facebook
1276+AC_ARG_ENABLE([facebook], [AS_HELP_STRING([--enable-facebook], [Enable Facebook miner])], [], [enable_facebook=yes])
1277+if test "$enable_facebook" != "no"; then
1278+ PKG_CHECK_MODULES(GFBGRAPH, [libgfbgraph-0.2 >= $GFBGRAPH_MIN_VERSION])
1279+fi
1280+AM_CONDITIONAL(BUILD_FACEBOOK, [test x$enable_facebook != xno])
1281+
1282+# Flickr
1283+AC_ARG_ENABLE([flickr], [AS_HELP_STRING([--enable-flickr], [Enable Flickr miner])], [], [enable_flickr=yes])
1284+if test "$enable_flickr" != "no"; then
1285+ PKG_CHECK_MODULES(GRILO, [grilo-0.2 >= $GRILO_MIN_VERSION])
1286+fi
1287+AM_CONDITIONAL(BUILD_FLICKR, [test x$enable_flickr != xno])
1288+
1289+# Google
1290+AC_ARG_ENABLE([google], [AS_HELP_STRING([--enable-google], [Enable Google miner])], [], [enable_google=yes])
1291+if test "$enable_google" != "no"; then
1292+ PKG_CHECK_MODULES(GDATA, [libgdata >= $GDATA_MIN_VERSION])
1293+fi
1294+AM_CONDITIONAL(BUILD_GOOGLE, [test x$enable_google != xno])
1295+
1296+# Media Server
1297+AC_ARG_ENABLE([media-server], [AS_HELP_STRING([--enable-media-server],
1298+ [Enable media server miner])],
1299+ [],
1300+ [enable_media_server=yes])
1301+AM_CONDITIONAL(BUILD_MEDIA_SERVER, [test x$enable_media_server != xno])
1302+
1303+# ownCloud
1304+AC_ARG_ENABLE([owncloud], [AS_HELP_STRING([--enable-owncloud], [Enable ownCloud miner])], [], [enable_owncloud=yes])
1305+AM_CONDITIONAL(BUILD_OWNCLOUD, [test x$enable_owncloud != xno])
1306+
1307+# Windows Live
1308+AC_ARG_ENABLE([windows-live], [AS_HELP_STRING([--enable-windows-live],
1309+ [Enable Windows Live miner])],
1310+ [],
1311+ [enable_windows_live=yes])
1312+if test "$enable_windows_live" != "no"; then
1313+ PKG_CHECK_MODULES(ZAPOJIT, [zapojit-0.0 >= $ZAPOJIT_MIN_VERSION])
1314+fi
1315+AM_CONDITIONAL(BUILD_WINDOWS_LIVE, [test x$enable_windows_live != xno])
1316
1317 AC_CONFIG_FILES([
1318 Makefile
1319@@ -50,3 +88,15 @@
1320 src/Makefile
1321 ])
1322 AC_OUTPUT
1323+
1324+echo "
1325+ gnome-online-miners $VERSION
1326+ ==============================
1327+
1328+ Facebook miner: ${enable_facebook}
1329+ Flickr miner: ${enable_flickr}
1330+ Google miner: ${enable_google}
1331+ Media server miner: ${enable_media_server}
1332+ ownCloud miner: ${enable_owncloud}
1333+ Windows Live miner: ${enable_windows_live}
1334+"
1335
1336=== modified file 'debian/changelog'
1337--- debian/changelog 2015-03-20 10:28:22 +0000
1338+++ debian/changelog 2015-05-27 08:42:08 +0000
1339@@ -1,3 +1,16 @@
1340+gnome-online-miners (3.14.3-1ubuntu1) wily; urgency=medium
1341+
1342+ * Merge from debian. Remaining changes:
1343+ - debian/control.in: Switch dep to grilo-plugins-0.2-extra
1344+
1345+ -- Jackson Doak <noskcaj@ubuntu.com> Wed, 27 May 2015 18:29:04 +1000
1346+
1347+gnome-online-miners (3.14.3-1) unstable; urgency=medium
1348+
1349+ * New upstream release.
1350+
1351+ -- Andreas Henriksson <andreas@fatal.se> Tue, 19 May 2015 18:04:51 +0200
1352+
1353 gnome-online-miners (3.14.1-0ubuntu1) vivid; urgency=medium
1354
1355 * New upstream release
1356
1357=== modified file 'debian/control'
1358--- debian/control 2015-02-17 21:28:09 +0000
1359+++ debian/control 2015-05-27 08:42:08 +0000
1360@@ -5,7 +5,8 @@
1361 Source: gnome-online-miners
1362 Section: gnome
1363 Priority: optional
1364-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
1365+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1366+XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
1367 Uploaders: Andreas Henriksson <andreas@fatal.se>, Laurent Bigonville <bigon@debian.org>
1368 Build-Depends: autotools-dev,
1369 debhelper (>= 9),
1370
1371=== modified file 'debian/control.in'
1372--- debian/control.in 2015-02-17 21:28:09 +0000
1373+++ debian/control.in 2015-05-27 08:42:08 +0000
1374@@ -1,7 +1,8 @@
1375 Source: gnome-online-miners
1376 Section: gnome
1377 Priority: optional
1378-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
1379+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1380+XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
1381 Uploaders: @GNOME_TEAM@
1382 Build-Depends: autotools-dev,
1383 debhelper (>= 9),
1384
1385=== modified file 'src/Makefile.am'
1386--- src/Makefile.am 2014-09-07 11:31:28 +0000
1387+++ src/Makefile.am 2015-05-27 08:42:08 +0000
1388@@ -46,12 +46,12 @@
1389 $(NULL)
1390
1391 libexec_PROGRAMS = \
1392+ $(NULL)
1393+
1394+if BUILD_FACEBOOK
1395+
1396+libexec_PROGRAMS += \
1397 gom-facebook-miner \
1398- gom-flickr-miner \
1399- gom-gdata-miner \
1400- gom-media-server-miner \
1401- gom-owncloud-miner \
1402- gom-zpj-miner \
1403 $(NULL)
1404
1405 gom_facebook_miner_SOURCES = \
1406@@ -80,6 +80,14 @@
1407 $(TRACKER_LIBS) \
1408 $(NULL)
1409
1410+endif # BUILD_FACEBOOK
1411+
1412+if BUILD_FLICKR
1413+
1414+libexec_PROGRAMS += \
1415+ gom-flickr-miner \
1416+ $(NULL)
1417+
1418 gom_flickr_miner_SOURCES = \
1419 gom-flickr-miner-main.c \
1420 gom-flickr-miner.c \
1421@@ -106,6 +114,14 @@
1422 $(TRACKER_LIBS) \
1423 $(NULL)
1424
1425+endif # BUILD_FLICKR
1426+
1427+if BUILD_GOOGLE
1428+
1429+libexec_PROGRAMS += \
1430+ gom-gdata-miner \
1431+ $(NULL)
1432+
1433 gom_gdata_miner_SOURCES = \
1434 gom-gdata-miner-main.c \
1435 gom-gdata-miner.c \
1436@@ -132,6 +148,14 @@
1437 $(TRACKER_LIBS) \
1438 $(NULL)
1439
1440+endif # BUILD_GOOGLE
1441+
1442+if BUILD_MEDIA_SERVER
1443+
1444+libexec_PROGRAMS += \
1445+ gom-media-server-miner \
1446+ $(NULL)
1447+
1448 gom_media_server_miner_built_sources = \
1449 gom-dleyna-server-manager.c \
1450 gom-dleyna-server-manager.h \
1451@@ -173,6 +197,14 @@
1452 $(TRACKER_LIBS) \
1453 $(NULL)
1454
1455+endif # BUILD_MEDIA_SERVER
1456+
1457+if BUILD_OWNCLOUD
1458+
1459+libexec_PROGRAMS += \
1460+ gom-owncloud-miner \
1461+ $(NULL)
1462+
1463 gom_owncloud_miner_SOURCES = \
1464 gom-owncloud-miner-main.c \
1465 gom-owncloud-miner.c \
1466@@ -197,6 +229,14 @@
1467 $(TRACKER_LIBS) \
1468 $(NULL)
1469
1470+endif # BUILD_OWNCLOUD
1471+
1472+if BUILD_WINDOWS_LIVE
1473+
1474+libexec_PROGRAMS += \
1475+ gom-zpj-miner \
1476+ $(NULL)
1477+
1478 gom_zpj_miner_SOURCES = \
1479 gom-zpj-miner-main.c \
1480 gom-zpj-miner.c \
1481@@ -223,6 +263,8 @@
1482 $(ZAPOJIT_LIBS) \
1483 $(NULL)
1484
1485+endif # BUILD_WINDOWS_LIVE
1486+
1487 BUILT_SOURCES = \
1488 $(libgom_1_0_la_built_sources) \
1489 $(gom_media_server_miner_built_sources)
1490
1491=== modified file 'src/Makefile.in'
1492--- src/Makefile.in 2015-03-20 10:28:22 +0000
1493+++ src/Makefile.in 2015-05-27 08:42:08 +0000
1494@@ -79,10 +79,32 @@
1495 POST_UNINSTALL = :
1496 build_triplet = @build@
1497 host_triplet = @host@
1498-libexec_PROGRAMS = gom-facebook-miner$(EXEEXT) \
1499- gom-flickr-miner$(EXEEXT) gom-gdata-miner$(EXEEXT) \
1500- gom-media-server-miner$(EXEEXT) gom-owncloud-miner$(EXEEXT) \
1501- gom-zpj-miner$(EXEEXT)
1502+libexec_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
1503+ $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6)
1504+@BUILD_FACEBOOK_TRUE@am__append_1 = \
1505+@BUILD_FACEBOOK_TRUE@ gom-facebook-miner \
1506+@BUILD_FACEBOOK_TRUE@ $(NULL)
1507+
1508+@BUILD_FLICKR_TRUE@am__append_2 = \
1509+@BUILD_FLICKR_TRUE@ gom-flickr-miner \
1510+@BUILD_FLICKR_TRUE@ $(NULL)
1511+
1512+@BUILD_GOOGLE_TRUE@am__append_3 = \
1513+@BUILD_GOOGLE_TRUE@ gom-gdata-miner \
1514+@BUILD_GOOGLE_TRUE@ $(NULL)
1515+
1516+@BUILD_MEDIA_SERVER_TRUE@am__append_4 = \
1517+@BUILD_MEDIA_SERVER_TRUE@ gom-media-server-miner \
1518+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
1519+
1520+@BUILD_OWNCLOUD_TRUE@am__append_5 = \
1521+@BUILD_OWNCLOUD_TRUE@ gom-owncloud-miner \
1522+@BUILD_OWNCLOUD_TRUE@ $(NULL)
1523+
1524+@BUILD_WINDOWS_LIVE_TRUE@am__append_6 = \
1525+@BUILD_WINDOWS_LIVE_TRUE@ gom-zpj-miner \
1526+@BUILD_WINDOWS_LIVE_TRUE@ $(NULL)
1527+
1528 subdir = src
1529 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
1530 $(top_srcdir)/config/depcomp
1531@@ -145,56 +167,84 @@
1532 libgom_1_0_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
1533 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
1534 $(libgom_1_0_la_LDFLAGS) $(LDFLAGS) -o $@
1535+@BUILD_FACEBOOK_TRUE@am__EXEEXT_1 = gom-facebook-miner$(EXEEXT)
1536+@BUILD_FLICKR_TRUE@am__EXEEXT_2 = gom-flickr-miner$(EXEEXT)
1537+@BUILD_GOOGLE_TRUE@am__EXEEXT_3 = gom-gdata-miner$(EXEEXT)
1538+@BUILD_MEDIA_SERVER_TRUE@am__EXEEXT_4 = \
1539+@BUILD_MEDIA_SERVER_TRUE@ gom-media-server-miner$(EXEEXT)
1540+@BUILD_OWNCLOUD_TRUE@am__EXEEXT_5 = gom-owncloud-miner$(EXEEXT)
1541+@BUILD_WINDOWS_LIVE_TRUE@am__EXEEXT_6 = gom-zpj-miner$(EXEEXT)
1542 PROGRAMS = $(libexec_PROGRAMS)
1543-am_gom_facebook_miner_OBJECTS = \
1544- gom_facebook_miner-gom-facebook-miner-main.$(OBJEXT) \
1545- gom_facebook_miner-gom-facebook-miner.$(OBJEXT)
1546+am__gom_facebook_miner_SOURCES_DIST = gom-facebook-miner-main.c \
1547+ gom-facebook-miner.c gom-facebook-miner.h
1548+@BUILD_FACEBOOK_TRUE@am_gom_facebook_miner_OBJECTS = gom_facebook_miner-gom-facebook-miner-main.$(OBJEXT) \
1549+@BUILD_FACEBOOK_TRUE@ gom_facebook_miner-gom-facebook-miner.$(OBJEXT)
1550 gom_facebook_miner_OBJECTS = $(am_gom_facebook_miner_OBJECTS)
1551-gom_facebook_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \
1552- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1553- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
1554-am_gom_flickr_miner_OBJECTS = \
1555- gom_flickr_miner-gom-flickr-miner-main.$(OBJEXT) \
1556- gom_flickr_miner-gom-flickr-miner.$(OBJEXT)
1557+@BUILD_FACEBOOK_TRUE@gom_facebook_miner_DEPENDENCIES = libgom-1.0.la \
1558+@BUILD_FACEBOOK_TRUE@ $(am__DEPENDENCIES_1) \
1559+@BUILD_FACEBOOK_TRUE@ $(am__DEPENDENCIES_1) \
1560+@BUILD_FACEBOOK_TRUE@ $(am__DEPENDENCIES_1) \
1561+@BUILD_FACEBOOK_TRUE@ $(am__DEPENDENCIES_1) \
1562+@BUILD_FACEBOOK_TRUE@ $(am__DEPENDENCIES_1)
1563+am__gom_flickr_miner_SOURCES_DIST = gom-flickr-miner-main.c \
1564+ gom-flickr-miner.c gom-flickr-miner.h
1565+@BUILD_FLICKR_TRUE@am_gom_flickr_miner_OBJECTS = gom_flickr_miner-gom-flickr-miner-main.$(OBJEXT) \
1566+@BUILD_FLICKR_TRUE@ gom_flickr_miner-gom-flickr-miner.$(OBJEXT)
1567 gom_flickr_miner_OBJECTS = $(am_gom_flickr_miner_OBJECTS)
1568-gom_flickr_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \
1569- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1570- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
1571-am_gom_gdata_miner_OBJECTS = \
1572- gom_gdata_miner-gom-gdata-miner-main.$(OBJEXT) \
1573- gom_gdata_miner-gom-gdata-miner.$(OBJEXT)
1574+@BUILD_FLICKR_TRUE@gom_flickr_miner_DEPENDENCIES = libgom-1.0.la \
1575+@BUILD_FLICKR_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1576+@BUILD_FLICKR_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1577+@BUILD_FLICKR_TRUE@ $(am__DEPENDENCIES_1)
1578+am__gom_gdata_miner_SOURCES_DIST = gom-gdata-miner-main.c \
1579+ gom-gdata-miner.c gom-gdata-miner.h
1580+@BUILD_GOOGLE_TRUE@am_gom_gdata_miner_OBJECTS = gom_gdata_miner-gom-gdata-miner-main.$(OBJEXT) \
1581+@BUILD_GOOGLE_TRUE@ gom_gdata_miner-gom-gdata-miner.$(OBJEXT)
1582 gom_gdata_miner_OBJECTS = $(am_gom_gdata_miner_OBJECTS)
1583-gom_gdata_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \
1584- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1585- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
1586-am_gom_media_server_miner_OBJECTS = \
1587- gom_media_server_miner-gom-media-server-miner-main.$(OBJEXT) \
1588- gom_media_server_miner-gom-media-server-miner.$(OBJEXT) \
1589- gom_media_server_miner-gom-dlna-server.$(OBJEXT) \
1590- gom_media_server_miner-gom-dlna-servers-manager.$(OBJEXT)
1591-am__objects_2 = \
1592- gom_media_server_miner-gom-dleyna-server-manager.$(OBJEXT) \
1593- gom_media_server_miner-gom-dleyna-server-media-device.$(OBJEXT) \
1594- gom_media_server_miner-gom-upnp-media-container2.$(OBJEXT)
1595-nodist_gom_media_server_miner_OBJECTS = $(am__objects_2)
1596+@BUILD_GOOGLE_TRUE@gom_gdata_miner_DEPENDENCIES = libgom-1.0.la \
1597+@BUILD_GOOGLE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1598+@BUILD_GOOGLE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1599+@BUILD_GOOGLE_TRUE@ $(am__DEPENDENCIES_1)
1600+am__gom_media_server_miner_SOURCES_DIST = \
1601+ gom-media-server-miner-main.c gom-media-server-miner.c \
1602+ gom-media-server-miner.h gom-dlna-server.c gom-dlna-server.h \
1603+ gom-dlna-servers-manager.c gom-dlna-servers-manager.h
1604+@BUILD_MEDIA_SERVER_TRUE@am_gom_media_server_miner_OBJECTS = gom_media_server_miner-gom-media-server-miner-main.$(OBJEXT) \
1605+@BUILD_MEDIA_SERVER_TRUE@ gom_media_server_miner-gom-media-server-miner.$(OBJEXT) \
1606+@BUILD_MEDIA_SERVER_TRUE@ gom_media_server_miner-gom-dlna-server.$(OBJEXT) \
1607+@BUILD_MEDIA_SERVER_TRUE@ gom_media_server_miner-gom-dlna-servers-manager.$(OBJEXT)
1608+@BUILD_MEDIA_SERVER_TRUE@am__objects_2 = gom_media_server_miner-gom-dleyna-server-manager.$(OBJEXT) \
1609+@BUILD_MEDIA_SERVER_TRUE@ gom_media_server_miner-gom-dleyna-server-media-device.$(OBJEXT) \
1610+@BUILD_MEDIA_SERVER_TRUE@ gom_media_server_miner-gom-upnp-media-container2.$(OBJEXT)
1611+@BUILD_MEDIA_SERVER_TRUE@nodist_gom_media_server_miner_OBJECTS = \
1612+@BUILD_MEDIA_SERVER_TRUE@ $(am__objects_2)
1613 gom_media_server_miner_OBJECTS = $(am_gom_media_server_miner_OBJECTS) \
1614 $(nodist_gom_media_server_miner_OBJECTS)
1615-gom_media_server_miner_DEPENDENCIES = libgom-1.0.la \
1616- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1617- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
1618-am_gom_owncloud_miner_OBJECTS = \
1619- gom_owncloud_miner-gom-owncloud-miner-main.$(OBJEXT) \
1620- gom_owncloud_miner-gom-owncloud-miner.$(OBJEXT)
1621+@BUILD_MEDIA_SERVER_TRUE@gom_media_server_miner_DEPENDENCIES = \
1622+@BUILD_MEDIA_SERVER_TRUE@ libgom-1.0.la $(am__DEPENDENCIES_1) \
1623+@BUILD_MEDIA_SERVER_TRUE@ $(am__DEPENDENCIES_1) \
1624+@BUILD_MEDIA_SERVER_TRUE@ $(am__DEPENDENCIES_1) \
1625+@BUILD_MEDIA_SERVER_TRUE@ $(am__DEPENDENCIES_1)
1626+am__gom_owncloud_miner_SOURCES_DIST = gom-owncloud-miner-main.c \
1627+ gom-owncloud-miner.c gom-owncloud-miner.h
1628+@BUILD_OWNCLOUD_TRUE@am_gom_owncloud_miner_OBJECTS = gom_owncloud_miner-gom-owncloud-miner-main.$(OBJEXT) \
1629+@BUILD_OWNCLOUD_TRUE@ gom_owncloud_miner-gom-owncloud-miner.$(OBJEXT)
1630 gom_owncloud_miner_OBJECTS = $(am_gom_owncloud_miner_OBJECTS)
1631-gom_owncloud_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \
1632- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1633- $(am__DEPENDENCIES_1)
1634-am_gom_zpj_miner_OBJECTS = gom_zpj_miner-gom-zpj-miner-main.$(OBJEXT) \
1635- gom_zpj_miner-gom-zpj-miner.$(OBJEXT)
1636+@BUILD_OWNCLOUD_TRUE@gom_owncloud_miner_DEPENDENCIES = libgom-1.0.la \
1637+@BUILD_OWNCLOUD_TRUE@ $(am__DEPENDENCIES_1) \
1638+@BUILD_OWNCLOUD_TRUE@ $(am__DEPENDENCIES_1) \
1639+@BUILD_OWNCLOUD_TRUE@ $(am__DEPENDENCIES_1) \
1640+@BUILD_OWNCLOUD_TRUE@ $(am__DEPENDENCIES_1)
1641+am__gom_zpj_miner_SOURCES_DIST = gom-zpj-miner-main.c gom-zpj-miner.c \
1642+ gom-zpj-miner.h
1643+@BUILD_WINDOWS_LIVE_TRUE@am_gom_zpj_miner_OBJECTS = gom_zpj_miner-gom-zpj-miner-main.$(OBJEXT) \
1644+@BUILD_WINDOWS_LIVE_TRUE@ gom_zpj_miner-gom-zpj-miner.$(OBJEXT)
1645 gom_zpj_miner_OBJECTS = $(am_gom_zpj_miner_OBJECTS)
1646-gom_zpj_miner_DEPENDENCIES = libgom-1.0.la $(am__DEPENDENCIES_1) \
1647- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1648- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
1649+@BUILD_WINDOWS_LIVE_TRUE@gom_zpj_miner_DEPENDENCIES = libgom-1.0.la \
1650+@BUILD_WINDOWS_LIVE_TRUE@ $(am__DEPENDENCIES_1) \
1651+@BUILD_WINDOWS_LIVE_TRUE@ $(am__DEPENDENCIES_1) \
1652+@BUILD_WINDOWS_LIVE_TRUE@ $(am__DEPENDENCIES_1) \
1653+@BUILD_WINDOWS_LIVE_TRUE@ $(am__DEPENDENCIES_1) \
1654+@BUILD_WINDOWS_LIVE_TRUE@ $(am__DEPENDENCIES_1)
1655 AM_V_P = $(am__v_P_@AM_V@)
1656 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
1657 am__v_P_0 = false
1658@@ -234,10 +284,13 @@
1659 $(gom_gdata_miner_SOURCES) $(gom_media_server_miner_SOURCES) \
1660 $(nodist_gom_media_server_miner_SOURCES) \
1661 $(gom_owncloud_miner_SOURCES) $(gom_zpj_miner_SOURCES)
1662-DIST_SOURCES = $(libgom_1_0_la_SOURCES) $(gom_facebook_miner_SOURCES) \
1663- $(gom_flickr_miner_SOURCES) $(gom_gdata_miner_SOURCES) \
1664- $(gom_media_server_miner_SOURCES) \
1665- $(gom_owncloud_miner_SOURCES) $(gom_zpj_miner_SOURCES)
1666+DIST_SOURCES = $(libgom_1_0_la_SOURCES) \
1667+ $(am__gom_facebook_miner_SOURCES_DIST) \
1668+ $(am__gom_flickr_miner_SOURCES_DIST) \
1669+ $(am__gom_gdata_miner_SOURCES_DIST) \
1670+ $(am__gom_media_server_miner_SOURCES_DIST) \
1671+ $(am__gom_owncloud_miner_SOURCES_DIST) \
1672+ $(am__gom_zpj_miner_SOURCES_DIST)
1673 am__can_run_installinfo = \
1674 case $$AM_UPDATE_INFO_DIR in \
1675 n|no|NO) false;; \
1676@@ -444,173 +497,173 @@
1677 -avoid-version \
1678 $(NULL)
1679
1680-gom_facebook_miner_SOURCES = \
1681- gom-facebook-miner-main.c \
1682- gom-facebook-miner.c \
1683- gom-facebook-miner.h \
1684- $(NULL)
1685-
1686-gom_facebook_miner_CPPFLAGS = \
1687- -DG_LOG_DOMAIN=\"Gom\" \
1688- -DG_DISABLE_DEPRECATED \
1689- -I$(top_srcdir)/src \
1690- $(GFBGRAPH_CFLAGS) \
1691- $(GIO_CFLAGS) \
1692- $(GLIB_CFLAGS) \
1693- $(GOA_CFLAGS) \
1694- $(TRACKER_CFLAGS) \
1695- $(NULL)
1696-
1697-gom_facebook_miner_LDADD = \
1698- libgom-1.0.la \
1699- $(GFBGRAPH_LIBS) \
1700- $(GIO_LIBS) \
1701- $(GLIB_LIBS) \
1702- $(GOA_LIBS) \
1703- $(TRACKER_LIBS) \
1704- $(NULL)
1705-
1706-gom_flickr_miner_SOURCES = \
1707- gom-flickr-miner-main.c \
1708- gom-flickr-miner.c \
1709- gom-flickr-miner.h \
1710- $(NULL)
1711-
1712-gom_flickr_miner_CPPFLAGS = \
1713- -DG_LOG_DOMAIN=\"Gom\" \
1714- -DG_DISABLE_DEPRECATED \
1715- -I$(top_srcdir)/src \
1716- $(GIO_CFLAGS) \
1717- $(GLIB_CFLAGS) \
1718- $(GOA_CFLAGS) \
1719- $(GRILO_CFLAGS) \
1720- $(TRACKER_CFLAGS) \
1721- $(NULL)
1722-
1723-gom_flickr_miner_LDADD = \
1724- libgom-1.0.la \
1725- $(GIO_LIBS) \
1726- $(GLIB_LIBS) \
1727- $(GOA_LIBS) \
1728- $(GRILO_LIBS) \
1729- $(TRACKER_LIBS) \
1730- $(NULL)
1731-
1732-gom_gdata_miner_SOURCES = \
1733- gom-gdata-miner-main.c \
1734- gom-gdata-miner.c \
1735- gom-gdata-miner.h \
1736- $(NULL)
1737-
1738-gom_gdata_miner_CPPFLAGS = \
1739- -DG_LOG_DOMAIN=\"Gom\" \
1740- -DG_DISABLE_DEPRECATED \
1741- -I$(top_srcdir)/src \
1742- $(GDATA_CFLAGS) \
1743- $(GIO_CFLAGS) \
1744- $(GLIB_CFLAGS) \
1745- $(GOA_CFLAGS) \
1746- $(TRACKER_CFLAGS) \
1747- $(NULL)
1748-
1749-gom_gdata_miner_LDADD = \
1750- libgom-1.0.la \
1751- $(GDATA_LIBS) \
1752- $(GIO_LIBS) \
1753- $(GLIB_LIBS) \
1754- $(GOA_LIBS) \
1755- $(TRACKER_LIBS) \
1756- $(NULL)
1757-
1758-gom_media_server_miner_built_sources = \
1759- gom-dleyna-server-manager.c \
1760- gom-dleyna-server-manager.h \
1761- gom-dleyna-server-media-device.c \
1762- gom-dleyna-server-media-device.h \
1763- gom-upnp-media-container2.c \
1764- gom-upnp-media-container2.h \
1765- $(NULL)
1766-
1767-nodist_gom_media_server_miner_SOURCES = \
1768- $(gom_media_server_miner_built_sources)
1769-
1770-gom_media_server_miner_SOURCES = \
1771- gom-media-server-miner-main.c \
1772- gom-media-server-miner.c \
1773- gom-media-server-miner.h \
1774- gom-dlna-server.c \
1775- gom-dlna-server.h \
1776- gom-dlna-servers-manager.c \
1777- gom-dlna-servers-manager.h \
1778- $(NULL)
1779-
1780-gom_media_server_miner_CPPFLAGS = \
1781- -DG_LOG_DOMAIN=\"Gom\" \
1782- -DG_DISABLE_DEPRECATED \
1783- -I$(top_srcdir)/src \
1784- $(GIO_CFLAGS) \
1785- $(GLIB_CFLAGS) \
1786- $(GOA_CFLAGS) \
1787- $(TRACKER_CFLAGS) \
1788- $(NULL)
1789-
1790-gom_media_server_miner_LDADD = \
1791- libgom-1.0.la \
1792- $(GIO_LIBS) \
1793- $(GLIB_LIBS) \
1794- $(GOA_LIBS) \
1795- $(TRACKER_LIBS) \
1796- $(NULL)
1797-
1798-gom_owncloud_miner_SOURCES = \
1799- gom-owncloud-miner-main.c \
1800- gom-owncloud-miner.c \
1801- gom-owncloud-miner.h \
1802- $(NULL)
1803-
1804-gom_owncloud_miner_CPPFLAGS = \
1805- -DG_LOG_DOMAIN=\"Gom\" \
1806- -DG_DISABLE_DEPRECATED \
1807- -I$(top_srcdir)/src \
1808- $(GIO_CFLAGS) \
1809- $(GLIB_CFLAGS) \
1810- $(GOA_CFLAGS) \
1811- $(TRACKER_CFLAGS) \
1812- $(NULL)
1813-
1814-gom_owncloud_miner_LDADD = \
1815- libgom-1.0.la \
1816- $(GIO_LIBS) \
1817- $(GLIB_LIBS) \
1818- $(GOA_LIBS) \
1819- $(TRACKER_LIBS) \
1820- $(NULL)
1821-
1822-gom_zpj_miner_SOURCES = \
1823- gom-zpj-miner-main.c \
1824- gom-zpj-miner.c \
1825- gom-zpj-miner.h \
1826- $(NULL)
1827-
1828-gom_zpj_miner_CPPFLAGS = \
1829- -DG_LOG_DOMAIN=\"Gom\" \
1830- -DG_DISABLE_DEPRECATED \
1831- -I$(top_srcdir)/src \
1832- $(GIO_CFLAGS) \
1833- $(GLIB_CFLAGS) \
1834- $(GOA_CFLAGS) \
1835- $(TRACKER_CFLAGS) \
1836- $(ZAPOJIT_CFLAGS) \
1837- $(NULL)
1838-
1839-gom_zpj_miner_LDADD = \
1840- libgom-1.0.la \
1841- $(GIO_LIBS) \
1842- $(GLIB_LIBS) \
1843- $(GOA_LIBS) \
1844- $(TRACKER_LIBS) \
1845- $(ZAPOJIT_LIBS) \
1846- $(NULL)
1847+@BUILD_FACEBOOK_TRUE@gom_facebook_miner_SOURCES = \
1848+@BUILD_FACEBOOK_TRUE@ gom-facebook-miner-main.c \
1849+@BUILD_FACEBOOK_TRUE@ gom-facebook-miner.c \
1850+@BUILD_FACEBOOK_TRUE@ gom-facebook-miner.h \
1851+@BUILD_FACEBOOK_TRUE@ $(NULL)
1852+
1853+@BUILD_FACEBOOK_TRUE@gom_facebook_miner_CPPFLAGS = \
1854+@BUILD_FACEBOOK_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1855+@BUILD_FACEBOOK_TRUE@ -DG_DISABLE_DEPRECATED \
1856+@BUILD_FACEBOOK_TRUE@ -I$(top_srcdir)/src \
1857+@BUILD_FACEBOOK_TRUE@ $(GFBGRAPH_CFLAGS) \
1858+@BUILD_FACEBOOK_TRUE@ $(GIO_CFLAGS) \
1859+@BUILD_FACEBOOK_TRUE@ $(GLIB_CFLAGS) \
1860+@BUILD_FACEBOOK_TRUE@ $(GOA_CFLAGS) \
1861+@BUILD_FACEBOOK_TRUE@ $(TRACKER_CFLAGS) \
1862+@BUILD_FACEBOOK_TRUE@ $(NULL)
1863+
1864+@BUILD_FACEBOOK_TRUE@gom_facebook_miner_LDADD = \
1865+@BUILD_FACEBOOK_TRUE@ libgom-1.0.la \
1866+@BUILD_FACEBOOK_TRUE@ $(GFBGRAPH_LIBS) \
1867+@BUILD_FACEBOOK_TRUE@ $(GIO_LIBS) \
1868+@BUILD_FACEBOOK_TRUE@ $(GLIB_LIBS) \
1869+@BUILD_FACEBOOK_TRUE@ $(GOA_LIBS) \
1870+@BUILD_FACEBOOK_TRUE@ $(TRACKER_LIBS) \
1871+@BUILD_FACEBOOK_TRUE@ $(NULL)
1872+
1873+@BUILD_FLICKR_TRUE@gom_flickr_miner_SOURCES = \
1874+@BUILD_FLICKR_TRUE@ gom-flickr-miner-main.c \
1875+@BUILD_FLICKR_TRUE@ gom-flickr-miner.c \
1876+@BUILD_FLICKR_TRUE@ gom-flickr-miner.h \
1877+@BUILD_FLICKR_TRUE@ $(NULL)
1878+
1879+@BUILD_FLICKR_TRUE@gom_flickr_miner_CPPFLAGS = \
1880+@BUILD_FLICKR_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1881+@BUILD_FLICKR_TRUE@ -DG_DISABLE_DEPRECATED \
1882+@BUILD_FLICKR_TRUE@ -I$(top_srcdir)/src \
1883+@BUILD_FLICKR_TRUE@ $(GIO_CFLAGS) \
1884+@BUILD_FLICKR_TRUE@ $(GLIB_CFLAGS) \
1885+@BUILD_FLICKR_TRUE@ $(GOA_CFLAGS) \
1886+@BUILD_FLICKR_TRUE@ $(GRILO_CFLAGS) \
1887+@BUILD_FLICKR_TRUE@ $(TRACKER_CFLAGS) \
1888+@BUILD_FLICKR_TRUE@ $(NULL)
1889+
1890+@BUILD_FLICKR_TRUE@gom_flickr_miner_LDADD = \
1891+@BUILD_FLICKR_TRUE@ libgom-1.0.la \
1892+@BUILD_FLICKR_TRUE@ $(GIO_LIBS) \
1893+@BUILD_FLICKR_TRUE@ $(GLIB_LIBS) \
1894+@BUILD_FLICKR_TRUE@ $(GOA_LIBS) \
1895+@BUILD_FLICKR_TRUE@ $(GRILO_LIBS) \
1896+@BUILD_FLICKR_TRUE@ $(TRACKER_LIBS) \
1897+@BUILD_FLICKR_TRUE@ $(NULL)
1898+
1899+@BUILD_GOOGLE_TRUE@gom_gdata_miner_SOURCES = \
1900+@BUILD_GOOGLE_TRUE@ gom-gdata-miner-main.c \
1901+@BUILD_GOOGLE_TRUE@ gom-gdata-miner.c \
1902+@BUILD_GOOGLE_TRUE@ gom-gdata-miner.h \
1903+@BUILD_GOOGLE_TRUE@ $(NULL)
1904+
1905+@BUILD_GOOGLE_TRUE@gom_gdata_miner_CPPFLAGS = \
1906+@BUILD_GOOGLE_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1907+@BUILD_GOOGLE_TRUE@ -DG_DISABLE_DEPRECATED \
1908+@BUILD_GOOGLE_TRUE@ -I$(top_srcdir)/src \
1909+@BUILD_GOOGLE_TRUE@ $(GDATA_CFLAGS) \
1910+@BUILD_GOOGLE_TRUE@ $(GIO_CFLAGS) \
1911+@BUILD_GOOGLE_TRUE@ $(GLIB_CFLAGS) \
1912+@BUILD_GOOGLE_TRUE@ $(GOA_CFLAGS) \
1913+@BUILD_GOOGLE_TRUE@ $(TRACKER_CFLAGS) \
1914+@BUILD_GOOGLE_TRUE@ $(NULL)
1915+
1916+@BUILD_GOOGLE_TRUE@gom_gdata_miner_LDADD = \
1917+@BUILD_GOOGLE_TRUE@ libgom-1.0.la \
1918+@BUILD_GOOGLE_TRUE@ $(GDATA_LIBS) \
1919+@BUILD_GOOGLE_TRUE@ $(GIO_LIBS) \
1920+@BUILD_GOOGLE_TRUE@ $(GLIB_LIBS) \
1921+@BUILD_GOOGLE_TRUE@ $(GOA_LIBS) \
1922+@BUILD_GOOGLE_TRUE@ $(TRACKER_LIBS) \
1923+@BUILD_GOOGLE_TRUE@ $(NULL)
1924+
1925+@BUILD_MEDIA_SERVER_TRUE@gom_media_server_miner_built_sources = \
1926+@BUILD_MEDIA_SERVER_TRUE@ gom-dleyna-server-manager.c \
1927+@BUILD_MEDIA_SERVER_TRUE@ gom-dleyna-server-manager.h \
1928+@BUILD_MEDIA_SERVER_TRUE@ gom-dleyna-server-media-device.c \
1929+@BUILD_MEDIA_SERVER_TRUE@ gom-dleyna-server-media-device.h \
1930+@BUILD_MEDIA_SERVER_TRUE@ gom-upnp-media-container2.c \
1931+@BUILD_MEDIA_SERVER_TRUE@ gom-upnp-media-container2.h \
1932+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
1933+
1934+@BUILD_MEDIA_SERVER_TRUE@nodist_gom_media_server_miner_SOURCES = \
1935+@BUILD_MEDIA_SERVER_TRUE@ $(gom_media_server_miner_built_sources)
1936+
1937+@BUILD_MEDIA_SERVER_TRUE@gom_media_server_miner_SOURCES = \
1938+@BUILD_MEDIA_SERVER_TRUE@ gom-media-server-miner-main.c \
1939+@BUILD_MEDIA_SERVER_TRUE@ gom-media-server-miner.c \
1940+@BUILD_MEDIA_SERVER_TRUE@ gom-media-server-miner.h \
1941+@BUILD_MEDIA_SERVER_TRUE@ gom-dlna-server.c \
1942+@BUILD_MEDIA_SERVER_TRUE@ gom-dlna-server.h \
1943+@BUILD_MEDIA_SERVER_TRUE@ gom-dlna-servers-manager.c \
1944+@BUILD_MEDIA_SERVER_TRUE@ gom-dlna-servers-manager.h \
1945+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
1946+
1947+@BUILD_MEDIA_SERVER_TRUE@gom_media_server_miner_CPPFLAGS = \
1948+@BUILD_MEDIA_SERVER_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1949+@BUILD_MEDIA_SERVER_TRUE@ -DG_DISABLE_DEPRECATED \
1950+@BUILD_MEDIA_SERVER_TRUE@ -I$(top_srcdir)/src \
1951+@BUILD_MEDIA_SERVER_TRUE@ $(GIO_CFLAGS) \
1952+@BUILD_MEDIA_SERVER_TRUE@ $(GLIB_CFLAGS) \
1953+@BUILD_MEDIA_SERVER_TRUE@ $(GOA_CFLAGS) \
1954+@BUILD_MEDIA_SERVER_TRUE@ $(TRACKER_CFLAGS) \
1955+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
1956+
1957+@BUILD_MEDIA_SERVER_TRUE@gom_media_server_miner_LDADD = \
1958+@BUILD_MEDIA_SERVER_TRUE@ libgom-1.0.la \
1959+@BUILD_MEDIA_SERVER_TRUE@ $(GIO_LIBS) \
1960+@BUILD_MEDIA_SERVER_TRUE@ $(GLIB_LIBS) \
1961+@BUILD_MEDIA_SERVER_TRUE@ $(GOA_LIBS) \
1962+@BUILD_MEDIA_SERVER_TRUE@ $(TRACKER_LIBS) \
1963+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
1964+
1965+@BUILD_OWNCLOUD_TRUE@gom_owncloud_miner_SOURCES = \
1966+@BUILD_OWNCLOUD_TRUE@ gom-owncloud-miner-main.c \
1967+@BUILD_OWNCLOUD_TRUE@ gom-owncloud-miner.c \
1968+@BUILD_OWNCLOUD_TRUE@ gom-owncloud-miner.h \
1969+@BUILD_OWNCLOUD_TRUE@ $(NULL)
1970+
1971+@BUILD_OWNCLOUD_TRUE@gom_owncloud_miner_CPPFLAGS = \
1972+@BUILD_OWNCLOUD_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1973+@BUILD_OWNCLOUD_TRUE@ -DG_DISABLE_DEPRECATED \
1974+@BUILD_OWNCLOUD_TRUE@ -I$(top_srcdir)/src \
1975+@BUILD_OWNCLOUD_TRUE@ $(GIO_CFLAGS) \
1976+@BUILD_OWNCLOUD_TRUE@ $(GLIB_CFLAGS) \
1977+@BUILD_OWNCLOUD_TRUE@ $(GOA_CFLAGS) \
1978+@BUILD_OWNCLOUD_TRUE@ $(TRACKER_CFLAGS) \
1979+@BUILD_OWNCLOUD_TRUE@ $(NULL)
1980+
1981+@BUILD_OWNCLOUD_TRUE@gom_owncloud_miner_LDADD = \
1982+@BUILD_OWNCLOUD_TRUE@ libgom-1.0.la \
1983+@BUILD_OWNCLOUD_TRUE@ $(GIO_LIBS) \
1984+@BUILD_OWNCLOUD_TRUE@ $(GLIB_LIBS) \
1985+@BUILD_OWNCLOUD_TRUE@ $(GOA_LIBS) \
1986+@BUILD_OWNCLOUD_TRUE@ $(TRACKER_LIBS) \
1987+@BUILD_OWNCLOUD_TRUE@ $(NULL)
1988+
1989+@BUILD_WINDOWS_LIVE_TRUE@gom_zpj_miner_SOURCES = \
1990+@BUILD_WINDOWS_LIVE_TRUE@ gom-zpj-miner-main.c \
1991+@BUILD_WINDOWS_LIVE_TRUE@ gom-zpj-miner.c \
1992+@BUILD_WINDOWS_LIVE_TRUE@ gom-zpj-miner.h \
1993+@BUILD_WINDOWS_LIVE_TRUE@ $(NULL)
1994+
1995+@BUILD_WINDOWS_LIVE_TRUE@gom_zpj_miner_CPPFLAGS = \
1996+@BUILD_WINDOWS_LIVE_TRUE@ -DG_LOG_DOMAIN=\"Gom\" \
1997+@BUILD_WINDOWS_LIVE_TRUE@ -DG_DISABLE_DEPRECATED \
1998+@BUILD_WINDOWS_LIVE_TRUE@ -I$(top_srcdir)/src \
1999+@BUILD_WINDOWS_LIVE_TRUE@ $(GIO_CFLAGS) \
2000+@BUILD_WINDOWS_LIVE_TRUE@ $(GLIB_CFLAGS) \
2001+@BUILD_WINDOWS_LIVE_TRUE@ $(GOA_CFLAGS) \
2002+@BUILD_WINDOWS_LIVE_TRUE@ $(TRACKER_CFLAGS) \
2003+@BUILD_WINDOWS_LIVE_TRUE@ $(ZAPOJIT_CFLAGS) \
2004+@BUILD_WINDOWS_LIVE_TRUE@ $(NULL)
2005+
2006+@BUILD_WINDOWS_LIVE_TRUE@gom_zpj_miner_LDADD = \
2007+@BUILD_WINDOWS_LIVE_TRUE@ libgom-1.0.la \
2008+@BUILD_WINDOWS_LIVE_TRUE@ $(GIO_LIBS) \
2009+@BUILD_WINDOWS_LIVE_TRUE@ $(GLIB_LIBS) \
2010+@BUILD_WINDOWS_LIVE_TRUE@ $(GOA_LIBS) \
2011+@BUILD_WINDOWS_LIVE_TRUE@ $(TRACKER_LIBS) \
2012+@BUILD_WINDOWS_LIVE_TRUE@ $(ZAPOJIT_LIBS) \
2013+@BUILD_WINDOWS_LIVE_TRUE@ $(NULL)
2014
2015 BUILT_SOURCES = \
2016 $(libgom_1_0_la_built_sources) \
2017@@ -1333,7 +1386,7 @@
2018 uninstall-libexecPROGRAMS uninstall-pkglibLTLIBRARIES
2019
2020 $(NULL)
2021- $(NULL)
2022+@BUILD_MEDIA_SERVER_TRUE@ $(NULL)
2023 $(NULL)
2024
2025 gom-dleyna-server-media-device.h gom-dleyna-server-media-device.c: gom-dleyna-server-media-device.xml
2026
2027=== modified file 'src/gom-gdata-miner.c'
2028--- src/gom-gdata-miner.c 2015-03-20 10:28:22 +0000
2029+++ src/gom-gdata-miner.c 2015-05-27 08:42:08 +0000
2030@@ -1,6 +1,6 @@
2031 /*
2032 * GNOME Online Miners - crawls through your online content
2033- * Copyright (c) 2011, 2012, 2013, 2014 Red Hat, Inc.
2034+ * Copyright (c) 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.
2035 *
2036 * This program is free software; you can redistribute it and/or
2037 * modify it under the terms of the GNU General Public License
2038@@ -29,9 +29,12 @@
2039 #include "gom-gdata-miner.h"
2040
2041 #define MINER_IDENTIFIER "gd:gdata:miner:86ec9bc9-c242-427f-aa19-77b5a2c9b6f0"
2042-#define STARRED_CATEGORY_TERM "http://schemas.google.com/g/2005/labels#starred"
2043 #define PARENT_LINK_REL "http://schemas.google.com/docs/2007#parent"
2044
2045+/* used by applications to identify the source of an entry */
2046+#define PREFIX_DRIVE "google:drive:"
2047+#define PREFIX_PICASAWEB "google:picasaweb:"
2048+
2049 G_DEFINE_TYPE (GomGDataMiner, gom_gdata_miner, GOM_TYPE_MINER)
2050
2051 static gchar *
2052@@ -81,10 +84,15 @@
2053 GDataLink *link;
2054
2055 link = gdata_entry_look_up_link (entry, GDATA_LINK_SELF);
2056- identifier = g_strdup_printf ("gd:collection:%s", gdata_link_get_uri (link));
2057+ identifier = g_strdup_printf ("gd:collection:%s%s", PREFIX_DRIVE, gdata_link_get_uri (link));
2058 }
2059 else
2060- identifier = g_strdup (gdata_entry_get_id (entry));
2061+ {
2062+ const gchar *id;
2063+
2064+ id = gdata_entry_get_id (entry);
2065+ identifier = g_strdup_printf ("%s%s", PREFIX_DRIVE, id);
2066+ }
2067
2068 /* remove from the list of the previous resources */
2069 g_hash_table_remove (job->previous_resources, identifier);
2070@@ -168,7 +176,7 @@
2071
2072 parent = l->data;
2073 parent_resource_id =
2074- g_strdup_printf ("gd:collection:%s", gdata_link_get_uri (parent));
2075+ g_strdup_printf ("gd:collection:%s%s", PREFIX_DRIVE, gdata_link_get_uri (parent));
2076
2077 parent_resource_urn = gom_tracker_sparql_connection_ensure_resource
2078 (job->connection, job->cancellable, error,
2079@@ -195,7 +203,7 @@
2080 for (l = categories; l != NULL; l = l->next)
2081 {
2082 category = l->data;
2083- if (g_strcmp0 (gdata_category_get_term (category), STARRED_CATEGORY_TERM) == 0)
2084+ if (g_strcmp0 (gdata_category_get_term (category), GDATA_CATEGORY_SCHEMA_LABELS_STARRED) == 0)
2085 {
2086 starred = TRUE;
2087 break;
2088@@ -327,9 +335,9 @@
2089 const gchar *parent_resource_urn,
2090 GError **error)
2091 {
2092- GList *media_content;
2093+ GList *l, *media_contents;
2094 gchar *resource = NULL, *equipment_resource = NULL;
2095- gchar *contact_resource, *date, *identifier;
2096+ gchar *contact_resource, *date, *identifier = NULL;
2097 gboolean resource_exists, mtime_changed;
2098 gint64 new_mtime;
2099 gint64 timestamp;
2100@@ -358,7 +366,22 @@
2101 const gchar *alternate_uri;
2102
2103 id = gdata_entry_get_id (GDATA_ENTRY (photo));
2104- identifier = g_strdup_printf ("google:picasaweb:%s", id);
2105+
2106+ media_contents = gdata_picasaweb_file_get_contents (photo);
2107+ for (l = media_contents; l != NULL; l = l->next)
2108+ {
2109+ GDataMediaContent *media_content = GDATA_MEDIA_CONTENT (l->data);
2110+ GDataMediaMedium medium;
2111+
2112+ medium = gdata_media_content_get_medium (media_content);
2113+ if (medium != GDATA_MEDIA_IMAGE)
2114+ {
2115+ g_debug ("Skipping %s because medium(%d) is not an image", id, medium);
2116+ goto out;
2117+ }
2118+ }
2119+
2120+ identifier = g_strdup_printf ("%s%s", PREFIX_PICASAWEB, id);
2121
2122 /* remove from the list of the previous resources */
2123 g_hash_table_remove (job->previous_resources, identifier);
2124@@ -427,8 +450,7 @@
2125 if (*error != NULL)
2126 goto out;
2127
2128- media_content = gdata_picasaweb_file_get_contents (photo);
2129- mime = gdata_media_content_get_content_type (GDATA_MEDIA_CONTENT (media_content->data));
2130+ mime = gdata_media_content_get_content_type (GDATA_MEDIA_CONTENT (media_contents->data));
2131 gom_tracker_sparql_connection_insert_or_replace_triple
2132 (job->connection,
2133 job->cancellable, error,
2134@@ -637,7 +659,7 @@
2135 const gchar *alternate_uri;
2136
2137 album_id = gdata_entry_get_id (GDATA_ENTRY (album));
2138- identifier = g_strdup_printf ("photos:collection:google:picasaweb:%s", album_id);
2139+ identifier = g_strdup_printf ("photos:collection:%s%s", PREFIX_PICASAWEB, album_id);
2140
2141 /* remove from the list of the previous resources */
2142 g_hash_table_remove (job->previous_resources, identifier);
2143@@ -910,7 +932,7 @@
2144
2145 miner_class->goa_provider_type = "google";
2146 miner_class->miner_identifier = MINER_IDENTIFIER;
2147- miner_class->version = 4;
2148+ miner_class->version = 5;
2149
2150 miner_class->create_services = create_services;
2151 miner_class->query = query_gdata;

Subscribers

People subscribed via source and target branches

to all changes: