Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes python programs (like meson) from using libraries from incorrect
places.
Upstream reference: https://github.com/pypa/setuptools/issues/2295
Fixes: https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/307
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/655>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/650>
|
|
The code takes care to never append two absolute paths, for example.
Instead, use Python's `join` and convert to posix paths before
returning.
Backport of https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/183
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/301
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/649>
|
|
Otherwise, nettle configure fails to find a build compiler and errors
out like so:
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
Due to the incompatible check:
conftest.c:4:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
exit(0);
^
conftest.c:4:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/648>
|
|
A lot of recipes in 1.16 aren't ready for XCode 12's new default of
erroring out. Wholesale disable that warning where possible.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/648>
|
|
XCode 12 will now error out by default for implicit function
declarations.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/646>
|
|
XCode 12 will now error by default for implicit function declarations
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/646>
|
|
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/643>
|
|
Applying upstream PR to fix missing large file support on Windows MinGW build
Backported-by: Nirbheek Chauhan <nirbheek@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/635>
|
|
Closes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/94
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Someone reported on IRC that openssl was failing to build because it
was complaining about Perl using backward slashes instead of forward
slashes. Turned out to be because someone had overriden TERM to be
`dumb` instead of the default `cygwin`.
Set those vars ourselves to prevent this from happening.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
The cross and native files should be written as utf-8 because that is
what Meson expects, and we should read meson_options.txt as utf-8,
because that is what it will always be.
Fixes the following error on macOS while reading meson_options.txt:
```
Traceback (most recent call last):
File "cerbero/build/oven.py", line 451, in _cook_recipe_step
await ret
File "cerbero/build/recipe.py", line 82, in async_wrapped
await stepfunc()
File "cerbero/build/build.py", line 63, in async_call
res = await func(*args)
File "cerbero/build/build.py", line 1011, in configure
self._set_option({'introspection', 'gir'}, 'gi')
File "cerbero/build/build.py", line 771, in _set_option
options = f.read()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12: ordinal not in range(128)
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Add Ubunut 20.04 Focal Fossa to known distro list
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
This helps debug build issues.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
It doesn't work well if your prefix is not `usr/libblah/pkgconfig`,
such as on Debian.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
With this, the `prefix` variable in .pc files will be automatically
detected based on the location of the .pc file. This allows for
portable prefixes.
This is the recommended configuration on Windows and macOS. We need to
enable this since we ship pkg-config with the release binaries now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
|
|
Also had to pull in two other patches for these to apply cleanly.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/271
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/619>
|
|
See https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/271
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/619>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/624>
|
|
This reverts commit 200290c8c0161110ae3d4ca1f6257def6d72df39.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/598>
|
|
When we run from inside the build env, LD_LIBRARY_PATH is set to point
to the cerbero prefix, which contains an old version of GnuTLS. This
is no longer possible in master because we no longer set the build env
in `os.environ` there. Fixes:
wget: [...]/dist/linux_x86_64/lib/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by wget)
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/596>
|
|
|
|
|
|
This is a more obvious place for it, and is self-documenting in the CI
YAML too, where we exclude it from the cerbero-deps tarball.
|
|
The goal is to reduce egress on FDO server. In this patch, the cache is split
from fetch.py into it's own set of commands in cache.py. It now implements
fetch-cache, gen-cache and upload-chache. upload-cache can only work if the
SSH private key needed to upload has been set into CERBERO_PRIVATE_SSH_KEY
environment or is available in your .ssh folder. The key will be made availabe
through configuration in gstreamer/cerbero CI configuration and only
available to protected branches on the gstreamer namespace.
Backported-by: Nirbheek Chauhan <nirbheek@centricular.com>
|
|
We use the .la entries for this. This will always be correct because
we generate the .la files from the .pc files in the first place.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/157
|
|
|
|
Some places block urllib, and others block wget / curl. Set our own
agent to workaround that, and so that people can contact us in case
we're doing something they don't like while downloading things.
|
|
Found by Carsten Griffin on
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/407
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/648
|
|
|
|
Adding `ENFORCEPIC=Yes` to the recipe fixes the openh264 build to avoid
text relocations on Android >= 5.0 x86. The fix works on openh264 since
version 1.7.0.
Fixes #8
|
|
Now we print the original URL that failed to download, then a tuple of
murl, exception so users can figure out what happened with the
mirrors.
|
|
ftpmirror points to random GNU mirrors which are community maintained
and are likely to be down.
|
|
Do not look for a `libfoo.dll` plugin when the recipe has been built
with MSVC. This avoids incorrect packaging when the prefix is dirty
due to user error.
|
|
This is needed for some elements, and we build those dependencies
already, so we can enable them to ensure that they do get built.
|
|
Upstream decided to not include it because it's a risky flag. Let's
remove it too in case we break things for people. Our PE files are
anyway not reproducible because there's no equivalent flag for gcc.
|
|
People keep tripping over this and opening issues. Point people to the
existing issue in a warning and generate tarballs instead.
|
|
When not cross-compiling, $CERBERO_PREFIX/lib path was added at the end
of LD_LIBRARY_PATH whereas build-tools/lib path was prepended. As a
consequence, libraries and tools installed during bootstrap were taking
precedence over the one built later within the prefix (for libraries and
tools available at both places). This happens for example with glib when
it is installed during bootstrap (glib-tools.recipe) and built later as
a dependency (glib.recipe). This commit prepends $CERBERO_PREFIX/lib in
LD_LIBRARY_PATH in order to use the build-tools/lib when no dependency
is custom built, and then to use the $CERBERO_PREFIX/lib once the
dependency has been correctly built. It also brings coherency with PATH
variable order as $CERBERO_PREFIX/bin preceeds build-tools/bin.
|
|
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/issues/223
|