[rygel] lms: Use librygel-db
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] lms: Use librygel-db
- Date: Sun, 17 Jan 2016 21:32:58 +0000 (UTC)
commit 2e42df45d2ba83a79cb6e0d3fd24e3aebb2d5e0c
Author: Jens Georg <mail jensge org>
Date: Sun Apr 19 15:40:34 2015 +0200
lms: Use librygel-db
Signed-off-by: Jens Georg <mail jensge org>
src/plugins/lms/Makefile.am | 5 +-
src/plugins/lms/rygel-lms-category-container.vala | 1 +
src/plugins/lms/rygel-lms-sql-function.vala | 31 ---------
src/plugins/lms/rygel-lms-sql-operator.vala | 71 ---------------------
4 files changed, 4 insertions(+), 104 deletions(-)
---
diff --git a/src/plugins/lms/Makefile.am b/src/plugins/lms/Makefile.am
index c7cf886..d7170b5 100644
--- a/src/plugins/lms/Makefile.am
+++ b/src/plugins/lms/Makefile.am
@@ -20,8 +20,6 @@ librygel_lms_la_SOURCES = \
rygel-lms-all-images.vala \
rygel-lms-image-years.vala \
rygel-lms-image-year.vala \
- rygel-lms-sql-function.vala \
- rygel-lms-sql-operator.vala \
rygel-lms-collate.c \
rygel-lms-dbus-interfaces.vala
@@ -29,16 +27,19 @@ librygel_lms_la_VALAFLAGS = \
--enable-experimental \
$(RYGEL_PLUGIN_LMS_DEPS_VALAFLAGS) \
$(RYGEL_COMMON_LIBRYGEL_SERVER_VALAFLAGS) \
+ $(RYGEL_COMMON_LIBRYGEL_DB_VALAFLAGS) \
$(RYGEL_COMMON_VALAFLAGS)
librygel_lms_la_CFLAGS = \
$(RYGEL_PLUGIN_LMS_DEPS_CFLAGS) \
$(RYGEL_COMMON_LIBRYGEL_SERVER_CFLAGS) \
+ $(RYGEL_COMMON_LIBRYGEL_DB_CFLAGS) \
-DG_LOG_DOMAIN='"Lms"'
librygel_lms_la_LIBADD = \
$(RYGEL_PLUGIN_LMS_DEPS_LIBS) \
$(RYGEL_COMMON_LIBRYGEL_SERVER_LIBS) \
+ $(RYGEL_COMMON_LIBRYGEL_DB_LIBS) \
$(UNISTRING_LIBS)
librygel_lms_la_LDFLAGS = \
diff --git a/src/plugins/lms/rygel-lms-category-container.vala
b/src/plugins/lms/rygel-lms-category-container.vala
index bb19d87..fed3183 100644
--- a/src/plugins/lms/rygel-lms-category-container.vala
+++ b/src/plugins/lms/rygel-lms-category-container.vala
@@ -22,6 +22,7 @@
*/
using Rygel;
+using Rygel.Database;
using Gee;
using Sqlite;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]