From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy521-0002Lc-Bh 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-0003gk-TR for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45237) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cy51y-0003gg-QG 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 1cy51y-0000Qk-Km for guix-patches@gnu.org; Tue, 11 Apr 2017 19:17:02 -0400 Subject: bug#26454: [PATCH 2/2] gnu: add emacs-exwm Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy50n-0002IC-In 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-00039i-EH for guix-patches@gnu.org; Tue, 11 Apr 2017 19:15:49 -0400 Received: from m12-16.163.com ([220.181.12.16]:43300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cy50j-000393-J1 for guix-patches@gnu.org; Tue, 11 Apr 2017 19:15:46 -0400 From: Feng Shu Date: Wed, 12 Apr 2017 06:58:03 +0800 Message-Id: <20170411225803.2420-2-tumashu@163.com> In-Reply-To: <20170411225803.2420-1-tumashu@163.com> References: <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: 26454@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-exwm): New variable --- gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 9b907a212..ae7fcc8b3 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4172,3 +4172,35 @@ 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+))) + +(define-public emacs-exwm + (package + (name "emacs-exwm") + (version "0.13") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/exwm-" + version ".tar")) + (file-name (string-append name "-" version ".tar")) + (sha256 + (base32 + "0n1wzy6chh024r0yaywjbf7mdsrxs6hrfycv5v0ps0drf6q3zldc")))) + (build-system emacs-build-system) + (home-page "https://github.com/ch11ng/exwm") + (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 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-pkg-file + (lambda _ + (delete-file "exwm-pkg.el") #t))))) + (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+))) -- 2.12.2