Progress on porting Firefox

Once again, thanks, very interesting post.

I was looking also in parallel how QtCreator could be used to call the GDB debuger, so you answer perfectly to what I was looking for :slight_smile:

First debuging via QtCreator done (it takes time to first load, but that’s ok) :

8 Likes

It starts playing YouTube videos. No hardware video decoder available yet, but the playback itself is smooth enough.

Supported codecs:

But maybe without sound!

26 Likes

This is great news :slight_smile:

I was synchronizing with git with this update and I have now the below error when running again ./mach build :

0:04.27 browser/components/shell
 0:04.40 clang++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
 0:04.42 clang++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
 0:04.45 clang++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
 0:04.49 clang++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
 0:06.64 In file included from /boot/home/Documents/C/gecko-dev/browser/components/shell/nsGNOMEShellSearchProvider.cpp:8:
 0:06.64 In file included from /boot/home/Documents/C/gecko-dev/browser/components/shell/nsGNOMEShellSearchProvider.h:14:
 0:06.64 In file included from /boot/home/Documents/C/gecko-dev/obj-ff-dbg/dist/include/mozilla/GRefPtr.h:11:
 0:06.64 In file included from /boot/home/Documents/C/gecko-dev/obj-ff-dbg/dist/system_wrappers/gdk/gdk.h:3:
 0:06.65 In file included from /packages/gtk3-3.24.36-1/.self/develop/headers/gtk-3.0/gdk/gdk.h:32:
 0:06.65 In file included from /packages/gtk3-3.24.36-1/.self/develop/headers/gtk-3.0/gdk/gdkapplaunchcontext.h:30:
 0:06.65 In file included from /packages/gtk3-3.24.36-1/.self/develop/headers/gtk-3.0/gdk/gdktypes.h:35:
 0:06.66 /boot/home/Documents/C/gecko-dev/obj-ff-dbg/dist/system_wrappers/pango/pango.h:3:15: fatal error: 'pango/pango.h' file not found
 0:06.66     3 | #include_next <pango/pango.h>
 0:06.66       |               ^~~~~~~~~~~~~~~

This is strange because pango.h is already there :

find . -name pango.h

./obj-ff-dbg/dist/system_wrappers/pango/pango.h

An idea about the reason ?

EDIT : find the reason

build is searching for :
/packages/pango-1.54.0-1/.self/develop/headers/pango-1.0

while installed headers are in :
/packages/pango-1.54.0-2/.self/develop/headers/pango-1.0/

I think meanwhile the pango lib has been updated to this new version.

My question to everybody :

  • How to downgrade to pango-1.54.0-1 in Haiku ?
  • Or how I can asked to “mach” to update the path to pango-1.54.0-2 (except updating manually the files…) ?
1 Like

mach configure?

4 Likes

Yes indeed ! Quite simple, thanks :slight_smile:

Thank you for your porting efforts !..

Dear @KENZ,

Can I ask how new your HW did you use to test the browser with YT playback ?

I just ask as Falkon plays FHD quality flawlessly (when Falkon does not crash :smiley: :smiley: ) with my actual config
/ 3rd gen i7 Extreme Edition CPU, 32 GB RAM /,
so I’m intersted how it is … compared to your test config -

Thanks in advance for your reply !

Kind regards,

:cowboy_hat_face:

This is so cool, unbelievable

2 Likes

I may be way behind the times here, but attempting to run the latest release I get the XPCOM error. Checking the syslog, it appears to be missing the libplds4.so library which I assume should be in the release tarball, am I better off just building from source?

1 Like

The file libplds4.so is part of the nspr package which Firefox depends on.
Please check if you have nspr installed.

2 Likes

While I didnt have time to collect the required packages, but some testers report that. it may help you.

atk dbus dbus_glib ffmpeg gettext_libintl glib2 graphite2 harfbuzz libnotify libpng16 pango pciutils cairo gtk3 libevent libffi libjpeg_turbo libvpx libwebp nspr zlib

1 Like

Sorry I dont have time to check this now. My spare time is very limited at on my own desktop PC, and I dedicated almost all the time to hack firefox, today worked fixing audio with @3dEyes assist. I’m away from keyboard now to meet friend. I am mainly checking forum when I am not on my PC, so I dont intend to ignore you.

2 Likes

AMD Ryzen 5 5600G @ 3.89GHz, 96GB RAM

I test video playback 720p then, because its a debug non-optimized build, I didn’t try benchmarking but it seems to work some extent. Once audio part will be fixed, I will post new release build binary here, so then some testers will benchmark it.

8 Likes

:exploding_head:

3 Likes

Thanks for your reply -

I would also try out then - I had rebuilt my nightly version of Haiku meanwhile … and use it daily -

So you can count me among those testers :smiley:

:cowboy_hat_face:

36 Likes

Impressive! Kudos to all involved so far! :+1:
Still haven’t been able to try it out myself. :slight_smile:

Amazing work!

Absolutely stunning ! :tada: :tada: :tada:

This is really a great news !

If the stability is there, any help need to try to make a recipe from the GitHub depot of this port ?

1 Like

Isn’t there still the branding issue of using the name “firefox” for the port. Mozilla is weird.