From patchwork Wed Apr 2 11:16:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Wilken X-Patchwork-Id: 41162 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4D0F027BBEA; Wed, 2 Apr 2025 12:18:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B6CC527BBE2 for ; Wed, 2 Apr 2025 12:18:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzw6j-0002oQ-6Y; Wed, 02 Apr 2025 07:18:09 -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 1tzw6f-0002nD-TY for guix-patches@gnu.org; Wed, 02 Apr 2025 07:18:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzw6e-0004xq-Ui for guix-patches@gnu.org; Wed, 02 Apr 2025 07:18:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=B2hZ7IVUGOzi4+tEJhRn7NcNkI2eOl3/ok8BRmjBOn0=; b=imMLn9cmO4//cE2DdJwRPAPTqxEeoLydyRLvFfvUA9KPXwof4ar9cW15F0zPzcUE0+0VQN1SpNQcVl6eEGCmDH8NJ21HZROzThXtifgda8HZgKkT27mL2Gp8rU0P6cluIknI+BP0IjlzdG296jiPMIiI623vZGfWXkXvRRkksJpBQqXz7oRqnYdwY7kSJ76Fg1BKedKw1D97tvjtSkf8kDWGLC/XjNdL4ouZo6RhEUgt6SzWTDUDpbbSt4WiOUTbI6mwD/dEN24GlZImlAwG5BTP/oG6AfyeYpXkEwcwl+/f8WjxbyMlOVMpMZIqmFvlFhM6l4IOJJPF/I1Fa5NK6g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzw6e-0005KK-4B; Wed, 02 Apr 2025 07:18:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77455] [PATCH 4/4] gnu: papirus-icon-theme: Avoid creating executable icons. Resent-From: Timo Wilken Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Wed, 02 Apr 2025 11:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77455 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 77455@debbugs.gnu.org Cc: Timo Wilken , Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus X-Debbugs-Original-Xcc: Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus Received: via spool by 77455-submit@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 ) id 1tzw5k-0005Da-5l for submit@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 ) id 1tzw5e-0005BS-NN for 77455@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 ) id 1tzw5Y-000KMR-NO; Wed, 02 Apr 2025 12:16:56 +0100 From: Timo Wilken Date: Wed, 2 Apr 2025 13:16:22 +0200 Message-ID: <20250402111623.22287-4-guix@twilken.net> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250402111623.22287-1-guix@twilken.net> References: <20250402111623.22287-1-guix@twilken.net> MIME-Version: 1.0 X-BlackCat-Spam-Score: 49 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")