Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Trying to package vala (needed to build midori 0.4.0)
@ 2011-08-15 15:47 Frederic Bassaler
  2011-08-16 14:08 ` Frederic Bassaler
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Bassaler @ 2011-08-15 15:47 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 15:47 [Buildroot] Trying to package vala (needed to build midori 0.4.0) Frederic Bassaler
2011-08-16 14:08 ` Frederic Bassaler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox