[gnome-documents] lib: move the authorizer to the private library
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] lib: move the authorizer to the private library
- Date: Thu, 21 Jul 2011 06:26:10 +0000 (UTC)
commit ee8147ccb00266e34a0da7076008b2ec01100563
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 21 02:01:41 2011 -0400
lib: move the authorizer to the private library
It will be shared between the miner and the file loader
configure.ac | 5 ++++-
src/Makefile-lib.am | 3 +++
src/Makefile-miner.am | 4 ++--
src/{miner => lib}/e-gdata-goa-authorizer.c | 0
src/{miner => lib}/e-gdata-goa-authorizer.h | 0
5 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9f957a2..e4c9362 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,10 @@ PKG_CHECK_MODULES(DOCUMENTS,
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
gtk+-3.0 >= $GTK_MIN_VERSION
gnome-desktop-3.0
- tracker-sparql-0.11)
+ tracker-sparql-0.11
+ goa-1.0
+ libgdata >= $GDATA_MIN_VERSION
+ oauth)
PKG_CHECK_MODULES(MINER,
tracker-sparql-0.11
diff --git a/src/Makefile-lib.am b/src/Makefile-lib.am
index 8dc274f..2cdc252 100644
--- a/src/Makefile-lib.am
+++ b/src/Makefile-lib.am
@@ -4,9 +4,12 @@ gdprivate_cflags = \
-DLIBDIR=\"$(libdir)\" \
-DG_LOG_DOMAIN=\"Gdprivate\" \
-DG_DISABLE_DEPRECATED \
+ -DGOA_API_IS_SUBJECT_TO_CHANGE \
$(DOCUMENTS_CFLAGS)
gdprivate_source_h = \
+ lib/e-gdata-goa-authorizer.c \
+ lib/e-gdata-goa-authorizer.h \
lib/gd-utils.h \
lib/gd-framed-pixbuf-renderer.h \
lib/gd-pdf-loader.h \
diff --git a/src/Makefile-miner.am b/src/Makefile-miner.am
index e0d289f..e4be348 100644
--- a/src/Makefile-miner.am
+++ b/src/Makefile-miner.am
@@ -1,8 +1,6 @@
libexec_PROGRAMS += gd-tracker-gdata-miner
gd_tracker_gdata_miner_SOURCES = \
- miner/e-gdata-goa-authorizer.c \
- miner/e-gdata-goa-authorizer.h \
miner/gdata-miner-main.c \
miner/gd-gdata-miner.c \
miner/gd-gdata-miner.h \
@@ -11,9 +9,11 @@ gd_tracker_gdata_miner_SOURCES = \
gd_tracker_gdata_miner_CFLAGS = \
-DG_DISABLE_DEPRECATED \
-DGOA_API_IS_SUBJECT_TO_CHANGE \
+ -I$(top_srcdir)/src/lib \
$(MINER_CFLAGS) \
$(NULL)
gd_tracker_gdata_miner_LDFLAGS = \
+ $(top_builddir)/src/libgdprivate-1.0.la \
$(MINER_LIBS) \
$(NULL)
diff --git a/src/miner/e-gdata-goa-authorizer.c b/src/lib/e-gdata-goa-authorizer.c
similarity index 100%
rename from src/miner/e-gdata-goa-authorizer.c
rename to src/lib/e-gdata-goa-authorizer.c
diff --git a/src/miner/e-gdata-goa-authorizer.h b/src/lib/e-gdata-goa-authorizer.h
similarity index 100%
rename from src/miner/e-gdata-goa-authorizer.h
rename to src/lib/e-gdata-goa-authorizer.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]