1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-29 20:43:58 +02:00
Commit Graph

59 Commits

Author SHA1 Message Date
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
Maxim Cournoyer ea0a51071e gnu: Rename qtbase to qtbase-5.
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-14 00:24:42 -04:00
Maxim Cournoyer fa43419a0f gnu: jami: Update to 20210606.1.e2f9490.
* 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-08 00:04:07 -04:00
Maxim Cournoyer 6bd47fc826 gnu: jami: Always include the custom Jami patches with the sources.
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-06-08 00:03:59 -04:00
Maxim Cournoyer 4ec964ec38 gnu: jami-gnome: Include phases from the glib-or-gtk-build-system.
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-05-28 09:48:15 -04:00
Maxim Cournoyer 59134f1e02 gnu: jami-qt: Remove the custom wrap phase.
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-10 00:55:18 -04:00
Maxim Cournoyer 591c930337 gnu: jami: Add debug outputs.
* gnu/packages/jami.scm (libring, libringclient, jami-gnome, jami-qt): Add a
"debug" output.
2021-04-02 14:17:44 -04:00
Maxim Cournoyer 532c0e745a gnu: libringclient: Disable the libwrap feature.
As it causes video calls to segfault.

* gnu/packages/jami.scm (libringclient): Set -DENABLE_LIBWRAP to false for the
time being.
2021-04-02 11:47:17 -04:00
Maxim Cournoyer e6b447cf75 gnu: Add jami-qt.
* gnu/packages/jami.scm (jami-qt): New variable.
2021-04-02 07:41:16 -04:00
Maxim Cournoyer 60e64e28f3 gnu: jami: Update to 20210326.1.cfba013 and rename to jami-gnome.
* 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-02 07:41:16 -04:00
Maxim Cournoyer 40a5f7904a gnu: libringclient: Update to 20210326.1.cfba013.
* 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-02 07:41:16 -04:00
Maxim Cournoyer 2cfd4770af gnu: libring: Update to 20210326.1.cfba013.
* 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-02 07:41:16 -04:00
Maxim Cournoyer 3f742c77ef ffmpeg-jami: Apply patches from Jami 20210326.1.cfba013.
* 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-02 07:41:16 -04:00
Maxim Cournoyer 3d913c1ed8 gnu: pjproject-jami: Fix CVE-2020-15260 and CVE-2021-21375.
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.
2021-04-02 07:41:16 -04:00
Mark H Weaver 1a265842e6 gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:58:10 -04:00
Maxim Cournoyer 0531ea982b gnu: jami: Always remove contrib tarballs from the sources of Jami.
The origin used as the "sfl-patches" input contained bundled library tarballs,
and weighed 217 MiB.  After this change, it weighs 3.3 MiB.

* gnu/packages/jami.scm (jami-source): Rename #:without-daemon to
\#:keep-contrib-patches.  Delete the daemon/contrib/tarballs sub-directory even
when keeping the patches.  Delete extraneous code.
(%sfl-patches, %jami-sources): New variables.
(pjproject-jami, ffmpeg-jami, libring): Adjust to use the above variables.
2020-08-06 00:01:50 -04:00
Maxim Cournoyer a5b44d999f gnu: pjproject-jami: Reuse more of the base pjproject.
Now that the base pjproject is built as a shared library, the cost of adding
dependencies shared with Jami is minimal.  The pjproject-jami now differs only
by its added patches.

* gnu/packages/jami.scm (pjproject-jami)[arguments]: Use the
substitute-keyword-arguments macro to reuse the base pjproject package
arguments, adding only the 'apply-patches phase.
2020-08-03 23:30:12 -04:00
Maxim Cournoyer 839bb42f0c gnu: pjproject: Fix problem in pkg-config file.
* gnu/packages/patches/pjproject-correct-the-cflags-field.patch: Add patch.
* gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register the new patches.
* gnu/packages/telephony.scm (pjproject): Use them.
* gnu/packages/jami.scm (pjproject-jami): Remove a patch from
pjproject-jami that is already applied against pjproject.
2020-08-03 23:30:11 -04:00
Jan Wielkiewicz c54b9afb87 gnu: pjproject-jami: Build without debugging assertions.
This fixes a bug where Jami crashes while disconnecting from an audio call.

* gnu/packages/jami.scm (pjproject-jami)[arguments]: Use -DNDEBUG flag.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-07-12 20:33:56 +01:00
Jan Wielkiewicz 1c15d30521 gnu: jami: Update to 20200710.1.6bd18d2.
* gnu/packages/jami.scm (%jami-version): Update to 20200710.1.6bd18d2.
(jami-source)[origin]: Adjust the hash.
(pjproject-jami)[arguments]: Add new patches.
(libring)[inputs]: Add libarchive.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-07-12 20:33:56 +01:00
Jan Wielkiewicz 8551bc64e4 gnu: jami-client-gnome: Remove deprecated package.
As this package has been deprecated for over a year.

* gnu/packages/jami.scm (jami-client-gnome): Remove variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-07-12 20:33:55 +01:00
Jan Wielkiewicz da358e8c88 gnu: Add ffmpeg-jami.
This package is needed because Jami uses a modified version
of ffmpeg, which provides GPU hardware acceleration, automatical
adapting of bitrate and extra codecs. Because of the configure flags
list being long, it is better to keep them separated in variables,
instead of littering the package definition.

* gnu/packages/jami.scm (ffmpeg-jami, %ffmpeg-default-configure-flags,
%ffmpeg-linux-configure-flags, %ffmpeg-linux-x86-configure-flags):
New variables.
(ffmpeg-compose-configure-flags): New procedure.
(libring)[inputs]: Use ffmpeg-jami instead of ffmpeg.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-05-15 09:08:46 +02:00