From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: [PATCH 2/2] gnu: gajim: Update to 0.16.6. Date: Thu, 20 Oct 2016 16:32:37 +0530 Message-ID: <20161020110237.11585-2-arunisaac@systemreboot.net> References: <20161019172555.GE8998@jasmine> <20161020110237.11585-1-arunisaac@systemreboot.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxB7q-0000kX-H1 for guix-devel@gnu.org; Thu, 20 Oct 2016 07:03:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxB7n-0006ob-UF for guix-devel@gnu.org; Thu, 20 Oct 2016 07:03:06 -0400 Received: from [117.218.232.8] (port=36708 helo=systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxB7n-0006ni-CB for guix-devel@gnu.org; Thu, 20 Oct 2016 07:03:03 -0400 In-Reply-To: <20161020110237.11585-1-arunisaac@systemreboot.net> 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 * gnu/packages/messaging.scm (gajim): Update to 0.16.6. --- gnu/packages/messaging.scm | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index f5a8c4a..4ce7310 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -452,7 +452,7 @@ was initially a fork of xmpppy, but is using non-blocking sockets.") (define-public gajim (package (name "gajim") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (string-append "https://gajim.org/downloads/" @@ -460,34 +460,27 @@ was initially a fork of xmpppy, but is using non-blocking sockets.") "/gajim-" version ".tar.bz2")) (sha256 (base32 - "14fhcqnkqygh91132dnf1idayj4r3iqbwb44sd3mxv20n6ribh55")))) + "1p3qwzy07f0wkika9yigyiq167l2k6wn12flqa7x55z4ihbysmqk")))) (build-system gnu-build-system) (arguments - `(;; The only check done by gajim-0.16.x is to check that the - ;; translations are up-to-date, and in 0.16.5 they are not, so - ;; "make check" fails. Therefore, we disable tests for now. - ;; - ;; XXX TODO Try re-enabling tests in gajim-0.16.6 or later. - ;; - #:tests? #f - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'install 'wrap-program - (lambda* (#:key outputs #:allow-other-keys) - ;; Make sure all Python scripts run with the correct PYTHONPATH. - (let ((out (assoc-ref outputs "out")) - (path (getenv "PYTHONPATH"))) - (for-each (lambda (name) - (let ((file (string-append out "/bin/" name))) - ;; Wrapping destroys identification of intended - ;; application, so we need to override "APP". - (substitute* file - (("APP=`basename \\$0`") - (string-append "APP=" name))) - (wrap-program file - `("PYTHONPATH" ":" prefix (,path))))) - '("gajim" "gajim-remote" "gajim-history-manager"))) - #t))))) + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure all Python scripts run with the correct PYTHONPATH. + (let ((out (assoc-ref outputs "out")) + (path (getenv "PYTHONPATH"))) + (for-each (lambda (name) + (let ((file (string-append out "/bin/" name))) + ;; Wrapping destroys identification of intended + ;; application, so we need to override "APP". + (substitute* file + (("APP=`basename \\$0`") + (string-append "APP=" name))) + (wrap-program file + `("PYTHONPATH" ":" prefix (,path))))) + '("gajim" "gajim-remote" "gajim-history-manager"))) + #t))))) (native-inputs `(("intltool" ,intltool))) (propagated-inputs -- 2.10.1