unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Dvorsak <eric@dvorsak.fr>
To: guix-devel@gnu.org
Subject: [PATCH 5/7] gnu: Add i3-wm.
Date: Mon, 17 Aug 2015 22:06:04 +0200	[thread overview]
Message-ID: <1439841966-12052-5-git-send-email-eric@dvorsak.fr> (raw)
In-Reply-To: <1439841966-12052-1-git-send-email-eric@dvorsak.fr>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 4112 bytes --]

* gnu/packages/i3.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am       |  1 +
 gnu/packages/i3.scm | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
 create mode 100644 gnu/packages/i3.scm

diff --git a/gnu-system.am b/gnu-system.am
index 9f46f7b..9686a7e 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -149,6 +149,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/haskell.scm			\
   gnu/packages/hugs.scm				\
   gnu/packages/hurd.scm				\
+  gnu/packages/i3.scm				\
   gnu/packages/ibus.scm				\
   gnu/packages/icu4c.scm			\
   gnu/packages/idutils.scm			\
diff --git a/gnu/packages/i3.scm b/gnu/packages/i3.scm
new file mode 100644
index 0000000..89837db
--- /dev/null
+++ b/gnu/packages/i3.scm
@@ -0,0 +1,87 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;;
+;;; 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 i3)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (gnu packages linux)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages perl)
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages asciidoc)
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages m4)
+  #:use-module (gnu packages docbook)
+  #:use-module (gnu packages pcre)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages libevent)
+  #:use-module (gnu packages maths)
+  #:use-module (gnu packages web)
+  #:use-module (guix download)
+  #:use-module (guix git-download))
+
+(define-public i3-wm
+  (package
+    (name "i3-wm")
+    (version "4.10.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://i3wm.org/downloads/i3-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "1lq7h4w7m0hi31iva8g7yf1sc11ispnknxjdaj9agld4smxqb44j"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+       #:tests? #f)) ; no test suite
+    (inputs
+     `(("libxcb" ,libxcb)
+       ("xcb-util" ,xcb-util)
+       ("xcb-util-cursor" ,xcb-util-cursor)
+       ("xcb-util-keysyms" ,xcb-util-keysyms)
+       ("xcb-util-wm" ,xcb-util-wm)
+       ("libxkbcommon" ,libxkbcommon)
+       ("libev" ,libev)
+       ("libyajl" ,libyajl)
+       ("asciidoc" ,asciidoc)
+       ("xmlto" ,xmlto)
+       ("perl-pod-simple" ,perl-pod-simple)
+       ("docbook-xml" ,docbook-xml)
+       ("libx11" ,libx11)
+       ("pcre" ,pcre)
+       ("startup-notification" ,startup-notification)
+       ("pango" ,pango)
+       ("cairo" ,cairo)))
+    (native-inputs
+     `(("which" ,which)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (home-page "http://i3wm.org/")
+    (synopsis "Improved tiling window manager")
+    (description "i3 is a tiling window manager, completely written
+from scratch.  i3 is primarily targeted at advanced users and
+developers.")
+    (license bsd-3)))
-- 
2.4.3

  parent reply	other threads:[~2015-08-17 20:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17 20:06 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17 20:06 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-18  9:34   ` Ricardo Wurmus
2015-08-23 16:38   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 3/7] gnu: Add libev Eric Dvorsak
2015-08-23 16:42   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 4/7] gnu: Add xcb-util-cursor Eric Dvorsak
2015-08-23 16:43   ` Eric Bavier
2015-08-17 20:06 ` Eric Dvorsak [this message]
2015-08-23 16:45   ` [PATCH 5/7] gnu: Add i3-wm Eric Bavier
2015-08-17 20:06 ` [PATCH 6/7] gnu: Add libconfuse Eric Dvorsak
2015-08-23 16:46   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 7/7] gnu: Add i3status Eric Dvorsak
2015-08-23 16:37 ` [PATCH 1/7] gnu: Add Pod-Simple Eric Bavier
  -- strict thread matches above, loose matches on Subject: below --
2015-08-17  3:05 Eric Dvorsak
2015-08-17  3:05 ` [PATCH 5/7] gnu: Add i3-wm Eric Dvorsak
2015-08-16 23:48   ` Eric Bavier
2015-08-17  2:05 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17  2:06 ` [PATCH 5/7] gnu: Add i3-wm Eric Dvorsak

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=1439841966-12052-5-git-send-email-eric@dvorsak.fr \
    --to=eric@dvorsak.fr \
    --cc=guix-devel@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).