Netsurf

...
  • I've released a new version of nskolibrios which can be obtained using nsinstall.

    This new version adds support for PNG, JPEG and GIF images.

    Please make sure you add libpng16.dll and libjpeg.dll files to the kolibrios/lib directory accessibly from root of a partition.
    ---
    Check out the Netsurf Web Browser for KolibriOS.
    Read the wiki and happy hacking with KolibriOS!
  • Where do download?
    Из хаоса в космос
  • Leency wrote:Where do download?
    If you use the netsurf installer, you can download it.
    I'll attach it to this thread in a bit once I have access to my machine.
    ---
    Check out the Netsurf Web Browser for KolibriOS.
    Read the wiki and happy hacking with KolibriOS!
  • ashmew2
    Netsurf downloaded well via nsintall.
    But when I try to run nskolibrios it creates "downloads" directory and quits. No error, crash or message. Just quits.

    Why?
    Из хаоса в космос
  • Oh, great to see that there is a new version off netsurf to test. If I find time, I will do another video about my findings with this version! Old video seem to still be off interest to many.
  • ashmew2 wrote:New binaries for netsurf and netsurf-installer!

    Built against Git commit tag : f7d4b915ff219accec90e4c53fa7d839dccd1745 (Netsurf git repo)

    - Patch libgcc to alert user if libc is not present (or not found) leading to Netsurf not starting up (check debug board)
    - Reduce size of executable by 4x (much faster loading times off a slow FAT disk)
    - Display times when started and finished loading files from disk (to debug board) for troubleshooting.
    - Patch the netsurf toolchains repo to create an sdk environment with kos32-gcc and friends for the build server.

    ====
    Wrote an installer for Netsurf (can be found in $SVN/programs/network/netsurf/).
    This installer downloads the netsurf binary and the required resources over HTTP and installs to /tmp0/1/ by default.
    The download (aka installation) path can be changed in the .asm file .
    Simply execute the assembled binary and check debug board for details on the download.
    2017-05-29-231651_1366x768_scrot.png
    Note: It will create new directories in the target path as well for downloading resource files.
    ====
    Did not have time on weekend, but try to get one up as soon as possible. Is that the netsurf binary I would have to change to? Can the installer be changed, so that one can input or better select the location? I have a working virtual box kolibri os setup and would love to put each version in different folders on the fat32 partition.
  • I got two different errors. With the installer it now says libjpg.dll is missing. Where can I get this one or is a new kolibrios.img needed than that from last year?

    I did test with the latest image, but still no library for jpeg. Here is a small video:

    https://www.youtube.com/watch?v=BXdn5bfUbi4

    By the way it is not clear that the nsinstaller downloads without any output. So I waited a while and checked if all files are in the res folder.
  • JohnXenox wrote:
    ashmew2 wrote:I haven't tested with assoc.ini , but it's probably a good thing to have once I fix some other issues for the next release. AIUI, assoc.ini would call the Netsurf binary with <filename> as the command line argument which I havent implemented yet.
    Clear.
    ashmew2 wrote:Can you try to run Netsurf first, get the main GUI window and then open offline pages using file:/// ?
    For example, an html file located at

    Code: Select all

    /tmp0/1/offline.html
    should work with typing in the Netsurf address bar

    Code: Select all

    file:///tmp0/1/offline.html
    This should let you open local pages.
    Yep! It works, but very very very slow (from tmp directory)! It takes about 3 minutes to draw the page. Before the full draw of the page, there is a high load on the CPU (about 86%).
    Did you test dosbox and dos browser like dillo for your offline stuff? Maybe this would work.

    http://www.bttr-software.de/forum/board ... p?id=10797
  • Hi

    libjpeg,dll can be found in Serge's toolchains from the FTP server.
    Download the sdk_*.7z files and they have these libraries.

    I'm writing a patch to the toolchains repo of netsurf now to get it to build.
    ---
    Check out the Netsurf Web Browser for KolibriOS.
    Read the wiki and happy hacking with KolibriOS!
  • Okay. I will go to work and try it in the afternoon! Great to see progress!
  • Just need to add libjpeg to ISO autobuild.
    Из хаоса в космос
  • Netsurf requires two files libjpeg.dll and libpng16.dll.
    I've added them to /kolibrios/lib/ from http://ftp.kolibrios.org/users/Serge/ne ... 8-10-16.7z

    When Netsurf starts it just a black window http://prntscr.com/gl4bly
    Из хаоса в космос
  • lol I just found this bin and used it now it only says buffer error. Video is uploading. Take a look in 20 minutes here: https://youtu.be/Z_NQVzJ5RlE
  • I've rebased to the current master branch of Netsurf, so I have a new binary.
    You can find latest binary here : ftp://ftp.kolibrios.org/users/ashmew2/netsurf20170917
    Let me know if you run into errors.

    - ashmew2


    Below steps are for you if you want to build Netsurf on your own machine:

    Steps to get a usable Netsurf binary (On Linux) :

    Remove directory /opt/netsurf on your machine.
    Download nskbuild.sh and mkimg.sh to /tmp
    cd /tmp
    ./nskbuild.sh

    You should now have a netsurf binary at /opt/netsurf/kos32-gcc/env/bin/netsurf-kolibrios

    # To create a VirtualBox VDI (You need virtualbox installed)
    cd /tmp
    ./mkimg.sh

    This should create a VDI for you that you can use with virtualbox (Boot with kolibri.img and use this VDI).

    Once KolibriOS boots in VirtualBox:
    -- open BOARDLOG
    -- Find netsurf binary at : /hd0/1/netsurf-kolibrios

    Netsurf should load up.

    You can find nskbuild.sh here : http://source.netsurf-browser.org/netsu ... skolibrios
    mkimg.sh here : http://source.netsurf-browser.org/netsu ... skolibrios
    ---
    Check out the Netsurf Web Browser for KolibriOS.
    Read the wiki and happy hacking with KolibriOS!
  • Who is online

    Users browsing this forum: No registered users and 1 guest