From unknown Thu Aug 14 21:49:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63799 <63799@debbugs.gnu.org> To: bug#63799 <63799@debbugs.gnu.org> Subject: Status: [PATCH] gnu: xmobar: Keep xmobar libraries Reply-To: bug#63799 <63799@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:49:29 +0000 retitle 63799 [PATCH] gnu: xmobar: Keep xmobar libraries reassign 63799 guix-patches submitter 63799 Saku Laesvuori severity 63799 normal tag 63799 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 30 03:55:33 2023 Received: (at submit) by debbugs.gnu.org; 30 May 2023 07:55:34 +0000 Received: from localhost ([127.0.0.1]:59986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3uCb-0003pN-Lu for submit@debbugs.gnu.org; Tue, 30 May 2023 03:55:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:52450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3uCZ-0003pG-T9 for submit@debbugs.gnu.org; Tue, 30 May 2023 03:55:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3uCV-0001FF-R9 for guix-patches@gnu.org; Tue, 30 May 2023 03:55:29 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3uCQ-0003Cp-Na for guix-patches@gnu.org; Tue, 30 May 2023 03:55:27 -0400 Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 533A034018E; Tue, 30 May 2023 09:55:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1685433329; bh=fpmPZupJbhiCZ5RWQv5JkFqwOfIVRprW3ZDALULJ7/M=; h=From:To:Cc:Subject:Date; b=cWz8MuFThMLlOwjZrlWIMWKSSd48LwGhvBPd/7RjMqS/D/+kS08KJIzuGXyNMLz6X QO9J3iOaNFzeiaMZ/XDb//7mdWNGST8pkEave8Cc7xBEgJ0wjhYTAVKq6KvG+5lJed BcFZ6j1ljgL8l5kOix6ybuKUAGgK5CAXZH20gOoI= From: Saku Laesvuori To: guix-patches@gnu.org Subject: [PATCH] gnu: xmobar: Keep xmobar libraries Date: Tue, 30 May 2023 10:54:53 +0300 Message-Id: <20230530075453.30789-1-saku@laesvuori.fi> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Saku Laesvuori 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/wm.scm (xmobar)[arguments]: Remove 'remove-libraries phase and enable #:haddock?. --- This patch effectively reverts 6188fe26334, which for some reason dropped the libraries from the xmobar package. I can write a patch adding the libraries in a separate package if that is preferred, but I think xmobar should have it's configuration libraries included just like xmonad has. gnu/packages/wm.scm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index b4e0e51018..d347b12d6d 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -896,13 +896,8 @@ (define-public xmobar libxpm)) (arguments `(#:configure-flags (list "--flags=all_extensions") - ;; Haddock documentation is for the library. - #:haddock? #f #:phases (modify-phases %standard-phases - (add-after 'register 'remove-libraries - (lambda* (#:key outputs #:allow-other-keys) - (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))) (add-before 'build 'patch-test-shebang (lambda* (#:key inputs #:allow-other-keys) (substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs" base-commit: 3807876af4b53babdbc2f1d730e4763ff651f316 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 01 10:36:46 2023 Received: (at 63799) by debbugs.gnu.org; 1 Jul 2023 14:36:46 +0000 Received: from localhost ([127.0.0.1]:58441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFbiQ-0003zS-0T for submit@debbugs.gnu.org; Sat, 01 Jul 2023 10:36:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFbiN-0003zG-D1 for 63799@debbugs.gnu.org; Sat, 01 Jul 2023 10:36:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFbiH-0002zM-Mh; Sat, 01 Jul 2023 10:36:37 -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=7+g5AgCOuOT9QSAE6wqnueVrsqwPA7qUobHn07jzO3Q=; b=WT+3jRBCMj6mBk4RJu4A PfYxPeZAT/iS9Jhx7r8DRFV3uMnvYukjDUsWCvxcDijFIpwIxaiuV/CQ6/ui/sV6jUjeZJNLQOWR2 cslOoUcvuhtKpFiJt8bo1g/ee1cSphrrp2vVaXCOnQD/EIT1nkW9gE+IosrYW3maQqfHuhjvji6E/ LnM/hd+oTk5BKg2u7a+8J5177UODy2yzPKNbWn6LFOk4DKpNPv4OYsm0T1VXEjbH0t5SbTrgl9kCY 2NtAJLIsPzW/znK2hrB+XQ0BSpen0y6XVe4yzAw3r9TU6v2K/ADJrRvnuIbeFffcTEDXDau3ecNlI ry71HpvFDvy92A==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFbiH-00006R-A6; Sat, 01 Jul 2023 10:36:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Saku Laesvuori Subject: Re: bug#63799: [PATCH] gnu: xmobar: Keep xmobar libraries References: <20230530075453.30789-1-saku@laesvuori.fi> Date: Sat, 01 Jul 2023 16:36:35 +0200 In-Reply-To: <20230530075453.30789-1-saku@laesvuori.fi> (Saku Laesvuori's message of "Tue, 30 May 2023 10:54:53 +0300") Message-ID: <87jzvjzojw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: 63799 Cc: 63799@debbugs.gnu.org, Lars-Dominik Braun 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, Saku Laesvuori skribis: > * gnu/packages/wm.scm (xmobar)[arguments]: Remove 'remove-libraries > phase and enable #:haddock?. > --- > This patch effectively reverts 6188fe26334, which for some reason > dropped the libraries from the xmobar package. I can write a patch > adding the libraries in a separate package if that is preferred, but I > think xmobar should have it's configuration libraries included just like > xmonad has. This change (removing libraries) was done as part of . Lars, WDYT of reinstating libraries here? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 01 12:39:19 2023 Received: (at 63799) by debbugs.gnu.org; 1 Jul 2023 16:39:19 +0000 Received: from localhost ([127.0.0.1]:58568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFdd1-000754-5Y for submit@debbugs.gnu.org; Sat, 01 Jul 2023 12:39:19 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:56478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFdcy-00074o-63 for 63799@debbugs.gnu.org; Sat, 01 Jul 2023 12:39:18 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QtdDq6M04z9sV5; Sat, 1 Jul 2023 18:39:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1688229548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LoLpTovD2a5Tzdd/c6DYHNJ/zHF5OWVRxZmxyDWjyMA=; b=sUBdUYGpsL+fMdy0aAC9lM5Ox0LIVOYg2BbLYQx1iiz0EKirUUjnnIAoMPoH3iiyHGs5IA SV/Jju87+5eUmq8gT8KTmR0/Z7+W9Z4RVEzlXsrpkuT1KKUAvIyfQsoGaDK2K9i8eKeXqH JQLPntZJdft6w2IGpVHktPLThkhSBqvhjstt+i/B8ALm9UECKS1MVK+LxcYalhiI8CKWIl XDs33phAcxjS4jm4LmfHFsrCftIJPwbpSzmWC/KxN+73+9CuPhy6G3jBFyGJYIGs/YTDYv LA8Zu9vWmNsa24b7ALZuO6IRL6TyJBl2CVz7SdxV0Hi4/gCGQfJLbz9VCSo2AQ== Date: Sat, 1 Jul 2023 18:39:05 +0200 From: Lars-Dominik Braun To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#63799: [PATCH] gnu: xmobar: Keep xmobar libraries Message-ID: References: <20230530075453.30789-1-saku@laesvuori.fi> <87jzvjzojw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87jzvjzojw.fsf@gnu.org> X-Rspamd-Queue-Id: 4QtdDq6M04z9sV5 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63799 Cc: 63799@debbugs.gnu.org, Saku Laesvuori 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: -1.7 (-) Hi, > This change (removing libraries) was done as part of > . Lars, WDYT of reinstating > libraries here? keeping the libraries in this package will make it depend on all of GHC and all of its ghc-* dependencies. xmonad is a special case, because “configuring” it will actually recompile the entire binary. As far as I see this is not the case for xmobar. What do we need the libraries for? Cheers, Lars From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 05:22:40 2023 Received: (at 63799) by debbugs.gnu.org; 7 Jul 2023 09:22:40 +0000 Received: from localhost ([127.0.0.1]:42520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhfk-0003eR-DJ for submit@debbugs.gnu.org; Fri, 07 Jul 2023 05:22:40 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:45470 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhfh-0003eH-5z for 63799@debbugs.gnu.org; Fri, 07 Jul 2023 05:22:39 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id D0D7234014B for <63799@debbugs.gnu.org>; Fri, 7 Jul 2023 11:22:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1688721766; bh=pXvtGCPnYuUCtufzhR06XcYiotEA1WZIRrJzRFqGWwA=; h=Resent-From:Resent-Date:Resent-To:Date:From:To:Subject: In-Reply-To:References; b=i+BMr7EBS6Q/U+S7gSDX82tZbWnCP8Qs8fwAE2O3WneIfL7a+3lFkmllK9uG9f3fh LYlER2jsligEgwliBLd0GphWBskuJjIqeuLpqtrNMkR0sxumS/cWaC1GJoyGut7Ovp LjTX5LITzL6XaQBiQAEdh4F2biEOCSuMjt8oDJO4= Resent-From: Saku Laesvuori Resent-Date: Fri, 7 Jul 2023 12:22:32 +0300 Resent-Message-ID: <20230707092232.rl6geybphop7rkzx@X-kone> Resent-To: 63799@debbugs.gnu.org Date: Sun, 02 Jul 2023 19:24:54 +0300 From: Saku Laesvuori To: Lars-Dominik Braun Subject: Re: bug#63799: [PATCH] gnu: xmobar: Keep xmobar libraries In-Reply-To: References: <20230530075453.30789-1-saku@laesvuori.fi> <87jzvjzojw.fsf@gnu.org> Message-ID: <138E85F5-FD22-4C38-A91F-C07765474A41@laesvuori.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Autocrypt: addr=saku@laesv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+467/Bxo3mP5eIgKA6M67qT89TIKVSALA14mCnc991fW67ib9Y4Sx9Zt HvaYL5i6tZ143ShTfsfifpyoZt0LhA8CL3AcW6wpqdgcIoWPABEBAAGJAjwEGAEKACYCGwwWIQSg yRlHc08Hb18I6f8lfShKKh06MgUCYmrqzQUJBQlmLAAKCRAlfShKKh06MuTGD/4/eMW3lg87nN1l JoQQgJExpbrUulmyKpBhULh1cWVh1VmzLZVswZzh4qrNbd5rCNimKwL402ovvUEYGfup+YVvwtWb VmTvf4yc1R3LUP6pc0CofZGwkw/B4WOcQF/XkrNJELFmYkiYwAGvr25KDryv2MkSY2NzkGppcSSu 0xBYsRMb1OQyb7kExp3sYdzCVBdDn+mz5haAdYGHTCjvED71dYx4kMdy6bZwREctnjJ8JAW/WfyS lmBysZ5ipcTjBF1MripGfbMOykNVm/c11gTD3ARdB4uFColsM4f2cihJxjFiQG4DjepC1prsMA2v 0tIQ6/K4DTd0GOj2GMtbfjZqKCxEyhpXf7lSfi/YGxA9K2XscZZGJjrNA1Bm+JE4JxjGJb8tYarp OrRLLHByT0TmEjGaQvHZ3dNs1yMouH0vkwuAyf2bMKwI/dPqv4QwO5ICVJaiwClTSND8c2y8o3yU A6yys6r7ku6/Yi185mmQqOjpNUJ/iJXPlGmh3VDxn54HNL7dbjjVhGQGbGDZfCy63VOHoO5BBurT YOXjvW0zxVBfjNoySF1Sk3gXeOI2hls+19lVRQwgOo1BrKamkVQ5D6Lr2qGpUBmeqo9xrONheCtJ d+eZ4ml+2ILUjp8aD5NXI2Pb5nouU30NhsUmXDn7ehek+pSGh/BzjJxtn1qefg== X-TUID: 7olNNTdiSqKX X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63799 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: -1.0 (-) >xmonad is a special case, because =E2=80=9Cconfiguring=E2=80=9D it will >actually recompile the entire binary=2E As far as I see this >is not the case for xmobar=2E What do we need the libraries >for? Xmobar can be configured in the same way as xmonad=2E It can also be used = with a simple config file, but that provides less flexibility=2E I have wri= tten some extra haskell modules for my xmobar configuration and they obviou= sly can't be used without recompiling=2E From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 05:28:13 2023 Received: (at 63799) by debbugs.gnu.org; 7 Jul 2023 09:28:13 +0000 Received: from localhost ([127.0.0.1]:42526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhl7-0003ma-67 for submit@debbugs.gnu.org; Fri, 07 Jul 2023 05:28:13 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:59408 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhl4-0003mQ-3b for 63799@debbugs.gnu.org; Fri, 07 Jul 2023 05:28:12 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id EB32534014B for <63799@debbugs.gnu.org>; Fri, 7 Jul 2023 11:28:18 +0200 (CEST) Authentication-Results: mail.laesvuori.fi; dkim=pass (2048-bit key; unprotected) header.d=6xq.net header.i=@6xq.net header.a=rsa-sha256 header.s=MBO0001 header.b=qfugc17v Resent-From: Saku Laesvuori Resent-Date: Fri, 7 Jul 2023 12:28:06 +0300 Resent-Message-ID: <20230707092806.aeqzzaujzu552ebj@X-kone> Resent-To: 63799@debbugs.gnu.org X-Original-To: saku@laesvuori.fi Delivered-To: saku@laesvuori.fi Received: by mail.laesvuori.fi (Postfix, from userid 182) id 9812D342FBA; Mon, 3 Jul 2023 10:25:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on laesvuori.fi X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=4.0.0 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by mail.laesvuori.fi (Postfix) with ESMTPS id 853943401AB for ; Mon, 3 Jul 2023 10:25:38 +0200 (CEST) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QvfBH2jYGz9sW7 for ; Mon, 3 Jul 2023 10:25:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1688372727; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EvfcAicWu8rcZ41rzyMWq2HxD4WN+sYi25hyNI6UAZM=; b=qfugc17vt1tWp2OZpZNxgf/B0Mx+LlsdU5wFD2+09aj8Geeh+pnJZK/i/iLtOI8unxSDak aXssAISG0Da0PrTMXnhGIejvN+EKZKBN/3bJscpslREs6F6tnqEDEjZjAj42rRAFI0QfUB a/80FJtXeHQtskNNTuGFIMM0WPRs9tPKlpkz0dQClyfHjxFpL7v0cqbc65KwArEBKgAKbu Vti+7iC9j+Di798Ex8MJ0FT6L/lsPlByq+mSLoNXAkSuKlnP/4QGf+SYWXA0FYkxY8FLia SRaidugjVRY1ZZmDx8bKak4fyJA7BHKqdnEMxq5itx/NFkUIHFWv7mgvSQVo9A== Date: Mon, 3 Jul 2023 10:25:25 +0200 From: Lars-Dominik Braun To: Saku Laesvuori Subject: Re: bug#63799: [PATCH] gnu: xmobar: Keep xmobar libraries Message-ID: References: <20230530075453.30789-1-saku@laesvuori.fi> <87jzvjzojw.fsf@gnu.org> <138E85F5-FD22-4C38-A91F-C07765474A41@laesvuori.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <138E85F5-FD22-4C38-A91F-C07765474A41@laesvuori.fi> X-Rspamd-Queue-Id: 4QvfBH2jYGz9sW7 X-TUID: WHtjVVEBJVHT X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 63799 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: -0.8 (/) Hi, > Xmobar can be configured in the same way as xmonad. It can also be used with a simple config file, but that provides less flexibility. I have written some extra haskell modules for my xmobar configuration and they obviously can't be used without recompiling. I’m sorry, you’re right. I would add a second package, ghc-xmobar, which includes only the libraries but not the binary then, since it’s kind of optional for xmobar. Maybe you can even build xmobar using ghc-xmobar? Do you want to prepare a patch? Cheers, Lars From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 05:42:16 2023 Received: (at 63799) by debbugs.gnu.org; 7 Jul 2023 09:42:16 +0000 Received: from localhost ([127.0.0.1]:42569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhyf-00049z-QO for submit@debbugs.gnu.org; Fri, 07 Jul 2023 05:42:16 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:44042 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHhyZ-00049k-SY for 63799@debbugs.gnu.org; Fri, 07 Jul 2023 05:42:12 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 86C3434014B; Fri, 7 Jul 2023 11:42:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1688722936; bh=b866KaqTvieT23KtownRie7/0WoLejspDdUiUqnYrd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dAYQTxZKHZqXUmuyvNI4A9QalD+tsqRY7SIG+N+Fzy7ao5tFZqCW1RHGdsIcaxEgP xQHFMw/YLibaWalXbSTtnm3W6FkuwVFoBmBkwKZPBl6nFW62IlTkrN3z9gC8Haibco E+di6/S+kLZRSI90z5RmAo93GTRYqRMQ6het96sg= Date: Fri, 7 Jul 2023 12:42:04 +0300 From: Saku Laesvuori To: Lars-Dominik Braun Subject: [PATCH v2] gnu: Add ghc-xmobar Message-ID: <20230707094204.ipay3bqnksyx3eci@X-kone> References: <20230530075453.30789-1-saku@laesvuori.fi> <87jzvjzojw.fsf@gnu.org> <138E85F5-FD22-4C38-A91F-C07765474A41@laesvuori.fi> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6nezrtugcohw2gwd" Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 63799 Cc: 63799@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -0.3 (/) --6nezrtugcohw2gwd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * gnu/packages/wm.scm (ghc-xmobar): New variable. (xmobar)[inputs]: Remove everything except libxpm. Add ghc-xmobar. [arguments]: Disable tests as they are run in ghc-xmobar. Configure only the xmobar executable. Remove unnecessary phases. [native-inputs]: Remove everything. --- gnu/packages/wm.scm | 43 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 46a1030490..728c9454c6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -877,9 +877,9 @@ (define-public xmonad tiled on several screens.") (license license:bsd-3))) =20 -(define-public xmobar +(define-public ghc-xmobar (package - (name "xmobar") + (name "ghc-xmobar") (version "0.46") (source (origin (method url-fetch) @@ -896,17 +896,18 @@ (define-public xmobar ghc-alsa-mixer ghc-dbus ghc-hinotify - ghc-http + ghc-http-client-tls ghc-http-conduit ghc-http-types - ghc-iwlib ghc-libmpd ghc-netlink + ghc-cereal ghc-old-locale ghc-parsec-numbers ghc-regex-compat ghc-temporary ghc-timezone-olson + ghc-timezone-series ghc-x11 ghc-x11-xft ghc-cairo @@ -914,18 +915,44 @@ (define-public xmobar libxpm)) (arguments `(#:configure-flags (list "--flags=3Dall_extensions") - ;; Haddock documentation is for the library. - #:haddock? #f #:phases (modify-phases %standard-phases - (add-after 'register 'remove-libraries + (add-after 'install 'remove-binaries (lambda* (#:key outputs #:allow-other-keys) - (delete-file-recursively (string-append (assoc-ref outputs = "out") "/lib")))) + (delete-file-recursively (string-append (assoc-ref outputs = "out") "/bin")))) (add-before 'build 'patch-test-shebang (lambda* (#:key inputs #:allow-other-keys) (substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs" (("/bin/bash") (which "bash")))))))) (home-page "https://xmobar.org") + (synopsis "Haskell library for minimalistic text based status bars") + (description + "@code{ghc-xmobar} is the haskell library that @code{xmobar} is based= on. +It can be used to extend @code{xmobar} with other Haskell code.") + (license license:bsd-3))) + +(define-public xmobar + (package + (name "xmobar") + (version "0.46") + (source (origin + (method url-fetch) + (uri (hackage-uri "xmobar" version)) + (sha256 + (base32 + "0glpiq7c0qwfcxnc2flgzj7afm5m1a9ghzwwcq7f8q27m21kddrd")))) + (build-system haskell-build-system) + (properties '((upstream-name . "xmobar"))) + (inputs + (list ghc-xmobar + libxpm)) + (arguments + `(#:configure-flags (list "--flags=3Dall_extensions" "exe:xmobar") + ;; Haddock documentation is for the library. + #:haddock? #f + ;; Tests are for the library. + #:tests? #f)) + (home-page "https://xmobar.org") (synopsis "Minimalistic text based status bar") (description "@code{xmobar} is a lightweight, text-based, status bar written in base-commit: 961ffca1c75141cbb351d143b22b673638e9659d --=20 2.40.1 --6nezrtugcohw2gwd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmSn3ewACgkQJX0oSiod OjKuFA/8CyAsJN++8TMz1PrksYy4KM9CYtozLm2XAudJ7zYzjaI0P3vNrOgb5Fff aopo9hdkWyo/l0Ao16CJcQB6ywZSpoum/XvDjXWXWB6w+4qmiKGE4J+TJKkNrXET m4YvbJDonHLCgo+E9KJQjO2myBYiz1U9+mnNL76JKCSB2cwRPHlo+Zc0Uidgux7b FIbck0iKMI6kkg0cbv2BrP86F6Yfe20d0/r4C6HZ2XGYFuqjh2Fy2l/7AYcwRsmy cEtnIMKop6asVRqKWoPdIFKqs+aI1+wSxOPDZQyDqtTtrXu7StuZ3EPzpg/yEdIo i6kkurwrlB6F/bLiSNt/zSaIP/mDaaNaePuL1V8K3hTlBfR1+nRGpWzqIe9ZmCYO ZMRn1ZiZbcj0XfhQKLAPD2hHw6jKyq4d2UOFDI3oTVdAPon2ZCPactLqrgIwqIFp aZya1jmGmUsoDLOzNfgR3MUXOQ6EhQyUxfX45h/J35AYSzKoscDzvry/vsd6CF0+ 3gJ2gys+VpBlkD/LPe5N9R8ZmS+7VEwEIY6tyVRcORKqxwqh4X/kL09Lom4hCUA6 8/HFlu0RRAv/hZJ4LGPPZ826ropZ6wvvNG8tX1UHhE4S0p+9jTNMQXH4BVHuns2K VtxofXVUvfJDMNlsvi+etuaQVOGzZc5aieIEg2psGWJxcDD9lrE= =xou4 -----END PGP SIGNATURE----- --6nezrtugcohw2gwd-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 08:19:53 2023 Received: (at 63799-done) by debbugs.gnu.org; 7 Jul 2023 12:19:53 +0000 Received: from localhost ([127.0.0.1]:42701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHkRF-0002m2-M5 for submit@debbugs.gnu.org; Fri, 07 Jul 2023 08:19:53 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:49626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHkRA-0002lj-Pt for 63799-done@debbugs.gnu.org; Fri, 07 Jul 2023 08:19:52 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QyCBj1gKGz9sNR; Fri, 7 Jul 2023 14:19:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1688732381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BZpD8Lhqn9AfLrSZjW48DEhCqwsGStVz8e6v6ZuvIbA=; b=ONOPB895bc98c6Gvxkk4mjXs61HlIgT6hgLFyf4gnjgipuR1ncqMzKnP8gTXGQpvpvzbau 9BlNaP/bBAqU9CZfmeXzxXmv4YDIeABsaCDZpAXoCV4QX7I9A3wmZ4ivX3I51mfbfPBxxS wcvppigo+Nz30V+pck1u61rCb7gnHIj/FwWUsjIySP3yyC6nsOOzxbfnnxnuQz9P4+OUmO HuNquvo36BiKgZt/CMRmmGTX6lz9OVI9yI0eqZO61orNXPqEwNjOdr2su32eArMW6lnSRc 47as77h1zWADZBUIjqDf3m/m9pz88UFUyJi19n957SqaMmhcVmx0cPU1AeyYeQ== Date: Fri, 7 Jul 2023 14:19:36 +0200 From: Lars-Dominik Braun To: Saku Laesvuori Subject: Re: [PATCH v2] gnu: Add ghc-xmobar Message-ID: References: <20230530075453.30789-1-saku@laesvuori.fi> <87jzvjzojw.fsf@gnu.org> <138E85F5-FD22-4C38-A91F-C07765474A41@laesvuori.fi> <20230707094204.ipay3bqnksyx3eci@X-kone> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230707094204.ipay3bqnksyx3eci@X-kone> X-Rspamd-Queue-Id: 4QyCBj1gKGz9sNR X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63799-done Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= , 63799-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: -1.7 (-) Hey, > * gnu/packages/wm.scm (ghc-xmobar): New variable. > (xmobar)[inputs]: Remove everything except libxpm. Add ghc-xmobar. > [arguments]: Disable tests as they are run in ghc-xmobar. Configure only > the xmobar executable. Remove unnecessary phases. > [native-inputs]: Remove everything. pushed as ba1fe203b293469e8db1a78e5090ecc711aaaba2 with minor modifications (added inherit from ghc-xmobar). Cheers, Lars From unknown Thu Aug 14 21:49:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 05 Aug 2023 11:24:08 +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