unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Raghav Gururajan" <raghavgururajan@disroot.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: Linphone
Date: Sat, 28 Mar 2020 22:42:16 +0000	[thread overview]
Message-ID: <1ab853c60e805266003743f92c1121e6@disroot.org> (raw)
In-Reply-To: <6457c456a7cefddbeb1c1a2985a0dae1@disroot.org>

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

Hi Maxim!

>> Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The
>> more VoIP options we have on the table in the times we're in, the better
>> :-). If you have more issues, do reach out, and I'll see if I can lend a
>> hand.
> 
> Danny's idea fixed it. It was a typo inside the source code.
> 
> Sure, I will keep you posted. I have started to send my Linphone patches
> (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40264). I will ping you if I gett stuck with
> something. :-)

I ran into trouble with belle-sip. Would you be able to help with that? I have attached the package definition of belle-sip, along with libantlr3c patch, with this email.

Regards,
RG.

[-- Attachment #2: belle-sip.scm --]
[-- Type: application/octet-stream, Size: 1163 bytes --]

(define-public belle-sip
 (package
  (name "belle-sip")
   (version "1.6.3")
   (source
    (origin
     (method url-fetch)
     (uri
      (string-append "https://www.linphone.org/releases/sources/" name
                     "/" name "-" version ".tar.gz"))
     (sha256
      (base32 "0s55kggmgxap54dkw5856bgk4xg7yvbzialpxnjm0zhpic3hff1z"))))
 (build-system cmake-build-system)
 (arguments
  `(#:configure-flags
     (list
      "-DENABLE_SHARED=YES"
      "-DENABLE_STATIC=YES"
      "-DENABLE_RTP_MAP_ALWAYS_IN_SDP=ON"
      "-DENABLE_STRICT=YES"
      "-DENABLE_TUNNEL=OFF" ; Not available
      "-DENABLE_TESTS=ON")))
 (inputs
  `(("antlr3" ,antlr3-3.1)
    ("antlr3c" ,libantlr3c)
    ("threads" ,pth)
    ("java" ,icedtea)
    ("zlib" ,zlib)))
 (propagated-inputs
  `(("bctoolbox" ,bctoolbox)))
 (synopsis "Belledonne Communications SIP Library")
 (description "Belle-sip is a modern library implementing SIP transport,
transaction and dialog layers.  It is written in C, with an object-oriented
API.  It also comprises a simple HTTP/HTTPS client implementation.")
 (home-page "https://gitlab.linphone.org/BC/public/belle-sip")
 (license license:gpl3+)))

[-- Attachment #3: libantlr3c.patch --]
[-- Type: application/octet-stream, Size: 1514 bytes --]

From 791e2392aaa9a3202db90c1e50340c38bd001504 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sat, 28 Mar 2020 14:21:35 -0400
Subject: [PATCH 6/6] gnu: packages: java: Add libantlr3c

* gnu/packages/java.scm (libantlr3c): New variable.
---
 gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5154dc124e..400ef8795e 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -105,6 +105,35 @@
 ;; build framework.  We then build the more recent JDKs Icedtea 2.x and
 ;; Icedtea 3.x.
 
+(define-public libantlr3c
+ (package
+  (name "libantlr3c")
+   (version "3.4")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      (string-append "https://www.antlr3.org/download/C/"
+                     name "-" version ".tar.gz"))
+     (sha256
+      (base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"))))
+ (build-system gnu-build-system)
+ (arguments
+  `(#:configure-flags
+    (list
+     "--enable-debuginfo"
+     "--enable-64bit"
+     "--enable-abiflags"
+     "--enable-antlrdebug"
+     "--enable-shared"
+     "--enable-static"
+     "--enable-fast-install")))
+ (synopsis "ANTLR C Library")
+ (description "LIBANTLR3C provides run-time C libraries for ANTLR3
+(ANother Tool for Language Recognition v3).")
+ (home-page "https://www.antlr3.org/")
+ (license license:bsd-3)))
+
 (define jikes
   (package
     (name "jikes")
-- 
2.26.0


  parent reply	other threads:[~2020-03-28 22:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 18:34 Linphone Raghav Gururajan
2020-03-25 22:04 ` Linphone Ricardo Wurmus
2020-03-28  0:55   ` Linphone Maxim Cournoyer
2020-03-28  1:42   ` Linphone Raghav Gururajan
2020-03-28 22:42   ` Raghav Gururajan [this message]
2020-03-29  6:44     ` Linphone Ricardo Wurmus
2020-03-29  6:54     ` Linphone Raghav Gururajan
2020-03-30  1:29     ` Linphone Raghav Gururajan
2020-03-31 15:18     ` Linphone Raghav Gururajan
2020-04-02 16:44     ` Linphone Raghav Gururajan
2020-04-02 20:57     ` Linphone Raghav Gururajan
2020-04-02 23:33     ` Linphone Raghav Gururajan
2020-04-03 23:51     ` Linphone Raghav Gururajan
2020-03-25 22:29 ` Linphone Danny Milosavljevic
2020-03-25 22:42   ` Linphone Danny Milosavljevic
2020-03-25 22:48   ` Linphone Danny Milosavljevic
2020-03-26 12:47   ` Linphone Raghav Gururajan
2020-03-26 14:17     ` Linphone Danny Milosavljevic
2020-03-26 14:24     ` Linphone Raghav Gururajan
2020-03-26 17:53     ` Linphone Raghav Gururajan
2020-03-26 19:24       ` Linphone Danny Milosavljevic
2020-03-26 19:28       ` Linphone Raghav Gururajan
2020-03-26 21:53       ` Linphone Raghav Gururajan
2020-03-25 22:43 ` Linphone Danny Milosavljevic
2020-03-26 12:27 ` Linphone Raghav Gururajan
2020-03-26 13:30   ` Linphone Ricardo Wurmus
2020-03-26 13:35   ` Linphone Raghav Gururajan
2020-03-26 12:40 ` Linphone Raghav Gururajan

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=1ab853c60e805266003743f92c1121e6@disroot.org \
    --to=raghavgururajan@disroot.org \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rekado@elephly.net \
    /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).