Compare commits
461 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cc029bd41 | ||
|
|
9f347e1fa9 | ||
|
|
531d6d5d8a | ||
|
|
264e65b71a | ||
|
|
855ab1b658 | ||
|
|
9ff7404248 | ||
|
|
b8eb667f83 | ||
|
|
36da860f4b | ||
|
|
69ef35c946 | ||
|
|
dafc371cf5 | ||
|
|
70b155aca4 | ||
|
|
7cc528056c | ||
|
|
c3af9a1a70 | ||
|
|
38cb5b9e02 | ||
|
|
b799f288ea | ||
|
|
d3e0b0661f | ||
|
|
0bd5407d46 | ||
|
|
420f1540b7 | ||
|
|
5fd44e22af | ||
|
|
b3b007f171 | ||
|
|
f4d764eb5e | ||
|
|
59547ac198 | ||
|
|
1838a4cb18 | ||
|
|
33336b6ac7 | ||
|
|
5f1dfb584c | ||
|
|
a58e35af23 | ||
|
|
89efcf05ac | ||
|
|
367b8a539c | ||
|
|
578c8fc99f | ||
|
|
bab3935d59 | ||
|
|
3ddf557f91 | ||
|
|
0fb55b6836 | ||
|
|
70f74b8551 | ||
| 33821c6166 | |||
| bbd7554753 | |||
| dd67d03258 | |||
| 654646ef5b | |||
| 98975b69ff | |||
| eeac2ffed7 | |||
| 8e3c9ccd09 | |||
| 88bd02314a | |||
| bbb00255ea | |||
|
|
5111065312 | ||
|
|
8da4524d85 | ||
|
|
746d573cf3 | ||
|
|
e35f1aad69 | ||
|
|
8fea42eb78 | ||
|
|
c8db5e4845 | ||
|
|
f891157b95 | ||
|
|
dbb4d7ba66 | ||
|
|
7195223960 | ||
|
|
f3a1a4faa2 | ||
|
|
adfc097a38 | ||
|
|
93965f80c8 | ||
|
|
920e8cb424 | ||
|
|
fca838f507 | ||
|
|
2f61f8e9e2 | ||
|
|
8f61f1a1fb | ||
|
|
91b0eaf892 | ||
|
|
5086a71785 | ||
|
|
b10bbadf70 | ||
|
|
8e14a9f643 | ||
|
|
d70d906de8 | ||
|
|
bc0c65f3df | ||
|
|
4c20e73711 | ||
|
|
4b82f6e8d0 | ||
|
|
e35068cf3d | ||
|
|
45fe3129c9 | ||
|
|
ae482c3f6b | ||
|
|
b48bef9ac5 | ||
|
|
3118747d0b | ||
|
|
11864a2395 | ||
|
|
705ec64d29 | ||
|
|
d276dc33d7 | ||
|
|
d19a684f80 | ||
|
|
2001f3ddfd | ||
|
|
d74f63ae74 | ||
|
|
27095a380e | ||
|
|
1eae334021 | ||
|
|
2fee2fff19 | ||
|
|
aeb599e6a0 | ||
|
|
adce09fbe2 | ||
|
|
ea4a8b3243 | ||
|
|
785e3a241d | ||
|
|
95045ac69a | ||
|
|
67e8a14fd9 | ||
|
|
c66ce4d63f | ||
|
|
0842264966 | ||
|
|
245ddc0d62 | ||
|
|
266894f2f3 | ||
|
|
b622286893 | ||
|
|
8ca4ad7f31 | ||
|
|
af49869667 | ||
|
|
1b63561748 | ||
|
|
0bb1c40bdf | ||
|
|
cbae6e21a6 | ||
|
|
72873723de | ||
|
|
5125126dea | ||
|
|
7e713025d6 | ||
|
|
4225d3d785 | ||
|
|
4a9aa95fd4 | ||
|
|
6a06c9132a | ||
|
|
1e05a22c03 | ||
|
|
925db910be | ||
|
|
2232157ddf | ||
|
|
95c8967a9c | ||
|
|
745124c791 | ||
|
|
75b604d472 | ||
|
|
d6b50bebf4 | ||
|
|
445e09979e | ||
|
|
50a02d8e11 | ||
|
|
67b8a5b60d | ||
|
|
31fb023542 | ||
|
|
bfcc829d87 | ||
|
|
f18a0b2393 | ||
|
|
3c8a6d50dd | ||
|
|
d7f10406da | ||
|
|
f84c661e1d | ||
|
|
78dcebb1eb | ||
|
|
dd49760cef | ||
|
|
e4d87bb6ea | ||
|
|
61a6317a5f | ||
|
|
7d48baebb8 | ||
|
|
eb1a66e6bc | ||
|
|
6ff3a792ef | ||
|
|
9a89e389fd | ||
|
|
0eefddf0f8 | ||
|
|
ea58161133 | ||
|
|
37b33ea0ca | ||
|
|
c267440255 | ||
|
|
19e72e78e8 | ||
|
|
0df1ee885f | ||
|
|
2976003f98 | ||
|
|
df807b3ce7 | ||
|
|
6775213808 | ||
|
|
15b76dfd61 | ||
|
|
90edceead9 | ||
|
|
fb6eb3ab72 | ||
|
|
34803dbebd | ||
|
|
6e9b4c57c4 | ||
|
|
a1339e613d | ||
|
|
7d208db7c4 | ||
|
|
48b0e79d5b | ||
|
|
7e8675b828 | ||
|
|
769f6c26f2 | ||
|
|
ee7cc19c6f | ||
|
|
a876d0cef6 | ||
|
|
f66f6f861d | ||
|
|
83b4c6db4d | ||
|
|
c41441bdbe | ||
|
|
f52a636d2d | ||
|
|
350fba377c | ||
|
|
975d085961 | ||
|
|
8c702fbdc5 | ||
| 6b786547d9 | |||
| eb5236f6f2 | |||
|
|
e1f03e41f7 | ||
|
|
e0081cf49e | ||
|
|
9709e3f62f | ||
|
|
5a14f06435 | ||
|
|
430cda40b1 | ||
|
|
762ee08b19 | ||
|
|
488bfd740d | ||
|
|
42b6233c55 | ||
|
|
35998e2a84 | ||
|
|
cba3ffd075 | ||
|
|
d82582a43a | ||
|
|
2ea06c6718 | ||
| 35bd388d25 | |||
|
|
709882a499 | ||
| 38061dd0bf | |||
|
|
6a5917ab48 | ||
|
|
d123a737dd | ||
|
|
467e842b38 | ||
|
|
34d3413e07 | ||
|
|
8540016455 | ||
|
|
c5364490f2 | ||
|
|
44773d461d | ||
|
|
e95da84da6 | ||
|
|
49cc4b9813 | ||
|
|
78aad0d382 | ||
|
|
6cfec04701 | ||
|
|
1ee0f36df4 | ||
|
|
7d5fecb789 | ||
|
|
eb4a264fd8 | ||
|
|
0cd22f9d3b | ||
|
|
084a314db5 | ||
|
|
db5d2ec46f | ||
|
|
216fb36503 | ||
|
|
e23bc0cf20 | ||
|
|
07973526bd | ||
|
|
7f3990f182 | ||
|
|
0a68621cd0 | ||
|
|
7386b46dc4 | ||
|
|
c92bc88455 | ||
|
|
084116c930 | ||
|
|
fc4f1e1424 | ||
|
|
2f7ecd2e1d | ||
|
|
22da218bb4 | ||
| 4641c4812d | |||
| b3245a5320 | |||
|
|
58b2271e34 | ||
|
|
563c053672 | ||
|
|
f0daa09d8c | ||
|
|
3aaeadc20b | ||
|
|
cca6c0dcfb | ||
|
|
6f350f04f1 | ||
|
|
0150e0b2d1 | ||
|
|
de2df4e571 | ||
|
|
ce1428938f | ||
|
|
3cb41798c6 | ||
|
|
545731c5c4 | ||
|
|
1e10e0ff63 | ||
|
|
b6836454e7 | ||
|
|
31eb346039 | ||
|
|
b2a92cc6ec | ||
|
|
a97c7dc4a2 | ||
|
|
954ad5a784 | ||
|
|
e5758b64da | ||
|
|
798d5300f9 | ||
|
|
89e19f0801 | ||
|
|
6d6eef5bcc | ||
|
|
bd1064205d | ||
| 64972b5b34 | |||
|
|
c4156370ba | ||
|
|
ec836c49f2 | ||
|
|
7fdbe2af4a | ||
|
|
0ffb0ad651 | ||
|
|
7a4fa17d30 | ||
|
|
cd7107a05e | ||
|
|
93c4a2a4c6 | ||
|
|
7c3ff63c31 | ||
|
|
77b2238a3c | ||
|
|
c3e8d8850f | ||
|
|
1240cdb7b1 | ||
|
|
df251864cd | ||
|
|
dfdb3eb4ee | ||
|
|
c36d0f808c | ||
|
|
4f8e6031b0 | ||
|
|
942c237a08 | ||
|
|
3911df71cd | ||
|
|
1bfed68322 | ||
|
|
d9a155ccba | ||
|
|
99090a20f0 | ||
|
|
aeeaa1bcba | ||
|
|
9c341378d6 | ||
|
|
7a0a57c7cf | ||
|
|
0801ed372f | ||
|
|
14b031064e | ||
|
|
71261dadcb | ||
|
|
ff5b82939d | ||
|
|
134005c5d2 | ||
|
|
c3f88d72c9 | ||
|
|
f5123b8fce | ||
|
|
912df746c9 | ||
|
|
98a1f82462 | ||
|
|
97599d58a4 | ||
|
|
965bc3db05 | ||
|
|
b09e162310 | ||
|
|
8b7809aad5 | ||
|
|
71b0ef45a0 | ||
|
|
bc6497b150 | ||
|
|
ecda79da05 | ||
|
|
d21d3137a1 | ||
|
|
54bd66ec24 | ||
|
|
6ead6460e8 | ||
|
|
4c6ebbec7d | ||
|
|
fdca4c8d23 | ||
|
|
adf05892e4 | ||
|
|
43443adfbf | ||
|
|
d648684fd9 | ||
|
|
af0d3b0ca9 | ||
|
|
c43b15b83f | ||
|
|
5d45ae0aca | ||
|
|
d73514b2a3 | ||
|
|
bbfde27a1b | ||
|
|
6161361c34 | ||
|
|
eda588aa6e | ||
|
|
f444640f1b | ||
|
|
e7ffc5d1dc | ||
|
|
f9e85a1f25 | ||
|
|
6cc1b84d68 | ||
|
|
a5da8de1f9 | ||
|
|
eca9b131f7 | ||
|
|
cf9d5ae61b | ||
|
|
8cdf2cd8f2 | ||
|
|
bd3ba0926a | ||
|
|
f574fe48e7 | ||
|
|
cd50478cc2 | ||
|
|
e0e44d6bc0 | ||
|
|
9e67085d66 | ||
|
|
2626643205 | ||
|
|
de74c266f9 | ||
|
|
b5573ca721 | ||
|
|
7f7b036baa | ||
|
|
8db733dee8 | ||
|
|
f6d5ef1108 | ||
|
|
5a93220522 | ||
|
|
a5db8bda88 | ||
|
|
5d7a02f997 | ||
|
|
50f7e3b3bc | ||
|
|
48ce299674 | ||
|
|
2aed9e7b99 | ||
|
|
c039ae197e | ||
|
|
2424b0c7f2 | ||
|
|
738f87ceef | ||
|
|
de19118dc4 | ||
|
|
e720a811ef | ||
|
|
543d8c34d5 | ||
|
|
ab5a09aab4 | ||
|
|
57b8823f33 | ||
|
|
85fe66908d | ||
|
|
3ba87634fd | ||
|
|
2523ec7e57 | ||
|
|
1af2db3cc8 | ||
|
|
a95d5771de | ||
|
|
5172e50652 | ||
|
|
694878d1d3 | ||
|
|
318fce8430 | ||
|
|
456a600397 | ||
|
|
8961b3265c | ||
|
|
4613108c3f | ||
|
|
9775b85e9c | ||
|
|
cf7bc44b45 | ||
|
|
576230272b | ||
|
|
8599b6d0ae | ||
|
|
1e44435165 | ||
|
|
c7fe2e69fb | ||
|
|
c6e9e01d50 | ||
|
|
c092c222cd | ||
|
|
01107df881 | ||
|
|
df4633f9a7 | ||
|
|
617c7b2eaf | ||
|
|
b1e26fbe91 | ||
|
|
ca87c15a7b | ||
|
|
1d7b20e246 | ||
|
|
a209634f2e | ||
|
|
a9b768042f | ||
|
|
da7aeef05b | ||
|
|
4c3326096e | ||
|
|
b7a5486c3c | ||
|
|
1b48885c91 | ||
|
|
fc4cdde529 | ||
|
|
4cf3e8791b | ||
|
|
4bb268a031 | ||
|
|
65305e2ee4 | ||
|
|
17b7c2588d | ||
|
|
4ef34a9836 | ||
|
|
5efb3c4c34 | ||
|
|
cafdfb23ac | ||
|
|
a66fc42849 | ||
|
|
816367b235 | ||
|
|
90f2c3d0ca | ||
|
|
c8aa37f13b | ||
|
|
5b854810ab | ||
|
|
5f0d4dc8df | ||
|
|
8ee65fc4f6 | ||
|
|
9840980db8 | ||
|
|
3af893b165 | ||
|
|
a9341594ad | ||
|
|
65dc7d8060 | ||
|
|
f107e45cf9 | ||
|
|
613dee5518 | ||
|
|
94e7c18a76 | ||
|
|
62d231a030 | ||
|
|
cf70d7a8af | ||
|
|
3eb92f29ca | ||
|
|
a7ef564050 | ||
|
|
fb69daf1de | ||
|
|
0c23abbfc3 | ||
|
|
1ff72baa85 | ||
|
|
88aa775304 | ||
|
|
b9c6c392da | ||
|
|
527ce9fe31 | ||
|
|
16888df744 | ||
|
|
862b95a65e | ||
|
|
a03b92e1e9 | ||
|
|
dbcc50089c | ||
|
|
d49a020d37 | ||
|
|
0f8e02ce35 | ||
|
|
1362e61802 | ||
|
|
7c8be01b29 | ||
|
|
c9c01b9fdc | ||
|
|
a7326a0680 | ||
|
|
f80ce7a583 | ||
|
|
f2fa4ce26b | ||
|
|
0bd27fb698 | ||
|
|
147e5f7be8 | ||
|
|
1ef6478501 | ||
|
|
312b272fd0 | ||
|
|
779a4bc1d0 | ||
|
|
4f6ea3ccab | ||
|
|
982ca26e9b | ||
|
|
22b26dc8cc | ||
|
|
c0a5c954f6 | ||
|
|
d048271c53 | ||
|
|
0ba021e502 | ||
|
|
1a11b07147 | ||
|
|
dd661f7023 | ||
|
|
58cfdf9239 | ||
|
|
853ada8a3a | ||
|
|
c1ed17f1a3 | ||
|
|
11448dc5ee | ||
|
|
2139d4fc99 | ||
|
|
7f8352be8f | ||
|
|
3d5dc092cc | ||
|
|
c3394c308d | ||
|
|
6ea3f9492c | ||
|
|
7fff5d28d4 | ||
|
|
dd8cb7123d | ||
|
|
5f1e8b2360 | ||
|
|
74dcc11d58 | ||
|
|
500e8f793d | ||
|
|
7dfb1602a3 | ||
|
|
87831661d9 | ||
|
|
51d9a07c8c | ||
|
|
4815b2bcb3 | ||
|
|
dac682c48a | ||
|
|
bee53b4e3b | ||
|
|
2d8f2dc21e | ||
|
|
d321b24c54 | ||
|
|
e28ac99d5a | ||
|
|
2209d06605 | ||
|
|
a44548eaa5 | ||
|
|
d9945ef969 | ||
|
|
505de6dbae | ||
|
|
e1ff04a597 | ||
|
|
a35270249d | ||
|
|
c789457faa | ||
|
|
1cc106f950 | ||
|
|
79fa60e3ee | ||
|
|
3bc86e1b41 | ||
|
|
4cf9ad289f | ||
|
|
1a4fcc2689 | ||
|
|
a5900bbe52 | ||
|
|
8a9e8e1f0c | ||
|
|
5a84e4cccf | ||
|
|
f79790481f | ||
|
|
ab290c19f3 | ||
|
|
e327b9710a | ||
|
|
8307ff568c | ||
|
|
a6e86400a5 | ||
|
|
d0dd908ef5 | ||
|
|
26955c2590 | ||
|
|
b1ab8b5261 | ||
|
|
91be01b7b7 | ||
|
|
be0a1fbe65 | ||
|
|
128654cf63 | ||
|
|
e29f744807 | ||
|
|
3a60b9f807 | ||
|
|
9b845c92bc | ||
|
|
14aecdc347 | ||
|
|
d341a34ee5 | ||
|
|
06e31e374a | ||
|
|
8480a183a8 | ||
|
|
82e73ac843 | ||
|
|
828edd1627 | ||
|
|
02b3deb067 | ||
|
|
fa64d80122 | ||
|
|
ac27acc4b5 | ||
|
|
2ef0a31ec8 |
22 changed files with 17 additions and 1161 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -1,11 +0,0 @@
|
||||||
firefox-*
|
|
||||||
librewolf-*
|
|
||||||
megabar.patch
|
|
||||||
remove_addons.patch
|
|
||||||
unity-menubar.patch
|
|
||||||
context-menu.patch
|
|
||||||
mozilla-vpn-ad.patch
|
|
||||||
mozconfig
|
|
||||||
librewolf
|
|
||||||
tmp.nsi
|
|
||||||
tmp-experimental.nsi
|
|
||||||
6
.gitmodules
vendored
6
.gitmodules
vendored
|
|
@ -1,6 +0,0 @@
|
||||||
[submodule "settings"]
|
|
||||||
path = settings
|
|
||||||
url = https://gitlab.com/librewolf-community/settings.git
|
|
||||||
[submodule "common"]
|
|
||||||
path = common
|
|
||||||
url = https://gitlab.com/librewolf-community/browser/common.git
|
|
||||||
49
README.md
49
README.md
|
|
@ -1,45 +1,30 @@
|
||||||
# LibreWolf for windows
|
# LibreWolf Issue Tracker & Update Tools 🚀
|
||||||
|
|
||||||
* [download latest release](https://gitlab.com/librewolf-community/browser/windows/-/releases).
|
Welcome to the **LibreWolf for Windows** repository! This repository is now dedicated to the **Issue Tracker**. Submit your issues and get the latest updates on LibreWolf for Windows.
|
||||||
* [issue tracker](https://gitlab.com/librewolf-community/browser/windows/-/issues).
|
|
||||||
|
|
||||||
# download locations
|
To download the latest release, visit the [official LibreWolf release page](https://gitlab.com/librewolf-community/browser/bsys6/-/releases). For installation options, check out the [FAQ](https://librewolf.net/docs/faq/).
|
||||||
|
|
||||||
* [[arch releases](https://gitlab.com/librewolf-community/browser/arch/-/releases)] - [librewolf-bin AUR(en)](https://aur.archlinux.org/packages/librewolf-bin/), [librewolf AUR(en)](https://aur.archlinux.org/packages/librewolf/)
|
## Update Tools 🛠️
|
||||||
* [[linux releases](https://gitlab.com/librewolf-community/browser/linux/-/releases)] - Flatpak, AppImage, Arch and other Linux builds of the LibreWolf browser.
|
|
||||||
* [[windows releases](https://gitlab.com/librewolf-community/browser/windows/-/releases)] - (this repository)
|
|
||||||
|
|
||||||
# settings repository
|
Stay secure and up-to-date with these LibreWolf update tools:
|
||||||
|
|
||||||
* [[settings repository](https://gitlab.com/librewolf-community/settings)] - all _librewolf.cfg_ stuff.. _([issues](https://gitlab.com/librewolf-community/settings/-/issues))_
|
1. **LibreWolf WinUpdater**: Kudos to @ltguillaume for this [automatic updater](https://codeberg.org/ltguillaume/librewolf-winupdater) that can be set up to update LibreWolf automatically or run manually.
|
||||||
|
|
||||||
# librewolf repositories
|
2. **LibreWolf Update Checker Extension**: Created by Defkev, this [extension](https://addons.mozilla.org/en-US/firefox/addon/librewolf-updater/) will notify you when an update is available and guide you to the download link.
|
||||||
|
|
||||||
* [[common](https://gitlab.com/librewolf-community/browser/common)] -> _([issues](https://gitlab.com/librewolf-community/browser/common/-/issues))_
|
> Please note: The *updater* can _install_ updates automatically, while the *extension* can only _check_ for updates.
|
||||||
* [[linux](https://gitlab.com/librewolf-community/browser/linux)] -> _([issues](https://gitlab.com/librewolf-community/browser/linux/-/issues))_
|
|
||||||
* [[website](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io)] - _([issues](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io/-/issues))_
|
|
||||||
|
|
||||||
# distro repositories
|
## LibreWolf for Windows 🖥️
|
||||||
|
|
||||||
* [[arch](https://gitlab.com/librewolf-community/browser/arch)] -> _([issues](https://gitlab.com/librewolf-community/browser/arch/-/issues))_
|
- LibreWolf supports multiple UI languages, available in settings.
|
||||||
* [[debian](https://gitlab.com/librewolf-community/browser/debian)] -> _([issues](https://gitlab.com/librewolf-community/browser/debian/-/issues))_
|
- The latest **-portable.zip** release is self-contained and can be run on removable storage.
|
||||||
* [[flatpack](https://gitlab.com/librewolf-community/browser/flatpak)] -> _([issues](https://gitlab.com/librewolf-community/browser/flatpak/-/issues))_
|
|
||||||
* [[gentoo](https://gitlab.com/librewolf-community/browser/gentoo)] -> _([issues](https://gitlab.com/librewolf-community/browser/gentoo/-/issues))_
|
|
||||||
* [[macos](https://gitlab.com/librewolf-community/browser/macos)] -> _([issues](https://gitlab.com/librewolf-community/browser/macos/-/issues))_
|
|
||||||
* [[windows](https://gitlab.com/librewolf-community/browser/windows)] -> _([issues](https://gitlab.com/librewolf-community/browser/windows/-/issues))_
|
|
||||||
|
|
||||||
# community links
|
## Issue Tracker 🎫
|
||||||
|
|
||||||
* If at all possible, pleasse go to the relevant 'issues' link and start discussing thing there.
|
- For issues with Settings or Advanced Settings (`about:config`), submit them to the [settings repository](https://gitlab.com/librewolf-community/settings/-/issues).
|
||||||
* [[reddit](https://www.reddit.com/r/LibreWolf/)] - [r/LibreWolf](https://www.reddit.com/r/LibreWolf/) 😺
|
- For other issues, such as crashes/theme/graphics/speed problems, submit them to [issues for windows repository](https://gitlab.com/librewolf-community/browser/windows/-/issues).
|
||||||
* [readthedocs.io](https://librewolf.readthedocs.io/en/latest/).
|
|
||||||
* [[gitter](https://gitter.im/librewolf-community/librewolf)].
|
|
||||||
|
|
||||||
# hardening firefox
|
## Building from Source 🏗️
|
||||||
|
|
||||||
* **tools**: [[deviceinfo.me](https://www.deviceinfo.me/)], [[coveryourtracks](https://coveryourtracks.eff.org/learn)], [[privacytools.io](https://privacytools.io/)],
|
- Our `bsys` build system supports cross-compiling from Linux to Windows. Building the Windows version from within Windows is not tested yet.
|
||||||
* eff.org: [surveillance self-defense](https://ssd.eff.org/en).
|
- The build system can be found here: [bsys6](https://gitlab.com/librewolf-community/browser/bsys6).
|
||||||
* mozilla: [Firefox](https://www.mozilla.org/en-US/firefox/new/), [Thunderbird](https://www.thunderbird.net/en-US/); ...
|
|
||||||
* news: [ghacks](https://www.ghacks.net/)
|
|
||||||
* wikipedia: [Browser fingerprinting](https://en.wikipedia.org/wiki/Device_fingerprint).
|
|
||||||
* wikipedia: [Browser security](https://en.wikipedia.org/wiki/Browser_security), [browser exploit](https://en.wikipedia.org/wiki/Browser_exploit).
|
|
||||||
|
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
exe=
|
|
||||||
objdir=obj-x86_64-pc-linux-gnu/dist/firefox
|
|
||||||
ospkg=deb
|
|
||||||
|
|
||||||
# sanity checks
|
|
||||||
if [ ! -d $objdir ]; then
|
|
||||||
echo "artifacts_win.sh: directory $objdir not found. did you run './build.sh build'?"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf ../firefox ../librewolf
|
|
||||||
cp -r $objdir ..
|
|
||||||
|
|
||||||
pushd ..
|
|
||||||
|
|
||||||
mv firefox librewolf
|
|
||||||
# apply the LibreWolf settings
|
|
||||||
cp -rv settings/* librewolf
|
|
||||||
# rename the executable manually
|
|
||||||
pushd librewolf ; mv -v firefox$exe librewolf$exe ; popd
|
|
||||||
# clean garbage files
|
|
||||||
cd librewolf ; rm -rf maintenanceservice* pingsender* firefox.*.xml precomplete removed-files ; cd ..
|
|
||||||
|
|
||||||
# linux: copy app icon stuff
|
|
||||||
cp branding_files/register-librewolf branding_files/start-librewolf branding_files/start-librewolf.desktop.in librewolf
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
# (create a .deb here)
|
|
||||||
|
|
||||||
# patch to experimental config
|
|
||||||
if [ ! -z $experimental ]; then
|
|
||||||
pushd librewolf
|
|
||||||
echo "Applying experimental patches..."
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-config.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-policies.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
popd
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg-experimental.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg-experimental.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
# (create a .deb here)
|
|
||||||
fi
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
exe=
|
|
||||||
objdir=obj-x86_64-pc-linux-gnu/dist/firefox
|
|
||||||
ospkg=rpm
|
|
||||||
|
|
||||||
# sanity checks
|
|
||||||
if [ ! -d $objdir ]; then
|
|
||||||
echo "artifacts_win.sh: directory $objdir not found. did you run './build.sh build'?"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf ../firefox ../librewolf
|
|
||||||
cp -r $objdir ..
|
|
||||||
|
|
||||||
pushd ..
|
|
||||||
|
|
||||||
mv firefox librewolf
|
|
||||||
# apply the LibreWolf settings
|
|
||||||
cp -rv settings/* librewolf
|
|
||||||
# rename the executable manually
|
|
||||||
pushd librewolf ; mv -v firefox$exe librewolf$exe ; popd
|
|
||||||
# clean garbage files
|
|
||||||
cd librewolf ; rm -rf maintenanceservice* pingsender* firefox.*.xml precomplete removed-files ; cd ..
|
|
||||||
|
|
||||||
# linux: copy app icon stuff
|
|
||||||
cp branding_files/register-librewolf branding_files/start-librewolf branding_files/start-librewolf.desktop.in librewolf
|
|
||||||
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
# (create a .deb here)
|
|
||||||
|
|
||||||
# patch to experimental config
|
|
||||||
if [ ! -z $experimental ]; then
|
|
||||||
pushd librewolf
|
|
||||||
echo "Applying experimental patches..."
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-config.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-policies.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
popd
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg-experimental.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg-experimental.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
# (create a .deb here)
|
|
||||||
fi
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
@ -1,122 +0,0 @@
|
||||||
#
|
|
||||||
# Change these values to fit your application...
|
|
||||||
#
|
|
||||||
|
|
||||||
!define APPNAME "LibreWolf" # Full app name, like: "Gtk+ 2.0 Hello World"
|
|
||||||
!define PROGNAME "librewolf" # executable name, like: gtk2hello
|
|
||||||
!define PROG_VERSION "pkg_version" # the program version, like: 0.3.0
|
|
||||||
!define ICON_NAME "librewolf.ico" # filename of icon to use for this app
|
|
||||||
!define COMPANYNAME "LibreWolf" # Your name, or company (or just the program name)
|
|
||||||
!define ESTIMATED_SIZE 190000 # Estimated size (in KB) of installed program for use in "add or remove programs" / 190 MB
|
|
||||||
|
|
||||||
#
|
|
||||||
# The actual installer/uninstaller, you should not need to change much here below
|
|
||||||
#
|
|
||||||
|
|
||||||
Name "${PROGNAME}"
|
|
||||||
OutFile "${PROGNAME}-${PROG_VERSION}.en-US.win64-setup.exe"
|
|
||||||
InstallDir $PROGRAMFILES64\${APPNAME}
|
|
||||||
RequestExecutionLevel admin
|
|
||||||
|
|
||||||
Page directory
|
|
||||||
Page instfiles
|
|
||||||
|
|
||||||
function .onInit
|
|
||||||
setShellVarContext all
|
|
||||||
functionEnd
|
|
||||||
|
|
||||||
Section "${PROGNAME}"
|
|
||||||
|
|
||||||
# Copy files
|
|
||||||
SetOutPath $INSTDIR
|
|
||||||
File /r librewolf\*.*
|
|
||||||
|
|
||||||
# Start Menu
|
|
||||||
createDirectory "$SMPROGRAMS\${COMPANYNAME}"
|
|
||||||
createShortCut "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" "$INSTDIR\${PROGNAME}.exe" "" "$INSTDIR\${ICON_NAME}"
|
|
||||||
createShortCut "$SMPROGRAMS\${COMPANYNAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" ""
|
|
||||||
|
|
||||||
# Uninstaller
|
|
||||||
writeUninstaller "$INSTDIR\uninstall.exe"
|
|
||||||
|
|
||||||
# Registry information for add/remove programs
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayName" "${APPNAME}"
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "InstallLocation" "$\"$INSTDIR$\""
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayIcon" "$\"$INSTDIR\${ICON_NAME}$\""
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "Publisher" "${COMPANYNAME}"
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayVersion" "${PROG_VERSION}"
|
|
||||||
# There is no option for modifying or repairing the install
|
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoModify" 1
|
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoRepair" 1
|
|
||||||
# Set the INSTALLSIZE constant (!defined at the top of this script) so Add/Remove Programs can accurately report the size
|
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "EstimatedSize" ${ESTIMATED_SIZE}
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Registry information to let Windows pick us up in the list of available browsers
|
|
||||||
#
|
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf" "" "LibreWolf"
|
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationDescription" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationIcon" "$INSTDIR\librewolf.exe,0"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities" "ApplicationName" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\FileAssociations" ".htm" "LibreWolfHTM"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\FileAssociations" ".html" "LibreWolfHTM"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\Startmenu" "StartMenuInternet" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\URLAssociations" "http" "LibreWolfHTM"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\Capabilities\URLAssociations" "https" "LibreWolfHTM"
|
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\DefaultIcon" "" "$INSTDIR\librewolf.exe,0"
|
|
||||||
WriteRegStr HKLM "Software\Clients\StartMenuInternet\LibreWolf\shell\open\command" "" "$INSTDIR\librewolf.exe"
|
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\RegisteredApplications" "LibreWolf" "Software\Clients\StartMenuInternet\LibreWolf\Capabilities"
|
|
||||||
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM" "" "LibreWolf Handler"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM" "AppUserModelId" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "AppUserModelId" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationIcon" "$INSTDIR\librewolf.exe,0"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationName" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationDescription" "Howling to Freedom"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationCompany" "LibreWolf"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\DefaultIcon" "" "$INSTDIR\librewolf.exe,0"
|
|
||||||
WriteRegStr HKLM "Software\Classes\LibreWolfHTM\shell\open\command" "" "$INSTDIR\librewolf.exe %1"
|
|
||||||
|
|
||||||
SectionEnd
|
|
||||||
|
|
||||||
# Before uninstall, ask for confirmation
|
|
||||||
function un.onInit
|
|
||||||
SetShellVarContext all
|
|
||||||
|
|
||||||
#Verify the uninstaller - last chance to back out
|
|
||||||
MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME}?" IDOK next
|
|
||||||
Abort
|
|
||||||
next:
|
|
||||||
functionEnd
|
|
||||||
|
|
||||||
# Uninstaller
|
|
||||||
section "uninstall"
|
|
||||||
|
|
||||||
# Remove Start Menu launcher
|
|
||||||
delete "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk"
|
|
||||||
delete "$SMPROGRAMS\${COMPANYNAME}\Uninstall.lnk"
|
|
||||||
# Try to remove the Start Menu folder - this will only happen if it is empty
|
|
||||||
rmDir "$SMPROGRAMS\${COMPANYNAME}"
|
|
||||||
|
|
||||||
# Remove files
|
|
||||||
rmDir /r $INSTDIR
|
|
||||||
|
|
||||||
# Remove uninstaller information from the registry
|
|
||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}"
|
|
||||||
|
|
||||||
#
|
|
||||||
# Windows default browser integration
|
|
||||||
#
|
|
||||||
|
|
||||||
DeleteRegKey HKLM "Software\Clients\StartMenuInternet\LibreWolf"
|
|
||||||
DeleteRegKey HKLM "Software\RegisteredApplications"
|
|
||||||
DeleteRegKey HKLM "Software\Classes\LibreWolfHTM"
|
|
||||||
|
|
||||||
sectionEnd
|
|
||||||
|
|
@ -1,60 +0,0 @@
|
||||||
exe=.exe
|
|
||||||
objdir=obj-x86_64-pc-mingw32/dist/firefox
|
|
||||||
ospkg=win64
|
|
||||||
|
|
||||||
# sanity checks
|
|
||||||
if [ ! -d $objdir ]; then
|
|
||||||
echo "artifacts_win.sh: directory $objdir not found. did you run './build.sh build'?"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf ../firefox ../librewolf
|
|
||||||
cp -r $objdir ..
|
|
||||||
|
|
||||||
pushd ..
|
|
||||||
|
|
||||||
mv firefox librewolf
|
|
||||||
# apply the LibreWolf settings
|
|
||||||
cp -rv settings/* librewolf
|
|
||||||
# rename the executable manually
|
|
||||||
pushd librewolf ; mv -v firefox$exe librewolf$exe ; popd
|
|
||||||
# clean garbage files
|
|
||||||
cd librewolf ; rm -rf maintenanceservice* pingsender* firefox.*.xml precomplete removed-files ; cd ..
|
|
||||||
|
|
||||||
# windows: copy the windows icon
|
|
||||||
cp -v common/source_files/browser/branding/librewolf/firefox.ico librewolf/librewolf.ico
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64-setup.exe tmp.nsi
|
|
||||||
sed "s/pkg_version/$pkgver/g" < artifacts_win.nsi > tmp.nsi
|
|
||||||
makensis-3.01.exe -V1 tmp.nsi
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# patch to experimental config
|
|
||||||
if [ ! -z $experimental ]; then
|
|
||||||
pushd librewolf
|
|
||||||
echo "Applying experimental patches..."
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-config.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/experimental/librewolf-policies.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
popd
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg-experimental.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg-experimental.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64-experimental-setup.exe tmp-experimental.nsi
|
|
||||||
sed "s/win64-setup/win64-experimental-setup/g" < tmp.nsi > tmp-experimental.nsi
|
|
||||||
makensis-3.01.exe -V1 tmp-experimental.nsi
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
MOZ_APP_NAME=librewolf
|
|
||||||
MOZ_APP_BASENAME=LibreWolf
|
|
||||||
MOZ_APP_PROFILE=LibreWolf
|
|
||||||
MOZ_APP_VENDOR="LibreWolf Community"
|
|
||||||
MOZ_APP_DISPLAYNAME=LibreWolf
|
|
||||||
MOZ_APP_REMOTINGNAME=librewolf
|
|
||||||
MOZ_DEV_EDITION=1
|
|
||||||
MOZ_TELEMETRY_REPORTING=
|
|
||||||
MOZ_SERVICES_HEALTHREPORT=
|
|
||||||
MOZ_NORMANDY=
|
|
||||||
MOZ_REQUIRE_SIGNING=
|
|
||||||
MOZ_DEFAULT_BROWSER_AGENT=0
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sed "s,MYDIR,$(pwd),g" < start-librewolf.desktop.in > start-librewolf.desktop
|
|
||||||
|
|
||||||
mkdir -p "$HOME/.local/share/applications/"
|
|
||||||
cp -v ./start-librewolf.desktop "$HOME/.local/share/applications/"
|
|
||||||
update-desktop-database "$HOME/.local/share/applications/"
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Do not (try to) connect to the session manager
|
|
||||||
unset SESSION_MANAGER
|
|
||||||
|
|
||||||
# If XAUTHORITY is unset, set it to its default value of $HOME/.Xauthority
|
|
||||||
# before we change HOME below. (See xauth(1) and #1945.) XDM and KDM rely
|
|
||||||
# on applications using this default value.
|
|
||||||
if [ -z "$XAUTHORITY" ]; then
|
|
||||||
XAUTHORITY=~/.Xauthority
|
|
||||||
export XAUTHORITY
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to be agnostic to where we're being started from, chdir to where
|
|
||||||
# the script is.
|
|
||||||
mydir="`dirname "$0"`"
|
|
||||||
test -d "$mydir" && cd "$mydir"
|
|
||||||
|
|
||||||
#./librewolf --class "LibreWolf" -profile TorBrowser/Data/Browser/profile.default "${@}" > "$logfile" 2>&1 </dev/null &
|
|
||||||
./librewolf --detach --class "LibreWolf" > /dev/null 2>&1 </dev/null &
|
|
||||||
|
|
||||||
exit $?
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=LibreWolf
|
|
||||||
GenericName=Web Browser
|
|
||||||
Comment=LibreWolf Browser
|
|
||||||
Categories=Network;WebBrowser;Security;
|
|
||||||
Exec=MYDIR/./start-librewolf
|
|
||||||
X-TorBrowser-ExecShell=MYDIR/./start-librewolf
|
|
||||||
Icon=MYDIR/./browser/chrome/icons/default/default64.png
|
|
||||||
StartupWMClass=LibreWolf
|
|
||||||
556
build.sh
556
build.sh
|
|
@ -1,556 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# build.sh - build librewolf on windows
|
|
||||||
# derived from https://gitlab.com/librewolf-community/browser/linux/-/blob/master/PKGBUILD
|
|
||||||
#
|
|
||||||
# This script is set up like a Makefile, it's a list of functions that perform a
|
|
||||||
# certain sub-task, that function can be called as a commandline argument to the script.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
pkgver=87.0
|
|
||||||
|
|
||||||
#
|
|
||||||
# Dependencies for linux/freebsd.
|
|
||||||
#
|
|
||||||
|
|
||||||
deps_deb() {
|
|
||||||
echo "deps_deb: begin."
|
|
||||||
deps="python3 python3-distutils clang pkg-config libpulse-dev gcc curl wget nodejs libpango1.0-dev nasm yasm zip m4 libgtk-3-dev libgtk2.0-dev libdbus-glib-1-dev libxt-dev"
|
|
||||||
apt -y install $deps
|
|
||||||
echo "deps_deb: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
deps_rpm() {
|
|
||||||
echo "deps_rpm: begin."
|
|
||||||
deps="python3 python3-distutils-extra clang pkg-config gcc curl wget nodejs nasm yasm zip m4 python3-zstandard python-zstandard python-devel python3-devel gtk3-devel llvm gtk2-devel dbus-glib-devel libXt-devel pulseaudio-libs-devel"
|
|
||||||
dnf -y install $deps
|
|
||||||
echo "deps_rpm: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
deps_pkg() {
|
|
||||||
echo "deps_pkg: begin."
|
|
||||||
deps="wget gmake m4 python3 py37-sqlite3 pkgconf llvm node nasm zip unzip yasm"
|
|
||||||
pkg install $deps
|
|
||||||
echo "deps_pkg: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# Basic functionality
|
|
||||||
#
|
|
||||||
|
|
||||||
clean() {
|
|
||||||
echo "clean: begin."
|
|
||||||
|
|
||||||
echo "Deleting firefox-${pkgver} ..."
|
|
||||||
rm -rf firefox-$pkgver
|
|
||||||
|
|
||||||
echo "Deleting other cruft ..."
|
|
||||||
rm -rf librewolf
|
|
||||||
rm -f firefox-$pkgver.source.tar.xz
|
|
||||||
rm -f mozconfig
|
|
||||||
rm -f *.patch
|
|
||||||
|
|
||||||
# windows
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64.zip
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64-setup.exe
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64-experimental.zip
|
|
||||||
rm -f librewolf-$pkgver.en-US.win64-experimental-setup.exe
|
|
||||||
rm -f tmp.nsi tmp-experimental.nsi
|
|
||||||
|
|
||||||
# linux
|
|
||||||
rm -f librewolf-$pkgver.en-US.deb.zip
|
|
||||||
rm -f librewolf-$pkgver.en-US.deb-experimental.zip
|
|
||||||
rm -f librewolf-$pkgver.en-US.rpm.zip
|
|
||||||
|
|
||||||
echo "clean: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
fetch() {
|
|
||||||
echo "fetch: begin."
|
|
||||||
|
|
||||||
# fetch the firefox source.
|
|
||||||
rm -f firefox-$pkgver.source.tar.xz
|
|
||||||
echo "Downloading firefox-$pkgver.source.tar.xz ..."
|
|
||||||
wget -q https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -f firefox-$pkgver.source.tar.xz ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo "fetch: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extract() {
|
|
||||||
echo "extract: begin."
|
|
||||||
|
|
||||||
echo "Deleting previous firefox-${pkgver} ..."
|
|
||||||
rm -rf firefox-$pkgver
|
|
||||||
|
|
||||||
echo "Extracting firefox-$pkgver.source.tar.xz ..."
|
|
||||||
tar xf firefox-$pkgver.source.tar.xz
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo "extract: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# LibreWolf specific mozconfig and patches
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
create_mozconfig() {
|
|
||||||
cat >../mozconfig <<END
|
|
||||||
ac_add_options --enable-application=browser
|
|
||||||
|
|
||||||
# This supposedly speeds up compilation (We test through dogfooding anyway)
|
|
||||||
ac_add_options --disable-tests
|
|
||||||
ac_add_options --disable-debug
|
|
||||||
|
|
||||||
ac_add_options --enable-release
|
|
||||||
ac_add_options --enable-hardening
|
|
||||||
ac_add_options --enable-rust-simd
|
|
||||||
ac_add_options --enable-optimize
|
|
||||||
|
|
||||||
|
|
||||||
# Branding
|
|
||||||
ac_add_options --enable-update-channel=release
|
|
||||||
# theming bugs: ac_add_options --with-app-name=librewolf
|
|
||||||
# theming bugs: ac_add_options --with-app-basename=LibreWolf
|
|
||||||
ac_add_options --with-branding=browser/branding/librewolf
|
|
||||||
ac_add_options --with-distribution-id=io.gitlab.librewolf-community
|
|
||||||
ac_add_options --with-unsigned-addon-scopes=app,system
|
|
||||||
ac_add_options --allow-addon-sideload
|
|
||||||
export MOZ_REQUIRE_SIGNING=0
|
|
||||||
|
|
||||||
# Features
|
|
||||||
ac_add_options --disable-crashreporter
|
|
||||||
ac_add_options --disable-updater
|
|
||||||
|
|
||||||
# Disables crash reporting, telemetry and other data gathering tools
|
|
||||||
mk_add_options MOZ_CRASHREPORTER=0
|
|
||||||
mk_add_options MOZ_DATA_REPORTING=0
|
|
||||||
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
|
|
||||||
mk_add_options MOZ_TELEMETRY_REPORTING=0
|
|
||||||
|
|
||||||
# first attempt to fix the win32 vcredist issue results in build errors..
|
|
||||||
#WIN32_REDIST_DIR=$VCINSTALLDIR\redist\x86\Microsoft.VC141.CRT
|
|
||||||
END
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
do_patches() {
|
|
||||||
echo "do_patches: begin."
|
|
||||||
|
|
||||||
# get the patches
|
|
||||||
echo 'Getting patches...'
|
|
||||||
rm -f context-menu.patch megabar.patch mozilla-vpn-ad.patch remove_addons.patch unity-menubar.patch
|
|
||||||
|
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/context-menu.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -f context-menu.patch ]; then exit 1; fi
|
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/megabar.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -f megabar.patch ]; then exit 1; fi
|
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/mozilla-vpn-ad.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -f mozilla-vpn-ad.patch ]; then exit 1; fi
|
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/remove_addons.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
if [ ! -f remove_addons.patch ]; then exit 1; fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
echo 'Applying patches...'
|
|
||||||
|
|
||||||
# context-menu.patch megabar.patch mozilla-vpn-ad.patch remove_addons.patch unity-menubar.patch
|
|
||||||
patch -p1 -i ../context-menu.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../megabar.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../mozilla-vpn-ad.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../remove_addons.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
|
|
||||||
echo 'Creating mozconfig...'
|
|
||||||
|
|
||||||
create_mozconfig
|
|
||||||
# just a straight copy for now..
|
|
||||||
cp -v ../mozconfig .
|
|
||||||
|
|
||||||
echo 'GNU sed patches...'
|
|
||||||
|
|
||||||
patch -p1 -i ../patches/sed-patches/allow-searchengines-non-esr.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/sed-patches/disable-pocket.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/sed-patches/remove-internal-plugin-certs.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
patch -p1 -i ../patches/sed-patches/stop-undesired-requests.patch
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo 'Copy librewolf branding files...'
|
|
||||||
|
|
||||||
# copy branding resources
|
|
||||||
cp -vr ../common/source_files/* ./
|
|
||||||
# new branding stuff
|
|
||||||
cp -v ../branding_files/configure.sh browser/branding/librewolf
|
|
||||||
|
|
||||||
echo 'Local patches...'
|
|
||||||
|
|
||||||
# local patches
|
|
||||||
patch -p1 -i ../patches/browser-confvars.patch # not sure about this one yet!
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "do_patches: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
|
||||||
echo "build: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
./mach build
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "build: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
artifacts_win() {
|
|
||||||
echo "artifacts_win: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
./mach package
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "artifacts_win: Creating final artifacts."
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# there is just too much garbage in this installer function to
|
|
||||||
# have it all here..
|
|
||||||
. ../artifacts_win.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "artifacts_win: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
artifacts_deb()
|
|
||||||
{
|
|
||||||
echo "artifacts_deb: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
./mach package
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "artifacts_deb: Creating final artifacts."
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
. ../artifacts_deb.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "artifacts_deb: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
artifacts_rpm()
|
|
||||||
{
|
|
||||||
echo "artifacts_rpm: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
./mach package
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "artifacts_rpm: Creating final artifacts."
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
. ../artifacts_rpm.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "artifacts_rpm: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rustup() {
|
|
||||||
# rust needs special love: https://www.atechtown.com/install-rust-language-on-debian-10/
|
|
||||||
echo "rustup: begin."
|
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
|
||||||
. $HOME/.cargo/env
|
|
||||||
cargo install cbindgen
|
|
||||||
echo "rustup: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
mach_env() {
|
|
||||||
echo "mach_env: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
./mach create-mach-environment
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
cd ..
|
|
||||||
echo "mach_env: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
git_subs() {
|
|
||||||
echo "git_subs: begin."
|
|
||||||
git submodule update --recursive
|
|
||||||
git submodule foreach git merge origin master
|
|
||||||
echo "git_subs: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# Experimental configuration options
|
|
||||||
#
|
|
||||||
|
|
||||||
config_diff() {
|
|
||||||
pushd settings > /dev/null
|
|
||||||
cp "/c/Program Files/LibreWolf/librewolf.cfg" librewolf.cfg
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
git diff librewolf.cfg > ../patches/experimental/librewolf-config.patch
|
|
||||||
git diff librewolf.cfg
|
|
||||||
git checkout librewolf.cfg > /dev/null 2>&1
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
policies_diff() {
|
|
||||||
pushd settings/distribution > /dev/null
|
|
||||||
cp "/c/Program Files/LibreWolf/distribution/policies.json" policies.json
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
git diff policies.json > ../../patches/experimental/librewolf-policies.patch
|
|
||||||
git diff policies.json
|
|
||||||
git checkout policies.json > /dev/null 2>&1
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
git_init() {
|
|
||||||
echo "git_init: begin."
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
|
||||||
cd firefox-$pkgver
|
|
||||||
|
|
||||||
echo "Removing old .git folder..."
|
|
||||||
rm -rf .git
|
|
||||||
|
|
||||||
echo "Creating new .git folder..."
|
|
||||||
git init
|
|
||||||
git config core.safecrlf false
|
|
||||||
git config commit.gpgsign false
|
|
||||||
git add -f * .[a-z]*
|
|
||||||
git commit -am 'Initial commit'
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
echo "git_init: done."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# windows: change $PATH to find all the build tools in .mozbuild
|
|
||||||
# this might do the trick on macos aswell?
|
|
||||||
if [ -f '/c/mozilla-build/start-shell.bat' ]; then
|
|
||||||
export TPATH=$HOME/.mozbuild/clang/bin:$HOME/.mozbuild/cbindgen:$HOME/.mozbuild/node:$HOME/.mozbuild/nasm
|
|
||||||
export PATH=$TPATH:$PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f "$HOME/.cargo/env" ]; then
|
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# process commandline arguments and do something
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
done_something=0
|
|
||||||
|
|
||||||
# various administrative actions...
|
|
||||||
|
|
||||||
if [[ "$*" == *clean* ]]; then
|
|
||||||
clean
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *all* ]]; then
|
|
||||||
fetch
|
|
||||||
extract
|
|
||||||
do_patches
|
|
||||||
build
|
|
||||||
experimental=experimental
|
|
||||||
artifacts_win
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *git_subs* ]]; then
|
|
||||||
git_subs
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *rustup* ]]; then
|
|
||||||
rustup
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *mach_env* ]]; then
|
|
||||||
mach_env
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# dependencies on various platforms...
|
|
||||||
|
|
||||||
if [[ "$*" == *deps_deb* ]]; then
|
|
||||||
deps_deb
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *deps_rpm* ]]; then
|
|
||||||
deps_rpm
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *deps_pkg* ]]; then
|
|
||||||
deps_pkg
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# main building actions...
|
|
||||||
|
|
||||||
if [[ "$*" == *fetch* ]]; then
|
|
||||||
fetch
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *extract* ]]; then
|
|
||||||
extract
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *do_patches* ]]; then
|
|
||||||
do_patches
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *git_init* ]]; then
|
|
||||||
git_init
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *build* ]]; then
|
|
||||||
build
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# creating the artifacts...
|
|
||||||
|
|
||||||
if [[ "$*" == *artifacts_exp* ]]; then
|
|
||||||
experimental=experimental
|
|
||||||
artifacts_win
|
|
||||||
done_something=1
|
|
||||||
else
|
|
||||||
if [[ "$*" == *artifacts_win* ]]; then
|
|
||||||
artifacts_win
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *artifacts_deb_exp* ]]; then
|
|
||||||
experimental=experimental
|
|
||||||
artifacts_deb
|
|
||||||
done_something=1
|
|
||||||
else
|
|
||||||
if [[ "$*" == *artifacts_deb* ]]; then
|
|
||||||
artifacts_deb
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *artifacts_rpm_exp* ]]; then
|
|
||||||
experimental=experimental
|
|
||||||
artifacts_rpm
|
|
||||||
done_something=1
|
|
||||||
else
|
|
||||||
if [[ "$*" == *artifacts_rpm* ]]; then
|
|
||||||
artifacts_rpm
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# librewolf.cfg and policies.json differences
|
|
||||||
|
|
||||||
if [[ "$*" == *config_diff* ]]; then
|
|
||||||
config_diff
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *policies_diff* ]]; then
|
|
||||||
policies_diff
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
if [[ "$*" == *mach_run_config* ]]; then
|
|
||||||
cp -r settings/* $(echo firefox-$pkgver/obj-*)/dist/bin
|
|
||||||
done_something=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# by default, give help..
|
|
||||||
if (( done_something == 0 )); then
|
|
||||||
cat << EOF
|
|
||||||
Use: ./build.sh fetch extract do_patches build artifacts_win
|
|
||||||
|
|
||||||
fetch - fetch the tarball.
|
|
||||||
extract - extract the tarball.
|
|
||||||
do_patches - create a mozconfig, and patch the source.
|
|
||||||
build - the actual build.
|
|
||||||
artifacts_win - apply .cfg, build the zip file and NSIS setup.exe installer.
|
|
||||||
artifacts_exp - package as above, but use the experimental config/policies.
|
|
||||||
|
|
||||||
Linux related functions:
|
|
||||||
|
|
||||||
deps_deb - install dependencies with apt.
|
|
||||||
deps_rpm - install dependencies with dnf.
|
|
||||||
deps_pkg - install dependencies with pkg.
|
|
||||||
artifacts_deb - apply .cfg, create a dist zip file (for debian10).
|
|
||||||
artifacts_deb_exp - include experimental build.
|
|
||||||
artifacts_rpm - apply .cfg, create a dist zip file (for fedora33).
|
|
||||||
artifacts_rpm_exp - include experimental build.
|
|
||||||
|
|
||||||
Generic utility functionality:
|
|
||||||
|
|
||||||
mach_env - create mach build environment.
|
|
||||||
rustup - perform a rustup for this user.
|
|
||||||
|
|
||||||
clean - remove generated cruft.
|
|
||||||
all - build all, produce all artifacts including -experimental.
|
|
||||||
git_subs - update git submodules.
|
|
||||||
config_diff - diff between my .cfg and dist .cfg file. (win10)
|
|
||||||
policies_diff - diff between my policies and the dist policies. (win10)
|
|
||||||
git_init - create .git folder in firefox-$pkgver for creating patches.
|
|
||||||
mach_run_config - copy librewolf config/policies to enable 'mach run'.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
|
|
||||||
For windows, use:
|
|
||||||
./build.sh fetch extract do_patches build artifacts_win
|
|
||||||
|
|
||||||
For debian, use:
|
|
||||||
sudo ./build.sh deps_deb
|
|
||||||
./build.sh rustup mach_env
|
|
||||||
./build.sh fetch extract do_patches build artifacts_deb
|
|
||||||
|
|
||||||
EOF
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
1
common
1
common
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 9120ca6c6709673b0188a081ec6383c4db75d169
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
diff --git a/browser/confvars.sh b/browser/confvars.sh
|
|
||||||
index 92871c9516..1e151180dd 100644
|
|
||||||
--- a/browser/confvars.sh
|
|
||||||
+++ b/browser/confvars.sh
|
|
||||||
@@ -3,8 +3,10 @@
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
-MOZ_APP_VENDOR=Mozilla
|
|
||||||
-MOZ_UPDATER=1
|
|
||||||
+MOZ_APP_BASENAME=LibreWolf
|
|
||||||
+MOZ_APP_VENDOR="LibreWolf Community"
|
|
||||||
+
|
|
||||||
+MOZ_UPDATER=0
|
|
||||||
|
|
||||||
if test "$OS_ARCH" = "WINNT"; then
|
|
||||||
if ! test "$HAVE_64BIT_BUILD"; then
|
|
||||||
@@ -34,8 +36,8 @@ BROWSER_CHROME_URL=chrome://browser/content/browser.xhtml
|
|
||||||
# For mozilla-beta, mozilla-release, or mozilla-central repositories, use
|
|
||||||
# "unofficial" branding.
|
|
||||||
# For the mozilla-aurora repository, use "aurora".
|
|
||||||
-MOZ_BRANDING_DIRECTORY=browser/branding/unofficial
|
|
||||||
-MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
|
|
||||||
+MOZ_BRANDING_DIRECTORY=browser/branding/librewolf
|
|
||||||
+MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/librewolf
|
|
||||||
MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
|
||||||
|
|
||||||
MOZ_PROFILE_MIGRATOR=1
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# current differences between -release and -experimental
|
|
||||||
|
|
||||||
## librewolf.cfg:
|
|
||||||
|
|
||||||
* lockPref("dom.w3c_pointer_events.enabled", true); -> This fixes YouTube picture-in-picture.
|
|
||||||
* defaultPref("dom.event.contextmenu.enabled", true); -> This fixes lastpass.com context menu.
|
|
||||||
* defaultPref("extensions.update.url", ""); -> enable in-app check manual check for extension updates.
|
|
||||||
|
|
||||||
|
|
||||||
## policies.json
|
|
||||||
|
|
||||||
* Added the decentraleyes plugin.
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
diff --git a/librewolf.cfg b/librewolf.cfg
|
|
||||||
index 1ad0cea..0d9df09 100644
|
|
||||||
--- a/librewolf.cfg
|
|
||||||
+++ b/librewolf.cfg
|
|
||||||
@@ -389,7 +389,7 @@ defaultPref("extensions.ui.experiment.hidden", false);
|
|
||||||
lockPref("dom.indexedDB.enabled", true); //default true
|
|
||||||
//lockPref("dom.indexedDB.logging.details", false); //default true
|
|
||||||
//lockPref("dom.indexedDB.logging.enabled", false); //default true
|
|
||||||
-lockPref("dom.w3c_pointer_events.enabled", false);
|
|
||||||
+lockPref("dom.w3c_pointer_events.enabled", true);
|
|
||||||
//lockPref("network.http.spdy.enabled", false);
|
|
||||||
//lockPref("network.http.spdy.enabled.deps", false);
|
|
||||||
//lockPref("network.http.spdy.enabled.http2", false);
|
|
||||||
@@ -932,7 +932,7 @@ lockPref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "");
|
|
||||||
// https://accounts.firefox.com/
|
|
||||||
|
|
||||||
// Pref :
|
|
||||||
-defaultPref("extensions.update.url", "");
|
|
||||||
+//defaultPref("extensions.update.url", "");
|
|
||||||
// Default Value
|
|
||||||
// https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=
|
|
||||||
// %REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=
|
|
||||||
@@ -1804,7 +1804,7 @@ lockPref("datareporting.healthreport.uploadEnabled", false);
|
|
||||||
lockPref("datareporting.policy.dataSubmissionEnabled", false);
|
|
||||||
|
|
||||||
// Pref : Disable right-click menu manipulation via JavaScript (disabled)
|
|
||||||
-defaultPref("dom.event.contextmenu.enabled", false);
|
|
||||||
+defaultPref("dom.event.contextmenu.enabled", true);
|
|
||||||
|
|
||||||
// Pref : Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
|
|
||||||
// Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in
|
|
||||||
@@ -2773,3 +2773,10 @@ defaultPref("devtools.selfxss.count", 0);
|
|
||||||
// enable HTTPS only mode by default
|
|
||||||
defaultPref("dom.security.https_only_mode", true);
|
|
||||||
defaultPref("dom.security.https_only_mode_ever_enabled", true);
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+// attempting new cookie behavior (use Settings > Cookies and Site Data > Manage Exceptions)
|
|
||||||
+// (please not that after you added a site, you must close LibreWolf before the cookies/etc are actually saved.)
|
|
||||||
+defaultPref("privacy.clearOnShutdown.cookies", false);
|
|
||||||
+defaultPref("privacy.clearOnShutdown.offlineApps", false);
|
|
||||||
+defaultPref("network.cookie.lifetimePolicy", 2);
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
diff --git a/distribution/policies.json b/distribution/policies.json
|
|
||||||
index 7f7e822..154db6e 100644
|
|
||||||
--- a/distribution/policies.json
|
|
||||||
+++ b/distribution/policies.json
|
|
||||||
@@ -62,7 +62,8 @@
|
|
||||||
|
|
||||||
"Extensions": {
|
|
||||||
"Install": [
|
|
||||||
- "https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-1.33.2-an+fx.xpi"
|
|
||||||
+ "https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-1.33.2-an+fx.xpi",
|
|
||||||
+ "https://addons.mozilla.org/firefox/downloads/file/3672658/decentraleyes-2.0.15-an+fx.xpi"
|
|
||||||
],
|
|
||||||
"Uninstall": [
|
|
||||||
"google@search.mozilla.org",
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/browser/components/enterprisepolicies/schemas/policies-schema.json b/browser/components/enterprisepolicies/schemas/policies-schema.json
|
|
||||||
index d436cf1ca1..ecd6e53b9e 100644
|
|
||||||
--- a/browser/components/enterprisepolicies/schemas/policies-schema.json
|
|
||||||
+++ b/browser/components/enterprisepolicies/schemas/policies-schema.json
|
|
||||||
@@ -1074,7 +1074,7 @@
|
|
||||||
},
|
|
||||||
|
|
||||||
"SearchEngines": {
|
|
||||||
- "enterprise_only": true,
|
|
||||||
+ "enterprise_only": false,
|
|
||||||
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm
|
|
||||||
index 81de0fb201..163b4843e4 100644
|
|
||||||
--- a/browser/components/BrowserGlue.jsm
|
|
||||||
+++ b/browser/components/BrowserGlue.jsm
|
|
||||||
@@ -1375,8 +1375,6 @@ BrowserGlue.prototype = {
|
|
||||||
Normandy.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
- SaveToPocket.init();
|
|
||||||
-
|
|
||||||
AboutHomeStartupCache.init();
|
|
||||||
|
|
||||||
Services.obs.notifyObservers(null, "browser-ui-startup-complete");
|
|
||||||
diff --git a/browser/components/moz.build b/browser/components/moz.build
|
|
||||||
index d16b27b1ea..a119166fa5 100644
|
|
||||||
--- a/browser/components/moz.build
|
|
||||||
+++ b/browser/components/moz.build
|
|
||||||
@@ -42,7 +42,6 @@ DIRS += [
|
|
||||||
"originattributes",
|
|
||||||
"ion",
|
|
||||||
"places",
|
|
||||||
- "pocket",
|
|
||||||
"preferences",
|
|
||||||
"privatebrowsing",
|
|
||||||
"prompts",
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
diff --git a/toolkit/mozapps/extensions/internal/XPIInstall.jsm b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
|
|
||||||
index 784077b740..e035b3ba6d 100644
|
|
||||||
--- a/toolkit/mozapps/extensions/internal/XPIInstall.jsm
|
|
||||||
+++ b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
|
|
||||||
@@ -822,14 +822,6 @@ function getSignedStatus(aRv, aCert, aAddonID) {
|
|
||||||
return AddonManager.SIGNEDSTATE_BROKEN;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (aCert.organizationalUnit == "Mozilla Components") {
|
|
||||||
- return AddonManager.SIGNEDSTATE_SYSTEM;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- if (aCert.organizationalUnit == "Mozilla Extensions") {
|
|
||||||
- return AddonManager.SIGNEDSTATE_PRIVILEGED;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
return /preliminary/i.test(aCert.organizationalUnit)
|
|
||||||
? AddonManager.SIGNEDSTATE_PRELIMINARY
|
|
||||||
: AddonManager.SIGNEDSTATE_SIGNED;
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
diff --git a/browser/components/newtab/data/content/activity-stream.bundle.js b/browser/components/newtab/data/content/activity-stream.bundle.js
|
|
||||||
index 92f0652aec..696a99f7ef 100644
|
|
||||||
--- a/browser/components/newtab/data/content/activity-stream.bundle.js
|
|
||||||
+++ b/browser/components/newtab/data/content/activity-stream.bundle.js
|
|
||||||
@@ -1841,7 +1841,7 @@ class ASRouterAdminInner extends react__WEBPACK_IMPORTED_MODULE_3___default.a.Pu
|
|
||||||
label = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", null, "remote settings (", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("a", {
|
|
||||||
className: "providerUrl",
|
|
||||||
target: "_blank",
|
|
||||||
- href: "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-experiments/records",
|
|
||||||
+ href: "https://f.s.s.m.c.qjz9zk/v1/buckets/main/collections/nimbus-desktop-experiments/records",
|
|
||||||
rel: "noopener noreferrer"
|
|
||||||
}, "nimbus-desktop-experiments"), ")");
|
|
||||||
}
|
|
||||||
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
|
|
||||||
index c7cde8917c..b398a22064 100644
|
|
||||||
--- a/modules/libpref/init/all.js
|
|
||||||
+++ b/modules/libpref/init/all.js
|
|
||||||
@@ -2243,7 +2243,7 @@ pref("security.cert_pinning.hpkp.enabled", false);
|
|
||||||
// Remote settings preferences
|
|
||||||
// Note: if you change this, make sure to also review security.onecrl.maximum_staleness_in_seconds
|
|
||||||
pref("services.settings.poll_interval", 86400); // 24H
|
|
||||||
-pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1");
|
|
||||||
+pref("services.settings.server", "https://f.s.s.m.c.qjz9zk/v1");
|
|
||||||
pref("services.settings.default_bucket", "main");
|
|
||||||
|
|
||||||
// The percentage of clients who will report uptake telemetry as
|
|
||||||
diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm
|
|
||||||
index 66df850904..1538a2ff0d 100644
|
|
||||||
--- a/services/settings/Utils.jsm
|
|
||||||
+++ b/services/settings/Utils.jsm
|
|
||||||
@@ -60,7 +60,7 @@ var Utils = {
|
|
||||||
);
|
|
||||||
const isXpcshell = env.exists("XPCSHELL_TEST_PROFILE_DIR");
|
|
||||||
return AppConstants.RELEASE_OR_BETA && !Cu.isInAutomation && !isXpcshell
|
|
||||||
- ? "https://firefox.settings.services.mozilla.com/v1"
|
|
||||||
+ ? "https://f.s.s.m.c.qjz9zk/v1"
|
|
||||||
: gServerURL;
|
|
||||||
},
|
|
||||||
|
|
||||||
diff --git a/toolkit/components/search/SearchUtils.jsm b/toolkit/components/search/SearchUtils.jsm
|
|
||||||
index 8a3c6acb84..7408b3fd2f 100644
|
|
||||||
--- a/toolkit/components/search/SearchUtils.jsm
|
|
||||||
+++ b/toolkit/components/search/SearchUtils.jsm
|
|
||||||
@@ -159,9 +159,9 @@ var SearchUtils = {
|
|
||||||
|
|
||||||
ENGINES_URLS: {
|
|
||||||
"prod-main":
|
|
||||||
- "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/search-config/records",
|
|
||||||
+ "https://f.s.s.m.c.qjz9zk/v1/buckets/main/collections/search-config/records",
|
|
||||||
"prod-preview":
|
|
||||||
- "https://firefox.settings.services.mozilla.com/v1/buckets/main-preview/collections/search-config/records",
|
|
||||||
+ "https://f.s.s.m.c.qjz9zk/v1/buckets/main-preview/collections/search-config/records",
|
|
||||||
"stage-main":
|
|
||||||
"https://settings.stage.mozaws.net/v1/buckets/main/collections/search-config/records",
|
|
||||||
"stage-preview":
|
|
||||||
1
settings
1
settings
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 9ba36a97a914a9ec96860c836d420baacbb3bd66
|
|
||||||
Loading…
Add table
Reference in a new issue