Commit Graph

38 Commits

Author SHA1 Message Date
40dddee226 misc: update copyright to 2024
Change-Id: I829473d42b2b90f26ed2d93bbde063a21ce0952c
2024-01-02 17:26:29 -05:00
eab9863215 build: windows: add pywinmake and simplify winmake script
Building libjami should now be doable using:
- init   : git submodule update --init
- install: pip install extras/scripts/pywinmake
- contrib: python extras/scripts/winmake.py
- libjami: python extras/scripts/winmake.py --base-dir compat/msvc

NOTE: breaks libjami output location

TODO: fix plugin build

Change-Id: Ic6b25d00103f0ea68d8ab7954f8345f1648e0381
2023-11-02 11:51:44 -04:00
ad3be1650c misc: windows: remove UWP/store files and code
Change-Id: I4875e4d76f5da442eace0204052d536c65545d3f
2023-10-18 15:20:37 -04:00
5801ed2901 contrib: fix build for windows
Change-Id: I1a1b3e3c7dc809689d8b534868759590befecfd4
2023-08-25 16:09:54 -03:00
9769e002a3 plugins: use daemon as submodule of plugins
GitLab: https://git.jami.net/savoirfairelinux/jami-plugins/-/issues/38
Change-Id: I42b4f25460285a677a226671bf85e0c1039e7c37
2023-06-02 11:31:16 -03:00
aa1d8707c9 cmake: "libjami-daemon" -> "libjami" (used in other build systems)
Change-Id: I9ef704107897a0a057e7d43feeb24d5e2eb73679
2023-05-25 13:36:34 -04:00
4166137736 misc: Update copyright years to 2023
Change-Id: Ia80fc12ba65b1abd516af205e6664261ae2e33fe
2023-02-06 01:46:45 -05:00
6a27ca07a3 windows: fix build
Change-Id: Ic42d861235b21cf8ba94ead88dd7b0ae4ea8daa4
2023-01-13 09:33:54 -03:00
89d9f12524 build: add support for Visual Studio 2022
+ Auto select Toolset depending on the detected Visual Studio
+ Drops Visual Studio 15

Change-Id: I8fc7e849661b2bab7a62bb129021f06b89df244b
2022-12-15 10:16:29 -05:00
a204b71769 windows: update SDK required version to 10.0.18362.0
Change-Id: Ic3c0a52dce9ace78f8c3288c8326cc41da809fad
2022-12-06 09:07:33 -05:00
76226044f5 Revert "fileutils: migrate to boost::nowide"
Causes issues with yaml-cpp. Reverting temporarily until we fix the issue.

Change-Id: I2df0823554ad87880bc965bdff4f4707a6129789
2022-09-08 14:23:55 -04:00
05ff5b3bfe fileutils: migrate to boost::nowide
Change-Id: Iceae2a19ce3febce62f7916af8b4242e06a7e1d4
2022-09-08 13:13:13 -04:00
bdf7fb07df misc: fix winmake clean option
Change-Id: I50593324cef00af15f5a77d73e2b60eae7d8f63b
2022-08-02 14:46:19 -04:00
a990260c74 contrib(msc): fix Windows natpmp build
The natpmp CMake build has no installation specified, so currently
we use the root source directory which contains the header files as
an include path in the daemon build. This may cause issues as case
insensative header includes for the standard library <version> will
incorrectly load natpmp's 'VERSION' file.

This patch copies the project's headers to an include directory
post-build, and adjusts the daemon's include path.

Change-Id: I4b318fb0309c72b94f4ea4e757035780ee2a8a63
2022-08-01 15:28:52 -04:00
fa7fb8beb0 build: use ifdef instead of `if for various defines
Change-Id: I386bd1adddf403ff450e5d22688337b7d6d7c1f6
2022-06-22 23:14:41 -04:00
754ae6bfdb build: Rename PROGSHAREDIR to JAMI_DATADIR.
This name matches a common naming convention in build systems.

* compat/msvc/config.h (PROGSHAREDIR): Rename to...
(JAMI_DATADIR) ... this.
* globals.mk (-DJAMI_DATADIR): Likewise.
* meson.build (conf): Likewise.
* src/account.cpp: Likewise.
* src/manager.cpp (Manager::playRingtone): Likewise.

Change-Id: I123251f3e420948bc7359ce0a3ac54bddd12977a
2022-01-20 13:31:58 -05:00
5018565239 misc: update copyright date to 2022
Change-Id: I795e3f2f69c07349bf84c87dbcafb502dc8490f8
2022-01-05 16:21:58 -05:00
377bc4a2e0 dring: remove deprecated API
Change-Id: Ieb61181e437278e1975fadfa9908c0bc413b1add
2021-10-07 15:26:49 -04:00
53d0ae39d1 multi-stream: check peer's Daemon version
Check peer's Daemon version and ignore media change request
action from the client if the the peer does not support the
feature.
Also bump Daemon version to 10.0.2

Gitlab: #551

Change-Id: Ifd105d2fe2706b4667f5bafabcb3d91e771e7299
2021-06-11 12:33:51 -04:00
33b0634c95 winmake: use md5 digest of contrib src as build stamp
Replaces just the version as a stamp and will trigger rebuild of
the contrib and dependants when out of date.

Change-Id: I154557cbd5e4fdc8a9ccef39f3cdcdd6cdeb2535
2021-04-21 17:14:44 -04:00
569e9a2950 winmake: clean build output for contrib if dependencies rebuild
Change-Id: I3fbfbe055255948e003e69e76cdc34f483322ccc
2021-04-21 17:14:44 -04:00
c4e912dd89 dependencies: add libgit2 as a dependency
Needed by the swarm chat in the future

Change-Id: Ic5802a0de8091c12b6f5ed666ee488c620723149
2021-03-30 13:49:07 -04:00
29799dbadf contrib(win32): use WASAPI as the only PortAudio host api
The DirectSound host api implementation in PortAudio has multiple
issues:
- requires utf8 support patch
- can't enumerate the default communication devices
- reports incorrect default sample-rates for devices

The WASAPI host api implementation needs to be patched to access
the default comm devices, but functions better out-of-the-box.

Change-Id: Ie27ee3e1418dd6d734ad6ad7685f2dc44db86007
Gitlab: #463
2021-03-15 18:21:40 -04:00
854362a8c2 aec: add initial webrtc-audio-processing implementation
- Enables high-pass filter, AEC, AGC, NS.
- Disables system AEC for Windows

Gitlab: #464
Change-Id: Ife6261a815395263abeca482bb78ad2c90133db3
2021-03-15 17:19:39 -05:00
e787de4ea5 aec: move aec implementations into EchoCanceller
Hide speexdsp's echo cancellation implementation details behind an
EchoCanceller derived class. An AudioLayer may now instantiate
implementations of the EchoCanceller. This may be platform specific
compile-time or swapped out at runtime.

Introduces a null echo canceller for testing. As the speexdsp aec
is not currently functional, the null echo canceller is replaced
as the default implementation.

GitLab: #454
Change-Id: I169f1e9758afbed884fc42d9d78a69ce28d12fe2
2021-03-15 16:58:58 -04:00
5d0247d275 contrib: add webrtc-audio-processing @ v0.3.1
Change-Id: Ib7396b12f98947b25bc96605381cbc29594aa1b7
2021-03-15 16:58:37 -04:00
cf958233a6 scripts: fix the cmake configure section in winmake.py
- adds a missing space in the configure command line
- removes some python3 warnings

Change-Id: I79458a408a6f3198cb329072abf530ed8f23986a
2021-03-10 16:05:15 -05:00
31fa5f12c3 misc: update copyright date
Change-Id: Ib53fa87efdbbbc6b7561e3b37f27d7a8d51af163
2021-01-25 12:14:41 -05:00
d2ae07d329 plugins: integration with Jami Plugins SDK
Change-Id: I2712856e0658bf5c1961f727f6233e9e79a34e76
2020-11-10 15:15:40 -05:00
7c67b87102 misc: better parameterization for toolset version
Change-Id: Iedb6600c6c17bf35aa0a4551caf4bb5050c8e801
2020-10-21 12:08:23 -04:00
0350064a32 contrib(win32): bump opendht and openssl build
- Uses 1.1.1 stable branch of https://github.com/openssl/openssl
  instead of https://github.com/microsoft/openssl. Note that this
  build will not pass app certification for the Windows store.
- bumps opendht to support the new OpenSSL build and removes some
  unused linkage
- adds a 'use_cmake' key to the package.json windows contrib
  build system
- allows us to shave about 4.5 min off openssl build time by
  defining MAKE_TOOL to jom.exe to override nmake
- adds /FS to force synchronous PDB writes

Change-Id: Idd06a0805b45fa19551c15d1859cbccca49e6bb6
2020-10-21 10:04:11 -04:00
06a885c016 plugin: jenkins windows build
Change-Id: Ib33fe907719910e37060100ad9db1963b6affa1a
2020-09-29 15:04:18 -04:00
fd4fb6d261 misc: use v142 toolset by default on windows
Change-Id: I92c950fed8ca8258e00749d8cc6df85fd2c83ad0
Gitlab: #581
2020-08-14 12:38:19 -04:00
03ed99103d plugin: libarchive and plugins as default for linux
fix preferences set in first plugin loading
small logic changes in libraries loading
related to: https://review.jami.net/c/ring-project/+/14433

Change-Id: I4730f279ee38d337e3ef94dd9562a5dfc1a63c32
2020-06-05 10:17:10 -04:00
f1ff4c3e11 archiver: add libarchive
Change-Id: I2ff7d879de55e18bedcbddce74f743ffe8755ca6
2020-05-26 11:04:10 -04:00
3b1f043633 audiolayer: use Speex AEC
Change-Id: Ieb36dc5b97e8a451160b59079353c82f07d049be
2020-03-25 23:44:59 -04:00
acf6973b47 scripts; add cmake make_system_version option to define windows sdk version
Change-Id: I0a148e07d4a252715f1f2ffdf71feb92e2bfba44
2020-02-26 11:04:36 -05:00
4c5bf01207 msvc: move MSVC to compat folder and ignore cmake generated files
Change-Id: I5d1d0ac43221264a6cd756894dde07648382f6c3
2020-02-12 16:36:53 -05:00