Commit Graph

80 Commits

Author SHA1 Message Date
Maxim Cournoyer
038981e128
gnu: pjproject-jami: Update to 2.12-2.20e00fc.
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.
2023-02-20 17:00:11 -05:00
Efraim Flashner
672036c6df
gnu: Remove unneeded module imports.
* gnu/packages/abiword.scm,
* gnu/packages/ada.scm,
* gnu/packages/agda.scm,
* gnu/packages/backup.scm,
* gnu/packages/barrier.scm,
* gnu/packages/bioinformatics.scm,
* gnu/packages/bootstrap.scm,
* gnu/packages/bqn.scm,
* gnu/packages/c.scm,
* gnu/packages/chemistry.scm,
* gnu/packages/coq.scm,
* gnu/packages/cross-base.scm,
* gnu/packages/databases.scm,
* gnu/packages/emacs-xyz.scm,
* gnu/packages/enlightenment.scm,
* gnu/packages/games.scm,
* gnu/packages/geo.scm,
* gnu/packages/ghostscript.scm,
* gnu/packages/gl.scm,
* gnu/packages/golang.scm,
* gnu/packages/jami.scm,
* gnu/packages/java-maths.scm,
* gnu/packages/kde-frameworks.scm,
* gnu/packages/kde-plasma.scm,
* gnu/packages/language.scm,
* gnu/packages/libreoffice.scm,
* gnu/packages/linphone.scm,
* gnu/packages/lisp.scm,
* gnu/packages/llvm.scm,
* gnu/packages/machine-learning.scm,
* gnu/packages/minetest.scm,
* gnu/packages/monitoring.scm,
* gnu/packages/nfs.scm,
* gnu/packages/ocr.scm,
* gnu/packages/opencl.scm,
* gnu/packages/pdf.scm,
* gnu/packages/python-xyz.scm,
* gnu/packages/racket.scm,
* gnu/packages/rust.scm,
* gnu/packages/syncthing.scm,
* gnu/packages/syndication.scm,
* gnu/packages/telegram.scm,
* gnu/packages/vulkan.scm,
* gnu/packages/web-browsers.scm,
* gnu/packages/web.scm,
* gnu/packages/webkit.scm: Remove some unecessary module imports.
2023-02-16 22:41:03 +02:00
Maxim Cournoyer
20059f92a9
gnu: jami: Remove unused native inputs.
* gnu/packages/jami.scm (jami) [native-inputs]: Remove doxygen, graphviz and
gsettings-desktop-schemas.
2023-02-08 09:36:26 -05:00
Maxim Cournoyer
aef75942fc
gnu: libjami: Move jamid daemon to a "bin" output.
* 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.
2023-02-08 09:36:26 -05:00
Maxim Cournoyer
c0106ea5c9
gnu: ffmpeg-jami: Add a debug output.
* gnu/packages/jami.scm (ffmpeg-jami) [outputs]: New field.
[configure-flags]: Add "--disable-stripping".
2023-02-08 09:36:26 -05:00
Maxim Cournoyer
d09b1805aa
gnu: ffmpeg-jami: Really honor custom configuration flags.
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.
2023-02-08 09:36:26 -05:00
Maxim Cournoyer
b5e300f9c1
gnu: jami: Update to 20230206.0.
* 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.
2023-02-07 10:23:25 -05:00
Maxim Cournoyer
6f53d04c32
gnu: jami-qt: Remove deprecated alias.
* gnu/packages/jami.scm (jami-qt): Delete variable.
2023-01-03 22:49:11 -05:00
Maxim Cournoyer
3e8071e3f2
gnu: jami-gnome: Remove deprecated alias.
* gnu/packages/jami.scm (jami-gnome): Delete variable.
2023-01-03 22:49:01 -05:00
Maxim Cournoyer
9a2af63b27
gnu: libring: Remove deprecated alias.
* gnu/packages/jami.scm (libring): Delete variable.
2023-01-03 22:48:34 -05:00
Maxim Cournoyer
fd0e69984f
gnu: jami: Update to 20221220.0956.79e1207.
* gnu/packages/jami.scm (%jami-version): Update to 20221220.0956.79e1207.
(%jami-sources): Remove all but the 'jami-disable-integration-tests.patch' and
'jami-libjami-headers-search.patch' patches.
* gnu/packages/patches/jami-fix-qml-imports.patch: Delete file.
* gnu/packages/patches/jami-fix-unit-tests-build.patch: Likewise.
* gnu/packages/patches/jami-no-webengine.patch: Likewise.
* gnu/packages/patches/jami-sip-contacts.patch: Likewise.
* gnu/packages/patches/jami-sip-unregister.patch: Likewise.
* gnu/packages/patches/jami-sipaccount-segfault.patch: Likewise.
* gnu/packages/patches/jami-xcb-link.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2022-12-27 13:27:25 -05:00
Maxim Cournoyer
a4d52f07d7
gnu: jami: Apply a patch to fix a crash when using SIP.
* 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.
2022-12-04 00:57:32 -05:00
Maxim Cournoyer
e7502b3300
gnu: jami: Apply a patch to fix receiving of text messages over SIP.
* 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.
2022-11-29 14:02:43 -05:00
Maxim Cournoyer
008f3a28c6
gnu: jami: Enable unit tests.
* 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-12 00:39:35 -05:00
Maxim Cournoyer
d7d09a2773
gnu: jami: Update to 20221031.1308.130cc26.
* 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-11 23:52:04 -05:00
Maxim Cournoyer
1b22c03cca
gnu: pjproject-jami: Restore hash.
The hash was inadvertently changed in commit
071d4bdc80.

* gnu/packages/jami.scm (pjproject-jami) [source]: Revert hash.

Reported-by: Jack Hill <jackhill@jackhill.us>
2022-11-08 15:08:52 -05:00
Maxim Cournoyer
a6c90c293d
gnu: Add jami-docs.
* gnu/packages/jami.scm (jami-docs): New variable.
2022-11-06 00:08:07 -04:00
Maxim Cournoyer
071d4bdc80
gnu: ccache: Update to 4.7.2.
* 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-11-06 00:08:04 -04:00
Maxim Cournoyer
c50231cfcb
gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.
* gnu/packages/jami.scm (ffmpeg-jami): Update to 5.0.1.
[tests?]: Delete argument.
[phases]{disable-problematic-tests}: New phase.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
c8ab64b2df
gnu: pjproject-jami: Update to 2.12-0.5e478bb.
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-0.5e478bb.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
84369105d4
gnu: jami: Update to 20220825.0828.c10f01f.
* 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-09-23 23:56:15 -04:00
Maxim Cournoyer
3a656ea836
gnu: jami: Apply upstream patch that fixes a usability issue.
* 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-31 23:08:51 -04:00
Maxim Cournoyer
ccf6401d05
gnu: jami: Update to 20220726.1515.da8d1da.
* 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-31 21:55:50 -04:00
Maxim Cournoyer
f80f1667f1
gnu: Deprecate jami-gnome for jami.
* gnu/packages/jami.scm (jami-gnome): Delete package, deprecating it for jami.
2022-07-31 21:55:50 -04:00
Maxim Cournoyer
46f5623cc1
gnu: Remove jami-libclient.
* gnu/packages/jami.scm (jami-libclient): Delete variable.
(libringclient): Likewise.
(jami-gnome)[inputs]: Remove jami-libclient.
(jami)[inputs]: Likewise.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
3d812fea06
gnu: libjami: Enable test agent.
* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-agent' and
remove FIXME.
[tests?]: Update comment.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
bdf0fce88e
gnu: libjami: Update to 20220726.1515.da8d1da.
* 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-31 21:55:49 -04:00
Maxim Cournoyer
eef8e2ec46
gnu: qttools: Rename to qttools-5.
Automated with:

  git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
a0beb297a3
gnu: qtwebengine: Rename to qtwebengine-5.
Automated with:

  git grep -l qtwebengine | xargs sed 's/\bqtwebengine\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:47 -04:00
Maxim Cournoyer
0938c3e34a
gnu: qtwebchannel: Rename to qtwebchannel-5.
Automated via:

  git grep -l qtwebchannel | xargs sed 's/\bqtwebchannel\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:46 -04:00
Maxim Cournoyer
1130fc5991
gnu: qtquickcontrols2: Rename to qtquickcontrols2-5.
Automated via:

  git grep -l qtquickcontrols2 | xargs sed 's/\bqtquickcontrols2\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:45 -04:00
Maxim Cournoyer
65e5e85d28
gnu: qtquickcontrols: Rename to qtquickcontrols-5.
Automated via:

  git grep -l qtquickcontrols | xargs sed 's/\bqtquickcontrols\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:45 -04:00
Maxim Cournoyer
735d340ae4
gnu: qtdeclarative: Rename to qtdeclarative-5.
Automated via the following commands:

  git grep -l '\bqtdeclarative\b' | xargs sed -E 's/qtdeclarative/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
5f22854339
gnu: qtmultimedia: Rename to qtmultimedia-5.
Automated via:

  git grep -l qtmultimedia | xargs sed 's/qtmultimedia/qtmultimedia-5/g' -i
  git checkout NEWS
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
1ef04fb228
gnu: qtsvg: Rename variable to qtsvg-5.
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-31 21:55:43 -04:00
Maxim Cournoyer
3f171587bc
ffmpeg-jami: Re-enable matroska muxer.
Disabled by mistake in 1ed66d1461.

* gnu/packages/jami.scm (%ffmpeg-default-configure-flags): Un-comment
'--enable-muxer=matroska'.
2022-07-21 10:12:15 -04:00
Maxim Cournoyer
3c7bbec470
gnu: libjami: Produce usable debug symbols.
* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-debug'.
2022-01-27 23:03:11 -05:00
Maxim Cournoyer
1916d6df6f
gnu: jami-libclient: Properly return the list of audio managers.
* 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-27 14:01:34 -05:00
Maxim Cournoyer
95a74533f1
gnu: jami: Reduce memory consumption in conversation view.
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-27 10:51:54 -05:00
Maxim Cournoyer
8cdecad237
gnu: jami: Use OpenGL, not OpenGL ES.
This may yield better performance.

* gnu/packages/jami.scm (jami)[phases]{use-desktop-opengl}: New phase.
2022-01-16 12:05:57 -05:00
Maxim Cournoyer
056935506b
gnu: jami-gnome: Fix version string.
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-version-string}: New phase.
2022-01-14 17:36:13 -05:00
Maxim Cournoyer
bd872a6f75
gnu: jami: Fix version string.
* gnu/packages/jami.scm (jami)[phases]{fix-version-string}: New phase.
2022-01-14 17:36:13 -05:00
Maxim Cournoyer
9d5f14751f
gnu: jami: Fix crash on exit.
* 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-14 17:36:12 -05:00
Maxim Cournoyer
1ed66d1461
gnu: jami: Update to 20211223.2.37be4c3.
* 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.
2022-01-13 00:57:52 -05:00
Marius Bakke
e661f4eff4
gnu: Remove unneeded uses of custom GCC versions.
* 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-17 19:07:17 +01:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Maxim Cournoyer
18dd5e45e4
gnu: jami-gnome: Fix build with webkitgtk 2.34.1.
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-webkit-detection}: New phase.
2021-11-11 12:18:28 -05:00
Maxim Cournoyer
df20439d44
gnu: jsoncpp: Apply patch to regular package.
* gnu/packages/serialization.scm (jsoncpp)[source]: Apply patch.
(jsoncpp-with-pkg-version): Delete variant package.
* gnu/packages/jami.scm (libring)[inputs]: Adjust accordingly.
2021-11-11 12:18:21 -05:00
Mathieu Othacehe
161d1a94af
gnu: libring: Fix build
* gnu/packages/jami.scm (libring)[inputs]: Use jsoncpp-with-pkg-version
instead of jsoncpp.
2021-10-06 06:59:38 +00:00
Diego Nicola Barbato
84f662bf4b
gnu: jami-qt: Add support for desktop notifications.
* gnu/packages/jami.scm (jami-qt)[inputs]: Add libnotify.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-06-27 12:45:58 +03:00