Monday, June 25, 2007

Denzil : Web browsing .. without frills


A long time ago MikeGTN and i were talking about a minimalistic web browser
that could be used for quickly looking at a page via a link sent by IRC.
Mike was telling me about his progress and we finally collaborated in polishing
up his creation : Denzil .

It's light ( the exec is less than 10 k ) , as feature free as it gets and even has
a bookmark system. ( we needed a reload , a forward , back and stop button too.)

Very minimalist .. very light and as stable as it gets.

It was built against the mozilla browser. Well lo and behold. Mozilla is no longer
required. We can acheive the same result with Firefox.
The modification is easy to do once you got the tarball . Get it here :

http://www.mikegtn.net/packages/denzil/ <---- get the 1.0.5 ( latest )

When you have it and feel like it .. ill guide you through the small mod to actually
be able to compile it on any box with firefox and firefox-devel packages. :)
NOTE : the mozilla-firefox-bin package does not have the required files.

On gentoo there is no need for the devel package.Just make sure you
have mozilla-firefox and not mozilla-firefox-bin.

You need to check this first : Open a session of your favorite terminal.

pkg-config --modversion firefox-gtkmozembed

pkg-config --modversion firefox-xpcom

If those two return a version , then no need to add anything else.
If they return nothing then you need to install the firefox-devel package.
Please retest after the install of the package.

If that works , you need to untar and cd into the uncompressed directory.
Please proceed as follows :

gzip -d denzil-1.0.5.tar.gz
tar -xvf denzil-1.0.5.tar ( verify the version number and spelling )
cd denzil-1.0.5

Using your favorite editor , open configure.in.

nano configure.in

Where you see mozilla, replace by firefox so the lines look as follow

MOZILLA_HOME="`$PKG_CONFIG --variable=libdir firefox-gtkmozembed`"
and
pkg_modules="gtk+-2.0 libxml-2.0 firefox-gtkmozembed firefox-xpcom"

Save and exit

Back in the directory do :
/usr/bin/autoreconf

Then proceed as usual :
./configure --prefix=/usr
make

if that built .. then

sudo make install

Last minute check before you fire it.Please do these two commands :

MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export MOZILLA_FIVE_HOME

Denzil should now run for both http and ftp ..

Only thing left to solve is why https is giving trouble :)



Good day and happy hacking.

No comments:

Blog Archive