ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'll post this in the arch forum because, that's where I built it. Anyone else should be able to compile it too. You need dillo's 3.1 devel source, it's depends and mbedtls. Your distro might name that slightly different. Someone else mentioned this in another thread about small light browsers on the Slack forum. So I decides to investigate it.
Anyone who is interested.
As you know dillo hasn't worked right for years. This fixes it so that it loads pages like it should. There isn't an AUR package for it. I haven't seen a post on it.
I made a PKGBUILD for it. (Build from a local source tree after you have it).
PKGBUILD
Code:
#Local PKGBUILD example
pkgname=dillo3dev
pkgver=3.1.dev
pkgrel=8
pkgdesc="A small, fast graphical web browser built on FLTK"
arch=(x86_64)
license=('GPL')
depends=('fltk' 'libjpeg' 'perl' 'libpng' 'gcc-libs' 'libxcursor'
'libxi' 'libxinerama')
backup=(etc/dillo/{dillorc,dpidrc})
build() {
cd "/path/to/the/source/dillo-master"
CFLAGS+=' -fcommon'
./configure --prefix=/usr --sysconfdir=/etc --enable-cookies --enable-ssl
make
}
package() {
cd "/path/to/the/source/dillo-master"
make DESTDIR="$pkgdir" install
install -Dm644 ../dillo.desktop "$pkgdir/usr/share/applications/dillo.desktop"
install -Dm644 ../ProgramIcon48.png "$pkgdir/usr/share/pixmaps/dillo.png"
}
dillo.desktop
Code:
[Desktop Entry]
Name=Dillo
GenericName=Web Browser
Comment=Very small and fast GUI web browser
Exec=dillo
Icon=dillo
Terminal=false
Type=Application
Categories=Network;GTK;WebBrowser;
I already have dillo installed so I never bothered to install this fixed version. I simply ran it from the build directory. I wanted to see if this would fix it. Point is, it has loaded all the pages that I have thrown at it, including cloudflare sites.
This just builds the git master without any changes, yes?
build() and package() seem to be the same as for the community package, the prepare() function presumably isn't necessary anymore?
the prepare() function presumably isn't necessary anymore?
Yep. It's not needed. From my changelog:
Code:
- Latest snapshot
- Disable LTO
- Drop BR on gtk+-devel
- Replace BR on openssl-devel with mbedtls-devel
- Drop patch for OpenSSL 1.1.1
- Patch test/Makefile.am to link dw_simple_container_test with -lX11
- Add icons
I also failed to retrace my steps well enough. From that source above one needs to run autogen.sh manaully first to make a configure file, or make it part of the PKGBUILD.
My goal was so that everyone, whatever distro they used, could easily get the source and compile it, if they wanted to.
And that built and run. Change that however you want.
And if you want to make a patch for the scrollbar size. ../src/dillo-master/dw/fltkviewport.hh
Line 20
I'm an amature with the AUR. Never posted anything in it. I've always built stuff from source for myself and used it. Plus, the devs are kinda harsh if you don't get it right. (Which is why I haven't posted anything in it.) Maybe I'll look into that one of these days when I have lots of time to get it right. You seen to know how to do it.
I don't think that there is that much interest in dillo. Just something that i have wanted to fix for 3 or 4 years now. Got around to it.
It seems Dillo uses it's own rendering engine (not webkit/gecko/etc), which has me curious, but I've yet to find anything on Dillo or FLTK websites - don't suppose anyone knows where there's details?
What are you referring to? It's own web browser engine?
You'll have to look at it's source code. It is part of it. It is not a seperate engine like webkit, webengine, blink etc. It is in the source, I can't tell you a lot more. I'm not an expert on it. I looked the code base over to change it the way I wanted. I think that you probably would have to talk to the dillo devs to fully understand it. That's quite a bit of code there, just like a lot of projects. There are some readme's in the source tree.
It doesn't run scripts, doesn't even display frames correctly. fltk of course is just the tool kit for the graphics. It is a very fast little browser that just diplays the essence of the page. You can post on LQ wit hit, I've done it before just not as convenient. And...It wont keep the formatting that you use sometimes.
Something else that it will do. Most web browsers, if you turn javascript and images off. If you load some pages you get a blank page. Dillo will diplay the page. It simply does not redirect to the "Blank page" because you don't have scripts on.
Yeah, I just want something simple to look at - I suspect Dillo will be easier to comprehend than Firefox/etc, and it certainly wont waste disk space - its under 100MB vs "at least 30GB" (!) for FF...
It seems Dillo uses it's own rendering engine (not webkit/gecko/etc), which has me curious, but I've yet to find anything on Dillo or FLTK websites - don't suppose anyone knows where there's details?
dillo is just a very small, very fast GUI browser. I use it for some hotkeys (e.g. to show me the online conky documentation) and never to actually browse. It's functional, but doesn't do javascript. Think Internet Explorer 5.
FLTK (the fast light toolkit) is used in a few other applications.
Both it and dillo have their own websites.
makepkg
==> ERROR: Missing package() function in ~/test/dillo5/PKGBUILD
Added:
Code:
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
install -Dm644 ../dillo.desktop "$pkgdir/usr/share/applications/dillo.desktop"
install -Dm644 ../ProgramIcon128.png "$pkgdir/usr/share/pixmaps/dillo.png"
}
And that built fine without modifying any of the source. I didn't install it. The executable is at: <BuidDir>/src/dillo-git/src/dillo
And that appears to load everything thrown at it. Here is a collage of screen grabs. The text looks better than that. I did a lesser quality jpeg for size sake.
Warning, image is still 2.6 MB. (Fairly big for a jpeg)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.