Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/6] vala: upgrade to 0.36.2
Date: Tue,  2 May 2017 15:51:48 +0300	[thread overview]
Message-ID: <20170502125151.5095-3-alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <20170502125151.5095-1-alexander.kanavin@linux.intel.com>

Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-devtools/vala/vala.inc                           | 7 ++++++-
 meta/recipes-devtools/vala/{vala_0.34.4.bb => vala_0.36.2.bb} | 4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.34.4.bb => vala_0.36.2.bb} (56%)

diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index b338ea097af..1261c02777f 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -2,7 +2,12 @@ SUMMARY = "C#-like programming language for easing GObject programming"
 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 = "bison-native flex-native libxslt-native glib-2.0"
+DEPENDS = "bison-native flex-native glib-2.0"
+
+# Appending libxslt-native to dependencies has an effect
+# of rebuilding the manual, which is very slow. Let's do this
+# only when api-documentation distro feature is enabled.
+DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'libxslt-native', '', d)}"
 
 # vala-native contains a native version of vapigen, which we use instead of the target one
 DEPENDS_append_class-target = " vala-native"
diff --git a/meta/recipes-devtools/vala/vala_0.34.4.bb b/meta/recipes-devtools/vala/vala_0.36.2.bb
similarity index 56%
rename from meta/recipes-devtools/vala/vala_0.34.4.bb
rename to meta/recipes-devtools/vala/vala_0.36.2.bb
index d1b49aea7d1..9cea5b6a795 100644
--- a/meta/recipes-devtools/vala/vala_0.34.4.bb
+++ b/meta/recipes-devtools/vala/vala_0.36.2.bb
@@ -4,5 +4,5 @@ SRC_URI += " file://0001-git-version-gen-don-t-append-dirty-if-we-re-not-in-g.pa
              file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch \
 "
 
-SRC_URI[md5sum] = "a856989d749fc5e472a3592b96f9ca48"
-SRC_URI[sha256sum] = "6b17bd339414563ebc51f64b0b837919ea7552d8a8ffa71cdc837d25c9696b83"
+SRC_URI[md5sum] = "481774eb4f0f5aa6987e5ea30a0aea31"
+SRC_URI[sha256sum] = "863dbfb399d59289dfc34379c0cd34d94e505a49787497550588810310cdf689"
-- 
2.11.0



  parent reply	other threads:[~2017-05-02 12:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-02 12:51 [PATCH 1/6] dtc: upgrade to 1.4.4 Alexander Kanavin
2017-05-02 12:51 ` [PATCH 2/6] iso-codes: upgrade to 3.75 Alexander Kanavin
2017-05-02 12:51 ` Alexander Kanavin [this message]
2017-05-02 12:51 ` [PATCH 4/6] libpthread-stubs: upgrade to 0.4 Alexander Kanavin
2017-05-02 12:51 ` [PATCH 5/6] btrfs-tools: upgrade to 4.10.2 Alexander Kanavin
2017-05-02 12:51 ` [PATCH 6/6] mobile-broadband-provider-info: upgrade to 20170310 Alexander Kanavin
2017-05-02 16:50   ` Tomas Novotny
2017-05-03  7:01     ` Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170502125151.5095-3-alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox