webkitgtk - 1 file, 2MB compressed, flash & gxine work too

Browsers, email, chat, etc.
Post Reply
Message
Author
earksiinni
Posts: 1
Joined: Tue 27 Apr 2010, 06:14

#16 Post by earksiinni »

Hi technosaur,

Could you explain briefly how you configured the waf scripts to get Midori to link statically?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#17 Post by technosaurus »

Just compile your libraries that you want to link statically with --enable-static --disable-shared (or the equivalent) ... otherwise you can sometimes just delete the corresponding .so file (for more info see pet packaging 100 & 101)

However midori uses waf which appears to assume that everything is a shared lib so I added them manually

to find out the proper stuff to link in I should have used pkg-config (but actually I easter egged it based on the output)
pkg-config --cflags --libs webkit (or whatever the name of the *.pc file is)

I entered a bug report:
here
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#18 Post by DaveS »

Really glad to see Midori is not being forgotten. I have tried and tried to build this from scratch but the learning curve is steep for a mere user.
Spup Frugal HD and USB
Root forever!

Post Reply