[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: emacs: Remove 'info.info'.
From: |
Ludovic Courtès |
Subject: |
07/08: gnu: emacs: Remove 'info.info'. |
Date: |
Mon, 04 Jan 2016 23:29:02 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit fe542b97621db472f2a7698712e65b92fd30d005
Author: Ludovic Courtès <address@hidden>
Date: Mon Jan 4 23:32:29 2016 +0100
gnu: emacs: Remove 'info.info'.
* gnu/packages/emacs.scm (emacs)[arguments]: Use 'modify-phases'. Add
'remove-info.info' phase.
---
gnu/packages/emacs.scm | 24 +++++++++++++++---------
1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7d95f55..1529f6a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <address@hidden>
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2014, 2015 Alex Kost <address@hidden>
;;; Copyright © 2015 Federico Beffa <address@hidden>
@@ -73,14 +73,20 @@
(patches (list (search-patch "emacs-exec-path.patch")))))
(build-system glib-or-gtk-build-system)
(arguments
- '(#:phases (alist-cons-before
- 'configure 'fix-/bin/pwd
- (lambda _
- ;; Use `pwd', not `/bin/pwd'.
- (substitute* (find-files "." "^Makefile\\.in$")
- (("/bin/pwd")
- "pwd")))
- %standard-phases)))
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'configure 'fix-/bin/pwd
+ (lambda _
+ ;; Use `pwd', not `/bin/pwd'.
+ (substitute* (find-files "." "^Makefile\\.in$")
+ (("/bin/pwd")
+ "pwd"))))
+ (add-after 'install 'remove-info.info
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Remove 'info.info', which is provided by Texinfo.
+ (let ((out (assoc-ref outputs "out")))
+ (delete-file
+ (string-append out "/share/info/info.info.gz"))
+ #t))))))
(inputs
`(("gnutls" ,gnutls)
("ncurses" ,ncurses)
- branch master updated (4828ff9 -> 1075b43), Ludovic Courtès, 2016/01/04
- 02/08: ui: Update copyright year in '--version' output., Ludovic Courtès, 2016/01/04
- 04/08: services: boot: Reinstate /tmp and /var/run deletion., Ludovic Courtès, 2016/01/04
- 03/08: guix package: Allow multiple '--search' flags., Ludovic Courtès, 2016/01/04
- 01/08: git-download: Correctly implement recursive checkouts., Ludovic Courtès, 2016/01/04
- 05/08: services: Move /tmp cleanup to a separate service., Ludovic Courtès, 2016/01/04
- 06/08: linux-boot: Remove verbose output for module loads., Ludovic Courtès, 2016/01/04
- 07/08: gnu: emacs: Remove 'info.info'.,
Ludovic Courtès <=
- 08/08: gnu: Add emacs-undo-tree., Ludovic Courtès, 2016/01/04