diff options
author | Daniel Espinosa <esodan@gmail.com> | 2019-04-26 21:05:14 -0500 |
---|---|---|
committer | Daniel Espinosa <esodan@gmail.com> | 2019-04-26 21:05:14 -0500 |
commit | ecb05993ebc6b370bbfed40aa4f9042a32052add (patch) | |
tree | 83f43cb59ebe25b4026474cb3a22cf1e13fe7ba1 | |
parent | 6eadef6f0c11abead651cbef90343a4432e0735e (diff) | |
download | vala-786-add-gir-version-annotation.tar.gz |
vala: anotate valaversion file786-add-gir-version-annotation
VAPI doesn't include annotations about GIR version.
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | vala/Makefile.am | 2 | ||||
-rw-r--r-- | vala/namespace-info.vala.in | 25 | ||||
-rw-r--r-- | vala/valaversion.vala.in | 2 |
4 files changed, 1 insertions, 29 deletions
diff --git a/configure.ac b/configure.ac index 7d9c993a8..aa8097b23 100644 --- a/configure.ac +++ b/configure.ac @@ -217,7 +217,6 @@ 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 a815915e2..6be70557d 100644 --- a/vala/Makefile.am +++ b/vala/Makefile.am @@ -25,7 +25,6 @@ lib_LTLIBRARIES = \ $(NULL) libvala_la_VALASOURCES = \ - namespace-info.vala \ valaaddressofexpression.vala \ valaarraycopymethod.vala \ valaarraycreationexpression.vala \ @@ -225,7 +224,6 @@ 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 deleted file mode 100644 index 7959aa2f5..000000000 --- a/vala/namespace-info.vala.in +++ /dev/null @@ -1,25 +0,0 @@ -/* 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 {} - - diff --git a/vala/valaversion.vala.in b/vala/valaversion.vala.in index 6a3289d40..f3942f9fa 100644 --- a/vala/valaversion.vala.in +++ b/vala/valaversion.vala.in @@ -19,7 +19,7 @@ * Author: * Rico Tzschichholz <ricotz@ubuntu.com> */ - +[CCode (gir_namespace = "Vala", gir_version = "@API_VERSION@", cheader_filename = "vala.h")] namespace Vala { /** * Like get_major_version, but from the headers used at application compile time, |