From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iM/ZIxfvn2DCaAAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 17:56:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MAhnHxfvn2DiLwAAB5/wlQ (envelope-from ) for ; Sat, 15 May 2021 15:56:07 +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 490CA8196 for ; Sat, 15 May 2021 17:56:07 +0200 (CEST) Received: from localhost ([::1]:52204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhwe6-0001Ur-60 for larch@yhetil.org; Sat, 15 May 2021 11:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhwe2-0001TG-4x for guix-patches@gnu.org; Sat, 15 May 2021 11:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhwe1-0003vK-Tc for guix-patches@gnu.org; Sat, 15 May 2021 11:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhwe1-0004Ev-SC for guix-patches@gnu.org; Sat, 15 May 2021 11:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48445] [PATCH] gnu: meld: Copy GTKSourceView styles. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 May 2021 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48445 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48445@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162109414916276 (code B ref -1); Sat, 15 May 2021 15:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 May 2021 15:55:49 +0000 Received: from localhost ([127.0.0.1]:49096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhwdp-0004ES-0C for submit@debbugs.gnu.org; Sat, 15 May 2021 11:55:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:53816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhwdn-0004EL-Qm for submit@debbugs.gnu.org; Sat, 15 May 2021 11:55:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhwdn-0001Sf-ID for guix-patches@gnu.org; Sat, 15 May 2021 11:55:47 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:53262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhwdk-0003hN-5t for guix-patches@gnu.org; Sat, 15 May 2021 11:55:46 -0400 Received: from localhost.localdomain (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fj93G3nGsz3x75 for ; Sat, 15 May 2021 17:55:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621094138; bh=bZytcITl4auBWZOHEDQosP2l5KZNx/3MIBFOwvnNBI0=; h=From:To:Subject:Date; b=TxA1A0SsN89ooenAGHHn+xZms7SID/7RFM2PC4MeGd9jMc784R00/MzE7tbZOQk8Y OKbYb0LFZ4xdSE7rIB0Wf9cKFH3/28gkkORw2HwDJ/wVNoav2OhHcpeY9aozvzR3XD H0Zs03Gp/9qqgj4c8Q/OKe9GXMAKevuKWKLlfsEk= From: Leo Prikler Date: Sat, 15 May 2021 17:55:28 +0200 Message-Id: <20210515155528.25736-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621094167; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bZytcITl4auBWZOHEDQosP2l5KZNx/3MIBFOwvnNBI0=; b=O9nqlFtoaL6413Fs0FnhEE5ETuHpZ0lFSSWMWpXyow3GJMsGKkWtBmT3LLwxucmvSmUY2H UcOBCRFQcElnqgNjaOqyhquTRKITvxTZeCHIKR0nuNTJ1dcNXXSgJzMoQCmGpQNAWPMb9s 9jifvDd90MBxRFzfz/veUaAgmlx6C9xMRtUEyPGo+aHccXkC1QEFFj8PC9Y/bb60wh7rq+ rgJ8E6rJ7zPe+ciqBvkkO42vtIuM5sFk/Z24eoaXfNAzZ3HeXUNCyHP7C+Xopxqt89Cgxq tWQbwCDd+O8RhXDc90vIqqLtQWxomlB0sWwubbjXfDKVkm5hpN5HS9s23JOKaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621094167; a=rsa-sha256; cv=none; b=qZG4WtXhqac3NWMpNeWULkVgTXQpjj7R+q/iKPmH+hSvxIaB70XYB+gNtxc2G/xSH/nDGJ Zh0joTPNlocPZVN7BISexSfsVhM8t7+bvykDPTCp9ORpw/3x1HrhdlqRAh3hiUkSMyO5lu eNSZY3ratBOAVYI4DgbOabubMbAAh7RAH/q+DRR/m1txFiRv+U0mFtGS3cYJRVk8ajNWSU PsLyUgA7KYNZdLpxKTikI4WLfx/KrvryQ9XmttRGnK1MyZ6qmW/UEEwghCeGEyynU7GrpK tHp/8/NvOb0CfUj877o2zzadK8jhtFPJws8Np8mKcIgbCwtv6LDlK4NvZtz29A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=TxA1A0Ss; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (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-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=TxA1A0Ss; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (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-Migadu-Queue-Id: 490CA8196 X-Spam-Score: -0.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: IWEl302BdfXS This fixes a somewhat cryptic error, that pops up when gtksourceview-3 has not been installed or propagated by any other package. * gnu/packages/patchutils.scm (meld)[#:phases]: Add ‘copy-styles’. --- gnu/packages/patchutils.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index f190fec1a2..8845942b8f 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -298,6 +298,13 @@ GiB).") (invoke "py.test" "-v" "-k" ;; TODO: Those tests fail, why? "not test_classify_change_actions"))) + (add-after 'install 'copy-styles + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((styles "/share/gtksourceview-3.0/styles")) + (copy-recursively + (string-append (assoc-ref inputs "gtksourceview") styles) + (string-append (assoc-ref outputs "out") styles)) + #t))) (add-after 'wrap 'glib-or-gtk-wrap (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) (add-after 'wrap 'wrap-typelib -- 2.31.1