all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Attempt at packaging guile-emacs (needs help)
@ 2015-05-10 19:35 Christopher Allan Webber
  2015-05-10 21:51 ` Mark H Weaver
  2015-05-14  0:01 ` [PATCH] Add guile-emacs! Christopher Allan Webber
  0 siblings, 2 replies; 16+ messages in thread
From: Christopher Allan Webber @ 2015-05-10 19:35 UTC (permalink / raw)
  To: Guix-devel

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

Hello all,

I started working on an attempt to package guile-emacs, based on
  http://www.emacswiki.org/emacs/GuileEmacs

This includes both a package for guilemacs-guile and guilemacs-emacs,
both BT Templeton's WIP branches.

Unfortunately, guilemacs-guile does not complete building.  It compiles,
but then fails "make check":
  http://pamrel.lu/2aa8f/

I don't really understand why that is at present, and I don't know much
about Guile internals.  Help would be appreciated!

I think it would be really useful to have Guix packages of guile-emacs!
The Guix community's present composition has a large overlap of people
likely to try to use it, and well, I think the communities' goals are
also highly complimentary...

Anyway, help appreciated, if you can spare it!


[-- Attachment #2: 0001-guilemacs-attempt-failing-on-make-check.patch --]
[-- Type: text/x-diff, Size: 4236 bytes --]

From 4182f8c22f1ca4eea453e61a90c77b790f573d8a Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sun, 10 May 2015 09:29:54 -0500
Subject: [PATCH] guilemacs attempt, failing on "make check"

---
 gnu/packages/guile.scm     |  3 +-
 gnu/packages/guilemacs.scm | 83 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/guilemacs.scm

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 751002f..33d5773 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -41,7 +41,8 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
   #:use-module (guix utils)
-  #:use-module (ice-9 match))
+  #:use-module (ice-9 match)
+  #:export (guile-2.0))
 
 ;;; Commentary:
 ;;;
diff --git a/gnu/packages/guilemacs.scm b/gnu/packages/guilemacs.scm
new file mode 100644
index 0000000..c370200
--- /dev/null
+++ b/gnu/packages/guilemacs.scm
@@ -0,0 +1,83 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages guilemacs)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build utils)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages flex)
+  #:use-module (gnu packages guile)
+  #:use-module (gnu packages emacs)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages texinfo))
+
+(define-public guilemacs-guile
+  (package (inherit guile-2.0)
+    (name "guilemacs-guile")
+    (version "20150212.a930be6")
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autogen
+                    (lambda _
+                      (zero? (system* "sh" "autogen.sh"))))
+         (add-before 'autogen 'patch-/bin/sh
+           (lambda _
+             (substitute* "build-aux/git-version-gen"
+               (("#!/bin/sh") (string-append "#!" (which "sh")))))))))
+    (native-inputs
+     (append
+      `(("autoconf" ,autoconf)
+        ("automake" ,automake)
+        ("libtool" ,libtool)
+        ("flex" ,flex)
+        ("texinfo" ,texinfo))
+      (package-native-inputs guile-2.0)))
+    (inputs
+     (append
+      `(("gettext" ,gnu-gettext))
+      (package-inputs guile-2.0)))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "git://git.hcoop.net/git/bpt/guile.git")
+                    (commit "a930be6f0f0d1594873c7eb9d2316ecf926da67d")))
+              (sha256
+               (base32
+                "1l520n482cq8h8qbkp11j5xcz5vf6fnbpc24i0xmd3ngj2ga3gh7"))))))
+
+(define-public guilemacs-emacs
+  (package (inherit emacs)
+    (name "guilemacs-emacs")
+    (version "20150212.a930be6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "git://git.hcoop.net/git/bpt/emacs.git")
+                    (commit "8f2e20304cbfdc046f4e3d3fca7b844f07e65076")))
+              (sha256
+               (base32
+                "0f0i7ax0wi5q2w2kvr4bdzkcbzvcqvnbni0n8vdsrxc7ayl8zdi3"))))
+    (inputs
+     (cons
+      `("guile" ,guilemacs-guile)
+      (package-inputs emacs)))))
-- 
2.1.4


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

end of thread, other threads:[~2015-05-23 17:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10 19:35 [PATCH] Attempt at packaging guile-emacs (needs help) Christopher Allan Webber
2015-05-10 21:51 ` Mark H Weaver
2015-05-11  2:29   ` Christopher Allan Webber
2015-05-14  0:01 ` [PATCH] Add guile-emacs! Christopher Allan Webber
2015-05-14  8:56   ` Taylan Ulrich Kammer
2015-05-14 15:53     ` Christopher Allan Webber
2015-05-14 20:06       ` Taylan Ulrich Kammer
2015-05-14 20:52         ` Taylan Ulrich Kammer
2015-05-15 10:13       ` Ludovic Courtès
2015-05-19 17:29     ` Christopher Allan Webber
2015-05-19 18:29       ` Taylan Ulrich Bayırlı/Kammer
2015-05-19 19:41         ` Christopher Allan Webber
2015-05-19 20:24           ` Taylan Ulrich Bayırlı/Kammer
2015-05-20 12:22             ` Ludovic Courtès
2015-05-23  7:26   ` Feng Shu
2015-05-23 17:21     ` Christopher Allan Webber

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.