summaryrefslogtreecommitdiff
path: root/gnu/packages/jami.scm
AgeCommit message (Collapse)Author
2022-11-12gnu: jami: Enable unit tests.Maxim Cournoyer
* gnu/packages/patches/jami-fix-qml-imports.patch: New file. * gnu/packages/patches/jami-fix-unit-tests-build.patch: Likewise. * gnu/packages/patches/jami-libjami-headers-search.patch: Likewise. * gnu/packages/patches/jami-sip-unregister.patch: Likewise. * gnu/packages/patches/jami-xcb-link.patch: Likewise. * gnu/local.mk: Register them. * gnu/packages/jami.scm (%jami-sources): Apply new patches. (jami) [tests?]: Delete argument to run tests. [configure-flags]: Remove TESTS? argument. Enable tests with -DENABLE_TESTS=ON. Remove -DLIBJAMI_INCLUDE_DIR. [phases] {check}: New phase override. [native-inputs]: Add settings-desktop-schemas. [inputs]: Add glib and libxcb.
2022-11-11gnu: jami: Update to 20221031.1308.130cc26.Maxim Cournoyer
* gnu/packages/jami.scm (libjami, jami): Update to 20221031.1308.130cc26. (%jami-sources): Remove jami-fix-crash-on-block-contact patch. Add jami-disable-integration-tests and jami-no-webengine patches. (pjproject-jami): Update to 2.12-1.513a3f1. (ffmpeg-jami): Replace libvpx with libvpx-next. Replace libx264 with libx264-next. (libjami): Update comment with upstream issue URL. [tests?]: Remove argument, enabling test suite. [configure-flags]: Remove "--disable-static". [phases] {delete-static-libraries}: New phase. (jami) [tests?]: Update comment. [configure-flags]: Remove "-DLIBJAMI_XML_INTERFACES_DIR=" flag. [phases] {patch-source}: Delete phase. * gnu/packages/patches/jami-fix-crash-on-block-contact.patch: Delete patch. * gnu/packages/patches/jami-disable-integration-tests.patch: New file. * gnu/packages/patches/jami-no-webengine.patch: New file. * gnu/local.mk (dist_patch_DATA): Update accordingly.
2022-11-08gnu: pjproject-jami: Restore hash.Maxim Cournoyer
The hash was inadvertently changed in commit 071d4bdc80cbf6b3a5c1232f0d704878431a864f. * gnu/packages/jami.scm (pjproject-jami) [source]: Revert hash. Reported-by: Jack Hill <jackhill@jackhill.us>
2022-11-06gnu: Add jami-docs.Maxim Cournoyer
* gnu/packages/jami.scm (jami-docs): New variable.
2022-11-06gnu: ccache: Update to 4.7.2.Maxim Cournoyer
* gnu/packages/ccache.scm (ccache): Update to 4.7.2. Move inputs fields after arguments field. [native-inputs]: Add ruby-asciidoctor to generate man page.
2022-09-23gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.Maxim Cournoyer
* gnu/packages/jami.scm (ffmpeg-jami): Update to 5.0.1. [tests?]: Delete argument. [phases]{disable-problematic-tests}: New phase.
2022-09-23gnu: pjproject-jami: Update to 2.12-0.5e478bb.Maxim Cournoyer
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-0.5e478bb.
2022-09-23gnu: jami: Update to 20220825.0828.c10f01f.Maxim Cournoyer
* gnu/packages/jami.scm (jami): Update to 20220825.0828.c10f01f. (%jami-version): Set to latest release. (%jami-sources): Remove jami-fix-esc-bug.patch; add jami-fix-crash-on-block-contact.patch. * gnu/packages/patches/jami-fix-esc-bug.patch: Delete file. * gnu/packages/patches/jami-fix-crash-on-block-contact.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-07-31gnu: jami: Apply upstream patch that fixes a usability issue.Maxim Cournoyer
* gnu/packages/patches/jami-fix-esc-bug.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/jami.scm (%jami-sources): Apply it.
2022-07-31gnu: jami: Update to 20220726.1515.da8d1da.Maxim Cournoyer
* gnu/packages/jami.scm (jami): Update to 20220726.1515.da8d1da. [configure-flags]: New argument. [phases]{fix-version-string}: Adjust file name. {use-desktop-opengl}: Delete obsolete phase. {patch-source}: New phase. [native-inputs]: Add googletest and vulkan-headers. Replace qttools-5 with qttools. [inputs]: Add libxkbcommon, qt5compat, qtnetworkauth, qtpositioning and vulkan-loader. Remove qtwebengine-5, qtwebchannel-5, qtgraphicaleffects, qtquickcontrols-5 and qtquickcontrols2-5. Update qtsvg-5, qtmultimedia-5 and qtdeclarative-5 to their Qt 6 equivalent.
2022-07-31gnu: Deprecate jami-gnome for jami.Maxim Cournoyer
* gnu/packages/jami.scm (jami-gnome): Delete package, deprecating it for jami.
2022-07-31gnu: Remove jami-libclient.Maxim Cournoyer
* gnu/packages/jami.scm (jami-libclient): Delete variable. (libringclient): Likewise. (jami-gnome)[inputs]: Remove jami-libclient. (jami)[inputs]: Likewise.
2022-07-31gnu: libjami: Enable test agent.Maxim Cournoyer
* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-agent' and remove FIXME. [tests?]: Update comment.
2022-07-31gnu: libjami: Update to 20220726.1515.da8d1da.Maxim Cournoyer
* gnu/packages/patches/jami-fix-crash-on-quit.patch: Delete file. * gnu/packages/patches/jami-images-loading.patch: Likewise. * gnu/packages/patches/jami-libclient-audio-managers.patch: Likewise. * gnu/packages/patches/jami-memory-usage.patch: Likewise. * gnu/local.mk (dist_patch_DATA): De-register removed patches. * gnu/packages/jami.scm (%jami-version): Update to 20220726.1515.da8d1da. (libjami)[configure-flags]: Add '--disable-static'. (jami-apply-custom-patches): Adjust for top directory renaming. (%ffmpeg-default-configure-flags): Add muxer support for g726 and g726le. Add demuxer support for g723_1, g726 and g726le. Add encoder/decoder support for g726, g726le and g723_1. Add decoder support for g729. (ffmpeg-jami)[patches]: Add 'libopusenc-reload-packet-loss-at-encode'. (jami-libclient)[native-inputs]: New field. [inputs]: Add ffmpeg-jami and libxkbcommon. [propagated-inputs]: Replace qtbase-5 with qtbase.
2022-07-31gnu: qttools: Rename to qttools-5.Maxim Cournoyer
Automated with: git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtwebengine: Rename to qtwebengine-5.Maxim Cournoyer
Automated with: git grep -l qtwebengine | xargs sed 's/\bqtwebengine\b/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtwebchannel: Rename to qtwebchannel-5.Maxim Cournoyer
Automated via: git grep -l qtwebchannel | xargs sed 's/\bqtwebchannel\b/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtquickcontrols2: Rename to qtquickcontrols2-5.Maxim Cournoyer
Automated via: git grep -l qtquickcontrols2 | xargs sed 's/\bqtquickcontrols2\b/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtquickcontrols: Rename to qtquickcontrols-5.Maxim Cournoyer
Automated via: git grep -l qtquickcontrols | xargs sed 's/\bqtquickcontrols\b/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtdeclarative: Rename to qtdeclarative-5.Maxim Cournoyer
Automated via the following commands: git grep -l '\bqtdeclarative\b' | xargs sed -E 's/qtdeclarative/\0-5/g' -i git checkout NEWS
2022-07-31gnu: qtmultimedia: Rename to qtmultimedia-5.Maxim Cournoyer
Automated via: git grep -l qtmultimedia | xargs sed 's/qtmultimedia/qtmultimedia-5/g' -i git checkout NEWS
2022-07-31gnu: qtsvg: Rename variable to qtsvg-5.Maxim Cournoyer
This is in preparation of the qtsvg update to version 6. This change was automated via the following command: git grep -l '\bqtsvg\b' | xargs sed 's/qtsvg/qtsvg-5/g' -i
2022-07-21ffmpeg-jami: Re-enable matroska muxer.Maxim Cournoyer
Disabled by mistake in 1ed66d1461d18c97894381bace428b982980d597. * gnu/packages/jami.scm (%ffmpeg-default-configure-flags): Un-comment '--enable-muxer=matroska'.
2022-01-27gnu: libjami: Produce usable debug symbols.Maxim Cournoyer
* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-debug'.
2022-01-27gnu: jami-libclient: Properly return the list of audio managers.Maxim Cournoyer
* gnu/packages/patches/jami-libclient-audio-managers.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/jami.scm (jami)[source]: Move all patches to... (%jami-sources): here and add the newly added patch.
2022-01-27gnu: jami: Reduce memory consumption in conversation view.Maxim Cournoyer
This fixes <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/649>. * gnu/packages/patches/jami-images-loading.patch: New patch. * gnu/packages/patches/jami-memory-usage.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/jami.scm (jami)[source]: Apply them.
2022-01-16gnu: jami: Use OpenGL, not OpenGL ES.Maxim Cournoyer
This may yield better performance. * gnu/packages/jami.scm (jami)[phases]{use-desktop-opengl}: New phase.
2022-01-14gnu: jami-gnome: Fix version string.Maxim Cournoyer
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-version-string}: New phase.
2022-01-14gnu: jami: Fix version string.Maxim Cournoyer
* gnu/packages/jami.scm (jami)[phases]{fix-version-string}: New phase.
2022-01-14gnu: jami: Fix crash on exit.Maxim Cournoyer
* gnu/packages/patches/jami-fix-crash-on-quit.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/jami.scm (jami): Apply it.
2022-01-13gnu: jami: Update to 20211223.2.37be4c3.Maxim Cournoyer
* gnu/packages/patches/pjproject-correct-the-cflags-field.patch: Delete file. * gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch: Likewise. * gnu/local.mk (dist_patch_DATA): De-register them. * gnu/packages/jami.scm (%jami-version): Update version string. (%jami-sources): Adjust snippet. (jami-apply-custom-patches): Use G-Exp. (pjproject-jami): Use Savoir-faire Linux's fork and update to 2.11-0.e1f389d. [phases]: Adjust and update accordingly. (%ffmpeg-default-configure-flags): Capitalize and reword comments. (ffmpeg-jami)[native-inputs]: Delete field. [tests?]: Add comment and move into the SUBSTITUTE-KEYWORD-ARGUMENTS use. [phases]: Use G-Exp and update the list of patches. (libring): Deprecate and rename to... (libjami): ... this. Move the arguments field before the inputs. [tests?]: Add explanatory comment. [configure-flags]: Add '--disable-agent', with explanatory comment. [phases]{change-directory}: Rename to... {change-directory/maybe}: ... this, to attempt but not enforce a directory change so as to also support using a Git checkout as source. {add-lib-dir}: Remove phase. [inputs]: Use new style. [native-inputs]: Add cppunit. (libringclient): Deprecate and rename to... {jami-libclient}: ... this. [configure-flags]: Enable LIBWRAP. [phases]{change-directory/maybe}: Renamed from change-directory, for reasons described above. [inputs]: Adjust accordingly. (jami-gnome): Move the input fields below the arguments field. [phases]{change-directory/maybe}: Renamed from change-directory, for reasons described above. [inputs]: Rename libringclient to jami-libclient and use new style. [native-inputs]: Use new style. [propagated-inputs]: Delete field. (jami-qt): Deprecate and rename to... (jami): ... this. [phases]{change-directory/maybe}: Renamed from change-directory, for reasons described above. [native-inputs]: Add python. [inputs]: Adjust accordingly. [propagated-inputs]: Delete field.
2021-12-17gnu: Remove unneeded uses of custom GCC versions.Marius Bakke
* gnu/packages/bioinformatics.scm (libmaus2, biobambam2)[native-inputs]: Remove GCC-10. * gnu/packages/game-development.scm (libresprite, python-pyxel)[native-inputs]: Likewise. * gnu/packages/lua.scm (emilua)[native-inputs]: Likewise. * gnu/packages/radio.scm (sdr++)[native-inputs]: Likewise. * gnu/packages/wm.scm (fnott)[native-inputs]: Likewise. * gnu/packages/text-editors.scm (kakoune)[native-inputs]: Likewise. (scintilla)[native-inputs]: Remove GCC-9. * gnu/packages/build-tools.scm (bear)[native-inputs]: Likewise. * gnu/packages/cpp.scm (magic-enum)[native-inputs]: Likewise. * gnu/packages/games.scm (openttd)[native-inputs]: Likewise. (schiffbruch)[native-inputs]: Remove GCC-11. * gnu/packages/music.scm (liquidsfz, geonkick)[native-inputs]: Remove GCC-9. * gnu/packages/fcitx5.scm (fcitx5, libime, fcitx5-configtool)[native-inputs]: Likewise. * gnu/packages/wine.scm (dxvk32)[native-inputs]: Likewise. * gnu/packages/ftp.scm (libfilezilla)[native-inputs]: Remove GCC-8. * gnu/packages/image.scm (blurhash)[native-inputs]: Likewise. * gnu/packages/jami.scm (libring)[native-inputs]: Likewise. * gnu/packages/pdf.scm (xournalpp)[native-inputs]: Likewise. * gnu/packages/telegram.scm (webrtc-for-telegram-desktop, telegram-desktop)[native-inputs]: Likewise.
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-11-11gnu: jami-gnome: Fix build with webkitgtk 2.34.1.Maxim Cournoyer
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-webkit-detection}: New phase.
2021-11-11gnu: jsoncpp: Apply patch to regular package.Maxim Cournoyer
* gnu/packages/serialization.scm (jsoncpp)[source]: Apply patch. (jsoncpp-with-pkg-version): Delete variant package. * gnu/packages/jami.scm (libring)[inputs]: Adjust accordingly.
2021-10-06gnu: libring: Fix buildMathieu Othacehe
* gnu/packages/jami.scm (libring)[inputs]: Use jsoncpp-with-pkg-version instead of jsoncpp.
2021-06-27gnu: jami-qt: Add support for desktop notifications.Diego Nicola Barbato
* gnu/packages/jami.scm (jami-qt)[inputs]: Add libnotify. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-06-14gnu: Rename qtbase to qtbase-5.Maxim Cournoyer
This change was automated via the following command: $ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g' $ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g' $ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g' $ git checkout etc # to clear some spurious changes This is done so the qtbase package can be upgraded to version 6 in the following commit.
2021-06-08gnu: jami: Update to 20210606.1.e2f9490.Maxim Cournoyer
* gnu/packages/jami.scm (jami): Update to 20210606.1.e2f9490. (pjproject-jami)[0019-ignore-down-interfaces]: Apply new custom patch. (jami-qt)[source]: Use %jami-sources, which now includes the Qt client. [phases]{change-directory}: New phase.
2021-06-08gnu: jami: Always include the custom Jami patches with the sources.Maxim Cournoyer
Before this change, there was a Jami origin containing the sources with the patches, and another one containing the sources but with the patches removed. Unify the source to always contain the patches, which adds just 1 MiB to the corresponding tarball and simplifies things. * gnu/packages/jami.scm (%jami-sources): Make it a simple variable. Move the docstring to a comment. Only remove the tarballs, always keeping the patches with the sources. Adjust the comments. (%sfl-patches): Remove variable. (jami-apply-dependency-patches): Rename to... (jami-apply-custom-patches): ... this. Adjust the input label used to 'jami-sources'. (pjproject-jami): Replace %sfl-patches by %jami-sources. Adjust following the renaming of the jami-apply-custom-patches procedure. (ffmpeg-jami): Likewise. Do not make a temporary binding, simply call the unquoted jami-apply-custom-patches procedure.
2021-05-28gnu: jami-gnome: Include phases from the glib-or-gtk-build-system.Maxim Cournoyer
This makes Jami less dependent on the environment it is run within; for example when using Jami on a foreign distributions. * gnu/packages/jami.scm (jami-gnome)[imported-modules]: New argument. [modules]: New argument. [phases]{glib-or-gtk-compile-schemas, glib-or-gtk-wrap}: New phases. Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
2021-04-10gnu: jami-qt: Remove the custom wrap phase.Maxim Cournoyer
Commit 06eb21856f made it necessary, since it is now handled by the Qt build system itself. * gnu/packages/jami.scm (jami-qt)[phases]{wrap}: Remove phase.
2021-04-02gnu: jami: Add debug outputs.Maxim Cournoyer
* gnu/packages/jami.scm (libring, libringclient, jami-gnome, jami-qt): Add a "debug" output.
2021-04-02gnu: libringclient: Disable the libwrap feature.Maxim Cournoyer
As it causes video calls to segfault. * gnu/packages/jami.scm (libringclient): Set -DENABLE_LIBWRAP to false for the time being.
2021-04-02gnu: Add jami-qt.Maxim Cournoyer
* gnu/packages/jami.scm (jami-qt): New variable.
2021-04-02gnu: jami: Update to 20210326.1.cfba013 and rename to jami-gnome.Maxim Cournoyer
* gnu/packages/jami.scm (jami): Update to 20210326.1.cfba013. Rename to ... (jami-gnome): ... this, in prevision to the soon released Jami Qt client. (jami): Define as obsoleted by jami-gnome. [inputs]: Sort lexico-graphically. Add libappindicator and network-manager. [native-inputs]: Add a comment and fix a typo. Remove doxygen. [propagated-inputs]: Remove evolution-data-server. [synopsis]: More explicitly describe what this package is. [description]: Describe the specifics before the generalities.
2021-04-02gnu: libringclient: Update to 20210326.1.cfba013.Maxim Cournoyer
* gnu/packages/jami.scm (libringclient): Update to 20210326.1.cfba013. Remove trailing #t. Do not inherit from libring. [version, source]: Specify fields. [propagated-inputs]: Remove qttools. Move libring to ... [inputs]: ... here. Add network-manager. [configure-flags] Define the RING_XML_INTERFACES_DIR and LIBWRAP variables. [phases]{fix-dbus-interfaces-path}: Delete. [synopsis]: More explicitly describe what this component is. [description]: Describe the specifics before the generalities.
2021-04-02gnu: libring: Update to 20210326.1.cfba013.Maxim Cournoyer
* gnu/packages/jami.scm (libring): Update to 20210326.1.cfba013. Remove trailing #t. [inputs]: Remove boost, flac, gmp, gsm, libogg, libva, opus, pcre, libsamplerate, libsndfile, libvorbis, libx264, libvdpau, zlib, python, python-wrapper, restinio, and libx11. Add libgit2 and webrtc-audio-processing. [native-inputs]: Remove cppunit. Add gcc-8. [make-flags]: Add the V=1 flag. [synopsis]: More explicitly describe what this component is. [description]: Describe the specifics before the generalities.
2021-04-02ffmpeg-jami: Apply patches from Jami 20210326.1.cfba013.Maxim Cournoyer
* gnu/packages/jami.scm (ffmpeg-jami): Remove trailing #t. [phases] <apply-patches>: Add libopusdec-enable-FEC and libopusenc-enable-FEC to the list of patches to apply.
2021-04-02gnu: pjproject-jami: Fix CVE-2020-15260 and CVE-2021-21375.Maxim Cournoyer
The custom pjproject package used by Jami is updated with the latest patches found in the 20210326.1.cfba013 release of Jami. * gnu/packages/jami.scm (%jami-version): Update to 20210326.1.cfba013. (jami-source) [snippet]: Update comment. Add client-electron and client-ios to the list of deleted directories. Remove client-windows from the list, as it no longer exists. (jami-apply-dependency-patches): Update comment. Ignore whitespace when applying patches, otherwise the pjproject patches would not apply. (pjproject-jami): Add comment. [source]: Define the source; the parent pjproject package was updated was updated to 2.11, but the patches only apply against 2.10. [phases] <apply-patches>: Update the list of patches used with those found in the release tarball.