Commit Graph

5770 Commits

Author SHA1 Message Date
Steve Lhomme a7c6301560 package/emscripten: use vlc_plugin_cb for the static list of modules
For the static list of modules.
2023-03-07 08:23:15 +00:00
Claudio Cambra aefc897d85 macosx: Add VLCFullVideoViewWindow class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra c17f8a5b4a macosx: Remove no longer needed VLCDetachedVideoWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra 1a874e017f macosx: Remove now unused autohide toolbar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra 5d76933924 macosx: Remove old fspanel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra 6882a5e55f macosx: Make file owner of VLCMainVideoView a controller class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra 2aec33da89 macosx: Add VLCMainVideoView class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra be1b136976 macosx: Add starter VLCMainVideoView.XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Steve Lhomme e6cf68a532 package/win32: don't force ucrt linking with C/C++ file
We already check that the C toolchain defaults to UCRT since 23fac2466a.
Using -lucrt with recent cland creates a warning.
arrib25 is compiled with -Werror which prevents it from compiling. But we don't
need -lucrt at all.
2023-02-22 06:46:57 +00:00
Steve Lhomme 9178cfcd74 package/win32: add the -l in the EXTRA_CRUNTIME string
So we don't have to repeat it each time
2023-02-22 06:46:57 +00:00
Claudio Cambra 45680115c2 macosx: Add VLCInputNodePathControl
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-15 07:22:46 +00:00
Claudio Cambra b302dabaa4 macosx: Add a new VLCInputNodePathControlItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-15 07:22:46 +00:00
Claudio Cambra 82ec7e12b3 macosx: Compile asset catalog
Co-Authored-By: Claudio Cambra <developer@claudiocambra.com>
2023-02-07 08:05:50 +00:00
Claudio Cambra d4557132ad macosx: Add asset catalog with accent color
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-07 08:05:50 +00:00
Claudio Cambra 16668b0823 macosx: Remove VLCPlaylistImageCache, which duplicates VLCLibraryImageCache and is no longer used
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-07 06:14:10 +00:00
Claudio Cambra 5803428a84 macosx: Add VLCAspectRatioRetainingVideoWindow class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-05 20:53:32 +00:00
Steve Lhomme d9e8ad8b02 package/win32: always bootstrap
We always do a configure after that, so the extra time saved not doing the
bootstrap is peanuts. On the other hand, it prevents using a proper
configure script when switching to a different branch.

Effectively reverts abd6fbe4b2
2023-02-03 10:06:27 +00:00
Steve Lhomme 7e2b8ecd0a package/win32: add an option to build with meson
Only cross compiling is supported for now. But we don't really build it
in other ways.
2023-02-03 10:06:27 +00:00
Steve Lhomme 6dd1420833 package/win32: move the configuration flags above the calls
No functional changes.
2023-02-03 10:06:27 +00:00
Claudio Cambra 4b1d22f3af macosx: Add VLCLibraryWindowAutohideToolbar class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-03 04:30:12 +00:00
Steve Lhomme 3192d4296f CI: enable -Werror=restrict for Debian (gcc) builds
It is supported in gcc8+ which we have in the docker image.
This is a C only option.
2023-01-29 12:38:17 +00:00
Steve Lhomme 6661aaa7e6 CI: enable -Werror=restrict for Windows gcc builds
It is supported in gcc8+ which we have in the docker image.
This is a C only option.
2023-01-29 12:38:17 +00:00
Steve Lhomme 28dfe76844 package/win32: enable -Werror=restrict for Windows gcc builds
It is supported in gcc8+ which we have in the docker image.
This is a C only option.
2023-01-29 12:38:17 +00:00
Steve Lhomme 5d21948631 package/win32: detect when UCRT is enabled without a UCRT toolchain 2023-01-28 09:32:40 +00:00
Steve Lhomme 98f77b7ea1 package/win32: avoid verbose errors when checking for clang 2023-01-28 09:32:40 +00:00
Steve Lhomme 23fac2466a package/win32: detect we build with a UCRT toolchain 2023-01-28 09:32:40 +00:00
Steve Lhomme 4657ba2647 package/win32: set _UCRT when enabling URCT in mingw-64
_UCRT was not set automatically in with mingw-w64 older than 7 [1]. _UCRT is
needed to enable certain UCRT API. It's also set by MSVC.

[1] 8b2ece59fc
2023-01-28 08:30:50 +00:00
Steve Lhomme 475defd0bc CI: enable x262 builds on Debian
This code is not tested otherwise.
2023-01-27 12:15:36 +00:00
Johannes Kauffmann 0466737bcb tools: remove leftover protobuf entry 2023-01-12 15:19:33 +00:00
Johannes Kauffmann 11cc0930f4 tools: remove duplicate libtool entry 2023-01-12 15:19:33 +00:00
Claudio Cambra 2243fb6afe macosx: Move media source components into library folder
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-12 10:47:29 +00:00
Claudio Cambra 8713bcd310 macosx: Add VLCLibraryMediaSourceViewController class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-12 10:47:29 +00:00
Claudio Cambra 411afa9c63 macosx: Add NSImage+VLCAdditions extension
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-09 20:51:20 +00:00
Steve Lhomme 545d52eb83 tools: raise the minimum Meson version to 0.60
This is the minimum version used to build VLC.
2023-01-06 13:13:38 +00:00
Steve Lhomme 5dede0646e tools: update Meson to 1.0.0 2023-01-06 13:13:38 +00:00
Marvin Scholz e69dae6920 CI: add meson linux job
This job is allowed to fail for now, so that MR authors are not
required to adapt their work to meson necessarily but still see if
it breaks.
2023-01-04 14:48:39 +00:00
Claudio Cambra 154647b89c
macosx: Move VLCLibraryGroupDataSource to own file, rename to VLCLibraryAudioGroupDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-03 20:10:48 +01:00
Claudio Cambra 4d9ed74997 macosx: Add VLCLibraryVideoViewController class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-03 14:59:29 +00:00
Steve Lhomme 106f0ea132 tools: always use a ninja version supporting jobserver
This will build contribs in a nicer way
2023-01-03 12:33:15 +00:00
Claudio Cambra 29c81f737f macosx: Add new VLCLibraryUIUnits class to keep reused units centrally
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-31 11:51:42 +00:00
Claudio Cambra 106c1b67a3 macosx: Add a VLCLibraryCollectionViewDataSource with method allowing for polymorphic access to underlying data item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-25 00:03:43 +00:00
Claudio Cambra bb044a1b92 macosx: Create new VLCLibraryCollectionViewDelegate class to unify all VLC library collection view delegate behaviour
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-25 00:03:43 +00:00
Steve Lhomme f31a7e8fc0 extras: tools: update ninja to 1.11.1 2022-12-18 15:50:24 +00:00
Steve Lhomme 270efe5932 extra: tools: use the ninja fork from Kitware
This work, from the CMake makers, supports jobserver and is actively
maintained.
2022-12-18 15:50:24 +00:00
Steve Lhomme 50cabbdfb7 CI: update debian image
* contains libx11-xcb-dev for full Qt build
* contains a newer sid base
2022-12-15 19:50:47 +00:00
Steve Lhomme 88a1487874 CI: update Docker images
* update to a common bullseye-20221114-slim base image
* remove old Wix installation on Windows targets
* remove subversion
2022-12-15 19:50:47 +00:00
Steve Lhomme d76933390a Revert "package/win32: build.sh: disable MSI generation on aarch64"
This reverts commit 6752d97062.

arm64 is supported in Wix 3.14.0.6526
2022-12-10 12:24:10 +00:00
Claudio Cambra 150b34bf26 macosx: Move VLCLibraryWindowController to own files
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-10 09:08:15 +00:00
Claudio Cambra f92ad1027c macosx: Fix references to video library files in Xcode project file
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 215fb6809b macosx: Display icon for currently playing song in library song table view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra b725288d67 macosx: Replace VLCLibrarySongsTableView class with table view implementation in VLCLibraryWindow XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 9b57fac028 macosx: Add a VLCLibrarySongsTableView component
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 6b07391c2f macosx: Move all audio view-related procedures to new VLCLibraryAudioViewController class, simplifying VLCLibraryWindow and VLCAudioDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 18d293bfa7 macosx: Move all audio library related classes into audio-library folder
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Steve Lhomme 531d7e59e0 win32: separate the libvlccore DLL files
libvlccore.dll should not be defined as libvlc.dll
2022-12-07 08:33:39 +00:00
Steve Lhomme 6f3685c982 win32: manifest: update the libvlc support OS versions
Use the same values as for vlc.exe.
2022-12-07 08:33:39 +00:00
Thomas Guillem 3c2469ccac ci: don't build libvlcjni for the android target
​
This will fix the CI if a libVLC API is changed and used by the jni library.
2022-12-07 04:31:28 +00:00
Steve Lhomme 06feaa77c3 CI: use libvlcjni script not using gas 2022-12-04 16:10:00 +00:00
Steve Lhomme c21ebc20b2 tools: remove unused gas-preprocessor 2022-12-04 16:10:00 +00:00
Claudio Cambra 5f9a578920 macosx: Use NSStackView as base for scrollable collection views view instead of NSTableView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 5a8f295fd7 macosx: Unify use of video group enums, rename group descriptor to be view agnostic
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 2855bd0c96 macosx: Remove now unused collection view components from VLCVideoDataSource, rename it to VLCVideoTableViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra b8762fcee6 macosx: Extract new video library classes into independent files, organize video library files in video-library folder
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 8815e27272 macosx: Replace normal video collection view with prototype cell-based video view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Steve Lhomme e66e2c2753 package/apple: build.sh: don't force build gas-preprocessor.pl anymore
Fixes #24678
2022-11-29 09:41:08 +00:00
Steve Lhomme 8c2b60de03 libvlc: always include the libvlc version header from vlc.h
Just like the other libvlc headers.
2022-11-29 07:06:26 +00:00
Steve Lhomme 1a8e6eb1ab Revert "CI: set the path to the WIX install in Docker images"
This reverts commit 8e167abc3c.

We don't need it anymore now that WIX comes from the contribs.
2022-11-27 11:02:03 +00:00
Steve Lhomme eceab36d6a win32: package: use WIX from contribs if it's not provided 2022-11-27 11:02:03 +00:00
Johannes Kauffmann 56c970a5ba CI: use distcheck exclusively for building/testing
make_check_wrapper.sh + `make dist` does not replace make distcheck.

`make distcheck` is used as single source of truth. To still get stack
traces, move `make check` outside of the script and retrieve the exit
code of `make distcheck`.

This should catch issues like #27470 upfront.
2022-11-26 07:18:15 +00:00
Steve Lhomme a5ea1181bc win32: package: use the configured path to the WIX binaries 2022-11-24 09:55:49 +01:00
Steve Lhomme 8e167abc3c CI: set the path to the WIX install in Docker images 2022-11-24 09:55:18 +01:00
Steve Lhomme ef0c6a5177 package/win32: build.sh: add an option to set the WIX path 2022-11-24 09:55:18 +01:00
Steve Lhomme 268d209e20 win32: msi: use the detected way to handle windows pathes
Rather than hardcoding "wine winepath".
2022-11-24 09:55:18 +01:00
Steve Lhomme 385db2b181 win32: package: build inside the output directory
So we don't need to include windows style path. By default light.exe looks for
files in the current directory.
2022-11-24 09:55:17 +01:00
Steve Lhomme 74361e27dd package: win32: set -o option to write in a packaged form
No-one on Windows expects to use bin, lib, include, share directories, which is
what package-win-install produces.
2022-11-24 07:52:41 +00:00
Steve Lhomme 939e574ef2 win32: package: use the package dir instead of vlc-4.0.0-dev 2022-11-24 07:52:41 +00:00
Steve Lhomme 6f996ffa27 win32: replace Wix heat with a python script
It allows showing friendly names in the .msi for each file rather than some hash.

For now we never keep the .pdb files.
2022-11-18 15:49:19 +00:00
Steve Lhomme 59d7186b92 win32: package: use the output .msi file as a target
So we can show when we generate it.
2022-11-18 15:49:19 +00:00
Steve Lhomme 4649dc4fd6 win32: package: group the wine path for the virtual build drive 2022-11-18 15:49:19 +00:00
Steve Lhomme 4f82ee8a38 win32: package: use forward slash for Windows pathes
wix has no problem with that
2022-11-18 15:49:19 +00:00
Steve Lhomme 672c356c13 msi: use a UNIX path for the config.wxi
Wix is OK with it and UNIX MSI tools will not handle the Windows path.
2022-11-18 15:49:19 +00:00
Steve Lhomme 4375deb766 msi: restrict the MSI package to Windows 7+
We don't support versions lower than that on 4.0.
2022-11-18 15:49:19 +00:00
Steve Lhomme c45b439bf3 CI: fix contribs not rebuilt if prebuilt failed
Regression from db5a4b0652
2022-11-05 20:07:41 +00:00
Claudio Cambra 041b71809c macosx: Update Xcode pbxproj file
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-11-04 14:02:10 +00:00
Steve Lhomme f2afde1e14 CI: add a VLCARCH variable for Windows targets
The build folder doesn't always correspond to the arch, for example it may contain
ucrt.
2022-11-04 03:17:53 +00:00
Niklas Haas 67dd0e7923 contrib: require meson 0.59
Needed to package libplacebo v5.
2022-11-03 12:16:49 +00:00
Niklas Haas 2f401d0ed1 ci: update images to pull in python3-venv 2022-11-03 12:16:49 +00:00
David Fuhrmann 9ebaa186f9 macosx build.sh: Automatically detect HOST_ARCH
Do not hardcode HOST_ARCH to x86_64, but read out the actual arch from
the host system. This allows to always build a native build by default,
irregardless if you start the script on an intel or arm mac.

You can still overwrite the value using -a command line, in order to
start a cross compilation.
2022-11-03 07:49:52 +00:00
Steve Lhomme 78313041d4 CI: don't use multiple lines in a for loop
For some reason gitlab doesn't like it.

It worked with the line

> for ext in exe msi 7z zip; do mv ${SHORTARCH}/vlc-*-dev-*.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*-dev-*.${ext} | sed "s/\.${ext}/-${CI_COMMIT_SHORT_SHA}\.${ext}/"); done

It should work with the line

> for ext in exe msi 7z zip; do mv ${SHORTARCH}/vlc-*-dev-*.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*-dev-*.${ext} | sed "s/\.${ext}/-${CI_COMMIT_SHORT_SHA}\.${ext}/") || echo "vlc-*.${ext} not found!"; done
2022-11-03 02:32:32 +00:00
Steve Lhomme 81d75d3010 CI: mention the missing packages 2022-11-01 07:50:14 +00:00
Steve Lhomme 962b2fb341 CI: use line returns in the nightly after script commands
It make similarities more obvious.
2022-11-01 07:50:14 +00:00
Steve Lhomme 8f8e8031f2 CI: don't fail to move built packages if they don't exist
Especially the .msi package which is not available for arm64.
2022-11-01 07:50:14 +00:00
Steve Lhomme 5b0a0d2b39 CI: don't expect a Windows -debug package
It's gone since 04d7d5c32f
2022-11-01 07:50:14 +00:00
Steve Lhomme 6752d97062 package/win32: build.sh: disable MSI generation on aarch64
We are using WIX 3.5 which doesn't have arm64 support. It was added in WIX 3.14
[1] but it doesn't have a stable release version yet [2].

Supporting newer WIX requires a significant amount of work (and a switch in our
Docker images).

[1] https://github.com/wixtoolset/issues/issues/5558
[2] https://wixtoolset.org/releases/
2022-10-25 06:25:42 +00:00
Steve Lhomme 93895d57d0 package/win32: build.sh: generate the built 7z+zip+msi in parallel
But we need to do the debug package first as the other will strip debug
information that is needed in the debug packages.
2022-10-24 06:02:54 +00:00
Steve Lhomme 04d7d5c32f package/win32: build.sh: don't generate -debug.zip package
We don't need 2 variants of the same thing. The zip version is twice bigger
than the 7z. This is a developer package, they can deal with 7z files.
2022-10-24 06:02:54 +00:00
Steve Lhomme b4d3740712 CI: only generate a contrib tarball if we're on the main branch
There's no need to generate the tarball since it's not going to be used by
anyone else. It's only used on master after a merge or in nightly builds.

This should save a few minutes during each contrib MR builds.
2022-10-22 12:21:08 +00:00
Steve Lhomme d2ed8db485 ci: build a nightly Windows ARM 64-bit desktop build 2022-10-22 06:29:12 +00:00
Steve Lhomme b147b80049 CI: log the branch used to build in Debian job
So we can debug possible issue with branch checking between MRs, merged and
nightly builds.
2022-10-21 08:16:53 +00:00
Steve Lhomme ebdf14dbd0 ci: update images to include protoc 3.4.1
* gcc is upgraded to 11.3.0 for vlc-debian-win32.

* vlc-debian-win64 (win64 with gcc) is left out for now as it fails to compile
gcrypt with a compiler bug/error.

```
during RTL pass: pro_and_epilogue
../../cipher/poly1305.c: In function 'poly1305_init':
../../cipher/poly1305.c:380:1: internal compiler error: in choose_baseaddr, at config/i386/i386.c:6915
  380 | }
      | ^
0x1539b77 internal_error(char const*, ...)
	???:0
0x616601 fancy_abort(char const*, int, char const*)
	???:0
0xe279f8 ix86_expand_prologue()
	???:0
0x11ab44b gen_prologue()
	???:0
0x89e851 thread_prologue_and_epilogue_insns()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
```
2022-10-17 04:58:15 +00:00
Alexandre Janniaux d5974cd744 wasm-emscripten: add support for address sanitizer
In this commit, the --with-sanitizer option is forwarded to the
configure script for VLC, but also intercepted so that the emcc call
creating the plugin list can use the option as well.

It's necessary for now since the plugin list is not generated by
automake yet, thus the call to emcc is not intercepted to add the
sanitizer options added from VLC's configure.ac.
2022-10-16 15:26:33 +00:00
Steve Lhomme f44d18f7d3 ci: update win64 gcc image to include protoc 3.4.1 2022-10-13 17:21:34 +02:00
Steve Lhomme 4ddfb4474d extras: wasm: enable libplacebo build
Requires a Docker image with this patch [1] to build

[1] https://code.videolan.org/videolan/docker-images/-/merge_requests/196
2022-10-13 10:55:21 +00:00
Steve Lhomme f6591c6823 ci: update wasm Docker image with proper python packages
So libplacebo can be built.
2022-10-13 10:55:21 +00:00
Steve Lhomme ea2066b27e extras: wasm: remove disable-harfbuzz
It's actually built since we build libass.
2022-10-13 10:55:21 +00:00
Martin Storsjö fee6371af8 ci: Disable branch protection for the current Windows/ARM64 builds
Clang does support the flag and gladly generates the instructions
for return address signing, but it doesn't generate matching unwind
info for it.

If a return address is signed, unwinding through it would fail unless
the signing is reversed at the right place. The ARM64 SEH unwind info
format has no public documentation on how to handle return address
signing currently.

This issue isn't noticeable on any current public Windows on ARM64
devices or servers, as the CPUs don't implement the return address
signing instructions (which then are handled as no-ops). However,
binaries with those instructions would fail subtly (seemingly work
fine, but fail whenever unwinding the stack) on newer CPUs.

Therefore, disable it in the CI configuration, as long as that uses
a version of Clang that doesn't generate correct unwind info for this
case.
2022-10-11 18:17:05 +03:00
Martin Storsjö dde50606ee extras: tools: Tidy up cmake-enable-ALPN-support-on-macOS-10.14.patch
In b8eb8c6d4e, this patch was manually
touched up to make it apply on a newer version of CMake - the line
counts mismatched slightly, but GNU patch 2.7.6 still happily
managed to apply it. However patch 2.5.8 in macOS failed to apply
the patch due to the mismatched numbers of lines.

This makes the patch apply correctly with the version of patch
on macOS too.

This should fix issue #27381.
2022-10-05 10:54:19 +00:00
Steve Lhomme c13fc71e28 ci: build Windows ARM 64-bit as a desktop build
We already have a UWP build for win64 that should be enough to test UWP builds.
2022-10-05 06:04:08 +00:00
Steve Lhomme e2a10a5cd3 emscripten: enable libass build
It will also build harfbuzz
2022-10-04 12:15:53 +00:00
Steve Lhomme fb68177d8e ci: use mingw64 LLVM 13 images
The names of the images have changed to reflect their specificity. In this case
only the C runtime (and minimum Windows version) is different.
2022-10-04 04:39:17 +00:00
Steve Lhomme 9d21973d7e ci: explicitly use names with C runtime for mingw64 LLVM targets 2022-10-04 04:39:17 +00:00
Steve Lhomme d6709fa4b6 ci: generate a contrib package if Emscripten prebuilt were used but failed 2022-09-28 14:41:37 +00:00
Steve Lhomme 413998fd7e package/emscripten: build.sh: build contribs locally if prebuilt failed 2022-09-28 14:41:37 +00:00
Steve Lhomme bd01267ab3 ci: generate a contrib package if Apple prebuilt were used but failed
If the previous prebuilt was broken we have a fresh one to use.
2022-09-28 14:41:37 +00:00
Steve Lhomme 3d0b092e2e package/apple: build.sh: allow creating a package with when using prebuilt
This is necessary if we want to regenerate the prebuilt packages if it's broken
2022-09-28 14:41:37 +00:00
Steve Lhomme 2574c81c0a package/apple: build.sh: build contribs locally if prebuilt failed 2022-09-28 14:41:37 +00:00
Steve Lhomme cf342c8307 ci: generate a contrib package if macOS prebuilt were used but failed
If the previous prebuilt was broken we have a fresh one to use.
2022-09-28 14:41:37 +00:00
Steve Lhomme 1b4929e156 package/macos: build.sh: build contribs locally if prebuilt failed 2022-09-28 14:41:37 +00:00
Steve Lhomme df0e0e2efa ci: generate a contrib package if Raspberry prebuilt were used but failed
If the previous prebuilt was broken we have a fresh one to use.
2022-09-28 14:41:37 +00:00
Steve Lhomme c59b817075 package/raspberry: build.sh: build contribs locally if prebuilt failed 2022-09-28 14:41:37 +00:00
Steve Lhomme ee926f4251 ci: generate a contrib package if Windows prebuilt were used but failed
If the previous prebuilt was broken we have a fresh one to use.
2022-09-28 14:41:37 +00:00
Steve Lhomme 8998fca08b package/win32: build.sh: build contribs locally if prebuilt failed 2022-09-28 14:41:37 +00:00
Steve Lhomme db5a4b0652 ci: generate a contrib package if Debian prebuilt were used but failed
If the previous prebuilt was broken we have a fresh one to use.
2022-09-28 14:41:37 +00:00
Steve Lhomme 6a56e91605 extras: wasm: build contribs tools when using prebuilt
As done with other platforms
2022-09-24 15:26:44 +00:00
Steve Lhomme 23709c577c contrib: apple: build contribs tools when using prebuilt
As done with other platforms
2022-09-24 15:26:44 +00:00
Steve Lhomme aca4094634 contrib: win32: always shows the list of know contribs before building
We also want to know about native tools that may or may not be there.
2022-09-24 15:26:44 +00:00
Steve Lhomme cf349b29f5 contrib: macos: always shows the list of know contribs before building
We also want to know about native tools that may or may not be there.
2022-09-24 15:26:44 +00:00
Steve Lhomme dd3070b686 contrib: apple: show the contrib status before building 2022-09-24 15:26:44 +00:00
Martin Storsjö b8eb8c6d4e extras: tools: Fix actually building CMake 3.24.2 if not found
This fixes breakage from 9927c1127a.
2022-09-23 13:00:55 +00:00
Steve Lhomme 517148a2db extras: packages: build soxr for emscripten 2022-09-22 16:05:22 +00:00
Steve Lhomme 9927c1127a extras: tools: update CMake to 3.24.2
It's not a requirement, but when it's built it will use a newer version than
this 2 years old version.
2022-09-21 14:15:53 +00:00
Juliane de Sartiges 45aca3586e ci: update images
The newer images include gperf which is necessary to compile basu.
2022-09-08 14:14:11 +00:00
Niklas Haas d5e07d6b72 ci: update debian image
Needed to pull in newer libplacebo.
2022-08-12 11:23:31 +00:00
Steve Lhomme 1df170c890 ci: snap: update the Docker image to avoid building protoc at each run 2022-08-11 10:01:40 +00:00
Thomas Guillem 61418e68bb ci: fix typo
Introduced in 488ee616e5
2022-08-03 11:08:19 +02:00
Thomas Guillem 488ee616e5 ci: android: use last image and last build script
Last image that contains the NDK25.
2022-08-03 07:18:28 +00:00
Felix Paul Kühne bb18231acd extras/tools: update meson to 0.63.0 2022-07-24 07:05:06 +00:00
Niklas Haas 1d6f077d35 contrib: update vlc-debian-llvm-uwp image
Should hopefully fix the failing nightly CI.
2022-07-17 08:18:43 +00:00
Niklas Haas b6813a0e21 ci: update images
The newer images include the necessary tools to compile recent versions
of libplacebo.
2022-07-12 04:57:25 +00:00
Romain Roffé b4d191ddbc package/macosx: Fix plugin installation
RTP plugin weren't included
2022-06-06 09:33:05 +00:00
Alexandre Janniaux fb6704f3d6 macosx: disable --with-x on default configuration
When building Qt, we only add and link the X11 library and flags when
QT5_HAS_X11 is defined (in automake), which happens when we build
Qt5X11Extras.

Without this check, if autotools find the X11 library, then it might
fail to find the headers (because X_CFLAGS won't be used) or will at
least fail to link correct (because -lX11 will be missing from the
link command).

Since we don't use X11 on MacOSX, disable it by default in the configure
script like Qt, so that enabling Qt module locally works correctly.
2022-05-21 15:17:00 +00:00
Felix Paul Kühne db6b36b6b1 Add 'amrec' file extension
This is a synonym for .ts used by certain video camera systems.
2022-05-14 09:11:05 +00:00
Kaleb Luedtke cafda67180 Set extra version number when building MSI
* Use the @VERSION_EXTRA@ which is used in the exe build in place of the
  static '0'
* Change the Display Name in appwiz.cpl to be just the product name,
  matching the exe build
2022-04-30 11:12:01 +00:00
Alexandre Janniaux c269209097 extras/tools: libtool: rename/cleanup patches
libtool-2.4.6-san.patch is not used anymore, and other libtool patches
have been rebased on top of libtool-2.4.7.
2022-04-25 17:23:59 +00:00
Alexandre Janniaux 327a070266 extras/tools: bump libtool to 2.4.7
The -fsanitize support has been added upstream in the commit
a5c6466528c060cc4660ad0319c00740db0e42ba which is shipped into 2.4.7.
2022-04-25 17:23:59 +00:00
Dave Nicolson 44d44176aa apple: fix typo in comment 2022-04-22 09:22:00 +00:00
Alexandre Janniaux 1e7d9e4e1a tools: bootstrap: remove non-digits from minor version
libtool is notoriously known to have been patched over the time and was
provided as 2.4.7-dirty on archlinux, which makes the integer comparison
test fail since 7-dirty is not an integer.
2022-04-22 06:29:27 +00:00
Alexandre Janniaux bb13291437 tools: bootstrap: use shell || instead of test -o
shell || nicely handles the commands on the other lines without escaping
the end of line, which provides better error message in case of error.
In addition, priority of operators is much more obvious since the []
test syntax provides a visible scope-like feeling.
2022-04-22 06:29:27 +00:00
Maxime Chapelet 3331e96f97 extra/package : fix tvOS compilation with proper bitcode flag 2022-04-18 08:34:38 +00:00
Felix Paul Kühne 627ab4febb appleOS build script: disable decklink 2022-04-14 11:36:39 +00:00
Felix Paul Kühne bc9c39a3b7 appleOS build script: use bitcode support in contrib 2022-04-14 11:36:39 +00:00
Felix Paul Kühne 14a6541625 CI: update tags for Darwin builds 2022-04-10 10:39:17 +00:00
Felix Paul Kühne 27948cbf56 CI/appleOS: use tools available on the runner 2022-04-09 09:25:29 +00:00
Alaric Senat 4b31cb6942 contrib: upnp: update to 1.14.11
libupnp 1.6 is starting to get really old and caused bugs recently with
the new winpthread rework for contribs.

Added contrib patches:
  - revert-ifaddrs.patch (revert changes breaking android)

Removed contrib patches:
  - 0001-Do-not-try[...]           -> Fixed upstream by 386b7ed7
  - dont_use_down_intf.patch       -> Fixed upstream by 1f2e3b88
  - fix_infinite_loop.patch        -> Fixed upstream by 4367cbfa
  - libpthread.patch               -> Replaced
  - missing_win32.patch            -> Fixed upstream by 02bb90c5
  - no-getifinfo.patch             -> Fixed upstream by 0296c3cd
  - use-inet-pton.patch            -> Fixed upstream by 44cdeeb7
  - use-unicode.patch              -> Fixed upstream
  - windows-random.patch           -> Fixed upstream by 44e092a6

Edited patches (mostly to fit the new sources):
  - miniserver.patch
  - upnp-no-debugfile.patch
  - pthread-w32-checks.patch (Partially fixed upstream by e0f44dd9)
  - libupnp-win32.patch (Partially fixed upstream)
  - libupnp-win64.patch (Partially fixed upstream by 421d5d28)
  - windows-version-inet.patch
  - libupnp-win32-exports.patch

Renamed patch:
  - pthread-w32-force -> pthread-force (Gets applied to linux too now)
2022-04-03 11:57:52 +00:00
Hugo Beauzée-Luyssen a598e4e570 tools: Require meson 0.56+
This is what the medialib now requires
2022-03-27 13:24:23 +00:00
Hugo Beauzée-Luyssen b430590554 CI: Bump vlc-debian-win64 image tag 2022-03-27 13:24:23 +00:00
Thomas Guillem 4e90abceb4 extra/tools: ninja: force python3
It seems that python3 is already specified in all the VLC
contribs/tools.

Fixes build on systems not having a shortcut python -> python3 (macOS
for example).
2022-03-24 13:15:55 +00:00
Marvin Scholz 155036d4a4 CI: macosx: package zip instead of dmg
(only for non-nightly, nightlies still package a dmg as before)
2022-03-15 06:42:50 +00:00
Marvin Scholz 99a0df74f9 package/macosx: add option to create zip archive 2022-03-15 06:42:50 +00:00
Lyndon Brown e1194a5f29 Switch various user facing URLs to HTTPS
Fixes #26687.
2022-03-13 06:05:33 +00:00
Steve Lhomme b5923a21d6 CI: bump the build version of UWP targets to Windows 1809/RS5
Our UCRT build already has the same version, so we should match the same value
we support. The UWP builds require UCRT.
2022-03-10 22:44:52 +00:00
xqq 5f74392dcb extras: raspberry: Disable libaribcaption due to weird build error 2022-03-10 21:06:36 +00:00
xqq 4aa0857123 extras: wasm: Disable libaribcaption because not supported 2022-03-10 21:06:36 +00:00
Steve Lhomme 29ac127718 extras: build native tools when using prebuilt contribs
Rather than force building .luac and .protoc all the time.
2022-03-09 14:51:20 +00:00
Steve Lhomme 1b7c7b5ab1 CI: replace the UWP ARM64 build by a desktop ARM64 Windows builds
Hopefully Qt can build
2022-03-09 07:27:17 +00:00
Steve Lhomme a377159162 CI: build the win32 libvlc sample when build the win64 target 2022-03-03 18:43:58 +00:00
Hugo Beauzée-Luyssen 24d2b767a6 CI: Fix rules to keep running pipelines on master
Not doing so will eventually lead to issues with prebuilt contribs when
the pipeline doesn't run in the videolan/vlc namespace
2022-03-03 10:11:16 +00:00
Rémi Denis-Courmont 7879016a46 Revert "CI: update win64 image"
This reverts commit 7cb9c326fa.
2022-02-27 08:59:38 +02:00
Tristan Matthews 7cb9c326fa CI: update win64 image 2022-02-26 08:31:31 +00:00
Tristan Matthews b5652321ab CI: update win32 image
Fixes https://github.com/rust-lang/rust/issues/77394
2022-02-26 08:31:31 +00:00
Hugo Beauzée-Luyssen 07f0936971 CI: Use rules instead of only/except
rules allow finer customizations, and only/except is to be considered
deprecated according to gitlab docs
2022-02-25 07:11:28 +00:00
Hugo Beauzée-Luyssen 53f6452546 CI: Remove unrequired docker template
Use a default and let the non-docker jobs specify their own tags as they
already did
2022-02-25 07:11:28 +00:00
Steve Lhomme 69a6ac247b snap: set the --host when compiling VLC
This is the same value set when compiling the contribs.
2022-01-28 10:12:07 +00:00
Steve Lhomme 535e284f73 packages/CI: force building .protoc when using prebuilt contribs
Since we built protobuf we also need the matching protoc.

This is the same as we do for luac.

+factorize some calls to make .luac .protoc
2022-01-28 10:12:07 +00:00
Steve Lhomme 0f480ecacf tools: don't build protoc anymore
It's better handled in contribs were the versions is the same and the system
package detection is better.

So do not force the rebuild of it in snap.
2022-01-28 10:12:07 +00:00
Rémi Denis-Courmont c7d3e928ad ci: raspberry: re-enable FontConfig
As #26517 is fixed, FontConfig and its reverse dependencies should be
buildable back again.
2022-01-27 08:59:05 +00:00
Rémi Denis-Courmont 8e0898a8e3 ci: raspberry: do not disable upnp (refs #24239) 2022-01-25 22:57:22 +02:00
Rémi Denis-Courmont 40d29a11ac rPI: disable nonbuildable contrib packages
libmpg123, xcb are not rebuildable in the current CI setup.
upnp builds but breaks the VLC build (refs #24239).
2022-01-23 15:25:08 +02:00
Rémi Denis-Courmont a17fdcd1dd rPI: disable fontconfig (refs #26517)
fontconfig cannot be cross-compiled onto Linux with current contribs.
Until this is fixed, we need to turn it off to get CI out of its
metastable state.
2022-01-23 15:25:08 +02:00
Rémi Denis-Courmont 63641ab69c snap: use the bootstrap script 2022-01-22 08:24:11 +00:00
Marvin Scholz 1649e12158 extras/tools: meson: create bin folder if needed
Fixes the "build" of meson that could randomly fail when no target
created the folder already.
2022-01-20 20:53:12 +00:00
Hugo Beauzée-Luyssen c580054e4f tools: Fix protobuf compiler build with recent compilers
This is a manual backport of
01a05a53f4
2021-12-14 14:32:11 +00:00
Marvin Scholz c8797d1a22 macosx: add standalone vout window to Xcode project 2021-12-08 14:43:31 +00:00
Marvin Scholz 18cd6b6a7f macosx: update Xcode project to recommended settings
Makes new versions of Xcode happy.
2021-12-08 14:43:31 +00:00
Marvin Scholz ba4c3eb6f1 package/raspberry: build.sh: remove USE_FFMPEG
With the libav contrib removed, it is no longer needed.
2021-12-07 07:12:25 +00:00
Marvin Scholz bec818d04c package/macosx: env.build.sh: remove USE_FFMPEG
With the libav contrib removed, it is no longer needed.
2021-12-07 07:12:25 +00:00
Marvin Scholz 778bf19b80 package/win32: build.sh: remove USE_FFMPEG
With the libav contrib removed, it is no longer needed.
2021-12-07 07:12:25 +00:00
Marvin Scholz 82347d93d5 msi: add DAV file extension association 2021-12-01 16:25:46 +00:00
Mehdi Sabwat 4955734f1c contrib: remove contribs from vlc.js build
disable a52, aom, faad2, chromaprint, mad, libmpeg2, nvcodec, tremov, vpx and theora.

refs jbk/vlc.js#38
2021-11-26 10:56:26 +00:00
Marvin Scholz 5a1a350cce CI: do not print tar filenames
Redirect tar output to /dev/null as we only care about the exit code
here, not what it prints to stdout.
2021-11-10 15:41:19 +00:00
Mehdi Sabwat abd692d754 wasm-emscripten: remove unused ci variable 2021-11-07 18:12:57 +00:00
Alexandre Janniaux aa6509f84a apple: build.sh: fix compilation for arm64
With latest SDK, arm64 is returned as architecture name for aarch64
machine targets from Apple, which is not recognized by autoconf, and
breaks compilation of multiple contribs.

We still need to indicate that we want an arm64 SDK, but replace arm64
by aarch64 in build triplets until autoconf fixes this.
2021-11-05 09:21:08 +00:00
Hugo Beauzée-Luyssen 64ff40e2d6 CI: Mark jobs as interruptible
This will help automatically cancel outdated pipelines instead of having
to do so manually
2021-10-28 10:31:20 +00:00
Alexandre Janniaux 8a01a37c61 wasm-emscripten: build.sh: use emnm instead of llvm-nm
emnm is a wrapper of llvm-nm and is actually located in the SDK binaries
path added in the PATH when the SDK environment is sourced
(/etc/profile.d/emscripten.sh) or when adding the compiler to the PATH
by sourcing emsdk_env.sh like in the CI configuration.

This avoid defining the EMSDK variable when emscripten is installed on
the system.
2021-10-22 17:02:59 +00:00
Alexandre Janniaux 6a5415dc24 configure.ac: move ac_cv_ define for emscripten
Those defines are always needed and should be defined by configure.ac so
as to also be present when using ./configure directly.
2021-10-22 17:02:59 +00:00
Alexandre Janniaux 86ce628823 package: wasm: replace tabulations 2021-10-22 17:02:59 +00:00
Steve Lhomme 11b5aada2c CI: list the contribs that are going to build for Debian 2021-10-22 10:15:46 +00:00
Pierre Lamot 990f7ccfec snap: add libxdamage dependency 2021-10-22 06:34:30 +00:00
Hugo Beauzée-Luyssen ad540e29fa extras: wasm: Explicitly enable gles2 2021-10-21 17:04:39 +00:00
Steve Lhomme 2fcec78872 CI: update LLVM windows images
They have the cleaner certificates in case we need them.

They also include their own WINE_SDK_PATH so we don't need to set it.
2021-10-21 13:48:38 +00:00
Steve Lhomme ed386c86e5 CI: add win64 targets built with ucrt
These are Win10 builds with a maximum API support of Windows 1809 = Redstone 5.

We use the LLVM "UWP" image as it's the one with UCRT runtime by default. It's
not tied to UWP API's only.

Only the C runtime is different compared to the win64 LLVM builds we already have.
2021-10-07 11:03:47 +00:00
Steve Lhomme 62cdc93a11 package/win32: build.sh: add an option to set the Windows SDK version
The NTDDI version contains the windows version and the subversion like the
Windows 10 flavor or Service Pack. This is supported by mingw64 and MSDK.

https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers
2021-10-07 11:03:47 +00:00
Steve Lhomme f62eff47ae CI: update snap/raspberry images
The previous ones had outdated certificates. They can no longer build contribs.
2021-10-06 17:47:37 +00:00
Marvin Scholz 5d5282c2df CI: verify and add SHA512SUM to contribs
The SHA512SUM will be used on artifacts.v.o to verify that
the uploaded file did not get corrupted.
2021-09-28 07:13:07 +00:00
Hugo Beauzée-Luyssen 64859ec9dd CI: Bump wasm image
This image contains a prebuilt protobuf-compiler.
We don't need it yet, but when we do it will be included
2021-09-16 10:32:21 +00:00
Hugo Beauzée-Luyssen fd906e89be wasm: Don't enable i18n 2021-09-16 10:32:21 +00:00
Alexandre Janniaux 585c0b02e1 apple: build.sh: add support for -fembed-bitcode-marker 2021-09-15 17:06:27 +00:00
Alexandre Janniaux 26231ecfcc apple: build.sh: add bitcode flag to LDFLAGS too
The bitcode flag was already added to CFLAGS, but was only used when
creating a static build of libvlc, which doesn't involve linkage. When
creating shared plugins, the dylibs must be linked with the
-fembed-bitcode flag to gather the bitcode from the different objects.

In particular, bitcode is mandatory on tvOS, so this is mandatory when
building dynamic plugins and/or libvlc for tvOS.
2021-09-15 17:06:27 +00:00
Alexandre Janniaux 95bbad6d3e extras/tools: libtool: fix support for bitcode
When building with bitcode enabled (*FLAGS+=-fembed-bitcode), the
following happens:

 - with LDFLAGS += -fembed-bitcode, the vanilla libtool version will
   remove the -fembed-bitcode flag, being an unknown flag, so bitcode
   won't actually be enabled, and final link steps might complain that
   the dylibs (libvlccore.dylib for instance) doesn't actually have
   bitcode embedded.

 - once fixed (either by this patch or by using -Wl,-fembed-bitcode),
   the plugins will be compiled with -module, which default to using
   MH_BUNDLE on iOS/tvOS/MacOSX instead of MH_DYLIB. Indeed, dylibs can
   be dlopened only since MacOSX 10.3/10.4, and can be dlclosed only
   since MacOSX 10.5, so MH_BUNDLE was the primary target for libtool
   module support. However, MH_BUNDLE is not compatible with the bitcode
   support from Clang.

Since we support MacOSX 10.11 as minimum, we can default to using
MH_DYLIB for plugins to have the bitcode support.

This new libtool patch add the explicit support for -fembed-bitcode in
libtool --mode=link flags, and change the flags used when using -module
in libtool to switch to dylibs.
2021-09-15 17:06:27 +00:00
Hugo Beauzée-Luyssen 15148299d4 CI: Bump vlc-debian-unstable image
This image contains a prebuilt protobuf-compiler
2021-09-15 12:11:07 +00:00
Mehdi Sabwat 9ace5912de ci : add wasm32-emscripten job 2021-09-12 09:37:27 +00:00
Mehdi Sabwat d47a0f2744 package: add wasm-emscriten build script
Co-Authored-By: Jean-Baptiste Kempf <jb@videolan.org>
Co-Authored-By: Etienne Brateau <etienne.brateau@gmail.com>
2021-09-12 09:37:27 +00:00
Marvin Scholz 3696b231cb package/win32: no longer force meson build
The related meson issue was fixed in meson 0.54.0 and extras/tools now
requires meson 0.54.2 or higehr, else it builds it anyway. So there is
no need to force it anymore here.

Fix in meson upstream in 49ae886620c5d140efbbe177ff0565ba100309f2
2021-08-11 14:12:48 +00:00
Hugo Beauzée-Luyssen 1037d0022f extras: tools: Patch libtool to force -lpthread when using -nostdlib 2021-08-10 11:37:17 +00:00
Hugo Beauzée-Luyssen 5580d2857f extras: tools: Only patch libtool's ltmain.in
Instead of ltmain.sh, in order to ensure all changes will used.
If ltmain.sh gets modified as well, there is no way to guarantee that
all changes to the .in file will trigger a regenetation since both file
will likely have the same modification timestamps

Refs !182

An updated version of our current libtool patchset has been pushed to
https://github.com/chouquette/libtool/tree/vlc_patches
2021-08-04 16:52:09 +02:00
Lyndon Brown b4e6354412 configure: purge MMX/MMXEXT
the line removed from avcodec appears to just be a stray and
obsolete code remenant.
2021-08-01 14:08:51 +00:00
Hugo Beauzée-Luyssen 5219ec9579 CI: Bump android image
This version has protobuf-compiler prebuilt in order to speed up the
android jobs
2021-07-31 14:54:00 +00:00
Rémi Denis-Courmont a2476d06e2 sout: remove sout_instance_t for real
(also sout_cfg_t)
2021-07-15 17:23:03 +00:00
Sergio Ammirata e6dd5f6a36 Upgrade meson to 0.56.2 (needed to build librist) 2021-07-10 09:28:35 +00:00
Tim L c7f6b93b16 set Snap compression to LZO 2021-06-16 16:07:49 +00:00
Konstantin Pavlov dfd92fa024 snap: move to core20
Fixes #25612
2021-06-13 13:47:29 +00:00
Konstantin Pavlov 73cfe7b945 CI: apple: re-use before_script and after_script from the default job 2021-06-12 11:27:54 +00:00
Marvin Scholz 4e96ce306e package/macosx: add ccache support to env.build.sh 2021-06-08 15:05:23 +00:00
Marvin Scholz 917d8a0d36 CI: Use ccache for macOS jobs 2021-06-08 15:05:23 +00:00
David Fuhrmann 6a8dcbee0f macOS package: Increase image size for dmg package
Increase to 300M to allow to build universal releases.
This is the maximum size of the release image, the final
file will be only at the usual compressed size.
2021-05-05 08:06:43 +02:00
Hugo Beauzée-Luyssen e74589855c extras: win32 package: Copy README.md as README.txt 2021-05-04 12:18:36 +00:00
Hugo Beauzée-Luyssen fccc47c6a7 Revert "Fix MSI packaging"
This reverts commit 105de271ad.
2021-05-04 12:18:36 +00:00
Thomas Guillem 172eacd6f3 gitlab-ci: run make dist on debian target
cf. !68
2021-05-04 10:00:41 +00:00
Martin Finkel 105de271ad Fix MSI packaging
Z:\builds\videolan\vlc\extras\package\win32\msi\product.wxs(128) : error LGHT0103 : The system cannot find the file 'vlc-4.0.0-dev\README.txt'.
2021-04-28 07:14:40 +00:00
Jean-Baptiste Kempf 6183c9affe Fix packaging for Win32 and macOS 2021-04-25 22:14:05 +02:00
Alexandre Janniaux 04eb0e857d apple: Info.plist: allow vlccoreios to share documents 2021-03-19 15:13:46 +01:00
Alexandre Janniaux ded741dd03 package: raspberry: remove set -x 2021-03-15 13:57:03 +01:00
Alexandre Janniaux 82b51438aa apple: bundle: remove install_name_tool usage
It was needed because the -rpath option wasn't set correctly on the test
sample.
2021-03-13 11:02:13 +01:00
Alexandre Janniaux 6cd0570d97 apple: bundle.sh: check that we have dylibs before copying them
We don't want to copy dylibs if we built the test sample statically.
2021-03-13 11:02:13 +01:00
Alexandre Janniaux 94ce9a2a1e apple: bundle.sh: add executable name for packaging
It allows multiple test executable to be packaged, while providing a
handy way to package whether or not libtool generates a wrapper script
(when linked to dynamic libraries) without having to install.

If the APP_EXECUTABLE is not provided, it defaults to using the
APP_NAME.
2021-03-13 11:02:13 +01:00
Alexandre Janniaux 7f1d7ea3da apple: build.sh: use config.mak for symbol blacklist
The list is written by the build script the first time, allowing further
tweaking and running `make` in the contrib build directory without
reexporting those ac_cv_ symbols again.
2021-03-13 11:02:13 +01:00
Alexandre Janniaux c4acef442f apple: build.sh: explicitely forward ac_cv_ vars 2021-03-13 11:02:13 +01:00
Alexandre Janniaux bb8f7212bc package: macosx: forward ac_cv symbols to $@
configure will store the command used when reconfiguring as long as the
ac_cv_ variables are passed as parameter to the configure execution
instead of being an environment variable.

So as to stay compatible with other clients of this script, use export
as default command when no argument is given to keep the previous
behaviour.
2021-03-13 11:02:13 +01:00
Alexandre Janniaux c9a631d794 apple: build.sh: remove let
`let foo=0` return the error code 1, thuse can make the script fails if
set -e is used in the build script.
2021-03-12 22:27:03 +01:00
Felix Paul Kühne a089d8b795 package/apple: fix compilation on ARM-64 2021-02-16 15:30:52 +01:00
David Fuhrmann 4491682078 gitlab-ci: Add builders for macOS ARM
Restructure scripts into common builders for mac and mac nightly.
Add dedicated jobs to build for macos-arm64, and rename the
old macos jobs to macos-x86_64.

All builds are running on the catalina machines.
2021-01-26 11:09:57 +01:00
David Fuhrmann dac0501e1d gitlab-ci: Let the build scripts fetch the prebuilt contribs
Like it is done for the other platforms.
2021-01-26 10:59:30 +01:00
David Fuhrmann 8e29a54120 macOS build.sh: Respect VLC_PREBUILT_CONTRIBS_URL, rebuild luac
luac is a native tool not being bundled in the prebuilt contribs
so far. Therefore this needs to be rebuilt.
Also respect VLC_PREBUILT_CONTRIBS_URL, analog to the windows
build scripts.
2021-01-26 10:56:49 +01:00
Alexandre Janniaux a5dc0a00e5 apple: build.sh: rework MAKEFLAGS jobs count
Forward the global MAKEFLAGS but adds the job count as is:
 - pass the number of core by default to keep the current behaviour of
   the script.
 - if the number of core is forwarded to MAKEFLAGS, use them instead of
   the previous.
 - if the number of core is explicitly given to the buildscript through
   the -j option, use them instead of the previous.
2021-01-25 11:22:37 +01:00
Alexandre Janniaux a2700c7356 apple: build.sh: add automatic nproc jobs count
Use the maximum number of core just like darwin by default.
2021-01-25 11:22:36 +01:00
Felix Paul Kühne 2893809229 extras/tools: remove yasm
This tool is no longer used by any contrib library.
2021-01-24 19:27:29 +01:00
Alexandre Janniaux 2a51029b1b extras: ci: bump debian-unstable for cmake
It avoids rebuilding cmake 3.17.0, meson 0.54.2 and nasm 2.14 at every
build, speeding up the CI.
2021-01-20 14:51:27 +01:00
Marvin Scholz 83422fba18 macosx: env.build.sh: explicitly request macOS SDK 2021-01-11 16:33:12 +01:00
Konstantin Pavlov 45c21cd737 CI: Use catalina builders for macOS/iOS builds
Also specify amd64 for being future-proof when we have Big Sur+
builders.
2021-01-07 17:09:51 +03:00
Hugo Beauzée-Luyssen 5ce8a11d63 extras: CI: Bump windows images 2020-12-15 10:26:46 +01:00