Author Topic: otter-browser, Qt5 build  (Read 18527 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #15 on: December 30, 2024, 12:13:43 am »
Latest build of the otter-browser attached. Seems someone is just doing code cleanup at the rate of about a commit a day.
Putting this in your environment makes the browser much more stable, just sad it is still alpha quality. Even copy and paste seems somewhat broken.
Code: [Select]
set QTWEBENGINE_CHROMIUM_FLAGS="--single-process" otter-browser.exe
See the cmd file in the package.
Edit: This also has the Window Title fix enabled, need the updated Qt5 libs
« Last Edit: December 30, 2024, 12:17:19 am by Dave Yeo »

Eugene Tucker

  • Sr. Member
  • ****
  • Posts: 409
  • Karma: +16/-0
    • View Profile
Re: otter-browser, Qt5 build
« Reply #16 on: December 30, 2024, 01:54:08 am »
Not a lot of people working on it I guess. Or it is too hard for those involved.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2512
  • Karma: +190/-0
    • View Profile
Re: otter-browser, Qt5 build
« Reply #17 on: December 30, 2024, 02:16:35 am »
Not a lot of people working on it I guess. Or it is too hard for those involved.

Sounds a bit like the current state of qt6 on OS/2

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #18 on: January 28, 2025, 01:34:48 am »
Today's build of otter-browser gives this in the console window, (hadn't tried a build for a while)
Quote
[2099:7:0127/162231.578000:FATAL:nss_util.cc(155)] NSS_VersionCheck("3.26") fail
ed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still
get this error, contact your distribution maintainer.

Killed by SIGABRT
pid=0x0833 ppid=0x0832 tid=0x0007 slot=0x00e6 pri=0x0200 mc=0x0001 ps=0x0010
K:\WORK\OTTER-BROWSER\BUILD\OTTER-BROWSER.EXE
Creating 0833_07.TRP
Moved 0833_07.TRP to W:\var\log\app\6797b2c9-0833_07-OTTER-BROWSER-exceptq.txt

Guess time to update NSS/NSPR.
Edit: Actually I have NSS 3.47/NSPR-4.23.0 installed and restarting otter-browser worked fine.
And then failed opening a HTTPS site.
« Last Edit: January 28, 2025, 01:40:08 am by Dave Yeo »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #19 on: January 28, 2025, 07:17:34 am »
Doing a full rebuild fixed the NSS issue. I switched to Paul's latest cmake, possible mixing them was the problem. I notice this build is slower and tabs keep spinning like they haven't loaded. Whether due to changes upstream or cmake, I don't know.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2512
  • Karma: +190/-0
    • View Profile
Re: otter-browser, Qt5 build
« Reply #20 on: January 28, 2025, 08:52:59 am »
Doing a full rebuild fixed the NSS issue. I switched to Paul's latest cmake, possible mixing them was the problem. I notice this build is slower and tabs keep spinning like they haven't loaded. Whether due to changes upstream or cmake, I don't know.
Pretty hard to understand how changing cmake could make the build slower. Easy enough to confirm my backlevelling cmake.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #21 on: January 28, 2025, 06:07:55 pm »
Doing a full rebuild fixed the NSS issue. I switched to Paul's latest cmake, possible mixing them was the problem. I notice this build is slower and tabs keep spinning like they haven't loaded. Whether due to changes upstream or cmake, I don't know.
Pretty hard to understand how changing cmake could make the build slower. Easy enough to confirm my backlevelling cmake.

Yes, it is not cmake. Have to try to find what changed. There's about a commit a day from upstream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: otter-browser, Qt5 build
« Reply #22 on: March 30, 2025, 06:45:34 pm »
Hello Dave

Will it be ok if I upload Otter-Browser to Hobbes? I had repackaged it this way, with a little and very quick .txt file. What do you think?

Regards
« Last Edit: March 30, 2025, 06:48:37 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #23 on: March 30, 2025, 07:23:35 pm »
Hi Martin, wait a little bit while I try to update and build the latest.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #24 on: March 30, 2025, 07:41:37 pm »
Hi Martin, wait a little bit while I try to update and build the latest.

Hmm, latest is crashing. Might be a while to figure out why so you might as well upload the version you packaged. Can always update later.
Actually first you should add a link to https://github.com/OtterBrowser/otter-browser where the source resides to otter-browser.txt. Guess I should fork that repository and keep better track of which commit I'm building from :)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: otter-browser, Qt5 build
« Reply #25 on: April 14, 2025, 04:49:35 pm »
Hello Dave

I added the link and uploaded the file. Later we can replace it if the new version compiles.

Quote
Guess I should fork that repository and keep better track of which commit I'm building from :)

I always prefer for the every OS/2 software ported to have it's own fork, because I can learn from the OS/2 make file :)

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5355
  • Karma: +127/-1
    • View Profile
Re: otter-browser, Qt5 build
« Reply #26 on: April 14, 2025, 06:14:01 pm »
I did find the cause of the crash, after restoring from a backup, forgot to update libc/libcx. Hasn't really been any notable commits so haven't bothered to upload a new build yet.
I have only made a couple of small changes. if you want you can try building it as there is no makefile that I make.
Clone it, mkdir build, cd build, cmake .. then make.