[folks/648811-dummy-backend-rebase1: 20/41] dummy: Partially fix g-ir-scanner namespace issues



commit c0e8a51f80957eeb12f430d107d9bccc4ff1c126
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 6 12:01:19 2013 +0000

    dummy: Partially fix g-ir-scanner namespace issues

 backends/dummy/lib/Makefile.am          |    5 +++--
 backends/dummy/lib/dummy-namespace.vala |   30 ++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/backends/dummy/lib/Makefile.am b/backends/dummy/lib/Makefile.am
index 3056a4c..6a416e3 100644
--- a/backends/dummy/lib/Makefile.am
+++ b/backends/dummy/lib/Makefile.am
@@ -27,10 +27,11 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = $(pkgconfig_in:.in=)
 
 libfolks_dummy_la_SOURCES = \
+       dummy-namespace.vala \
        dummy-backend.vala \
-       dummy-fat-persona.vala \
        dummy-persona.vala \
        dummy-persona-store.vala \
+       dummy-fat-persona.vala \
        $(NULL)
 
 libfolks_dummy_la_VALAFLAGS = \
@@ -80,7 +81,7 @@ libfolks_dummy_la_LDFLAGS = \
        $(AM_LDFLAGS) \
        $(CODE_COVERAGE_LDFLAGS) \
        -version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" \
-       -export-symbols-regex "^(DUMMY|dummy)_.*|" \
+       -export-symbols-regex "^(DUMMYF|dummyf)_.*|" \
        $(NULL)
 
 folks_dummy_includedir = $(includedir)/folks
diff --git a/backends/dummy/lib/dummy-namespace.vala b/backends/dummy/lib/dummy-namespace.vala
new file mode 100644
index 0000000..1b974eb
--- /dev/null
+++ b/backends/dummy/lib/dummy-namespace.vala
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2013 Collabora Ltd.
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *       Philip Withnall <philip withnall collabora co uk>
+ */
+
+/*
+ * This file serves as the representation for the FolksDummy namespace
+ * itself (mostly so that we can set its namespace and version attributes for
+ * GIR)
+ */
+
+[CCode (gir_namespace = "FolksDummy", gir_version = "0.6")]
+namespace Dummyf
+{
+}


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