unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26802: Single source file emacs packages get a ".el.el" extension
@ 2017-05-06 12:51 Arun Isaac
  2017-05-09 19:38 ` Alex Kost
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Arun Isaac @ 2017-05-06 12:51 UTC (permalink / raw)
  To: 26802

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]


Single source file emacs packages (such as emacs-goto-chg,
emacs-transpose-frame, emacs-key-chord, etc.) get installed with a
double extension (".el.el"). This patch fixes that.


[-- Attachment #2: 0001-build-emacs-Don-t-append-an-extra-.el-to-source-file.patch --]
[-- Type: text/x-patch, Size: 1398 bytes --]

From 4796890f507a126edb6020573547d37815b3241e Mon Sep 17 00:00:00 2001
From: Arun Isaac <arunisaac@systemreboot.net>
Date: Sat, 6 May 2017 18:16:36 +0530
Subject: [PATCH] build: emacs: Don't append an extra ".el" to source file
 name.

* guix/build/emacs-build-system.scm (store-file->elisp-source-file): The
  source file name already has a ".el" suffix. Don't append an extra ".el".
---
 guix/build/emacs-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
index 44e8b0d31..3669b7d59 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
+;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,7 +51,7 @@ name that has been stripped of the hash and version number."
   (let-values (((name version)
                 (package-name->name+version
                  (strip-store-file-name file))))
-    (string-append name ".el")))
+    name))
 
 (define* (unpack #:key source #:allow-other-keys)
   "Unpack SOURCE into the build directory.  SOURCE may be a compressed
-- 
2.12.2


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-05-21  9:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-06 12:51 bug#26802: Single source file emacs packages get a ".el.el" extension Arun Isaac
2017-05-09 19:38 ` Alex Kost
2017-05-11 19:19   ` Arun Isaac
2017-05-13  8:54     ` Alex Kost
2017-05-13 16:36       ` Arun Isaac
2017-05-14 17:15         ` Alex Kost
2017-05-15 13:28           ` Arun Isaac
2017-05-16 17:29             ` Alex Kost
2017-05-17 17:04               ` Arun Isaac
2017-05-21  9:03                 ` Alex Kost
2017-05-13  5:23 ` bug#26802: [PATCH 1/3] gnu: emacs-goto-chg: Set source file-name Arun Isaac
2017-05-13  8:55   ` Alex Kost
2017-05-17 16:52 ` bug#26802: [PATCH 1/4] gnu: lint: Fix typo Arun Isaac
2017-05-18 11:28   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).