gnu: emacs-telega: Temporarily disable VOIP to work around issue.

* gnu/packages/emacs-xyz.scm (emacs-telega).
[source]: Bump to revision 3.
[arguments]: Temporarily disable VOIP functionality as it does not currently
work or link appropriately, causing issues on "foreign" distros. An issue has
been opened upstream. https://github.com/zevlg/telega.el/issues/191
[native-inputs]: Remove libtgvoip.
This commit is contained in:
Brett Gilio 2020-07-21 16:41:48 -05:00
parent d4b02a6fba
commit d2e0b16c48
No known key found for this signature in database
GPG key ID: F6C52DD1BA27CB87

View file

@ -22266,7 +22266,7 @@ (define-public emacs-telega
;; Get the current version from `telega-version` in telega.el.
;; or by running M-x telega-version.
(let ((commit "5c39c3a81e48222911db75ae30e5a8f8fa34efb5")
(revision "2")
(revision "3")
(version "0.6.27"))
(package
(name "emacs-telega")
@ -22294,7 +22294,13 @@ (define-public emacs-telega
(guix build emacs-build-system)
(guix build emacs-utils))
#:test-target "test"
#:make-flags (list "WITH_VOIP=t")
;; TODO: Currently tgVOIP is not functional, thus we have disabled it
;; temporarily. This functionality when enabled causes an erroneous
;; linkage with libtgvoip.so and libopus.so (FFMPEG) against the
;; system libraries on "foreign" distros. When tgVOIP becomes functional
;; this needs to be investigated to prevent a linkage issue.
;; Re-add libtgvoip to native-inputs at that time.
;; #:make-flags (list "WITH_VOIP=t")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'prefix-patch
@ -22398,7 +22404,6 @@ (define-public emacs-telega
("libwebp" ,libwebp))) ; sticker support.
(native-inputs
`(("tdlib" ,tdlib)
("libtgvoip" ,libtgvoip) ; VoIP support.
;; Use Emacs with wide ints on 32-bit architectures.
("emacs" ,(match (%current-system)
((or "i686-linux" "armhf-linux")