From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Packaging Jami (ex GNU Ring) Date: Thu, 10 Jan 2019 06:41:57 +0100 Message-ID: <7d85f03f-96c3-11c6-92a4-00aaa893f6a8@riseup.net> References: <87imyy5i66.fsf@ambrevar.xyz> <875zuxg9ey.fsf@ngyro.com> <874lah6bll.fsf@ambrevar.xyz> <871s5lg1cr.fsf@ngyro.com> <871s5l66t7.fsf@ambrevar.xyz> <87zhs94s1d.fsf@ambrevar.xyz> <47E030C8-D2FD-4939-A2F2-C7C4EF068FC8@pretty.Easy.privacy> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghSzo-0006Fg-PC for guix-devel@gnu.org; Thu, 10 Jan 2019 00:35:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghSzn-0003XH-Sl for guix-devel@gnu.org; Thu, 10 Jan 2019 00:35:12 -0500 Received: from mx1.riseup.net ([198.252.153.129]:34152) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghSzn-0003WV-IB for guix-devel@gnu.org; Thu, 10 Jan 2019 00:35:11 -0500 In-Reply-To: <47E030C8-D2FD-4939-A2F2-C7C4EF068FC8@pretty.Easy.privacy> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt , Timothy Sample Cc: Guix-devel On 2019-01-10 05:17, swedebugia wrote: > Pierre Neidhardt skrev: (9 januari 2019 19:14:38 CET) > > Jami is made of 3 packages and might drag in 2-3 packages that > so far are not used by any other package. > > General question: where should those packages go? > > - ring.scm > - jami.scm > - telephony.scm > > ? > > > Hi Pierre. > I think we should put this into a new file voip.scm. > > I started packaging qual (qual.net) yesterday as a challenge and it > bundles pjsip aka pjproject. > > Would you like my definition of it so far? Here it comes: (define-public pjproject (package (name "pjproject") (version "2.8") (source (origin (method url-fetch) (uri (string-append "http://www.pjsip.org/release/" version "/" name "-" version ".tar.gz")) (file-name (string-append name "-" version)) (sha256 (base32 "0ybg0113rp3fk49rm2v0pcgqb28h3dv1pdy9594w2ggiz7bhngah")))) (build-system gnu-build-system) (native-inputs ;; TODO pulls in qtbase. Avoid that if possible as this is a library. ;; * opencore-amr (for the AMR-NB decoder and encoder and the ;; AMR-WB decoder) ;;("opencore-amr" ,opencore-amr) ;; * libvo-amrwbenc `(("python" ,python) ("sdl2" ,sdl2) ("gnutls" ,gnutls) ("openssl" ,openssl) ("libvpx" ,libvpx) ("speex" ,speex) ("opus" ,opus) ("ffmpeg" ,ffmpeg) ("alsa-lib" ,alsa-lib) ("v4l-utils" ,v4l-utils) ("pkg-config" ,pkg-config) ("util-linux" ,util-linux))) ;uuid ;; Configure checks for SILK decoder. It is old and superseeded by OPUS so we ignore it. (arguments '(#:configure-flags '("") ; None needed, it finds everything automatically :D #:tests? #f)) ; No tests. (home-page "http://www.pjsip.org") (synopsis "") (description "") (license license:gpl2+))) -- Cheers Swedebugia