aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2009-02-06 22:57:41 +0000
committerRobert Piasek <dagger@gentoo.org>2009-02-06 22:57:41 +0000
commit85909bf703969f3d1010ecb27a026f5579a44a21 (patch)
tree8e4663f0552c616f26873af46a4111c6283282e8 /dev-lang
parentNew ebuild for zhone milestone 5 (diff)
downloadembedded-cross-85909bf703969f3d1010ecb27a026f5579a44a21.tar.gz
embedded-cross-85909bf703969f3d1010ecb27a026f5579a44a21.tar.bz2
embedded-cross-85909bf703969f3d1010ecb27a026f5579a44a21.zip
Fix ByteArray support in vala.
ref: http://mail.gnome.org/archives/vala-list/2009-February/msg00028.html
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/vala/Manifest3
-rw-r--r--dev-lang/vala/files/fix-ByteArray.patch13
-rw-r--r--dev-lang/vala/vala-0.5.6.ebuild41
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-lang/vala/Manifest b/dev-lang/vala/Manifest
new file mode 100644
index 0000000..9a6a0f8
--- /dev/null
+++ b/dev-lang/vala/Manifest
@@ -0,0 +1,3 @@
+AUX fix-ByteArray.patch 503 RMD160 c49247a4cc0e59cfb5d959bf99c9d16b79f45d67 SHA1 462e39e760ffccf40bd97714dbd98ce318cd5565 SHA256 0351a84cf34fe9801bcad8f5755d1f80746259d8d4b98c4b35db9b6f3474f7b7
+DIST vala-0.5.6.tar.bz2 1543590 RMD160 eb02c63a33f42d8005e14fee0230647136d5e0f9 SHA1 c625845ea5a03289deec0a439119d74a54b9188c SHA256 7f2f0492b0e1f9f96bd416e6c7a34e77c46faa20eeaff28c81c5932c91534ffc
+EBUILD vala-0.5.6.ebuild 868 RMD160 792bd8e4c74e7ca5dffb63b81a49b35e027e7ca0 SHA1 a4d653ae757c5d1d2f920fcb022bb18cf6d567cb SHA256 890c3f818d707f0cf54d70adce391e2589fddbc79f3f78618884d2c21f58b31f
diff --git a/dev-lang/vala/files/fix-ByteArray.patch b/dev-lang/vala/files/fix-ByteArray.patch
new file mode 100644
index 0000000..279c37d
--- /dev/null
+++ b/dev-lang/vala/files/fix-ByteArray.patch
@@ -0,0 +1,13 @@
+--- vapi/glib-2.0.vapi~ 2009-01-18 15:13:04.000000000 +0000
++++ vapi/glib-2.0.vapi 2009-02-06 21:03:16.505080314 +0000
+@@ -3023,6 +3023,10 @@
+ public void sort (CompareFunc compare_func);
+ public void sort_with_data (CompareDataFunc compare_func);
+ public void set_size (uint length);
++
++ public uint len;
++ public uint8[] data;
++
+ }
+
+ /* N-ary Trees */
diff --git a/dev-lang/vala/vala-0.5.6.ebuild b/dev-lang/vala/vala-0.5.6.ebuild
new file mode 100644
index 0000000..42216b5
--- /dev/null
+++ b/dev-lang/vala/vala-0.5.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils
+
+DESCRIPTION="Vala - Compiler for the GObject type system"
+HOMEPAGE="http://live.gnome.org/Vala"
+SRC_URI="http://download.gnome.org/sources/vala/0.5/vala-0.5.6.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc +vapigen"
+
+RDEPEND=">=dev-libs/glib-2.12.0"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ doc? ( dev-libs/libxslt )"
+
+DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+
+gnome2_src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Prevent scrollkeeper access violations
+ gnome2_omf_fix
+
+ # Run libtoolize
+ elibtoolize ${ELTCONF}
+
+ epatch "${FILESDIR}/fix-ByteArray.patch"
+}
+
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable vapigen)"
+}