Re: [Vala] Vala 0.7.3 & glib <2.14



On Thu, May 28, 2009 at 05:29, Didier "Ptitjes" <ptitjes free fr> wrote:
Andrew Flegg wrote:

I was prodded by a user today to update the package of Vala available
in maemo.org Extras (allowing Vala apps to be built in the
auto-builder and deployed easily to users through the Hildon
Application Manager).

There is something that I don't get. Do you run valac on your phone ?

No, but the reasoning is as follows:

  * the build environment runs the same libraries as run on the
    Internet Tablet (and, if the leak[1] is believed, the phone-like
    Rover/N900/RX-51);

  * the Extras repository (a normal apt source) takes source uploads.

  * I want Vala to be used for some Extras packages.

  * Those packages need valac in the build environment.

Although, there are some people in the Maemo community who do run gcc
on their devices - with the only real problem being slightly elongated
compile times :-)

At the moment, I've by-passed it by basically removing the GIR file
parsing code. Whether this would cause any problems for the majority
of apps which may want to use valac, I don't know. Ideally, of course,
there'd be a configure switch to turn it off so I don't have to patch
out the call to g_regex_split_simple; or a rewrite of the code to not
require the 2.14 feature :-)

Hope that helps,

Andrew

[1] http://www.mobilecrunch.com/2009/05/24/exclusive-everything-there-is-to-know-about-nokias-next-tablet/

-- 
Andrew Flegg -- mailto:andrew bleb org  |  http://www.bleb.org/
Maemo Community Council chair



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]