Commit Graph

851 Commits

Author SHA1 Message Date
Martin Pulec
b388cf3617 configure.ac: add_column - use "${?}"
enclose in quotation marks and use ${?} syntax to get more predictable
results - avoid/handle multi words + ensure it is defined
2026-01-23 15:45:35 +01:00
Martin Pulec
785b66f452 configure.ac: removed bashism (seq) 2026-01-23 15:45:29 +01:00
Martin Pulec
3c294732d3 configure.ac: do not use subshels for summary gen 2026-01-23 15:38:33 +01:00
Martin Pulec
2ee508522b configure: screen: if Linux&req=yes, require x11+PW
If --enable-screen is used in Linux without specifying explicitly
x11 or pipewire, require both. The user may need to have the PipeWire
implementation and end up with X11 or vice versa.

Also fix the check for implementation - checked X11 only if
--enable-screen=x11 (without PW) and vice versa for Pipewire.  But not
eg. --enable-screen=x11,pipewire.
2026-01-20 10:02:30 +01:00
Martin Pulec
a9d4bb471f add screen capture with AV Foundation
Also changed configure.ac so that Pipewire screen cap requirements
are checked only in Linux (in other platform currently perhaps not
expected the use of Pipewire screen capture).
2026-01-20 10:02:29 +01:00
Martin Pulec
415ca23405 configure.ac: switch from Darwin vers. to macOS
The actual Darwin version was actually matched to corresponding macOS
version so use those directly.
2026-01-20 10:02:29 +01:00
Martin Pulec
f9fad513c7 configure.ac: document CUDACXX env var
just as an alternative to CUDA_PATH for now
2026-01-20 10:02:27 +01:00
Martin Pulec
650cfec2b1 NDI v5 compat
honor the USE_NDI_VERSION

+ notice how to set this to configure.ac
2026-01-20 10:01:31 +01:00
Martin Pulec
87789be182 fix @^^: missing test 2026-01-19 12:21:02 +01:00
Martin Pulec
ea93cbe022 configure.ac: accept also CUDACXX for nvcc
Primarily used by CMake but if no nvcc was found, we can try this as well.
2026-01-15 13:23:11 +01:00
Martin Pulec
6c83b6de8a configure.ac: honor default DELTA install in Win
+ fix $DELTACAST_DIRECTORY not being honored in Windows since @^2
2026-01-15 10:58:03 +01:00
Martin Pulec
11d52756ff configure: fix current Delta Linux paths
preset also DELTACAST_PATH to /usr to allow build with VideoMaster distro pkg
2026-01-14 16:43:34 +01:00
Martin Pulec
247a594f47 configure.ac: fix avfoundation + ensure
AV Foundation was never enabled due to a error in configure

broken since f1745fba (2025-05-23)
2025-12-04 14:37:37 +01:00
Martin Pulec
15a905676c lavc cuda conv: disable by default + note
The actual implementation has not been merged as for now, so disable
the stub by default in configure.ac.

Also add a notice suggesting the removal.
2025-11-21 11:57:58 +01:00
Martin Piatka
87049aab63 Add AES67 capture 2025-11-18 11:09:18 +01:00
Martin Piatka
9c4df61c8d utils: Add SDP parser 2025-11-18 11:09:18 +01:00
Martin Pulec
7cc5726470 UltraGrid 1.10 2025-11-14 16:30:31 +01:00
Martin Pulec
a7322bdd5e configure: fix adding DELTA_INC
:+ instead of :- (if not empty, actually appended _without_ the space)

commit 3f9fe348 (2025-10-23)
2025-10-29 16:32:00 +01:00
Martin Pulec
3f9fe348bd configure: delta: new SDK (6.3X inc path)
VideoMaster 6.30 and above has slightly different include path so in addition
to the original add the new -I path.
2025-10-23 10:00:26 +02:00
Martin Pulec
da5c166935 CI Windows: updated Spout build
the CMakeList.txt in upstream changed build location

+ print missing items in configure.ac
2025-10-20 11:41:56 +02:00
Martin Pulec
41d3e1902f configure.ac: if file not foud, print missing lib 2025-10-08 15:47:31 +02:00
Martin Pulec
a8683ee701 configure.ac: fix SDL_ttf not present
Recent changes enforce #SDL_TTF_LIBS to be set but it isn't when the
SDL TTF library is not found with pkgconf.
2025-10-01 14:07:48 +02:00
Martin Pulec
a5067c367b configure.ac: wrong variables used for file check 2025-10-01 11:18:54 +02:00
Martin Pulec
4715de7aef configure.ac: replace some unescaped [] occurences
[ and ] are m4 tokens, to pass the braces literally to the output @<:@ and @:>@
2025-09-29 14:52:16 +02:00
Martin Pulec
5de91b212f configure: testcard-extras - move to testcard2
The sdl_mixer audio capture has gone and there remains just TTF, which
can be considered as an optional feature for testcard2.
2025-09-29 14:44:28 +02:00
Martin Pulec
ffaeadb737 add vcf/noise
Similar idea as "noise" in testcard2 (to add entropy for compression
testing when using artificial source).
2025-09-17 10:44:44 +02:00
Martin Pulec
14e6920417 configure.ac: add -ldl as JACK lib
dlopen + family is used so ensure that -ldl is used

this fixes currently failing ARM CI builds
2025-09-05 14:27:32 +02:00
Martin Pulec
e2941ccbab configure.ac: test fix
not sure why `if [ test $4 ... ]` worked... (excess [], which are possibly
consumed/erased by m4)

- check that $4 is set and avoid splitting on spaces (should not happen)
- use -eq instaead of = (should be 0 or 1)
2025-09-05 11:40:00 +02:00
Martin Pulec
193c8d5ab1 minor fixes
- coverity-scan.yml: typo
- configure.ac: misleading message if SDL not found -> do not mention
version at all, it was perhaps meant "didn't found any version" but it
might have also been that did't found specified version...
- configure.ac: removed sdl_mixer from summary
2025-09-04 10:40:22 +02:00
Martin Pulec
2169772063 remove sdl_mixer
should be replaced altogether with fluidsynth - add alias there

+ removed typo in fluidsynth pkg name  ARM CI bootstrap.sh
2025-09-01 10:22:18 +02:00
Martin Pulec
6503b92f15 configure: do not prefer SDL2 over SDL3
Unpin SDL version 2 - SDL 3 can be now considered idempotent.

Issues mentioned in sdl3:
- sdl_mixer -> replaced with fluidsynth
- Vulkan issues - Vulkan is currently (SDL 3.20) not implicit in either
of platforms; if so, trigger a warning. Also it is unavailable in SDL2.
- p010 corruption in Direct3D 11 or 12 - there is already a workaround
to disable
2025-08-27 12:13:08 +02:00
Martin Pulec
9a738c906c add acap/fluidsynth
To replace sdl3_mixer that does no longer support MIDI playback, thus
unusable for our use case.

- song1 needs to be static included potentially from 2 compilation units -
this and sdl_mixer
2025-08-27 09:00:19 +02:00
Martin Piatka
505e136382 configure.ac: Fix --disable-gpujpeg_to_dxt option in help text 2025-08-18 10:03:18 +02:00
Martin Pulec
2b3ae39a4f support for symbolic trace with libbacktrace
Linux (+ eventaully macOS)
2025-08-13 12:44:05 +02:00
Martin Pulec
38da0cd4bf configure: avoid excess spaces
While the construction ${var+ $var} works if var is not defined, it will
produce extra space if var is empty. Added ':' to '+' to avoid this.
2025-08-12 12:24:59 +02:00
Martin Pulec
cc2e7103b1 configure.ac: generate debug symbols for Win
<https://stackoverflow.com/questions/74416539/clang-14-does-not-generate-pdb-file>

Set it only when linking, not for configure.
2025-08-12 12:24:59 +02:00
Martin Pulec
3a940a5868 configure.ac: fix unbound GL vars 2025-08-12 12:24:59 +02:00
Martin Pulec
dc9f09f3bd configure.ac: accept also cygwin as Windows
The variable #MSYSTEM_CHOST is taken as the base (/etc/config.site) and
contains now in MSYS x86_64-pc-cygwin resulting in $host_os=cygwin. Not
sure where the variable is defined, anyways...
2025-08-11 16:12:37 +02:00
Martin Pulec
4979b8c22a add vo_pp/temporal_3d
refers to GH-440
2025-08-11 11:37:38 +02:00
Martin Pulec
6a91cf000e add vo_cf/temporal_3d 2025-08-07 08:57:48 +02:00
Martin Pulec
39d76ee4be configure: refuse sdl3_mixer
SDL_mixer 3.0 rwmoved support for native MIDI [1], which was the reason it
was used for so refuse that.

Note that at this this moment, the latest released SDL_mixer version is
2.8.1, anyways. But it can be installed from Git.

[1]: https://wiki.libsdl.org/SDL3_mixer/README-migration
2025-08-05 10:14:21 +02:00
Martin Pulec
f7a1504916 vulkan: locate shaders in srcdir
If running from inside out-of-tree build, the shaders were not located -
now look them up in srcdir (if the the formerly looked shader directory
doesn't exist).
2025-06-24 16:45:20 +02:00
Martin Pulec
b899dbeec7 configure.ac: replace numeric expr with test
the operator <= actually did just lexicographic compare for number eg
2.1 - compare just major version now
2025-05-30 15:23:20 +02:00
Martin Pulec
2634e6379c configure.ac: compat with expr not accepting --
eg. busybox v1.37.0 expr doesn't support -- allthough it is required [1]

prefix args 'x', which should be equivalent for opeartor :

improves commit b2932247 (22th May 2025)

[1]: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/expr.html
2025-05-30 15:12:36 +02:00
Martin Pulec
4d4cd93546 build: -D_GNU_SOURCE for Linux only
This improves the commit f8b54ea9 from 2013 - currently _GNU_SOURCE is
required eg. for pthread_setname_np. Intantionally used not only with
glibc but also with musl - if not defined pthread_setname_np is not
defined.

+ add COMMON_FLAGS also to CPPFLAGS (doesn't matter much but better)
2025-05-30 14:25:36 +02:00
Martin Pulec
f1745fba65 configure.ac: improvements
fix all occurances of:
- test -a/-o
some occurences (where line affected by the above)
- enclose vars in ""
- ensure that var is defined ${...?}
2025-05-30 08:10:34 +02:00
Martin Pulec
b1951bb823 GLEW: do not required GLU
not avail on OpenBSD
2025-05-30 08:10:34 +02:00
Martin Pulec
dbfe8362a7 configure.ac: don't req X11 hdrsfor GL disp [Lin]
Separate OPENGL and OPENGL_COMMON - for Mac and Win the same but in Linux,
the first one doesn't require X11 headers, just GLEW.
2025-05-30 08:10:34 +02:00
Martin Pulec
2f63416075 support for OGL on non-Linux *nix
+ replace discouraged test -a syntax with test && test
2025-05-30 08:10:33 +02:00
Martin Pulec
cb5b9952c7 configure.ac: handle Linux for DeckLink explicitly
Although it would compile for *BSD systems, Blackmagic doesn't release
drivers, anyways. Also -ldl isn't available in OpenBSD.
2025-05-30 08:10:33 +02:00