summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dvorsak <eric@dvorsak.fr>2015-08-14 02:10:31 +0200
committerEric Dvorsak <eric@dvorsak.fr>2015-08-14 02:10:31 +0200
commitb2fb237ba8b46133b278813ff0fc75cb0d2b3ccc (patch)
tree0816b1fc59bf64e51c91770a2b3a88fd828b43e4
parentadd i3 (diff)
downloadguix-linux-nonfree-b2fb237ba8b46133b278813ff0fc75cb0d2b3ccc.tar.gz
adding libraries
-rw-r--r--i3.scm71
1 files changed, 69 insertions, 2 deletions
diff --git a/i3.scm b/i3.scm
index ff1b1cf..c2b2f9e 100644
--- a/i3.scm
+++ b/i3.scm
@@ -20,10 +20,68 @@
#:use-module ((guix licenses))
#:use-module (gnu packages linux)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system cmake)
#:use-module (guix packages)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages perl)
- #:use-module (guix download))
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages asciidoc)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages autotools)
+ #:use-module (guix download)
+ #:use-module (guix git-download))
+
+(define-public util-cursor
+ (package
+ (name "util-cursor")
+ (version "0.1.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://anongit.freedesktop.org/xcb/util-cursor")
+ (commit "8eb844d39a06f42019dede515c70e7a0b155357d")))
+ (sha256
+ (base32
+ "0hgqxlg78lal7zpk3lnl85lzdlv3967qmr8mivg2dnxjyliv45kd"))))
+ (build-system gnu-build-system)
+ (arguments '(#:phases
+ (alist-cons-after
+ 'unpack 'autoconf
+ (lambda _
+ (zero? (system* "autoreconf" "-vfi")))
+ %standard-phases)))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("libtool" ,libtool)))
+
+ ;; (arguments
+ ;; `(#:phases
+ ;; (modify-phases %standard-phases
+ ;; (delete 'configure))))
+ (home-page "")
+ (synopsis "Non-free firmware for Radeon integrated chips")
+ (description "Non-free firmware for Radeon integrated chips")
+ ;; FIXME: What license?
+ (license (non-copyleft "http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=blob_plain;f=LICENCE.radeon_firmware;hb=HEAD"))))
+
+
+(define-public libyajl
+ (package
+ (name "libyajl")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/lloyd/yajl/archive/" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
+ (build-system cmake-build-system)
+ (home-page "http://i3wm.org/")
+ (synopsis "Improved tiling window manager")
+ (description "i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers.")
+ (license bsd-style)))
(define-public i3
@@ -40,8 +98,17 @@
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (delete 'configure))))
(inputs
+ `(("libxcb" ,libxcb)
+ ("xcb-util" ,xcb-util)
+ ("libxkbcommon" ,libxkbcommon)
+ ("libxcursor" ,libxcursor)
+ ("libevdev" ,libevdev)
+ ("libyajl" ,libyajl)
+ ("asciidoc" ,asciidoc)
+ ("xmlto" ,xmlto)))
+ (native-inputs
`(("perl" ,perl)
("pkg-config" ,pkg-config)))
(home-page "http://i3wm.org/")