From patchwork Thu Apr 16 14:24:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21291 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 68E0627BBE1; Thu, 16 Apr 2020 15:25:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 62A0F27BBE4 for ; Thu, 16 Apr 2020 15:25:10 +0100 (BST) Received: from localhost ([::1]:34912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP5S1-0000BI-SD for patchwork@mira.cbaines.net; Thu, 16 Apr 2020 10:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40855) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP5Rv-00009e-Op for guix-patches@gnu.org; Thu, 16 Apr 2020 10:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP5Ru-0000PH-Az for guix-patches@gnu.org; Thu, 16 Apr 2020 10:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP5Ru-0000P8-73 for guix-patches@gnu.org; Thu, 16 Apr 2020 10:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP5Ru-0001MT-1r for guix-patches@gnu.org; Thu, 16 Apr 2020 10:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40660] gnu: Add linphoneqt. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Apr 2020 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40660 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40660@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15870470805201 (code B ref -1); Thu, 16 Apr 2020 14:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2020 14:24:40 +0000 Received: from localhost ([127.0.0.1]:39037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP5RX-0001Lp-Lx for submit@debbugs.gnu.org; Thu, 16 Apr 2020 10:24:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:47434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP5RW-0001Li-IO for submit@debbugs.gnu.org; Thu, 16 Apr 2020 10:24:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40807) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP5RU-0008Fq-OA for guix-patches@gnu.org; Thu, 16 Apr 2020 10:24:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP5RT-0000Iz-4K for guix-patches@gnu.org; Thu, 16 Apr 2020 10:24:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57698) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jP5RS-0000Hp-8k for guix-patches@gnu.org; Thu, 16 Apr 2020 10:24:35 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 38532237CB for ; Thu, 16 Apr 2020 16:24:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GMeaabdT75Sj for ; Thu, 16 Apr 2020 16:24:29 +0200 (CEST) Date: Thu, 16 Apr 2020 10:24:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587047069; bh=gKRSxU/mERWvZmWV51cfYe0OT38iYFOMxT4bPG3hS3Q=; h=Date:From:To:Subject; b=LS8Pl6FjajHi0Z96talRTFSJy/sH7Ae+W68Dxw5KwFy42WpGRkgaGd+2sVyV+6yz5 oogHBb04zhc/K1WDUBQgrgH0zR3VzIxJqhMIsK9WwmfJP6kzcr+bk8qYgz/qKkf+Nq QbH/T921eCjG3tP4P6oK5oESg3fGeMZqPayBJ5wzaapXTPyGep0Eh4X8qYHkDHIq/y VsBhrcBSE/1L1kTO37xcjVasOpz2O1jemYHDrM8kL4SY4RzuP7yRqfCQQnDR9eFMpN M6lc419LsCZByjdZiAnfTcnkwl7z2m0HyESEiGB9dcauecYAgltRq2BjdssxTCY13C 9wmJfCKRGJS4w== From: Raghav Gururajan Message-ID: <20200416102419.763ee4e9.raghavgururajan@disroot.org> Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! Please find the attached patch to add 'linphoneqt' package. Regards, RG. From 445dc213ebbc4fea767fb3a27057a24796b89cbf Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 16 Apr 2020 10:22:10 -0400 Subject: [PATCH] gnu: Add linphoneqt. * gnu/packages/linphone.scm (linphoneqt): New variable. --- gnu/packages/linphone.scm | 80 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index c9959d7d01..1bfaeafd56 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -25,6 +25,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages documentation) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -37,6 +38,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) #:use-module (gnu packages java) #:use-module (gnu packages sqlite) #:use-module (gnu packages telephony) @@ -49,7 +51,8 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system qt)) (define-public bcunit (package @@ -469,6 +472,81 @@ and video calls or instant messaging capabilities to an application.") (home-page "https://gitlab.linphone.org/BC/public/liblinphone") (license license:gpl2+))) +(define-public linphoneqt + (package + (name "linphoneqt") + (version "4.1.1") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.linphone.org/releases/sources/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 "1g2zrr9li0g1hgs6vys06vr98h5dx36z22hx7a6ry231536c002a")) + (patches (search-patches "linphoneqt-tabbutton.patch")))) + (build-system qt-build-system) + (arguments + `(#:tests? #f ; No test target + #:phases + (modify-phases %standard-phases + (add-after 'set-paths 'set-qt-rcc-source-date-override + (lambda _ + ;; This fixes a reproducibility problem where the Qt Resource + ;; Compiler (RCC) includes timestamp of its source files + ;; (see: https://reproducible-builds.org/docs/ + ;; deterministic-build-systems/#cmake-notes). + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") + #t)) + (add-after 'unpack 'fix-cmake-error + (lambda _ + ;; This is fixed in commit efed2fd8 of the master branch. + (substitute* "CMakeLists.txt" + (("js)\\$\"") + "js$\"")) + #t)) + (add-after 'unpack 'set-version-string + (lambda _ + (substitute* "src/app/AppController.cpp" + (("LINPHONE_QT_GIT_VERSION") + (format #f "~s" ,version))) + #t))))) + (native-inputs + `(("gcc" ,gcc-5) ; Qt in master uses gcc-5 + ("qttools" ,qttools))) + (inputs + `(("bctoolbox" ,bctoolbox) + ("belcard" ,belcard) + ("bellesip" ,belle-sip) + ("linphone" ,liblinphone) + ("mediastreamer2" ,mediastreamer2) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtquickcontrols" ,qtquickcontrols) + ("qtquickcontrols2" ,qtquickcontrols2) + ("qtsvg" ,qtsvg))) + (synopsis "Desktop client for the Linphone SIP softphone") + (description "Linphone is a SIP softphone for voice and video over IP calling +(VoIP) and instant messaging. Amongst its features are: +@itemize +@item High Definition (HD) audio and video calls +@item Multiple call management (pause and resume) +@item Call transfer +@item Audio conferencing (merge calls into a conference call) +@item Call recording and replay (audio only) +@item Instant Messaging with message delivery status (IMDN) +@item Picture and file sharing +@item Echo cancellation +@item Secure user authentication using TLS client certificates +@item SRTP, zRTP and SRTP-DTLS voice and video encryption +@item Telephone tone (DTMF) support using SIP INFO or RFC 4733 +@item Audio codecs: opus, speex, g711, g729, gsm, iLBC, g722, SILK, etc. +@item Video codecs: VP8, H.264 and H.265 with resolutions up to 1080P, MPEG4 +@end itemize") + (home-page "https://gitlab.linphone.org/BC/public/linphone-desktop") + (license license:gpl2+))) + (define-public msopenh264 (package (name "msopenh264") -- 2.26.0