0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

first working version with new patches

This commit is contained in:
Bert van der Weerd 2022-04-08 21:24:30 +02:00
parent 1ea1cef16b
commit 2fb99ac31c
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
3 changed files with 16 additions and 1 deletions

View file

@ -45,7 +45,6 @@ check :
update : README.md update : README.md
./scripts/fetch-pref-pane-patch.sh
git submodule update --recursive --remote git submodule update --recursive --remote
README.md : README.md.in ./version ./release README.md : README.md.in ./version ./release

View file

@ -71,6 +71,8 @@ Well, first of all:
* The essential: [Firefox Source Tree Documentation](https://firefox-source-docs.mozilla.org/). * 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: 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 hg clone https://hg.mozilla.org/mozilla-unified
cd mozilla-unified cd mozilla-unified
@ -79,6 +81,12 @@ MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --applicat
./mach build ./mach build
./mach run ./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: Now you can apply your patch to Nightly:
``` ```
patch -p1 -i ../mypatch.patch patch -p1 -i ../mypatch.patch

View file

@ -71,6 +71,8 @@ Well, first of all:
* The essential: [Firefox Source Tree Documentation](https://firefox-source-docs.mozilla.org/). * 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: 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 hg clone https://hg.mozilla.org/mozilla-unified
cd mozilla-unified cd mozilla-unified
@ -79,6 +81,12 @@ MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --applicat
./mach build ./mach build
./mach run ./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: Now you can apply your patch to Nightly:
``` ```
patch -p1 -i ../mypatch.patch patch -p1 -i ../mypatch.patch