1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00
Commit Graph

3314 Commits

Author SHA1 Message Date
Marvin Scholz
76118f5826 configure: Do not use -no-undefined with sanitizers on darwin
Using sanitizer and no-undefined will cause linker errors on darwin due
to undefined symbols of the sanitizer.

This is adapted from a patch by Filip Roséen.
2017-10-05 11:39:03 +02:00
Rémi Denis-Courmont
60002d17b7 Makefile: reorder/gather rules by target 2017-09-20 21:08:08 +03:00
Hugo Beauzée-Luyssen
a049a1d7a3 Revert "configure: Prepend contrib -L arguments"
This reverts commit 166defa9b2.
2017-09-19 11:16:10 +02:00
Hugo Beauzée-Luyssen
166defa9b2 configure: Prepend contrib -L arguments
Appending them would cause the system libraries to be used over our
contrib versions
2017-09-18 10:26:59 +02:00
Hugo Beauzée-Luyssen
92bf46e0b3 configure: Prevent clang from accepting unknown compile flags 2017-09-06 12:04:56 +02:00
Rémi Denis-Courmont
29c7965d70 configure: remove unused ntohl in sys/param.h test 2017-08-28 18:25:20 +03:00
Shaleen Jain
2bc9957c61 configure: add a with-sanitizer switch
Add an option to compile with a set of the recommended flags for the various
santizers.

Multiple comma separated sanitizers can be specified.

This patch also disables no-undefined-symbols(-Wl,-z,defs) only when this
switch is used, to avoid link errors, mainly with asan.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-08-28 13:32:40 +02:00
Shaleen Jain
57949e7a9b configure: refactor RDC_PROG_{CC, CXX}_FLAGS with AX_APPEND_COMPILE_FLAGS
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-08-28 13:32:40 +02:00
Rémi Denis-Courmont
4b8a2755fe sdl: remove video output
The SDL video output has been forcefully disabled on MacOS X for 12
years. It has also been disabled in Windows builds for over 6 years.
Finally, it has been broken on X11 due to lack of windowing
integration, for several years, cannot be fixed without changes to
the SDL API, and is completely useless.
2017-08-06 21:26:07 +03:00
Rémi Denis-Courmont
8e1a0e8766 directfb: remove legacy video output
The DirectFB project has been dead for several years, and is ostensibly
not used. If you really need direct access to the Linux frame buffer,
there is still the raw LinuxFB module for the time being.
2017-08-06 21:26:04 +03:00
Mathieu Parent
d799967084 configure: Explain how to disable avcodec or alsa
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-08-04 09:51:30 +02:00
Rémi Denis-Courmont
44f318cbf2 Makefile: remove --disable-httpd
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.
2017-07-25 18:20:46 +03:00
Adrien Maglo
8cd7cc7648 spatialaudio: add an Ambisonics audio renderer
This module converts ambisonics channels to physical ones.

This module contains also a binauralizer submodule: It applies a head-related
transfer function to each physical channel in order to simulate a 3D sound with
a headphone.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-07-19 18:46:05 +02:00
Steve Lhomme
d0d6460844 configure: enhance the D3D9/DxVA2 filters functions detection
Notably, check IDirectXVideoProcessorService_GetVideoProcessorDeviceGuids
presence.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-02 14:27:47 +02:00
Steve Lhomme
63394df4e7 direct3d9: add an adjust filter for d3d9 opaque formats
it's missing the gamma handling

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-01 18:27:49 +02:00
Steve Lhomme
9f8495bf4f direct3d11: add an adjust filter for d3d11 opaque formats
it's missing the gamma handling

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-01 18:27:49 +02:00
Steve Lhomme
b5c431b11e direct3d9: rename dxva2_deinterlace to direct3d9_deinterlace
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-01 18:27:49 +02:00
Rémi Denis-Courmont
a1de8ebe15 configure: add shadow=local warning 2017-06-29 23:33:04 +03:00
Steve Lhomme
e7d9db4ef2 vout:directd9: don't compile shaders if the headers are not available
It's not found in MS headers anymore, only the old DirectX SDK from 2010.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-06-29 14:12:02 +02:00
Rémi Denis-Courmont
34cd965645 compat: replace aligned_alloc() rather than posix_memalign() 2017-06-17 15:34:27 +03:00
Thomas Guillem
2a4c1305fe configure: add HAVE_VAAPI_X11 check 2017-06-16 16:48:00 +02:00
Thomas Guillem
2d33f67c2f configure: add HAVE_VAAPI check 2017-06-16 16:48:00 +02:00
Hugo Beauzée-Luyssen
d0e2ad922a vlc_fixup: Provide a thread_local macro 2017-06-15 16:20:31 +02:00
Thomas Guillem
373c8d8919 chroma: move cvpx_i420 to cxpx 2017-06-02 18:43:35 +02:00
David Fuhrmann
a3a3ebbe73 macosx: Remove Makefile recursion, change xib compilation
xib compilation is changed to be not triggered if macosx module
is not built.
2017-05-24 16:01:44 +02:00
Rémi Denis-Courmont
c50926d771 qt: do not build sources if Qt is disabled/absent 2017-05-14 23:01:47 +03:00
Rémi Denis-Courmont
4c6a272efd qt: remove Makefile recursion 2017-05-14 15:06:21 +03:00
Marvin Scholz
0da6809623 configure: Improve detection of ibtool
Previously there was no error handling if ibtool was not found
and xcrun was not used to find it, but the path that xcrun provides
should be preferred, as on some systems and earlier macOS versions
it might not be in the PATH.
2017-05-02 11:22:12 +02:00
Sean McGovern
9def796542 configure: require libpng to implement png_set_alpha_mode()
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2017-04-15 19:22:12 +03:00
Steve Lhomme
b5ed6127a5 vout: win32: add a Direct3D9 deinterlacer for opaque surfaces
Close #12855

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-04-13 16:08:41 +02:00
Steve Lhomme
b171a07203 vout: win32: add a Direct3D11 deinterlacer
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-04-13 14:56:51 +02:00
Dennis Hamester
246f1ab22e compat: Add custom implementation of recvmsg/sendmsg on NaCl
On Pepper 49, recvmsg and sendmsg are implemented as stubs, which always
return ENOTSUP. Proper implementations for these functions will become
available in later Pepper versions, which should make these compat
functions obsolete.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-31 14:53:32 +02:00
Dennis Hamester
3e2accc82d compat: Add pathconf dummy replacement for nacl
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-31 14:53:32 +02:00
Julian Scheel
adb9c18776 compat: Add sigwait dummy for NaCl
Implement a sigwait dummy for NaCl, which relies on:
- NaCl does never send SIGPIPE to to apps (see
https://codereview.chromium.org/288063004/)
- VLC uses sigwait exclusively to wait for SIGPIPE

If sigwait is asked to wait for anything else than SIGPIPE it will run
into an assertion failure, so that breakage would not be silent.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-28 15:54:00 +02:00
Julian Scheel
b4c4c5bee9 nacl: Add new system type
Add system type for Google Native Client.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-28 15:30:30 +02:00
Rémi Denis-Courmont
b122833091 fontconfig: require version 2.11 (fixes #3314) 2017-03-27 20:49:47 +03:00
Rémi Denis-Courmont
810704b602 configure: use pkg-config for fontconfig
It´s shipped a .pc file for about 15 years.
2017-03-27 20:48:00 +03:00
Dennis Hamester
02bf8ff28a android/thread: Remove monotonic clock checks
These checks are unnecessary since 6f3e18d534, because the calls to
pthread_condattr_setclock and pthread_cond_timedwait_monotonic_np have
been removed.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2017-03-23 18:53:25 +02:00
Jean-Baptiste Kempf
e57867acb0 configure: fix inverted logic about Growl 2017-03-22 20:00:54 +01:00
Hugo Beauzée-Luyssen
99db47431b winvlc: Try to load DLLs from system32 before any other folder 2017-03-10 18:40:44 +01:00
Steve Lhomme
d16bd4813a core: win32: do not load winmm.dll on startup, it's not a Known DLL
Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-10 13:47:48 +01:00
Rémi Denis-Courmont
e5aa35282c tls: disable the Nagle algorithm
Users of vlc_tls_t coalesce sends in user-space correctly. That being
the case, the Nagle algorithm just increases latency for no benefits.
2017-03-05 12:58:20 +02:00
Jean-Baptiste Kempf
4ceff8a015 Remove audioqueue plugin 2017-02-27 17:45:02 +01:00
Jean-Baptiste Kempf
dc14ecb4f2 Remove VDA plugin 2017-02-27 16:38:14 +01:00
Rémi Denis-Courmont
756d29b143 configure: remove ATTRIBUTE_ALIGNED_MAX test
This is no longer used.
2017-02-26 21:56:46 +02:00
Rémi Denis-Courmont
057da0c0b3 configure: require gnutls >= 3.3.6 2017-02-26 19:51:00 +02:00
Jean-Baptiste Kempf
75fd376361 configure: use AM_CONDITIONAL outside of if statement 2017-02-25 20:14:27 +01:00
Marvin Scholz
5074dc0c5c configure: Check for dmgbuild on macOS 2017-02-25 19:22:16 +01:00
Rémi Denis-Courmont
acc58ecb3a gnutls: require GnuTLS 3.3.0+ for thread safety 2017-02-23 22:44:27 +02:00
Jean-Baptiste Kempf
a6fd0f90be configure: correctly disable the macOS UI for non-darwin systems 2017-02-22 18:48:24 +01:00
Filip Roséen
5d020c460f gui/skins2: remove legacy archive dependencies
This is now handled by ThemeLoader::unarchive, and is therefore no
longer needed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-02-21 15:30:06 +01:00
Filip Roséen
6a88437966 modules/stream_extractor: add libarchive extractor
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-02-21 15:29:59 +01:00
Marvin Scholz
475d57d04c macOS: Simplify buildsystem, fix VLC.app
This simplifies package.mak by removing unnecessary VLC-tmp,
making VLC.app properly depend on install and removing the
VLC-dev.app, as VLC can now be run with the pseudo-bundle
from command-line for development.
2017-02-19 23:37:46 +01:00
Jean-Baptiste Kempf
af316abf68 macOS: factor out the Frameworks path definitions 2017-02-18 12:49:10 +01:00
Jean-Baptiste Kempf
ccfd8211b1 configure: adjust Growl detection on macOS 2017-02-18 12:15:33 +01:00
Marvin Scholz
699d0cb8a7 configure: adjust Breakpad detection for macOS 2017-02-18 12:15:33 +01:00
Jean-Baptiste Kempf
3a4649e631 configure: adjust Sparkle detection for macOS 2017-02-18 12:15:33 +01:00
Jean-Baptiste Kempf
4db30240c6 macOS: remove VLC.app from implicit make target
VLC.app is a packaging target, after an install target
2017-02-17 23:58:32 +01:00
Marvin Scholz
eec7a5f40c macOS: Add breakpad to buildsystem 2017-02-17 21:18:12 +01:00
Jean-Baptiste Kempf
93baf6e71a vaapi: require 0.39.0 (1.7.0) for VP9-10bits
And require 0.38 to activate VAAPI for everyone (VP9&HEVC)

Close #18011
2017-02-14 17:36:09 +01:00
Rémi Denis-Courmont
8a5c926776 configure: remove support for old contribs
They were deleted 5 years ago.
2017-02-10 18:32:36 +02:00
Marvin Scholz
0f648d4091 macOS: Build script changes 2017-02-09 22:53:24 +01:00
Rémi Denis-Courmont
f7a2fb1b80 Qt: Wayland vout window provider
Note that this depends on Qt5 private headers.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2017-02-04 14:52:04 +02:00
Marvin Scholz
344d85748e macOS: Remove all BGHUD classes from XIBs
This is done in preparation for more minimal replacement
classes that do custom drawing for OS X < 10.10 and on
10.10+ we will use the native translucent dark UI provided
by the system.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-01-31 16:59:29 +01:00
Hugo Beauzée-Luyssen
c067d84976 configure: Fix activation of smb module on windows
Always disable smbclient for winrt instead of relying on
--enable/--disable-smbclient
The PKG_ENABLE_MODULES_VLC fiddles with $enable_smbclient, making it
unreliable to use when activating/deactivating the module
2017-01-31 10:12:34 +01:00
Rémi Denis-Courmont
d51ce71eef configure: look for wayland-protocols 2017-01-29 15:13:04 +02:00
Rémi Denis-Courmont
f91f9ca9ca configure: rationalize Wayland tests 2017-01-29 15:13:02 +02:00
Rémi Denis-Courmont
31e1756c91 update: use Makefile conditional to disable code
This fixes the build without gcrypt.
2017-01-29 13:01:01 +02:00
Rémi Denis-Courmont
f28946cfc8 configure: test for gstreamer not in the midlde of libavcodec 2017-01-22 16:52:45 +02:00
Rémi Denis-Courmont
8e03c54a4b skins2: undo makefile recursion 2017-01-22 16:52:42 +02:00
Rémi Denis-Courmont
2ce951f06f skins2: Remove Modules.am 2017-01-22 16:48:09 +02:00
Jean-Baptiste Kempf
f3a81d27d2 configure: correctly check the live555 header presence in contribs 2017-01-21 15:53:24 +01:00
Nicolas Chauvet
409c41370f Fix lirc activation after detection
This fix build time activation of lirc.
"true" isn't "yes", so the HAVE_LIRC condition isn't met

This bug was initialy reported as
https://bugzilla.rpmfusion.org/4420

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-01-17 09:19:50 +01:00
Rémi Denis-Courmont
947b2075ee a52: add missing -lm (fixes #17837)
liba52 does not provide a pkg-config file. libm was thus added to
the AC_CHECK_LIB test. It needs to be added in VLC_ADD_LIBS as well.
2017-01-02 13:00:33 +02:00
Jean-Baptiste Kempf
f3fe29607f Update Copyright for 2017 2017-01-01 16:24:08 +01:00
Jean-Baptiste Kempf
8f71f55d3b Configure Obj-C to fail with partial-availability
This is quite drastic but will avoid some silent failures on old OS X
versions, like 10.7

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-12-21 21:23:04 +01:00
Steve Lhomme
2e420ac455 configure: detect luac with the exe file extension
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2016-12-20 20:57:14 +02:00
Rémi Denis-Courmont
4f360602bd configure: unsilence the generic OpenGL header test 2016-12-20 00:16:40 +02:00
Rémi Denis-Courmont
a876c1f6ee configure: remove dead code 2016-12-15 21:01:17 +02:00
Thomas Guillem
6c4bb08184 vout: drop OpenGL 1.x and OpenGL ES 1 support
Replace USE_OPENGL_ES=2 define with USE_OPENGL_ES2
2016-12-13 16:47:28 +01:00
Steve Lhomme
a679d56cb5 configure: double quote the path to find rcc
It's already done for the other and fails with the contribs on Msys2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-12-07 22:55:01 +01:00
Felix Paul Kühne
d56a1e3440 Remove unmaintained and outdated EyeTV support 2016-12-04 10:34:23 +01:00
Rémi Denis-Courmont
9ef9ebb072 configure: require libva >= 0.37 (fixes #17706) 2016-11-30 18:06:02 +02:00
Rémi Denis-Courmont
84796d325a configure: add conditional for Qt5 X11 2016-11-29 22:30:28 +02:00
Rémi Denis-Courmont
6e6297e170 Revert "qt5: unsubscribe disable motion and XI2 mouse events"
This reverts commit 4e55554c37.
This explicit hack (by design) inhibited XI2 support. It no longer
serves any purpose.
2016-11-29 19:54:56 +02:00
Jean-Baptiste Kempf
ccfdb5ae52 Remove Direct2D module 2016-11-22 22:14:08 +01:00
Rémi Denis-Courmont
ccc8a356d3 vdpau/avcodec: remove backward compatibility code
VLC requires a newer libavcodec version anyway.
2016-11-22 21:57:16 +02:00
Rémi Denis-Courmont
90e14b835b compat: add sincos() and sincosf() replacements 2016-11-13 13:58:56 +02:00
Rémi Denis-Courmont
a9a94b2238 configure: remove reference to nonexistent $ac_cv_c_altivec_abi 2016-11-01 16:50:31 +02:00
Sebastian Ramacher
7994ce346d configure: fix typo in ALTIVEC_CFLAGS assignment
This looks like a typo to me and should have been ALTIVEC_CFLAGS instead.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2016-10-30 13:47:11 +02:00
Rémi Denis-Courmont
ee64d24ae2 configure: remove legacy nanosleep header check 2016-10-29 18:02:36 +03:00
Rémi Denis-Courmont
8325c17d62 gettext: update to version 0.19.8 2016-10-27 14:21:45 +03:00
Rémi Denis-Courmont
4c430331e9 configure: reinstate proper test for tdestroy 2016-10-23 20:10:36 +03:00
Rémi Denis-Courmont
73e946f530 compat: fix test for tree functions
The standard functions are tdelete, tfind, tsearch and twalk. Testing
for non-standard tdestroy does not work properly: it leads to false
negative.
2016-10-23 20:06:30 +03:00
Jean-Baptiste Kempf
ae5b70293c Configure: do not warn about missing fontconfig on OSX/iOS 2016-10-13 22:35:12 +02:00
Steve Lhomme
6766a8903b compat: add realpath used by test_media_subitems()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-10-10 23:53:55 +02:00
Steve Lhomme
d71a8733af configure: fix glwin32 project inclusion
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-10-10 23:47:45 +02:00
Thomas Guillem
a53ff3785f codec: move libliba52_plugin to liba52_plugin 2016-10-10 18:41:18 +02:00
Konstantin Pavlov
a9f3842700 configure: disable -z defs linker check for FreeBSD.
When linking libvlccore with -z defs, the following happens:

posix/.libs/netconf.o: In function `vlc_getProxyUrl': ./src/posix/netconf.c:75:
undefined reference to `environ'

environ on FreeBSD is defined only for the dynamically linked
executables via csu, and is placed in bss section.  It's not available in
libc, which uses the same extern char **environ to access it.

What's interesting is NetBSD took a more compatible approach, where
environ is available both in libc and in csu.
2016-10-05 15:29:06 +03:00
Thomas Guillem
3f38668303 configure: don't enable kwallet if dbus is disabled 2016-10-04 09:29:23 +02:00
Vittorio Giovara
40475d780b Bump minimum vpx version to 1.5.0
Needed by the use of the range field.
2016-10-03 12:14:59 -04:00
Thomas Guillem
6373719e6d configure: kwallet can now be disabled 2016-09-27 09:54:23 +02:00
Vittorio Giovara
7ecae0187a vpx: Decode additional profiles and high bit depth formats
This effectively bumps the minimum libvpx version to 1.4.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-09-26 18:47:11 +02:00
Rémi Denis-Courmont
6f6352a23a configure: remove unused HAVE_FDATASYNC 2016-09-20 23:15:22 +03:00
Rémi Denis-Courmont
4b1c9dcdda configure: require C++11
Rationale: the adaptive plugin requires C++11; it won´t build on a C++98
compiler or C++11 compiler in C++98 mode.
2016-09-20 13:03:20 +03:00
Rémi Denis-Courmont
7f225e0674 configure: replace max_align_t (fixes #17387) 2016-09-14 11:26:43 +03:00
Rémi Denis-Courmont
6c5ddd313b configure: fix libva error/warning message
PKG_CHECK_EXISTS does not set any variables, not even *_PKG_ERRORS.
2016-09-10 17:08:22 +03:00
Dominique Leuenberger
5a739e49d6 AppStream: Mark .appdata.xml for translation
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-09-07 15:20:00 +02:00
Jean-Baptiste Kempf
147cf836dc Configure: reject if we cannot detect libav/ffmpeg 2016-09-07 12:04:01 +02:00
Ilkka Ollakka
6ea3cdf964 configure: clean unneeded check, avcodec requirement is bumped higher 2016-09-07 12:12:09 +03:00
Ilkka Ollakka
53d723d513 configure: require libavcodec >= 57
check for ffmpeg/libav versions
2016-09-07 12:12:09 +03:00
Thomas Guillem
7d31c85c00 configure: fix luac detection from contrib
Use the same path name than the one setup by the contribs, that is $(HOST)-luac.
In configure, ${host_alias} is the var directly set by the --host argument.
2016-08-25 09:00:53 +02:00
Jean-Baptiste Kempf
92b9c363a5 configure: use pkg-config for matroska
Close #17316
2016-08-24 09:37:36 +02:00
Tristan Matthews
461b9cb189 aom: add AV1 decoder 2016-08-21 13:28:17 -04:00
Steve Lhomme
39c3fb1355 configure: mingw32 also uses .exe file extensions
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-08-21 18:11:45 +02:00
Felix Paul Kühne
99b55db684 quartztext: remove remnants 2016-08-16 15:01:54 +02:00
Rémi Denis-Courmont
afd22356b9 configure: use -z,defs where LD supports it
This prevents undefined symbols in ELF shared libraries.
2016-08-14 22:06:45 +03:00
Janne Grunau
8df6a21f8a deinterlace: arm64 NEON merge asm
Approximately factor 2 faster.

Also adds build system support / cpu "detection" for arm64 neon.
Advanced SIMD (neon) is mandatory for general purpose ARMv8-a CPU so the
CPU feature detection is a constant 1.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2016-08-14 00:02:38 +02:00
Rémi Denis-Courmont
07a02cb61f configure: detect luac from contribs 2016-08-07 23:33:49 +03:00
Rémi Denis-Courmont
1fa96fee14 configure: look for luac as a (potential) cross-tool
This is the bulldozer approach to precompiling Lua to different
architectures.
2016-08-06 16:37:06 +03:00
Jean-Baptiste Kempf
2676dfd54e configure: fix gcrypt detection for update 2016-08-06 12:16:21 +02:00
Rémi Denis-Courmont
f94ac7241f configure: fix gcrypt test
* Mark GCRYPT_CFLAGS and GCRYPT_LIBS as precious.
 * Actually use GCRYPT_CFLAGS during compilation test.
 * Use newer AC_COMPILE_IFELSE.
 * Use caching.
 * Provide sane default for GCRYPT_LIBS.
 * Do not invoke broken NIH libgcrypt-config script.
2016-08-06 11:06:23 +03:00
Rémi Denis-Courmont
d002305e28 configure: use AC_CHECK_PROG(S) where appropriate
If the search path is $PATH, then there is no point expanding the
executable to an absolute path.

This is also contrary to normal autoconf/automake use.
2016-08-06 09:36:11 +03:00
Rémi Denis-Courmont
4e14a8c9b1 configure: don´t execute stuff from contrib
In general, this contains cross-compiled executables.
2016-08-06 09:32:21 +03:00
Jean-Baptiste Kempf
ab4aab1747 Configure: hack to correctly link with fluidlite
Without breaking the main fluidsynth case
2016-08-04 12:13:30 +02:00
Hugo Beauzée-Luyssen
454d683bc1 configure.ac: Use AC_PATH_PROGS for luac
Signed-off-by: Rafaël Carré <funman@videolan.org>
2016-08-03 13:31:24 +02:00
Hugo Beauzée-Luyssen
d2080f5bcc modules: Don't enforce linkage to -lole32 2016-08-03 13:28:06 +02:00
Hugo Beauzée-Luyssen
2a42e0b77b configure.ac: Don't link winstore libvlccore with -lole32 2016-08-03 13:27:59 +02:00
Thomas Guillem
c859332c49 dtstofloat32: move to dca codec
This decoder works (for now) only if the input is correctly packetized.
2016-07-28 08:52:01 +02:00
Thomas Guillem
b896923e5a a52tofloat32: move to liba52 codec
This decoder works (for now) only if the input is correctly packetized.

The "a52-upmix" option is dropped (internal upmixing).
2016-07-28 08:52:01 +02:00
Steve Lhomme
6c0e51016b configure.ac: MS clang doesn't handle floating point pragmas
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-07-18 06:40:15 +02:00
Jean-Baptiste Kempf
a051de1ac6 compat: add memrchr replacement
This is a very simple replacement. It probably can be better. Feel free.
2016-07-17 21:14:15 +02:00
Rafaël Carré
924f871a5a Revert "Configure: disable-lua if correct luac is not found"
This reverts commit a8770b1a18.

"This is temporary until we have a better solution"

The better solution is to go back to Lua 5.2
2016-07-13 11:04:48 +02:00
Julian Scheel
45c877aa1d access: Add satip access module
This module implements a minimal RTSP subset, which is required to support
satip servers.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2016-07-08 10:06:15 +02:00
Jean-Baptiste Kempf
e80faf2d3b Detect fluidlite to reimplement fluidsynth
FluidLite supports SF3, which is nice
2016-07-07 17:08:02 +02:00
Tristan Matthews
b4f8aea876 configure: require libnfs >= 1.10.0 2016-06-29 18:12:21 -04:00
Richard Diamond
9e857807ea src: struct iovec is defined in sys/uio.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-06-29 16:31:34 +02:00
Duncan McNAMARA
b9bf8bc9dd keystore : Deleted kwallet module
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2016-06-27 12:06:57 +02:00
Nathan Egge
ecd5cd4257 Unstable libsecret API not available until 0.18.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-06-14 14:55:00 +02:00
Felix Paul Kühne
3de317bea3 qtsound: compile only if QTKit is present 2016-06-14 01:19:42 +02:00
Adrien Maglo
db93ff0602 WGL: OpenGL provider module for Windows
Reactivate the support of projectM and 3dspectrum visualization modules
on Windows.

fix #13650

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-06-08 09:23:47 +02:00
Rémi Denis-Courmont
273ec260a1 configure: check only for adequate math optimizations (fix #16907) 2016-05-29 22:46:44 +03:00
Jean-Baptiste Kempf
3189e48dc8 Win64: use high-entropy ASLR
And set the image base to >4GB

This should improve the application security

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-05-25 00:04:18 +02:00
Jean-Baptiste Kempf
ab5b088b81 Configure: remove HAVE_DIRECTX 2016-05-16 16:01:29 +02:00
Jean-Baptiste Kempf
21fa1cb48b configure: provide a HAVE_WIN32_DESKTOP 2016-05-16 11:45:27 +02:00
Jean-Baptiste Kempf
76237fed31 configure: reorder by family of OS 2016-05-16 11:27:26 +02:00
Jean-Baptiste Kempf
0058b54f37 configure: move winrt detection closer to the other OS 2016-05-16 10:54:19 +02:00
Rafaël Carré
bd63d6f28d win32: also statically link libgcc to C++ code
If libtool is dumb then we can be dumber
2016-05-03 13:46:12 +02:00
Rémi Denis-Courmont
40b46e90fe Revert "configure: detect hosted Lua 5.3"
This reverts commit e018379644.
VLC is not compatible with Lua 5.3 at this point.
2016-04-24 17:27:03 +03:00
Hugo Beauzée-Luyssen
11b1f13c4c configure.ac: Honor --disable-smbclient, even on win32 2016-04-18 16:11:12 +02:00
Jean-Baptiste Kempf
a8770b1a18 Configure: disable-lua if correct luac is not found
This is temporary until we have a better solution
2016-04-17 21:50:58 +02:00
Jean-Baptiste Kempf
985552558a Remove QuickTime module 2016-04-17 21:50:58 +02:00
Hugo Beauzée-Luyssen
37c69b3326 configure.ac: Use AC_PATH_PROGS for luac 2016-04-12 18:36:40 +02:00
Rémi Denis-Courmont
e018379644 configure: detect hosted Lua 5.3 2016-04-04 21:27:52 +03:00
Bernd Kuhls
f30e0d9eda include/vlc_fixups.h: uClibc needs __STDC_FORMAT_MACROS
Fixes compile error with gcc-4.9.3:

  CXX      demux/mkv/libmkv_plugin_la-util.lo
In file included from ../include/vlc_common.h:893:0,
                 from demux/mkv/mkv.hpp:38,
                 from demux/mkv/util.cpp:24:
demux/mkv/util.cpp: In function 'void handle_real_audio(demux_t*, mkv_track_t*, block_t*, mtime_t)':
demux/mkv/util.cpp:192:79: error: expected ')' before 'PRId64'
             msg_Dbg( p_demux, "discard non-key preroll block in track %d at%" PRId64,
                                                                               ^

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-04-02 18:55:08 +02:00
Tristan Matthews
92225a1910 configure: daala: drop ogg dependency 2016-03-30 12:11:58 -04:00
Jean-Baptiste Kempf
3001875707 Bump the required Qt versions 2016-03-18 20:05:44 +01:00
Rémi Denis-Courmont
b578f8b725 configure: fix missing $av_vdpau_ver 2016-03-18 20:38:59 +02:00
Thomas Guillem
ca78be7d7c dsm: update with last API changes
libdsm functions return now a negative number in case of error. Add NT_STATUS
error check to detect permission errors in order to ask for credentials only in
that case.
2016-03-07 14:34:39 +01:00
Michael Tänzer
37a9c77b17 oggspots: Add OggSpots codec module
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-03-07 14:05:37 +01:00
Rémi Denis-Courmont
4757ae1af6 avcodec: disable hwaccel when unsupported/broken (fixes #16642) 2016-03-04 04:43:16 +02:00
Rafaël Carré
b8869f97ea Relax requirements for FFmpeg hwaccel
It doesn't error out anymore since 5edd1f62ca1
2016-02-28 10:02:15 +01:00
Jean-Baptiste Kempf
fd3b1b6cca Rename qt4 plugin to qt 2016-02-27 17:25:45 +01:00
Jean-Baptiste Kempf
c27d273bca Move Qt from qt4 to qt folder 2016-02-27 17:25:04 +01:00
Steve Lhomme
e9228cad34 dxva2: include d3d9.h before dxva2api.h
this is also done in ffmpeg/libav

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-26 17:55:20 +01:00
Rémi Denis-Courmont
9083a2de1d configure: update dvbpsi version check 2016-02-15 18:33:21 +02:00
Tristan Matthews
d4a124a3de vpx: add vp8 and vp9 encoder 2016-02-09 11:32:34 -05:00
Steve Lhomme
76ca1aaac4 vlc_fixups: add missing struct timespec
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-09 00:21:34 +01:00
Hugo Beauzée-Luyssen
d9c9233312 compat: Provide a gettimeofday replacement
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-06 11:46:27 +01:00
Jean-Baptiste Kempf
55280fa62c Rename bonjour module to avahi
Bonjour is an implementation, trademarked by Apple, of Zeroconf
protocol, which avahi is a (slightly) different implementation.
Zeroconf protocol is mostly mdns + dns-sd
2016-02-06 11:36:15 +01:00
Thomas Guillem
a0022ad68c services_discovery: add a service discovery for mDNS 2016-02-05 19:16:02 +01:00
Steve Lhomme
6c8a2eb285 configure: don't force mingw hacks on Windows, when using a different compiler
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-05 19:07:16 +01:00
Steve Lhomme
ec9891fc61 winstore: gai_strerrorA is forbidden so use our version from compat
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-05 18:33:12 +01:00
Felix Paul Kühne
ac8d744520 Mac OS X dialog provider: completely removed
Use VLCKit to implement dialogs properly in external apps
2016-02-04 21:14:13 +01:00
Steve Lhomme
a41e0571a7 configure: fix SAPI detection when sphelper.h is missing
Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-02-02 18:22:37 +01:00
Jean-Baptiste Kempf
79b1008179 configure: fix typo 2016-02-02 17:50:31 +01:00
Steve Lhomme
159a7078fe configure: disable SAPI if sapi.h cannot be used
for Winstore apps the code is hidden

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-01-30 18:56:14 +01:00
Rémi Denis-Courmont
80a1eb9486 configure: add format-security warning 2016-01-17 17:44:13 +02:00
Rémi Denis-Courmont
3f72fbddb7 compat: replace recvmsg() 2016-01-13 18:53:33 +02:00
Rémi Denis-Courmont
95ba2e83f1 compat: replace sendmsg() 2016-01-13 18:53:33 +02:00
Thomas Guillem
af39d39563 access: add nfs module
This module implements nfs file read and browsing via libnfs, see
https://github.com/sahlberg/libnfs .

This module use the *_async functions of libnfs and is interruptible via
vlc_interrupt.
2016-01-11 16:44:00 +01:00
Rémi Denis-Courmont
933424d7ed vcdx: remove unmaintained module 2016-01-07 23:30:19 +02:00
Rémi Denis-Courmont
f05e10928d configure: fix build 2016-01-07 21:43:30 +02:00
Thomas Guillem
210767f0dc keystore: add kwallet module 2016-01-07 20:08:50 +01:00
Thomas Guillem
b0ebf14630 configure: move up kde4-config detection 2016-01-07 20:08:50 +01:00
Thomas Guillem
0473ca299c keystore: add libsecret module 2016-01-07 20:08:50 +01:00
Thomas Guillem
6c139d882a configure: add flock
For future plaintext module.
2016-01-07 20:08:50 +01:00
Rémi Denis-Courmont
e57d32f664 configure: FFmpeg hwaccel requires libavcodec < 57.10.100
Since n2.9-dev-1400-g31741ae, the VLC avcodec plug-in will fail to
initialize hwaccel. This is by FFmpeg design.
2016-01-07 18:36:08 +02:00
Jean-Baptiste Kempf
a2aca1efed Welcome to 2016 2016-01-01 17:45:43 +01:00
KO Myung-Hun
c84a1a1aba src: os2: move gai_strerror() to compat
This fixes the following linkage error.

-----
  CCLD     libhttps_plugin.la
weakld: error: Unresolved symbol (UNDEF) '_gai_strerror'.
weakld: info: The symbol is referenced by:
    P:\tmp\ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _gai_strerror is an undefined reference
file P:/tmp\ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj(ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj): undefined symbol _gai_strerror
make.exe[4]: *** [libhttps_plugin.la] Error 1
-----

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-12-17 23:38:36 +02:00
Rémi Denis-Courmont
903664b8e5 compat: replace timegm() 2015-12-10 22:06:38 +02:00
Rémi Denis-Courmont
383a9210b0 compat: add timespec_get() replacement 2015-12-09 19:15:46 +02:00
Rémi Denis-Courmont
641de51d46 configure: revamp real-time run-time library checks
Avoid linking with -lrt if not needed (e.g. recent GNU/libc),
simplify, and enable linking other library than libvlccore.
2015-12-09 19:15:46 +02:00
Jean-Baptiste Kempf
98cc9e18b5 DSM: Require 0.0.7 release 2015-11-16 10:32:26 +01:00
Thomas Guillem
24d5b1e111 configure: require soxr >= 0.1.2
Since our SoXR audio filter use the soxr_clear function that is broken before
0.1.2.
2015-11-03 16:18:39 +01:00
Rémi Denis-Courmont
0682a265e5 configure: gettext needs format macros too
The PRI macros are used in some of the translated strings, so libintl
needs to support them.

Note that need-formatstring-macros nonobviously implies need-ngettext.
2015-11-02 21:36:05 +02:00
Rémi Denis-Courmont
b3239cf77e configure: update gettext to 0.19.6 2015-11-02 21:36:01 +02:00
Thomas Guillem
15965484a5 modules: add SoX Resampler audio_filter
This resampler supports 5 quality presets: from 0 to 4, 2 is the default and
correspond to "mq". It supports integer and float samples. Performances are way
better when this module is used as an "audio converter" (fixed sample rate).

See http://lastique.github.io/src_test/ for comparison with speexdsp.

It is deactivated for now.
2015-10-30 17:04:42 +01:00
Rémi Denis-Courmont
4e55554c37 qt5: unsubscribe disable motion and XI2 mouse events
╔═══════════════════════════╗
║ PARENTAL ADVISORY:   R-24 ║
║ EXPLICIT CONTENT          ║
║ INAPPROPRIATE KLUDGY HACK ║
╚═══════════════════════════╝

This extends the existing kludge to catch mouse clicks in the video
output instead of the Qt framework. From version 5.5, Qt uses XI2 to
catch mouse events.

May or may not interfere with touch devices.
May or may not interfere with cursor changes.
May or may not be forward compatible.
2015-10-25 19:32:11 +02:00
Thomas Guillem
cbecdf6ad0 modules: add Evas video output 2015-10-23 19:28:15 +02:00