unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: 26454@debbugs.gnu.org
Subject: bug#26454: [PATCH 1/2] gnu: Add emacs-xelb.
Date: Mon, 17 Apr 2017 18:57:42 +0530	[thread overview]
Message-ID: <41855ebe.AEQAJXX8IuMAAAAAAAAAAAO0QTIAAAACwQwAAAAAAAW9WABY9MMb@mailjet.com> (raw)
In-Reply-To: <20170411225803.2420-2-tumashu@163.com>

From: Feng Shu <tumashu@163.com>

* gnu/packages/emacs.scm (emacs-xelb): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
---
 gnu/packages/emacs.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 673bbdf89..306fb5eb7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
 ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
+;;; Copyright © 2017 Feng Shu <tumashu@163.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4382,3 +4383,42 @@ commands are also offered as part of the AUCTeX package, but it is not
 the same - CDLaTeX focuses on speediness for inserting LaTeX
 constructs.")
     (license license:gpl3+)))
+
+(define-public emacs-xelb
+  (package
+    (name "emacs-xelb")
+    (version "0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://elpa.gnu.org/packages/xelb-"
+                                  version ".tar"))
+              (sha256
+               (base32
+                "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
+    (build-system emacs-build-system)
+    ;; The following functions and variables needed by emacs-xelb are
+    ;; not included in emacs-minimal:
+    ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
+    ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
+    ;; x-display-pixel-width, x-display-pixel-height
+    (arguments
+     `(#:emacs ,emacs
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'regenerate-el-files
+           (lambda* (#:key inputs #:allow-other-keys)
+             (zero? (system* "make"
+                             (string-append "PROTO_PATH="
+                                            (assoc-ref inputs "xcb-proto")
+                                            "/share/xcb")
+                             (string-append "EMACS_BIN="
+                                            (assoc-ref inputs "emacs")
+                                            "/bin/emacs -Q"))))))))
+    (native-inputs `(("xcb-proto" ,xcb-proto)))
+    (home-page "https://github.com/ch11ng/xelb")
+    (synopsis "X protocol Emacs Lisp binding")
+    (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
+X11 protocol based on the XML description files from the XCB project.  It
+features an object-oriented API and permits a certain degree of concurrency.
+It should enable you to implement low-level X11 applications.")
+    (license license:gpl3+)))
-- 
2.12.2

  parent reply	other threads:[~2017-04-17 13:30 UTC|newest]

Thread overview: 39+ 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
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   ` Arun Isaac [this message]
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

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=41855ebe.AEQAJXX8IuMAAAAAAAAAAAO0QTIAAAACwQwAAAAAAAW9WABY9MMb@mailjet.com \
    --to=arunisaac@systemreboot.net \
    --cc=26454@debbugs.gnu.org \
    /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).