From 2fb99ac31cef8e679f6289fb09599c8cc87f2f4f Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Fri, 8 Apr 2022 21:24:30 +0200 Subject: [PATCH] first working version with new patches --- Makefile | 1 - README.md | 8 ++++++++ README.md.in | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 896f243..49e9436 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,6 @@ check : update : README.md - ./scripts/fetch-pref-pane-patch.sh git submodule update --recursive --remote README.md : README.md.in ./version ./release diff --git a/README.md b/README.md index b866f22..9549b04 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Well, first of all: * The essential: [Firefox Source Tree Documentation](https://firefox-source-docs.mozilla.org/). 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 @@ -79,6 +81,12 @@ MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --applicat ./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 diff --git a/README.md.in b/README.md.in index 2408fea..288dc8f 100644 --- a/README.md.in +++ b/README.md.in @@ -71,6 +71,8 @@ Well, first of all: * The essential: [Firefox Source Tree Documentation](https://firefox-source-docs.mozilla.org/). 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 @@ -79,6 +81,12 @@ MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --applicat ./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