GNU logs - #77455, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77455] Updates for papirus-icon-theme
Resent-From: "Timo Wilken" <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 02 Apr 2025 11:15:02 +0000
Resent-Message-ID: <handler.77455.B.17435924696995 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77455
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 77455 <at> debbugs.gnu.org
X-Debbugs-Original-To: <guix-patches@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.17435924696995
          (code B ref -1); Wed, 02 Apr 2025 11:15:02 +0000
Received: (at submit) by debbugs.gnu.org; 2 Apr 2025 11:14:29 +0000
Received: from localhost ([127.0.0.1]:55407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzw3A-0001oj-UK
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:14:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:47934)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <timo@HIDDEN>) id 1tzw38-0001nQ-Re
 for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:14:27 -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 <timo@HIDDEN>) id 1tzw2z-0001xG-FA
 for guix-patches@HIDDEN; Wed, 02 Apr 2025 07:14:17 -0400
Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <timo@HIDDEN>) id 1tzw2x-0002VJ-Ds
 for guix-patches@HIDDEN; Wed, 02 Apr 2025 07:14:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net
 ; s=mythic-beasts-k1; h=From:To:Subject:Date;
 bh=B9njx4bDRW8Jzl0kN1WzcY+UFVBh+viicDp46ElBMu4=; b=Co96zUGOi3wREZqbcknOpMS72p
 6gmNZoDdhv7rEl7K/Q/cbaukw2WxuSi80RlukFfNGhlRG0D6PuBnKqQEUBtQDJILEZBXTcyc08trH
 WHCd5b+7TL+KaIJvWucPgNailUaeE2156bH2n14T3+BgpWTZk3uRxP6ZoqGTB3Ej1Bg8a/mHXVe8n
 HEWdVvfwKGP38EyaZ48rL2RbW5j7OYmHfyTruuzvh0Zi/7YaTJHvMSRn828F/n/mIlj0Zl0udzbEb
 O0T2JIaqzGBscIUg5WdonQECyQ29tOkQkuXFoxmKwUm3pnaazRAv7WCXapM6V0edrIDgW9Dq0L7II
 UiKxS88A==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2)
 (envelope-from <timo@HIDDEN>) id 1tzw2v-000I3s-Kj
 for guix-patches@HIDDEN; Wed, 02 Apr 2025 12:14:13 +0100
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Wed, 02 Apr 2025 13:13:57 +0200
Message-Id: <D8W3XNTT5DIC.GW6UT8IFJQZB@HIDDEN>
From: "Timo Wilken" <guix@HIDDEN>
X-Mailer: aerc 0.20.1
X-BlackCat-Spam-Score: 7
X-Spam-Status: No, score=0.7
Received-SPF: pass client-ip=2a00:1098:0:86:1000:0:2:1;
 envelope-from=timo@HIDDEN; helo=mx1.mythic-beasts.com
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

I'd like to update papirus-icon-theme to the latest version.

In the course of that, I discovered that the workaround to reduce the numbe=
r
of inodes the package uses doesn't seem to work very well, so I added a `cp=
'
flag that fixes it for me.

The package also contains a bunch of icon files that are marked "executable=
",
so I'm also fixing that.

Patches for the above incoming.

Finally, the upstream developers recommend splitting the package into a mai=
n
`papirus-icon-theme' and an `epapirus-icon-theme' (for the pantheon desktop=
),
the latter of which depends on the former:
<https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/releases/tag/=
20231101>

I've not done this yet because I wasn't sure what the best way to do this i=
n
Guix is -- separate outputs of the same package? Two separate packages? Wha=
t
do you think?

Cheers,
Timo




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: "Timo Wilken" <guix@HIDDEN>
Subject: bug#77455: Acknowledgement (Updates for papirus-icon-theme)
Message-ID: <handler.77455.B.17435924696995.ack <at> debbugs.gnu.org>
References: <D8W3XNTT5DIC.GW6UT8IFJQZB@HIDDEN>
X-Gnu-PR-Message: ack 77455
X-Gnu-PR-Package: guix-patches
Reply-To: 77455 <at> debbugs.gnu.org
Date: Wed, 02 Apr 2025 11:15:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 77455 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77455: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77455
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77455] [PATCH 1/4] gnu: papirus-icon-theme: Update to 20250201.
References: <D8W3XNTT5DIC.GW6UT8IFJQZB@HIDDEN>
In-Reply-To: <D8W3XNTT5DIC.GW6UT8IFJQZB@HIDDEN>
Resent-From: Timo Wilken <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 02 Apr 2025 11:18:02 +0000
Resent-Message-ID: <handler.77455.B77455.174359262420021 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77455
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 77455 <at> debbugs.gnu.org
Cc: Timo Wilken <guix@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 77455-submit <at> debbugs.gnu.org id=B77455.174359262420021
          (code B ref 77455); Wed, 02 Apr 2025 11:18:02 +0000
Received: (at 77455) by debbugs.gnu.org; 2 Apr 2025 11:17:04 +0000
Received: from localhost ([127.0.0.1]:55432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzw5f-0005Ca-Kc
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:04 -0400
Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]:53727)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <guix@HIDDEN>) id 1tzw5c-0005BE-TI
 for 77455 <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net
 ; s=mythic-beasts-k1; h=Date:Subject:To:From;
 bh=mP8WIAUntTtZpxX0mc1HAFv4sNLHsrZs4s1K2VVdRkQ=; b=SWD5JKfNa3lXFAf0yIdpq3oJB9
 BEV1uzsK8jDqQFv9Cp/W+lwDglp4uwSaRU+lb7QsBY5nLH7BlxgWdv+PigjkQQcrzJfJx8hQ9NhnQ
 KKNstth9X4aAJOM2NvYLgBulU2FwA++AA9A44GAXGMwa5xjdgOihRTq2tcN6vOHvFdyuge0+rehJh
 B7ECEfw+6klellNqJPofXhn8x5y9FIbSx+WB1ozmUcYHzDuJCIpSoMlW8QHNMtLDkBjonIHgyPUqU
 nMAYloNIz0ykrvEETX/DgoftwSQc+tnc2Jn4w92D/VFKVhoTsFMLxMcHxhJJ3ZqP73kn07ayNBleV
 3XhCKJgQ==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpa (Exim 4.94.2)
 (envelope-from <guix@HIDDEN>)
 id 1tzw5W-000KMR-LI; Wed, 02 Apr 2025 12:16:55 +0100
From: Timo Wilken <guix@HIDDEN>
Date: Wed,  2 Apr 2025 13:16:19 +0200
Message-ID: <20250402111623.22287-1-guix@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BlackCat-Spam-Score: 49
X-Spam-Status: No, score=4.9
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/gnome-xyz.scm (papirus-icon-theme): Update to 20250201.

Change-Id: I963c1452d442b16b52795bfd022bc967839451e4
---
 gnu/packages/gnome-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 4e75bc0e46..92867d1177 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -204,7 +204,7 @@ (define-public moka-icon-theme
 (define-public papirus-icon-theme
   (package
     (name "papirus-icon-theme")
-    (version "20230104")
+    (version "20250201")
     (source
      (origin
        (method git-fetch)
@@ -212,7 +212,7 @@ (define-public papirus-icon-theme
              (url "https://github.com/PapirusDevelopmentTeam/papirus-icon-theme")
              (commit version)))
        (sha256
-        (base32 "1x40gdqyw0gj389by6904g5a64r72by544k3nlyiamjhg2zmpx97"))
+        (base32 "1sbzmfcmbsa57grq0jy17mmagdsg95qr2v75zpqlp53jpjq74v53"))
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-- 
2.49.0





Message sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77455] [PATCH 2/4] gnu: papirus-icon-theme: Use g-exps for arguments.
Resent-From: Timo Wilken <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 02 Apr 2025 11:18:03 +0000
Resent-Message-ID: <handler.77455.B77455.174359262720046 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77455
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 77455 <at> debbugs.gnu.org
Cc: Timo Wilken <guix@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 77455-submit <at> debbugs.gnu.org id=B77455.174359262720046
          (code B ref 77455); Wed, 02 Apr 2025 11:18:03 +0000
Received: (at 77455) by debbugs.gnu.org; 2 Apr 2025 11:17:07 +0000
Received: from localhost ([127.0.0.1]:55434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzw5i-0005D9-Dg
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:07 -0400
Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]:37403)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <guix@HIDDEN>) id 1tzw5d-0005BI-NA
 for 77455 <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net
 ; s=mythic-beasts-k1; h=Date:Subject:To:From;
 bh=/bYK5IffNbx8u/mmhRTsr8jHH7eeI9FZc4pYsLtFLJA=; b=1t5zsBuCkpTAu7JgmjIaCAiu1M
 IzMOC27GVx0OfICefvFg8hZQKzWu9RqZfQ3ql/QUSIn4fIwSQ6e2zW/hA6ww/PfXVlkiPULJdCt+Q
 hg1H5Ot8wBKwUXeaLvQUom840G0+oJpd8rzrgM3VMLYBNQE+6sT6XB5BPy4CUaatItPIWm9Vq/Fah
 SlKWlYmm27GEEn8KvKWUvUTvHezqLecx0Z8/3N2xuo2x2MIgQjA1KnDeAhpWU+OUfyHncZt8tyi2h
 SOdEjj4R+nXDcKxzQUxxyXxdG8eve9IEiJPCG9a40FmS1LTK0hpiZSIazoGAwL0fw5FXFg37t+q4U
 93EOmBnQ==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpa (Exim 4.94.2)
 (envelope-from <guix@HIDDEN>)
 id 1tzw5X-000KMR-G5; Wed, 02 Apr 2025 12:16:55 +0100
From: Timo Wilken <guix@HIDDEN>
Date: Wed,  2 Apr 2025 13:16:20 +0200
Message-ID: <20250402111623.22287-2-guix@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250402111623.22287-1-guix@HIDDEN>
References: <20250402111623.22287-1-guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BlackCat-Spam-Score: 49
X-Spam-Status: No, score=4.9
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/gnome-xyz.scm (papirus-icon-theme) [arguments]:
  Use g-expressions instead of plain quoted lists.

Change-Id: I8578fd392d10be3f249c304ffd7e9dbc23952fa1
---
 gnu/packages/gnome-xyz.scm | 40 +++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 92867d1177..2a9b50d9b4 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -216,27 +216,27 @@ (define-public papirus-icon-theme
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f                      ; no test suite
-       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+     `(#:tests? #f                      ; no test suite
+       #:make-flags ,#~(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
        #:phases
-       (modify-phases %standard-phases
-         (delete 'bootstrap)
-         (delete 'configure)
-         (delete 'build)
-         (add-before 'install 'halve-inode-consumption
-           ;; This package uses over 100K inodes, which is a lot.  We can easily
-           ;; halve that number by using (hard) links, to no ill effect.
-           ;; See <https://logs.guix.gnu.org/guix/2023-01-31.log#171227>.
-           ;; However, the source checkout will still use the full amount!
-           (lambda _
-             (let ((symlink? (lambda (_ stat)
-                               (eq? 'symlink (stat:type stat)))))
-               (for-each (lambda (file)
-                           (let ((target (canonicalize-path file)))
-                             (when (eq? 'regular (stat:type (stat target)))
-                               (delete-file file)
-                               (link target file))))
-                         (find-files "." symlink?))))))))
+       ,#~(modify-phases %standard-phases
+            (delete 'bootstrap)
+            (delete 'configure)
+            (delete 'build)
+            (add-before 'install 'halve-inode-consumption
+              ;; This package uses over 100K inodes, which is a lot.  We can easily
+              ;; halve that number by using (hard) links, to no ill effect.
+              ;; See <https://logs.guix.gnu.org/guix/2023-01-31.log#171227>.
+              ;; However, the source checkout will still use the full amount!
+              (lambda _
+                (let ((symlink? (lambda (_ stat)
+                                  (eq? 'symlink (stat:type stat)))))
+                  (for-each (lambda (file)
+                              (let ((target (canonicalize-path file)))
+                                (when (eq? 'regular (stat:type (stat target)))
+                                  (delete-file file)
+                                  (link target file))))
+                            (find-files "." symlink?))))))))
     (native-inputs
      (list `(,gtk+ "bin")))
     (home-page "https://git.io/papirus-icon-theme")
-- 
2.49.0





Message sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77455] [PATCH 3/4] gnu: papirus-icon-theme: Preserve hardlinks to save inodes.
Resent-From: Timo Wilken <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 02 Apr 2025 11:18:03 +0000
Resent-Message-ID: <handler.77455.B77455.174359262820060 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77455
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 77455 <at> debbugs.gnu.org
Cc: Timo Wilken <guix@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 77455-submit <at> debbugs.gnu.org id=B77455.174359262820060
          (code B ref 77455); Wed, 02 Apr 2025 11:18:03 +0000
Received: (at 77455) by debbugs.gnu.org; 2 Apr 2025 11:17:08 +0000
Received: from localhost ([127.0.0.1]:55436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzw5j-0005DN-FI
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:07 -0400
Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]:39407)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <guix@HIDDEN>) id 1tzw5e-0005BO-9u
 for 77455 <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net
 ; s=mythic-beasts-k1; h=Date:Subject:To:From;
 bh=RgCmOeMZZxk+cziBho7e8lbiXF5B49XOfxzfrZljDmU=; b=j5LoMV/V9f+FBzcOUr+rwU2B6X
 EZDzTztF+x0TUnqqvLj1w0BqXovHZ/clxs6yeaGV+dNupbGzPLzlNW6T7at8AwmIP3wjL5vic7Wur
 g7T4ode+aHBTtwzsHm7tfrUpmBxxJP8RgIjLqBpVA1no6bpIK+8ZVuzN0G9BE71mUtuhjKaiBOTuH
 FkuEaaIo9xSf2/e3iFFEGwdL33O+0jqZNNtKkkk0RG3KxBIZ+0WSANoHMhCJ2FAFk2I/gy4wDy+wz
 AbxgIsOuiwRSpeZtLBqafCjJg0SgG2EToUWw3DK34WxljBmBWRwv42zVR4L2yOxpbTI0DnX6knzvo
 81Ju/ciA==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpa (Exim 4.94.2)
 (envelope-from <guix@HIDDEN>)
 id 1tzw5Y-000KMR-6Z; Wed, 02 Apr 2025 12:16:56 +0100
From: Timo Wilken <guix@HIDDEN>
Date: Wed,  2 Apr 2025 13:16:21 +0200
Message-ID: <20250402111623.22287-3-guix@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250402111623.22287-1-guix@HIDDEN>
References: <20250402111623.22287-1-guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BlackCat-Spam-Score: 49
X-Spam-Status: No, score=4.9
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Even though the package has a 'halve-inode-consumption phase, this only works
if the subsequent `cp' doesn't break the created hardlinks again.  Tell `cp'
to preserve them.

For me, this commit reduces the number of hardlinks under /share/icons inside
this package from 113886 to 58697 (compared to 116011 without the
'halve-inode-consumption phase).

* gnu/packages/gnome-xyz.scm (papirus-icon-theme) [arguments]:
  Preserve hardlinks during installation.

Change-Id: I594fb47ecd09754f6b3e13b74215826521db5cfa
---
 gnu/packages/gnome-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 2a9b50d9b4..2054cd9762 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -217,7 +217,8 @@ (define-public papirus-icon-theme
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no test suite
-       #:make-flags ,#~(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:make-flags ,#~(list "CP_OPTS=--preserve=links"
+                             (string-append "PREFIX=" (assoc-ref %outputs "out")))
        #:phases
        ,#~(modify-phases %standard-phases
             (delete 'bootstrap)
-- 
2.49.0





Message sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#77455] [PATCH 4/4] gnu: papirus-icon-theme: Avoid creating executable icons.
Resent-From: Timo Wilken <guix@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN
Resent-Date: Wed, 02 Apr 2025 11:18:04 +0000
Resent-Message-ID: <handler.77455.B77455.174359262920075 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77455
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 77455 <at> debbugs.gnu.org
Cc: Timo Wilken <guix@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Vivien Kraus <vivien@HIDDEN>
Received: via spool by 77455-submit <at> debbugs.gnu.org id=B77455.174359262920075
          (code B ref 77455); Wed, 02 Apr 2025 11:18:04 +0000
Received: (at 77455) by debbugs.gnu.org; 2 Apr 2025 11:17:09 +0000
Received: from localhost ([127.0.0.1]:55438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzw5k-0005Da-5l
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:08 -0400
Received: from mx1.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]:50587)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <guix@HIDDEN>) id 1tzw5e-0005BS-NN
 for 77455 <at> debbugs.gnu.org; Wed, 02 Apr 2025 07:17:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net
 ; s=mythic-beasts-k1; h=Date:Subject:To:From;
 bh=B2hZ7IVUGOzi4+tEJhRn7NcNkI2eOl3/ok8BRmjBOn0=; b=iimhUJyOivRhHOryMaG8FU45ft
 FKrpkA4B9KnCfJah1OHJdis/BOohTnWaLPXZTNGP6fqcmS+SBqXtS81B88Tfslj+yL10pE5MNnGrZ
 rkNHr4FzVpuzgPw9yVJqLQXYN/y9qGn1dLZeXpkBEVoA1j2XUnYminT/b3T97UOxV9eRPnbDIF8y2
 vLDVnnkyr41ipHbRL5+BGKyzowJjPEv2BNhoMkFU2aoDdm4egzBXwwgG+HSNTT2d0E5azvtxFj1d3
 POZTE5uqzWHW+4PA+rVjqbZa4mWXXg3z3vWXbAxywjK7KGbRARpNTMO+vwJBbEBx5W0bfvHW89r8W
 kHNHZ79w==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpa (Exim 4.94.2)
 (envelope-from <guix@HIDDEN>)
 id 1tzw5Y-000KMR-NO; Wed, 02 Apr 2025 12:16:56 +0100
From: Timo Wilken <guix@HIDDEN>
Date: Wed,  2 Apr 2025 13:16:22 +0200
Message-ID: <20250402111623.22287-4-guix@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250402111623.22287-1-guix@HIDDEN>
References: <20250402111623.22287-1-guix@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BlackCat-Spam-Score: 49
X-Spam-Status: No, score=4.9
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/gnome-xyz.scm (papirus-icon-theme) [arguments]:
  Add 'remove-executable-bit phase.

Change-Id: Ic4d4f41b348d728913a90b0ef9cdf50f9901070a
---
 gnu/packages/gnome-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 2054cd9762..432833a649 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -237,7 +237,13 @@ (define-public papirus-icon-theme
                                 (when (eq? 'regular (stat:type (stat target)))
                                   (delete-file file)
                                   (link target file))))
-                            (find-files "." symlink?))))))))
+                            (find-files "." symlink?)))))
+           (add-before 'install 'remove-executable-bit
+             (lambda _
+               (let ((file? (lambda (_ stat)
+                              (eq? 'regular (stat:type stat)))))
+                 (for-each (lambda (file) (chmod file #o644))
+                           (find-files "." file?))))))))
     (native-inputs
      (list `(,gtk+ "bin")))
     (home-page "https://git.io/papirus-icon-theme")
-- 
2.49.0






Last modified: Wed, 2 Apr 2025 11:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.