You are not logged in.

#1 2022-02-01 16:31:25

teckk
Member
Registered: 2013-02-21
Posts: 518

Fixing dillo.

Fixing dillo.

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.

Get 3.1 dev source here.
https://github.com/orsenthil/dillo
https://github.com/orsenthil/dillo/arch … master.zip

Install mbedtls

pacman -S mbedtls

I made a PKGBUILD for it. (Build from a local source tree after you have it).

PKGBUILD

#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

[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;

ProgramIcon48.png

curl -F'file=@ProgramIcon48.png' https://0x0.st
https://0x0.st/oHyw.png

And that builds fine and runs.

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.

curl -F'file=@dilLQ.png' https://0x0.st
https://0x0.st/oHy3.png

If anyone wants to make an AUR package that's fine. If no one is interested in dillo, that's fine too. It used to be one of my favorite browsers when it worked 5 or 6 years ago.

Offline

#2 2022-02-01 16:40:57

teckk
Member
Registered: 2013-02-21
Posts: 518

Re: Fixing dillo.

And if anyone is interested in making that little obnoxios scoll bad thicker so that you can actually grab it.

That is at:
/dillo-master/dw/fltkviewport.hh
Line 20

class FltkViewport: public FltkWidgetView
{
public:
   enum GadgetOrientation { GADGET_VERTICAL, GADGET_HORIZONTAL };

private:
   enum { SCROLLBAR_THICKNESS = 15 };

   int scrollX, scrollY;
   int scrollDX, scrollDY;
   int hasDragScroll, dragScrolling, dragX, dragY;
   int horScrolling, verScrolling;

Last edited by teckk (2022-02-01 16:41:19)

Offline

#3 2022-02-01 17:54:08

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Fixing dillo.

teckk wrote:

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.

Then why don't you make a dillo-git AUR package with the latest git version and your scroll bar patch? That would be far more convenient for users than posting it on a forum thread.

There used to be https://github.com/aur-archive/dillo-hg in the AUR, but obviously that one is long outdated.

Offline

#4 2022-02-26 18:14:36

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Fixing dillo.

teckk wrote:

As you know dillo hasn't worked right for years.

No, I did not know that. Where are the bug reports?

What is wrong with the package in [community]?

And why do refer to a spourious github repo instead of the official mercurial repo. The only difference the github maintainer made was a change in the README with build instructions for MAC-OS.

morn wrote:

Then why don't you make a dillo-git AUR package with the latest git version and your scroll bar patch? That would be far more convenient for users than posting it on a forum thread.

Please do not. Let's better fix the dillo-hg package.

# Contributor: joyfulgirl@archlinux.us

pkgname=dillo-hg
pkgver=r4664.67b70f024568
pkgrel=1
pkgdesc="A small, fast, FLTK-based web browser"
arch=('i686' 'x86_64')
url="http://www.dillo.org/"
license=('GPL3')
depends=('fltk' 'libxi' 'libxinerama' 'openssl' 'perl')
makedepends=('autoconf' 'automake' 'mercurial')
optdepends=('ttf-dejavu: Enable DejaVu Sans support')
provides=('dillo')
conflicts=('dillo')
backup=('etc/dillo/dillorc' 'etc/dillo/dpidrc')
source=("hg+https://hg.dillo.org/dillo")
md5sums=('SKIP')
_hgrepo="dillo"

pkgver() {
  cd dillo
  printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

build() {
  cd ${srcdir}/${_hgrepo}
  CFLAGS+=' -fcommon'
  ./autogen.sh
  ./configure --prefix=/usr --sysconfdir=/etc/ \
      --enable-ssl 
  make
}

package() {
  cd ${srcdir}/${_hgrepo}
  make DESTDIR=$pkgdir install
}

Offline

#5 2023-12-30 03:04:40

rodarima
Member
Registered: 2014-01-02
Posts: 1

Re: Fixing dillo.

In case someone is looking, I made an AUR package here: https://aur.archlinux.org/packages/dillo-git

The official page dillo.org is gone (there is a fake clone now) along with the mercurial repo and the email server used to reach the core developers, so I'm maintaining Dillo here:

https://github.com/dillo-browser/dillo

If you find any problem or want to share your patch, feel free to open an issue.

Offline

Board footer

Powered by FluxBB