From patchwork Thu Dec 5 13:50:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Gilio X-Patchwork-Id: 16383 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 30DF717843; Thu, 5 Dec 2019 14:08:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E779F17838 for ; Thu, 5 Dec 2019 14:08:12 +0000 (GMT) Received: from localhost ([::1]:54872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icrng-0001qf-1H for patchwork@mira.cbaines.net; Thu, 05 Dec 2019 09:08:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icrY4-0003qw-IY for guix-patches@gnu.org; Thu, 05 Dec 2019 08:52:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icrY3-0005US-CW for guix-patches@gnu.org; Thu, 05 Dec 2019 08:52:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icrY2-0005R7-RI for guix-patches@gnu.org; Thu, 05 Dec 2019 08:52:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icrY2-00076Z-IX for guix-patches@gnu.org; Thu, 05 Dec 2019 08:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38463] [PATCH 3/3] gnu: emacs-telega: Properly install alists. References: <87r21mh0pt.fsf@posteo.net> In-Reply-To: <87r21mh0pt.fsf@posteo.net> Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Dec 2019 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38463@debbugs.gnu.org Received: via spool by 38463-submit@debbugs.gnu.org id=B38463.157555387327243 (code B ref 38463); Thu, 05 Dec 2019 13:52:02 +0000 Received: (at 38463) by debbugs.gnu.org; 5 Dec 2019 13:51:13 +0000 Received: from localhost ([127.0.0.1]:43371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icrXE-00075K-Mv for submit@debbugs.gnu.org; Thu, 05 Dec 2019 08:51:12 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icrXC-00074r-1V for 38463@debbugs.gnu.org; Thu, 05 Dec 2019 08:51:11 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 908FB160061 for <38463@debbugs.gnu.org>; Thu, 5 Dec 2019 14:51:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1575553863; bh=9iZPwl6LQqYqY3yqCgd/InaqLBl/SbbipYaDQAsfROg=; h=From:To:Subject:Date:From; b=Wo9har1iEkQhZdrFrWrMQEI9g1YBwJ0AAGfbV927Yxfe81Hye7ntloXlpyiVvGjJJ jOhbSRJJnBt0syEZVipmyicEgVttGLhFizQSysjSFxK7FGDC4AY6E/mZf5X8T8cUyl 40cAeyhjdKuuJtVRNiXWmzj+O78sIzaMdClJybgc3fCFSbWCT4mgGm9fNQLTGOufZ2 l6K1qrDRkXEcQykBUxyNrEc+/GortJVCrE7XoYogP9B2lzMHL0R31b2/i59sOGJur8 ygyX/Lc5wIGVcXbAsTRdeXw7pUsNz3oKem2RoU3Qvtl4xFpg+VNK2qCa0enmTv+e0k ImLYa1WPl27IQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47THDk0rb2z6tmP for <38463@debbugs.gnu.org>; Thu, 5 Dec 2019 14:51:01 +0100 (CET) From: Brett Gilio Date: Thu, 05 Dec 2019 07:50:54 -0600 Message-ID: <877e3ax4n5.fsf@posteo.net> MIME-Version: 1.0 Content-Disposition: inline; filename=0003-gnu-emacs-telega-Properly-install-alists.patch Content-Description: [PATCH 3/3] gnu: emacs-telega: Properly install alists. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 From 5b4430dce26b607cc0ebf443a33a3607a3b33eb1 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 5 Dec 2019 07:48:30 -0600 Subject: [PATCH 3/3] gnu: emacs-telega: Properly install alists. * gnu/packages/emacs-xyz.scm (emacs-telega)[arguments]: Telega has an etc directory that needs to be installed to emacs site-lisp dir. This patch adds that functionality. --- gnu/packages/emacs-xyz.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 60d27ca3de..d5110e96da 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -20019,11 +20019,23 @@ fish-completion. It can be used in both Eshell and M-x shell.") ;; Build emacs-side using `emacs-build-system' (add-after 'compress-documentation 'emacs-add-source-to-load-path (assoc-ref emacs:%standard-phases 'add-source-to-load-path)) - (add-after 'emacs-set-emacs-load-path 'emacs-install + (add-after 'emacs-add-source-to-load-path 'emacs-install (assoc-ref emacs:%standard-phases 'install)) - (add-after 'emacs-install 'emacs-build + ;; This step adds subdir /etc to the site-lisp dir + ;; which is needed for images, notification sounds, + ;; and various alists. + ;; TODO: Replace with `#:include' method used by + ;; emacs-build-system. + (add-after 'emacs-install 'emacs-install-etc + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion "." + (invoke "cp" "-r" "etc/" + (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp/"))) + #t)) + (add-after 'emacs-install-etc 'emacs-build (assoc-ref emacs:%standard-phases 'build)) - (add-after 'emacs-install 'emacs-make-autoloads + (add-after 'emacs-build 'emacs-make-autoloads (assoc-ref emacs:%standard-phases 'make-autoloads))))) (propagated-inputs `(("emacs-visual-fill-column" ,emacs-visual-fill-column))) -- 2.24.0