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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg Koppen
tor-browser-build
Commits
cebdaf33
Unverified
Commit
cebdaf33
authored
7 years ago
by
boklm
Browse files
Options
Downloads
Patches
Plain Diff
README.HACKING: explain how to test a firefox patch
parent
48deeaa2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.HACKING
+24
-0
24 additions, 0 deletions
README.HACKING
with
24 additions
and
0 deletions
README.HACKING
+
24
−
0
View file @
cebdaf33
...
...
@@ -198,6 +198,30 @@ To find the resulting file from the build, you can use 'ls -ltr out/tor/'
to find the file with the last modification time.
Patching Firefox (or an other component)
----------------------------------------
If you want to test a firefox patch, the easiest way to do it is to
copy the patch file to the projects/firefox/ directory, then edit
projects/firefox/config to add the new patch to the list of input_files:
- filename: patch-for-XXXX.patch
Then edit projects/firefox/build to add a line somewhere (probably just
before running the configure script) to apply the patch:
patch -p1 < $rootdir/patch-for-XXXX.patch
You can now run 'make testbuild' (or an other build target) to start a
build with the patch.
As an alternative, if you have your patch in a git repository, you can
edit projects/firefox/config to change the git_url option to point to
your git repository, and change the git_hash option to point to the
commit you want to build. You will also need to comment the
'tag_gpg_id: 1' line (unless git_hash is pointing to a signed git tag).
Debugging a build error
-----------------------
...
...
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
register
or
sign in
to comment