Notices


Reply
Thread Tools
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#461
Following on from qwerty12's point, it shouldn't be impossible (or even that hard, once we figure it out) to get libwebkit, valac, your custom VAPIs etc. through the auto-builder.

Hell, the clean-slate approach it takes means the VAPIs can be just cp'ed to /usr/share/vala/vapi at the start of debian/control if we need to ;-)

Anyway, I'm in the process of updating vala now. Will let you know when it's in extras-devel.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 4 Users Say Thank You to Jaffa For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#462
Originally Posted by qwerty12 View Post
ETo override scratchbox using an internal version of an tool, you do;

"export SBOX_REDIRECT_IGNORE=/usr/bin/tool && export PATH=/usr/bin:$PATH"
Okay, forgive me my autobuilder ignorance, but I can't read this. What will that give me?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#463
Originally Posted by Bundyo View Post
Okay, forgive me my autobuilder ignorance, but I can't read this. What will that give me?
It sets a variable, SBOX_REDIRECT_IGNORE for /usr/bin/tool, and then ensures that /usr/bin is at the head of your PATH.

Scratchbox uses host tools as much as possible (for speed), and also stuff within the devkit. However, the above allows you to override it.

So, for example, we could have a newer version of bison in Extras - your Build-Depends will specify the exact version - and override the version shipped as standard.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 3 Users Say Thank You to Jaffa For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#464
Originally Posted by Bundyo View Post
Okay, forgive me my autobuilder ignorance, but I can't read this. What will that give me?
Lol, it's an general sbox1 trick

If you have a scratchbox 1 installed with python2.5 from extras, try this to see what I mean:

Code:
which python
Output:
/scratchbox/bin/...

Code:
python
Output:
Python 2.3...

From that output we see, that when you run "python", scratchbox intercepts it and runs its internal 2.3 version of python. We want the Maemo version of python 2.5 to be loaded so if I do:

Code:
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; export PATH=/usr/bin:$PATH
and then do, this time:
Code:
which python
Output:
/usr/bin/python

Code:
python
Output:
Python 2.5

As we can see from that output (faked, but the outcome should be the same ), scratchbox now uses the version of a tool that you installed and does not use its internal version.

My idea is to implement the above in your debian/rules so scratchbox uses the newer version of bison instead of its internal version.

Now after typing that, I'm not even sure if scratchbox provides bison , but the trick is good to know all the same
 

The Following 4 Users Say Thank You to qwerty12 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#465
Can we have newer GCC too? It won't work with 3.x.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#466
Originally Posted by Bundyo View Post
Can we have newer GCC too? It won't work with 3.x.
I don't see why not. Trickier, of course, as we need the GCC to be able to cross-compile; which is bound to be more fiddly.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following User Says Thank You to Jaffa For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#467
Okay then, when the time comes Thanks for the help.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#468
Originally Posted by Jaffa View Post
Anyway, I'm in the process of updating vala now. Will let you know when it's in extras-devel.
Vala is now in Extras-Devel, along with the simplest Vala Hildon program (a noddy "hello world" sample) demonstrating that packages written in Vala can also be built using the auto-builder.

More details here: http://www.internettablettalk.com/fo...172#post272172
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 8 Users Say Thank You to Jaffa For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#469
Status report:
http://bugs.bundyo.org/viewissue.php?issue_no=19
http://bugs.bundyo.org/viewissue.php?issue_no=22
http://bugs.bundyo.org/viewissue.php?issue_no=23
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
terrencegf's Avatar
Posts: 221 | Thanked: 182 times | Joined on Jul 2007 @ Central Illinois
#470
I'm not sure if I should post this here or try to use the bug reporter...

Tear doesn't work correctly with Privoxy. When I go to http://p.p/ (the easy way to view privoxy configuration), I get a dns resolve error. When I go to http://config.privoxy.org/ (the hard way to view privoxy configuration), I get "Privoxy is not being used".

Since privoxy is configured on the connection in maemo, I'm surprised that Tear managed to avoid using it.
 
Reply

Tags
brower, browser, browserd fix, khtml, microb alternative, microb killer, tear, webkit, www


 
Forum Jump


All times are GMT. The time now is 09:30.