Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 14:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Midori browser (2.5 MB ~static ) 5MB full shared +all deps
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 6 [85 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 30 Jan 2010, 18:06    Post subject:  Midori browser (2.5 MB ~static ) 5MB full shared +all deps
Subject description: REPOSTED: built with glib instead of libICU & libIDN for size
 

SEE NEXT POST FOR UPDATED GLIB it is REQUIRED

This was a challenge to say the least, but finally here is my Midori build that is specially configured for Puppy, the only thing removed from the main package are locales and some large extensions that link against webkit

the 2.5MB pet package (static webkit, libsoup - no SSL) is here
http://puppy-development.googlecode.com/files/midori-2.2-92.pet

if you are going to include this in a minimal puplet and remove seamonkey - you should use flashplayer9 because some of the flash10 dependencies are in the seamonkey directory (nss and nspr)

full shared build including all the Xtras including gnutls, libsoup, libwebkit and all extensions = 5MB
http://puppy-development.googlecode.com/files/midori_shared-2.2-93.pet
sylpheed-2.7.1-i486.pet
Description  smaller - no frills mail
pet

 Download 
Filename  sylpheed-2.7.1-i486.pet 
Filesize  495.49 KB 
Downloaded  790 Time(s) 
claws-mail-3.7.5-i486.pet
Description  claws mail with fancy (webkit htmlviewer) plugin
pet

 Download 
Filename  claws-mail-3.7.5-i486.pet 
Filesize  1.15 MB 
Downloaded  775 Time(s) 
webkitbrowser.tar.gz
Description  here is the webkit minibrowser to go along with the shared build - makes a great defaulthtmlviewer
gz

 Download 
Filename  webkitbrowser.tar.gz 
Filesize  4.39 KB 
Downloaded  907 Time(s) 
locale.tar.gz
Description  this is just a tarball of the /usr/share/locale directory -
if anyone needs them - just expand it into /usr/share or
manually copy your specific locale(XX) to /usr/share/locale/XX/LC_MESSAGES/midori.mo
gz

 Download 
Filename  locale.tar.gz 
Filesize  443.46 KB 
Downloaded  812 Time(s) 
midori-youtube.png
 Description   
 Filesize   37.4 KB
 Viewed   12429 Time(s)

midori-youtube.png


_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Sun 14 Feb 2010, 00:32; edited 6 times in total
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 30 Jan 2010, 22:12    Post subject:  

the pet has a upx'd binary
here is a 2.2MB pxt (xz compressed) without upx
http://puppy-development.googlecode.com/files/midori-2.2-92.pxt

cookie-manager, web-cache, feed-panel, adblock and formhistory were all remove for size (8MB each from static linking) I filed a bug report about the initial build failures and tacked on a feature request for "builtin" extensions (like the new abiword has)

REQUIRES updated GLIB (for libsoup)
uploading to google code
glib-2.22.2-i486.pet
Description 
pet

 Download 
Filename  glib-2.22.2-i486.pet 
Filesize  553.02 KB 
Downloaded  1815 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 31 Jan 2010, 16:18    Post subject:  

Lighthousepup latest. Midori crashes:
bash-3.00# midori

(midori:12361): Gtk-WARNING **: Error loading theme icon 'stock_new-tab' for stock: Icon 'stock_new-tab' not present in theme

(midori:12361): Gtk-WARNING **: Error loading theme icon 'gnome-stock-trash' for stock: Icon 'gnome-stock-trash' not present in theme
Segmentation fault
<root> ~
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sun 31 Jan 2010, 16:28    Post subject:  

did you install the updated glib?
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 31 Jan 2010, 16:34    Post subject:  

Yes. I installed it first and then Midori. And then I removed them and installed them in different order. Maybe reboot would help, but also something maybe is really missing...
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sun 31 Jan 2010, 19:26    Post subject:  

I'd have to try it on lighthouse - not sure what libraries it has by default - Is it based on 4.2.X?
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 31 Jan 2010, 22:02    Post subject:  

Wow, this is unbelievable! Thank you!
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 31 Jan 2010, 23:48    Post subject:  

So how do I get SSL to work?

Did you compile without NSS at all or is it looking for it somewhere?
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 01 Feb 2010, 00:24    Post subject:  

It looks like https will require gnutls which has many dependencies because libsoup dropped support for straight openssl and webkitgtk dropped support for using curl instead of libsoup back in march of last year (I think origyn web browser forked the curl setup)... this seems to be case of buntuism... so it may be a while for secure browsing (gnutls is hard enough to build as it is)

On a separate note
more failures of the waf build system
- it decided to use -pthread instead of -gthread
- it "found" several libs in /usr/X11R7/lib that were in /usr/lib
- drops linkages on static libraries for its dependencies
- it hides the build info by default or in verbose it doesn't show what is REALLY happening
- it requires python
- it hides the config info in a hidden folder

WAF is not ready for this kind of operation - when it finally works 99.9% - then think about hiding stuff by default

Please use autoconf etc... - it works fine and when it doesn't you can at least fix the problem without a chainsaw - I'd rather edit makefiles than use waf

enough ranting about waf - next time I build it I will dump everything to a single directory and try to build it with a single gcc command using -fwhole-program (if possible I will try to build in the extensions to the midori binary)

So here is the plan:
update openssl (shared) required by the version of gnutls that is required by libsoup that is required by webkitgtk-1.1.19(first version that supports glib instead of libICU ~16MB)
build the rest statically while tracking the dependencies manually so that I can manually link them in easier

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 01 Feb 2010, 02:09    Post subject:  

Lighthousepup 443F is based on Puppy 4.3.1. Well I am using Mariner sfs and KDE sfs and they include quite a lot of apps and libraries to basic installation. So the soup is more complex I figure. I use extra apps mostly by sfs, so I havent installed extra libs manually. Only your glib.

I could try Minori pfix=ram installation when I have time.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 01 Feb 2010, 02:45    Post subject:  

I rebuilt everything including gnutls as shared and stripped out all but the libs that are required and packaged them into the Midori pet (I am assuming that random files or executables will not be used - they usually aren't)... let me know

without further ado
http://puppy-development.googlecode.com/files/Midori.pet

by the way - its still only 5MB including gnutls (+deps), libsoup, libwebkit and all of the extensions
NOTE: had to delete Midori's old folder in /root/.config/

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 01 Feb 2010, 10:40    Post subject:  

Allright, replying from Midori so it works. I booted LHP443F with pfix=ram. Installed the latest Midori.pet, pet wasnt associated to petget, searched it and installed, didnt add itself to menu. From console:

bash-3.00# which petget
/usr/sbin/petget
<root> ~
bash-3.00# midori
bash: midori: command not found
<root> ~
bash-3.00# which midori
<root> ~

So the installation wasnt quite succesful. Then I installed the first Midori.pet (before upx or something version)

bash-3.00# which midori
/usr/bin/midori
<root> ~

And Midori works. So in my LHP443F Mariner sfs and KDE sfs or my savefile prevented Midori installation. But I couldnt install the latest succesfully. Could I try midori with latest Dpup ? Stardust will be tested when I have time also.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 01 Feb 2010, 11:04    Post subject:  

I knew I would forget something - The midori .desktop file in /usr/share/applications needs to be fixed to show up in the menu.

If you installed the static version, you may need to delete the /root/.config/Midori folder

afterwards you may want to edit preferences to enable spell check (enter en_US for us english) and you can enable the small icon theme and your choice of downloader amongst many other tweaks.

If you are using Dpup, you may want to separate the packages so that you can use the Debian versions of the libraries. (you can use pet2tgz followed by pupzip to remove them from /Midori/usr/lib then tgz2pet and petget to install)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 01 Feb 2010, 11:26    Post subject:  

I removed /root/.config/Midori everything. Then reinstalled latest static Midori.pet. It didnt add all the files to above folder. Also which Midori didnt find Midory binary on the beginning of my test. I downloaded latest Midori.pet with Uget to be sure of getting it right but no go with it. So cant get SSL support with latest Midori. I believe there is something wrong with the latest static Midori.pet or my LHP443F with pfix=ram is really allergic to it. Quite possible remembering my first failure.

Ps. Latest Midori.pet creates /root/.config/Midori and three files inside it:
confic, running and midori_socket.... but no midori binary to /usr/bin

It also adds gnutls_min... to puppy package manager pet list but no Midori
But as I said, might be problem with my LHP only. Needs more testing, but now I dont have time. Later....
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Mon 01 Feb 2010, 12:10    Post subject:  

I didn't get a midori binary either with the Midori.pet.

Technosaurus, could you post the header files too? I want to replace Chrome in the next Puppeee beta with Midori, but I'll have to rebuild Pidgin against gnuTLS.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 6 [85 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

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
[ Time: 0.0782s ][ Queries: 12 (0.0052s) ][ GZIP on ]