From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +Du8N24cs2JfDAAAbAwnHQ (envelope-from ) for ; Wed, 22 Jun 2022 15:43:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sD2UN24cs2LoVQAAauVa8A (envelope-from ) for ; Wed, 22 Jun 2022 15:43:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C3EA163AD for ; Wed, 22 Jun 2022 15:43:10 +0200 (CEST) Received: from localhost ([::1]:35718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o40dR-0008Ry-8R for larch@yhetil.org; Wed, 22 Jun 2022 09:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o40dK-0008Rh-0g for guix-patches@gnu.org; Wed, 22 Jun 2022 09:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o40dJ-0006ak-NY for guix-patches@gnu.org; Wed, 22 Jun 2022 09:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o40dJ-00015q-Kg for guix-patches@gnu.org; Wed, 22 Jun 2022 09:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56127] [PATCH] gnu: polybar: Update to 3.6.3. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jun 2022 13:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56127 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias , 56127@debbugs.gnu.org Received: via spool by 56127-submit@debbugs.gnu.org id=B56127.16559053754190 (code B ref 56127); Wed, 22 Jun 2022 13:43:01 +0000 Received: (at 56127) by debbugs.gnu.org; 22 Jun 2022 13:42:55 +0000 Received: from localhost ([127.0.0.1]:34431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o40dD-00015W-BS for submit@debbugs.gnu.org; Wed, 22 Jun 2022 09:42:55 -0400 Received: from jpoiret.xyz ([206.189.101.64]:44422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o40dA-00015N-RY for 56127@debbugs.gnu.org; Wed, 22 Jun 2022 09:42:54 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 3BDDE184F03; Wed, 22 Jun 2022 13:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1655905371; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ePCZ+thrOleUKaD/nRYjSbdh9RlkL0MSYy67+2jZvkc=; b=cVt3iT6TWDbrM6swL5sb/Z/ldE2/rtB/waCJVLWaX0VM5zDfdfb5eEkJNzVP1jgWyuKnHr 9lYkfcCl3o1vIlevbNz8sY2BSw7oC9l4HOx/Rn+lDm8VO9icPJQqIcupgLNzaV8hObZo+A hZGI25bsZ6FnwMmYItuqpkaLi3gU8k3WnRI4NaloMUD+u9wFFLhMASPFJTDp0GJp9W7H1Y ddSuZxgAa8A+xeF5BmZaj0/C/x9dvW442AGNlJNgxmO5J0CGsVCZVS2RCIC52sLcV+dmT4 hV/TuVpYD9Ng9+OnxUrDKzs3dcqX2/fWRusRn+1jbBoifDvPNi4d/LnY29HIdA== In-Reply-To: References: Date: Wed, 22 Jun 2022 15:42:50 +0200 Message-ID: <878rpou84l.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655905390; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ePCZ+thrOleUKaD/nRYjSbdh9RlkL0MSYy67+2jZvkc=; b=Kzh6WUgMOnmOshA/d4qujZA8qIICPBfY4GyW9FjypUpS+Bdg0QMKmFKuC24/b87KbBHjBu CPErFCsWHRXSNNWEE3ZFSXDEqGxjMa01m5+5LVrCMgSa1npAgsTyyaiZg+YyXsw2pu8xlk Mtyx2MMabRpJuXFh+5xR9tJyimcsEL+cztQGTk3LKua/noMNAIIeCfXi7wYUoQym3wzzsI BSPvm+AbHXbece7KUk2ggSRyyGZhysntB5xYYjNda/aCxH9w+WG5bXa3+h5qcDb6ZOt+Mm PDgFLaQTn3kajf7viBxtdi+J3OAvoAmdwYKCUIO5r83LXXi2MjA2qbNfY1voOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655905390; a=rsa-sha256; cv=none; b=r8w7nH2lYpgQ3FkwZ+GOK33fZvTmU0X6qAMz4rZ1er64ilJrazmoVZtjKL5mLDkytIZgmO Im32N5K9C9AWHeab1ME9ZHqpbQeMT/lXmy4MbIhWQpIS6q6DE+PJheQu4Cj1vS22Hp50Ns 0fs89Id5lCaf+Tga63vSMRFBbreOoW/YMZbydHhDCwUgcU1vgXWUyMn56PmRLHxoELWeTX A3qYRTybj5+ErCaox33f1EelKbIG9VpVX2Wn4bMC6YgVKwEyYe7Plu/fhNhTxNAxozIIi6 ozvmPN0lqr6h0Skq8UFovo4iggjsJAAPVpBo98SP3jPiGgoEI0htx9KLhCuU/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cVt3iT6T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cVt3iT6T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7C3EA163AD X-Spam-Score: -3.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: D9uZ8wcw12zT Hello John John Kehayias via Guix-patches via writes: > Hi Guix, > > Here is a patch to update polybar. There were some slight tweaks needed: new input, remove unneeded native-input, and change where the default configuration file is installed (from /etc) to #$output/etc/xdg. > > This last change may look slightly different from the default behavior, but this will put it where it should be found using XDG_CONFIG_DIRS. This was made in the change to polybar that also moved/altered the configuration installation: https://github.com/polybar/polybar/commit/282b0f4e73e9cbb68afd6e168c472e3f422e9a6f#diff-6b4c594394f4751f9012dc3889b278312f0e7275ab48edbe3b02d434e183aa52 > > I tested that it builds and polybar will find this default configuration file when no config is otherwise found or specified. The default bar looked fine to me. Note that I did test this where I do have XDG_CONFIG_DIRS set for that profile anyway. Looks good to me as-is, builds and runs fine, although I'd prefer to keep the file at /etc/, and patch src/utils/file.cpp to look for $output/etc/polybar/config.ini. That way, polybar would work without a config file even when not installed. Also, if you have the time, could you move the native-inputs to the new style as an additional commit? WDYT? -- Josselin Poiret