From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: Packaging Jitsi SIP Communicator Date: Wed, 08 Nov 2017 15:01:32 +1100 Message-ID: <87vail5sgz.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCHYc-0001Vh-TT for guix-devel@gnu.org; Tue, 07 Nov 2017 23:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCHYY-00065k-Ge for guix-devel@gnu.org; Tue, 07 Nov 2017 23:01:42 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53267) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCHYY-00065g-0q for guix-devel@gnu.org; Tue, 07 Nov 2017 23:01:38 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E29C520EE8 for ; Tue, 7 Nov 2017 23:01:35 -0500 (EST) Received: from Marseille (203-214-132-4.perm.iinet.net.au [203.214.132.4]) by mail.messagingengine.com (Postfix) with ESMTPA id F16D32489B for ; Tue, 7 Nov 2017 23:01:34 -0500 (EST) 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Folks, I'm having some trouble packaging Jitsi (a VoIP client written in Java). The attached patch adds the package "jitsi", which completes the "build" phase, but fails as below. Ignoring for now that Jitsi is bundling a whole lot of dependencies, can someone help me understand what’s going on: phase `build' succeeded after 45.3 seconds starting phase `check' test suite not run phase `check' succeeded after 0.0 seconds starting phase `strip-jar-timestamps' find-files: /gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10: No such file or directory phase `strip-jar-timestamps' succeeded after 0.0 seconds starting phase `patch-shebangs' phase `patch-shebangs' succeeded after 0.0 seconds starting phase `strip' phase `strip' succeeded after 0.0 seconds starting phase `validate-runpath' phase `validate-runpath' succeeded after 0.0 seconds starting phase `validate-documentation-location' phase `validate-documentation-location' succeeded after 0.0 seconds starting phase `delete-info-dir-file' phase `delete-info-dir-file' succeeded after 0.0 seconds starting phase `patch-dot-desktop-files' phase `patch-dot-desktop-files' succeeded after 0.0 seconds starting phase `reset-gzip-timestamps' find-files: /gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10: No such file or directory phase `reset-gzip-timestamps' succeeded after 0.0 seconds starting phase `compress-documentation' phase `compress-documentation' succeeded after 0.0 seconds builder for `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' failed to produce output path `/gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10' @ build-failed /gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv - 1 builder for `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' failed to produce output path `/gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10' note: keeping build directory `/tmp/guix-build-jitsi-2.10.drv-0' guix build: error: build failed: build of `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' failed Regards, Ben -- Ben Sturmfels Sturm - Software Engineering www.sturm.com.au (03) 9024 2467 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-jitsi.patch >From cb542979e51de26bac77d21e2ca4860dc5980641 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 8 Nov 2017 14:51:36 +1100 Subject: [PATCH] gnu: Add jitsi. * gnu/packages/telephony.scm (jitsi): New variable. --- gnu/packages/telephony.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 5df5e9e4a..d8f40572a 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -432,3 +432,34 @@ Mumble consists of two applications for separate usage: (license (list license:bsd-3 ;; The bundled celt is bsd-2. Remove after 1.3.0. license:bsd-2)))) + +(define-public jitsi + (package + (name "jitsi") + (version "2.10") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jitsi/jitsi/archive/Jitsi-" version ".tar.gz")) + (sha256 + (base32 + "1waahfk9306nxqzpp1cng0dxlk0p7xi8j7x47z1r9jrhzvfpk80k")))) + (build-system ant-build-system) + (arguments + `(#:build-target "make" ;; Build works fine. + #:test-target "test" + #:tests? #f ; Fails with "../accounts.properties not found". + ;; Not completely sure how to install and run the program. When it's + ;; running on Trisquel, `ps` says the command is: + ;; + ;; /usr/bin/java -classpath /usr/share/jitsi/lib/felix.jar:/usr/share/jitsi/sc-bundles/dnsjava.jar:/usr/share/jitsi/sc-bundles/sc-launcher.jar:/usr/share/jitsi/sc-bundles/util.jar:/usr/share/jitsi/lib -Djna.library.path=/usr/share/jitsi/lib/native -Dfelix.config.properties=file:/usr/share/jitsi/lib/felix.client.run.properties -Djava.util.logging.config.file=/usr/share/jitsi/lib/logging.properties -splash:splash.gif -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi net.java.sip.communicator.launcher.SIPCommunicator + #:main-class "net.java.sip.communicator" + #:phases + (modify-phases %standard-phases + (delete 'install)))) + (home-page "https://desktop.jitsi.org/") + (synopsis "VoIP and Instant Messaging client") + (description "Jitsi is an application that allows you to have audio/video +conversations over the Internet through the SIP and XMPP/Jabber protocols, as +well as chat with your friends using popular instant messaging protocols +including SIP/SIMPLE, XMPP/Jabber, AIM/ICQ and IRC.") + (license license:asl2.0))) -- 2.14.2 --=-=-=--