[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40677] [PATCH 18/18] gnu: pjproject-jami: Add the missing, linux-on
From: |
Jan Wielkiewicz |
Subject: |
[bug#40677] [PATCH 18/18] gnu: pjproject-jami: Add the missing, linux-only "--enable-epoll" flag. |
Date: |
Tue, 21 Apr 2020 18:10:32 +0200 |
---
gnu/packages/jami.scm | 60 ++++++++++++++++++++++++-------------------
1 file changed, 33 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index b441e5e426..a61b1b6043 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages hurd)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision)
@@ -161,33 +162,38 @@
;; See ring-project/daemon/contrib/src/pjproject/rules.mak.
#:configure-flags
(list ;;"--disable-oss" ; do we need this?
- "--disable-sound"
- "--disable-video"
- "--enable-ext-sound"
- "--disable-speex-aec"
- "--disable-g711-codec"
- "--disable-l16-codec"
- "--disable-gsm-codec"
- "--disable-g722-codec"
- "--disable-g7221-codec"
- "--disable-speex-codec"
- "--disable-ilbc-codec"
- "--disable-opencore-amr"
- "--disable-silk"
- "--disable-sdl"
- "--disable-ffmpeg"
- "--disable-v4l2"
- "--disable-openh264"
- "--disable-resample"
- "--disable-libwebrtc"
- "--with-gnutls"
- "--with-external-srtp"
- ;; We need -fPIC or else we get the following error when linking
- ;; against pjproject-jami:
- ;; relocation R_X86_64_32S against `.rodata' can not be used
when
- ;; making a shared object;
- "CFLAGS=-fPIC"
- "CXXFLAGS=-fPIC")
+ "--disable-sound"
+ "--disable-video"
+ ;; The following flag is linux specific
+ ,@(if (hurd-triplet? (or (%current-system)
+ (%current-target-system)))
+ '("--enable-epoll")
+ '())
+ "--enable-ext-sound"
+ "--disable-speex-aec"
+ "--disable-g711-codec"
+ "--disable-l16-codec"
+ "--disable-gsm-codec"
+ "--disable-g722-codec"
+ "--disable-g7221-codec"
+ "--disable-speex-codec"
+ "--disable-ilbc-codec"
+ "--disable-opencore-amr"
+ "--disable-silk"
+ "--disable-sdl"
+ "--disable-ffmpeg"
+ "--disable-v4l2"
+ "--disable-openh264"
+ "--disable-resample"
+ "--disable-libwebrtc"
+ "--with-gnutls"
+ "--with-external-srtp"
+ ;; We need -fPIC or else we get the following error when linking
+ ;; against pjproject-jami:
+ ;; relocation R_X86_64_32S against `.rodata' can not be used when
+ ;; making a shared object;
+ "CFLAGS=-fPIC"
+ "CXXFLAGS=-fPIC")
#:modules ((guix build utils)
,@(@@ (guix build-system gnu) %default-modules))
#:phases
--
2.26.1
- [bug#40677] [PATCH 10/18] gnu: pjproject-jami: Add a new SFL patch., (continued)
- [bug#40677] [PATCH 10/18] gnu: pjproject-jami: Add a new SFL patch., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 08/18] gnu: libring: Use ffmpeg-jami instead of ffmpeg., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 11/18] gnu: pjproject: Fix formatting., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 07/18] gnu: Add ffmpeg-jami., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 15/18] gnu: opendht: Bump to 2.0.0., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 03/18] gnu: jami.scm: Add and use a generalized procedure for applying patches made by Savoir-faire linux to Jami dependencies., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 14/18] gnu: pjproject-jami: Bump to 2.10, apply new SFL patches., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 18/18] gnu: pjproject-jami: Add the missing, linux-only "--enable-epoll" flag.,
Jan Wielkiewicz <=
- [bug#40677] [PATCH 09/18] gnu: restinio: Bump to 0.6.1.1., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 16/18] gnu: jami: Bump to 20200401.1.6f090de., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 13/18] gnu: pjproject, pjproject-jami: Remove broken pjproject package. Make pjproject-jami package stand-alone by moving package code from pjproject into it., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 17/18] gnu: jami: Replace gnu-gettext with gettext-minimal, just like on master., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 12/18] gnu: jami: Make gettext a native input., Jan Wielkiewicz, 2020/04/21
- [bug#40677] [PATCH 01/18] gnu: jami: Move Jami and its dependencies to jami.scm., Mathieu Othacehe, 2020/04/22