The cache is only valid if mod time and size of the plugins match.
As macOS codesign adapts the binaries, the cache will be invalid
after signing. Additionally, the cache file itself must be signed
as well, because of its location inside the bundle. Therefore,
regenerate the cache at the correct stage in the middle of the
signing script.
The script searches for vlc-cache-gen when executed inside vlcs
build directory, as well as inside the release package.
refs #19448
By default, codesign is called with default options now.
-g uses the codesign command as before.
Both mode sign the same files now, the previous list of files for
default mode did not work anymore.
Also fix find commands (do not do shell expansion).
Adds parameter option -i to specify the type of package to be build.
Adds -b parameter to pass breakpad URL.
Also adds a way to overwrite the macOS kernel version via environment
variable, which can be useful if someone wants to use an older contribs
package.
Contribs build protobuf 3.1.0 and assumes that the host environment
already has got a new enough protoc version.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-----
CCLD libvlccore.la
weakld: error: Unresolved symbol (UNDEF) '___atomic_fetch_add_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj
P:\tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_store_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_load_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: ___atomic_fetch_add_8 is an undefined reference
Error! E2028: ___atomic_store_8 is an undefined reference
Error! E2028: ___atomic_load_8 is an undefined reference
file P:/tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj(ldconv_decoder_o_85b55a37ad3f1d59f8.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj(ldconv_es_out_o_85b55a37ad3f1d7938.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_store_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_load_8
-----
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
This shall be used only if you are sure what is inside those extra
paths. Please pay careful attention.
This variable shall not be set by the normal user, and the normal
$PATH variable shall not pollute this script, as everything needed
is contained in extras/tools and contribs.
- Fixed the desktop file and icon location
- Fixed the required gettext version (0.19.8 is not available on 16.04)
- Added ersion-script and 'echo' in the install stanza to easily
identify git id from which the build was made
- Fixed vlc-wrapper to set the right environment variables to expose
GPU drivers for VDPAU VA-API to work out of the box
- Bundle ffmpeg-3.4 and wayland-protocols