* gnu/packages/jami.scm (jami) [native-inputs]: Replace git with git-minimal
and python with python-minimal.
Change-Id: I093d76f830743a156ad917342924ba11c7733ad2
The HTML doc contains 250 MiB of images, PDFs and even videos.
* gnu/packages/jami.scm (jami-docs) [#:phases] {build}: Remove html from
targets.
[#:install-plan]: Do not install html doc.
Change-Id: I1f16395e6c922c04c67c406216202c9898bf9511
This ensure it can always work on Wayland systems.
* gnu/packages/jami.scm (jami) [inputs]: Add qtwayland.
Change-Id: Id31565f93ed9a36feb0b4acfe6338e731ad5d6e7
The unittests were now failing to build with GCC 14 (see:
<https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/1144>).
* gnu/packages/patches/jami-unittests-fix-build.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (jami) [source]: Apply it.
Change-Id: I11eb97663bb28a4153b2459ea886658cf08b6129
* gnu/packages/glib.scm (sdbus-c++): Update to 2.0.0.
[arguments]<#:configure-flags>: Update to upstream names, prefixing with
"SDBUSCPP_" and changing "CODE_GEN" to "CODEGEN".
<#:phases>: Remove fix-elogind-requirement phase (no longer needed).
* gnu/packages/glib.scm (sdbus-c++-1.4.0): New variable.
* gnu/packages/jami.scm (libjami)[inputs]: Replace sdbus-c++ with
sdbus-c++-1.4.0.
Change-Id: Idb189f80212351cef6b5c8722982880bf5b51fe9
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
* gnu/packages/patches/libjami-libgit2-compatibility.patch: New file.
* gnu/packages/jami.scm (libjami)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
Change-Id: I6a87d47f9a0ec1663b7ad3459960e9aaaf4bf562
* gnu/packages/jami.scm (webrtc-audio-processing/jami): New variable.
(libjami)[inputs]: Use it.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: New file.
Change-Id: I51a25acd1b8d50e91869aef8ea1fadc862afe215
* gnu/packages/patches/jami-enable-testing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (jami) [source]: Apply it.
[phases] <check>: Use 'ctest' to run tests. Update comment explaining why the
QML test suite is disabled.
Change-Id: I5c9333a3b5064ecec9a2dd4fe13ae597d5354b7c
To avoid Guile module dependency cycles, inherited packages must be defined in
the same module. Use this opportunity to simplify the patches applying
mechanism, versioning custom patches the same as for other packages.
* gnu/packages/patches/ffmpeg-jami-change-RTCP-ratio.patch: New file.
* gnu/packages/patches/ffmpeg-jami-rtp_ext_abs_send_time.patch: Likewise.
* gnu/packages/patches/ffmpeg-jami-libopusdec-enable-FEC.patch: Likewise.
* gnu/packages/patches/ffmpeg-jami-libopusenc-enable-FEC.patch: Likewise.
* gnu/packages/patches/ffmpeg-jami-libopusenc-reload-packet-loss-at-encode.patch:
Likewise.
* gnu/packages/patches/ffmpeg-jami-remove-mjpeg-log.patch: Likewise.
* gnu/packages/patches/ffmpeg-jami-screen-sharing-x11-fix.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/jami.scm (jami-apply-custom-patches): Delete procedure.
(%ffmpeg-default-configure-flags): Delete variable.
(ffmpeg-compose-configure-flags): Delete procedure.
(ffmpeg-jami): Move to...
* gnu/packages/video.scm (ffmpeg-jami): ... here. Apply patches to origin and
repatriate configure flags.
Change-Id: Id374fae18240cd76b224915d80b61422635ccb77
This resolves a crash because of pjproject leaving too many sockets
opened ("Creating pipes for GWakeup: Too many open files").
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-2.20e00fc.
* gnu/packages/jami.scm (libjami) [outputs]: Add a "bin" output.
[arguments]: Add a move-jamid phase.
* gnu/services/telephony.scm
(jami-configuration->command-line-arguments): Refer to the "bin" output of
libjami.
(jami-shepherd-services): Likewise.
Because the substitute-keyword-arguments pattern was (#:configure-flags '())
rather than (#:configure-flags _ '()), the replacement was not triggered.
* gnu/packages/jami.scm (%ffmpeg-default-configure-flags): Comment that the
fnnvcodec-related options are left out.
(%ffmpeg-linux-x86-configure-flags): Delete variable.
(ffmpeg-compose-configure-flags): Streamline and use gexps.
(ffmpeg-jami) [arguments]: Fix configure-flags pattern, and adjust to use
gexps. Add the "--disable-static" and "--enable-shared" flags to produce
shared objects with the correct RUNPATH.
* gnu/packages/jami.scm (jami): Update to 20230206.0.
(%jami-version): Update version.
(%jami-sources): Adjust URI. Streamline snippet.
(jami-apply-custom-patches): Use a wildcard to match the top-level directory,
which now includes the version.
(%ffmpeg-default-configure-flags): Adjust URL in top comment.
* gnu/packages/patches/jami-libjami-headers-search.patch: Adjust file names
for new tarball layout.
* gnu/packages/patches/jami-sipaccount-segfault.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (%jami-sources): Apply it.
* gnu/packages/patches/jami-sip-contacts.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (%jami-sources): Apply it.
The hash was inadvertently changed in commit
071d4bdc80.
* gnu/packages/jami.scm (pjproject-jami) [source]: Revert hash.
Reported-by: Jack Hill <jackhill@jackhill.us>