Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: yoshi314 on December 13, 2012, 07:43:35 AM

Title: dwb web browser
Post by: yoshi314 on December 13, 2012, 07:43:35 AM
It's a neat keyboard driven webkit-based browser. It's similar to xxxterm, but (imho) more convenient to use, and doesn't render those huge bars on top of screen. Perfect for people with tiling wm's or smaller displays. Comes with adblocker (turned off by default, requires small change in configuration).

more info here : http://portix.bitbucket.org/dwb/

I already built it for TC, procedure it fairly straightforward.

you need :
- webkitgtk-1.0-0-dev, compiletc and mercurial.
- sed might be helpful

adblock fetcher script needs bash.

Code: [Select]
hg clone http://portix.bitbucket.org/dwb/ dwb
cd dwb
sed -e 's|^PREFIX.*|PREFIX=/usr/local|g' config.mk
make
mkdir /home/tc/dwb-build
make DESTDIR=/home/tc/dwb-build install
cp tools/grab_adblocker /home/tc/dwb-build/usr/local/bin/dwb_grab_adblocker.bash

cd /home/tc
mksquashfs dwb-build dwb.tcz
md5sum dwb.tcz > dwb.tcz.md5.txt

echo "webkitgtk-1.0-0.tcz" > dwb.tcz.dep

after adding to your system, copy the adblock script, edit the blocklists it fetches, run ( you only need to do it once every few weeks). if you haven't ran dwb yet, it should enable adblocking in dwb config. if you did, it will display helper text.

dwb can be also built with gtk3 support, if there is webkit-gtk built against gtk3. i haven't seen any in TC yet.
Title: Re: dwb web browser
Post by: Rich on December 13, 2012, 10:37:05 AM
Hi yoshi314
Since you have already built it, why don't you submit it? Sounds like all you need to add is an info file.
Title: Re: dwb web browser
Post by: yoshi314 on December 13, 2012, 01:01:08 PM
ok, i'll just have to go over any standards related info to make sure i play by the rules.



i am not sure if you need ca-certificates as dep. Relying on system-wide certs causes dwb to fail at SSL handshakes (and it refuses to load https links), more info is in the package .info file.

i briefly tested the package with submitqc4, no errors so far. but i could be missing something.

        [EDIT]: Removed link due to policy violation.  Rich
Title: Re: dwb web browser
Post by: Rich on December 26, 2012, 09:26:53 PM
Hi yoshi314
Sorry, I had to remove the link you posted. Extensions should be submitted to the repository, not posted in the forum.
Title: Re: dwb web browser
Post by: yoshi314 on January 02, 2013, 04:18:50 AM
i did that so that people interested could try it out. then again, they can use the build instructions.

i still have no reply on the extension submission, though.

EDIT: apparently it's up, but on the new default repo. i kept checking the old repository.
Title: Re: dwb web browser
Post by: curaga on January 02, 2013, 08:41:46 AM
It should sync down the mirrors as usual. I see it's at nluug already.