msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.21k forks source link

otter-browser #6122

Open asctime opened 4 years ago

asctime commented 4 years ago

Suggesting we offer the world a truly alternative PC browser that could even one day become a standard (a long way from that although when rn can't even click edit my post). The browser already compiles with MinGW and offers a functional qtwebkit target. Caveat: qtwebkit struggles with compilers newer than 9.x?

Alexpux commented 4 years ago

@spl1inter Im upload rebuilded qtwebkit. So you can try to add package

stahta01 commented 4 years ago

@spl1inter: I have submitted an PR on this. #6517

Tim S.

stahta01 commented 4 years ago

@spl1inter and others: Do you think this package should be a git package or one that build the latest official release? I am starting to think a git master branch package would be better while this software is this much like an beta level project.

Tim S.

asctime commented 1 year ago

Sorry I didn't see this.. Update: the latest Otter-browser is very good, IMO. YouTube and many Javascript-heavy sites work almost as well as in Firefox. I am really surprised. But to really make it work we need to update qtwebkit PKGBUILD:

-G"MinGW Makefiles" \
-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
-DCMAKE_MAKE_PROGARME=mingw32-make \
-DCMAKE_BUILD_TYPE=Release \
-DPORT=Qt \
-DUSE_QT_MULTIMEDIA=ON \
-DSEPARATE_DEBUG_INFO=ON \
-DENABLE_CREDENTIAL_STORAGE=ON \
-DENABLE_CSS3_TEXT=ON \
-DENABLE_CSS3_TEXT_LINE_BREAK=ON \
-DENABLE_CSS_BOX_DECORATION_BREAK=ON \
-DENABLE_CSS3_BOX_DECORATION_BREAK=ON \
-DENABLE_CSS_IMAGE_ORIENTATION=ON \
-DENABLE_CSS_IMAGE_RESOLUTION=ON \
-DENABLE_ENCRYPTED_MEDIA=ON \
-DENABLE_INPUT_TYPE_DATE=ON \
-DENABLE_INPUT_TYPE_DATETIME_LOCAL=ON \
-DENABLE_INPUT_TYPE_MONTH=ON \
-DENABLE_INPUT_TYPE_TIME=ON \
-DENABLE_INPUT_TYPE_WEEK=ON \
-DENABLE_MEDIA_SOURCE=ON \
-DENABLE_WEB_ASSEMBLY=ON \
-DENABLE_WEB_ANIMATIONS=ON \
-DENABLE_THREADED_COMPOSITOR=ON \
${jit_opt} \
...

The most important enhancement is turning on the threaded compositor -> it is almost impossible to load modern websites without this :D Are we still interested in this?

EDIT: Oh I almost forgot to mention, a lot of QT/CMAKE type packages build with far less problems, for me anyway, if you use MinGW-makefile/mingw32-make instead of posix make. But for some reason the MSYS perl still gives better results. Just an observation to explain the different Makefile type I use.