NetSurf port
Created by: xTibor
This is a tracking issue for the NetSurf Redox port.
-
Enable PNG decoding I already added a recipe for libpng
but I couldn't enable it in NetSurf due to somepkg-config
errors. To make NetSurf use the library theNETSURF_USE_PNG
variable needs to overridden in theMakefile.config
file. -
Enable TrueType fonts FreeType needs to be ported and the NETSURF_FB_FONTLIB
variable needs to be overridden tofreetype
in theMakefile.config
file. The default font paths also need to be overridden.
Path overrides that might work but couldn't test them
override NETSURF_FB_FONT_SANS_SERIF := /ui/fonts/Sans/Fira/Regular.ttf override NETSURF_FB_FONT_SANS_SERIF_BOLD := /ui/fonts/Sans/Fira/Bold.ttf override NETSURF_FB_FONT_SANS_SERIF_ITALIC := /ui/fonts/Sans/Fira/Regular.ttf override NETSURF_FB_FONT_SANS_SERIF_ITALIC_BOLD := /ui/fonts/Sans/Fira/Bold.ttf override NETSURF_FB_FONT_SERIF := /ui/fonts/Sans/Fira/Regular.ttf override NETSURF_FB_FONT_SERIF_BOLD := /ui/fonts/Sans/Fira/Bold.ttf override NETSURF_FB_FONT_MONOSPACE := /ui/fonts/Mono/Fira/Regular.ttf override NETSURF_FB_FONT_MONOSPACE_BOLD := /ui/fonts/Mono/Fira/Bold.ttf override NETSURF_FB_FONT_CURSIVE := /ui/fonts/Sans/Fira/Regular.ttf override NETSURF_FB_FONT_FANTASY := /ui/fonts/Sans/Fira/Regular.ttf
-
Enable JavaScript NetSurf uses Duktape as its JavaScript engine. It uses a custom Python-based build system instead of Autoturd. The NETSURF_USE_DUKTAPE
variable needs to overridden inMakefile.config
to enable it. -
Toolbar enhancements The current toolbar is ugly and doesn't fit the rest of the system. The icons needs to be changed to Moka or Faba. The rightmost close button needs to be removed (the window already has a close button on its title bar). It would also be cool to add a home button that points to redox-os.org. -
Move the alpha fixes from NetSurf to SDL The XRGB8888 to ARGB8888 conversion needs to be done in the SDL library. -
Make the window resizable Implement SDL_RESIZABLE
forSDL_SetVideoMode
. -
Change the window title It should display NetSurf, not SDL. -
Add a launcher entry Moka/Faba has no icon for NetSurf. There are two options: create one or use the generic browser icon. -
Fix the double mouse cursor NetSurf tries to hide the original cursor with SDL_ShowCursor(SDL_DISABLE)
but it's not implemented in SDL yet. -
Fix the Unicode issue in SDL -
Debug why it crashes on exit -
Fix HTML forms Posting an HTML form throws Could not encode name for generic
. Might be missing TRANSLIT support in newlib's iconv. -
Remove the remaining hacks from the patch -
Directory listings of local folders only show the first item The scandir
function in relibc might be incorrect. -
Images loaded from HTML are not displayed They are only displayed when they are loaded directly, for example: netsurf-fb https://foo.bar/baz.jpg
. -
cURL errors on loading websites It throws "Failure when receiving data from the peer" ( CURLE_RECV_ERROR
, error 56) on most of the sites. -
Package more fonts for NetSurf It needs three new fonts: a serif
, acursive
and afantasy
font. It currently uses thesans-serif
font as a placeholder for these.