From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy521-0002Lb-B5 for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cy51y-0003gV-7u for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45236) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cy51y-0003gR-4K for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cy51x-0000QW-UY for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:01 -0400 Subject: bug#26453: [PATCH 1/2] gnu: add emacs-xelb Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy50n-0002ID-J5 for guix-patches@gnu.org; Tue, 11 Apr 2017 19:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cy50k-00039n-Fm for guix-patches@gnu.org; Tue, 11 Apr 2017 19:15:49 -0400 Received: from m12-16.163.com ([220.181.12.16]:43301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy50j-000392-Iu for guix-patches@gnu.org; Tue, 11 Apr 2017 19:15:46 -0400 From: Feng Shu Date: Wed, 12 Apr 2017 06:58:02 +0800 Message-Id: <20170411225803.2420-1-tumashu@163.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26453@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-xelb): New variable --- gnu/packages/emacs.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ff33daf71..9b907a212 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4137,3 +4137,38 @@ abbreviation of the mode line displays (lighters) of minor modes.") configuration in your @file{.emacs} file in a way that is both performance-oriented and tidy.") (license license:gpl2+))) + +(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")) + (file-name (string-append name "-" version ".tar")) + (sha256 + (base32 + "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81")))) + (build-system emacs-build-system) + ;; The following functions or variables is need by emacs-xelb, + ;; which is 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 'delete-pkg-file + (lambda _ + (delete-file "xelb-pkg.el") #t))))) + (home-page "https://github.com/ch11ng/xelb") + (synopsis "X protocol Emacs Lisp Binding") + (description "XELB (X protocol Emacs Lisp Binding) is a pure Elisp +implementation of X11 protocol based on the XML description files from +XCB project. It features an object-oriented API and permits a certain +degree of concurrency. It should enable you to implement some low-level +X11 applications.") + (license license:gpl3+))) -- 2.12.2