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

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

Comments

Florin Sarbu - April 11, 2012, 3:59 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
Khem Raj - April 28, 2012, 9:10 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/11/2012 08:59 AM, Florin Sarbu wrote:
> 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
> 
> 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"

just delete the above line

> + +# +# 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"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+cXOAACgkQuwUzVZGdMxRKwACfQup0S660aQArw8pusBeQrUUX
23cAn2yTG9/+XySR5ff50o/ECvLeM6Bp
=tYWi
-----END PGP SIGNATURE-----
Saul Wold - April 30, 2012, 9:05 p.m.
On 04/11/2012 08:59 AM, Florin Sarbu wrote:
> 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
>
> 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 \
> +"
In the above comment you mention not to update the SRC_URI here, but 
below in the actual .bb file you override the SRC_URI with the 
ftp.gnome.org version, is that the correct one?

Also, until we get serious about systemd in poky, I think this patch 
will be on hold, it is something we are going to work on for 1.3.
> +
> +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"
Phil Blundell - April 30, 2012, 9:09 p.m.
On Mon, 2012-04-30 at 14:05 -0700, Saul Wold wrote:
> Also, until we get serious about systemd in poky, I think this patch 
> will be on hold, it is something we are going to work on for 1.3.

I'm not quite sure I understand what poky has to do with it.  If this
patch is a poky-specific thing then presumably it should be in some poky
layer and not in oe-core at all.  Conversely, if it isn't a
poky-specific thing then it doesn't seem as though it should be
contingent on poky "getting serious" about anything.

p.
Saul Wold - April 30, 2012, 9:31 p.m.
On 04/30/2012 02:09 PM, Phil Blundell wrote:
> On Mon, 2012-04-30 at 14:05 -0700, Saul Wold wrote:
>> Also, until we get serious about systemd in poky, I think this patch
>> will be on hold, it is something we are going to work on for 1.3.
>
> I'm not quite sure I understand what poky has to do with it.  If this
> patch is a poky-specific thing then presumably it should be in some poky
> layer and not in oe-core at all.  Conversely, if it isn't a
> poky-specific thing then it doesn't seem as though it should be
> contingent on poky "getting serious" about anything.
>
Phil, My fingers spoke faster than my brain on this one ;-)

It should be OE-Core, as this is the OE-Core list, and we will working 
to update OE-Core with a systemd setup, there are a few things that we 
need to work out first around the configurability.

Sau!

> p.
>
>
>
> _______________________________________________
> 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"