[gnome-todo] eds-plugin: move EDS dependencies to EDS plugin
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] eds-plugin: move EDS dependencies to EDS plugin
- Date: Thu, 28 Sep 2017 13:14:44 +0000 (UTC)
commit 9ab8913e5e0d7ca79e12f4fa8542e0d0a81352d3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Sep 28 10:13:37 2017 -0300
eds-plugin: move EDS dependencies to EDS plugin
Not that it makes too much of a difference, since the
EDS plugin is not optional, but it's better to keep
the project organized like this.
meson.build | 4 ----
plugins/eds/meson.build | 16 +++++++++++++++-
src/gtd-task-list.c | 1 -
3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index ee784ea..a56a8c5 100644
--- a/meson.build
+++ b/meson.build
@@ -155,10 +155,6 @@ gnome_todo_deps = [
dependency('gio-2.0', version: '>= 2.43.4'),
dependency('gmodule-export-2.0'),
dependency('goa-1.0', version: '>= 3.2.0'),
- dependency('libecal-1.2', version: '>= 3.13.90'),
- dependency('libedataserver-1.2', version: '>= 3.17.1'),
- dependency('libedataserverui-1.2', version: '>= 3.17.1'),
- dependency('libical', version: '>= 0.43'),
dependency('libpeas-1.0', version: '>= 1.17'),
cc.find_library('m', required: true)
]
diff --git a/plugins/eds/meson.build b/plugins/eds/meson.build
index 458e3c5..ea84426 100644
--- a/plugins/eds/meson.build
+++ b/plugins/eds/meson.build
@@ -2,6 +2,20 @@ plugin_name = 'eds'
plugins_ldflags += ['-Wl,--undefined=gtd_plugin_eds_register_types']
+
+################
+# Dependencies #
+################
+
+eds_plugin_deps = [
+ dependency('libecal-1.2', version: '>= 3.13.90'),
+ dependency('libedataserver-1.2', version: '>= 3.17.1'),
+ dependency('libedataserverui-1.2', version: '>= 3.17.1'),
+ dependency('libical', version: '>= 0.43'),
+]
+
+eds_plugin_deps += gnome_todo_deps
+
sources = files(
'gtd-plugin-' + plugin_name + '.c',
'gtd-provider-' + plugin_name + '.c',
@@ -15,7 +29,7 @@ plugins_libs += static_library(
plugin_name,
sources: sources,
include_directories: plugins_incs,
- dependencies: gnome_todo_deps
+ dependencies: eds_plugin_deps
)
plugin_data = plugin_name + '.plugin'
diff --git a/src/gtd-task-list.c b/src/gtd-task-list.c
index 956cd72..26b957d 100644
--- a/src/gtd-task-list.c
+++ b/src/gtd-task-list.c
@@ -21,7 +21,6 @@
#include "gtd-task-list.h"
#include <glib/gi18n.h>
-#include <libecal/libecal.h>
/**
* SECTION:gtd-task-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]