Commit Graph

374 Commits (master)

Author SHA1 Message Date
Isaac Connor 7ba5476f95 Correct MQTT library addition to ZM_BIN_LIBS 2024-10-21 17:40:01 -04:00
Orion Poplawski defa38a829
Set ZM_RUNDIR to /run/zoneminder for EL/FC 2024-04-10 14:01:19 -06:00
Isaac Connor 649bceb240 Improve handling of ZM_DB_TYPE 2024-03-28 09:55:43 -04:00
Isaac Connor 6f467dd0d4 Revert "regexp: port to pcre2"
This reverts commit fd09feb5f4.
2024-03-04 09:54:18 -05:00
David Aguilar fd09feb5f4 regexp: port to pcre2
Update pcre usage to be compatible with pcre2.
2024-03-02 17:19:08 -08:00
David Aguilar a3e15b57d8 cmake: export compile_commands.json for use by development tools 2024-02-10 13:38:25 -08:00
Isaac Connor 0e58278461 Add auto-detection code to find ip and ifconfig 2023-09-29 12:07:30 -04:00
Isaac Connor 27744a9bc8 ADD ZM_PATH_IP and ZM_PATH_IFCONFIG 2023-09-28 13:31:57 -04:00
Isaac Connor cc773eae43 Add ZM_PATH_RM and ZM_PATH_UNAME to config. 2023-09-28 12:58:43 -04:00
Charlie Root da213d8532 Merge branch 'master' into openbsd 2023-09-11 13:42:43 -07:00
Isaac Connor ff24986d5c Rename version to version.txt because it conflicts with newer compilers 2023-06-09 16:41:56 -04:00
Isaac Connor 614aa71ef1 Remove check for librt. librt doesn't exist many places anymore and we don't actually use clock_gettime 2023-04-18 18:28:25 -04:00
Isaac Connor b1ed56fbec Add ZM_PATH_API setting 2023-03-24 10:39:34 -04:00
Isaac Connor a3e5a1a019 Set minimum gsoap to 2.8.91 which is the version in ubuntu focal. Hoping this disables failed build on bionic 2023-02-10 13:02:46 -05:00
Isaac Connor 237f8f40f5 Support older cmake for gsoap 2023-02-07 13:19:58 -05:00
Andrew Bauer 700c672cbd update ZM_TARGET_DISTRO description 2023-01-29 14:49:54 -06:00
Andrew Bauer 99a5e3b764 replace php Memcached with Apc on Fedora 2022-10-27 08:32:04 -05:00
Isaac Connor 7ab61ddce2 Use uppercase standardized names for MOSQUITTO and MOSTQUITTOPP 2022-08-26 09:37:37 -04:00
Isaac Connor 29750a56e7 Merge branch 'master' into add_mqtt 2022-08-25 18:37:54 -04:00
Doug Nazar cfa4cdc9a3 Use add_compile_options instead of add_compile_definitions
add_compile_definitions is not available until version 3.12.
2022-07-22 11:05:14 -04:00
Isaac Connor 95530a4f7d
Merge pull request #3529 from dougnazar/fix_printf_formats
Fix printf formats & enable large file support for 32-bit
2022-07-20 11:44:26 -07:00
Doug Nazar ca1cca2ff4 Add _FILE_OFFSET_BITS=64 define to enable large file support on 32-bit. 2022-07-16 03:20:20 -04:00
Doug Nazar 02a79f79f0 Add option to disable auto detection of systemd. 2022-07-16 03:12:27 -04:00
Isaac Connor dd1ee09994 Set C++ standard to 17 2022-07-14 17:48:12 -04:00
Isaac Connor bd501b38ca Include libavdevice so that we can use v4l2 inputs in ffmpeg monitor type. 2022-04-18 18:04:25 -04:00
Isaac Connor 81cdda7def Add Mosquitto and Mosquittopp library detection 2022-03-21 16:08:13 -04:00
Isaac Connor 133553e630 Revert "Merge pull request #3119 from Carbenium/fmt"
This reverts commit 90d930c7c3, reversing
changes made to 0bcb9d276f.
2022-02-27 14:05:14 -05:00
Isaac Connor 46c43ca508 Revert "Fix fmt=>Fmt and add it's libs to list of libraries to link to"
This reverts commit d5101ef32a.
2022-02-27 13:46:52 -05:00
Isaac Connor d5101ef32a Fix fmt=>Fmt and add it's libs to list of libraries to link to 2022-02-27 10:41:40 -05:00
Isaac Connor cad57df0bb
Merge branch 'master' into fmt 2022-02-26 13:56:20 -05:00
Isaac Connor d056f15e54 Add arp-scan to executable for use in network probing for cameras. 2022-02-07 12:32:16 -05:00
Jonathan Bennett ec9403fb6f Adds Amcrest On-camera Motion Detection 2022-01-25 22:38:00 -06:00
Jonathan Bennett 3a9c16aeea First working Janus build 2022-01-10 23:22:37 -06:00
Jonathan Bennett 1333d8c751 Adds ONVIF Motion Detection Support 2022-01-06 16:45:15 -06:00
Isaac Connor 67556430c6 Add option ZM_NO_PCRE to disable testing for libpcre3. debian wants to remove it so this allows us to test building without it. Remove libpcre3 from depends and set ZM_NO_PCRE=ON in debian build config 2021-11-24 12:44:07 -05:00
Isaac Connor a2ae63cefe
Merge branch 'master' into fmt 2021-11-16 15:10:45 -05:00
Peter Keresztes Schmidt 6e96cbe14a Misc: Merge ZM_HAS_V4L with ZM_HAS_V4L2 2021-09-08 00:19:08 +02:00
Peter Keresztes Schmidt c83882a4c7 Build: Move V4L2 detection into its own module
Improves detection across different platforms (esp. FreeBSD) since system paths are automatically taken into account (this is in contrast to check_include_file).
2021-09-08 00:18:24 +02:00
Andrew Bauer b59e911c43 Allow cakephp cache engine to be set during build 2021-06-18 12:12:01 -05:00
Peter Keresztes Schmidt 0d81199fc9 Build: Require at least FFmpeg 3.2 (libavutil 55.34.100) 2021-06-05 20:40:12 +02:00
Peter Keresztes Schmidt 5c96eedac8 Build: Remove dependency on libavdevice
We currently don't use the library so don't depend on it.
2021-06-05 15:08:38 +02:00
Peter Keresztes Schmidt 3d34e6f177 Build: Promote libswresample to a required dependency
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:27:42 +02:00
Peter Keresztes Schmidt 762476ec76 Build: Promote libswscale to a required dependency
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:27:31 +02:00
Peter Keresztes Schmidt a9ad5c5eee Build: Promote libavcodec to a required dependency
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:25:54 +02:00
Peter Keresztes Schmidt 7d15396833 Build: Promote libavformat to a required dependency
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:25:27 +02:00
Peter Keresztes Schmidt 1a6904a297 Build: Promote libavutil to a required dependency
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:21:41 +02:00
Peter Keresztes Schmidt 7d501a6585 Remove libavresample support
libavresample hasn't been maintained for a long time by FFmpeg since libswresample superseded it.
In 2018 it was officially deprecated [1].

Let's remove the support for it since there is no need to maintain this option further.

[1] https://patchwork.ffmpeg.org/project/ffmpeg/patch/20171225175335.18183-1-atomnuker@gmail.com/
2021-06-04 23:46:58 +02:00
Peter Keresztes Schmidt 32f139ef7f Build: Use FFmpeg package CMake module 2021-06-04 23:18:30 +02:00
Peter Keresztes Schmidt 7ec37405a6 Build: Don't include unused CheckStructHasMember module 2021-06-01 08:43:49 +02:00
Peter Keresztes Schmidt e724a93395 Build: Remove in-tree version of CheckPrototypeDefinition
We currently don't use the module and all supported CMake versions ship this module if needed.
2021-06-01 08:41:44 +02:00