My progress at porting Ladybird, the SerenityOS Browser

After the recent interest for Ladybird here in the forum,I tried building the latest version from the SerenityOS project once again.
It’s been quite a while and there are some additional small patches required to get it working again.
Here’s my latest patchset to make Ladybird from SerenityOS work on Haiku: https://upload.odirf.de/file/BCsU6KVjcU15.patch
Also note that GCC 13 isn’t recent enough anymore for it to build,but I had success with Clang 21.
You need to change the cmake command to tell it to use clang:
cmake -GNinja -S Ladybird -B Build/ladybird -DCMAKE_C_COMPILER=/bin/clang -DCMAKE_CXX_COMPILER=/bin/clang++
After that,it’s working with the same quality as it previously did (not super stable,some crashes,and not all websites are working excellently).

I didn’t give the new Ladybird from the now separate project another try,as I never had success with it on Haiku.

5 Likes