From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 22:46:21 2020 Received: (at 40264) by debbugs.gnu.org; 1 Apr 2020 02:46:21 +0000 Received: from localhost ([127.0.0.1]:37290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJTOX-0001MB-BE for submit@debbugs.gnu.org; Tue, 31 Mar 2020 22:46:21 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:43720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJTOT-0001Lw-Tk for 40264@debbugs.gnu.org; Tue, 31 Mar 2020 22:46:18 -0400 Received: by mail-qv1-f53.google.com with SMTP id c28so12096891qvb.10 for <40264@debbugs.gnu.org>; Tue, 31 Mar 2020 19:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mRqQ690e3x8TBjIOU9NM/sosto6gPshnBSVhH8rNJP8=; b=HKJAqKWTFO07tuxfXC634oLCE+5bQAYTUN2qLLIjD0fUalOedI4HrDEo6FwW0k70yJ urJAs1UpJZWoq4CS7olQ1KlGDUUM0JpleOu/ozLQlDp00nocXzQ/MYyLzyJEySX0ILwA JieOIwQvQrtUlqoDIjLbJTPkaPJ783q+hhjbeefAvcOOLgF8qw0nVkSlOoEVFyLW6J0T TKW+d0cMs/IZouu0I1YbvbhqAXGoQoGjt/U086JEa4gP2sUrnO149gmXDCMxzj2J9NhC 9sQuy6kbLp9ky8zXvOwMd8EuaTTDISjJoyGWk8pIfELh20h78Ziiza9T8nnOAfFCvY9P bcYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mRqQ690e3x8TBjIOU9NM/sosto6gPshnBSVhH8rNJP8=; b=U7nrJFki8xuiowQGAasJ+bmeOP+ux5QdEbjJ+WREoVpKLWnK2v1M84VS5Y1PHKYAWV U46zEwFy2yqrhXlqPi4rq6CJLAKX8zGqSsv5CcF8cFjSCJJL4NxZaTKU+4Jyrpbzva2D DY63pVln+Nikf4bMH+y2/HiAVXc0GiVhu77B/8mn41bWCci4mw6m+JnpCgR5/7KRAKzX aqS/FtX2qxAVjfMjRlAEOFh94PqK1FAv1I89vJFRNVlHARruh6L5N51+ViBSdjaTf9qu 7EPGgTYcJQ5phzikB6okI9KNfQAOF2+RwZcxUjoXia1nzy3G3BmCacw11bmsEvIMrUyh vaYg== X-Gm-Message-State: ANhLgQ1tXjqWJJ6g0duKn9g4hckXb+TDkGKvFmlBrySdbet20QFwbWD1 YTuIXZzZallv+G6Tx6ZeDNXIMKjA+6iO8A== X-Google-Smtp-Source: ADFU+vuxCblbeqeJyfUAsXAhz3y6b1C9s66PCcCT5Zo0OKwYFBBFMbfLaStKjRFX7Pcq0iZsn3pkbg== X-Received: by 2002:a05:6214:38e:: with SMTP id l14mr9189737qvy.99.1585709172293; Tue, 31 Mar 2020 19:46:12 -0700 (PDT) Received: from hurd (dsl-159-222.b2b2c.ca. [66.158.159.222]) by smtp.gmail.com with ESMTPSA id b7sm611584qkc.61.2020.03.31.19.46.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 19:46:11 -0700 (PDT) From: Maxim Cournoyer To: "Raghav Gururajan" Subject: Re: [bug#40264] Linphone: 3-add-bcunit References: Date: Tue, 31 Mar 2020 22:46:10 -0400 In-Reply-To: (Raghav Gururajan's message of "Fri, 27 Mar 2020 23:15:42 +0000") Message-ID: <87d08rx6rx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40264 Cc: 40264@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Raghav, "Raghav Gururajan" writes: > From fe32f106ca646c357c958e1b5ebd375b942f4f3c Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Fri, 27 Mar 2020 17:19:45 -0400 > Subject: [PATCH 3/3] gnu: packages: linphone: Add bcunit ^ You can drop the 'packages: linphone:' part and add a dot. > > * gnu/packages/linphone.scm (bcunit): New variable. > --- > gnu/packages/linphone.scm | 38 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm > index 35c9ec955f..974fc62792 100644 > --- a/gnu/packages/linphone.scm > +++ b/gnu/packages/linphone.scm > @@ -20,6 +20,7 @@ > (define-module (gnu packages linphone) > #:use-module (gnu packages) > #:use-module (gnu packages base) > + #:use-module (gnu packages ncurses) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix packages) > #:use-module (guix download) > @@ -28,3 +29,40 @@ > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > #:use-module (guix build-system qt)) > + > +(define-public bcunit > + (package > + (name "bcunit") > + (version "3.0.2") > + (source > + (origin > + (method url-fetch) > + (uri > + (string-append "https://www.linphone.org/releases/sources/" name > + "/" name "-" version ".tar.gz")) > + (sha256 > + (base32 "0ylchj8w98ic2fkqpxc6yk4s6s0h0ql2zsz5n49jd7126m4h8dqk")))) > + (build-system cmake-build-system) > + (arguments > + '(#:tests? #f ; No test target > + #:configure-flags > + (list > + "-DENABLE_SHARED=YES" > + "-DENABLE_STATIC=YES" > + "-DENABLE_AUTOMATED=ON" > + "-DENABLE_BASIC=ON" > + "-DENABLE_CONSOLE=ON" > + "-DENABLE_CURSES=ON" > + "-DENABLE_DOC=ON" > + "-DENABLE_EXAMPLES=ON" > + "-DENABLE_TEST=OFF" ; Undefined reference to CU_trace_handler > + "-DENABLE_MEMTRACE=ON" > + "-DENABLE_DEPRECATED=OFF"))) ; Not required Please only activate the switches which need to be activated (let's not repeat the default values to keep the noise level/verbosity as low as possible). You can usually see the defaults by inspecting the CMakeLists.txt file at the root of the project. > + (inputs > + `(("curses" ,ncurses))) > + (synopsis "Belledonne Communications Unit Testing Framework") > + (description "BCUnit is a fork of the defunct project CUnit, > +with several fixes and patches applied. It is an unit testing ^ a > +framework for writing, administering, and running unit tests in C.") > + (home-page "https://gitlab.linphone.org/BC/public/bcunit") > + (license license:lgpl2.0+))) The first 3 commits of this series should be squashed together. Also, please run the indent-code.el script for proper indentation. Thank you! Maxim