summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-07Back to developmentTim-Philipp Müller3-4/+4
Build 1.18 branch again.
2020-12-07Fix Big Sur detection1.18.2Andoni Morales Alastruey1-1/+1
XCode's python returns 11.0 Homebrew's python returns 10.16 Fixes #311 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/664>
2020-12-06Build 1.18.2 releaseTim-Philipp Müller13-14/+14
2020-10-30build-tools: copy the removed site.py from setuptoolsMatthew Waters2-0/+111
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/657>
2020-10-29Back to developmentTim-Philipp Müller3-4/+4
Build 1.18 branch again. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/656>
2020-10-27Update FreeType to 2.10.4 to fix security vulnerability1.18.1Xavier Claessens2-37/+2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/644>
2020-10-27config/darwin: unconditionally add -Wno-error=implicit-function-declarationMatthew Waters1-0/+1
Some recipes (libvisual) in 1.18 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/652>
2020-10-27Build 1.18.1 releaseTim-Philipp Müller13-14/+14
2020-10-14gstreamer-1.0: Don't enable DbgHelp for UWP buildSeungha Yang1-1/+5
Most symbols in DbgHelp are not allowed for UWP Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/637>
2020-10-07gstreamer-1.0.recipe: Use the correct spelling for dbghelpNirbheek Chauhan1-1/+1
This should work correctly now that we've merged https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/626 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/633>
2020-10-05cerbero: Support XCode Python 3 on macOS Big SurNirbheek Chauhan1-15/+19
python.org's official Python 3 release does not work on Big Sur, so the only option at present is to use the Python 3 that ships with XCode. Unfortunately, that doesn't ship with python3-config right now so you need to build with `-v nogi`. XCode's Python 3 defaults to a framework path for sysconfig purelib: /Library/Python/3.8/site-packages but setuptools still uses the posix path: /lib/python3.8/site-packages. This also means we'd have inconsistent paths based on your macOS version. The second issue is that on Windows the purelib path is \Lib\site-packages which is not version-specific but it *is* the default for setuptools, so let's consistently add both. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/628>
2020-10-05Add enums for macOS Big SurNirbheek Chauhan2-1/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/628>
2020-10-05Revert "gst-plugins-base: Fix build on UWP again"Tim-Philipp Müller2-28/+0
This reverts commit cdd5f931d892d2a278d08554f9ef5d8c42be63c1. Fixed in -base in https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/849 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/627>
2020-10-04libdca.recipe: Fix symlink creation codeNirbheek Chauhan1-5/+8
Fixes CI error: Traceback (most recent call last): File "/builds/nirbheek/cerbero/cerbero/build/oven.py", line 461, in _cook_recipe_step ret = stepfunc() File "/builds/nirbheek/cerbero/cerbero/build/recipe.py", line 93, in wrapped stepfunc() File "/builds/nirbheek/cerbero/recipes/libdca.recipe", line 34, in post_install os.symlink(src, os.path.join(self.config.prefix, dest)) FileExistsError: [Errno 17] File exists: 'lib/libdts.a' -> '/builds/nirbheek/cerbero/cerbero-build/dist/mingw_x86_64/libdca.a' Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/625>
2020-10-04libdca.recipe: Fixup symlinks to have a relative pathNirbheek Chauhan1-0/+13
These are written out with an absolute path, which breaks relocation. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/625>
2020-10-04gst-plugins-bad: Ship rtpmanagerbadNirbheek Chauhan1-0/+2
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/302 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/625>
2020-10-01pango: fix font corruption on windowsAaron Boxer3-0/+693
1. provide windows font fallbacks 2. do not share windows HDC across threads Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/623>
2020-09-30recipes/zlib: fix build with XCode 12Matthew Waters2-0/+43
XCode 12 will now error out by default for implicit function declarations. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/621>
2020-09-30reciped/gperf: fix build with XCode 12Matthew Waters2-1/+40
XCode 12 will now error by default for implicit function declarations Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/621>
2020-09-30cairo: use thread local storage to grant one windows HDC per threadAaron Boxer2-0/+63
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/620>
2020-09-09cerbero: Re-add alsa-devel to bootstrap on LinuxNirbheek Chauhan1-3/+3
This was accidentally removed. We build the alsa plugin. Replaces parts of https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/338 (cherry picked from commit a9b8983b6d6ef13c97319145bc47b8e8873e9820) Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/599>
2020-09-08Back to developmentTim-Philipp Müller3-4/+4
2020-09-08ci: use ci template from 1.18 branch1.18.0Tim-Philipp Müller1-1/+1
2020-09-08gst-plugins-base: Fix build on UWP againNirbheek Chauhan2-0/+28
This was fixed in -base minus a typo. Remove this patch after https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/810 is merged. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/591>
2020-09-08Build 1.18.0 releaseTim-Philipp Müller13-14/+14
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/590>
2020-09-02gst-plugins-bad: Enable nvcodec by defaultNirbheek Chauhan3-9/+10
We do not need to compile against any Nvidia SDKs now, so we can build this by default and ship it out of the box in our binary releases. It's still disabled on UWP, iOS, and Android since it's not usable on those. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/587>
2020-09-01commands/cache: use os.devnull instead of hardcoding /dev/nullJordan Petridis1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/586>
2020-08-30README: add some instructions for building on WindowsAaron Boxer1-1/+6
1. directive to install.NET 3.5.1, needed by Wix 2. directive to delete fake Windows Store Python in path (Windows 10 only) Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/581>
2020-08-30gst-plugins-good: Fix ximagesrc optionNirbheek Chauhan1-1/+1
This has not been 'x11' for over a year since https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/553. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/584>
2020-08-30Back to development, and revert gstgl UWP hackNirbheek Chauhan3-35/+1
This reverts commit b02080cb41f76c0dc561afb27baeb1670203bd7b since https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/800 has been merged and also goes back to building git so we can use it. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/582>
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>