From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aD5vOp45D1/yVQAA0tVLHw (envelope-from ) for ; Wed, 15 Jul 2020 17:15:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QPpNNp45D1//HgAA1q6Kng (envelope-from ) for ; Wed, 15 Jul 2020 17:15:10 +0000 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 87F5B940222 for ; Wed, 15 Jul 2020 17:15:10 +0000 (UTC) Received: from localhost ([::1]:38532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvkzt-0000rQ-2K for larch@yhetil.org; Wed, 15 Jul 2020 13:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvkzm-0000rJ-R4 for guix-patches@gnu.org; Wed, 15 Jul 2020 13:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvkzm-0006SB-Ho for guix-patches@gnu.org; Wed, 15 Jul 2020 13:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvkzm-0004nR-E0 for guix-patches@gnu.org; Wed, 15 Jul 2020 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42373] [PATCH] gnu: hedgewars: Install desktop icon. Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jul 2020 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42373@debbugs.gnu.org Cc: Timotej Lazar X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159483327018379 (code B ref -1); Wed, 15 Jul 2020 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jul 2020 17:14:30 +0000 Received: from localhost ([127.0.0.1]:53475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvkzG-0004mN-L4 for submit@debbugs.gnu.org; Wed, 15 Jul 2020 13:14:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:53932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvkzE-0004mF-Ia for submit@debbugs.gnu.org; Wed, 15 Jul 2020 13:14:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvkzE-0000hn-DT for guix-patches@gnu.org; Wed, 15 Jul 2020 13:14:28 -0400 Received: from araneo.si ([2001:15c0:2110:3400::2]:49618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvkzB-0006Jb-W2 for guix-patches@gnu.org; Wed, 15 Jul 2020 13:14:28 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id 1a9c84bd for ; Wed, 15 Jul 2020 17:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20180623; bh=iKizwRdvnsEdIKSpDyjIW OVS8Rk=; b=XuuQHTscyYKfssgS7egm/HwYCrIKD7GlAWb6ULAZ4baKnKxlLYAxp H2EVqSLs3U4AF67+G3yXIkmUhJrPEgr7j058jgTHF+jvQl7O296vYLJ3p1BpKSuF yTgONyw9KB3vP9knLa+GmoLj1h8d68wGLsEVjBEhp2vSwuHbfxCEb0d62Je+x+dD CIN51DahYCAmN/19Ob1xt0F6W8Hudd8raIOjW6nFeZx6fnCOBmN0OY1TxY9mUoUw HZZq1cMDPJ90MWJrwEqSwICbF7krKSlgi1KYbI/yv8zBSBvGcaVlosigoOeiOhUf oQ4C5+qP4m/HN1y9S2AfOb56udosC8OMg== Received: by araneo.si (OpenSMTPD) with ESMTPSA id aa37639c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 15 Jul 2020 17:14:20 +0000 (UTC) From: Timotej Lazar Date: Wed, 15 Jul 2020 19:13:47 +0200 Message-Id: <20200715171347.4898-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:15c0:2110:3400::2; envelope-from=timotej.lazar@araneo.si; helo=araneo.si X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no 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 X-Spam-Score: -2.3 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=araneo.si header.s=20180623 header.b=XuuQHTsc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: Y4BHZ2yyMnB6 * gnu/packages/games.scm (hedgewars)[arguments]: Add ‘install-icon’ phase. --- gnu/packages/games.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 5de6dbf4ac..e60c455cb6 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8813,7 +8813,15 @@ play with up to four players simultaneously. It has network support.") #:phases (modify-phases %standard-phases (replace 'check - (lambda _ (invoke "ctest")))))) + (lambda _ (invoke "ctest"))) + (add-after 'install 'install-icon + (lambda _ + ;; Install icon for the desktop file. + (let* ((out (assoc-ref %outputs "out")) + (icons (string-append out "/share/icons/hicolor/512x512/apps"))) + (with-directory-excursion (string-append "../hedgewars-src-" ,version) + (install-file "misc/hedgewars.png" icons))) + #t))))) (inputs `(("ffmpeg" ,ffmpeg) ("freeglut" ,freeglut) -- 2.27.0