From bfec44aba7d7ad3dae9acb5dc811186880984e38 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 27 Jun 2013 15:57:33 -0700 Subject: [PATCH] Add namespace and version to libfolks-tracker GIR Bug: https://bugzilla.gnome.org/show_bug.cgi?id=703402 --- NEWS | 1 + backends/tracker/lib/Makefile.am | 1 + backends/tracker/lib/trf-namespace.vala | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 backends/tracker/lib/trf-namespace.vala diff --git a/NEWS b/NEWS index b20088f..c59897a 100644 --- 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 diff --git a/backends/tracker/lib/Makefile.am b/backends/tracker/lib/Makefile.am index 72ef3df..58b4ccf 100644 --- a/backends/tracker/lib/Makefile.am +++ b/backends/tracker/lib/Makefile.am @@ -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 index 0000000..e8d635d --- /dev/null +++ b/backends/tracker/lib/trf-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 . + * + * Authors: + * Travis Reitter + */ + +/* + * 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 +{ +} -- 2.7.4