unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Raghav Gururajan" <raghavgururajan@disroot.org>
To: Leo Famulari <leo@famulari.name>
Cc: 40255@debbugs.gnu.org
Subject: [bug#40255] gnu: packages: linphone: Add bcunit
Date: Fri, 27 Mar 2020 21:28:00 +0000	[thread overview]
Message-ID: <9d27896c1f794ea2163ffe2dd8008baf@disroot.org> (raw)
In-Reply-To: <0888297be99e5015fe9170a606e7c527@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Hi Leo!

Please find the attached patch.

Regards,
RG.

[-- Attachment #2: bcunit.patch --]
[-- Type: application/octet-stream, Size: 2222 bytes --]

From fe32f106ca646c357c958e1b5ebd375b942f4f3c Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Fri, 27 Mar 2020 17:19:45 -0400
Subject: [PATCH 3/3] gnu: packages: linphone: Add bcunit

* 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
+ (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
+framework for writing, administering, and running unit tests in C.")
+ (home-page "https://gitlab.linphone.org/BC/public/bcunit")
+ (license license:lgpl2.0+)))
-- 
2.26.0


      parent reply	other threads:[~2020-03-27 21:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 20:37 [bug#40255] gnu: packages: Create linphone.scm Raghav Gururajan
2020-03-27 20:46 ` Leo Famulari
2020-03-27 20:51 ` Raghav Gururajan
2020-03-27 21:19   ` Leo Famulari
2020-03-27 21:24   ` Raghav Gururajan
2020-03-27 21:28   ` Raghav Gururajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d27896c1f794ea2163ffe2dd8008baf@disroot.org \
    --to=raghavgururajan@disroot.org \
    --cc=40255@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).