Bug 278921 - [NEW PORT] www/mercury: Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat.
Summary: [NEW PORT] www/mercury: Firefox fork with compiler optimizations and patches ...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vladimir Druzenko
URL: https://github.com/Alex313031/Mercury...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-11 21:49 UTC by Martin Filla
Modified: 2024-08-11 19:46 UTC (History)
3 users (show)

See Also:


Attachments
mercury-browser.diff.tar,gz (100.35 KB, application/gzip)
2024-05-11 21:50 UTC, Martin Filla
no flags Details
0001-www-mercury-new-port.patch.tar.gz (101.48 KB, application/gzip)
2024-06-30 09:01 UTC, Martin Filla
freebsd: maintainer-approval+
Details
0001-www-mercury-new-port.patch.tar.gz (101.59 KB, application/gzip)
2024-07-13 11:17 UTC, Martin Filla
freebsd: maintainer-approval+
Details
mercury.tar.gz (98.78 KB, application/gzip)
2024-07-15 19:06 UTC, Martin Filla
no flags Details
mercury.zip (109.12 KB, application/zip)
2024-08-10 11:24 UTC, Martin Filla
freebsd: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2024-05-11 21:49:36 UTC
Hi,
this new port mercury. Poudriere is ok.

https://thorium.rocks/mercury
===========================================================================
=>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libX11-xcb.so.1]
 0x0000000000000001 NEEDED               Shared library: [libX11.so.6]
 0x0000000000000001 NEEDED               Shared library: [libXcomposite.so.1]
 0x0000000000000001 NEEDED               Shared library: [libXdamage.so.1]
 0x0000000000000001 NEEDED               Shared library: [libXext.so.6]
 0x0000000000000001 NEEDED               Shared library: [libXfixes.so.3]
 0x0000000000000001 NEEDED               Shared library: [libXrandr.so.2]
 0x0000000000000001 NEEDED               Shared library: [libaom.so.3]
 0x0000000000000001 NEEDED               Shared library: [libatk-1.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libc++.so.1]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: [libcairo-gobject.so.2]
 0x0000000000000001 NEEDED               Shared library: [libcairo.so.2]
 0x0000000000000001 NEEDED               Shared library: [libcxxrt.so.1]
 0x0000000000000001 NEEDED               Shared library: [libdav1d.so.7]
 0x0000000000000001 NEEDED               Shared library: [libdl.so.1]
 0x0000000000000001 NEEDED               Shared library: [libevent-2.1.so.7]
 0x0000000000000001 NEEDED               Shared library: [libffi.so.8]
 0x0000000000000001 NEEDED               Shared library: [libfontconfig.so.1]
 0x0000000000000001 NEEDED               Shared library: [libfreetype.so.6]
 0x0000000000000001 NEEDED               Shared library: [libgcc_s.so.1]
 0x0000000000000001 NEEDED               Shared library: [libgdk-3.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgio-2.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgkcodecs.so]
 0x0000000000000001 NEEDED               Shared library: [libglib-2.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgtk-3.so.0]
 0x0000000000000001 NEEDED               Shared library: [libharfbuzz.so.0]
 0x0000000000000001 NEEDED               Shared library: [libicui18n.so.74]
 0x0000000000000001 NEEDED               Shared library: [libicuuc.so.74]
 0x0000000000000001 NEEDED               Shared library: [liblgpllibs.so]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libmozavutil.so]
 0x0000000000000001 NEEDED               Shared library: [libmozgtk.so]
 0x0000000000000001 NEEDED               Shared library: [libmozsqlite3.so]
 0x0000000000000001 NEEDED               Shared library: [libmozwayland.so]
 0x0000000000000001 NEEDED               Shared library: [libnspr4.so]
 0x0000000000000001 NEEDED               Shared library: [libnss3.so]
 0x0000000000000001 NEEDED               Shared library: [libnssutil3.so]
 0x0000000000000001 NEEDED               Shared library: [libpango-1.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libpixman-1.so.0]
 0x0000000000000001 NEEDED               Shared library: [libplc4.so]
 0x0000000000000001 NEEDED               Shared library: [libpng16.so.16]
 0x0000000000000001 NEEDED               Shared library: [libsmime3.so]
 0x0000000000000001 NEEDED               Shared library: [libssl3.so]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libutil.so.9]
 0x0000000000000001 NEEDED               Shared library: [libvpx.so.9]
 0x0000000000000001 NEEDED               Shared library: [libwebp.so.7]
 0x0000000000000001 NEEDED               Shared library: [libwebpdemux.so.2]
 0x0000000000000001 NEEDED               Shared library: [libxcb-shm.so.0]
 0x0000000000000001 NEEDED               Shared library: [libxcb.so.1]
 0x0000000000000001 NEEDED               Shared library: [libz.so.6]
=======================<phase: deinstall      >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===>  Deinstalling for Mercury
===>   Deinstalling Mercury-v.123.0.1
Updating database digests format: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	Mercury: v.123.0.1

Number of packages to be removed: 1

The operation will free 238 MiB.
[freebsd132x64-default] [1/1] Deinstalling Mercury-v.123.0.1...
[freebsd132x64-default] [1/1] Deleting files for Mercury-v.123.0.1: .......... done
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
===========================================================================
=>> Checking for extra files and directories
[01:04:36] Installing from package
[freebsd132x64-default] Installing Mercury-v.123.0.1...
[freebsd132x64-default] Extracting Mercury-v.123.0.1: .......... done
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
=====
Message from Mercury-v.123.0.1:

--
## Missing features

Some features found on Windows, macOS and Linux are not implemented:

- Encrypted Media Extensions (requires Widevine CDM binary)
- Process sandboxing (requires Capsicum backend)
- Reduced memory usage (requires mozjemalloc)
- Crash Reporter (requires Google Breakpad and reproducible builds)
- WebVR (requires open source runtime)
- TCP fast open
- `about:networking` (requires link state notification)

## Audio backend

Currently used audio backend can be inspected on `about:support` page.
Supported backends and default probing order is as follows:
- `pulse-rust` if `pulseaudio` package is installed (PULSEAUDIO option)
- `jack` if `jackit` package is installed (JACK option)
- `sndio` if `sndio` package is installed (SNDIO option)
- `alsa` if `alsa-lib` package is installed (ALSA option)
- `oss` (always available)
To force a specific backend open `about:config` page and create
`media.cubeb.backend` preference.

Microphone selection only works in `oss`, `pulse`, `pulse-rust` backends.
Other backends are limited to `default` which is usually `/dev/dsp`,
so use virtual_oss to reroute microphones from non-default devices.

## Gamepad API

Requires evdev(4) joystick support. On FreeBSD 13.0 enable hgame(4)
while older versions can use sysutils/iichid or multimedia/webcamd.

## smb:// issues
Network group, machine, and share browsing does not work correctly.

## sftp://
Only sftp access using public key authentication works. To easily
setup public key authentication to `remote_host`:

    $ ssh-keygen
    $ cat ~/.ssh/id_rsa.pub | ssh remote_host "cat >> .ssh/authorized_keys"

The SSH server on `remote_host` must allow pub key authentication.
[01:04:40] Cleaning up
===>  Cleaning for Mercury-v.123.0.1
[01:04:54] Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	Mercury: v.123.0.1

Number of packages to be removed: 1

The operation will free 238 MiB.
[freebsd132x64-default] [1/1] Deinstalling Mercury-v.123.0.1...
[freebsd132x64-default] [1/1] Deleting files for Mercury-v.123.0.1: .......... done
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
Comment 1 Martin Filla 2024-05-11 21:50:46 UTC
Created attachment 250590 [details]
mercury-browser.diff.tar,gz
Comment 2 Martin Filla 2024-06-30 09:01:46 UTC
Created attachment 251792 [details]
0001-www-mercury-new-port.patch.tar.gz
Comment 3 Martin Filla 2024-07-13 11:17:33 UTC
Created attachment 252012 [details]
0001-www-mercury-new-port.patch.tar.gz

I updated patch
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-15 19:02:16 UTC
Attach plz port as tar.gz.
Comment 5 Martin Filla 2024-07-15 19:06:59 UTC
Created attachment 252087 [details]
mercury.tar.gz

I added archive with mercury
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-25 19:04:45 UTC
Make Makefile look same as www/librewolf as much as possible.
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-10 01:17:09 UTC
ping
Comment 8 Martin Filla 2024-08-10 11:24:16 UTC
Created attachment 252650 [details]
mercury.zip

I did it as about librewolf
Comment 9 Daniel Engberg freebsd_committer freebsd_triage 2024-08-11 06:52:44 UTC
Can we stop adding forks of Firefox that aren't kept up to date and are very heavy to build just to mention a few issues?

https://portscout.freebsd.org/freebsd@sysctl.cz.html
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-11 19:46:45 UTC
The reporter decided to abandon the idea of ​​creating a port.