Compare commits

..

317 commits

Author SHA1 Message Date
Bert van der Weerd
5cc029bd41
Update file README.md 2023-04-30 15:00:06 +02:00
Bert van der Weerd
9f347e1fa9
Update file README.md 2023-04-30 14:22:40 +02:00
stanzabird
531d6d5d8a Update file README.md 2023-04-30 12:19:55 +00:00
Bert van der Weerd
264e65b71a
Thu Apr 20 10:55:46 AM CEST 2023 2023-04-20 10:55:46 +02:00
Bert van der Weerd
855ab1b658
archived attic/librewolf-portable 2023-04-20 10:53:50 +02:00
Bert van der Weerd
9ff7404248
Thu Apr 20 10:51:12 AM CEST 2023 2023-04-20 10:51:12 +02:00
Bert van der Weerd
b8eb667f83
big cleanup 2023-04-20 10:49:40 +02:00
Bert van der Weerd
36da860f4b
Thu Apr 20 10:25:52 AM CEST 2023 2023-04-20 10:25:52 +02:00
Bert van der Weerd
69ef35c946
Thu Apr 20 10:25:43 AM CEST 2023 2023-04-20 10:25:43 +02:00
Guillaume
dafc371cf5 Update README.md to correct the information about the AutoHotkey scripts (LW Portable and WinUpdater) 2023-04-11 20:16:28 +00:00
Bert van der Weerd
70b155aca4
Fri Feb 24 07:29:33 PM CET 2023 2023-02-24 19:29:33 +01:00
Bert van der Weerd
7cc528056c
Fri Feb 24 07:24:59 PM CET 2023 2023-02-24 19:24:59 +01:00
Bert van der Weerd
c3af9a1a70
Fri Feb 24 06:50:08 PM CET 2023 2023-02-24 18:50:09 +01:00
Bert van der Weerd
38cb5b9e02
Fri Feb 24 06:14:14 PM CET 2023 2023-02-24 18:14:14 +01:00
Bert van der Weerd
b799f288ea
Fri Feb 24 05:48:01 PM CET 2023 2023-02-24 17:48:01 +01:00
Bert van der Weerd
d3e0b0661f
Fri Feb 24 05:24:46 PM CET 2023 2023-02-24 17:24:46 +01:00
Bert van der Weerd
0bd5407d46
Fri Feb 24 02:27:47 PM CET 2023 2023-02-24 14:27:47 +01:00
Bert van der Weerd
420f1540b7
Fri Feb 24 02:19:53 PM CET 2023 2023-02-24 14:19:53 +01:00
Bert van der Weerd
5fd44e22af
now using ohfp package method with curl 2023-02-18 22:00:00 +01:00
Bert van der Weerd
b3b007f171
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2023-02-17 19:56:00 +01:00
Bert van der Weerd
f4d764eb5e
fixups and winbuild/version update to v110.0-1 2023-02-17 19:55:52 +01:00
Bert van der Weerd
59547ac198 this builds for v110.0-1 2023-02-17 13:46:39 +01:00
Bert van der Weerd
1838a4cb18 fix 2023-02-17 10:23:03 +01:00
Bert van der Weerd
33336b6ac7
Fri Feb 17 10:14:49 AM CET 2023 2023-02-17 10:14:49 +01:00
Bert van der Weerd
5f1dfb584c
Fri Feb 17 09:26:49 AM CET 2023 2023-02-17 09:26:49 +01:00
Bert van der Weerd
a58e35af23
building natively under arch also fails 2023-02-17 08:54:13 +01:00
stanzabird
89efcf05ac fix 2023-02-16 21:03:05 +00:00
stanzabird
367b8a539c Update file Makefile 2023-02-16 21:02:29 +00:00
Bert van der Weerd
578c8fc99f
Thu Feb 16 09:50:45 PM CET 2023 2023-02-16 21:50:45 +01:00
stanzabird
bab3935d59 Update file Dockerfile 2023-02-16 20:38:47 +00:00
stanzabird
3ddf557f91 Update file Dockerfile 2023-02-16 20:32:37 +00:00
Bert van der Weerd
0fb55b6836
Thu Feb 16 09:26:41 PM CET 2023 2023-02-16 21:26:41 +01:00
stanzabird
70f74b8551 Update file Dockerfile 2023-02-16 20:08:28 +00:00
33821c6166
Revert all the stuff I changed 2023-02-16 11:11:34 +01:00
bbd7554753
Revert "test"
This reverts commit dd67d03258.
2023-02-16 00:44:01 +01:00
dd67d03258
test 2023-02-16 00:34:33 +01:00
654646ef5b
fix another lowercase path 2023-02-16 00:22:48 +01:00
98975b69ff
test 2023-02-16 00:12:29 +01:00
eeac2ffed7
fix (maybe) 2023-02-15 23:39:32 +01:00
8e3c9ccd09
linux64-liblowercase doesn't seem to be needed anymore 2023-02-15 18:41:34 +01:00
88bd02314a
fix download link 2023-02-15 18:28:21 +01:00
bbb00255ea
testing 2023-02-15 18:25:49 +01:00
Bert van der Weerd
5111065312
added buildsymbols target to resolve issue windows#217 2023-02-13 10:40:46 +01:00
Bert van der Weerd
8da4524d85
moved some more stuff to the target 2023-02-11 11:36:11 +01:00
Bert van der Weerd
746d573cf3
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2023-02-11 11:27:04 +01:00
Bert van der Weerd
e35f1aad69
first try on the ahk-tools 2023-02-11 11:26:56 +01:00
stanzabird
8fea42eb78 Added ahk-tools section 2023-02-11 10:19:23 +00:00
Bert van der Weerd
c8db5e4845
Thu Feb 9 12:08:09 AM CET 2023 2023-02-09 00:08:09 +01:00
Bert van der Weerd
f891157b95
fix merge conflict 2023-02-08 07:48:56 +01:00
Bert van der Weerd
dbb4d7ba66
lets no longer ignore the exit code from wineconsole and see if that improves the error log 2023-02-08 07:46:07 +01:00
stanzabird
7195223960 tryiing with curses backend 2023-02-08 04:51:28 +00:00
stanzabird
f3a1a4faa2 let's not check for executables 2023-02-07 22:01:06 +00:00
stanzabird
adfc097a38 remove win62 wine config dir 2023-02-07 21:07:32 +00:00
Bert van der Weerd
93965f80c8
Tue Feb 7 08:40:20 PM CET 2023 2023-02-07 20:40:20 +01:00
Bert van der Weerd
920e8cb424
Tue Feb 7 06:41:53 PM CET 2023 2023-02-07 18:41:53 +01:00
Bert van der Weerd
fca838f507
added check for existence of autohotkey executables 2023-02-07 15:11:12 +01:00
Bert van der Weerd
2f61f8e9e2
Tue Feb 7 02:39:05 PM CET 2023 2023-02-07 14:39:05 +01:00
Bert van der Weerd
8f61f1a1fb
removed icon parameters 2023-02-05 16:07:19 +01:00
Bert van der Weerd
91b0eaf892
just ignore wineconsole exit status for now 2023-02-04 12:59:25 +01:00
Bert van der Weerd
5086a71785
removed .ini from the portable zip 2023-02-03 16:53:16 +01:00
Bert van der Weerd
b10bbadf70
wine32 - 2023-02-03 11:42:26 +01:00
Bert van der Weerd
8e14a9f643
bump to v109.0-1 2023-01-17 14:25:04 +01:00
Bert van der Weerd
d70d906de8
added LibreWolf-WinUpdater.ini file to prevent update on first run 2023-01-17 13:01:32 +01:00
Bert van der Weerd
bc0c65f3df
Mon Jan 16 12:00:44 PM CET 2023 2023-01-16 12:00:44 +01:00
Bert van der Weerd
4c20e73711
Mon Jan 16 11:57:55 AM CET 2023 2023-01-16 11:57:55 +01:00
Bert van der Weerd
4b82f6e8d0
bump to upstream 108.0.2 2023-01-11 21:09:40 +01:00
Bert van der Weerd
e35068cf3d
Sun 18 Dec 2022 10:02:23 AM CET 2022-12-18 10:02:23 +01:00
Bert van der Weerd
45fe3129c9
Wed 14 Dec 2022 06:24:24 PM CET 2022-12-14 18:24:24 +01:00
Bert van der Weerd
ae482c3f6b
Sat 03 Dec 2022 04:48:05 PM CET 2022-12-03 16:48:05 +01:00
Bert van der Weerd
b48bef9ac5
bump to version 197.0-1 2022-11-18 09:46:45 +01:00
Bert van der Weerd
3118747d0b
bump to version 106.0.5-1 2022-11-05 16:13:10 +01:00
Bert van der Weerd
11864a2395
bump to version 106.0.4-1 2022-11-03 16:32:12 +01:00
Bert van der Weerd
705ec64d29
bump version v106.0.3-1 2022-11-01 10:36:20 +01:00
Bert van der Weerd
d276dc33d7
bump to 106.0.2 2022-10-30 15:22:43 +01:00
Bert van der Weerd
d19a684f80
remove testing flags 2022-10-22 14:34:33 +02:00
Bert van der Weerd
2001f3ddfd
testing 2022-10-21 18:40:01 +02:00
Bert van der Weerd
d74f63ae74
bump v106.0.1-1 2022-10-21 13:44:21 +02:00
Bert van der Weerd
27095a380e
add git pull command 2022-10-21 01:25:55 +02:00
Bert van der Weerd
1eae334021
using mozilla widl 2022-10-21 00:48:12 +02:00
Bert van der Weerd
2fee2fff19
now showing progress when downloading source tarball 2022-10-21 00:01:57 +02:00
Bert van der Weerd
aeb599e6a0
trying widl (emilio hint) 2022-10-20 23:54:11 +02:00
Bert van der Weerd
adce09fbe2
bump winbuild version 2022-10-20 23:33:24 +02:00
Bert van der Weerd
ea4a8b3243
revert debug build parameters 2022-10-09 12:42:19 +02:00
Bert van der Weerd
785e3a241d
debug CI 2022-10-09 11:23:53 +02:00
Bert van der Weerd
95045ac69a
removed --disable-verify-mar 2022-10-08 16:22:01 +02:00
Bert van der Weerd
67e8a14fd9
testing 2022-10-08 15:59:23 +02:00
Bert van der Weerd
c66ce4d63f
bump version to v105.0.3-1 2022-10-08 12:38:41 +02:00
Bert van der Weerd
0842264966
now the builds are in windows/winbuild 2022-10-07 20:49:51 +02:00
Bert van der Weerd
245ddc0d62
moved windows stuff to winbuild folder 2022-10-07 20:48:22 +02:00
Bert van der Weerd
266894f2f3
added docker related commands 2022-10-07 20:45:05 +02:00
Bert van der Weerd
b622286893
re-enable ac_add_options --disable_updater due to url-star-icon disappearing 2022-10-07 14:13:32 +02:00
Bert van der Weerd
8ca4ad7f31
bump version v105.0.2 2022-10-05 12:07:15 +02:00
Bert van der Weerd
af49869667
ditch this option 2022-10-01 15:30:53 +02:00
Bert van der Weerd
1b63561748
clean up linux*/assets/mozconifg 2022-10-01 15:17:38 +02:00
stanzabird
0bb1c40bdf fix unclear plugin distinction 2022-10-01 12:51:11 +00:00
Bert van der Weerd
cbae6e21a6
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-09-29 21:45:51 +02:00
Bert van der Weerd
72873723de
added .gitlab-ci.yaml for creating win64 branch 2022-09-29 21:45:42 +02:00
stanzabird
5125126dea Update linux-mar/assets/mozconfig 2022-09-29 00:08:05 +00:00
Bert van der Weerd
7e713025d6
improved tickets section 2022-09-28 23:09:39 +02:00
Bert van der Weerd
4225d3d785
removed uploading a release section 2022-09-28 23:00:21 +02:00
Bert van der Weerd
4a9aa95fd4
improved windows native section 2022-09-28 22:44:15 +02:00
Bert van der Weerd
6a06c9132a
cosmetics 2022-09-28 22:36:40 +02:00
Bert van der Weerd
1e05a22c03
moved all use-related stuff to the top 2022-09-28 21:59:06 +02:00
Bert van der Weerd
925db910be
removed community links 2022-09-28 21:54:07 +02:00
Bert van der Weerd
2232157ddf
more emphasis on auto-update plugins 2022-09-28 21:52:06 +02:00
Bert van der Weerd
95c8967a9c
depricate windows native builds 2022-09-28 21:42:00 +02:00
Bert van der Weerd
745124c791
remove help wanted section 2022-09-28 21:38:06 +02:00
Bert van der Weerd
75b604d472
bigger download link 2022-09-28 21:35:25 +02:00
Bert van der Weerd
d6b50bebf4
added blurb on Linux builds 2022-09-28 21:34:27 +02:00
Bert van der Weerd
445e09979e
adding --no-interactive when running mach to create vs tarball 2022-09-28 17:26:15 +02:00
Bert van der Weerd
50a02d8e11
added #244 to windows script 2022-09-27 09:30:12 +02:00
Bert van der Weerd
67b8a5b60d
fix typo 2022-09-27 09:23:15 +02:00
Bert van der Weerd
31fb023542
windows issue #244 2022-09-27 09:20:43 +02:00
Bert van der Weerd
bfcc829d87
added missing newline 2022-09-26 00:00:06 +02:00
Bert van der Weerd
f18a0b2393
fixed veryclean target 2022-09-25 23:54:40 +02:00
Bert van der Weerd
3c8a6d50dd
now also cleaning linux subfolders 2022-09-25 23:51:56 +02:00
Bert van der Weerd
d7f10406da
fixing mar artifact name 2022-09-25 23:42:01 +02:00
Bert van der Weerd
f84c661e1d
added wine package (for now) 2022-09-25 22:53:59 +02:00
Bert van der Weerd
78dcebb1eb
added wine as a dependency (for now) 2022-09-25 21:15:25 +02:00
Bert van der Weerd
dd49760cef
--disable-verify-mar 2022-09-25 21:10:28 +02:00
Bert van der Weerd
e4d87bb6ea
adding fetch target 2022-09-25 20:55:32 +02:00
Bert van der Weerd
61a6317a5f
added linux and linux-mar folders 2022-09-25 17:04:14 +02:00
Bert van der Weerd
7d48baebb8
v105.0.1-1 2022-09-24 09:32:14 +02:00
Bert van der Weerd
eb1a66e6bc
this stuff is missing from the theming 2022-09-23 13:52:48 +02:00
stanzabird
6ff3a792ef Update version 2022-09-22 14:07:21 +00:00
Bert van der Weerd
9a89e389fd
v104.0.2 2022-09-07 22:30:03 +02:00
stanzabird
0eefddf0f8 Update version 2022-08-27 10:26:53 +00:00
Bert van der Weerd
ea58161133
Changed README 2022-08-19 22:07:55 +02:00
Bert van der Weerd
37b33ea0ca
update to v103.0.2-1 2022-08-10 13:01:59 +02:00
Bert van der Weerd
c267440255
v103.0.1-2 2022-08-08 21:58:20 +02:00
Bert van der Weerd
19e72e78e8
prepare for v103.0.1-2 2022-08-08 21:45:34 +02:00
Bert van der Weerd
0df1ee885f
PWD on windows should not use cygwin paths 2022-08-08 21:29:36 +02:00
Bert van der Weerd
2976003f98
bump version for testing choco 2022-08-08 21:24:37 +02:00
Bert van der Weerd
df807b3ce7
restored absolute path to $PWD 2022-08-07 18:26:26 +02:00
Bert van der Weerd
6775213808
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-08-06 13:44:46 +02:00
Bert van der Weerd
15b76dfd61
removed chunk 3 2022-08-06 13:44:38 +02:00
stanzabird
90edceead9 Update source_release, version 2022-08-05 11:24:33 +00:00
Malte Jürgens
fb6eb3ab72 fix nsProcess issue 2022-07-31 18:11:35 +02:00
Malte Jürgens
34803dbebd revert changes 2022-07-31 18:11:15 +02:00
Bert van der Weerd
6e9b4c57c4
Sun 31 Jul 2022 09:34:39 AM CEST 2022-07-31 09:34:39 +02:00
Bert van der Weerd
a1339e613d
Sun 31 Jul 2022 08:27:08 AM CEST 2022-07-31 08:27:08 +02:00
Bert van der Weerd
7d208db7c4
Sat 30 Jul 2022 08:35:21 PM CEST 2022-07-30 20:35:21 +02:00
Bert van der Weerd
48b0e79d5b
v103.0-2 2022-07-28 22:54:53 +02:00
Bert van der Weerd
7e8675b828
Mon 25 Jul 2022 06:35:20 PM CEST 2022-07-25 18:35:20 +02:00
Bert van der Weerd
769f6c26f2
we dont need this anymore. revisit this later to set the right CONFIG[] 2022-07-25 18:13:59 +02:00
stanzabird
ee7cc19c6f Update version 2022-07-25 15:47:45 +00:00
stanzabird
a876d0cef6 Update README.md 2022-07-15 16:13:55 +00:00
Bert van der Weerd
f66f6f861d
v102.0.1-1 2022-07-09 12:00:32 +02:00
stanzabird
83b4c6db4d Update source_release 2022-07-01 16:10:44 +00:00
stanzabird
c41441bdbe Update version 2022-06-29 20:04:08 +00:00
Bert van der Weerd
f52a636d2d
fix l10n patch 2022-06-10 14:34:04 +02:00
Bert van der Weerd
350fba377c
v101.0.1-1 2022-06-09 23:18:27 +02:00
Bert van der Weerd
975d085961
v101.0-2 2022-06-01 17:48:54 +02:00
Bert van der Weerd
8c702fbdc5
v101.0-1 2022-06-01 14:43:01 +02:00
6b786547d9
fix NSIS welcome page strings 2022-05-31 16:20:42 +02:00
eb5236f6f2
Include Visual C++ Redistributable in Installer 2022-05-31 16:07:50 +02:00
Bert van der Weerd
e1f03e41f7
removed do_zip and added gpg signatures 2022-05-28 00:09:01 +02:00
Bert van der Weerd
e0081cf49e
added patch to allow l10n to run on windows 2022-05-25 13:53:01 +02:00
Bert van der Weerd
9709e3f62f
doing langpacks before the mk.py subcommand 2022-05-23 12:09:10 +02:00
stanzabird
5a14f06435 Update Makefile 2022-05-21 10:41:40 +00:00
stanzabird
430cda40b1 Update Makefile 2022-05-21 10:34:56 +00:00
stanzabird
762ee08b19 Update version 2022-05-21 09:02:24 +00:00
Bert van der Weerd
488bfd740d
v100.0.1-1 2022-05-15 10:24:56 +02:00
Bert van der Weerd
42b6233c55
removed MACH_USE_SYSTEM_PYTHON=1 2022-05-07 18:59:43 +02:00
Bert van der Weerd
35998e2a84
bugfxies 2022-05-06 18:34:18 +02:00
Bert van der Weerd
cba3ffd075
bugfixes 2022-05-06 10:26:46 +02:00
Bert van der Weerd
d82582a43a
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-05-06 09:18:00 +02:00
Bert van der Weerd
2ea06c6718
v100.0-3 2022-05-06 09:17:45 +02:00
35bd388d25 Ask user before closing LibreWolf in installer 2022-05-05 17:36:49 +02:00
Bert van der Weerd
709882a499
do_zip variable has disappeared, fixing that 2022-05-05 11:16:03 +02:00
38061dd0bf
disable updater in mozconfig again 2022-05-05 00:53:36 +02:00
Bert van der Weerd
6a5917ab48
v100.0-2.1-rc1 2022-05-04 22:40:16 +02:00
Bert van der Weerd
d123a737dd
added make langpacks 2022-05-04 20:21:11 +02:00
Bert van der Weerd
467e842b38
this release 1 2022-05-04 12:00:55 +02:00
Bert van der Weerd
34d3413e07
v99.0.1.2 2022-04-29 17:15:00 +02:00
Bert van der Weerd
8540016455
bugfixes 2022-04-28 20:34:22 +02:00
Bert van der Weerd
c5364490f2
serve-mar command added 2022-04-27 14:33:54 +02:00
Bert van der Weerd
44773d461d
creating mar files 2022-04-27 12:53:26 +02:00
Bert van der Weerd
e95da84da6
add --disable-verify-mar 2022-04-27 10:26:24 +02:00
Bert van der Weerd
49cc4b9813
add disable-verify-mar patch 2022-04-27 10:25:15 +02:00
Bert van der Weerd
78aad0d382
fixed the bogus check target 2022-04-27 10:10:20 +02:00
Bert van der Weerd
6cfec04701
v99.0.1 2022-04-12 13:48:41 +02:00
Bert van der Weerd
1ee0f36df4
bugfixes 2022-04-08 23:12:12 +02:00
Bert van der Weerd
7d5fecb789
v99.0 2022-04-08 13:10:14 +02:00
Bert van der Weerd
eb4a264fd8
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-04-01 18:04:05 +02:00
Bert van der Weerd
0cd22f9d3b
mk.py-commit 2022-04-01 18:03:50 +02:00
Bert van der Weerd
084a314db5
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-04-01 18:01:31 +02:00
Bert van der Weerd
db5d2ec46f
tools.py 2022-04-01 18:01:09 +02:00
Bert van der Weerd
216fb36503
now checking checksum 2022-03-26 12:59:58 +01:00
Bert van der Weerd
e23bc0cf20
v98.0.2 2022-03-24 21:46:46 +01:00
Bert van der Weerd
07973526bd
bugfixes 2022-03-24 14:21:34 +01:00
Bert van der Weerd
7f3990f182
moved old portable exe out of the way 2022-03-23 10:17:29 +01:00
Bert van der Weerd
0a68621cd0
rm todo.md 2022-03-19 23:34:07 +01:00
Bert van der Weerd
7386b46dc4
todo 2022-03-19 22:34:39 +01:00
Guillaume
c92bc88455 Add Scoop to the installation methods (was also added on librewolf.net)
Simplified description for portable
2022-03-11 11:51:56 +00:00
Brian
084116c930 Fixed shell command launcher 2022-03-11 11:48:50 +00:00
Bert van der Weerd
fc4f1e1424
Release v98.0 2022-03-09 17:00:38 +01:00
Bert van der Weerd
2f7ecd2e1d
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-03-05 17:45:48 +01:00
Bert van der Weerd
22da218bb4
v97.0.2 2022-03-05 17:45:33 +01:00
4641c4812d
fix: remove submodules 2022-03-05 16:58:28 +01:00
b3245a5320
nsis: use old InstallDir when already installed
See https://gitlab.com/librewolf-community/browser/windows/-/issues/178
2022-03-05 16:53:16 +01:00
Bert van der Weerd
58b2271e34
removed old zip 2022-02-28 23:52:32 +01:00
Bert van der Weerd
563c053672
bugfixes, final portable.zip looks good 2022-02-27 22:51:41 +01:00
Bert van der Weerd
f0daa09d8c
bugfixes 2022-02-27 22:43:56 +01:00
Bert van der Weerd
3aaeadc20b
First version of PortableApps zip file 2022-02-27 14:58:59 +01:00
Bert van der Weerd
cca6c0dcfb
bugfix 2022-02-23 22:06:18 +01:00
Bert van der Weerd
6f350f04f1
updated to new mozilla-build location 2022-02-23 21:30:37 +01:00
Bert van der Weerd
0150e0b2d1
bumped to version 97.0.1 2022-02-18 10:41:54 +01:00
Bert van der Weerd
de2df4e571
Updated clean and veryclean targets 2022-02-09 12:06:52 +01:00
Bert van der Weerd
ce1428938f
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-02-08 17:06:56 +01:00
Bert van der Weerd
3cb41798c6
v97.0 (source release 2) 2022-02-08 17:06:40 +01:00
Bert van der Weerd
545731c5c4
Update README.md 2022-01-28 15:03:28 +01:00
Bert van der Weerd
1e10e0ff63
v96.0.3 2022-01-27 21:03:28 +01:00
Bert van der Weerd
b6836454e7
using new librewolf-portable.exe 2022-01-26 21:29:08 +01:00
Bert van der Weerd
31eb346039
allow librewolf-portable.exe to pass its parameters to librewolf.exe (issue #154) 2022-01-26 21:19:25 +01:00
Bert van der Weerd
b2a92cc6ec
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-01-26 14:40:56 +01:00
Bert van der Weerd
a97c7dc4a2
updated to new source_release versioning 2022-01-26 14:40:43 +01:00
Bert van der Weerd
954ad5a784
Added LibreWolf-WinUpdater to the README 2022-01-26 12:56:16 +01:00
Bert van der Weerd
e5758b64da
added debugging mozconfig and targets 2022-01-26 12:08:20 +01:00
Bert van der Weerd
798d5300f9
minox fix 2022-01-24 13:36:40 +01:00
Bert van der Weerd
89e19f0801
!addplugindir fix 2022-01-21 14:39:07 +01:00
Bert van der Weerd
6d6eef5bcc
v96.0.2-0 2022-01-21 11:37:23 +01:00
Bert van der Weerd
bd1064205d
removed common and settings 2022-01-19 22:20:28 +01:00
64972b5b34 Update NSIS to use a more modern style and detect if LibreWolf is still running 2022-01-19 20:43:40 +00:00
Bert van der Weerd
c4156370ba
changed md5 sums into sha256 sums 2022-01-18 15:22:21 +01:00
Bert van der Weerd
ec836c49f2
release 1 of v96.0.1 2022-01-18 14:16:55 +01:00
Bert van der Weerd
7fdbe2af4a
fixing issue #148 2022-01-18 14:08:15 +01:00
Bert van der Weerd
0ffb0ad651
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2022-01-15 10:13:47 +01:00
Bert van der Weerd
7a4fa17d30
added target: make check 2022-01-15 10:13:37 +01:00
Bert van der Weerd
cd7107a05e
fix to actually remove librewolf distfiles 2022-01-14 15:22:22 +01:00
Bert van der Weerd
93c4a2a4c6
added _with_app_name to mk.py and added cairo-windows as drawing toolkit, also added .pdf as a file association in the nsis setup file 2022-01-14 15:18:21 +01:00
Bert van der Weerd
7c3ff63c31
bugfixes 2022-01-14 10:59:27 +01:00
Bert van der Weerd
77b2238a3c
Updated README.md 2022-01-11 21:21:25 +01:00
Bert van der Weerd
c3e8d8850f
Cleanup old cruft after successful release of v96.0-0 2022-01-11 21:13:56 +01:00
Bert van der Weerd
1240cdb7b1
bugfixes 2022-01-11 15:44:56 +01:00
Bert van der Weerd
df251864cd
v96.0-0 2022-01-10 21:50:41 +01:00
Bert van der Weerd
dfdb3eb4ee
disable some extra stuff in mozconfig 2022-01-10 13:41:34 +01:00
Bert van der Weerd
c36d0f808c
bugfixes 2022-01-10 13:33:59 +01:00
Bert van der Weerd
4f8e6031b0
added uploading to mk.py 2022-01-10 09:33:53 +01:00
Bert van der Weerd
942c237a08
moved old stuff out of the way 2022-01-10 09:09:18 +01:00
Bert van der Weerd
3911df71cd
make artifacts works again, next is make upload 2022-01-10 09:01:35 +01:00
Bert van der Weerd
1bfed68322
commit due to artifacts now having priority. 2022-01-10 07:57:49 +01:00
Bert van der Weerd
d9a155ccba
changes to _native use 2022-01-08 20:46:18 +01:00
Bert van der Weerd
99090a20f0
created mozconfig.windows 2022-01-08 20:35:09 +01:00
Bert van der Weerd
aeeaa1bcba
updates 2022-01-08 12:28:30 +01:00
Bert van der Weerd
9c341378d6
bugfixes 2022-01-08 12:17:23 +01:00
Bert van der Weerd
7a0a57c7cf
bugfixes 2022-01-08 12:09:57 +01:00
Bert van der Weerd
0801ed372f
win10pro vm installed 2022-01-07 12:35:02 +01:00
Bert van der Weerd
14b031064e
bugfixes 2021-12-29 23:34:06 +01:00
Bert van der Weerd
71261dadcb
build failure 2021-12-29 14:27:10 +01:00
Bert van der Weerd
ff5b82939d
build failure 2021-12-29 13:53:28 +01:00
Bert van der Weerd
134005c5d2
build failure 2021-12-29 13:47:49 +01:00
Bert van der Weerd
c3f88d72c9
build failure 2021-12-29 13:38:36 +01:00
Bert van der Weerd
f5123b8fce
build failure 2021-12-29 13:37:47 +01:00
Bert van der Weerd
912df746c9
bugfixes 2021-12-29 11:33:18 +01:00
Bert van der Weerd
98a1f82462
v95.0.2 2021-12-20 06:03:16 +01:00
Bert van der Weerd
97599d58a4
Sun 19 Dec 2021 02:17:37 PM CET 2021-12-19 14:17:37 +01:00
Bert van der Weerd
965bc3db05
Sun 19 Dec 2021 02:16:46 PM CET 2021-12-19 14:16:46 +01:00
Bert van der Weerd
b09e162310
removed obsolete docker folder 2021-12-19 14:15:32 +01:00
Bert van der Weerd
8b7809aad5
v95.0.1 2021-12-17 12:49:58 +01:00
Bert van der Weerd
71b0ef45a0
v95.0 2021-12-10 13:53:22 +01:00
Bert van der Weerd
bc6497b150
bugfixes 2021-12-08 20:32:24 +01:00
Bert van der Weerd
ecda79da05
quote librewolf arguments to allow for spaces in filenames (issue #116) 2021-11-30 13:55:44 +01:00
Bert van der Weerd
d21d3137a1 Update README.md 2021-11-27 13:07:20 +00:00
Bert van der Weerd
54bd66ec24 Update README.md 2021-11-27 13:05:52 +00:00
Bert van der Weerd
6ead6460e8 Update README.md 2021-11-27 13:00:59 +00:00
Bert van der Weerd
4c6ebbec7d Update README.md 2021-11-27 13:00:00 +00:00
Bert van der Weerd
fdca4c8d23 Update README.md 2021-11-27 12:58:20 +00:00
Bert van der Weerd
adf05892e4
v94.0.2.3 2021-11-23 13:05:14 +01:00
Bert van der Weerd
43443adfbf
v94.0.2-2 2021-11-19 15:54:36 +01:00
Bert van der Weerd
d648684fd9
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2021-11-19 11:31:04 +01:00
Bert van der Weerd
af0d3b0ca9
v94.0.2 2021-11-19 11:30:48 +01:00
Bert van der Weerd
c43b15b83f Update CONTRIBUTING.md 2021-11-16 14:19:55 +00:00
Bert van der Weerd
5d45ae0aca Update README.md 2021-11-16 13:04:17 +00:00
Bert van der Weerd
d73514b2a3 Update CONTRIBUTING.md 2021-11-16 10:48:02 +00:00
Bert van der Weerd
bbfde27a1b Add CONTRIBUTING 2021-11-16 10:41:23 +00:00
Bert van der Weerd
6161361c34 Update README.md 2021-11-13 10:20:21 +00:00
Bert van der Weerd
eda588aa6e Update README.md 2021-11-13 10:16:24 +00:00
Bert van der Weerd
f444640f1b
v94.0.1 2021-11-04 23:35:25 +01:00
Bert van der Weerd
e7ffc5d1dc
updates needed for compiling v94.0.1 2021-11-04 21:31:07 +01:00
Bert van der Weerd
f9e85a1f25
start with building for windows 2021-10-10 17:16:15 +02:00
Bert van der Weerd
6cc1b84d68
changes 2021-10-07 22:48:48 +02:00
Bert van der Weerd
a5da8de1f9
final touches on fedora34 build target 2021-10-06 16:32:00 +02:00
Bert van der Weerd
eca9b131f7
docker builds seem to work completely for the first time now 2021-10-06 15:43:21 +02:00
Bert van der Weerd
cf9d5ae61b
added option --disable-default-browser-agent to mozconfig 2021-10-06 12:54:04 +02:00
Bert van der Weerd
8cdf2cd8f2
improved docker builds and removed default-browser-agent* from the distribution 2021-10-06 12:46:35 +02:00
Bert van der Weerd
bd3ba0926a
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2021-10-05 17:51:05 +02:00
Bert van der Weerd
f574fe48e7
v93.0 2021-10-05 17:50:47 +02:00
Bert van der Weerd
cd50478cc2
temp version for fedora 2021-10-05 17:18:08 +02:00
Bert van der Weerd
e0e44d6bc0
fix 2021-10-04 13:36:16 +02:00
Bert van der Weerd
9e67085d66
tested mint20 and ubuntu20 2021-10-04 13:34:17 +02:00
Bert van der Weerd
2626643205
initial .deb versions for debian10,mint,ubuntu 2021-10-04 11:47:06 +02:00
Bert van der Weerd
de74c266f9
renamed debian to debian11 (bullseye) 2021-10-04 09:32:03 +02:00
Bert van der Weerd
b5573ca721
monday morning commit 2021-10-04 09:23:16 +02:00
Bert van der Weerd
7f7b036baa
update .gitignore 2021-10-02 11:43:45 +02:00
Bert van der Weerd
8db733dee8
tweaks to the artifacts Makefile 2021-10-02 11:42:21 +02:00
Bert van der Weerd
f6d5ef1108
fixes 2021-10-02 11:22:35 +02:00
Bert van der Weerd
5a93220522
fixes to docker 2021-10-02 08:13:59 +02:00
Bert van der Weerd
a5db8bda88
minor fixes 2021-09-30 18:55:56 +02:00
Bert van der Weerd
5d7a02f997
added targets mint and ubuntu 2021-09-30 18:35:45 +02:00
Bert van der Weerd
50f7e3b3bc
updates 2021-09-30 02:01:09 +02:00
Bert van der Weerd
48ce299674
add todo files for empty folders 2021-09-30 01:38:24 +02:00
Bert van der Weerd
2aed9e7b99
fixes 2021-09-30 01:22:31 +02:00
Bert van der Weerd
c039ae197e
fixes 2021-09-30 00:20:14 +02:00
Bert van der Weerd
2424b0c7f2
fixes 2021-09-29 22:49:02 +02:00
Bert van der Weerd
738f87ceef
cp -r release librewolf 2021-09-29 21:45:16 +02:00
Bert van der Weerd
de19118dc4
docker: first working version 2021-09-29 21:22:28 +02:00
Bert van der Weerd
e720a811ef
docker builds 2021-09-28 17:22:41 +02:00
Bert van der Weerd
543d8c34d5
Docker builds 2021-09-28 16:43:36 +02:00
Bert van der Weerd
ab5a09aab4
Most dockerfiles build now 2021-09-28 14:13:51 +02:00
Bert van der Weerd
57b8823f33
Merge branch 'master' of gitlab.com:librewolf-community/browser/windows 2021-09-28 11:42:20 +02:00
Bert van der Weerd
85fe66908d
docker 2021-09-28 11:42:10 +02:00
Bert van der Weerd
3ba87634fd
Docker builds 2021-09-28 11:36:55 +02:00
Bert van der Weerd
2523ec7e57
updates 2021-09-28 11:23:02 +02:00
Bert van der Weerd
1af2db3cc8
Updating dockerfiles 2021-09-28 10:41:30 +02:00
Bert van der Weerd
a95d5771de
Starting with dockerfiles 2021-09-28 10:03:57 +02:00
Bert van der Weerd
5172e50652
Update submodules, new librewolf.cfg 2021-09-26 14:24:10 +02:00
47 changed files with 25 additions and 4116 deletions

14
.gitignore vendored
View file

@ -1,14 +0,0 @@
/firefox-*
/librewolf
/mozilla-unified
/tor-browser
/gecko-dev
/bootstrap.py
/mozconfig
/dist
/tmp.nsi
/tmp-permissive.nsi
/tmp-strict.nsi
/__pycache__
/sha256sums.txt
/upload.txt

6
.gitmodules vendored
View file

@ -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

View file

@ -1,39 +0,0 @@
.phony: all clean veryclean fetch extract lw_do_patches build lw_post_build package lw_artifacts
BUILD=python3 build.py ${OPTS}
all :
$(BUILD) all
clean :
$(BUILD) clean
veryclean :
$(BUILD) veryclean
fetch :
$(BUILD) fetch
extract :
$(BUILD) extract
do_patches lw_do_patches :
$(BUILD) lw_do_patches
build :
$(BUILD) build
post_build lw_post_build :
$(BUILD) lw_post_build
package :
$(BUILD) package
artifacts lw_artifacts :
$(BUILD) lw_artifacts
update update_submodules :
$(BUILD) update_submodules
upload :
$(BUILD) upload
git_init :
$(BUILD) git_init
reset :
$(BUILD) reset

View file

@ -1,15 +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.
* or install via _[chocolatey](https://community.chocolatey.org/packages/librewolf)_: `choco install librewolf`
* **If your LibreWolf crashes on startup**, you probably miss the right [Visual C++ Runtime](https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0). You want the _Visual Studio 2015, 2017 and 2019_ version for **x64**, which would be **[this file](https://aka.ms/vs/16/release/vc_redist.x64.exe)**.
* The .zip files are _'portable zip files'_ that allows for a user profile in the extracted zip file folders. Everything self-contained.
# Settings repository 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/).
* For all librewolf.cfg issues, go here: [[settings repository](https://gitlab.com/librewolf-community/settings)] - _([issues](https://gitlab.com/librewolf-community/settings/-/issues))_ ## Update Tools 🛠️
# Community links Stay secure and up-to-date with these LibreWolf update tools:
* [[reddit](https://www.reddit.com/r/LibreWolf/)] - [r/LibreWolf](https://www.reddit.com/r/LibreWolf/) 😺 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.
* [[gitter](https://gitter.im/librewolf-community/librewolf)], and the same room on [matrix](https://app.element.io/#/room/#librewolf-community_librewolf:gitter.im) (element.io).
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.
> Please note: The *updater* can _install_ updates automatically, while the *extension* can only _check_ for updates.
## LibreWolf for Windows 🖥️
- LibreWolf supports multiple UI languages, available in settings.
- The latest **-portable.zip** release is self-contained and can be run on removable storage.
## Issue Tracker 🎫
- For issues with Settings or Advanced Settings (`about:config`), submit them to the [settings repository](https://gitlab.com/librewolf-community/settings/-/issues).
- 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).
## Building from Source 🏗️
- Our `bsys` build system supports cross-compiling from Linux to Windows. Building the Windows version from within Windows is not tested yet.
- The build system can be found here: [bsys6](https://gitlab.com/librewolf-community/browser/bsys6).

727
build.py
View file

@ -1,727 +0,0 @@
#!/usr/bin/env python3
pkgver = '92.0.1'
nightly_ver = '94.0a1'
#
# build.py - try move functionality away from that too big/horrible build script.
#
import optparse
import sys
import os
import glob
import time
start_time = time.time()
parser = optparse.OptionParser()
parser.add_option('-x', '--cross', dest='cross_compile', default=False, action="store_true")
parser.add_option('-n', '--no-execute', dest='no_execute', default=False, action="store_true")
parser.add_option('-l', '--no-librewolf', dest='no_librewolf', default=False, action="store_true")
parser.add_option('-s', '--src', dest='src', default='release')
parser.add_option('-t', '--distro', dest='distro', default='autodetect')
parser.add_option('-T', '--token', dest='token', default='')
parser.add_option('-3', '--i386', dest='i386', default=False, action="store_true")
parser.add_option('-P', '--no-settings-pane', dest='settings_pane', default=True, action="store_false")
options, remainder = parser.parse_args()
# try autodetecting options.distro
if options.distro == 'autodetect':
options.distro = 'win'
if os.path.isdir('/Applications'):
options.distro = 'osx'
elif os.path.isdir('/etc'):
options.distro = 'rpm'
if os.path.isdir('/etc/apt'):
options.distro = 'deb'
def script_exit(statuscode):
if (time.time() - start_time) > 60:
# print elapsed time
elapsed = time.strftime("%H:%M:%S", time.gmtime(time.time() - start_time))
print(f"\n\aElapsed time: {elapsed}")
sys.exit(statuscode)
def enter_srcdir():
dir = "firefox-{}".format(pkgver)
if options.src == 'nightly':
dir = 'mozilla-unified'
elif options.src == 'tor-browser':
dir = 'tor-browser'
elif options.src == 'gecko-dev':
dir = 'gecko-dev'
print("cd {}".format(dir))
if not options.no_execute:
try:
os.chdir(dir)
except:
print("fatal error: can't change to '{}' folder.".format(dir))
script_exit(1)
def leave_srcdir():
print("cd ..")
if not options.no_execute:
os.chdir("..")
def exec(cmd):
if cmd != '':
print(cmd)
if not options.no_execute:
retval = os.system(cmd)
if retval != 0:
print("fatal error: command '{}' failed".format(cmd))
script_exit(1)
def patch(patchfile):
cmd = "patch -p1 -i {}".format(patchfile)
print("\n*** -> {}".format(cmd))
if not options.no_execute:
retval = os.system(cmd)
if retval != 0:
print("fatal error: patch '{}' failed".format(patchfile))
script_exit(1)
#
# Utilities:
#
def execute_update_submodules():
exec("git submodule update --recursive")
exec("git submodule foreach git pull origin master")
exec("git submodule foreach git merge origin master")
def execute_git_init():
if options.src != 'release':
print("fatal error: git_init only works with the release source (--src release)")
script_exit(1)
enter_srcdir()
exec("rm -rf .git")
exec("git init")
exec("git config core.safecrlf false")
exec("git config commit.gpgsign false")
exec("git add -f * .[a-z]*")
exec("git commit -am initial")
leave_srcdir()
def execute_deps_deb():
deps1 = "python python-dev python3 python3-dev python3-distutils clang pkg-config libpulse-dev gcc"
deps2 = "curl wget nodejs libpango1.0-dev nasm yasm zip m4 libgtk-3-dev libgtk2.0-dev libdbus-glib-1-dev"
deps3 = "libxt-dev python3-pip mercurial automake autoconf libtool m4"
exec("apt install -y {} {} {}".format(deps1,deps2,deps3))
def execute_deps_rpm():
deps1 = "python3 python3-distutils-extra clang pkg-config gcc curl wget nodejs nasm yasm zip m4"
deps2 = "python3-zstandard python-zstandard python-devel python3-devel gtk3-devel llvm gtk2-devel dbus-glib-devel libXt-devel pulseaudio-libs-devel"
exec("dnf -y install {} {}".format(deps1,deps2))
def execute_deps_pkg():
deps = "wget gmake m4 python3 py37-sqlite3 pkgconf llvm node nasm zip unzip yasm"
exec("pkg install {}".format(deps))
def execute_rustup():
# rust needs special love: https://www.atechtown.com/install-rust-language-on-debian-10/
exec("curl https://sh.rustup.rs -sSf | sh")
exec("cargo install cbindgen")
def execute_mach_env():
enter_srcdir()
exec("bash ./mach create-mach-environment")
leave_srcdir()
def execute_reset():
if options.src == 'release':
path = "firefox-{}/.git/index".format(pkgver)
if not os.path.isfile(path):
print("fatal error: cannot reset '--src release' sources as it's not under version control.")
script_exit(1)
enter_srcdir()
exec("git reset --hard")
leave_srcdir()
elif options.src == 'nightly':
enter_srcdir()
exec("hg up -C")
exec("hg purge")
exec("hg pull -u")
leave_srcdir()
elif options.src == 'tor-browser':
enter_srcdir()
exec("git reset --hard")
leave_srcidr()
elif options.src == 'gecko-dev':
enter_srcdir()
exec("git reset --hard")
leave_srcdir()
#
# Targets:
#
def execute_fetch():
if options.src == 'release':
exec("rm -f firefox-{}.source.tar.xz".format(pkgver))
exec("wget -q https://archive.mozilla.org/pub/firefox/releases/{}/source/firefox-{}.source.tar.xz".format(pkgver, pkgver))
elif options.src == 'nightly':
if not os.path.isdir('mozilla-unified'):
exec("rm -f bootstrap.py")
exec("rm -rf mozilla-unified")
exec("wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py")
exec("python3 bootstrap.py --no-interactive --application-choice=browser")
elif options.src == 'tor-browser':
if not os.path.isdir('tor-browser'):
exec("rm -rf tor-browser")
exec("git clone --no-checkout --recursive https://git.torproject.org/tor-browser.git")
patch("../patches/tb-mozconfig-win10.patch")
enter_srcdir()
exec("git checkout tor-browser-89.0-10.5-1-build1")
exec("git submodule update --recursive")
leave_srcdir()
elif options.src == 'gecko-dev':
if not os.path.isdir('gecko-dev'):
exec("rm -rf gecko-dev")
exec("git clone --depth=1 https://github.com/mozilla/gecko-dev.git")
def execute_extract():
if options.src == 'release':
exec("rm -rf firefox-{}".format(pkgver))
exec("tar xf firefox-{}.source.tar.xz".format(pkgver))
def execute_build():
enter_srcdir()
exec("bash ./mach build")
leave_srcdir()
def execute_package():
enter_srcdir()
exec("bash ./mach package")
leave_srcdir()
#
# LibreWolf specific:
#
def create_mozconfig(contents):
if not options.no_execute:
f = open('mozconfig', 'w')
f.write(contents)
if not options.distro == 'win':
f.write("\nac_add_options --with-app-name=librewolf")
if options.distro == 'osx' and options.cross_compile:
f.write("\nac_add_options --target=aarch64")
if options.i386:
f.write("\nac_add_options --target=i386")
f.write("\n")
f.close()
def execute_lw_do_patches():
if options.no_librewolf:
return
if not options.src in ['release','nightly','gecko-dev']:
return
enter_srcdir()
# create the right mozconfig file..
create_mozconfig(mozconfig_release)
# macos : if have compatibilty osx api headers, add that to mozconfig_release
dir = os.environ['HOME'] + '/.mozbuild/macos-sdk/MacOSX11.1.sdk'
if os.path.isdir(dir):
with open('mozconfig','a') as f:
f.write("\nac_add_options --with-macos-sdk=$HOME/.mozbuild/macos-sdk/MacOSX11.1.sdk")
f.close()
# copy branding files..
exec("cp -vr ../common/source_files/* .")
exec("cp -v ../files/configure.sh browser/branding/librewolf")
patches = []
if options.src == 'release':
# production patches
patches = [
"../common/patches/about-dialog.patch",
"../common/patches/allow_dark_preference_with_rfp.patch",
# "../common/patches/browser-confvars.patch",
"../common/patches/context-menu.patch",
"../common/patches/megabar.patch",
"../common/patches/mozilla-vpn-ad.patch",
"../common/patches/mozilla_dirs.patch",
"../common/patches/remove_addons.patch",
# "../common/patches/search-config.patch",
# sed patches..
"../common/patches/sed-patches/allow-searchengines-non-esr.patch",
"../common/patches/sed-patches/disable-pocket.patch",
"../common/patches/sed-patches/remove-internal-plugin-certs.patch",
"../common/patches/sed-patches/stop-undesired-requests.patch",
]
elif options.src == 'nightly' or options.src == 'gecko-dev':
# patches for future releases are caught with nightly
patches = [
"../common/patches/about-dialog.patch",
"../common/patches/allow_dark_preference_with_rfp.patch",
# "../common/patches/browser-confvars.patch",
"../common/patches/context-menu.patch",
"../common/patches/megabar.patch",
"../common/patches/mozilla-vpn-ad.patch",
"../common/patches/mozilla_dirs.patch",
"../common/patches/remove_addons.patch",
"../common/patches/search-config.patch",
# sed patches..
"../common/patches/sed-patches/allow-searchengines-non-esr.patch",
"../common/patches/sed-patches/disable-pocket.patch",
"../common/patches/sed-patches/remove-internal-plugin-certs.patch",
"../common/patches/sed-patches/stop-undesired-requests.patch",
]
for p in patches:
patch(p)
# local windows patches
for p in ["../patches/browser-confvars.patch", "../patches/package-manifest.patch"]:
patch(p)
# insert the settings pane source (experimental)
if options.settings_pane:
exec('rm -rf librewolf-pref-pane')
exec('git clone https://gitlab.com/ohfp/librewolf-pref-pane.git')
os.chdir('librewolf-pref-pane')
exec('git diff 1fee314adc81000294fc0cf3196a758e4b64dace > ../../patches/librewolf-pref-pane.patch')
os.chdir('..')
patch('../patches/librewolf-pref-pane.patch')
leave_srcdir()
def get_objdir():
pattern = "obj-*"
retval = glob.glob(pattern)
if options.no_execute:
return "obj-XXX"
if len(retval) != 1:
print("fatal error: in execute_lw_post_build(): cannot glob build output folder '{}'".format(pattern))
script_exit(1)
return retval[0]
def execute_lw_post_build():
if options.no_librewolf:
return
enter_srcdir()
dirname = get_objdir()
distfolder = "dist/bin"
if options.distro == 'osx':
distfolder = 'dist/LibreWolf.app/Contents/Resources'
if not options.no_execute:
os.makedirs("{}/{}/defaults/pref".format(dirname,distfolder), exist_ok=True)
os.makedirs("{}/{}/distribution".format(dirname,distfolder), exist_ok=True)
exec("cp -v ../settings/defaults/pref/local-settings.js {}/{}/defaults/pref/".format(dirname,distfolder))
exec("cp -v ../settings/distribution/policies.json {}/{}/distribution/".format(dirname,distfolder))
exec("cp -v ../settings/librewolf.cfg {}/{}/".format(dirname,distfolder))
leave_srcdir()
def execute_lw_artifacts():
if options.no_librewolf:
return
enter_srcdir()
if options.distro == 'win':
exe = ".exe"
ospkg = "win64"
dirname = "{}/dist/firefox".format(get_objdir())
elif options.distro == 'deb':
exe = ""
ospkg = "deb"
dirname = "{}/dist/librewolf".format(get_objdir())
elif options.distro == 'rpm':
exe = ""
ospkg = "rpm"
dirname = "{}/dist/librewolf".format(get_objdir())
elif options.distro == 'osx':
#exe = ""
#ospkg = "osx"
#dirname = "{}/dist/firefox".format(get_objdir())
exec("cp {}/dist/librewolf*.dmg ..".format(get_objdir()))
leave_srcdir()
return
exec("rm -rf ../firefox ../librewolf")
exec("cp -rv {} ..".format(dirname))
leave_srcdir()
librewolfdir = "librewolf"
if options.distro == 'osx':
librewolfdir = 'librewolf/Librewolf.app'
if options.distro == 'win':
exec("mv firefox librewolf")
if options.distro != 'osx':
if options.distro == 'win':
exec("mv -v {}/firefox{} {}/librewolf{}".format(librewolfdir,exe,librewolfdir,exe));
exec("rm -rf {}/maintainanceservice* {}/pingsender* {}/firefox.*.xml {}/precomplete {}/removed-files {}/uninstall"
.format(librewolfdir,librewolfdir,librewolfdir,librewolfdir,librewolfdir,librewolfdir,librewolfdir))
exec("cp -v common/source_files/browser/branding/librewolf/firefox.ico {}/librewolf.ico".format(librewolfdir))
if options.distro != 'win':
exec("cp -v files/register-librewolf files/start-librewolf files/start-librewolf.desktop.in librewolf")
# create zip filename
if options.src == 'release':
zipname = "librewolf-{}.en-US.{}.zip".format(pkgver,ospkg)
elif options.src == 'nightly':
zipname = "librewolf-{}.en-US.{}-nightly.zip".format(nightly_ver,ospkg)
elif options.src == 'gecko-dev':
zipname = "librewolf-{}.en-US.{}-gecko-dev.zip".format(nightly_ver,ospkg)
# 'windows portable' zip stuff..
if options.distro == 'win':
# we need tmp to tell us what portable folder to make
if options.src == 'release':
tmp = pkgver
else:
tmp = nightly_ver
exec("rm -rf librewolf-{}".format(tmp))
#exec("mkdir -p librewolf-{}/Profiles/Default librewolf-{}/LibreWolf".format(pkgver,pkgver))
os.makedirs("librewolf-{}/Profiles/Default".format(tmp), exist_ok=True)
os.makedirs("librewolf-{}/LibreWolf".format(tmp), exist_ok=True)
exec("cp -vr librewolf/* librewolf-{}/LibreWolf".format(tmp))
exec("rm -f librewolf-portable.exe")
exec("wget -q https://gitlab.com/librewolf-community/browser/windows/uploads/8347381f01806245121adcca11b7f35c/librewolf-portable.exe")
exec("mv librewolf-portable.exe librewolf-{}".format(tmp))
exec("rm -f {}".format(zipname))
exec("zip -qr9 {} librewolf-{}".format(zipname,tmp))
# 'normal' zip file..
else:
exec("rm -f {}".format(zipname))
exec("zip -qr9 {} librewolf".format(zipname))
# create installer
if options.distro == 'win':
setupname = "librewolf-{}.en-US.win64-setup.exe".format(pkgver)
if options.src == 'nightly':
if os.path.isfile(setupname):
exec("rm -f tmp.exe")
exec("mv {} tmp.exe".format(setupname))
setupname = "librewolf-{}.en-US.win64-nightly-setup.exe".format(nightly_ver)
elif options.src == 'gecko-dev':
if os.path.isfile(setupname):
exec("rm -f tmp.exe")
exec("mv {} tmp.exe".format(setupname))
setupname = "librewolf-{}.en-US.win64-gecko-dev-setup.exe".format(nightly_ver)
exec("rm -f {} tmp.nsi".format(setupname))
s = pkgver
if options.src == 'nightly' or options.src == 'gecko-dev':
s = nightly_ver
exec("sed \"s/pkg_version/{}/g\" < setup.nsi > tmp.nsi".format(s))
exec("makensis-3.01.exe -V1 tmp.nsi")
exec("rm -f tmp.nsi")
from_name = 'librewolf-{}.en-US.win64-setup.exe'.format(s)
if from_name != setupname:
exec("mv {} {}".format(from_name,setupname))
if os.path.isfile("tmp.exe"):
exec("mv tmp.exe librewolf-{}.en-US.win64-setup.exe".format(pkgver))
def do_upload(filename):
exec("echo \".\" >> upload.txt")
exec("curl --request POST --header \"PRIVATE-TOKEN: {}\" --form \"file=@{}\" \"https://gitlab.com/api/v4/projects/13852981/uploads\" >> upload.txt".format(options.token,filename))
exec("echo \".\" >> upload.txt")
def execute_upload():
if options.token =='':
print("fatal error: You must specify a private token when using the 'upload' command.")
script_exit(1)
if options.distro == 'win':
ospkg = "win64"
elif options.distro == 'deb':
ospkg = "deb"
elif options.distro == 'rpm':
ospkg = "rpm"
elif options.distro == 'osx':
ospkg = "osx"
zip_filename = "librewolf-{}.en-US.{}.zip".format(pkgver,ospkg)
setup_filename = "librewolf-{}.en-US.{}-setup.exe".format(pkgver,ospkg)
nightly_setup_filename = "librewolf-{}.en-US.{}-gecko-dev.zip".format(nightly_ver,ospkg)
if not os.path.isfile(zip_filename):
print("fatal error: File '{}' not found.".format(zip_filename))
script_exit(1)
if not os.path.isfile(setup_filename):
print("fatal error: File '{}' not found.".format(setup_filename))
script_exit(1)
if not os.path.isfile(nightly_setup_filename):
print("fatal error: File '{}' not found.".format(nightly_setup_filename))
script_exit(1)
exec("sha256sum {} {} {} > sha256sums.txt".format(zip_filename,setup_filename,nightly_setup_filename))
exec("rm -f upload.txt")
do_upload(setup_filename)
do_upload(zip_filename)
do_upload(nightly_setup_filename)
do_upload("sha256sums.txt")
print("upload.txt: Upload JSON api results are in the file \'upload.txt\'.")
#
# Main targets:
#
def execute_all():
execute_fetch()
execute_extract()
execute_lw_do_patches()
execute_build()
execute_lw_post_build()
execute_package()
execute_lw_artifacts()
def execute_clean():
exec("rm -rf librewolf-{} librewolf-{}".format(pkgver,nightly_ver))
exec("rm -rf librewolf bootstrap.py tmp.nsi tmp.exe sha256sums.txt upload.txt librewolf-portable.exe")
for filename in glob.glob("librewolf-*"):
try:
os.remove(filename)
except:
pass
def execute_veryclean():
exec("rm -rf firefox-{}.source.tar.xz mozilla-unified tor-browser gecko-dev".format(pkgver))
exec("rm -rf firefox-{}".format(pkgver))
execute_clean()
#
# main commandline interface
#
def main():
if options.src == 'tor-browser':
options.no_librewolf = True
if len(remainder) > 0:
if not options.src in ['release','nightly','tor-browser','gecko-dev']:
print("error: option --src invalid value")
script_exit(1)
if not options.distro in ['deb','rpm', 'win','osx']:
print("error: option --distro invalid value")
script_exit(1)
for arg in remainder:
if arg == 'all':
execute_all()
elif arg == 'clean':
execute_clean()
elif arg == 'veryclean':
execute_veryclean()
# Targets:
elif arg == 'fetch':
execute_fetch()
elif arg == 'extract':
execute_extract()
elif arg == 'lw_do_patches':
execute_lw_do_patches()
elif arg == 'build':
execute_build()
elif arg == 'lw_post_build':
execute_lw_post_build()
elif arg == 'package':
execute_package()
elif arg == 'lw_artifacts':
execute_lw_artifacts()
# Utilities
elif arg == 'update_submodules':
execute_update_submodules()
elif arg == 'upload':
execute_upload()
elif arg == 'git_init':
execute_git_init()
elif arg == 'deps_deb':
execute_deps_deb()
elif arg == 'deps_rpm':
execute_deps_rpm()
elif arg == 'deps_pkg':
execute_deps_pkg()
elif arg == 'rustup':
execute_rustup()
elif arg == 'mach_env':
execute_mach_env()
elif arg == 'reset':
execute_reset()
else:
print("error: unknown command on command line: ", arg)
script_exit(1)
else:
# Print help message
print(help_message.format(options.distro))
#
# Large multiline strings
#
help_message = """# Use:
build.py [<options>] clean | all | <targets> | <utilities>
# Options:
-n,--no-execute - print commands, don't execute them
-l,--no-librewolf - skip LibreWolf specific stages.
-x,--cross - crosscompile from linux, implies -t win
-s,--src <src> - release,nightly,tor-browser,gecko-dev
(default=release)
-t,--distro <distro> - deb,rpm,win,osx (default={})
-T,--token <private_token> - private token used to upload to gitlab.com
-3,--i386 - build 32-bit
-P,--settings-pane - build with the experimental settings pane
# Targets:
all - all steps from fetch to producing setup.exe
clean - clean everything, including extracted/fetched sources
veryclean - clean like above, and also remove build artifacts.
fetch - wget or hg clone or git pull
extract - when using wget, extract the archive.
lw_do_patches - [librewolf] patch the source
build - build the browser
lw_post_build - [librewolf] insert our settings
package - package the browser into zip/apk
lw_artifacts - [librewolf] build setup.exe
# Utilities:
update_submodules - git update submodules
upload - upload the build artifacts to gitlab.com
git_init - put the source folder in a .git repository
reset - use git/mercurial to revert changes to a clean state
deps_deb - install dependencies with apt
deps_rpm - install dependencies with dnf
deps_pkg - install dependencies on freebsd
rustup - update rust
mach_env - create mach environment
"""
#
# mozconfig files:
#
mozconfig_release = """
ac_add_options --enable-application=browser
# This supposedly speeds up compilation (We test through dogfooding anyway)
ac_add_options --disable-tests
ac_add_options --enable-release
ac_add_options --enable-hardening
ac_add_options --disable-debug
#ac_add_options --enable-debug
ac_add_options --enable-rust-simd
#ac_add_options --disable-rust-simd
ac_add_options --enable-optimize
#ac_add_options --disable-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
# see issue # https://gitlab.com/librewolf-community/browser/arch/-/issues/49
export MOZ_REQUIRE_SIGNING=
# 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
# testing..
# MOZ_APP_NAME=librewolf
# This gives the same theming issue as --with-app-name=librewolf
"""
main()
script_exit(0)

1
common

@ -1 +0,0 @@
Subproject commit 0ed87656757aa23b9475c354fe708a26bdecc6a8

View file

@ -1,22 +0,0 @@
# Merge Request (MR) how-to
This page is ment to document how to edit something, using an MR, on the [LibreWolf website](https://librewolf-community.gitlab.io/). I would perhaps recommend to read the _website_structure.md_ documentation first to get an overview of the website.
I'm a big proponent of editing the .md files right in the Gitlab website, no need to clone the files locally or any of that complicated stuff, it can all be done from the website, using a comfortable markdown editor which has a Write/Preview pane, bold and italics buttons, link buttons, most of the stuff we need. Also, it will make the MR merge process much easier and non-technical. As a bonus, because it's on the website one can edit pages from the web browser on mobile. The only downside to this is that we do not get _GnuPG cryptographically signed_ merge requests, but for .md files I guess that's really not a problem, the content is one-to-one with what people see on the website.
Ok, so that's what we're going to do, edit a page via the website. I will use the **docs / settings / _index.md** file as our running example.
## Edit process in practical steps
* We locate the .md file we want to edit in the source repository, in our example, we navigate to [this page](https://gitlab.com/librewolf-community/docs/-/blob/master/settings/_index.md).
* We see a preview of the .md file, formatted roughly the way it looks on the site. We click the blue 'Edit' button.
* It says: > You're not allowed to edit files in this project directly. Please fork this project, make your changes there, and submit a merge request.
* Click 'Fork' right after that error message.
* It will fork, and then it will take you to the online editor.
* This editor is ideal, with a 'Write' tab that allows us to type in the markup text, and a 'Preview' tab that shows us how the page is going to look like when it appears on the website.
* We do our editing, \<type-type-type-type> until we're done.
* When done, we scroll down to the bottom of the page, and click the green 'Commit changes' button.
* We now end up in the 'Submit Merge Request' page, where we explain in short form what the change is about. No need to be too strict about this.
* We press the green 'Submit merge request' button.
* We end up in the Merge Request page for our MR. You can always find all open MR's on the Github navigation to the left.
* **Now it's out of our hands.** We wait until an admin/maintainer approves of our change, submit the change to the repository, and let the new version be generated and displayed on the website.

View file

@ -1,18 +0,0 @@
# What is LibreWolf?
LibreWolf is just like Firefox, but it has all the recommended security setings and add-ons built in for you.
To be technical, LibreWolf, in essence, is just two files:
* [librewolf.cfg](https://gitlab.com/librewolf-community/settings/-/blob/master/librewolf.cfg) - All the recomended privacy settings.
* [policies.json](https://gitlab.com/librewolf-community/settings/-/blob/master/distribution/policies.json) - Install privacy add-ons, remove all big tech search engines, and makes duckduckgo the default search engine.
That's it the rest should be your normal Firefox. [[DOWNLOAD SETUP]]
## What else do I need to know?
* Librewolf installs on your machine as administrator, so you can't change everything you want. Certain things we consider just too unsafe: and then we keep that setting locked.
* Windows and macOS don't have automatic updates.
* We do make changes to the firefox source, but these are minor things.
* We don't like pocket. Sorry, you can't have your pocket. Or whatever cloud service, just the browser.
* Updates are different per platform we deploy on.

View file

@ -1,57 +0,0 @@
---
title: Addons
---
## uBlock Origin tweaks
[uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/) comes bundled with LibreWolf. Also see their [wiki](https://github.com/gorhill/uBlock/wiki). We'll mention a few filter lists and entry points to the uBlock wiki.
Some essential uBlock Wiki pages to understand how uBlock Origin works:
* Easy mode, the default mode that we ship with the browser -> [Blocking mode:easy-mode](https://github.com/gorhill/uBlock/wiki/Blocking-mode:-easy-mode).
* Dynamic filtering, suggested for enhanced protection -> [Dynamic filtering:quick guide](https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide).
* Medium mode, suggested for enhanced protection, might require to fix some websites manually -> [Blocking mode:medium-mode](https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode).
**Filter lists:**
- uBlock wiki: [Filter lists](https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web): The uBlock wiki page on filter lists.
- [adblock nocoin list](https://github.com/hoshsadiq/adblock-nocoin-list): Good blocklist against crypto-mining.
- A collection of filter lists that are available on filterlists.com: [see this disussion page](https://github.com/DandelionSprout/adfilt/discussions/163).
## Recommended Addons
Recommended addons are not bundled and need to be installed manually, depending on your needs.
- [NoScript](https://addons.mozilla.org/en-US/firefox/addon/noscript/): NoScript Security Suite. Included into Tor Browser and comes highly recommended.
- [uMatrix](https://addons.mozilla.org/en-US/firefox/addon/umatrix/): Note: uMatrix development has frozen, but it _does give more control_ over what gets blocked than NoScript, either uMatrix or NoScript are good choices.
- [LocalCDN](https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/): The successor to Decentraleyes.
- [Bitwarden Password Manager](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/).
## Other Addons
### Privacy addons
- [ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls/): Removes tracking elements from URLs.
- [First Party Isolation](https://addons.mozilla.org/en-US/firefox/addon/first-party-isolation/): Enable/Disable FPI with the click of a button.
- [Canvas Blocker](https://addons.mozilla.org/en-US/firefox/addon/canvasblocker/): Prevent some fingerprinting techniques.
- [Smart Referer](https://addons.mozilla.org/en-US/firefox/addon/smart-referer/): Manage referer with a button. (Send referers only when staying on the same domain.)
### Container addons
- [Mozilla's Multi Account Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/): Manage containers and assign sites to specific container.
- [Temporary-Containers](https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/): Maximizing and automating container potential.
- [Google Container](https://addons.mozilla.org/en-US/firefox/addon/google-container/): Open all Google sites in a container.
- [Facebook Container](https://addons.mozilla.org/en-US/firefox/addon/facebook-container/): Open all Facebook sites in a container.
- [Switch Containers](https://addons.mozilla.org/en-US/firefox/addon/switch-container/): Switching container for the current tab easily.
### Other useful addons
- [Dark Reader](https://addons.mozilla.org/en-US/firefox/addon/darkreader/): Very populair addon, also useful for visually impaired people.
- [Cookie Quick Manager](https://addons.mozilla.org/en-US/firefox/addon/cookie-quick-manager/): View and edit cookies.
- [ProxySwitcheroo](https://addons.mozilla.org/en-US/firefox/addon/proxyswitcheroo/): Apply proxy settings in a click.
- [Tabboo](https://addons.mozilla.org/en-US/firefox/addon/tabboo-session-manager/): Session manager.
- [In My Pocket](https://addons.mozilla.org/en-US/firefox/addon/in-my-pocket/): For those needing pocket functionality.

View file

@ -1,30 +0,0 @@
# download locations
* [[arch releases](https://gitlab.com/librewolf-community/browser/arch/-/releases)] -
* [[linux releases](https://gitlab.com/librewolf-community/browser/linux/-/releases)] -
* [[windows releases](https://gitlab.com/librewolf-community/browser/windows/-/releases)] -
# settings repository
* [[settings repository](https://gitlab.com/librewolf-community/settings)] - all _librewolf.cfg_ stuff.. ([issues](https://gitlab.com/librewolf-community/settings/-/issues))
# browser repositories
* [[common](https://gitlab.com/librewolf-community/browser/commons)] -> ([issues](https://gitlab.com/librewolf-community/browser/common/-/issues))
* [[flatpack](https://gitlab.com/librewolf-community/browser/flatpak)] -> ([issues](https://gitlab.com/librewolf-community/browser/flatpak/-/issues))
* [[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
* [[arch](https://gitlab.com/librewolf-community/browser/arch)] -> ([issues](https://gitlab.com/librewolf-community/browser/arch/-/issues))
* [[debian](https://gitlab.com/librewolf-community/browser/debian)] -> ([issues](https://gitlab.com/librewolf-community/browser/debian/-/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
* If at all possible, pleasse go to the relevant 'issues' link and start discussing thing there.
* [[reddit](https://www.reddit.com/r/LibreWolf/)]
* [[gitter](https://gitter.im/librewolf-community/librewolf)]

View file

@ -1,35 +0,0 @@
* This stuff below works for netflix and prime video.
fabrizio @fxbrit_gitlab 11:59
I think we should remove from .cfg
defaultPref("media.gmp-manager.url", "data:text/plain,");
defaultPref("media.gmp-manager.url.override", "data:text/plain,");
defaultPref("media.gmp-manager.certs.2.commonName", "");
defaultPref("media.gmp-manager.certs.1.commonName", "");
as they are overkill
then we should also remove from .cfg
defaultPref("media.gmp-manager.updateEnabled", false);
defaultPref("media.gmp-widevinecdm.autoupdate", false);
defaultPref("media.gmp-eme-adobe.enabled", false);
as they do not appear by default in recent firefox versions and are introduced by our .cfg
With these modifications in place I went in about:config and did
defaultPref("media.eme.enabled", true);
defaultPref("media.gmp-widevinecdm.enabled", true);
defaultPref("media.gmp-widevinecdm.visible", true);
defaultPref("media.gmp-provider.enabled", true);
when opening primevideo the video loaded with no required effort on my side
I think the only issue left, at least on prime video, is that the user agent makes it think that the browser is outdated and therefore it disables media reproduction at high quality
I think I'm stuck at 720 or 1080 either
let's see if netflix works on my side
yes! it works :)

View file

@ -1,101 +0,0 @@
Hi all, this document tries to summarize all changes we would like to see in the website.
# https://gitlab.com/librewolf-community/librewolf-community.gitlab.io/-/blob/master/content/install.md
url = https://librewolf-community.gitlab.io/install/
** Compiling from source **
* Compiling from source is now possible for all versions of LibreWolf, just head over to the relevant repository, clone it, and read the README.md
** macOS: **
* (Remove the current section completely.)
* The macOS version builds from source, and has a .dmg available.
* No automatic updating.
* Have a link to the repository: https://gitlab.com/librewolf-community/browser/macos
* Have a link to the releases: https://gitlab.com/librewolf-community/browser/macos/-/releases
* Link to the _build guide_: https://gitlab.com/librewolf-community/browser/macos/-/blob/master/build_guide.md
** Windows: **
* (Remove the current section completely.)
* The Windows version builds from source, and has a -setup.exe available.
* No automatic updating.
* Have a link to the repository: https://gitlab.com/librewolf-community/browser/windows
* Have a link to the releases: https://gitlab.com/librewolf-community/browser/windows/-/releases
# https://gitlab.com/librewolf-community/docs/-/blob/master/_index.md
url = https://librewolf-community.gitlab.io/docs/
** Features **
* Does LibreWolf still have an 'extensions firewall'?
** Download and Installation **
* Remove the TODO and help needed line and please get in toch below windows.
* Just the good, up to date links to the download loctions
** Contributions **
* Typo: chance 'currently unsupported browser' into 'currently unsupported platform/operating system'.
# https://gitlab.com/librewolf-community/docs/-/blob/master/addons.md
url = https://librewolf-community.gitlab.io/docs/addons/
* (Discussion pending.)
** Recommended Addons **
* add as first one: [NoScript](https://addons.mozilla.org/en-US/firefox/addon/noscript/) Block JavaScript.
* add second: [uMatrix](https://addons.mozilla.org/en-US/firefox/addon/umatrix/) Note: uMatrix development has frozen, but it gives more control than NoScript, use either uMatrix or NoScript.
* add [LocalCDN](https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/)
* add Bitwarden add-on [add-on page](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/)
* remove Browser Plugs Privacy Firewall (dead link)
* remove uBlock stuff (see section below)
** new: uBlock Origin tweaks **
* we should consider linking to ublock guide for advanced modes, and probably to at least one filter list that works against cryptomining and ones that removes url tracking (which is a good replacement to addons like clearURLs, don't track me google etc)
* with regards to nano/nanoblocker: we should probably just remove it completely from the list; basically the new owners made it malicious.
* good blocklist agains crypto-mining: [NoCoin adblock list](https://github.com/hoshsadiq/adblock-nocoin-list).
* a collection of filter lists that are available on filterlists.com: https://github.com/DandelionSprout/adfilt/discussions/163
* if you have the patience to fix a few websites when they break the medium mode is a really good balance between protection an usability imo: https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode
* I'll change it to add a 'ublock tweaks' section, could you pass a link to that Wiki? here it is: https://github.com/gorhill/uBlock/wiki
ok I collected what I would consider the essential links to understand how uBlock Origin works, I kept it pretty slim as it's already a lot to take:
* easy mode, the default mode that we ship with the browser -> https://github.com/gorhill/uBlock/wiki/Blocking-mode:-easy-mode
* how to add your own static filters, which should be included as we suggest filterlists -> https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web
* dynamic filtering, suggested for enhanced protection -> https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide
* medium mode, suggested for enhanced protection, might require to fix some websites manually ->
https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode
** Recommended Addons Settings **
* remove 'cookie master' as it should be done in librewolf.cfg
* remove 'User Agent Platform Spoofer', is done in librewolf.cfg
* remove 'browser plugs privacy firewal' (dead link)
* And the verbatim block below it is also obsolete.
** Other Addons **
*** Privacy addons ***
* discussion
* proposal: add a section 'Container addons' and put all container stuff in there: Google-Container, Facebook-Container, Mozilla-Multi-Account-Containers, Switch-Containers, Temporary-Containers)
* remove noHTTP (builtin with latest firefox)
* remove Decentraleyes (old not effective), replace with: [LocalCDN](https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/)
* remove Request Blocker
* remove Cookie Quik Manager
*** Other useful addons ***
* discussion
* add [Dark Reader](https://addons.mozilla.org/en-US/firefox/addon/darkreader/). Can aid visually impaired people.
* remove Dormancy, why would we want to recommend this?
* Add custom search engine: why would we want this?
* remove UndoCloseTabButton: why would we want to recommend this?
* Advanced Github Notifier: why would we..
* Shortkeys: why? also not security oriented.
# https://gitlab.com/librewolf-community/docs/-/blob/master/testing.md
url = https://librewolf-community.gitlab.io/docs/testing/
** Security/Fingerprint **
* add [Cover Your Tracks](https://coveryourtracks.eff.org/), perhaps a bit prominently.

View file

@ -1,38 +0,0 @@
# website structure
The [LibreWolf website](https://librewolf-community.gitlab.io/) is built using the Gitlab machinery. The website is generated from .md (markdown) files (see [markdown guide](https://www.markdownguide.org/)). The bulk of a page on the website is generated from .md into .html by the [hugo static site generator](https://gohugo.io/). Of course, the website contains grahics/css/javascript.
So we have our website divided into two parts:
* Repository: [LibreWolf-Community.gitlab.io](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io) - The repository that contains the instructions for Hugo/Github how to generate and host the website. Low-level repository.
* Repository: [Docs](https://gitlab.com/librewolf-community/docs) - The actual documentation we're going to work with, on [this url](https://librewolf-community.gitlab.io/docs) in the website. High-level repository.
## Low-level repository:
Within the low-level repository, there are two interesting subdirectories. First, the [static](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io/-/tree/master/static) folder contains all the images, javascript, fonts and css for the website.
Second, the [content](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io/-/tree/master/content) folder. It contains an **install.md** with _installation instructions for the user_ wanting to try, install, or upgrade LibreWolf. Second interesting item: _docs @ 22e7df52_ which is a link to the actual 'Docs' repository. And this is how the low-level part of the website 'knows how to find' the High-level part.
As you can tell, I would be much more happy if that install.md would actually be in the Docs repository, but ok. (Logically, install.md is where you end up clicking 'install' on the main page, and 'docs' is where you end up clicking the 'documentation' button/link.) Let's go to the high-level repository.
## High-level repository:
The main repository folder has all the .md files right there, and all of them are interesting, except for the _readme.md_ and _licence.md_.
It contains only one subfolder (settings) with one file in it: _index.md. This looks like an inconsistency, but the idea is probably to have quite a lot of explanation and documentation and pages on the settings in LibreWolf (which form the core of LibreWolf). You can see this substructure reflected in the site navigation on top (this is all done by _Hugo_).
How does the mapping from .md files to .html pages work? Well, every .md page maps directly to an .html url on the website. So if you create a new file, it will get picked up automatically by the Hugo site generator, and a navigation link will get created. If you want to do that, the first line must be of the form:
---
title: My page
---
# My page
Hi there, this is my new page. Lorem ipsum etc.
That's basically all about the website structure. All the pages count, and their title: on the first section tells you what their 'navigation' title is. If you delete such an .md file, it disappears from the site.
### My other notes/topics
* I feel that the **install.md** file is critical. This is what people who do not read click on to 'just give me LibreWolf'. This is especially true for Windows/Apple users. The Linux crowd is different and much more hardcore. In a way we want to make things easy clickable for the Windows/Apple users, and clear and consise for the Linux users.
* Second, the **docs / _index.md** file is critical. This is where people land when they click on 'Documentation'. I'm not sure what they would want to read first, but it should point the way to the documentation in general and how it is structured.

View file

@ -1,137 +0,0 @@
function artifacts_win_details() {
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 uninstall ; cd ..
# copy the windows icon
cp -v common/source_files/browser/branding/librewolf/firefox.ico librewolf/librewolf.ico
# create the final zip/exe artifacts
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
popd
}
function artifacts_deb_details() {
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 uninstall ; cd ..
# 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
# (create a .deb here)
popd
}
function artifacts_rpm_details(){
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 files/register-librewolf files/start-librewolf 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 .rpm here)
popd
}

View file

@ -1,600 +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
. ./version.sh
srcdir=firefox-$pkgver
#
# Basic functionality
#
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."
}
. ./mozconfigs.sh
do_patches() {
echo "do_patches: begin. (srcdir=$srcdir)"
if [ "$srcdir" == "tor-browser" ]; then
echo "do_patches: warning: not running do_patches on tor-browser. done."
return
fi
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
echo 'Creating mozconfig...'
if [ "$mozconfig_mode" == "xcompile" ]; then
create_mozconfig_xcompile
cp -v ../mozconfig .
elif [ "$strict" == "strict" ]; then
create_mozconfig_strict
cp -v ../mozconfig .
elif [ "$android" == "android" ]; then
create_mozconfig_android
cp -v ../mozconfig .
else
create_mozconfig_default
cp -v ../mozconfig .
fi
echo 'Copy librewolf branding files...'
cp -vr ../common/source_files/* ./
# new branding stuff
cp -v ../files/configure.sh browser/branding/librewolf
echo 'Applying patches...'
echo "patch -p1 -i ../common/patches/nightly/context-menu2.patch"
patch -p1 -i ../common/patches/nightly/context-menu2.patch
echo "patch -p1 -i ../common/patches/remove_addons.patch"
patch -p1 -i ../common/patches/remove_addons.patch
echo 'patch -p1 -i ../common/patches/nightly/megabar2.patch'
patch -p1 -i ../common/patches/nightly/megabar3.patch
echo "patch -p1 -i ../patches/mozilla-vpn-ad-proton.patch"
patch -p1 -i ../patches/mozilla-vpn-ad-proton.patch
echo 'GNU sed patches...'
echo 'patch -p1 -i ../common/patches/sed-patches/allow-searchengines-non-esr.patch'
patch -p1 -i ../common/patches/sed-patches/allow-searchengines-non-esr.patch
echo 'patch -p1 -i ../common/patches/sed-patches/disable-pocket.patch'
patch -p1 -i ../common/patches/sed-patches/disable-pocket.patch
echo 'patch -p1 -i ../common/patches/sed-patches/remove-internal-plugin-certs.patch'
patch -p1 -i ../common/patches/sed-patches/remove-internal-plugin-certs.patch
echo 'patch -p1 -i ../common/patches/sed-patches/stop-undesired-requests.patch'
patch -p1 -i ../common/patches/sed-patches/stop-undesired-requests.patch
echo 'Local patches...'
# local win10 patches
echo 'patch -p1 -i ../patches/browser-confvars.patch'
patch -p1 -i ../patches/browser-confvars.patch # not sure about this one yet!
cd ..
echo "do_patches: done."
}
build() {
echo "build: begin."
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
./mach build
if [ $? -ne 0 ]; then exit 1; fi
cd ..
echo "build: done."
}
. ./artifacts_all.sh
artifacts_win() {
echo "artifacts_win: begin."
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
./mach package
if [ $? -ne 0 ]; then exit 1; fi
echo ""
echo "artifacts_win: Creating final artifacts."
echo ""
artifacts_win_details
cd ..
echo "artifacts_win: done."
}
artifacts_deb()
{
echo "artifacts_deb: begin."
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
./mach package
if [ $? -ne 0 ]; then exit 1; fi
echo ""
echo "artifacts_deb: Creating final artifacts."
echo ""
artifacts_deb_details
cd ..
echo "artifacts_deb: done."
}
artifacts_rpm()
{
echo "artifacts_rpm: begin."
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
./mach package
if [ $? -ne 0 ]; then exit 1; fi
echo ""
echo "artifacts_rpm: Creating final artifacts."
echo ""
artifacts_rpm_details
cd ..
echo "artifacts_rpm: done."
}
# Dependencies for linux/freebsd.
deps_deb() {
echo "deps_deb: begin."
deps1="python python-dev python3 python3-dev python3-distutils clang pkg-config libpulse-dev gcc"
deps2="curl wget nodejs libpango1.0-dev nasm yasm zip m4 libgtk-3-dev libgtk2.0-dev libdbus-glib-1-dev"
deps3="libxt-dev python3-pip mercurial automake autoconf libtool m4"
apt install -y $deps1
apt install -y $deps2
apt install -y $deps3
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."
}
# these utilities should work everywhere
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 bootstrap.py
# 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-permissive.zip
rm -f librewolf-$pkgver.en-US.win64-permissive-setup.exe
rm -f librewolf-$pkgver.en-US.win64-strict.zip
rm -f librewolf-$pkgver.en-US.win64-strict-setup.exe
rm -f tmp.nsi tmp-permissive.nsi tmp-strict.nsi
# linux
rm -f librewolf-$pkgver.en-US.deb.zip
rm -f librewolf-$pkgver.en-US.deb-permissive.zip
rm -f librewolf-$pkgver.en-US.deb-strict.zip
rm -f librewolf-$pkgver.en-US.rpm.zip
rm -f librewolf-$pkgver.en-US.rpm-permissive.zip
rm -f librewolf-$pkgver.en-US.rpm-strict.zip
echo "clean: 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 $srcdir ]; then exit 1; fi
cd $srcdir
./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 pull origin master
git submodule foreach git merge origin master
echo "git_subs: done."
}
git_init() {
echo "git_init: begin."
echo "srcdir = $srcdir"
if [ ! -d $srcdir ]; then exit 1; fi
cd $srcdir
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."
}
#
# Nightly builds, alternative builds.
#
init_mozilla_unified() {
rm -f bootstrap.py
wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
python3 bootstrap.py
}
set_mozilla_unified() {
srcdir=mozilla-unified
}
reset_mozilla_unified() {
echo "reset_mozilla_unified: begin."
if [ ! -d mozilla-unified ]; then
echo "Error: mozilla-unified folder not found. use init_mozilla_unified() to create one"
exit 1;
fi
cd mozilla-unified
echo "Resetting mozilla-unified..."
hg up -C
hg purge
echo "Mercurial pull..."
hg pull -u
cd ..
echo "reset_mozilla_unified: done."
}
# tor-browser.. (experimental)
init_tor_browser() {
git clone --no-checkout https://git.torproject.org/tor-browser.git
cd tor-browser
git checkout tor-browser-78.8.0esr-10.0-1
git submodule update --recursive
patch -p1 -i ../patches/tb-mozconfig-win10.patch
cd ..
}
set_tor_browser() {
srcdir=tor-browser
}
reset_tor_browser() {
echo "reset_tor_browser: begin."
if [ ! -d tor-browser ]; then
echo "Error: tor-browser folder not found. use init_tor_browser() to create one"
exit 1;
fi
cd tor-browser
echo "Resetting tor-browser..."
git reset --hard
cd ..
echo "reset_tor_browser: done."
}
# cross-compile actions...
#
# linux_patches - the 'do_patches' for linux->win crosscompile.
# linux_artifacts - standard artifact zip file. perhaps a -setup.exe.
# setup_deb_root - setup compile environment (root stuff)
# setup_deb_user - setup compile environmnet (build user)
# setup_rpm_root - setup compile environment (root stuff)
# setup_rpm_user - setup compile environmnet (build user)
. ./linux_xcompile.sh
#
# process commandline arguments and do something
#
done_something=0
if [[ "$*" == *linux_patches* ]]; then
linux_patches
done_something=1
fi
if [[ "$*" == *linux_artifacts* ]]; then
linux_artifacts
done_something=1
fi
if [[ "$*" == *setup_deb_root* ]]; then
setup_deb_root
done_something=1
fi
if [[ "$*" == *setup_deb_user* ]]; then
setup_deb_user
done_something=1
fi
if [[ "$*" == *setup_rpm_root* ]]; then
setup_rpm_root
done_something=1
fi
if [[ "$*" == *setup_rpm_user* ]]; then
setup_rpm_user
done_something=1
fi
# android
if [[ "$*" == *set_android* ]]; then
android=android
done_something=1
fi
# various administrative actions...
if [[ "$*" == *init_mozilla_unified* ]]; then
init_mozilla_unified
done_something=1
fi
if [[ "$*" == *set_mozilla_unified* ]]; then
set_mozilla_unified
done_something=1
fi
if [[ "$*" == *reset_mozilla_unified* ]]; then
reset_mozilla_unified
done_something=1
fi
if [[ "$*" == *init_tor_browser* ]]; then
init_tor_browser
done_something=1
fi
if [[ "$*" == *set_tor_browser* ]]; then
set_tor_browser
done_something=1
fi
if [[ "$*" == *reset_tor_browser* ]]; then
reset_tor_browser
done_something=1
fi
if [[ "$*" == *clean* ]]; then
clean
done_something=1
fi
if [[ "$*" == *all* ]]; then
fetch
extract
do_patches
build
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_win* ]]; then
artifacts_win
done_something=1
fi
if [[ "$*" == *artifacts_deb* ]]; then
artifacts_deb
done_something=1
fi
if [[ "$*" == *artifacts_rpm* ]]; then
artifacts_rpm
done_something=1
fi
# by default, give help..
if (( done_something == 0 )); then
cat << EOF
Use: ./build.sh clean | all | [other stuff...]
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.
# Basic functionality:
all - build all (fetch extract do_patches build artifacts_win)
clean - remove generated cruft.
# Linux related functions:
deps_deb - install dependencies with apt.
deps_rpm - install dependencies with dnf.
deps_pkg - install dependencies with pkg. (experimental)
artifacts_deb - apply .cfg, create a dist zip file (for debian10).
artifacts_rpm - apply .cfg, create a dist zip file (for fedora33).
# Generic utility functionality:
mach_env - create mach build environment.
rustup - perform a rustup for this user.
git_subs - update git submodules.
git_init - create .git folder in firefox-$pkgver for creating patches.
# Cross-compile from linux: (in development)
linux_patches - the 'do_patches' for linux->win crosscompile.
linux_artifacts - standard artifact zip file. perhaps a -setup.exe.
setup_deb_root - setup compile environment (root stuff)
setup_deb_user - setup compile environmnet (build user)
setup_rpm_root - setup compile environment (root stuff)
setup_rpm_user - setup compile environmnet (build user)
# Nightly etc.:
init_mozilla_unified - use bootstrap.py to grab the latest mozilla-unified.
set_mozilla_unified - use mozilla-unified instead of firefox-87.0 source.
reset_mozilla_unified - clean mozilla-unified and pull latest git changes.
s set_android - attempt andorid build (experimental).
You can use init_tor_browser, set_tor_browser as above, but it attempts a Tor
Browser build instead (esr releases). (experimental) or use set_strict to get
a more restricted version (experimental).
# Installation from linux zip file:
Copy the zip file in your $HOME folder, then:
unzip librewolf-*.zip
cd librewolf
./register-librewolf
That should give an app icon. You can unzip it elsewhere and it will work.
# Examples:
For windows, use:
./build.sh fetch extract do_patches build artifacts_win
./build.sh all
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

View file

@ -1,144 +0,0 @@
# Crosscompile on linux (debian,fedora)
#
# Creating the crosscompile environment on linux
#
setup_deb_root() {
echo "setup_deb_root: begin."
# (implementation...)
echo "setup_deb_root: done."
}
setup_deb_user() {
echo "setup_deb_user: begin."
# (implementation...)
echo "setup_deb_user: done."
}
setup_rpm_root() {
echo "setup_rpm_root: begin."
# (implementation...)
echo "setup_rpm_root: done."
}
setup_rpm_user() {
echo "setup_rpm_user: begin."
# (implementation...)
echo "setup_rpm_user: done."
}
#
# linux_patches() and linux_artifacts()
#
linux_patches() {
mozconfig_mode=xcompile
do_patches
}
linux_artifacts_details() {
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 permissive config
if [ ! -z $permissive ]; then
pushd librewolf
echo "Applying permissive patches..."
patch -p1 -i ../patches/permissive/librewolf-config.patch
if [ $? -ne 0 ]; then exit 1; fi
patch -p1 -i ../patches/permissive/librewolf-policies.patch
if [ $? -ne 0 ]; then exit 1; fi
popd
# create the final zip artifact
rm -f librewolf-$pkgver.en-US.$ospkg-permissive.zip
zip -qr9 librewolf-$pkgver.en-US.$ospkg-permissive.zip librewolf
if [ $? -ne 0 ]; then exit 1; fi
# now to try to make the installer
rm -f librewolf-$pkgver.en-US.win64-permissive-setup.exe tmp-permissive.nsi
sed "s/win64-setup/win64-permissive-setup/g" < tmp.nsi > tmp-permissive.nsi
makensis-3.01.exe -V1 tmp-permissive.nsi
if [ $? -ne 0 ]; then exit 1; fi
fi
popd
}
linux_artifacts() {
echo "linux_artifacts: 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 ""
linux_artifacts_details
cd ..
echo "linux_artifacts: done."
}

View file

@ -1,236 +0,0 @@
create_mozconfig_default() {
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
}
create_mozconfig_xcompile() {
cat >../mozconfig <<END
# Crosscompile to windows..
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
}
create_mozconfig_strict() {
cat >../mozconfig <<END
# Balls to the wall edition..
ac_add_options --disable-webrtc
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
}
create_mozconfig_android() {
cat >../mozconfig <<END
# Original file is from:
# https://raw.githubusercontent.com/Divested-Mobile/Mull/master/MOZCONFIG
#
# Reference
# https://gitweb.torproject.org/user/sysrqb/tor-browser.git/tree/.mozconfig-android
# https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/org.mozilla.fennec_fdroid.txt
# Build for Android
ac_add_options --with-android-min-sdk=16
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
#ac_add_options --target=aarch64-linux-android
#ac_add_options --target=x86_64-linux-android
# Specify paths
ac_add_options --with-android-sdk="/home/emy/.mozbuild/android-sdk-linux"
ac_add_options --with-android-ndk="/home/emy/.mozbuild/android-ndk-r17b"
CC="/home/emy/.mozbuild/clang/bin/clang"
CXX="/home/emy/.mozbuild/clang/bin/clang++"
# Set branding
#ac_add_options --with-branding=mobile/android/branding/divestos
# Build tweaks
ac_add_options --disable-tests
# Disable malware
#ac_add_options --disable-eme
ac_add_options --without-google-play-services
# Disable unneeded extras
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
# Hardening
ac_add_options --enable-hardening
# Optimize
ac_add_options --disable-debug
ac_add_options --disable-profiling
ac_add_options --disable-rust-debug
ac_add_options --enable-optimize
ac_add_options --enable-release
ac_add_options --enable-strip
ac_add_options --enable-rust-simd
export BUILDING_RELEASE=1
export MOZ_DEBUG=
export NIGHTLY_BUILD=
#The following options are the only way to fully disable debugging
export MOZILLA_OFFICIAL=1
#### ORIGINAL MOZCONFIG #####
#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
END
}

View file

@ -1,24 +0,0 @@
#!/bin/bash
pkgver=88.0.1
private_token=$1
if [ -z $private_token ]; then
echo "Please specify the Gitlab PRIVATE TOKEN on the commandline."
exit 1
fi
echo ""
echo ""
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64-setup.exe" "https://gitlab.com/api/v4/projects/13852981/uploads"
echo ""
echo ""
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64.zip" "https://gitlab.com/api/v4/projects/13852981/uploads"
echo ""
echo ""
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64-permissive-nightly-setup.exe" "https://gitlab.com/api/v4/projects/13852981/uploads"
echo ""
echo ""

View file

@ -1 +0,0 @@
pkgver=89.0

View file

@ -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

View file

@ -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/"

View file

@ -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 $?

View file

@ -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

View file

@ -1,4 +0,0 @@
@rem Windows Expert Bundle:
@rem https://www.torproject.org/download/tor/
Tor\tor.exe

View file

@ -1,3 +0,0 @@
librewolf-portable.aps
.vs
x64

View file

@ -1,3 +0,0 @@
# librewolf-portable
Execute librewolf.exe -profile Profiles\Default

View file

@ -1,30 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by librewolf-portable.rc
#define IDS_APP_TITLE 103
#define IDR_MAINFRAME 128
#define IDD_LIBREWOLFPORTABLE_DIALOG 102
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_LIBREWOLFPORTABLE 107
#define IDI_SMALL 108
#define IDC_LIBREWOLFPORTABLE 109
#define IDC_MYICON 2
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 130
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 110
#endif
#endif

View file

@ -1 +0,0 @@
msbuild /t:Clean,Build /p:Configuration=Release

View file

@ -1,69 +0,0 @@
// librewolf-portable.cpp : Run librewolf.exe with -profile parameter.
//
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
int fileExists(TCHAR* file)
{
WIN32_FIND_DATA FindFileData;
HANDLE handle = FindFirstFile(file, &FindFileData);
int found = handle != INVALID_HANDLE_VALUE;
if (found)
{
//FindClose(&handle); this will crash
FindClose(handle);
}
return found;
}
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
_In_ int nCmdShow)
{
//https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd
//constexpr int max_path = _MAX_PATH+1;
constexpr int max_path = 32767+1;
static wchar_t path[max_path], dir[max_path], exe[max_path], cmdline[max_path];
GetModuleFileName(NULL, path, _MAX_PATH);
*wcsrchr(path,L'\\') = L'\0';
wcscpy(dir, path);
wcscat(dir, L"\\Profiles\\Default");
wcscpy(exe, path);
wcscat(exe, L"\\librewolf.exe");
if (!fileExists(exe)) {
wcscpy(exe, path);
wcscat(exe, L"\\LibreWolf\\librewolf.exe");
if (!fileExists(exe)) {
MessageBox(NULL, L"Can\'t find librewolf.exe in . or LibreWolf", path, MB_OK);
return 1;
}
}
wsprintf(cmdline, L"\"%s\" -profile \"%s\"", exe, dir);
STARTUPINFOW siStartupInfo;
PROCESS_INFORMATION piProcessInfo;
memset(&siStartupInfo, 0, sizeof(siStartupInfo));
memset(&piProcessInfo, 0, sizeof(piProcessInfo));
siStartupInfo.cb = sizeof(siStartupInfo);
if (!CreateProcess(exe, cmdline, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &siStartupInfo, &piProcessInfo))
{
DWORD i = GetLastError();
wsprintf(dir, L"CreateProcess() failed with error %i", i);
MessageBox(NULL, dir, L"librewolf-portable", MB_OK);
return 1;
}
return 0;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,31 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "librewolf-portable", "librewolf-portable.vcxproj", "{363A5584-2FEA-46A3-A52B-7254D932AABA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x64.ActiveCfg = Debug|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x64.Build.0 = Debug|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x86.ActiveCfg = Debug|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Debug|x86.Build.0 = Debug|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x64.ActiveCfg = Release|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x64.Build.0 = Release|x64
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x86.ActiveCfg = Release|Win32
{363A5584-2FEA-46A3-A52B-7254D932AABA}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {968E3E1E-9A31-4937-A7E9-FF45C074E14E}
EndGlobalSection
EndGlobal

View file

@ -1,160 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{363a5584-2fea-46a3-a52b-7254d932aaba}</ProjectGuid>
<RootNamespace>librewolfportable</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="librewolf-portable.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="librewolf-portable.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="librewolf-portable.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="librewolf-portable.ico" />
<Image Include="small.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="framework.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="librewolf-portable.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="librewolf-portable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="librewolf-portable.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="small.ico">
<Filter>Resource Files</Filter>
</Image>
<Image Include="librewolf-portable.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View file

@ -1,6 +0,0 @@
#pragma once
// // Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>

View file

@ -1,29 +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,11 @@
# 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_NAME=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

File diff suppressed because it is too large Load diff

View file

@ -1,17 +0,0 @@
diff --git a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html
--- a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html
+++ b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html
@@ -54,13 +54,10 @@
<div class="info">
<h1 id="info-title" data-l10n-id="about-private-browsing-info-title"></h1>
<p id="info-body" data-l10n-id="about-private-browsing-info-description"></p>
- <a id="private-browsing-myths" data-l10n-id="about-private-browsing-info-myths"></a>
</div>
</div>
<div class="promo">
- <p id="private-browsing-vpn-text" class="vpn-promo" data-l10n-id="about-private-browsing-need-more-privacy"></p>
- <a id="private-browsing-vpn-link" class="vpn-promo" data-l10n-id="about-private-browsing-turn-on-vpn"></a>
</div>
</body>
</html>

View file

@ -1,14 +0,0 @@
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index 2bdafc86b3..789bece8e6 100644
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -302,6 +302,9 @@
; Technically this is an app pref file, but we are keeping it in the original
; gre location for now.
@RESPATH@/defaults/pref/channel-prefs.js
+@RESPATH@/defaults/pref/local-settings.js
+@RESPATH@/distribution/policies.json
+@RESPATH@/librewolf.cfg
; Background tasks-specific preferences. These are in the GRE
; location since they apply to all tasks at this time.

View file

@ -1,70 +0,0 @@
diff -r 2689403bd0d2 browser/extensions/moz.build
--- a/browser/extensions/moz.build Mon Jun 28 12:08:51 2021 +0000
+++ b/browser/extensions/moz.build Mon Jun 28 14:29:05 2021 +0200
@@ -5,11 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += [
- "doh-rollout",
"formautofill",
"screenshots",
- "webcompat",
- "report-site-issue",
"pictureinpicture",
]
diff -r 2689403bd0d2 browser/locales/Makefile.in
--- a/browser/locales/Makefile.in Mon Jun 28 12:08:51 2021 +0000
+++ b/browser/locales/Makefile.in Mon Jun 28 14:29:05 2021 +0200
@@ -61,7 +61,6 @@
ifneq (,$(wildcard ../extensions/formautofill/locales))
@$(MAKE) -C ../extensions/formautofill/locales AB_CD=$* XPI_NAME=locale-$*
endif
- @$(MAKE) -C ../extensions/report-site-issue/locales AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
@$(MAKE) -C ../../devtools/startup/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
@$(MAKE) l10n AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
@@ -82,7 +81,6 @@
@$(MAKE) -C ../../devtools/startup/locales chrome AB_CD=$*
@$(MAKE) chrome AB_CD=$*
@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*
- @$(MAKE) -C ../extensions/report-site-issue/locales chrome AB_CD=$*
package-win32-installer: $(SUBMAKEFILES)
$(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer
diff -r 2689403bd0d2 browser/locales/filter.py
--- a/browser/locales/filter.py Mon Jun 28 12:08:51 2021 +0000
+++ b/browser/locales/filter.py Mon Jun 28 14:29:05 2021 +0200
@@ -19,7 +19,6 @@
"devtools/startup",
"browser",
"browser/extensions/formautofill",
- "browser/extensions/report-site-issue",
"extensions/spellcheck",
"other-licenses/branding/firefox",
"browser/branding/official",
diff -r 2689403bd0d2 browser/locales/l10n.ini
--- a/browser/locales/l10n.ini Mon Jun 28 12:08:51 2021 +0000
+++ b/browser/locales/l10n.ini Mon Jun 28 14:29:05 2021 +0200
@@ -13,7 +13,6 @@
devtools/client
devtools/startup
browser/extensions/formautofill
- browser/extensions/report-site-issue
[includes]
# non-central apps might want to use %(topsrcdir)s here, or other vars
diff -r 2689403bd0d2 browser/locales/l10n.toml
--- a/browser/locales/l10n.toml Mon Jun 28 12:08:51 2021 +0000
+++ b/browser/locales/l10n.toml Mon Jun 28 14:29:05 2021 +0200
@@ -132,10 +132,6 @@
l10n = "{l}browser/extensions/formautofill/**"
[[paths]]
- reference = "browser/extensions/report-site-issue/locales/en-US/**"
- l10n = "{l}browser/extensions/report-site-issue/**"
-
-[[paths]]
reference = "services/sync/locales/en-US/**"
l10n = "{l}services/sync/**"

View file

@ -1,15 +0,0 @@
diff --git a/.mozconfig b/.mozconfig
index d71c858844e3..2d295de7df72 100755
--- a/.mozconfig
+++ b/.mozconfig
@@ -16,8 +16,8 @@ export MOZILLA_OFFICIAL=1
ac_add_options --enable-optimize
ac_add_options --enable-official-branding
-# Let's support GTK3 for ESR60
-ac_add_options --enable-default-toolkit=cairo-gtk3
+## Let's support GTK3 for ESR60
+#ac_add_options --enable-default-toolkit=cairo-gtk3
ac_add_options --disable-strip
ac_add_options --disable-install-strip

View file

@ -1,13 +0,0 @@
diff --git a/browser/components/urlbar/UrlbarProviderInterventions.jsm b/browser/components/urlbar/UrlbarProviderInterventions.jsm
index e22886ce92..d46d8191f2 100644
--- a/browser/components/urlbar/UrlbarProviderInterventions.jsm
+++ b/browser/components/urlbar/UrlbarProviderInterventions.jsm
@@ -451,7 +451,7 @@ class ProviderInterventions extends UrlbarProvider {
]),
});
for (let [id, phrases] of Object.entries(DOCUMENTS)) {
- queryScorer.addDocument({ id, phrases });
+// queryScorer.addDocument({ id, phrases });
}
return queryScorer;
});

View file

@ -1,18 +0,0 @@
diff -r 536a892dd51f browser/components/privatebrowsing/content/aboutPrivateBrowsing.html
--- a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html Tue Jun 22 16:56:13 2021 +0000
+++ b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.html Wed Jun 23 07:09:38 2021 +0200
@@ -58,6 +58,7 @@
</div>
</div>
+ <!--
<div class="promo">
<div class="promo-image-large">
<img src="" alt="" />
@@ -73,5 +74,6 @@
</div>
</div>
</div>
+ -->
</body>
</html>

@ -1 +0,0 @@
Subproject commit 192f51abe21e9aeb9b01d396079e9b8533cab7bb

124
setup.nsi
View file

@ -1,124 +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
# (commented this out, it causes problems with Chocolatey.)
# 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