Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Bassaler <frederic.bassaler@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Trying to package vala (needed to build midori 0.4.0)
Date: Mon, 15 Aug 2011 17:47:27 +0200	[thread overview]
Message-ID: <20110815174727.680d45f7@gmail.com> (raw)

Hi all

I'm trying to package vala (latest version), which is needed to build
midori 0.4.0

my vala.mk :

#############################################################
#
# vala
#
#############################################################
VALA_VERSION_MAJOR = 0.13
VALA_VERSION_MINOR = 1
VALA_VERSION = $(VALA_VERSION_MAJOR).$(VALA_VERSION_MINOR)
VALA_SOURCE = vala-$(VALA_VERSION).tar.bz2
VALA_SITE =
http://ftp.gnome.org/pub/GNOME/sources/vala/$(VALA_VERSION_MAJOR)
VALA_INSTALL_STAGING = NO VALA_INSTALL_TARGET = NO
VALA_CONF_OPT = --prefix=$(HOST_DIR)/usr
VALA_DEPENDENCIES = host-pkg-config

$(eval $(call AUTOTARGETS,package,vala,host))


It compiles OK, but midori complains about the valac version :

Checking for program gcc or
cc           : /home/fred/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc
Checking for program
ar                  : /home/fred/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-ar
Checking for program
ranlib              : /home/fred/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-ranlib
Checking for gcc                         : ok Checking for program
valac               : /home/fred/buildroot/output/host/usr/bin/valac
Checking for gobject-2.0                 : yes Checking for
gthread-2.0                 : yes 
Checking for program version valac >= 0.1.6 : not
found /home/fred/buildroot/output/build/midori-0.4.0/wscript:91: error:
valac version too old to be used with this tool make: ***
[/home/fred/buildroot/output/build/midori-0.4.0/.stamp_configured]
Erreur 1


I found that 

$ output/host/usr/bin/valac --version

returns :

Vala 0.13.0-dirty

I guess the "-dirty" is added by my buildroot installation when
compiling vala, and that's why midori's build script complains...

How do I correct this, so that midori detects valac's version correctly?

Thanks

             reply	other threads:[~2011-08-15 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 15:47 Frederic Bassaler [this message]
2011-08-16 14:08 ` [Buildroot] Trying to package vala (needed to build midori 0.4.0) Frederic Bassaler

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=20110815174727.680d45f7@gmail.com \
    --to=frederic.bassaler@gmail.com \
    --cc=buildroot@busybox.net \
    /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