[rygel] Really fix the build.



commit 8e56fa5d1351633a170dd25f2a60eacd5288b0b0
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Dec 5 10:07:11 2012 +0100

    Really fix the build.
    
    We needed a new symlink in tests/ for the new .vala file.

 tests/Makefile.am                  |    4 ++++
 tests/rygel-dlna-profile.vala      |    1 +
 tests/rygel-item-creator-test.vala |    2 +-
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b140c94..6efbca0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,6 +52,9 @@ TESTS = $(check_PROGRAMS)
 
 EXTRA_DIST = $(srcdir)/data/test-data.dat
 
+# Note that the non-test sources here are symlinked from their
+# various source directories.
+# TODO: Mention their relative paths instead, to make this clearer?
 rygel_http_item_uri_test_SOURCES = rygel-http-item-uri-test.vala \
                                    rygel-http-item-uri.vala
 
@@ -96,6 +99,7 @@ rygel_searchable_container_test_SOURCES = \
 rygel_item_creator_test_SOURCES = rygel-item-creator-test.vala \
 				  rygel-item-creator.vala \
 				  rygel-data-source.vala \
+				  rygel-dlna-profile.vala \
 				  rygel-http-seek_item-creator.vala \
 				  rygel-state-machine_item-creator.vala \
 				  rygel-relational-expression.vala \
diff --git a/tests/rygel-dlna-profile.vala b/tests/rygel-dlna-profile.vala
new file mode 120000
index 0000000..907c4f0
--- /dev/null
+++ b/tests/rygel-dlna-profile.vala
@@ -0,0 +1 @@
+../src/librygel-server/rygel-dlna-profile.vala
\ No newline at end of file
diff --git a/tests/rygel-item-creator-test.vala b/tests/rygel-item-creator-test.vala
index cbbfb3a..f93aa1a 100644
--- a/tests/rygel-item-creator-test.vala
+++ b/tests/rygel-item-creator-test.vala
@@ -263,7 +263,7 @@ public class Rygel.Transcoder {
 }
 
 public class Rygel.TestMediaEngine : Rygel.MediaEngine {
-    public override unowned GLib.List<Rygel.DLNAProfile> get_dlna_profiles () {
+    public override unowned GLib.List<DLNAProfile> get_dlna_profiles () {
         return null;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]