Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
tor-browser-build
Commits
ba13fa7f
Verified
Commit
ba13fa7f
authored
Jan 24, 2023
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40754: Provide uBlock Origin to Privacy Browser
parent
87db400a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!631
Bug 40742: Add Privacy Browser targets
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/browser/build
+6
-2
6 additions, 2 deletions
projects/browser/build
projects/browser/config
+4
-0
4 additions, 0 deletions
projects/browser/config
with
10 additions
and
2 deletions
projects/browser/build
+
6
−
2
View file @
ba13fa7f
...
...
@@ -63,6 +63,9 @@ done
[
%
END
-%
]
mv
[
%
c
(
'
input_files_by_name/noscript
'
)
%
]
"
$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
"
[
%
IF
c
(
"
var/privacy-browser
"
)
-%
]
mv
[
%
c
(
'
input_files_by_name/ublock-origin
'
)
%
]
"
$TBDIR/$EXTSPATH/uBlock0@raymondhill.net.xpi
"
[
%
END
-%
]
[
%
IF
!
c
(
"
var/macos
"
)
&&
c
(
"
var/tor-browser
"
)
-%
]
cp
"
$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
"
"
$TBDIR/$PROFILEPATH/
"
[
%
END
%
]
...
...
@@ -293,10 +296,11 @@ done
# mozpack.mozjar.JarReaderError: Central directory and file header mismatch. Corrupted archive?
#
# See https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40439#note_2838724
mv
"
$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
"
$
rootdir
/
ns
.
xpi
mkdir
$
rootdir
/
extensions
mv
"
$TBDIR/$EXTSPATH/
"
*
$
rootdir
/
extensions
MOZ_AUTOMATION
=
1
$
firefox_src
/
mach
python
$
firefox_src
/
toolkit
/
mozapps
/
installer
/
unify
.
py
"
$TBDIR
"
"
$TBDIR_AARCH64
"
mkdir
-
p
"
$TBDIR/$EXTSPATH
"
mv
$
rootdir
/
ns
.
xpi
"
$TBDIR/$EXTSPATH/
{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
"
mv
$
rootdir
/
extensions
/*
"
$TBDIR/$EXTSPATH/
"
rm
-
Rf
"
$TBDIR_AARCH64
"
[
%
END
-%
]
...
...
This diff is collapsed.
Click to expand it.
projects/browser/config
+
4
−
0
View file @
ba13fa7f
...
...
@@ -106,6 +106,10 @@ input_files:
-
URL
:
https://addons.mozilla.org/firefox/downloads/file/4050735/noscript-11.4.14.xpi
name
:
noscript
sha256sum
:
14af6a3cbc269c045f2d950e1e4f7c29981b35a7abc61d2413f5bb8bd7311857
-
URL
:
https://addons.mozilla.org/firefox/downloads/file/4047353/ublock_origin-1.46.0.xpi
name
:
ublock-origin
sha256sum
:
6bf8af5266353fab5eabdc7476de026e01edfb7901b0430c5e539f6791f1edc8
enable
:
'
[%
c("var/privacy-browser")
%]'
-
filename
:
'
gtk3-settings.ini'
enable
:
'
[%
c("var/linux")
%]'
-
project
:
hfsplus-tools
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment