It should only worry about its parent directory, not its grandparent.
This makes it possible to bind mount just daemon/contrib in a
container, to run 'make fetch' for example.
* contrib/bootstrap: Adjust relative paths.
* contrib/src/main.mak: Express using the CURDIR variable.
(PATH): Express using the TOPSRC variable.
(pkg_static): Express using the SRC environment variable.
Change-Id: I02cba2249e4971d76ef0af0fa00f4b1af61c5aff
This target can be used to print a list of the contrib tarballs
required to build the daemon. It can be used to copy only the
required tarballs from a cache when building a source release, for
example.
Change-Id: I402c29989b3e6fed8a82418d19dbbacea8c44f50
It was previously possible by overriding the TARBALLS variable on each
make call, but that's inconvenient. This changes allows specifying it
once, at bootstrap time. If the TARBALLS environment is defined, it
is also honored (and takes precedence over the value provided at
bootstrap time).
* contrib/src/ffmpeg/rules.mak (ffmpeg): Because the $(TARBALLS)
variable is now made absolute (for clarity in the build output), do
not use a relative path.
* contrib/src/onnx/rules.mak (onnx): Likewise.
* contrib/src/vpx/rules.mak (libvpx): Likewise.
* contrib/src/x264/rules.mak: Likewise.
Change-Id: I07497b095938c7885159f44753ead2814ed2a2fe
* declare NDEBUG for library and contrib
* activate pjsip extra checks as all PJ_ASSERT's are deactivated
Side effect: pjsip does not call abort() due to disabled assertions.
If debug is required:
* contrib: call bootstrap with --enable-debug
* libring: call configure with --enable-debug
Change-Id: I47b104c0f32352f0503457a9d419c4ed5db4e126
The new --no-checksums parameter allows for skipping checksums
verifications. This can be used to replace tarballs and still use the
contrib system.
This is useful for atleast the two following cases:
- Distro developper needs contrib to patch the source, but has the
original source in the distribution.
- Distro developper repacks the source, breaking the checksum.
Change-Id: I015ce3d0f6f4fb2f5fd5ec2f95528bfb4b045298
Tuleap: #879
This adds the support for the DISABLE_CONTRIB_DOWNLOADS environment
variable. It if it set to TRUE, the contrib system will not download
tarballs from the internet.
It can be set from the bootstrap script with the --disable-downloads
option.
This is useful for distro packaging because distribution developpers
have to make sure they have full control of what is included in the
package. In Debian, some tarballs are included such as pjsip but the
rest should not be downloaded. A small mistake such as a missging build
dependency could cause a tarball download. This new options will help
pervent such issues.
Tuleap: #847
Change-Id: I5f579774c53def751111f9366750670fcd75d893
Rationale: only daemon uses it and it simplifies packaging, where
daemon is the top-level directory.
Change-Id: Id99bd61f2b0269e0fc594c1782cd7945120acf49