0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-21 21:23:08 -05:00
LibreWolf - Source Archive
Find a file
Malte Jürgens 357e4d94b9
Use LibreWolf-specific translations
See https://codeberg.org/librewolf/issues/issues/2043

Squashed commit of the following:

commit 81aac91633
Author: Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org>
Date:   Tue Oct 8 09:34:25 2024 +0000

    Translated using Weblate (Finnish)

    Currently translated at 100.0% (3 of 3 strings)

    Translation: LibreWolf/browser/translations
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browsertranslations/fi/

commit c6aee11b4e
Author: Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org>
Date:   Tue Oct 8 09:37:09 2024 +0000

    Translated using Weblate (Finnish)

    Currently translated at 100.0% (7 of 7 strings)

    Translation: LibreWolf/toolkit/branding/brandings
    Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/fi/

commit c18e4cdd0e
Author: Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org>
Date:   Tue Oct 8 09:32:12 2024 +0000

    Added translation using Weblate (Finnish)

commit 20ea70ee26
Author: Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org>
Date:   Tue Oct 8 09:31:49 2024 +0000

    Added translation using Weblate (Finnish)

commit c98722de01
Author: Benny <Benny@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 19:23:30 2024 +0000

    Translated using Weblate (German)

    Currently translated at 14.0% (7 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/

commit 9ba6e88056
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 17:49:12 2024 +0200

    Fix l10n paths

commit cae2630523
Author: maltejur <maltejur@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 14:14:05 2024 +0000

    Translated using Weblate (German)

    Currently translated at 100.0% (7 of 7 strings)

    Translation: LibreWolf/toolkit/branding/brandings
    Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/de/

commit 6e91dfdec2
Author: maltejur <maltejur@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 14:12:08 2024 +0000

    Translated using Weblate (German)

    Currently translated at 28.5% (2 of 7 strings)

    Translation: LibreWolf/toolkit/branding/brandings
    Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/de/

commit 5230f7b9d6
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 16:13:13 2024 +0200

    Rename Firefox View

commit 1f74c5cf99
Author: maltejur <maltejur@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 14:11:46 2024 +0000

    Added translation using Weblate (German)

commit 65017ab267
Author: diivu <diivu@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 07:29:07 2024 +0000

    Translated using Weblate (Finnish)

    Currently translated at 88.0% (44 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/fi/

commit da88f487ac
Author: Benny <Benny@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 12:44:06 2024 +0000

    Translated using Weblate (German)

    Currently translated at 12.0% (6 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/

commit 8cc562f87a
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 15:58:48 2024 +0200

    Fix l10n folder structure

commit a287b0ff64
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 15:25:49 2024 +0200

    Move some patches to brandings.ftl

commit 66263ed412
Merge: 0aaa908 0fb44c4
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 14:37:18 2024 +0200

    Merge remote-tracking branch 'origin/main' into l10n

commit 0aaa90890f
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Oct 6 14:37:08 2024 +0200

    Fix appstrings.properties

commit 376b65bbb1
Author: diivu <diivu@users.noreply.translate.codeberg.org>
Date:   Sun Oct 6 07:24:56 2024 +0000

    Added translation using Weblate (Finnish)

commit 963c276a24
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sun Sep 29 14:45:36 2024 +0200

    Use wget in l10n script for consistency

commit d0e0ef0769
Author: kratos <kratos@users.noreply.translate.codeberg.org>
Date:   Fri Sep 27 14:01:32 2024 +0000

    Translated using Weblate (Hungarian)

    Currently translated at 100.0% (3 of 3 strings)

    Translation: LibreWolf/browser/translations
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browsertranslations/hu/

commit db529f8ce1
Author: kratos <kratos@users.noreply.translate.codeberg.org>
Date:   Fri Sep 27 14:01:01 2024 +0000

    Added translation using Weblate (Hungarian)

commit a9fb722578
Author: kratos <kratos@users.noreply.translate.codeberg.org>
Date:   Fri Sep 27 13:51:48 2024 +0000

    Translated using Weblate (Hungarian)

    Currently translated at 100.0% (50 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/hu/

commit a54b7cdb5e
Author: Umeaman <Umeaman@users.noreply.translate.codeberg.org>
Date:   Wed Sep 25 23:36:20 2024 +0000

    Translated using Weblate (Swedish)

    Currently translated at 10.0% (5 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/sv/

commit 555586291d
Author: Umeaman <Umeaman@users.noreply.translate.codeberg.org>
Date:   Wed Sep 25 23:36:02 2024 +0000

    Added translation using Weblate (Swedish)

commit 65662b49a5
Author: kratos <kratos@users.noreply.translate.codeberg.org>
Date:   Mon Sep 23 18:23:02 2024 +0000

    Translated using Weblate (Hungarian)

    Currently translated at 16.0% (8 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/hu/

commit 1460588363
Author: kratos <kratos@users.noreply.translate.codeberg.org>
Date:   Mon Sep 23 18:22:00 2024 +0000

    Added translation using Weblate (Hungarian)

commit 78667d9c9c
Author: maltejur <maltejur@users.noreply.translate.codeberg.org>
Date:   Thu Sep 19 15:54:14 2024 +0000

    Translated using Weblate (German)

    Currently translated at 10.0% (5 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences
    Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/

commit dc948492ef
Author: Malte Juergens <maltejur@dismail.de>
Date:   Thu Sep 19 17:50:18 2024 +0200

    Remove appstrings.properties override

commit b92da6c9b6
Author: Malte Juergens <maltejur@dismail.de>
Date:   Thu Sep 19 17:49:49 2024 +0200

    Use dashes in language codes

commit b49b4b1661
Author: Malte Juergens <maltejur@dismail.de>
Date:   Thu Sep 19 17:42:01 2024 +0200

    Fix syntax error in old python version

commit eed271897f
Author: Malte Juergens <maltejur@dismail.de>
Date:   Wed Sep 18 01:44:57 2024 +0200

    Make lw translations work

commit f8c5b9e264
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Mon Sep 16 10:31:25 2024 +0000

    Translated using Weblate (Norwegian Bokmål)

    Currently translated at 100.0% (3 of 3 strings)

    Translation: LibreWolf/browser/translations.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browsertranslationsftl/nb_NO/

commit 4accda62a1
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Mon Sep 16 10:43:25 2024 +0000

    Translated using Weblate (German)

    Currently translated at 8.0% (4 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/de/

commit e09583f951
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Mon Sep 16 10:43:41 2024 +0000

    Translated using Weblate (French)

    Currently translated at 98.0% (49 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/fr/

commit 08bebb1a5c
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Mon Sep 16 10:43:41 2024 +0000

    Translated using Weblate (English (United States))

    Currently translated at 100.0% (50 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/en_US/

commit b07795c146
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Sun Sep 15 11:59:46 2024 +0200

    Added translation using Weblate (Norwegian Bokmål)

commit c67532071f
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Fri Sep 13 23:02:08 2024 +0000

    Translated using Weblate (French)

    Currently translated at 66.6% (2 of 3 strings)

    Translation: LibreWolf/browser/translations.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browsertranslationsftl/fr/

commit 9b19745b7c
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sat Sep 14 01:01:08 2024 +0200

    Added translation using Weblate (French)

commit a51d08cc03
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sat Sep 14 00:59:14 2024 +0200

    Deleted translation using Weblate (French)

commit 8f5cdd20b5
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sat Sep 14 00:58:35 2024 +0200

    Added translation using Weblate (French)

commit 0a827abfd6
Author: Malte Juergens <maltejur@dismail.de>
Date:   Sat Sep 14 00:57:29 2024 +0200

    Move translations patches/fullpage-translations-customization.patch into own *.ftl file

commit dcd910c672
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Fri Sep 13 22:34:22 2024 +0000

    Translated using Weblate (German)

    Currently translated at 6.0% (3 of 50 strings)

    Translation: LibreWolf/browser/preferences/preferences.ftl
    Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/de/

commit 31851a6026
Author: Malte Jürgens <maltejur@dismail.de>
Date:   Sat Sep 14 00:33:16 2024 +0200

    Added translation using Weblate (German)

commit bc3d695711
Author: Malte Juergens <maltejur@dismail.de>
Date:   Fri Sep 13 23:21:29 2024 +0200

    Add French pref-pane Translations provided by @Acideburn

    Co-authored-by: Acideburn <Acideburn@noreply.codeberg.org>

commit 3072c26e4f
Author: Malte Juergens <maltejur@dismail.de>
Date:   Tue Sep 10 16:52:58 2024 +0200

    Allow translation of LW strings
2024-10-11 22:28:01 +02:00
.forgejo/workflows Fix forgejo push workflow 2023-11-14 21:18:04 +01:00
.woodpecker.release verify sha512sum exists 2023-11-04 16:04:17 +00:00
assets Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
browser/preferences Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
docs Preserving output for what's valid in mozconfig 2023-10-21 15:09:41 +02:00
l10n Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
patches Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
scripts Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
settings@575d6a19d1 update settings submodule to latest version; 131.0-1 2024-10-06 11:35:00 +02:00
themes/browser Use LibreWolf-specific translations 2024-10-11 22:28:01 +02:00
.gitignore inbetween commits 2022-01-08 22:55:25 +01:00
.gitlab-ci.yml Merge pull request 'settings_submodule' (!70) from settings_submodule into main 2023-11-15 06:12:51 +00:00
.gitmodules Added settings submodule 2023-11-14 19:53:25 +01:00
LICENSE Add LICENSE 2021-11-19 17:42:30 +00:00
Makefile Updated to add maintainter commands more prominently. 2024-02-24 09:30:33 +01:00
README.md Update repositories in readme 2024-07-17 21:30:09 +02:00
release 130.0.1-1 2024-09-17 22:43:53 +02:00
version 131.0.2-1 2024-10-09 16:08:53 +02:00

LibreWolf Source Repository

This repository contains all the patches and theming that make up LibreWolf, as well as scripts and a Makefile to build LibreWolf. There also is the Settings repository, which contains the LibreWolf preferences.

LibreWolf overview

graph LR
    FFSRC(Firefox Source)

    FFSRC--Tarball--->Source

    subgraph librewolf-community/
    Settings(Settings)--"librewolf.cfg<br>policies.json"-->Source
    Website(Website<br><br>- Documentation<br>- FAQ)
    subgraph browser/
        Source(Source<br><br>- Patches<br>- Theming<br>- Build scripts)
        bsys6(bsys6<br><br>New Docker building<br>repository)
        bsys5(bsys5<br><br>Old Docker building<br>repository)
        AppImage
        Arch
    end
    end
    Website-->librewolf.net
    Source--"Source tarball"-->bsys6 & bsys5
    AppImage--".appimage"-->librewolf.net
    bsys6--"Windows setup.exe"--->librewolf.net
    bsys6--"Windows portable.zip"--->librewolf.net
    bsys6--"Windows .msix"--->MS("Microsoft Store")
    bsys6--"Windows .nupkg"--->Chocolatey
    bsys6--"Linux binary tarball"--->Flathub
    bsys6--"Linux binary tarball"--> AppImage
    bsys6--"Linux binary tarball for `librewolf-bin`"--> Arch
    Source--"Source tarball for `librewolf`"-->Arch
    Arch-->AUR
    bsys5--"Linux .deb"--->deb.librewolf.net
    bsys5--"Linux .rpm"--->rpm.librewolf.net

Active repositories and projects

List of browser build sub projects. These are the locations where people have their repositories and build artifacts.

Currently active build repositories:

  • Arch: Arch Linux package
  • Bsys5: .deb/.rpm for Mint, Fedora, Ubuntu; .dmg for MacOS; portable/setup for Windows.
  • Gentoo: Gentoo package

Currently active (and known) forks:

Previous forks:

LibreWolf build instructions

There are two ways to build LibreWolf. You can either use the source tarball or compile directly with this repository.

Building from the Tarball

First, let's download the latest tarball. This tarball is the latest produced by the CI. You can also check the sha256sum of the tarball there.

tar xf <tarball>
cd <folder>

Then, you have to bootstrap your system to be able to build LibreWolf. You only have to do this one time. It is done by running the following commands:

./mach --no-interactive bootstrap --application-choice=browser
./lw/setup-wasi-linux.sh

Finally you can build LibreWolf and then package or run it with the following commands:

./mach build
./mach package
# OR
./mach run

Building with this Repository

First, clone this repository with Git:

git clone --recursive https://gitlab.com/librewolf-community/browser/source.git librewolf-source
cd librewolf-source

Next, build the LibreWolf source code with the following command:

make dir

After that, you have to bootstrap your system to be able to build LibreWolf. You only have to do this one time. It is done by running the following command:

make bootstrap

Finally you can build LibreWolf and then package or run it with the following commands:

make build
make package
# OR
make run

Development Notes

How to make a patch

The easiest way to make patches is to go to the LibreWolf source folder:

cd librewolf-$(cat version)
git init
git add <path_to_file_you_changed>
git commit -am initial-commit
git diff > ../mypatch.patch

We have Gitter / Matrix rooms, and on the website we have links to the various issue trackers.

How to work on an existing patch

The easiest way to make patches is to go to the LibreWolf source folder:

make fetch # get the firefox tarball
./scripts/git-patchtree.sh patches/sed-patches/disable-pocket.patch

Now change the source tree the way you want, keeping in mind to git add new files. When done, you can create the new patch with:

cd firefox-<version>
git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD > ../my-patch-name.patch

This ID is the hash value of the first commit, which is called initial. Dont forget to commit changes before doing this diff, or the patch will be incomplete.

How to create a patch for problems in Mozilla's Bugzilla.

Well, first of all:

Now that you have a patch in LibreWolf, that's not enough to upload to Mozilla. See, Mozilla only accepts patches against Nightly. So here is how to do that:

If you have not done already, create the mozilla-unified folder and build Firefox with it:

hg clone https://hg.mozilla.org/mozilla-unified
cd mozilla-unified
hg update
MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser
./mach build
./mach run

If you skipped the previous step, you could ensure that you're up to date with:

cd mozilla-unified
hg pull
hg update

Now you can apply your patch to Nightly:

patch -p1 -i ../mypatch.patch

Now you let Mercurial create the patch:

hg diff > ../my-nightly-patch.patch

And it can be uploaded to Bugzilla.

(excerpt from the Mozilla readme) Now the fun starts

Time to start hacking! You should join us on Matrix, say hello in the Introduction channel, and find a bug to start working on. See the Firefox Contributors Quick Reference to learn how to test your changes, send patches to Mozilla, update your source code locally, and more.

Hey, I'm using MacOS or Windows..

We understand, life isn't always fair 😺. The same steps as above do apply, you'll just have to walk through the beginning part of the guides for:

  • MacOS: The cross-compiled Mac .dmg files are somewhat new. They should work, perhaps with the exception of the make setup-wasi step.
  • Windows: Building on Windows is not very well tested.

Help with testing these targets is always welcome.