Commit Graph

5770 Commits

Author SHA1 Message Date
Johannes Kauffmann d0c0a3147a CI: update debian image
- contains gstreamer plugins to build gstdecode module
- contains the QML parts of QtTest
2023-06-25 09:31:40 +00:00
Claudio Cambra e39d21043b macosx: Add a starter VLCSettingTextField
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-06-23 12:57:07 +00:00
Claudio Cambra b7e9d96754 macos: Remove the VLCLibraryInformationPanel component
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-06-23 12:57:07 +00:00
Claudio Cambra 68f083edd0 macosx: Add VLCBookmark
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-06-16 10:15:27 +00:00
Claudio Cambra b2888fe28e macosx: Add VLCBookmarksTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-06-16 10:15:27 +00:00
Claudio Cambra 2044e2cae7 macosx: Add VLCBookmarksTableViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-06-16 10:15:27 +00:00
Vikram Kangotra 6db5fb2b64 contrib: enable rav1e for wasm32-emscripten 2023-06-10 20:48:26 +00:00
Steve Lhomme da58730d6b CI: update Android image
Based on Debian bookworm (newer CMake and meson). It also includes the latest
NDK, build tools and OpenJDK.
2023-06-07 06:35:31 +00:00
Steve Lhomme 33e80e8ac2 CI: target Windows 10 19H1 for UWP builds
This is necessary to use the API's that mfx uses in UWP mode.

We keep targeting RS5 for UCRT builds.
2023-06-05 05:25:33 +00:00
Claudio Cambra f08627bf77 macosx: Add NSWindow extension
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-05-29 13:40:09 +00:00
Steve Lhomme a54f5ed684 CI: update LLVM UCRT Docker Image
It contains mingw-w64 11 which has an internal SSP code.
2023-05-27 06:17:11 +00:00
Steve Lhomme 98598ce92e package/win32: fix UWP warnings when forcing windowsapp linking
When files are compiled they don't use the linker part and clang emits a warning.
Some contribs like libvpx use -Werror and won't build if there's anything
extra in the command-line.
2023-05-27 06:17:11 +00:00
Steve Lhomme 36129d5171 package/win32: don't force windowsappcompat in contribs
It's already done in contrib/main.mak and should be removed from there.
2023-05-27 06:17:11 +00:00
Steve Lhomme 2550a3f6e0 package/win32: remove config that's automatic for UWP
It's better to have the check done in the contribs and fixed there
without worrying about the build script.
2023-05-17 11:51:44 +00:00
Steve Lhomme f0b8e4413c package/win32: use the proper triplet for uwp
The mingw-w64 LLVM packages use XXX-w64-mingw32uwp for UWP targets.

This will enable HAVE_WINSTORE in contribs.
2023-05-17 11:51:44 +00:00
Steve Lhomme 522d0b7796 package/win32: remove forced vcruntime140_app linking
We should not need it with UCRT.
2023-05-17 11:51:44 +00:00
Alexandre Janniaux 3a7c80c1fb extras/tools: bump bison to 3.8.2
Fixes #28048
Fixes videolan/vlc-android#2477
2023-05-05 13:25:45 +00:00
Alexandre Janniaux 06969d7790 extras/tools: bump tar to 1.34 2023-05-05 13:25:45 +00:00
Alexandre Janniaux 9c34087328 extras/tools: bump m4 to 1.4.19 2023-05-05 13:25:45 +00:00
Alexandre Janniaux 541e54df72 extras/tools: m4: remove bison patches 2023-05-05 13:25:45 +00:00
Alexandre Janniaux 131683f678 extras/tools: bump xz to 5.4.1 2023-05-05 13:25:45 +00:00
Alexandre Janniaux c72d8b14eb extras/tools: bump automake to 1.16.5 2023-05-05 13:25:45 +00:00
Alexandre Janniaux 4606cebfba extras/tools: bump autoconf to 2.71 2023-05-05 13:25:45 +00:00
Steve Lhomme 84ce0d78d5 package/macosx: generate errors when wrong function pointers are used 2023-05-04 12:14:10 +00:00
Claudio Cambra 495ef22a0a macosx: Add starter VLCMainViewViewAudioMediaDecorativeView class
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-05-04 06:45:58 +00:00
Claudio Cambra a0ea2ded92 macosx: Add starter VLCMainVideoViewAudioMediaDecorativeView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-05-04 06:45:58 +00:00
Baa dbab5e78b8 Create symlink to aacs dir for Bluray playback 2023-05-02 14:12:48 +00:00
Baa ac35048b24 Adds snap plug to grant access to ~/.config/aacs 2023-05-02 14:12:48 +00:00
Khalid Masum 6f887e5e28 extras/tools: broden support for sha512sum
sha512sum uses --check, which is not supported by many other
implementations of sha512sum such as  busybox. Using -c instead
will let this script usable in more distros and OSes.
2023-04-24 15:01:12 +00:00
Khalid Masum 1eed0a4a8a extras/tools: use 'command -v' to assert commands
Currently we are using commandname --version to check wheather a
command exists. Hence if a command is not shipped with --version the
check fails. For example busybox implementation of sha512sum fails
to get detected via this method.

Use command -v to check whether a command exists to fix this limitation.
2023-04-24 15:01:12 +00:00
Steve Lhomme 6f5bb554a2 package/emscripten: don't include vlc_common.h to generate modules list
This way we don't need the config.h include either.
This is possible since b437cad568
2023-04-24 09:39:33 +02:00
Steve Lhomme a6fd9c97d2 package/apple: don't include vlc_common.h before vlc_plugin.h
Followup to b2af1a26e4.
This is possible since b437cad568.
2023-04-24 09:38:29 +02:00
Steve Lhomme 48a6b25031 CI: don't block builds when snap build fails
We need to check what is wrong but usually it's the same as Debian builds.
The snap building depending on Ubuntu server is not very stable. So we should
not care too much when it breaks.
2023-04-20 11:40:49 +00:00
Maxime Chapelet b2af1a26e4 package: apple: remove config.h include for static modules list generation
config.h isn't actually needed to create static modules list for darwin platforms and its inclusion actually caused build issues with VLCKit
2023-04-20 09:11:09 +00:00
Claudio Cambra 03d1536430 macosx: Add VLCLibraryTwoPaneSplitViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-04-17 11:01:13 +00:00
Claudio Cambra 1a7fefffa1 macosx: Add VLCLibraryWindowPersistentPreferences class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-04-12 23:21:43 +00:00
Claudio Cambra 781b30cc45 macosx: Add a VLCMainVideoViewControlsBar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-04-10 17:07:23 +00:00
Khalid Masum 28851ad2ad tools: bootstrap: raise meson's requirement to 1.0.0
bootstrap warns "meson too old" and proceeds to download and install
meson 1.0.0 when meson version is found to be 1.0.0 anyway. Raise meson's
requirement to 1.0.0 to work-around this problem.
2023-04-08 10:29:36 +00:00
Claudio Cambra c66fd546e3
macosx: Move creation of NSPasteboardItem containing library media item data to new NSPasteboardItem extension
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-26 17:09:59 +02:00
Claudio Cambra 27b0bf8422 macosx: Add VLCLibraryTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Claudio Cambra 9669442a7c macosx: Add VLCLibraryTableCellViewProtocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Claudio Cambra 69e09d04c4 macosx: Add VLCLibraryVideoTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Claudio Cambra 71a06b683f macosx: Add VLCLibraryAlbumTracksTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Claudio Cambra acdc5a79cd macosx: Add a VLCLibraryAudioGroupTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Claudio Cambra c4d0ef830c macosx: Add a VLCLibraryAudioTableViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-25 13:04:59 +00:00
Jean-Baptiste Kempf 437d802fc5 Win32: add tak to the installer 2023-03-12 13:00:08 +00:00
Claudio Cambra b42fef5bd8 macosx: Add VLCMainVideoViewOverlayView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-03-09 06:30:52 +00:00
Steve Lhomme 1e244e3b56 package/apple: use a vlc_plugin macro to declare the detected modules 2023-03-07 08:23:15 +00:00
Steve Lhomme 6f493a0a45 package/emscripten: use a vlc_plugin macro to declare the detected modules 2023-03-07 08:23:15 +00:00
Steve Lhomme 61f909ced7 package/apple: use vlc_plugin_cb for the static list of modules 2023-03-07 08:23:15 +00:00
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