[vala/786-add-gir-version-annotation] vala: added namespace GIR version annotation



commit 6eadef6f0c11abead651cbef90343a4432e0735e
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri Apr 26 13:38:09 2019 -0500

    vala: added namespace GIR version annotation

 configure.ac                |  1 +
 vala/Makefile.am            |  2 ++
 vala/namespace-info.vala.in | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index aa8097b23..7d9c993a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -217,6 +217,7 @@ AC_CONFIG_FILES([Makefile
            gee/Makefile
            ccode/Makefile
            vala/Makefile
+           vala/namespace-info.vala
            codegen/Makefile
            compiler/Makefile
            vapi/Makefile
diff --git a/vala/Makefile.am b/vala/Makefile.am
index 6be70557d..a815915e2 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -25,6 +25,7 @@ lib_LTLIBRARIES = \
        $(NULL)
 
 libvala_la_VALASOURCES = \
+       namespace-info.vala \
        valaaddressofexpression.vala \
        valaarraycopymethod.vala \
        valaarraycreationexpression.vala \
@@ -224,6 +225,7 @@ libvala@PACKAGE_SUFFIX@.vapi: $(top_srcdir)/gee/gee.vapi $(top_srcdir)/vala/vala
 EXTRA_DIST = $(libvala_la_VALASOURCES) vala.vapi vala.vala.stamp vala.h valaversion.vala.in
 
 MAINTAINERCLEANFILES = \
+       namespace-info.vala \s
        vala.vapi \
        vala.h \
        $(libvala_la_VALASOURCES:.vala=.c) \
diff --git a/vala/namespace-info.vala.in b/vala/namespace-info.vala.in
new file mode 100644
index 000000000..7959aa2f5
--- /dev/null
+++ b/vala/namespace-info.vala.in
@@ -0,0 +1,25 @@
+/* namespace-info.vala-in
+ *
+ * Copyright (C) 2019 Daniel Espinosa <esodan gmail com>
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ *
+ * Authors:
+ *      Daniel Espinosa <esodan gmail com>
+ */
+[CCode (gir_namespace = "Vala", gir_version = "@API_VERSION@", cheader_filename = "vala.h")]
+namespace Vala {}
+
+


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