diff options
author | Mark H Weaver <mhw@netris.org> | 2014-10-08 03:49:43 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-10-21 00:07:31 -0400 |
commit | 388fd01b0230259a12b23c52f6d6a6baa7b35c92 (patch) | |
tree | 0e79b6aeb738c09bbc37e5332fda5ff9bcc9a78f /gnu | |
parent | 05b4226ad9fb37e71d49653292ad4afdcfdd160d (diff) | |
download | guix-388fd01b0230259a12b23c52f6d6a6baa7b35c92.tar guix-388fd01b0230259a12b23c52f6d6a6baa7b35c92.tar.gz |
gnu: emacs: Update to 24.4.
* gnu/packages/patches/emacs-configure-sh.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/emacs.scm (emacs): Update to 24.4. Add 'acl' as input.
Remove --with-crt-dir configure option.
(emacs-no-x-toolkit): Add 'inotify-tools' as input. Adjust to cope
with the lack of configure-flags in the main 'emacs' package.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 21 | ||||
-rw-r--r-- | gnu/packages/patches/emacs-configure-sh.patch | 13 |
2 files changed, 9 insertions, 25 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 12a12a4ba6..084a804955 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -43,27 +43,24 @@ #:use-module ((gnu packages compression) #:prefix compression:) #:use-module (gnu packages xml) #:use-module (gnu packages glib) + #:use-module (gnu packages acl) #:use-module (guix utils) #:use-module (srfi srfi-1)) (define-public emacs (package (name "emacs") - (version "24.3") + (version "24.4") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/emacs/emacs-" version ".tar.xz")) (sha256 (base32 - "1385qzs3bsa52s5rcncbrkxlydkw0ajzrvfxgv8rws5fx512kakh")) - (patches (list (search-patch "emacs-configure-sh.patch"))))) + "1zflm6ac34s6v166p58ilxrxbxjm0q2wfc25f8y0mjml1lbr3qs7")))) (build-system gnu-build-system) (arguments - '(#:configure-flags - (list (string-append "--with-crt-dir=" (assoc-ref %build-inputs "libc") - "/lib")) - #:phases (alist-cons-before + '(#:phases (alist-cons-before 'configure 'fix-/bin/pwd (lambda _ ;; Use `pwd', not `/bin/pwd'. @@ -82,6 +79,7 @@ ("libtiff" ,libtiff) ("giflib" ,giflib) ("libjpeg" ,libjpeg-8) + ("acl" ,acl) ;; When looking for libpng `configure' links with `-lpng -lz', so we ;; must also provide zlib as an input. @@ -116,11 +114,10 @@ languages.") (name "emacs-no-x-toolkit") (synopsis "The extensible, customizable, self-documenting text editor (without an X toolkit)" ) - (inputs (alist-delete "gtk+" (package-inputs emacs))) - (arguments - (substitute-keyword-arguments (package-arguments emacs) - ((#:configure-flags flags) - `(cons "--with-x-toolkit=no" ,flags)))))) + (inputs (append `(("inotify-tools" ,inotify-tools)) + (alist-delete "gtk+" (package-inputs emacs)))) + (arguments (append '(#:configure-flags '("--with-x-toolkit=no")) + (package-arguments emacs))))) ;;; diff --git a/gnu/packages/patches/emacs-configure-sh.patch b/gnu/packages/patches/emacs-configure-sh.patch deleted file mode 100644 index 6f5f3fe93a..0000000000 --- a/gnu/packages/patches/emacs-configure-sh.patch +++ /dev/null @@ -1,13 +0,0 @@ -Make sure the right shell is used when creating src/epaths.h. - ---- emacs-24.3/configure 2013-03-14 17:42:26.000000000 +0100 -+++ emacs-24.3/configure 2013-03-14 17:42:58.000000000 +0100 -@@ -26463,7 +26463,7 @@ done - ;; - "epaths":C) - echo creating src/epaths.h --${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force -+${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force SHELL="$CONFIG_SHELL" - ;; - "gdbinit":C) - if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then |