From patchwork Tue May 4 05:06:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 29100 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 1B8CB27BC82; Tue, 4 May 2021 06:08: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 D60D227BC81 for ; Tue, 4 May 2021 06:08:15 +0100 (BST) Received: from localhost ([::1]:56052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldnI7-0002TI-4Y for patchwork@mira.cbaines.net; Tue, 04 May 2021 01:08:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldnHu-0002T3-Re for guix-patches@gnu.org; Tue, 04 May 2021 01:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldnHu-0002BC-JY for guix-patches@gnu.org; Tue, 04 May 2021 01:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldnHu-0004JE-DU for guix-patches@gnu.org; Tue, 04 May 2021 01:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48215] [PATCH] gnu: crm114: Use emacs-build-system install phase. References: <20210504050103.6998-1-arunisaac@systemreboot.net> In-Reply-To: <20210504050103.6998-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 05:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48215 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48215@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 48215-submit@debbugs.gnu.org id=B48215.162010482516331 (code B ref 48215); Tue, 04 May 2021 05:08:02 +0000 Received: (at 48215) by debbugs.gnu.org; 4 May 2021 05:07:05 +0000 Received: from localhost ([127.0.0.1]:50767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldnGz-0004FF-66 for submit@debbugs.gnu.org; Tue, 04 May 2021 01:07:05 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:53148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldnGx-0004DT-31 for 48215@debbugs.gnu.org; Tue, 04 May 2021 01:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Evzq2uphk8W/20O4Ku/MVw/sgSHnV9Ps81s+nkajyc0=; b=Dw7+aBI8TbOqQUSYEEoVnniekU kYz4BeqqZSAApFqqaBj9EH8Njrwx9kdVDjFnzLmTxDeNPhA3V/iTXfhUEJ86e+/DedossN3lxL7Ru eN6muYtBm42R6VgbUMqETdIOFafxI/a/Uw2DDkfz7KqJMr1TTIhs5+7dW9dM42ptsOPkSe4YOchrr Y0l8ocGgyTSlz6YiHgc6di9ZuFjcv+DvI2QduyqJLFQxDJ7ZF3ED/XF5nB+XXYGO7WUG3iglV8pvr 3vc0y5dTdlZdk070A4SUV+fr7IvPfy9l84XoAdybRW0FLtSKun8nK626v+rEpTptJRIrrKxa3AkmN 9jVgMBYw==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1ldnGu-0000A2-S7; Tue, 04 May 2021 10:37:00 +0530 From: Arun Isaac Date: Tue, 4 May 2021 10:36:51 +0530 Message-Id: <20210504050651.7643-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 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/mail.scm (crm114)[arguments]: Install the crm114 emacs mode using the install phase from emacs-build-system, instead of in the custom pre-install phase. Run the make-autoloads phase after this new install-emacs-mode phase. --- gnu/packages/mail.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index e4ddf5ee9b..ea5a3d2b1e 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4432,12 +4432,11 @@ score.") ;; Install mail related crm scripts. (for-each (lambda (file) (install-file file (string-append out "/bin"))) - (list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm")) - ;; Create emacs site-lisp directory so that the install phase - ;; can install crm-mode. - (mkdir-p (string-append out "/share/emacs/site-lisp"))))) + (list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm"))))) + (add-after 'install 'install-emacs-mode + (assoc-ref emacs:%standard-phases 'install)) ;; Run phases from the emacs build system. - (add-after 'install 'make-autoloads + (add-after 'install-emacs-mode 'make-autoloads (assoc-ref emacs:%standard-phases 'make-autoloads)) (add-after 'make-autoloads 'enable-autoloads-compilation (assoc-ref emacs:%standard-phases 'enable-autoloads-compilation))