Add gir_namespace and gir_version attributes, fixes bug #666208
authorMaciej Piechotka <uzytkownik2@gmail.com>
Mon, 19 Dec 2011 02:26:37 +0000 (03:26 +0100)
committerMaciej Piechotka <uzytkownik2@gmail.com>
Mon, 19 Dec 2011 02:49:21 +0000 (03:49 +0100)
Currently they are specified in assemblyinfo.vala which needs to be
first file passed to vala. See bug # 666478 for details.

gee/Makefile.am
gee/assemblyinfo.vala [new file with mode: 0644]

index 7800cf4..cee4bee 100644 (file)
@@ -5,6 +5,7 @@ lib_LTLIBRARIES = \
        $(NULL)
 
 libgee_0_8_la_SOURCES = \
+       assemblyinfo.vala \
        abstractbidirlist.vala \
        abstractcollection.vala \
        abstractlist.vala \
diff --git a/gee/assemblyinfo.vala b/gee/assemblyinfo.vala
new file mode 100644 (file)
index 0000000..8f3474b
--- /dev/null
@@ -0,0 +1,25 @@
+/* functions.vala
+ *
+ * Copyright (C) 2011  Maciej Piechotka
+ *
+ * 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
+ *
+ * Author:
+ *     Maciej Piechotka <uzytkownik2@gmail.com>
+ */
+
+[CCode (gir_namespace = "Gee", gir_version = "0.8")]
+namespace Gee {}
+