From unknown Sun Jun 22 01:00:15 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42040] [PATCH] gnu: mumble: Fix mumble-overlay. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jun 2020 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42040@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159309293520353 (code B ref -1); Thu, 25 Jun 2020 13:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2020 13:48:55 +0000 Received: from localhost ([127.0.0.1]:39946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joSFL-0005ID-0e for submit@debbugs.gnu.org; Thu, 25 Jun 2020 09:48:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:40442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joSFJ-0005I5-F8 for submit@debbugs.gnu.org; Thu, 25 Jun 2020 09:48:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joSFI-0004jw-Sr for guix-patches@gnu.org; Thu, 25 Jun 2020 09:48:53 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joSFG-0004N7-3V for guix-patches@gnu.org; Thu, 25 Jun 2020 09:48:52 -0400 Received: from localhost.localdomain (193-83-245-58.hdsl.highway.telekom.at [193.83.245.58]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49t1ZG1bDwz3wHN for ; Thu, 25 Jun 2020 15:48:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1593092918; bh=g/32+/X2jbq2g6y7Y1Q+X2YZlmI2mIwg8wH+4giXFZI=; h=From:To:Subject:Date; b=VafffLuBryVAbPw0DO/5ZNHStVXIV4WTK6UX1GW1C3Sh3n5jwHoDLuUYAVJs5gPKs b6QfO7qOD0g3Vh0WO6hMr2TA3NrvCGNcKLxsMEnZ/fBWOgj7cGsHi9sOY/+VqLH23K igAExwKk/qLwC+s/J/zyW9MYFxINmHzYZto4HyD8= From: Leo Prikler Date: Thu, 25 Jun 2020 15:46:18 +0200 Message-Id: <20200625134618.13491-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/25 09:48:39 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) The canonical mumble-overlay script searches for libmumble.so.1 in various directories, none of which are relevant in Guix installations and additionally does some work to match the architecture of the library to that of the command that will be executed. This work is unnecessary in Guix and only causes the script to fail, so we instead just hardcode the path. * gnu/packages/telephony.scm (mumble)[#:phases]: Add fix-mumble-overlay. --- gnu/packages/telephony.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 4c84ddc85a..542d36a841 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -588,6 +588,16 @@ address of one of the participants.") (substitute* "src/mumble/Settings.cpp" (("bUsage = true;") "bUsage = false;")) #t)) + (add-before 'configure 'fix-mumble-overlay + (lambda* (#:key outputs #:allow-other-keys) + (with-output-to-file "scripts/mumble-overlay" + (lambda () + (format #t "#!~a~%" (which "bash")) + (format #t "export LD_PRELOAD=\"~a $LD_PRELOAD\"~%" + (string-append (assoc-ref outputs "out") + "/lib/mumble/libmumble.so.1")) + (format #t "exec \"${@}\""))) + #t)) (add-before 'install 'disable-murmur-ice (lambda _ (substitute* "scripts/murmur.ini.system" -- 2.26.2 From unknown Sun Jun 22 01:00:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo Prikler Subject: bug#42040: closed (Re: [bug#42040] [PATCH] gnu: mumble: Fix mumble-overlay.) Message-ID: References: <87wo3qevru.fsf@gnu.org> <20200625134618.13491-1-leo.prikler@student.tugraz.at> X-Gnu-PR-Message: they-closed 42040 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42040@debbugs.gnu.org Date: Sun, 28 Jun 2020 21:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1593379022-9540-1" This is a multi-part message in MIME format... ------------=_1593379022-9540-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42040: [PATCH] gnu: mumble: Fix mumble-overlay. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42040@debbugs.gnu.org. --=20 42040: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42040 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1593379022-9540-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42040-done) by debbugs.gnu.org; 28 Jun 2020 21:16:33 +0000 Received: from localhost ([127.0.0.1]:47079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpefB-0002T1-JM for submit@debbugs.gnu.org; Sun, 28 Jun 2020 17:16:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpef7-0002Sj-Qh for 42040-done@debbugs.gnu.org; Sun, 28 Jun 2020 17:16:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpef1-0003Pj-2H; Sun, 28 Jun 2020 17:16:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42246 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jpef0-0006xN-JX; Sun, 28 Jun 2020 17:16:22 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Prikler Subject: Re: [bug#42040] [PATCH] gnu: mumble: Fix mumble-overlay. References: <20200625134618.13491-1-leo.prikler@student.tugraz.at> Date: Sun, 28 Jun 2020 23:16:21 +0200 In-Reply-To: <20200625134618.13491-1-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Thu, 25 Jun 2020 15:46:18 +0200") Message-ID: <87wo3qevru.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42040-done Cc: 42040-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 (---) Hi, Leo Prikler skribis: > The canonical mumble-overlay script searches for libmumble.so.1 in various > directories, none of which are relevant in Guix installations and > additionally does some work to match the architecture of the library to t= hat > of the command that will be executed. > This work is unnecessary in Guix and only causes the script to fail, so we > instead just hardcode the path. > > * gnu/packages/telephony.scm (mumble)[#:phases]: Add fix-mumble-overlay. Applied, thanks! The original =E2=80=98script/mumble-overlay=E2=80=99 script is surprisingly= complex. Ludo=E2=80=99. ------------=_1593379022-9540-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jun 2020 13:48:55 +0000 Received: from localhost ([127.0.0.1]:39946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joSFL-0005ID-0e for submit@debbugs.gnu.org; Thu, 25 Jun 2020 09:48:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:40442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joSFJ-0005I5-F8 for submit@debbugs.gnu.org; Thu, 25 Jun 2020 09:48:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joSFI-0004jw-Sr for guix-patches@gnu.org; Thu, 25 Jun 2020 09:48:53 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joSFG-0004N7-3V for guix-patches@gnu.org; Thu, 25 Jun 2020 09:48:52 -0400 Received: from localhost.localdomain (193-83-245-58.hdsl.highway.telekom.at [193.83.245.58]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49t1ZG1bDwz3wHN for ; Thu, 25 Jun 2020 15:48:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1593092918; bh=g/32+/X2jbq2g6y7Y1Q+X2YZlmI2mIwg8wH+4giXFZI=; h=From:To:Subject:Date; b=VafffLuBryVAbPw0DO/5ZNHStVXIV4WTK6UX1GW1C3Sh3n5jwHoDLuUYAVJs5gPKs b6QfO7qOD0g3Vh0WO6hMr2TA3NrvCGNcKLxsMEnZ/fBWOgj7cGsHi9sOY/+VqLH23K igAExwKk/qLwC+s/J/zyW9MYFxINmHzYZto4HyD8= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH] gnu: mumble: Fix mumble-overlay. Date: Thu, 25 Jun 2020 15:46:18 +0200 Message-Id: <20200625134618.13491-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/25 09:48:39 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) The canonical mumble-overlay script searches for libmumble.so.1 in various directories, none of which are relevant in Guix installations and additionally does some work to match the architecture of the library to that of the command that will be executed. This work is unnecessary in Guix and only causes the script to fail, so we instead just hardcode the path. * gnu/packages/telephony.scm (mumble)[#:phases]: Add fix-mumble-overlay. --- gnu/packages/telephony.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 4c84ddc85a..542d36a841 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -588,6 +588,16 @@ address of one of the participants.") (substitute* "src/mumble/Settings.cpp" (("bUsage = true;") "bUsage = false;")) #t)) + (add-before 'configure 'fix-mumble-overlay + (lambda* (#:key outputs #:allow-other-keys) + (with-output-to-file "scripts/mumble-overlay" + (lambda () + (format #t "#!~a~%" (which "bash")) + (format #t "export LD_PRELOAD=\"~a $LD_PRELOAD\"~%" + (string-append (assoc-ref outputs "out") + "/lib/mumble/libmumble.so.1")) + (format #t "exec \"${@}\""))) + #t)) (add-before 'install 'disable-murmur-ice (lambda _ (substitute* "scripts/murmur.ini.system" -- 2.26.2 ------------=_1593379022-9540-1--