Add namespace and version to libfolks-tracker GIR
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 27 Jun 2013 22:57:33 +0000 (15:57 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Tue, 2 Jul 2013 00:46:55 +0000 (17:46 -0700)
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=703402

NEWS
backends/tracker/lib/Makefile.am
backends/tracker/lib/trf-namespace.vala [new file with mode: 0644]

diff --git a/NEWS b/NEWS
index b20088f..c59897a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Major changes:
 
 Bugs fixed:
 • Bug 699865 — Folks needs to expose chat/VoIP service client types
+• Bug 703402 — Backend support libraries don't set the GIR version and namespace
 
 API changes:
 • Add PresenceDetails.client_types
index 72ef3df..58b4ccf 100644 (file)
@@ -10,6 +10,7 @@ pkgconfig_DATA = $(pkgconfig_in:.in=)
 libfolks_tracker_la_vala.stamp:
 
 folks_tracker_valasources = \
+       trf-namespace.vala \
        trf-persona.vala \
        trf-persona-store.vala \
        trf-util.vala \
diff --git a/backends/tracker/lib/trf-namespace.vala b/backends/tracker/lib/trf-namespace.vala
new file mode 100644 (file)
index 0000000..e8d635d
--- /dev/null
@@ -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:
+ *       Travis Reitter <travis.reitter@collabora.co.uk>
+ */
+
+/*
+ * This file serves as the representation for the FolksTelepathy namespace
+ * itself (mostly so that we can set its namespace and version attributes for
+ * GIR)
+ */
+
+[CCode (gir_namespace = "FolksTracker", gir_version = "0.6")]
+namespace Trf
+{
+}