Patchwork vala: Add vala package as a devtool (version 0.12.1)

login
register
mail settings
Submitter Florin Sarbu
Date April 11, 2012, 4:07 p.m.
Message ID <1334160473-7046-1-git-send-email-florin.sarbu@windriver.com>
Download mbox | patch
Permalink /patch/25623/
State New
Headers show

Comments

Florin Sarbu - April 11, 2012, 4:07 p.m.
Added the vala package from meta-oe to support future systemd integration.

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
---
 meta/recipes-devtools/vala/vala.inc       |   25 +++++++++++++++++++++++++
 meta/recipes-devtools/vala/vala_0.12.1.bb |    7 +++++++
 2 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/vala/vala.inc
 create mode 100644 meta/recipes-devtools/vala/vala_0.12.1.bb
Koen Kooi - April 12, 2012, 6:28 a.m.
Op 11 apr. 2012 om 18:07 heeft Florin Sarbu <florin.sarbu@windriver.com> het volgende geschreven:

> Added the vala package from meta-oe to support future systemd integration.

But systemd doesn't need vala......


> 
> Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
> ---
> meta/recipes-devtools/vala/vala.inc       |   25 +++++++++++++++++++++++++
> meta/recipes-devtools/vala/vala_0.12.1.bb |    7 +++++++
> 2 files changed, 32 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-devtools/vala/vala.inc
> create mode 100644 meta/recipes-devtools/vala/vala_0.12.1.bb
> 
> diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
> new file mode 100644
> index 0000000..0815c66
> --- /dev/null
> +++ b/meta/recipes-devtools/vala/vala.inc
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
> +Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
> +SECTION = "devel"
> +DEPENDS = "glib-2.0 dbus"
> +BBCLASSEXTEND = "native"
> +DEPENDS_virtclass-native = "glib-2.0-native dbus-native"
> +HOMEPAGE = "http://vala-project.org"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
> +INC_PR = "r0"
> +
> +#
> +# WARNING: This source release has specifically been built for OpenEmbedded.
> +# Don't update to any upstream release without consulting the recipe maintainer.
> +#
> +
> +SRC_URI = "\
> +  http://downloads.freesmartphone.org/sources/vala-${PV}.tar.bz2;name=archive \
> +"
> +
> +inherit autotools
> +
> +EXTRA_OECONF = "--disable-vapigen"
> +
> +FILES_${PN}-doc += "${datadir}/devhelp"
> diff --git a/meta/recipes-devtools/vala/vala_0.12.1.bb b/meta/recipes-devtools/vala/vala_0.12.1.bb
> new file mode 100644
> index 0000000..1049ed6
> --- /dev/null
> +++ b/meta/recipes-devtools/vala/vala_0.12.1.bb
> @@ -0,0 +1,7 @@
> +require vala.inc
> +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/vala/0.12/vala-${PV}.tar.bz2"
> +
> +FILES_${PN} += "${datadir}/vala-0.12/vapi"
> +
> +SRC_URI[md5sum] = "bf35262cc611de447147d01cbac33767"
> +SRC_URI[sha256sum] = "d9a2be21bb8ab88eab838e7f3a4d0aaa2a1fddf35615dca32bef6a0051f58ea8"
> -- 
> 1.7.9.1
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Florin Sarbu - April 12, 2012, 7:15 a.m.
Yeah, I kinda figured that one out last night when going through the 
deps again. meta-oe systemd had a dependency on vala.bbclass which in 
turn dragged in vala native. Eliminating the unnecessary vala bbclass 
usage, vala native is not needed anymore.
Hence the confusion.
Excuse the trouble caused


On 04/12/2012 09:28 AM, Koen Kooi wrote:
>
> Op 11 apr. 2012 om 18:07 heeft Florin Sarbu<florin.sarbu@windriver.com>  het volgende geschreven:
>
>> Added the vala package from meta-oe to support future systemd integration.
> But systemd doesn't need vala......
>
>
>> Signed-off-by: Florin Sarbu<florin.sarbu@windriver.com>
>> ---
>> meta/recipes-devtools/vala/vala.inc       |   25 +++++++++++++++++++++++++
>> meta/recipes-devtools/vala/vala_0.12.1.bb |    7 +++++++
>> 2 files changed, 32 insertions(+), 0 deletions(-)
>> create mode 100644 meta/recipes-devtools/vala/vala.inc
>> create mode 100644 meta/recipes-devtools/vala/vala_0.12.1.bb
>>
>> diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
>> new file mode 100644
>> index 0000000..0815c66
>> --- /dev/null
>> +++ b/meta/recipes-devtools/vala/vala.inc
>> @@ -0,0 +1,25 @@
>> +DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
>> +Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
>> +SECTION = "devel"
>> +DEPENDS = "glib-2.0 dbus"
>> +BBCLASSEXTEND = "native"
>> +DEPENDS_virtclass-native = "glib-2.0-native dbus-native"
>> +HOMEPAGE = "http://vala-project.org"
>> +LICENSE = "LGPLv2.1"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>> +INC_PR = "r0"
>> +
>> +#
>> +# WARNING: This source release has specifically been built for OpenEmbedded.
>> +# Don't update to any upstream release without consulting the recipe maintainer.
>> +#
>> +
>> +SRC_URI = "\
>> +  http://downloads.freesmartphone.org/sources/vala-${PV}.tar.bz2;name=archive \
>> +"
>> +
>> +inherit autotools
>> +
>> +EXTRA_OECONF = "--disable-vapigen"
>> +
>> +FILES_${PN}-doc += "${datadir}/devhelp"
>> diff --git a/meta/recipes-devtools/vala/vala_0.12.1.bb b/meta/recipes-devtools/vala/vala_0.12.1.bb
>> new file mode 100644
>> index 0000000..1049ed6
>> --- /dev/null
>> +++ b/meta/recipes-devtools/vala/vala_0.12.1.bb
>> @@ -0,0 +1,7 @@
>> +require vala.inc
>> +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/vala/0.12/vala-${PV}.tar.bz2"
>> +
>> +FILES_${PN} += "${datadir}/vala-0.12/vapi"
>> +
>> +SRC_URI[md5sum] = "bf35262cc611de447147d01cbac33767"
>> +SRC_URI[sha256sum] = "d9a2be21bb8ab88eab838e7f3a4d0aaa2a1fddf35615dca32bef6a0051f58ea8"
>> -- 
>> 1.7.9.1
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
new file mode 100644
index 0000000..0815c66
--- /dev/null
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
+Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
+SECTION = "devel"
+DEPENDS = "glib-2.0 dbus"
+BBCLASSEXTEND = "native"
+DEPENDS_virtclass-native = "glib-2.0-native dbus-native"
+HOMEPAGE = "http://vala-project.org"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
+INC_PR = "r0"
+
+#
+# WARNING: This source release has specifically been built for OpenEmbedded.
+# Don't update to any upstream release without consulting the recipe maintainer.
+#
+
+SRC_URI = "\
+  http://downloads.freesmartphone.org/sources/vala-${PV}.tar.bz2;name=archive \
+"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-vapigen"
+
+FILES_${PN}-doc += "${datadir}/devhelp"
diff --git a/meta/recipes-devtools/vala/vala_0.12.1.bb b/meta/recipes-devtools/vala/vala_0.12.1.bb
new file mode 100644
index 0000000..1049ed6
--- /dev/null
+++ b/meta/recipes-devtools/vala/vala_0.12.1.bb
@@ -0,0 +1,7 @@ 
+require vala.inc
+SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/vala/0.12/vala-${PV}.tar.bz2"
+
+FILES_${PN} += "${datadir}/vala-0.12/vapi"
+
+SRC_URI[md5sum] = "bf35262cc611de447147d01cbac33767"
+SRC_URI[sha256sum] = "d9a2be21bb8ab88eab838e7f3a4d0aaa2a1fddf35615dca32bef6a0051f58ea8"