At Thu, 11 Dec 2025 20:20:44 +0000 (UTC), Chase Rayfield <cusbrar2%yahoo.com@localhost> wrote: Subject: Re: Success with Links browser port build. > > >Dillo should work too, and does not require GTK (it uses FLTK) and so > >only depends on a "mere" 27 libraries. However the pkgsrc version is > >way out of date. > > Might be due to it still depending on FLTK 1.3 but I guess it is > usually statically linked anyway so not a big deal. Ah ha! I had though FLTK could probably could be static-linked, but by default it has the "opengl" option enabled, and that then means it requires MesaLib, which is built with meson, and for the life of me I cannot figure out how to get meson to generate static libraries for MesaLib as even when meson is when given "--default-library both", Meson only builds shared libs! However dillo doesn't end up using libfltk_gl (which is the only part that uses MesaLib) so I've forced it to be static-linked and it works! $ file /usr/pkg/bin/dillo /usr/pkg/bin/dillo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for NetBSD 9.99.81, with debug_info, not stripped $ size /usr/pkg/bin/dillo text data bss dec hex filename 4583254 40332 2238505 6862091 68b50b /usr/pkg/bin/dillo That's way smaller than links-gui! $ size /usr/pkg/bin/links text data bss dec hex filename 10711721 181212 2421393 13314326 cb2916 /usr/pkg/bin/links -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpCDU8xYqwkH.pgp
Description: OpenPGP Digital Signature