gnu: move xorg to xdisorg
[jackhill/guix/guix.git] / gnu / packages / xdisorg.scm
CommitLineData
3c156c8a
JD
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
4;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages xdisorg)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages image)
29 #:use-module (gnu packages pkg-config)
30 #:use-module (gnu packages xorg))
31
32
33
34;; packages outside the x.org system proper
35
36(define-public xeyes
37 (package
38 (name "xeyes")
39 (version "1.0.1")
40 (source
41 (origin
42 (method url-fetch)
43 (uri (string-append
44 "http://xeyes.sourcearchive.com/downloads/1.0.1/xeyes_"
45 version
46 ".orig.tar.gz"))
47 (sha256
48 (base32
49 "04c3md570j67g55h3bix1qbngcslnq91skli51k3g1avki88zkm9"))))
50 (build-system gnu-build-system)
51 (inputs
52 `(("libxext" ,libxext)
53 ("libxmu" ,libxmu)
54 ("libxt" ,libxt)))
55 (native-inputs
56 `(("pkg-config" ,pkg-config)))
57 (home-page "http://xeyes.sourcearchive.com/")
58 (synopsis "Follow-the-mouse X demo")
59 (description "Xeyes is a demo program for x.org. It shows eyes
60following the mouse.")
61 (license license:x11)))
62
63
64(define-public pixman
65 (package
66 (name "pixman")
67 (version "0.32.4")
68 (source
69 (origin
70 (method url-fetch)
71 (uri (string-append
72 "http://cairographics.org/releases/pixman-"
73 version
74 ".tar.gz"))
75 (sha256
76 (base32
77 "113ycngcssbrps217dyajq96hm9xghsfch82h14yffla1r1fviw0"))))
78 (build-system gnu-build-system)
79 (inputs
80 `(("libpng" ,libpng)
81 ("zlib" ,zlib)))
82 (native-inputs
83 `(("pkg-config" ,pkg-config)))
84 (home-page "http://www.pixman.org/")
85 (synopsis "Low-level pixel manipulation library")
86 (description "Pixman is a low-level software library for pixel
87manipulation, providing features such as image compositing and trapezoid
88rasterisation.")
89 (license license:x11)))
90
91
92(define-public libdrm
93 (package
94 (name "libdrm")
95 (version "2.4.46")
96 (source
97 (origin
98 (method url-fetch)
99 (uri (string-append
100 "http://dri.freedesktop.org/libdrm/libdrm-"
101 version
102 ".tar.bz2"))
103 (sha256
104 (base32
105 "1wah4qmrrcv0gnx65lhrlxb6gprxch92wy8lhxv6102fml6k5krk"))))
106 (build-system gnu-build-system)
107 (inputs
108 `(("libpciaccess" ,libpciaccess)
109 ("libpthread-stubs" ,libpthread-stubs)))
110 (native-inputs
111 `(("pkg-config" ,pkg-config)))
112 (home-page "http://dri.freedesktop.org/wiki/")
113 (synopsis "Direct rendering userspace library")
114 (description "The Direct Rendering Infrastructure, also known as the DRI,
115is a framework for allowing direct access to graphics hardware under the
116X Window System in a safe and efficient manner. It includes changes to the
117X server, to several client libraries, and to the kernel (DRM, Direct
118Rendering Manager). The most important use for the DRI is to create fast
119OpenGL implementations providing hardware acceleration for Mesa.
120Several 3D accelerated drivers have been written to the DRI specification,
121including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
122and Matrox.")
123 (license license:x11)))
124
125
126;; old version, required by old mesa, see
127;; http://www.mail-archive.com/nouveau@lists.freedesktop.org/msg10098.html
128(define-public libdrm-2.4.33
129 (package (inherit libdrm)
130 (version "2.4.33")
131 (source
132 (origin
133 (method url-fetch)
134 (uri (string-append
135 "http://dri.freedesktop.org/libdrm/libdrm-"
136 version
137 ".tar.bz2"))
138 (sha256
139 (base32
140 "1slgi61n4dlsfli47ql354fd1ppj7n40jd94wvnsdqx0mna9syrd"))))
141 (arguments
142 `(#:configure-flags
143 ;; create libdrm_nouveau.so, needed by mesa, see
144 ;; http://comments.gmane.org/gmane.linux.lfs.beyond.support/43261
145 `("--enable-nouveau-experimental-api")))))
146
147
148(define-public mtdev
149 (package
150 (name "mtdev")
151 (version "1.1.3")
152 (source
153 (origin
154 (method url-fetch)
155 (uri (string-append
156 "http://bitmath.org/code/mtdev/mtdev-"
157 version ".tar.bz2"))
158 (sha256
159 (base32
160 "159ndzwfpw0xr8mw4lhl47w9c2krshlfrscs7k6n186vknv2hk3d"))))
161 (build-system gnu-build-system)
162 (home-page "http://bitmath.org/code/mtdev/")
163 (synopsis "Multitouch protocol translation library")
164 (description "Mtdev is a stand-alone library which transforms all
165variants of kernel MT events to the slotted type B protocol. The events
166put into mtdev may be from any MT device, specifically type A without
167contact tracking, type A with contact tracking, or type B with contact
168tracking.")
169 (license license:x11)))