Wednesday, 19 September 2018

Getting the fb frontend to work

--- netsurf/frontends/framebuffer/Makefile.orig 2018-09-19 10:42:08.413547178 -0500
+++ netsurf/frontends/framebuffer/Makefile 2018-09-19 10:42:45.524385850 -0500
@@ -81,7 +81,7 @@
FB_IMAGE_throbber8 := throbber/throbber8.png

# local compiler flags
-ifeq ($(HOST),OpenBSD)
+ifeq ($(HOST),$(filter $(HOST),OpenBSD NetBSD))
HOST_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
HOST_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng)
else
Hi everyone,

After successfully compiling Netsurf with the framebuffer frontend on
NetBSD (it required a patch for the Makefile, attaching it, please
consider merging it), it doesn't start with either "The sdl surface is
not available from libnsfb" if run without arguments other than -v, and
"The x surface is not available..." if run with `-f x`.

Do I need to install some additional software, or link it with
something else (I built it with pkgsrc; if you miss an
`.include <...buildlink3.mk>`, you can run into a problem; currently
there are gperf, librsvg, lcms, openssl, curl, libxml2, and mng
included).

The version is 3.8.

Thanks!

--
caóc

No comments:

Post a Comment