[arch-commits] Commit in valabind/repos (6 files)

Levente Polyak anthraxx at archlinux.org
Wed Aug 23 20:11:05 UTC 2017


    Date: Wednesday, August 23, 2017 @ 20:11:04
  Author: anthraxx
Revision: 253096

archrelease: copy trunk to community-i686, community-x86_64

Added:
  valabind/repos/community-i686/PKGBUILD
    (from rev 253095, valabind/trunk/PKGBUILD)
  valabind/repos/community-x86_64/PKGBUILD
    (from rev 253095, valabind/trunk/PKGBUILD)
Deleted:
  valabind/repos/community-i686/PKGBUILD
  valabind/repos/community-i686/fix-vala-0.36.patch
  valabind/repos/community-x86_64/PKGBUILD
  valabind/repos/community-x86_64/fix-vala-0.36.patch

--------------------------------------+
 /PKGBUILD                            |   50 ++++++++++++++
 community-i686/PKGBUILD              |   25 -------
 community-i686/fix-vala-0.36.patch   |  113 ---------------------------------
 community-x86_64/PKGBUILD            |   25 -------
 community-x86_64/fix-vala-0.36.patch |  113 ---------------------------------
 5 files changed, 50 insertions(+), 276 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-08-23 20:10:53 UTC (rev 253095)
+++ community-i686/PKGBUILD	2017-08-23 20:11:04 UTC (rev 253096)
@@ -1,25 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=valabind
-pkgver=1.3.0
-pkgrel=1
-pkgdesc='Tool to parse vala or vapi files to transform them into swig interface files, C++, NodeJS-ffi or GIR'
-url='http://radare.org'
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('vala' 'swig' 'sh')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/${pkgname}/archive/${pkgver}.tar.gz)
-sha256sums=('8dd2bc96cfd27103da89b3a2ba2f75746b7fa128404da9a57362179129e649f1')
-sha512sums=('54a5c3a90eb95c48179a26b846495efc8e274c868bdb02c28054bc775e9eb788883e720e059efcbadd4e183272a27aadb6cf47aba085a96262dfb38979b3b415')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: valabind/repos/community-i686/PKGBUILD (from rev 253095, valabind/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-08-23 20:11:04 UTC (rev 253096)
@@ -0,0 +1,25 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=valabind
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Tool to parse vala or vapi files to transform them into swig interface files, C++, NodeJS-ffi or GIR'
+url='http://radare.org'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('vala' 'swig' 'sh')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('b2e4939912feada6138b8269d228ea82fb0f1391fd2e2e7003f404677b0cdbc9')
+sha512sums=('67ca244f002dc1558455ee8648aacc7902049101cf6ac85bc982b975a129343cc4e262556d6210fec2add739ddb2ef673be87b2aaaaad23c2122cc9ca666fb24')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-i686/fix-vala-0.36.patch
===================================================================
--- community-i686/fix-vala-0.36.patch	2017-08-23 20:10:53 UTC (rev 253095)
+++ community-i686/fix-vala-0.36.patch	2017-08-23 20:11:04 UTC (rev 253096)
@@ -1,113 +0,0 @@
-From e94669f768217bc9b464c8cc34e14e081e8a11f6 Mon Sep 17 00:00:00 2001
-From: pancake <pancake at nopcode.org>
-Date: Wed, 10 May 2017 18:20:23 +0200
-Subject: [PATCH] Initial support for Meson and support vala 0.36.3
-Subject: [PATCH] Fix build for Vala-git (future 0.36)
-
----
- ctypeswriter.vala | 11 ++++++++---
- gowriter.vala     | 14 ++------------
- 2 files changed, 41 insertions(+), 16 deletions(-)
- create mode 100644 meson.build
-
-diff --git a/ctypeswriter.vala b/ctypeswriter.vala
-index 06b6db2..a708acd 100644
---- a/ctypeswriter.vala
-+++ b/ctypeswriter.vala
-@@ -109,12 +109,14 @@ private class CtypeClass {
- 			deps.append (d);
- 	}
- 
-+/*
- 	public bool depends_on(string d) {
- 		foreach (var s in deps)
- 			if (s == d)
- 				return true;
- 		return false;
- 	}
-+*/
- 
- 	public string to_string() {
- 		return this.text;
-@@ -217,8 +219,9 @@ public class CtypesWriter : ValabindWriter {
- 		if (!ignoreRef && (type is ReferenceType)) {
- 			string unref_type = type_name (type, retType, true);
- 			// HACK just check for the string class instead (how?)
--			if (unref_type == "char*" || unref_type == "const char*")
-+			if (unref_type == "char*" || unref_type == "const char*") {
- 				return unref_type;
-+			}
- 			// FIXME should it be & under C++?
- 			return unref_type; //+"_p"; //+"*";
- 		}
-@@ -319,10 +322,12 @@ public class CtypesWriter : ValabindWriter {
- 		visit_struct_or_class (c, name, c.get_fields (), c.get_methods (), c.get_delegates ());
- 
- 		/* walk nested structs and classes */
--		foreach (Struct s in c.get_structs ())
-+		foreach (Struct s in c.get_structs ()) {
- 			s.accept (this);
--		foreach (Class k in c.get_classes ())
-+		}
-+		foreach (Class k in c.get_classes ()) {
- 			k.accept (this);
-+		}
- 		/* TODO: add support for freefun in destructor 
- 		string? freefun = null;
- 		if (CCodeBaseModule.is_reference_counting (c))
-diff --git a/gowriter.vala b/gowriter.vala
-index 5a8de23..810aa52 100644
---- a/gowriter.vala
-+++ b/gowriter.vala
-@@ -14,10 +14,7 @@ public class GenericClassFinder : ValabindWriter {
- 	GLib.HashTable<string, GLib.HashTable<string, GLib.List<DataType>>> generic_classes = new GLib.HashTable<string, GLib.HashTable<string, GLib.List<DataType>>> (GLib.str_hash, GLib.str_equal);
- 
- 	inline bool is_generic(DataType d) {
--		foreach (var t in d.get_type_arguments()) {
--			return true;
--		}
--		return false;
-+		return (d.get_type_arguments().size > 0);
- 	}
- 
- 	inline bool is_glib(DataType d) {
-@@ -218,14 +215,7 @@ public class GoNamer {
- 
- 	private string mangle_datatype(DataType d) {
- 		string ret = d.data_type.name;  // i think should unify with get_type_declaration?
--
--		bool has_parameters = false;
--		foreach(var p in d.get_type_arguments()) {
--			has_parameters = true;
--			break;
--		}
--
--		if (has_parameters) {
-+		if (d.get_type_arguments().size > 0) {
- 			foreach(var dd in d.get_type_arguments()) {
- 				ret += "_";
- 				ret += mangle_datatype(dd);
---- a/cxxwriter.vala
-+++ b/cxxwriter.vala
-@@ -157,7 +157,7 @@ public class CxxWriter : ValabindWriter {
- 	}
- 
- 	public void walk_field (Field f) {
--		if (f.get_ctype () == null) {
-+		if (f.get_attribute_string ("CCode", "type") == null) {
- 			//warning (
- 			//	"Cannot resolve type for field '%s'".printf (f.get_cname ()));
- 		} else {
-diff --git a/dlangwriter.vala b/dlangwriter.vala
-index 8d42676..898d3ca 100644
---- a/dlangwriter.vala
-+++ b/dlangwriter.vala
-@@ -167,7 +167,7 @@ public class DlangWriter : ValabindWriter {
- 	}
- 
- 	public void walk_field (Field f) {
--		if (f.get_ctype () == null) {
-+		if (f.get_attribute_string ("CCode", "type") == null) {
- 			//warning (
- 			//	"Cannot resolve type for field '%s'".printf (f.get_cname ()));
- 		} else {

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-08-23 20:10:53 UTC (rev 253095)
+++ community-x86_64/PKGBUILD	2017-08-23 20:11:04 UTC (rev 253096)
@@ -1,25 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=valabind
-pkgver=1.3.0
-pkgrel=1
-pkgdesc='Tool to parse vala or vapi files to transform them into swig interface files, C++, NodeJS-ffi or GIR'
-url='http://radare.org'
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('vala' 'swig' 'sh')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/${pkgname}/archive/${pkgver}.tar.gz)
-sha256sums=('8dd2bc96cfd27103da89b3a2ba2f75746b7fa128404da9a57362179129e649f1')
-sha512sums=('54a5c3a90eb95c48179a26b846495efc8e274c868bdb02c28054bc775e9eb788883e720e059efcbadd4e183272a27aadb6cf47aba085a96262dfb38979b3b415')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: valabind/repos/community-x86_64/PKGBUILD (from rev 253095, valabind/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-08-23 20:11:04 UTC (rev 253096)
@@ -0,0 +1,25 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=valabind
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Tool to parse vala or vapi files to transform them into swig interface files, C++, NodeJS-ffi or GIR'
+url='http://radare.org'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('vala' 'swig' 'sh')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('b2e4939912feada6138b8269d228ea82fb0f1391fd2e2e7003f404677b0cdbc9')
+sha512sums=('67ca244f002dc1558455ee8648aacc7902049101cf6ac85bc982b975a129343cc4e262556d6210fec2add739ddb2ef673be87b2aaaaad23c2122cc9ca666fb24')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/fix-vala-0.36.patch
===================================================================
--- community-x86_64/fix-vala-0.36.patch	2017-08-23 20:10:53 UTC (rev 253095)
+++ community-x86_64/fix-vala-0.36.patch	2017-08-23 20:11:04 UTC (rev 253096)
@@ -1,113 +0,0 @@
-From e94669f768217bc9b464c8cc34e14e081e8a11f6 Mon Sep 17 00:00:00 2001
-From: pancake <pancake at nopcode.org>
-Date: Wed, 10 May 2017 18:20:23 +0200
-Subject: [PATCH] Initial support for Meson and support vala 0.36.3
-Subject: [PATCH] Fix build for Vala-git (future 0.36)
-
----
- ctypeswriter.vala | 11 ++++++++---
- gowriter.vala     | 14 ++------------
- 2 files changed, 41 insertions(+), 16 deletions(-)
- create mode 100644 meson.build
-
-diff --git a/ctypeswriter.vala b/ctypeswriter.vala
-index 06b6db2..a708acd 100644
---- a/ctypeswriter.vala
-+++ b/ctypeswriter.vala
-@@ -109,12 +109,14 @@ private class CtypeClass {
- 			deps.append (d);
- 	}
- 
-+/*
- 	public bool depends_on(string d) {
- 		foreach (var s in deps)
- 			if (s == d)
- 				return true;
- 		return false;
- 	}
-+*/
- 
- 	public string to_string() {
- 		return this.text;
-@@ -217,8 +219,9 @@ public class CtypesWriter : ValabindWriter {
- 		if (!ignoreRef && (type is ReferenceType)) {
- 			string unref_type = type_name (type, retType, true);
- 			// HACK just check for the string class instead (how?)
--			if (unref_type == "char*" || unref_type == "const char*")
-+			if (unref_type == "char*" || unref_type == "const char*") {
- 				return unref_type;
-+			}
- 			// FIXME should it be & under C++?
- 			return unref_type; //+"_p"; //+"*";
- 		}
-@@ -319,10 +322,12 @@ public class CtypesWriter : ValabindWriter {
- 		visit_struct_or_class (c, name, c.get_fields (), c.get_methods (), c.get_delegates ());
- 
- 		/* walk nested structs and classes */
--		foreach (Struct s in c.get_structs ())
-+		foreach (Struct s in c.get_structs ()) {
- 			s.accept (this);
--		foreach (Class k in c.get_classes ())
-+		}
-+		foreach (Class k in c.get_classes ()) {
- 			k.accept (this);
-+		}
- 		/* TODO: add support for freefun in destructor 
- 		string? freefun = null;
- 		if (CCodeBaseModule.is_reference_counting (c))
-diff --git a/gowriter.vala b/gowriter.vala
-index 5a8de23..810aa52 100644
---- a/gowriter.vala
-+++ b/gowriter.vala
-@@ -14,10 +14,7 @@ public class GenericClassFinder : ValabindWriter {
- 	GLib.HashTable<string, GLib.HashTable<string, GLib.List<DataType>>> generic_classes = new GLib.HashTable<string, GLib.HashTable<string, GLib.List<DataType>>> (GLib.str_hash, GLib.str_equal);
- 
- 	inline bool is_generic(DataType d) {
--		foreach (var t in d.get_type_arguments()) {
--			return true;
--		}
--		return false;
-+		return (d.get_type_arguments().size > 0);
- 	}
- 
- 	inline bool is_glib(DataType d) {
-@@ -218,14 +215,7 @@ public class GoNamer {
- 
- 	private string mangle_datatype(DataType d) {
- 		string ret = d.data_type.name;  // i think should unify with get_type_declaration?
--
--		bool has_parameters = false;
--		foreach(var p in d.get_type_arguments()) {
--			has_parameters = true;
--			break;
--		}
--
--		if (has_parameters) {
-+		if (d.get_type_arguments().size > 0) {
- 			foreach(var dd in d.get_type_arguments()) {
- 				ret += "_";
- 				ret += mangle_datatype(dd);
---- a/cxxwriter.vala
-+++ b/cxxwriter.vala
-@@ -157,7 +157,7 @@ public class CxxWriter : ValabindWriter {
- 	}
- 
- 	public void walk_field (Field f) {
--		if (f.get_ctype () == null) {
-+		if (f.get_attribute_string ("CCode", "type") == null) {
- 			//warning (
- 			//	"Cannot resolve type for field '%s'".printf (f.get_cname ()));
- 		} else {
-diff --git a/dlangwriter.vala b/dlangwriter.vala
-index 8d42676..898d3ca 100644
---- a/dlangwriter.vala
-+++ b/dlangwriter.vala
-@@ -167,7 +167,7 @@ public class DlangWriter : ValabindWriter {
- 	}
- 
- 	public void walk_field (Field f) {
--		if (f.get_ctype () == null) {
-+		if (f.get_attribute_string ("CCode", "type") == null) {
- 			//warning (
- 			//	"Cannot resolve type for field '%s'".printf (f.get_cname ()));
- 		} else {



More information about the arch-commits mailing list