The time now is Fri 24 May 2013, 21:53
All times are UTC - 4 |
|
Page 1 of 2 [18 Posts] |
Goto page: 1, 2 Next |
| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 30 Jan 2010, 02:08 Post subject:
webkitgtk - 1 file, 2MB compressed, flash & gxine work too Subject description: built against static webkit and libsoup; upx'd from 7mb to 2mb |
|
Now that libICU is no longer required I thought I would revisit Midori, but in the mean time I found that the included "gtklauncher" would play youtube and embedded video using gxine and render most webpages quite well while only using ~half the resources as seamonkey
It is VERY basic though - VERY VERY basic, but it will play youtube
I renamed it to webkitgtk since there has already been a gtklauncher in puppy
just extract it anywhere it is a 2.2MB executable
http://puppy-development.googlecode.com/files/webkitgtk.tar.gz
Midori could take some time since it may need patched to use glib instead of ICU for unicode
| Description |
libsoup required this updated glib (it should not add any size when installed and remastered)
|

Download |
| Filename |
glib-2.22.2-i486.pet |
| Filesize |
553.02 KB |
| Downloaded |
473 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Last edited by technosaurus on Sat 30 Jan 2010, 23:37; edited 1 time in total
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 30 Jan 2010, 18:09 Post subject:
|
|
Ok, Midori is now built as well
Here is the forum thread
http://murga-linux.com/puppy/viewtopic.php?t=51971
Here is the 2.5MB pet package
http://puppy-development.googlecode.com/files/midori-2.2-92.pet
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sat 30 Jan 2010, 19:04 Post subject:
|
|
I saw 2.2 and 2.5MB and thought someone had worked a miracle... but I see you upxed the executables, which made them dramatically smaller
If anyone wants to know, both of them fail on 4.1.x with | Code: | | ./webkitgtk: symbol lookup error: ./webkitgtk: undefined symbol: g_resolver_get_default |
Google suggests this is a problem with libsoup... so now we see the downside of building it in statically
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 30 Jan 2010, 20:06 Post subject:
|
|
Midori's pet is just over 3MB without being upx'd (its only an 8MB executable) - for binaries over 1MB, upx makes sense, but it doesn't really change the package size significantly (only half a MB here because gzip sucks - a pxt package using xz compressing and non-upx'd binary is only 2.2MB)
Here is the 2.2MB .pxt (xz compressed pet) with midori binary un-upx'd
http://puppy-development.googlecode.com/files/midori-2.2-92.pxt
I can upload a non-UPX'd version so that you can run ldd to see what dependencies are missing - probable the gio/glib difference - it is actually more likely that the shared libraries that are the problem, but nice try - if it were fully static then all the symbols would be there - this is not a fully static build or it would be much larger
I did not link libsoup-2.4 and libwebkit-1.0 against static libraries, which required adding all of their FLAGS to midori so that the shared libraries got linked in (due to limitations of waf). Specifically I added a hack to _build/c4che/default.cache.py so that it would actually build
CHANGED
LINKFLAGS_GMODULE = ['-Wl,--export-dynamic']
TO
LINKFLAGS_GMODULE = ['-Wl,--export-dynamic,-lstdc++,-ljpeg,-lXt,-lsqlite3,-lxslt,-latk-1.0,-lgailutil,-lglib-2.0,-lxml2,-lsoup-2.4,-lwebkit-1.0,-lenchant']
There is probably a better way but this worked and I wasn't prepared to fix the whole waf build system
these are the shared libraries that you need:
linux-gate.so.1, libstdc++.so.6, libjpeg.so.62, libXt.so.6, libsqlite3.so.0, libxslt.so.1, libatk-1.0.so.0, libgailutil.so.18, libglib-2.0.so.0, libxml2.so.2, libenchant.so.1, libm.so.6, libgio-2.0.so.0, libgobject-2.0.so.0, libgmodule-2.0.so.0, libgthread-2.0.so.0, librt.so.1, libgtk-x11-2.0.so.0, libgdk-x11-2.0.so.0, libpangoft2-1.0.so.0, libgdk_pixbuf-2.0.so.0, libpangocairo-1.0.so.0, libcairo.so.2, libpango-1.0.so.0, libfreetype.so.6, libz.so.1, libfontconfig.so.1, libX11.so.6, libssl.so.0.9.8, libcrypto.so.0.9.8, libdl.so.2, libpthread.so.0, libc.so.6, libpng12.so.0, libgcc_s.so.1, /lib/ld-linux.so.2, libSM.so.6, libICE.so.6, libpcre.so.0, libXfixes.so.3, libresolv.so.2, libXi.so.6, libXext.so.6, libXrender.so.1, libXinerama.so.1, libXrandr.so.2, libXcursor.so.1, libexpat.so.1, libpixman-1.so.0, libXau.so.6, libXdmcp.so.6
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 30 Jan 2010, 20:48 Post subject:
|
|
Hi techno arora http://code.google.com/p/arora/ is a nice browser, its based on QT, and only needs a few QT libs,
libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0xb651f000)
libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0xb623d000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb5610000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb54bb000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb51dc000)
Arora and flash 10 work great together also. Fullscreen youtube etc works perfectly, no drag etc.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 30 Jan 2010, 21:27 Post subject:
|
|
I tried arora before - static QT ended up making it pretty HUGE still and required several hacks to build it - it ended up being unstable and seamonkey's size if I remember correctly - that one got flushed with my ram on reboot
did I mention I hate the waf build system - not that it is bad - I just finally figured out how makefiles worked - waf has too much stuff hidden
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sat 30 Jan 2010, 22:15 Post subject:
|
|
Sorry, I wasn't suggesting an un-upxed package as well...
I did unupx it and run ldd, which says there aren't any dependencies missing.
| Quote: | | if it were fully static then all the symbols would be there |
Yes
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sat 30 Jan 2010, 22:17 Post subject:
|
|
OK, the problem is worse than I thought. I just tried it on my 4.3.1 install, and get the same error. What Puppy is it supposed to be for?
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 30 Jan 2010, 22:33 Post subject:
|
|
| technosaurus wrote: | I tried arora before - static QT ended up making it pretty HUGE still and required several hacks to build it - it ended up being unstable and seamonkey's size if I remember correctly - that one got flushed with my ram on reboot
did I mention I hate the waf build system - not that it is bad - I just finally figured out how makefiles worked - waf has too much stuff hidden |
Hmmm when I downloaded it, it was using Qmake and not waf. Ya waf is a bit so so.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 30 Jan 2010, 23:25 Post subject:
|
|
| ttuuxxx wrote: |
Hmmm when I downloaded it, it was using Qmake and not waf. Ya waf is a bit so so.
ttuuxxx |
sorry ttuuxxx for confusion - I was still referring to Midori
And I owe everyone a great BIG apology - I forgot that I had to upgrade glib to build libsoup...I will package it up
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sun 31 Jan 2010, 00:54 Post subject:
|
|
Wow, midori's really impressive, especially for such an obscure browser. The main downside seems to be just that the sidebar has a minimum width set by the number of (huge) buttons along the bottom
Unfortunately neither of these builds supports HTTPS, so they couldn't really replace seamonkey in a puplet. Was that one of the "large extensions" that you left out?
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 31 Jan 2010, 01:03 Post subject:
|
|
https support could be added - it may have required gnutls or a later version of openssl and I was just trying to see if it would build
the HUGE extensions are cookie-manager, web-cache, feed-panel, adblock and formhistory
It would even support html5 audio and video if we had gstreamer
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sun 31 Jan 2010, 01:11 Post subject:
|
|
Is it possible for you to post a matching _DEV file for the updated glib please?
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 31 Jan 2010, 02:16 Post subject:
|
|
sure
| Description |
|

Download |
| Filename |
glib_DEV-2.22.2-i486.pet |
| Filesize |
174 KB |
| Downloaded |
402 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: Sun 31 Jan 2010, 03:16 Post subject:
|
|
Great, thanks.
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
|
|
Page 1 of 2 [18 Posts] |
Goto page: 1, 2 Next |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|