3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

16 commits

Author SHA1 Message Date
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
Marius Bakke 12bcfcedb0
gnu: jami: Remove obsolete wrapper.
* gnu/packages/jami.scm (jami)[inputs]: Change from
SQLITE-WITH-COLUMN-METADATA to SQLITE.
[arguments]: Remove 'wrap' phase.
2020-05-13 00:57:15 +02:00
Jan Wielkiewicz 8c98eb2808
gnu: jami: Add epoll support.
* gnu/packages/jami.scm (jami)[arguments]: Add epoll support on Linux systems.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz f06eefa31d
gnu: jami: Use gettext-minimal.
* gnu/packages/jami.scm (jami)[native-inputs]: Use "gettext-minimal" instead
of "gnu-gettext".

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 2ff4e549bb
gnu: pjproject-jami: Update to 2.10.
* gnu/packages/telephony.scm (pjproject): Update to 2.10,
[source]: reorder "file-name" and "sha256" fields.
* gnu/packages/jami.scm (%jami-version): Update to 20200401.1.6f090d,
(pjproject-jami)[arguments]: apply patches related to 2.10.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 7f8f39d344
gnu: jami: Make gettext a native input.
* gnu/packages/jami.scm (jami)[inputs]: Move "gettext" to ...
[native-inputs]: ... here.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:58 +02:00
Jan Wielkiewicz 63e6f1cdee
gnu: libring: Add libnatpmp dependency.
This library isn't mandatory, but it works better with new
routers than libupnp.

* gnu/packages/jami.scm (libring)[inputs]: Add libnatpmp.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz f60699af61
gnu: jami: Create a jami-apply-dependency-patches procedure.
* gnu/packages/jami.scm (pjproject-jami)
[native-inputs]: Rename "savoir-faire-linux-patches" to "sfl-patches".
[arguments]: Move Jami patching procedure to ...
(jami-apply-dependency-patches): ... this new procedure.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz aaa199ca52
gnu: jami: Fix download.
The package name changed from Ring to Jami.  Package tarballs start now with
"jami_" prefix.  The "ring-release" folder is also deprecated, let's use the
"release" folder instead.

* gnu/packages/jami.scm (jami-source)[origin]:
Change the uri from "https://dl.jami.net/ring-release/tarballs/ring_"
to "https://dl.jami.net/release/tarballs/jami_".

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00
Jan Wielkiewicz 15c6e4260b
gnu: telephony: Move Jami and its dependencies to jami.scm.
Jami is a massive package and its developers modify many libraries. Keeping
them in a single file makes maintenance easier.

* gnu/packages/telephony.scm (%jami-version, jami-source,
pjproject-jami, libring, libringclient,
jami, jami-client-gnome): Move to ...
* gnu/packages/jami.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-02 12:04:57 +02:00