Patchwork vala: cleanup DEPENDS

login
register
mail settings
Submitter Enrico Scholz
Date Nov. 8, 2013, 12:07 p.m.
Message ID <1383912477-23166-1-git-send-email-enrico.scholz@sigma-chemnitz.de>
Download mbox | patch
Permalink /patch/61323/
State New
Headers show

Comments

Enrico Scholz - Nov. 8, 2013, 12:07 p.m.
Patch cleans up and fixes dependencies of 'vala' in the following way:

* remove deps on 'gtk+' + 'dbus'; these packages are not required and
  'gkt+' is high barrier preventing using 'vala' on headless systems

* 'bison-native' is required both on native and target builds; 'DEPENDS'
  and 'DEPENDS_virtclass-native' and 'DEPENDS' can be merged hence

* 'flex-native' is required

* although 'xsltproc' (from libxslt-native) is optional, a dependency
  on it was added to make builds deterministic.  An alternative method
  might be 'EXTRA_OECONF += "ac_cv_path_XSLTPROC=:"' but this is error
  prone as it depends on internals of the build system.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 meta/recipes-devtools/vala/vala.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index a8927d7..a51ceb4 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -1,9 +1,8 @@ 
 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 gtk+"
+DEPENDS = "bison-native flex-native libxslt-native glib-2.0"
 BBCLASSEXTEND = "native"
-DEPENDS_virtclass-native = "bison-native glib-2.0-native dbus-native"
 HOMEPAGE = "http://vala-project.org"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"