Commit Graph

3305 Commits

Author SHA1 Message Date
Jean-Baptiste Kempf c420116756 Update NEWS for 3.0.19 2023-08-05 12:18:49 +02:00
Jean-Baptiste Kempf 4585d55250 On the road to 3.0.19 2022-12-28 21:11:32 +00:00
Alexandre Janniaux 0a33447a72 configure.ac: fix deprecated mention with newer autoconf
(cherry picked from commit 7eb922bcb2)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-11-15 23:07:27 +01:00
Alexandre Janniaux cacf92f3d4 configure.ac: fix AC_PROG_LEX warning
With autoconf 2.70, the following warnings are emitted:

configure.ac:56: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:56: the top level

The documentation[1] of autoconf now states:

> Prior to Autoconf 2.70, AC_PROG_LEX did not take any arguments, and
> its behavior was different from either of the above possibilities: it
> would search for a library that defines yywrap, and would set LEXLIB
> to that library if it finds one. However, if a library that defines
> this function could not be found, LEXLIB would be left empty and LEX
> would not be reset. This behavior was due to a bug, but several
> packages came to depend on it, so AC_PROG_LEX still does this if
> neither the yywrap nor the noyywrap option is given.
>
> Usage of AC_PROG_LEX without choosing one of the yywrap or noyywrap
> options is deprecated. It is usually better to use noyywrap and define
> the yywrap function yourself, as this almost always renders the LEXLIB
> unnecessary.

The behaviour of the argument on autoconf < 2.70 is to ignore the
argument, so there are no issues with adding the option.

[1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Particular-Programs.html#Particular-Programs

(cherry picked from commit 824b3d4551)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-11-15 22:37:17 +01:00
David Fuhrmann 535e17ff9f On the road to 3.0.18, final NEWS update 2022-10-11 14:47:43 +00:00
Brad Smith 4492db0c00 configure: use pkg-config file for sndio
(cherry picked from commit a9406397ed)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>

Conflicts:
	configure.ac
2022-10-08 16:10:23 +03:00
David Fuhrmann ed93768ced configure.ac: Correctly set version to 3.0.18-rc2 2022-09-30 10:36:07 +02:00
David Fuhrmann 13426fb3eb Update NEWS for 3.0.18-rc2
Update news, and bump version to 3.0.18-rc2.
2022-09-28 20:23:52 +02:00
David Fuhrmann c9ab8c6024 On the road to 3.0.18 2022-09-02 11:17:25 +00:00
David Fuhrmann ae70f7d525 configure.ac: Use pkg-config to detect presence of libgme
Use the existing pkg-config file to detect presence of libgme. This file
is already shipped on all known libgme versions (checked back until
0.6.0, which is from 2015).

This fixes build with recent libgme versions, which added even more
dependencies which were missing in the old check.

Fixes #27262

(cherry picked from commit 3a08825c8a)
2022-08-30 05:06:04 +00:00
Jean-Baptiste Kempf a65b22fd0b On the road to 3.0.18-RC 2022-08-04 12:47:22 +00:00
Jean-Baptiste Kempf 0f7d74a4ac Update NEWS for 3.0.18 2022-06-09 06:00:28 +00:00
Jean-Baptiste Kempf dd4d83b960 Revert "configure: rectify minimum libdvdnav version"
This reverts commit 794d986264.
2022-05-29 16:03:09 +00:00
Rémi Denis-Courmont 6c5ed18a6b configure: do not force AltiVec on everything
Fixes Debian #842513.

(cherry picked from commit 5a236388de)
2022-05-21 08:49:58 +00:00
Rémi Denis-Courmont 78e41c72eb deinterlace: move CFLAGS to Makefile
(cherry picked from commit bcbbefbf9d)
2022-05-21 08:49:58 +00:00
Rémi Denis-Courmont 902c846bf9 deinterlace: use VLC_ALTIVEC
(cherry picked from commit 04cfde414e)
2022-05-21 08:49:58 +00:00
Rémi Denis-Courmont 4dca3df34e configure: remove unused ALTIVEC_CFLAGS
(cherry picked from commit 5b7b2ff842)
2022-05-21 08:49:58 +00:00
Rémi Denis-Courmont d9028ba460 configure: do not enable AltiVec in libvlccore
This was added ostensibly to fix compilation of the run-time AltiVec
test which was removed in bc146294cf.
Unfortunately, it causes the compiler to emit AltiVec instructions,
such that the executable crashes if AltiVec is not available.

Regression from e48d619555.

(cherry picked from commit 4af9c85184)
2022-05-21 08:49:58 +00:00
Hugo Beauzée-Luyssen 426513d88e On the road to 3.0.17.3 2022-03-11 13:15:32 +01:00
Hugo Beauzée-Luyssen c4ab31d5f0 On the road to 3.0.17.2 2022-03-08 11:36:39 +00:00
David Fuhrmann 2721173c27 configure.ac: Require at least srt 1.3.0
Recent commits use defines like SRT_LIVE_DEF_PLSIZE, which are
only available starting with that srt version.

(cherry picked from commit 80b149ddf9) (edited)
edited:
* 3.0 was restricting to < 1.3.0

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2022-02-17 13:46:14 +00:00
Jean-Baptiste Kempf 8ff7dd99bc 2022 is here
(cherry picked from commit f1603b6994)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2022-02-09 08:34:21 +01:00
Rémi Denis-Courmont 794d986264 configure: rectify minimum libdvdnav version
The current code base won't compile with 5.0.3 or less.
2022-01-15 16:22:32 +00:00
Hugo Beauzée-Luyssen 58770529c9 On the road to 3.0.17 2021-12-20 10:00:39 +01:00
Steve Lhomme 2c077f260e configure: fix VLC_COMPILE_BY/VLC_COMPILE_HOST empty by default
After 9e7ed0247d the test for the environment
variable wasn't done properly. Resulting in empty variables (and error messages
during configure).

Fixes #26165

(cherry picked from commit 0357c443e2) (rebased)

rebased:
- the 3.0 branch doesn't have [] around the variable names

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-10-11 13:06:26 +00:00
Vagrant Cascadian 84cf955482 configure.ac: Allow passing VLC_COMPILE_BY and VLC_COMPILE_HOST.
This allows passing a specific value instead of inheriting these
values from the build environment.

Fixes #26035

(cherry picked from commit 9e7ed0247d) (edited)

edited:
- the 3.0 branch doesn't have [] around the variable names

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-10-11 13:06:26 +00:00
Hugo Beauzée-Luyssen e43321ef93 On the road to 3.0.16 2021-06-16 10:24:18 +02:00
Hugo Beauzée-Luyssen e786f493f0 On the road to 3.0.15 2021-05-20 14:56:01 +02:00
Hugo Beauzée-Luyssen 0937dbb5c2 On the road to 3.0.14 2021-05-10 15:46:09 +02:00
Marvin Scholz fff5aa90bf package/macosx: Fix bundling without Growl framework
When the macOS notifications module was disabled due to lack of Growl
framework in contribs, this was not properly checked for in the package
Makefile, resulting in a failure due to the missing framework.
2021-04-23 23:27:00 +02:00
Jean-Baptiste Kempf 1991d6636f NEWS: update for 3.0.13 2021-04-10 17:41:55 +02:00
Rémi Denis-Courmont 3aad852a05 configure: ignore too new SRT
SRT does not maintain backward source compatibility. This breaks the
build on, e.g., Debian unstable.
2021-01-24 14:58:04 +02:00
Jean-Baptiste Kempf b1b98fafb5 Update configure Years 2021-01-18 17:40:39 +01:00
Steve Lhomme 429ff5cebd direct3d11: use a ID3D11Fence to tell when the rendering is done
This is a lot more accurate and wastes a lot less time than the Query approach.
The D3D11 Fence value is set when the GPU is done doing the previous
(rendering) commands. Then we can wait in the CPU for this event and return when
it's done. All decoder/filter commands seem to not have any impact so that's
really the signal we're looking for to tell the core we're done rendering.

This is only supported on newer mingw toolchains and only on Windows 10
Creators Update, which should cover pretty much all Win10 installed machines.

Better fixes #21600

(cherry picked from commit 61dbb36ebd) (edited)

edited:
- the release of resources is done in a more flat function
- this branch didn't use pointers for d3dev

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-01-18 09:49:45 +01:00
David Fuhrmann cc3acb1fd7 On the road to 3.0.12.1 2020-12-16 19:42:24 +01:00
Hugo Beauzée-Luyssen ed5d14181c On the road to 3.0.12 2020-12-14 12:29:43 +01:00
David Fuhrmann f233f85df7 macosx: Do not generate InfoPlist.strings anymore
(cherry picked from commit 468e864fb9)
(edited)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2020-12-07 12:12:22 +01:00
David Fuhrmann 7491c17662 configure.ac: Bump to version 3.0.11.1 2020-07-27 00:19:21 +02:00
Martin Storsjö 7fe9c1fce1 direct3d9: Disable OpenGL interop if OpenGL is unavailable
On Windows on ARM/ARM64, OpenGL isn't available. (For emulation
of i386 binaries, there is an opengl32.dll, but it's only the
fallback software renderer, nothing else. For ARM and ARM64, there
is no opengl32.dll.)

(cherry picked from commit 0d0aef05c1)
2020-06-20 22:26:29 +03:00
Martin Storsjö 220e11824f configure: Treat host_cpu = armv* as plain arm
This matches a change in contrib in 99acb87cc9.

(cherry picked from commit 4214cf058c)
2020-06-20 22:26:29 +03:00
Steve Lhomme fb59b22084 configure: check if if_nametoindex is available on Windows
It may link with iphlpapi but be forbidden in UWP.

This test relies on the fact that -Werror-implicit-function-declaration works
in the compiler. And that's why it's done after it's enabled.

It's only used for the --miface option to set the preferred multicast interface.

(cherry picked from commit 424e8991d3) (edited)

edited:
- if_nametoindex was already detected, so just moved the code after the
 -Werror-implicit-function-declaration test

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-19 08:11:42 +02:00
Steve Lhomme e55fba35b4 configure: link with synchronization library when building for win8+
That's what should be used when calling WaitOnAddress.
It's not part of the kernel32.dll anymore.

https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress

(cherry picked from commit 6cf8a7f899) (rebased)

rebased:
- the default windows version in this branch is XP, not Windows7

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-19 08:09:17 +02:00
Steve Lhomme 8370881185 configure: add an option to generate PDB files when building
This will only be enabled when building windows targets and will only work when
compiling with Clang.

(cherry picked from commit cb3e3498d8) (rebased)

rebased:
- the code around the added AM_CONDITIONAL is different in this branch

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-18 16:35:21 +02:00
Hugo Beauzée-Luyssen e2319a5a1a configure.ac: On the road to 3.0.11 2020-06-03 14:44:53 +02:00
Marvin Scholz 5a40648969 macosx: Add -fno-stack-check to workaround Xcode 11 issue
Compiling with Xcode 11 automatically enables the -fstack-check feature
which causes stack checking error due to unaligned stack which seem
to not be true. Lots of projects are affected by this currently
so hopefully this will be fixed in an Xcode update.

(cherry picked from commit 856ddd8d1a)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2020-04-21 15:49:19 +02:00
Hugo Beauzée-Luyssen ae4a0c353e On the road to 3.0.10 2020-04-21 11:57:16 +02:00
Martin Storsjö b17890b054 configure: Include windows.h before checking the _WIN32_WINNT version
The default value of _WIN32_WINNT isn't something that is built into
the compiler, but is defined by the toolchain headers.

Include windows.h after including ws2tcpip.h/winsock2.h, since those
headers should be included in that particular order.

(cherry picked from commit 22fed9624f)
2020-04-09 12:46:22 +03:00
Martin Storsjö b3afca2a50 configure: Check for if_nametoindex in iphlpapi.h
If the toolchain defaults to a newer version of windows, this
function is available there, but the previous configure checks
didn't notice it. Force testing with both compiling and linking,
as the function exists in import libraries, but only is visible
in headers since Vista.

On the master branch, the function was taken into use
unconditionally in c0bf5aeefc.
2020-04-09 00:56:54 +03:00
Martin Storsjö b8395c1b9d configure: Check the toolchain default _WIN32_WINNT in addition to a command line override
Since 255e2ce27, we try not to override _WIN32_WINNT in case it already
is defined on the command line to a higher value. However, if it isn't
specified on the command line, but the toolchain headers default to
a newer version, we should also honor it and keep that version instead
of forcing a lower version here. (If the toolchain defaults to a newer
version, runtime libs of the toolchain may rely on such a new version
anyway, so forcing a lower target within VLC might be useless.)

EDIT: Adapted to a different default version in the 3.0 branch.

(cherry picked from commit 0d65fe038a)
2020-04-09 00:56:54 +03:00
Martin Storsjö 1231bcfe6e configure: Make the new value of _WIN32_WINNT available to configure tests
Definitions from AH_TOP aren't included in the configure checks.

This was the original intent of e807c8e91.

This makes sure configure checks and actual compilation are run
with the same version defined.

EDIT: Adapted to a different default version in the 3.0 branch.

(cherry picked from commit 0a27328b5a)
2020-04-09 00:56:54 +03:00