Distcheck was never tested with lua enabled, and it doesn't clean the
compiled lua files correctly in distcleancheck. There was also some
redundancy in how the scripts were defined.
This commit refactor the declaration in three separate variables:
- LUA_EXTENSIONS, which is where new lua scripts should probably go.
- LUA_EXTENSIONS_DOC, which include files that are shipped into the doc
folder but not compiled.
- LUA_EXTENSIONS_PKGDATA, which include files that are shipped into the
pkgdata folder, and mostly consists of http/custom.lua now for some
reason.
The .luac files are not included in the dist archive, and thus
can be automatically clean them.
Looking through the tar command line help is brittle, and as a matter of
facts fails miserably with non-English locales.
Just feed a sorted list of files for tar to archive instead. This should
work regardless of the tar tool version in use.
Fixes Debian #990247.
This script generates a JSON playlist from a given URL, providing a
simple serial format that can be read and parsed by another process.
The JSON schema is the same as YoutubeDL's.
There are in principles two other alternative ways to access it:
1) Calling the YoutubeDL module directly in-process through CPython.
This poses a number of problems:
- CPython must be loaded by the main executable. Python modules will
fail to resolve their CPython symbols otherwise.
- Multiple CPython interpreters are still very immature; GIL behaves
weirdly. CPython is really not meant for multithread.
- The GIL prevents concurrent uses (that's the whole point of it).
- CPython network I/O cannot be interrupted by VLC interruptions, so
the calling thread may get stuck inside CPython.
- A build-time dependency on CPython is added.
2) Calling the YouTubeDL executable directly. This is impractical
because logging infos get interleaved on the standard output
alongside the proper output data. Worse yet, there are no obvious
ways to separate (flat) playlist extraction and item parsing
(which becomes necessary in a later patch in the series).
3) Using a playlist format already supported by VLC (as done in
previous versions of the patchest). This causes loss of potentially
useful information.
Both mac, as well as windows build scripts assume the hrtfs
directory to exist with hrtf file(s) in there. In order to allow
a full build from the release tarball, package that file as well.
if available (in GNU tar >= 1.28)
and use ustar format to not have pax headers add nondetermistic bits
to make skins2/default.vlt reproducible.
See https://reproducible-builds.org/ for why this is good.
This patch was done while working on reproducible builds for openSUSE.
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
The original idea was to use versioned directories akin to gstreamer,
but no distributions ever did that with VLC. vlcdatadir was always the
same as pkgdatadir.
This reverts half of commit 5698895948.
canalplus.fr does not exists anymore and redirects to mycanal.fr
the layout is very different and thus the script has no reason
to exist anymore.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pluzz.fr does not exists anymore and redirects to france.tv
the layout is very different and thus the script has no reason
to exist anymore.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Unlike, say stream output, the HTTP server has no hooks anywhere within
the rest of the core: it is used exclusively through calls from modules
to the LibVLC run-time.
Thus, if no modules use it, the code will be eliminated by linker (in
static builds) or not paged in (in dynamic builds). There is not much
point in adding a build-time option to turn it off. It only creates
problems with keeping missing.c in sync.
Remove the Google Video script as Google Video was
shut down in 2012 with YouTube as a replacement.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
The current metachannels script is broken, as the API it uses was
deprecated and it's not trivial to migrate to the new API, which uses
OAuth. This removes it from the makefile so it's not compiled and not
included in VLC, as a broken script is not useful for the user.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>