linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] gnu/linux xv webcam selfview copile without java


From: Sylvain BERTRAND
Subject: Re: [Linphone-users] gnu/linux xv webcam selfview copile without java
Date: Wed, 17 Sep 2014 14:51:25 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Sep 17, 2014 at 02:30:57PM +0200, Gelonida G wrote:
> On 09/16/2014 03:11 PM, BIENKOWSKI Guillaume wrote:
> > This is an option, yes: shipping the generated C files would remove 
> > the dependency to the Antlr executable.
> > We might be able to place a git hook to do that, I'll discuss with the 
> > other guys here to see if they are up to it.
> >
> > On the other hand, you can't do the dependency trick with make easily, 
> > since when you check out through git you basically have a pristine 
> > setup. We would have to do something like md5 the .g files and only 
> > trigger Antlr when the md5 has changed. I'm not aware of a simple way 
> > to do that.
> >
> Yeah the dependency trick with git is tricky, perhaps one idea:
> 
> The compiled files would be in the git repository, but in a special 
> directory (so they would net be found by default)
> so if you make a nornmal build it will try to use java / antlr as usual
> 
> and only if a special option is passed to the configure / build script, 
> they would be copied / touched and thus avoid the attempt to build them
> 
> 
> Or vice versa (default copies and only special option takes the prebuilt 
> ones)

Hi,

That would be a short term fix. The real long term fix would be
to remove the toxic java antlr code generator to a C-based one
(for instance the one pointed in my previous email), that to
reduce the pressure/hairyness on/of linphone SDK for good.

-- 
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]