| 1 |
Mozilla doesn't release the SpiderMonkey sources as tarball, however it does |
| 2 |
ship a script to generate a tarball with the firefox source code. |
| 3 |
|
| 4 |
As per this, in order to make possible to use uscan to easily get the latest |
| 5 |
sources and to ensure that the packaged sources are coming from a trusted |
| 6 |
and signed original archive, this source package uses some extra tooling: |
| 7 |
|
| 8 |
- This relies on gbp-buildpackage (a version which supports $GBP_SOURCES_DIR) |
| 9 |
- To update to a new upstream release you need to use |
| 10 |
`gbp import-orig` (using `--uscan` or a firefox tarball) |
| 11 |
- Gbp will launch the `debian/gbp-repack-mozjs-source.sh` script as part of |
| 12 |
the import process, repacking the orig.tar.xz once filtered. |
| 13 |
The script in particular will: |
| 14 |
+ Replace the original archive with the mozjs one |
| 15 |
+ Filter out the debian/copyright's `Files-Excluded` |
| 16 |
+ Filter out the compiled files (via $FILTERED_FILES array) |
| 17 |
+ Copy the files $EXTRA_FILES from firefox sources to the mozjs ones |