summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-24gst-plugins-base: Fix gstgl build on UWP1.17.90Nirbheek Chauhan2-0/+34
Temporary hack for https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/814 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/579>
2020-08-21Build 1.17.90 releaseTim-Philipp Müller13-14/+14
2020-08-19opus: add libtool file for androidMatthew Waters1-1/+8
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/576>
2020-08-13cerbero: Fix bootstrap on Redhat 8Nirbheek Chauhan1-2/+0
This was a regression from 28b7b043d3896707a331c936a4da1105206cfa0e. We no longer install that package. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/572>
2020-08-07ffmpeg: disable stripping of debug symbolsTim-Philipp Müller1-1/+1
We don't strip libraries for other recipes either and leave this to the packaging step. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/571>
2020-08-07ffmpeg: update to 4.3.1Tim-Philipp Müller1-4/+5
And switch to xz tarballs. Fixes #290 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/571>
2020-08-04glib.recipe: Re-enable GResolver lookup by name and addressNirbheek Chauhan3-50/+74
We only need to return an error when DNS record lookup is requested, which is rare. The most common usage is lookup by name and address, both of which work fine already. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/569>
2020-07-31cerbero: Use separate prefixes for MSVC/MinGW in the MSINirbheek Chauhan5-30/+44
Before we would output mingw, msvc, msvc-debug into the same prefixes, and would set the same env var for all: C:\gstreamer\1.0\x86_64 C:\gstreamer\1.0\x86 GSTREAMER_1_0_ROOT_X86_64 GSTREAMER_1_0_ROOT_X86 Now we will output into: -v novisualstudio (default) C:\gstreamer\1.0\mingw_x86_64 C:\gstreamer\1.0\mingw_x86 GSTREAMER_1_0_ROOT_MINGW_X86_64 GSTREAMER_1_0_ROOT_MINGW_X86 -v visualstudio C:\gstreamer\1.0\msvc_x86_64 C:\gstreamer\1.0\msvc_x86 GSTREAMER_1_0_ROOT_MSVC_X86_64 GSTREAMER_1_0_ROOT_MSVC_X86 -v visualstudio,vscrt=mdd C:\gstreamer\1.0\msvc-debug_x86_64 C:\gstreamer\1.0\msvc-debug_x86 GSTREAMER_1_0_ROOT_MSVC_DEBUG_X86_64 GSTREAMER_1_0_ROOT_MSVC_DEBUG_X86 Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/281 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/567>
2020-07-30osx: support relocations with longer install namesAndoni Morales Alastruey1-1/+2
Build the framework library with -headerpad_max_install_names to allow relocations with longer install names than the original one. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/565>
2020-07-30osx: fix relocation of binaries without extensionAndoni Morales Alastruey1-2/+7
The check by extension was only relocation libraries and skipping binaries. This fix also looks for Mach-O files if the extension check fails Fixes: #285 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/565>
2020-07-30packages: Also include ANGLE libs on universalNirbheek Chauhan1-1/+1
Because of this we were missing the ANGLE libs when using cross-uwp-universal.cbc Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/566>
2020-07-29orc.recipe: Add a patch for fixing memory access violation on WindowsSeungha Yang2-0/+94
See https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/48 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/564>
2020-07-24glib.recipe: Fix fetching of env vars on UWPNirbheek Chauhan4-3/+200
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1579 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/563>
2020-07-22bootstrap: Trim the list of packages we install on LinuxNirbheek Chauhan1-63/+44
Tested on a Debian system with none of these packages installed, and the new list of packages is all we really need. We do not need gtkdoc, docbook, texlib, alsa-dev, etc. Can probably be trimmed even further. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/562>
2020-07-22opus.recipe: Port to Meson, enable on UWPNirbheek Chauhan6-11/+2612
Tested and compared with autotools build on: Windows (UWP, MSVC, MinGW) x (x86, x86_64, ARM64) Android Universal (ARM64, x86, x86_64, ARMv7) iOS Universal (ARM64, X86_64) macOS (x86_64) Linux (x86_64, ARMv7) Comparison was done by ensuring that the same options were enabled, and that the static library had the same objects inside it when built with Autotools and Meson. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/560>
2020-07-22cerbero: Print logs for all previous steps on failureNirbheek Chauhan1-5/+25
Instead of only printing the log for the current step, print the logs for all previous steps that are available. Helps in figuring out, f.ex., compile issues that might be caused by incorrect configuration. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/556>
2020-07-20packages: Fix fetch-package + package --offline on LinuxNirbheek Chauhan1-4/+5
On Linux, we will always add bash-completion to the list of recipes, but because fetch-package maintains a separate list based on the list of recipes in the package files, we will not fetch it. This is a known bug. See: https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/125 Workaround it by adding it to -core. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/561>
2020-07-20Don't allow git commit to fail when initializing source treeNirbheek Chauhan2-7/+4
This is only needed by recipes that are buggy. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/25 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/559>
2020-07-19cerbero/bootstrap: Check build tools version after installingNirbheek Chauhan1-12/+21
Version checking in `__init__` is performed before we install the tools during system bootstrap. Do it in `start()` instead, which is afterwards. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/557>
2020-07-18cerbero: Read/write meson config files as utf-8Nirbheek Chauhan1-2/+2
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/555>
2020-07-18cerbero: Don't warn about distro version bootstrapperNirbheek Chauhan1-2/+0
Closes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/94 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/558>
2020-07-13recipes: Fix patch references in libsrtp and openh264Nirbheek Chauhan3-4/+3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/554>
2020-07-13graphene.recipe: Bump to 1.10.2Nirbheek Chauhan6-245/+9
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/554>
2020-07-13sqlite3.recipe: Bump to 3320300 and sync with wrapdbNirbheek Chauhan4-107/+56
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/553>
2020-07-13gst-plugins-bad: Build the new gstva plugin when vaapi is enabledNirbheek Chauhan1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/552>
2020-07-13Override FilesProvider py_prefix on WindowsLoïc Le Page1-2/+9
On Windows py_prefix is detected as 'Lib' whereas recipes still install their python files in the posix prefix: 'lib/python[version]'. So we override the py_prefix in FilesProvider on Windows in order to fetch python files from the right place. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/487>
2020-07-12cerbero: Don't create some dirs when building for universalNirbheek Chauhan1-2/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/551>
2020-07-12cerbero: Fix auto-setting of visualstudio variantNirbheek Chauhan1-4/+4
This should happen when we set the uwp variant, not inside override(). For instance, this is required when setting variants.uwp inside cross-uwp-universal.cbc. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/551>
2020-07-12cerbero: Force uwp packagign to be a single tarballNirbheek Chauhan1-1/+2
There is no use splitting into separate runtime and development tarballs because Visual Studio requires both to be present when building the package, and the project will have to manually include DLLs as assets anyway. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/551>
2020-07-12Add a uwp-universal target to build all uwp arches at onceNirbheek Chauhan6-24/+63
This is identical to how the cross-android-universal target works. Supported UWP arches are: x86, x86_64, arm64. This covers 100% of Windows 10 machines: https://docs.microsoft.com/en-us/windows/msix/package/device-architecture Advantages are the same as Android: 1. Most people will build apps that target multiple (or all) archs 2. Easier to build and ship all arches at once 3. Easier to download two tarballs rather than six Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/551>
2020-07-10cerbero: Download a newer xz in bootstrap on WindowsNirbheek Chauhan1-0/+18
xz 5.2 implements multithreaded compression, which speeds up packaging of UWP tarballs on my system from 5 min to 15 seconds. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/540>
2020-07-10cerbero: Use xz instead of tarfile's lzma compressionNirbheek Chauhan1-4/+20
This speeds up UWP packaging on my Windows machine from 10 minutes to 5 minutes. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/540>
2020-07-10cerbero: Default to xz compression for tarballsNirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/540>
2020-07-10cerbero: Rename --xz to --compress-methodNirbheek Chauhan1-5/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/540>
2020-07-10cerbero/bootstrap: Nitpick some variable names and commentsNirbheek Chauhan1-10/+5
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/540>
2020-07-10cerbero: Ship plugin .pc files for all modulesNirbheek Chauhan1-0/+10
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 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/550>
2020-07-10Add Linux Mint 20.04 Ulyana based on Ubuntu FocalLoïc Le Page1-2/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/549>
2020-07-10windows: ensure users are running 64-bit building with MinGWAndoni Morales Alastruey2-1/+9
Fixes: #222 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/548>
2020-07-10angle-uwp: Bump to 2.1.20 which also supports x86Nirbheek Chauhan3-8/+12
This allows us to enable opengl support on x86 UWP. Also fix packaging on ARMv7 UWP. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/547>
2020-07-09libnice.recipe: Port interface discovery APIs to UWPNirbheek Chauhan5-0/+412
The following APIs are not allowed: `GetIfTable` `GetBestInterface` `GetIpAddrTable`, so replace with equivalents. In the process, also unbreak the service discovery APIs. Upstream MR has more details: https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/154 WACK wasn't reporting an error for `GetIpAddrTable`, but the documentation says it is only available on desktop: https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getipaddrtable#requirements Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/546>
2020-07-09config: Don't set prefix for Windows buildsNirbheek Chauhan5-8/+0
We've been doing this since the beginning to ensure correct paths inside various files such as .pc and .la, but we this is not needed anymore for two reasons: 1. We ship pkg-config with --define-prefix enabled 2. MSI supports installing into any location So, always use dirs inside the build/ directory. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/537>
2020-07-09openssl.recipe: Fix some UWP incompatibilitiesNirbheek Chauhan3-1/+112
These errors were reported by the Windows App Certification Kit. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/544>
2020-07-09glib.recipe: Don't wait for Window Messages on UWPNirbheek Chauhan2-0/+51
This function is not available UWP, and WaitForMultipleObjects should be used instead since Win32 Window Messages are not available on UWP. This error was reported by the Windows Application Certification Kit (WACK). Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/545>
2020-07-08package: Need libEGL and libGLESv2 from angle-uwpNirbheek Chauhan1-0/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/543>
2020-07-07openssl.recipe: Use debug/release CRT on MSVCNirbheek Chauhan1-0/+9
Otherwise openssl always links to the release CRT. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/542>
2020-07-07cerbero: Add an assertion for UWP buildsNirbheek Chauhan3-2/+9
When UWP builds are enabled, we should not accidentally select recipes that can't be built with MSVC. Error out if that case happens. Same if the visualstudio variant wasn't implicitly set. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/538>
2020-07-07gst-plugins-base: Enable opengl plugin on UWPNirbheek Chauhan1-1/+9
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/538>
2020-07-07Add a recipe for using ANGLE with UWPNirbheek Chauhan1-0/+60
This is the binary used by the Servo folks, and is the best-maintained ANGLE-for-UWP fork out there. Instead of building it, we currently just download the nuget, extract it, and put it into the prefix. There's just one nuget for ARM64 and x86_64, but there's separate nugets for debug-crt and release-crt. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/538>
2020-07-07cerbero: Allow changing tarball_name dynamicallyNirbheek Chauhan1-9/+17
You could only set self.tarball_name in a recipe in the definition. It could not be changed in prepare(). With this, it can be done. Needed for selecting debug-crt vs release-crt binaries for ANGLE (next commit). Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/538>
2020-07-07cerbero: Support extracting tarbombsNirbheek Chauhan1-2/+18
"Tarbomb" is a tarball or a zip file that extracts into the current directory instead of making a subdir of its own. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/538>