1106 Commits

Author SHA1 Message Date
33400db731 build: add option to ignore system libs detection
Change-Id: Ib2ee7c69a9105ae33a816bd19c7fcbdb0b58fd32
2025-08-01 15:47:14 -04:00
5d99b9c5fc contrib: hide FFmpeg symbols
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1944

Change-Id: Ic85446b5b14dd93d74896245b3a02375d5641bfc
2025-08-01 15:39:20 -04:00
8111dd56ba contrib: set CMAKE_SYSTEM_PROCESSOR on Darwin
Change-Id: I51ccb462103a30d557830d31c5075f73d393ed97
2025-08-01 15:10:27 -04:00
3fa3f7bad9 update sdbus-cpp to 2.1.0 and adjust daemon for breaking changes
Change-Id: I94835a8edead6e9a3b22a5a47b8605afc7bad286
2025-08-01 11:44:58 -04:00
0920927895 Revert "update sdbus-cpp to 2.1.0 and adjust daemon for breaking changes"
This reverts commit 4a99991086.

Reason for revert: temporary revert since this breaks the build on most distros that we currently support, including Ubuntu 24.04, and sdbus-cpp 2.0 is not backward compatible with older systemd versions.

GitLab: #1141
Change-Id: I3d50c0a433bd63d7dc76a2659258cf9e38bbbc29
2025-08-01 11:21:31 -04:00
dcbaf46973 portaudio: bump to latest version
Bump to 9abe5fe7db729280080a0bbc1397a528cd3ce658, this adds numerous
fix, mainly to wasapi.

GitLab: #1962
Change-Id: I0112e391e378b3273bfb5e168bfbe55be3272277
2025-07-31 13:19:53 -04:00
123fd551a4 contrib: fix gmp build with GCC 15
GCC 15 defaults to -std=gnu23, which breaks the configure checks (see:
<https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html>).

Change-Id: I9cffd29cd74319f55dadb121b362a2460a4730e5
2025-07-22 15:46:31 -04:00
4a99991086 update sdbus-cpp to 2.1.0 and adjust daemon for breaking changes
The daemon sources were adjusted via the ChatGPT-provided sed snippet:

find . -name '*.cpp' -o -name '*.hpp' | while read -r file; do
  sed -i \
    -e 's/\(AdaptorInterfaces([^,]*,\) *"\([^"]*\)"/\1 sdbus::ObjectPath("\2")/' \
    -e 's/\(createSessionBusConnection(\) *"\([^"]*\)"/\1 sdbus::ServiceName("\2")/' \
    -e 's/\(createSystemBusConnection(\) *"\([^"]*\)"/\1 sdbus::ServiceName("\2")/' \
    "$file"
done

Fixes: #1141
Change-Id: I9d7b75814c66cdd8a12432c349f5df7b3e6796cd
2025-07-22 15:35:28 -04:00
2dc79812a7 contrib: fix upnp build hang
Fixes: #1142
Change-Id: I4102f03b8da69ea6472a69b641899aaf9f7d51a4
2025-07-22 15:21:59 -04:00
d4e62c305a contrib: fix --cache-dir to specify tarballs directory
f76aba52e9 introduced a regression where CONF_TARBALLS was no longer
set to the value provided to --cache-dir.

Change-Id: I16cb8da6bb3d0a65d33a272d6ca24f79cca36de6
2025-07-21 08:56:41 -04:00
bf91fe2b61 contrib: update asio
Change-Id: I11902ccad42001763d0f3fcab252e1d764b27c53
2025-07-18 09:46:33 -04:00
41384122a8 contrib: update dhtnet
Change-Id: I699955671953b68bf37c01697232cb9010066b33
2025-06-05 14:36:11 -04:00
1597de891c contrib: update opendht
Change-Id: Id1106c9f924d95a43517def70e74e0b57ac30720
2025-05-22 15:56:11 -04:00
c231df3e05 contrib: download gmp from GNU
Change-Id: Ia4f417fbf0ee17d9e378e7dedeae6d8da8605cdc
2025-05-08 15:32:31 -04:00
4662710e5a contrib: update dhtnet
Change-Id: Id2ff4b719131139925889fec7a803be7851a16eb
2025-04-23 16:36:25 -04:00
00d757a24c contrib: update opendht
GitLab: #1123
Change-Id: I4d72e89adc4ab946b3a058d3523179554d13ffcf
2025-04-18 12:18:05 -04:00
c210225d73 contrib: get ffnvcodec from GitHub
We already do this on Windows, but the Linux build has failed at least
two or three times in CI in the past year due to git.videolan.org being
temporarily unavailable.

Change-Id: I78bb1d147ee469d188789ee5268e219d811108e2
2025-04-16 13:26:12 -04:00
8a28f27702 Windows-build: improve handling failures in gnutls build-steps
Change-Id: I765959e1ac73ca8d0315d1ee85b18cbb0b4cf92b
2025-04-16 11:51:25 -04:00
0e60561d77 contrib: always depend on toolchain.cmake when using cmake
Change-Id: I99f4194635d6a2cf26a4cef58880c947817d6909
2025-04-10 19:25:12 -04:00
79b8f3a085 contrib: update libarchive
Gitlab: #1122
Change-Id: I9d0aca488b52744c4b089c000f17a70d334eb54b
2025-04-09 13:53:16 -04:00
4d46e99e29 contrib: update jsoncpp
Gitlab: #1122
Change-Id: Ia80eb6f1b90c663419a6cbe25f416afee742e3c3
2025-04-09 13:53:16 -04:00
68fe75b1d3 contrib: update yaml-cpp
Gitlab: #1122
Change-Id: I2a03716fd9d493d41dd0ec8f87759a0d2fb2de5d
2025-04-09 13:53:16 -04:00
81a48595ef contrib: update llhttp
Gitlab: #1122
Change-Id: I31d290cd8ebf623a2aa91a6c279d6637952135ce
2025-04-09 13:53:16 -04:00
2b090f88d8 contrib: update msgpack
Gitlab: #1122
Change-Id: I1173ddbb2d9b5625a759dcbb0d6449c1d88efc63
2025-04-09 13:53:16 -04:00
13dcc658f0 contrib: update opendht
Gitlab: #1122
Change-Id: Ib0332c86e310aea03f5ea31d89e6ab932a8d741c
2025-04-09 13:53:16 -04:00
0dbdbd34c9 contrib: update opus
Gitlab: #1122
Change-Id: I5c7d0c74b2eb07ecf537451a8052b8907b99d0fb
2025-04-09 13:53:16 -04:00
e7f8f9926c contrib: update restinio
Gitlab: #1122
Change-Id: I0d09d8733e427843e34963b0c911c5109b0bb0ec
2025-04-09 13:53:16 -04:00
42c62ecc22 contrib: update required opendht version to 3.3
Change-Id: Ide2ef47acda8c423bfa14355e42ecdb3afbb7c36
2025-04-09 13:53:16 -04:00
3f45561abf build: use _FILE_OFFSET_BITS=64
Allows to use 64 bits file APIs on 32 bits POSIX systems.

Gitlab: #1122
Change-Id: Ie9ec07c7027b09ada8daf49c5bf3663dd9ff939d
2025-04-09 10:02:14 -04:00
12f603f7d9 contrib: always use CMAKE_BUILD_SHARED_LIBS=OFF
Change-Id: I72d6d80ef3dea7a868acb4fea0f65ff6882e743c
2025-04-09 10:02:06 -04:00
279d6515ea contrib: don't build opendht documentation
The CMake option to build OpenDHT's documentation was already disabled
on Linux but not on Windows.

Change-Id: I66b29e68cc64596ca3066122c27facd871620d05
2025-03-30 17:42:04 -04:00
fc3402940f contrib: update dhtnet on Windows
Follow-up to commit 0838e6a.

Change-Id: I26194ca4b404edc3b96f0e15df48e0dd49f320aa
2025-03-21 11:15:18 -04:00
0838e6a973 contrib: update dhtnet
Change-Id: I6c65054f8741d05aac5bd4dcd3357122e6b9e450
2025-03-19 16:18:55 -04:00
1b155312ea contrib: fix mkdir permissions on Windows for gnutls
This effectively restores a previously removed patch, thought to
be unnecessary (removed in cbba52ef when bumping gnutls). The issue
is fixed in a later version of gnutls, which opendht is not yet
ready to use.

Change-Id: I6d07028f7c5f95803776d1413c7e6a8411902fef
2025-03-12 15:13:40 -04:00
8b5fd05239 build: support iOS arm64 simulator
- disable vpx for arm64 simulator

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/422
Change-Id: I5369dc6ce8e666dc03a5993a05f38d7a74556d4b
2025-03-07 14:27:53 -05:00
597cde8d30 contrib: fix gnutls build errors
This patch partially reverts GnuTLS commit 516f48bfbf33d111e4fcd310541baa8f160067ae, which prevents the daemon from building on some old Linux distributions due to increasing the minimum required version of autoconf from 2.64 to 2.71.

The patch also removes the AM_GNU_GETTEXT macros from the configure.ac file. When these macros are present, autoreconf calls autopoint, which overwrites some m4 files in the GnuTLS repository with the version found on the system. This causes the Ubuntu 20.04 and snap builds to fail with "possibly undefined macro" errors.

GitLab: #1111
Change-Id: I45b8225bff148b3cf01aa2ce14adc639de823a8f
2025-03-06 09:05:01 -05:00
8eb66bf80c update dhtnet
Change-Id: I02a995e93c23c2f602295c9c38080f196397e896
2025-02-28 13:35:11 -05:00
4fb5f8e558 contrib: bump pjproject
This upgrades the upstream version of PJPROJECT used from 2.13.1 to
2.15.1.

Change-Id: Ica6a94e7010a41839a57afc226f3c48e9e72f897
2025-02-27 16:37:47 -05:00
c3f07d730d iOS: enable nat-pmp
This patch enables nat-pmp for iOS and macOS and
fixes build for iOS by removing USE_SYSCTL_NET_ROUTE,
which requires net/route.h that is not available
on iOS.

Change-Id: I7342f65a85ecbc0d7f291c981cc78ded2e741e58
2025-02-26 10:30:25 -05:00
4aff5e977c contrib: Windows: bump openssl to 3.4.0
Gitlab: #1108
Change-Id: Ib11ddad75a421816c1a954d96c051aff4ea0d6b9
2025-02-25 11:26:02 -05:00
cbba52ef01 contrib: Windows: update gmp, gnutls, nettle
- Update gmp to 6.2.1-4
- Update gnutls to 3.8.3
- Update nettle to 3.10.0

Gitlab: #1108
Change-Id: Ia7686a94eeaef7242b6570a186700f6d301ffe6c
2025-02-25 11:25:56 -05:00
bd63d69bb0 opendht: log push notification handling result
Change-Id: I6d88519a637c876848407b1e7b59e746b895c185
2025-02-21 11:23:42 -05:00
876085f886 contrib: update gnutls, nettle
Change-Id: Iab18b291176441a9fbf901e36d5bc5e1c8e341a0
2025-02-21 10:32:35 -05:00
62ab5d057a android: enable using nat-pmp
Change-Id: I08c68d10513dc6267571d8bc466df1763191f6b8
2025-02-18 15:32:21 -05:00
70a9c0b8a8 contrib: update opendht, disable io_uring
Change-Id: I67ab26f9fe3d4afcb682e60db25c97b1f07ebb5e
2025-01-20 13:49:22 -05:00
556650c9af contrib: bump dhtnet
This should fix the following issue:
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1898

Change-Id: I508e02b7fd1870228801dc7f773ff586f439c4ed
2025-01-17 13:12:58 -05:00
b85165ae1a copyright: happy new year!
Change-Id: I2753c58c12d167ee5f7454e5a2ed893991c90e24
2025-01-08 11:02:33 -05:00
75e84842bf contrib: update dhtnet
Change-Id: If64326796b5fb678994fe734aabfd57067b7bacb
2024-12-16 14:22:05 -05:00
a091a4bc56 contribs: fix gnutls build for windows
Change-Id: I74a713c610d4705dc573ced052fef2dd79a6b0f8
2024-12-12 11:34:11 -05:00
3ab6be5572 build: do not use system-provided sha512sum on macOS
This patch prevents macOS from using its system-provided sha512sum
to ensure consistent compatibility with other platforms.

Change-Id: Ie239cc14b9b0e17c486f5a3d4d55e6f26af32b0a
2024-12-02 10:22:28 -05:00