From: ludo@gnu.org (Ludovic Courtès)
To: Feng Shu <tumashu@163.com>
Cc: 26454@debbugs.gnu.org
Subject: bug#26454: [PATCH 2/2] gnu: add emacs-exwm
Date: Fri, 14 Apr 2017 23:47:17 +0200 [thread overview]
Message-ID: <87r30uslui.fsf@gnu.org> (raw)
In-Reply-To: <87zifjm39e.fsf@163.com> (Feng Shu's message of "Fri, 14 Apr 2017 23:13:01 +0800")
Hello Feng Shu,
"Feng Shu" <tumashu@163.com> skribis:
> Sadly, I have found that I can not let exwm work well in guixsd,
Could you describe what the problem is?
The patch looks good to me, but if you say that the package is actually
non-functional, then including it as is may not be very useful, except
if these are upstream bugs maybe.
>>From b815a6adb8e8b08bb856e2b9e22ddf31324af101 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Fri, 14 Apr 2017 23:06:15 +0800
> Subject: [PATCH] gnu: add emacs-exwm and emacs-xelb
>
> * gnu/packages/emacs.scm (emacs-xelb, emacs-exwm): New variables.
Before including, please make it two patches.
> +(define-public emacs-xelb
> + (package
> + (name "emacs-xelb")
> + (version "0.12.d1d6b6c")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/ch11ng/xelb")
> + (commit "d1d6b6cb48a6a9562252be20ab49f24708b34335")))
Minor thing: I’d suggest using the regular stanza for the
commit/revision number (info "(guix) Version Numbers").
> + (add-after 'unpack 'regenerate-el-files
> + (lambda _
Maybe add a comment like “Generate .el files from the XML description of
the XCB bindings.”
> + (let ((xcb-proto-xml-path (string-append (assoc-ref %build-inputs
> + "xcb-proto")
> + "/share/xcb"))
> + (emacs-path (string-append (assoc-ref %build-inputs
> + "emacs")
> + "/bin/emacs")))
> + (substitute* "Makefile"
> + (("PROTO_PATH := ../xcb-proto/src")
> + (string-append "PROTO_PATH := " xcb-proto-xml-path))
> + (("EMACS_BIN := emacs -Q")
> + (string-append "EMACS_BIN := " emacs-path " -Q")))
> + (system* "make" "all"))
> + #t)))))
(zero? (system* "make" "all")) and remove #t.
> +(define-public emacs-exwm
> + (package
> + (name "emacs-exwm")
> + (version "0.13.7a5bb11")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/ch11ng/exwm")
> + (commit "7a5bb1156d07848e465f55fd31f8ec755b52aa01")))
> + (file-name (string-append name "-" version "-checkout"))
> + (sha256
> + (base32
> + "0cbaq2ls8pivz4h8hwgn9ldvg16pwlisdf047civvilqiqczw31w"))))
> + (build-system emacs-build-system)
> + (propagated-inputs `(("emacs-xelb" ,emacs-xelb)))
> + ;; The following functions or variables is need by emacs-exwm,
> + ;; which is not included in 'emacs-minimal'.
> + ;; scroll-bar-mode, fringe-mode
> + ;; x-display-pixel-width x-display-pixel-height
> + (arguments `(#:emacs ,emacs))
> + (home-page "https://github.com/ch11ng/exwm")
> + (synopsis "Emacs X Window Manager")
> + (description "EXWM (Emacs X Window Manager) is a full-featured
> +tiling X window manager for Emacs built on top of XELB.")
> + (license license:gpl3+)))
Sounds like a lot of fun. :-)
Arun: I don’t have anything to add. I think you could at least commit
the first one. Dunno about exwm proper; maybe it’s not worse than
Guile-WM anyway? ;-)
Thanks,
Ludo’.
next prev parent reply other threads:[~2017-04-14 21:48 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 22:58 bug#26453: [PATCH 1/2] gnu: add emacs-xelb Feng Shu
2017-04-11 22:58 ` bug#26454: [PATCH 2/2] gnu: add emacs-exwm Feng Shu
2017-04-12 9:35 ` Arun Isaac
2017-04-12 18:13 ` Alex Kost
2017-04-12 20:05 ` Arun Isaac
2017-04-13 1:14 ` tumashu
2017-04-13 5:21 ` Arun Isaac
2017-04-14 11:54 ` Feng Shu
2017-04-14 13:27 ` Arun Isaac
2017-04-14 15:13 ` Feng Shu
2017-04-14 17:24 ` Arun Isaac
2017-04-15 2:37 ` tumashu
2017-04-15 12:29 ` Feng Shu
2017-04-15 21:13 ` Arun Isaac
[not found] ` <e0ed6d82.AEAAJGDHDFkAAAAAAAAAAAO1LyIAAAACwQwAAAAAAAW9WABY8o0b@mailjet.com>
2017-04-15 23:41 ` Feng Shu
2017-04-16 7:09 ` Arun Isaac
2017-04-16 8:04 ` Feng Shu, Arun Isaac
2017-04-16 20:53 ` Arun Isaac
2017-04-16 21:22 ` tumashu
2017-04-17 2:14 ` tumashu
2017-04-17 13:47 ` Arun Isaac
2017-04-18 8:20 ` Ludovic Courtès
2017-04-18 13:38 ` Arun Isaac
2017-04-18 20:39 ` Arun Isaac
2017-04-23 9:54 ` tumashu
2017-04-28 18:57 ` Arun Isaac
2017-04-14 21:47 ` Ludovic Courtès [this message]
2017-04-16 9:32 ` Ludovic Courtès
2017-04-16 11:06 ` Arun Isaac
2017-04-16 21:09 ` tumashu
2017-04-13 5:25 ` Arun Isaac
2017-04-13 21:04 ` Ludovic Courtès
2017-04-14 5:40 ` Arun Isaac
2017-04-16 9:03 ` Alex Kost
2017-04-16 9:29 ` Arun Isaac
2017-04-17 13:27 ` bug#26454: [PATCH 1/2] gnu: Add emacs-xelb Arun Isaac
2017-04-12 9:34 ` bug#26453: [PATCH 1/2] gnu: add emacs-xelb Arun Isaac
2017-04-12 10:12 ` Arun Isaac
[not found] ` <cu7zifmezqp.fsf@systemreboot.net>
2017-04-13 5:26 ` Arun Isaac
[not found] <20170417132743.5683-1-arunisaac@systemreboot.net>
2017-04-17 13:27 ` bug#26454: [PATCH 2/2] gnu: Add emacs-exwm Arun Isaac
[not found] ` <c675c264.AEMAJSAD6iUAAAAAAAAAAAO1LyIAAAACwQwAAAAAAAW9WABY9MMd@mailjet.com>
2017-04-17 14:41 ` Feng Shu
2017-04-17 17:23 ` Arun Isaac
2017-04-17 21:51 ` Feng Shu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r30uslui.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=26454@debbugs.gnu.org \
--cc=tumashu@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).