Bug 258503 - [NEW PORT] www/librewolf: Web browser based on the browser portion of Mozilla
Summary: [NEW PORT] www/librewolf: Web browser based on the browser portion of Mozilla
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jesper Schmitz Mouridsen
URL: https://librewolf-community.gitlab.io/
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-14 15:49 UTC by Martin Filla
Modified: 2023-02-13 00:21 UTC (History)
13 users (show)

See Also:


Attachments
librewolf.shar.zip (66.77 KB, application/zip)
2021-09-14 15:56 UTC, Martin Filla
no flags Details
librewolf.shar.zip (69.82 KB, application/zip)
2021-09-26 12:20 UTC, Martin Filla
no flags Details
librewolf.shar.zip (70.31 KB, application/zip)
2021-09-26 18:07 UTC, Martin Filla
no flags Details
librewolf.shar.zip (57.39 KB, application/zip)
2022-04-08 13:36 UTC, Martin Filla
no flags Details
librewolf.shar.zip (57.97 KB, application/zip)
2022-04-08 15:34 UTC, Martin Filla
no flags Details
librewolf (810.39 KB, application/x-shellscript)
2022-06-06 20:42 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (84.84 KB, application/gzip)
2022-11-08 19:36 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (87.98 KB, application/gzip)
2022-11-08 19:58 UTC, Martin Filla
no flags Details
Uses upstream tarball, builds in poudriere 13.1 amd64 (6.64 KB, text/plain)
2022-11-19 14:39 UTC, Jesper Schmitz Mouridsen
no flags Details
new port www/librewolf (5.20 KB, text/plain)
2022-11-27 12:59 UTC, Jesper Schmitz Mouridsen
jsm: maintainer-approval? (freebsd)
Details
librewolf.shar (65.06 KB, text/plain)
2022-12-22 16:40 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (98.44 KB, application/gzip)
2022-12-26 19:17 UTC, Martin Filla
no flags Details
librewolf.shar (98.19 KB, application/gzip)
2023-01-14 17:45 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (97.89 KB, application/gzip)
2023-01-17 06:50 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (97.86 KB, application/gzip)
2023-01-19 15:25 UTC, Martin Filla
no flags Details
librewolf.shar.tar.gz (97.88 KB, application/gzip)
2023-01-19 15:42 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2021-09-14 15:49:32 UTC

    
Comment 1 Martin Filla 2021-09-14 15:56:01 UTC
Created attachment 227901 [details]
librewolf.shar.zip
Comment 4 Martin Filla 2021-09-26 12:20:13 UTC
Created attachment 228195 [details]
librewolf.shar.zip
Comment 5 Martin Filla 2021-09-26 18:07:46 UTC
Created attachment 228199 [details]
librewolf.shar.zip
Comment 6 George 2021-11-08 06:16:20 UTC
Good day!

At what state that port now? Is it exists actual versionof librewolf, and what moments prevents to include it to freebsd ports?
Comment 7 Hunter Ellett 2022-02-24 17:29:50 UTC
Hello,

As George has said months ago, are there any updates on this?
Comment 8 Martin Filla 2022-02-24 18:43:02 UTC
(In reply to Hunter Ellett from comment #7)
I have not next updates for librewolf(In reply to Hunter Ellett from comment #7)
Comment 9 Hunter Ellett 2022-03-06 16:07:35 UTC
(In reply to Martin Filla from comment #8)

What a shame.
Comment 10 Martin Filla 2022-04-08 13:36:48 UTC
Created attachment 233062 [details]
librewolf.shar.zip

So i am upgraded to firefox 99.0
Comment 11 Martin Filla 2022-04-08 15:34:19 UTC
Created attachment 233064 [details]
librewolf.shar.zip

I fixed configuration crash, we can test
Comment 12 malavon 2022-04-18 10:47:04 UTC
These are going to be odd questions, but why:
- is this port's name firefox (PORTNAME=firefox)?
- does it download firefox sources instead of librefox sources?
- does it change branding? (--with-branding=browser/branding/librewolf)

Librewolf isn't just a different theme or branding, it has a different source code repository. Source can be downloaded from https://gitlab.com/librewolf-community/browser/source/-/releases. 
Building instructions for librefox can be found on there as well: https://gitlab.com/librewolf-community/browser/source/-/tree/main.
Comment 13 Martin Filla 2022-06-06 20:42:57 UTC
Created attachment 234497 [details]
librewolf

small update
Comment 14 Martin Filla 2022-06-06 21:03:32 UTC
(In reply to malavon from comment #12)

LibreWolf is fork firefox source code with patches 
Source code donwload from mozzila _SOURCE_CODE_URL="https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz";
They have scripts i have Makefile
Patches are in Makefile as extra-patches
Comment 15 Sam 2022-06-16 09:29:31 UTC
Recently LibreWolf has become the only browser to pass all privacy tests (https://privacytests.org/). This makes it quite important to privacy-concerned FreeBSD users.
Comment 16 Martin Filla 2022-11-08 19:36:06 UTC
Created attachment 237953 [details]
librewolf.shar.tar.gz

bump to 106.0.5
Comment 17 Martin Filla 2022-11-08 19:58:33 UTC
Created attachment 237954 [details]
librewolf.shar.tar.gz
Comment 18 Jesper Schmitz Mouridsen freebsd_committer freebsd_triage 2022-11-18 22:55:48 UTC
(In reply to Martin Filla from comment #17)
Giving your work a try in poudriere, thanks.
Comment 19 Jesper Schmitz Mouridsen freebsd_committer freebsd_triage 2022-11-19 14:39:32 UTC
Created attachment 238179 [details]
Uses upstream tarball, builds in poudriere 13.1 amd64

I looked at your work, and modified to use https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/107.0-1/librewolf-107.0-1.source.tar.gz as distfile. Otherwise it also adds the unitymenu patch for use in plasma and other dbus menus. I have still set freebsd@sysctl.cz as maintainer. So any comments?
Comment 20 Martin Filla 2022-11-19 17:30:48 UTC
(In reply to Jesper Schmitz Mouridsen from comment #19)
good job
Comment 21 Graham Perrin freebsd_committer freebsd_triage 2022-11-20 07:18:01 UTC
Cross-reference: 

<https://gitlab.com/librewolf-community/browser/source/-/issues/75>

> support to freebsd (#75) · Issues · LibreWolf / Browser / Source · GitLab
Comment 22 Jesper Schmitz Mouridsen freebsd_committer freebsd_triage 2022-11-27 12:59:41 UTC
Created attachment 238365 [details]
new port www/librewolf

Only changes since 238179: Changed comment and WWW added options and tested on aarch64.
Comment 23 Martin Filla 2022-12-22 16:40:34 UTC
Created attachment 238974 [details]
librewolf.shar

bump to 108 with patches
Comment 24 Martin Filla 2022-12-26 19:17:37 UTC
Created attachment 239039 [details]
librewolf.shar.tar.gz

Added patches from firefox. You can test librewolf
Comment 25 Martin Filla 2023-01-14 17:45:04 UTC
Created attachment 239471 [details]
librewolf.shar

Added next patch
Comment 26 Martin Filla 2023-01-17 06:50:25 UTC
Created attachment 239528 [details]
librewolf.shar.tar.gz

Fix .desktop file
Comment 27 Martin Filla 2023-01-19 15:25:38 UTC
Created attachment 239592 [details]
librewolf.shar.tar.gz

Removed unnecessary includes
Comment 28 Martin Filla 2023-01-19 15:42:59 UTC
Created attachment 239593 [details]
librewolf.shar.tar.gz

Fixed include
Comment 29 commit-hook freebsd_committer freebsd_triage 2023-01-21 18:35:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e77dee79c17245e0c3b4b98af5a718ed2c5eb81

commit 4e77dee79c17245e0c3b4b98af5a718ed2c5eb81
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2023-01-19 18:52:57 +0000
Commit:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
CommitDate: 2023-01-21 18:34:48 +0000

    www/librewolf: New port

    PR:     258503

 www/Makefile                                       |     1 +
 www/librewolf/Makefile (new)                       |    99 +
 www/librewolf/distinfo (new)                       |     5 +
 www/librewolf/files/RustTabs.jsm (new)             |  1181 +
 .../files/UniFFIGeneratedScaffolding.cpp (new)     |   283 +
 www/librewolf/files/patch-addon-search (new)       |    53 +
 .../files/patch-browser-app-nsBrowserApp.cpp (new) |    14 +
 .../files/patch-bug1269654_comment5 (new)          |    43 +
 .../files/patch-bug1504834_comment10 (new)         |    36 +
 .../files/patch-bug1504834_comment5 (new)          |    85 +
 .../files/patch-bug1504834_comment9 (new)          |    49 +
 www/librewolf/files/patch-bug1559213 (new)         |   123 +
 .../files/patch-bug1612181_comment1 (new)          |   191 +
 www/librewolf/files/patch-bug1626236 (new)         |    92 +
 www/librewolf/files/patch-bug1628567 (new)         |    32 +
 www/librewolf/files/patch-bug1640982 (new)         |    17 +
 www/librewolf/files/patch-bug1659612 (new)         |    35 +
 www/librewolf/files/patch-bug1680982 (new)         |   388 +
 www/librewolf/files/patch-bug1716707 (new)         |    56 +
 www/librewolf/files/patch-bug847568 (new)          |   292 +
 .../patch-dom_media_flac_FlacDecoder.cpp (new)     |    23 +
 www/librewolf/files/patch-env-api-keys (new)       |    21 +
 .../patch-gfx_skia_skia_src_core_SkCpu.cpp (new)   |    32 +
 .../files/patch-i386-protobuf-alignment (new)      |    15 +
 .../files/patch-libwebrtc-generated (new)          | 89350 +++++++++++++++++++
 .../files/patch-libwebrtc-powerpc64 (new)          |   264 +
 .../files/patch-memory_mozalloc_throw__gcc.h (new) |    69 +
 www/librewolf/files/patch-pipewire_init (new)      |   120 +
 ...python_mozbuild_mozbuild_gn__processor.py (new) |    39 +
 ...rty_libwebrtc_build_config_BUILDCONFIG.gn (new) |    37 +
 ..._party_libwebrtc_rtc__base_ip__address.cc (new) |    23 +
 ..._libwebrtc_third__party_pffft_src_pffft.c (new) |    10 +
 .../patch-third__party_sqlite3_src_moz.build (new) |    12 +
 .../patch-tools_profiler_core_patform.cpp (new)    |    51 +
 www/librewolf/pkg-descr (new)                      |    13 +
 www/librewolf/pkg-message (new)                    |    50 +
 36 files changed, 93204 insertions(+)
Comment 30 Jesper Schmitz Mouridsen freebsd_committer freebsd_triage 2023-01-21 18:41:59 UTC
Commited with minor change in options include.
Thanks.
Comment 31 Vladimir Druzenko freebsd_committer freebsd_triage 2023-01-21 22:15:27 UTC
Thanks!
Good replacement for waterfox.
BTW, librewolf 109 released.
Comment 32 Vladimir Druzenko freebsd_committer freebsd_triage 2023-01-22 02:02:37 UTC
www/librewolf/pkg-descr have incorrect "WWW:" record.
Comment 34 commit-hook freebsd_committer freebsd_triage 2023-01-22 09:49:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c77895ce404a1b588f6fd53a8877716c70efb31c

commit c77895ce404a1b588f6fd53a8877716c70efb31c
Author:     Graham Perrin <grahamperrin@FreeBSD.org>
AuthorDate: 2023-01-22 09:43:36 +0000
Commit:     Graham Perrin <grahamperrin@FreeBSD.org>
CommitDate: 2023-01-22 09:43:36 +0000

    www/librewolf: correct the package description

    WWW within Makefile is correct.

    Remove the WWW line (with a different URL) from pkg-descr.

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258503#c32

    PR:          258503
    Reported by: VVD at comment 32
    Fixes:       4e77dee79c17 www/librewolf: New port

 www/librewolf/pkg-descr | 2 --
 1 file changed, 2 deletions(-)
Comment 35 Graham Perrin freebsd_committer freebsd_triage 2023-01-22 10:30:39 UTC
(In reply to VVD from comment #31)

I assume that portscout will make the maintainer aware of future updates. 

<https://portscout.freebsd.org/freebsd@sysctl.cz.html>

----

Re: comment #3 and comment #21, both issues in GitLab are updated. 

Thanks, everyone :-)
Comment 36 bsduck 2023-02-13 00:21:07 UTC
That's a nice addition to the ports collection, thank you Martin!