helloSystem / Utilities

Utilities written in PyQt5, meant for use with helloSystem
BSD 2-Clause "Simplified" License
28 stars 29 forks source link

Add Palemoon browser #183

Closed louies0623 closed 1 year ago

louies0623 commented 1 year ago

Although there is Firefox available, but its interface and CPU power consumption are too bloated, and an easy-to-use and light browser is needed.

probonopd commented 1 year ago

Looks like the build is broken:

https://www.freshports.org/www/palemoon/

Users-Laptop% sudo pkg install palemoon
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'palemoon' have been found in the repositories

But https://portsfallout.com/fallout?port=www%2Fpalemoon%24 doesn't say why.

Usually @grahamperrin is good in finding these things out.

grahamperrin commented 1 year ago

Using package build records at pkg-status.freebsd.org

probonopd commented 1 year ago

Thanks @grahamperrin but it doesn't seem to find anything for palemoon:

image

grahamperrin commented 1 year ago

From the guide:

  1. in the Search field, enter the name of a jail

palemoon is not the name of a jail.

If, for example, you want a jail that relates to FreeBSD 13⋯, then your first two keystrokes can be:

13

probonopd commented 1 year ago

Got it. Even when following the instructions to the letter, I can't seem to find information on palemoon (presumably because there is no way to search across all builds on all builders)?

grahamperrin commented 1 year ago

A port-specific search across all would not yield meaningful results.

What's the name of the jail?

probonopd commented 1 year ago

I am looking for the reason why palemoon packages have not been built for almost all architectures and versions: https://www.freshports.org/www/palemoon

So, almost all jails (except FreeBSD:11:aarch64 and FreeBSD:12:aarch64).

grahamperrin commented 1 year ago

Please name a single jail. The one that's of most interest.

Working through a focused example should help you, and other readers, to work through things in the future.


https://www.freshports.org/www/palemoon

@louies0623 please observe the second line of the details:

image

Pictured on the tombstone, the letters RIPrest in peace (requiescat in pace). See:

probonopd commented 1 year ago

image

Oh wow. If the port has been deleted, this bears two questions:

grahamperrin commented 1 year ago

With FreeBSD's search service, you can't tell whether a port existed before deletion:

  • Why is there still a page on FreshPorts for it?

Information – including whether a port is deleted.

Occasionally, a port is revived. security/pam_fprint, for example:

  1. at the beginning of the second line, click the version number to reveal history in reverse chronological order
  2. uppermost, at the time of writing, is the revival
  3. the preceding commit (below) was the removal.
grahamperrin commented 1 year ago

What was the reason for deletion?

At https://www.freshports.org/www/palemoon, click the version number to reveal the history.

This case is extraordinary.

Relevant information is within the bug report (251117) that is linked from within the first of the two commit messages that were logged on 15 Feb 2021. For convenience:

probonopd commented 1 year ago

@louies0623 looking at that, it seems unlikely that Palemoon will be available for FreeBSD soon. Hence closing.

Thanks @grahamperrin for helping find the history.

louies0623 commented 1 year ago

Thank you for your hard work. I may be too naive, but this is my idea. Using Appimage as the main source of downloading applications (sideloading) from the Internet means that all the software installed on the menu are appimage executable files, which will save a lot of adding Time to newly install software.

probonopd commented 1 year ago

Maybe there will be a Palemoon AppImage one day that can run on FreeBSD. It sure would be nice to have.

louies0623 commented 1 year ago

Maybe we need a converter something like Wine to execute Linux appimage on BSD. Maby this can help you. https://www.reddit.com/r/freebsd/comments/ncv9tt/freebsd_can_running_appimages_via_linux_abi/

probonopd commented 1 year ago

Yes, that is how we are running AppImages on FreeBSD: Using the Linuxulator.

grahamperrin commented 1 year ago

https://github.com/helloSystem/Utilities/issues/183#issue-1815786407 @louies0623 were you aware of Pale Moon for FreeBSD?

Pale Moon downloads

probonopd commented 1 year ago

Both the Gtk2 and Gtk3 versions work nicely for me:

image

Personally, I always like it when one can download binaries directly from the author without having to wait until (old versions of) applications land in package repositories.

This would be a good candidate to be turned into a Palemoon.app bundle. Should be rather easy to do!

Unfortunately it seems like it doesn't support the global menu. Maybe a feature request could be opened for it.

louies0623 commented 1 year ago

#183 (comment) @louies0623 were you aware of Pale Moon for FreeBSD?

Pale Moon downloads

  • two betas.

I know, just the appimage source will have a new version sooner than waiting until there is a BSD version.

probonopd commented 1 year ago

Unfortunately it seems like it doesn't support the global menu. Maybe a feature request could be opened for it.

Actually it is there, but it is not enabled by default - for whatever reason.

So, to enable it, go to about:config, search for ui.use_global_menubar and set it to true.

Works instantly:

image

probonopd commented 1 year ago

Now, this is a serious bummer. I need

image

probonopd commented 1 year ago

I know, just the appimage source will have a new version sooner than waiting until there is a BSD version.

The FreeBSD version from the Pale Moon website is the very latest version:

image

louies0623 commented 1 year ago

Use uBlock Origin Legacy

Because Pelamoon is an old Firefox branch, it will not support new Firefox plug-ins.

Edit: wrong link

probonopd commented 1 year ago

Found this https://addons.palemoon.org/extensions/

But there is no https://github.com/ajayyy/SponsorBlock/ for it ;-(

louies0623 commented 1 year ago

Please use uBlock Origin Legacy It's worked for me so far.

louies0623 commented 1 year ago

Then curious to ask, is Linuxulator attached to the Hello system?

probonopd commented 1 year ago

Linuxulator comes with FreeBSD and is in helloSystem. But it is not needed to run Pale Moon, since they provide a FreeBSD version.