unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: swedebugia <swedebugia@riseup.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Packaging Jami (ex GNU Ring)
Date: Thu, 10 Jan 2019 21:13:08 +0100	[thread overview]
Message-ID: <87imywcluz.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87h8eg4pll.fsf@ambrevar.xyz>


> Now I'm onto pjproject.  I'll publish my work later today and if I get stuck
> then everyone is welcome to look into it :D

OK, I'm making progress.  I've pushed some updates on master.

So basically all we need at this stage, I think, is a
an up-to-date, patched definition of pjproject.

The patches are available there:
https://git.ring.cx/savoirfairelinux/ring-daemon/tree/master/contrib/src/pjproject

Lukas, Adonay and Tim have worked on it already, but it needs to be fixed and updated.

Then the following libring definition should do:

--8<---------------cut here---------------start------------->8---
(define-public libring
  (let ((pj-version "2.7.2"))
    (package
      (name "libring")
      (version "20190108.1.8659b2c")
      (source
       (origin
         (method url-fetch)
         (uri (string-append "http://dl.ring.cx/ring-release/tarballs/ring_"
                             version
                             ".tar.gz"))
         (modules '((guix build utils)))
         (snippet
          '(begin
             (delete-file-recursively "daemon/contrib")))
         (sha256
          (base32
           "1kvkxxwfl5wh9jrd0v8nbgdby8afg4w6allp1aww2a6xl4q7lwxf"))))
      (build-system gnu-build-system)
      (inputs
       ;; From https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ring-daemon,
       ;; 'libnatpmp', 'expat' might be missing.
       `(("alsa-lib" ,alsa-lib)
         ("boost" ,boost)
         ("dbus-c++" ,dbus-c++)
         ("eudev" ,eudev)
         ("ffmpeg" ,ffmpeg)
         ("flac" ,flac)
         ("gmp" ,gmp)
         ("gsm" ,gsm)
         ("jack" ,jack-1)
         ("jsoncpp" ,jsoncpp)
         ("libogg" ,libogg)
         ("libva" ,libva)
         ("opendht" ,opendht)
         ("opus" ,opus)
         ("pcre" ,pcre)
         ("pulseaudio" ,pulseaudio)
         ("libsamplerate" ,libsamplerate)
         ("libsndfile" ,libsndfile)
         ("speex" ,speex)
         ("speexdsp" ,speexdsp)
         ("libupnp" ,libupnp)
         ("libvorbis" ,libvorbis)
         ("libx264" ,libx264)
         ("libvdpau" ,libvdpau)
         ("yaml-cpp" ,yaml-cpp)
         ("zlib" ,zlib)
         ;; TODO: These were added by adfeno here for now, please fix this if
         ;; this isn't the right place for them,
         ;; ("crypto++" ,crypto++)
         ;; ("gnutls" ,gnutls)
         ("openssl" ,openssl)
         ("libsecp256k1" ,libsecp256k1)
         ("python" ,python)
         ("python-wrapper" ,python-wrapper)
         ("restbed" ,restbed)
         ("libx11" ,libx11)
         ;; TODO: Upstream seems to rely on a custom pjproject (a.k.a. pjsip) version.
         ;; See https://git.ring.cx/savoirfairelinux/ring-daemon/issues/24.
         ("pjproject" ,pjproject-jami)))
      (native-inputs
       `(("autoconf" ,autoconf)
         ("automake" ,automake)
         ("libtool" ,libtool)
         ("pkg-config" ,pkg-config)
         ("which" ,which)
         ("cppunit" ,cppunit)
         ("perl" ,perl)))               ; Needed for documentation.
      (arguments
       `(#:tests? #f       ; The tests fail to compile due to missing headers.
         #:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'change-directory
             (lambda* (#:key inputs #:allow-other-keys)
               (chdir "daemon")
               #t))
           (add-before 'build 'add-lib-dir
             (lambda _
               (mkdir "src/lib")
               #t)))))
      (synopsis "Distributed multimedia communications platform")
      (description "Ring is a secure and distributed voice, video and chat
communication platform that requires no centralized server and leaves the
power of privacy in the hands of the user.  It supports the SIP and IAX
protocols, as well as decentralized calling using P2P-DHT.

This package provides a library and daemon implementing the Ring core
functionality.")
      (home-page "https://jami.net/")
      (license license:gpl3+))))
--8<---------------cut here---------------end--------------->8---

  reply	other threads:[~2019-01-10 20:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09  8:50 Packaging Jami (ex GNU Ring) Pierre Neidhardt
2019-01-09  8:58 ` Gábor Boskovits
2019-01-09  9:03   ` Pierre Neidhardt
2019-01-09 15:03 ` Timothy Sample
2019-01-09 16:26   ` Pierre Neidhardt
2019-01-09 17:57     ` Timothy Sample
2019-01-09 18:10       ` Pierre Neidhardt
2019-01-09 18:14         ` Pierre Neidhardt
2019-01-09 19:18           ` Leo Famulari
2019-01-09 20:05             ` Pierre Neidhardt
2019-01-10 12:18               ` Maxim Cournoyer
2019-01-10 12:55                 ` Pierre Neidhardt
2019-01-10  4:17           ` swedebugia
2019-01-10  5:41             ` swedebugia
2019-01-10  9:08               ` Pierre Neidhardt
2019-01-10  9:10               ` Pierre Neidhardt
2019-01-10 13:13                 ` swedebugia
2019-01-10 13:19                   ` Pierre Neidhardt
2019-01-10 20:13                     ` Pierre Neidhardt [this message]
2019-01-11 15:02                     ` swedebugia
2019-01-11 17:43                       ` Pierre Neidhardt
2019-01-11 18:32                         ` Pierre Neidhardt
2019-01-11 18:53                           ` Pierre Neidhardt
2019-01-11 20:10                             ` Pierre Neidhardt

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=87imywcluz.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    --cc=swedebugia@riseup.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).