From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 24 15:40:33 2022 Received: (at submit) by debbugs.gnu.org; 24 Feb 2022 20:40:33 +0000 Received: from localhost ([127.0.0.1]:50537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNKue-00030l-M9 for submit@debbugs.gnu.org; Thu, 24 Feb 2022 15:40:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:36900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNKud-00030e-KX for submit@debbugs.gnu.org; Thu, 24 Feb 2022 15:40:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNKud-0004rA-DW for guix-patches@gnu.org; Thu, 24 Feb 2022 15:40:31 -0500 Received: from cyberdimension.org ([80.67.179.20]:33698 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1nNKua-0006eN-Be for guix-patches@gnu.org; Thu, 24 Feb 2022 15:40:30 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id ac2a5e76; Thu, 24 Feb 2022 20:39:24 +0000 (UTC) Received: from primarylaptop.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 111ac028; Thu, 24 Feb 2022 20:39:24 +0000 (UTC) From: Denis 'GNUtoo' Carikli To: guix-patches@gnu.org Subject: [PATCH] gnu: matterbridge: update to 1.24.0 Date: Thu, 24 Feb 2022 21:40:48 +0100 Message-Id: <20220224204048.25280-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Denis 'GNUtoo' Carikli X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/messaging.scm (matterbridge): Update to 1.24.0. Signed-off-by: Denis 'GNUtoo' Carikli --- gnu/packages/messaging.scm | 59 ++++++++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 779d37fdd7..d23ec998db 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3109,23 +3109,52 @@ (define-public zulip-term (define-public matterbridge (package (name "matterbridge") - (version "1.22.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/42wim/matterbridge") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "07rgdc4v043fhzsalmlhickqizk6xjlpjkzn6l5v9ryp5gmv580z")))) - (build-system go-build-system) + (version "1.24.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/42wim/matterbridge") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cd70x9685162c0imdici1ipl9lziq700wzyb5bsg610wfak3ms7")))) + ;; Using the go-build-system results in the same error message + ;; than in the bug 1551[1]. So we fix it by running go build + ;; manually in the git repository as-is as this is the solution + ;; given to that bug by the matterbridge developers. + ;; [1]https://github.com/42wim/matterbridge/issues/1551 + (build-system gnu-build-system) (arguments - `(#:import-path "github.com/42wim/matterbridge" - #:unpack-path "github.com/42wim/matterbridge")) + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (setenv "GOCACHE" + (string-append (getcwd) "/go-build")) + (setenv "GOBIN" + (string-append (assoc-ref %outputs "out") "/bin")) + (invoke "go" "build" "-v" "-x"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "GOCACHE" + (string-append (getcwd) "/go-build")) + (setenv "GOBIN" + (string-append (assoc-ref %outputs "out") + "/bin")) + (invoke "go" "test" "-v" "-x")))) + (replace 'install + (lambda _ + (setenv "GOCACHE" + (string-append (getcwd) "/go-build")) + (setenv "GOBIN" + (string-append (assoc-ref %outputs "out") "/bin")) + (invoke "go" "install" "-v" "-x")))))) + (native-inputs (list go)) (synopsis "Bridge together various messaging networks and protocols") - (description "Relays messages between different channels from various + (description + "Relays messages between different channels from various messaging networks and protocols. So far it supports mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST -- 2.35.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 16 10:43:33 2022 Received: (at 54148-done) by debbugs.gnu.org; 16 Mar 2022 14:43:33 +0000 Received: from localhost ([127.0.0.1]:51986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUUs8-0007HR-Ra for submit@debbugs.gnu.org; Wed, 16 Mar 2022 10:43:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUUs7-0007HD-4A for 54148-done@debbugs.gnu.org; Wed, 16 Mar 2022 10:43:31 -0400 Received: from [2001:470:142:3::e] (port=33100 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUs1-0001IR-HX; Wed, 16 Mar 2022 10:43:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=A4LdCpkcSFNKtGERutgNDy7qviwLqZFqblxR0kf2ixE=; b=LtU4Gu0SYxjwe7DtpdUB bSJ+EfYrMnU4rxVLOm+sAZygrzjueKhb7iR9SsXoYsslwV/OcEK8jWWHFI0kM+Deq0Lg067AjKxKj 5PhKxax6YJzQTssYKUceqnAx58SKuMBISdTs3g0Yc+05sP6L4udWftODnHUUmDdYLN8/AHwQs0/2m nff9DjEfIBS1r6gYq74sTIFPuE9RcOQAozy7+KL6z1Ibj0iwxry9x5XZBXbnlM9KOMszfPrc9FGgI ScNdtSkbQ+dzKntBrscG6BJI5+zPIbiI/BxRoQ1y4uWcBR09Th5YvTxrOqvH81zolx0gZw/33cA9X 1JBDXcsNHBCZgA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59687 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUs1-0005qG-01; Wed, 16 Mar 2022 10:43:25 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Denis 'GNUtoo' Carikli Subject: Re: bug#54148: [PATCH] gnu: matterbridge: update to 1.24.0 References: <20220224204048.25280-1-GNUtoo@cyberdimension.org> Date: Wed, 16 Mar 2022 15:43:22 +0100 In-Reply-To: <20220224204048.25280-1-GNUtoo@cyberdimension.org> (Denis Carikli's message of "Thu, 24 Feb 2022 21:40:48 +0100") Message-ID: <8735jidkl1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54148-done Cc: 54148-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Denis 'GNUtoo' Carikli skribis: > * gnu/packages/messaging.scm (matterbridge): Update to 1.24.0. > > Signed-off-by: Denis 'GNUtoo' Carikli Applied with the minor tweaks below (referring to the phase parameters instead of the =E2=80=98%outputs=E2=80=99 global variable), thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 6283db02bf..f78719575a 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3128,27 +3128,27 @@ (define-public matterbridge `(#:phases (modify-phases %standard-phases (delete 'configure) (replace 'build - (lambda _ + (lambda* (#:key outputs #:allow-other-keys) (setenv "GOCACHE" (string-append (getcwd) "/go-build")) (setenv "GOBIN" - (string-append (assoc-ref %outputs "out") "/bin")) + (string-append (assoc-ref outputs "out") "/bin")) (invoke "go" "build" "-v" "-x"))) (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key outputs tests? #:allow-other-keys) (when tests? (setenv "GOCACHE" (string-append (getcwd) "/go-build")) (setenv "GOBIN" - (string-append (assoc-ref %outputs "out") + (string-append (assoc-ref outputs "out") "/bin")) (invoke "go" "test" "-v" "-x")))) (replace 'install - (lambda _ + (lambda* (#:key outputs #:allow-other-keys) (setenv "GOCACHE" (string-append (getcwd) "/go-build")) (setenv "GOBIN" - (string-append (assoc-ref %outputs "out") "/bin")) + (string-append (assoc-ref outputs "out") "/bin")) (invoke "go" "install" "-v" "-x")))))) (native-inputs (list go)) (synopsis "Bridge together various messaging networks and protocols") --=-=-=-- From unknown Sat Jun 14 14:27:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Apr 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator