From patchwork Tue Apr 27 16:58:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 28954 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 D023E27BC7D; Tue, 27 Apr 2021 17:59:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7D12227BC7C for ; Tue, 27 Apr 2021 17:59:16 +0100 (BST) Received: from localhost ([::1]:37754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbR3L-0005kf-Iq for patchwork@mira.cbaines.net; Tue, 27 Apr 2021 12:59:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbR38-0005kZ-R3 for guix-patches@gnu.org; Tue, 27 Apr 2021 12:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbR38-000261-JK for guix-patches@gnu.org; Tue, 27 Apr 2021 12:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbR38-0008CM-HW for guix-patches@gnu.org; Tue, 27 Apr 2021 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48066] [PATCH] gnu: emacs-hyperbole: Install images and help files. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Apr 2021 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48066@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161954270731461 (code B ref -1); Tue, 27 Apr 2021 16:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2021 16:58:27 +0000 Received: from localhost ([127.0.0.1]:50761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbR2Z-0008BN-9d for submit@debbugs.gnu.org; Tue, 27 Apr 2021 12:58:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:39352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbR2W-0008BE-JU for submit@debbugs.gnu.org; Tue, 27 Apr 2021 12:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbR2W-0005iq-BK for guix-patches@gnu.org; Tue, 27 Apr 2021 12:58:24 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:35956 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbR2U-0001qK-1o for guix-patches@gnu.org; Tue, 27 Apr 2021 12:58:23 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1619542696; bh=vRnu4xrPrsMoC0HZ676h8i0Eg/QQEH+GNv+9Qh0LVUM=; h=From:To:Subject:Date; b=H8Jd5d2nFrcLh0O4OGJtWDzAQZiZvLb+YuWPP55V5V21Qx02Utfvw3geHkWM/ZCRM ihPd3HnBeCtsMoiVRErQvbENripSVaeSsNOOwLk0FzigCopZT8Yogj5+HqTMkhJH7C NoZi9jEGJ9q62skVxO8M7mfipmmNBQv+fPGGO/Pw= Message-Id: <812b1b746c1bf8eda7e2561a08a0f68a1b4fc5ce.1619542661.git.public@yoctocell.xyz> Date: Tue, 27 Apr 2021 18:58:15 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.386, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-hyperbole)[arguments]: Include help file and install images for the manual. --- gnu/packages/emacs-xyz.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) base-commit: e009b8d7126531a2983701413c5b97e620e495e4 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a46b7e8ae0..8e76f151a5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -359,6 +359,7 @@ server}. The main advantage compared to @code{vc-hg} is speed.") `(#:include '("DEMO" "DEMO-ROLO.otl" "HY-ABOUT" + "man/hkey-help.txt" "\\.el$" "\\.info$" "\\.kotl$") @@ -373,8 +374,15 @@ server}. The main advantage compared to @code{vc-hg} is speed.") (string-append (assoc-ref inputs "inetutils") "/bin/dnsdomainname"))) (substitute* "hyperbole.el" - (("\\(hyperb:check-dir-user\\)") "")) - #t))))) + (("\\(hyperb:check-dir-user\\)") "")))) + (add-after 'install 'install-images + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (file) + (install-file + file + (string-append out "/share/info/im"))) + (find-files "man/im" "\\.png$")))))))) (inputs `(("inetutils" ,inetutils))) (home-page "https://www.gnu.org/software/hyperbole/")