gnu: sbcl-cl-cffi-gtk: Update to 20200417.
[jackhill/guix/guix.git] / gnu / packages / xorg.scm
CommitLineData
9aea24b6 1;;; GNU Guix --- Functional package management for GNU
8c0519bf 2;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
859e8873 3;;; Copyright © 2014, 2015, 2017, 2018 Mark H Weaver <mhw@netris.org>
0f21557c 4;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
fe77ede7 5;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
94a3d8fd 6;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
9ef824c1 7;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
7dae1f43 8;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
36a4366d 9;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
47956fa0 10;;; Copyright © 2016 ng0 <ng0@n0.is>
f225ae75 11;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
dfe05a51 12;;; Copyright © 2016 David Craven <david@craven.ch>
5dc8dd07 13;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
248f651e 14;;; Copyright © 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
97da6161 15;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
acf6168b 16;;; Copyright © 2017, 2020 Arun Isaac <arunisaac@systemreboot.net>
48a8b465 17;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
f82fe68f 18;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
a6a2ef27 19;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
185948b8 20;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
41a54622 21;;; Copyright © 2019 nee <nee@cock.li>
ff75441f 22;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
fe068686 23;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
e2303e8e 24;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
b58a22e5 25;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
6a25036f 26;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
9aea24b6
AE
27;;;
28;;; This file is part of GNU Guix.
29;;;
30;;; GNU Guix is free software; you can redistribute it and/or modify it
31;;; under the terms of the GNU General Public License as published by
32;;; the Free Software Foundation; either version 3 of the License, or (at
33;;; your option) any later version.
34;;;
35;;; GNU Guix is distributed in the hope that it will be useful, but
36;;; WITHOUT ANY WARRANTY; without even the implied warranty of
37;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38;;; GNU General Public License for more details.
39;;;
40;;; You should have received a copy of the GNU General Public License
41;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
42
43(define-module (gnu packages xorg)
b5b73a82 44 #:use-module ((guix licenses) #:prefix license:)
9aea24b6
AE
45 #:use-module (guix packages)
46 #:use-module (guix download)
0d5212e8 47 #:use-module (guix git-download)
9aea24b6 48 #:use-module (guix build-system gnu)
6c472741 49 #:use-module (guix build-system perl)
4b34d603 50 #:use-module (guix build-system python)
dfe05a51 51 #:use-module (guix utils)
a8300ef9 52 #:use-module (gnu packages)
8fd92e03 53 #:use-module (gnu packages anthy)
0d5212e8 54 #:use-module (gnu packages autotools)
9aea24b6 55 #:use-module (gnu packages bison)
ab115637 56 #:use-module (gnu packages check)
9aea24b6 57 #:use-module (gnu packages compression)
8fd92e03 58 #:use-module (gnu packages emacs)
9aea24b6
AE
59 #:use-module (gnu packages flex)
60 #:use-module (gnu packages fontutils)
6799ed76 61 #:use-module (gnu packages freedesktop)
1dba6407 62 #:use-module (gnu packages gettext)
200726ed 63 #:use-module (gnu packages gl)
9aea24b6 64 #:use-module (gnu packages glib)
2365338b 65 #:use-module (gnu packages gnupg)
9aea24b6 66 #:use-module (gnu packages gperf)
4b34d603 67 #:use-module (gnu packages gtk)
b58a22e5 68 #:use-module (gnu packages inkscape)
e55354b8 69 #:use-module (gnu packages image)
b58a22e5 70 #:use-module (gnu packages imagemagick)
fe6db6ec 71 #:use-module (gnu packages libbsd)
8fd92e03 72 #:use-module (gnu packages libedit)
9aea24b6 73 #:use-module (gnu packages linux)
8e4b7b75 74 #:use-module (gnu packages llvm)
9aea24b6 75 #:use-module (gnu packages m4)
6799ed76 76 #:use-module (gnu packages ncurses)
ab2a8cac 77 #:use-module (gnu packages pciutils)
9aea24b6 78 #:use-module (gnu packages perl)
5ccde207 79 #:use-module (gnu packages perl-check)
9aea24b6 80 #:use-module (gnu packages pkg-config)
5f1d0fb0 81 #:use-module (gnu packages python)
4fec042b 82 #:use-module (gnu packages python-compression)
cc6f4912 83 #:use-module (gnu packages python-crypto)
44d10b1f 84 #:use-module (gnu packages python-xyz)
8fd92e03 85 #:use-module (gnu packages qt)
6799ed76 86 #:use-module (gnu packages spice)
4b34d603
RH
87 #:use-module (gnu packages video)
88 #:use-module (gnu packages xiph)
ba6f8e42 89 #:use-module (gnu packages xml)
6799ed76 90 #:use-module (gnu packages xdisorg))
9aea24b6 91
6eb126c5
AE
92
93
84419dfd 94
dcc9053a 95;; packages without propagated input
6eb126c5
AE
96;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
97;; be defined first, the split makes book-keeping easier.)
98
99
d92083ad
AE
100;; compiles only on macos
101;; (define-public applewmproto
50d74f39
EB
102
103
104(define xorg-cf-files
105 ;; The xorg-cf-files package contains the data files for the imake utility,
106 ;; defining the known settings for a wide variety of platforms (many of which
107 ;; have not been verified or tested in over a decade), and for many of the
108 ;; libraries formerly delivered in the X.Org monolithic releases.
109 ;;
110 ;; License: x11, see COPYING
111 (origin
112 (method url-fetch)
e9543cf7 113 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
50d74f39 114 (sha256
e9543cf7 115 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
50d74f39
EB
116
117(define-public imake
118 (package
119 (name "imake")
4a07463e 120 (version "1.0.8")
50d74f39
EB
121 (source
122 (origin
123 (method url-fetch)
124 (uri (string-append "mirror://xorg/individual/util/imake-"
125 version ".tar.bz2"))
126 (sha256
4a07463e 127 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
50d74f39
EB
128 (build-system gnu-build-system)
129 (native-inputs
130 `(("pkg-config" ,pkg-config)))
131 (inputs
132 `(("xorg-cf-files" ,xorg-cf-files)
6a6db57f 133 ("xorgproto" ,xorgproto)))
50d74f39
EB
134 (arguments
135 `(#:phases
dc1d3cde
KK
136 (modify-phases %standard-phases
137 (add-after 'install 'install-data
138 (lambda* (#:key inputs outputs #:allow-other-keys)
139 (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
140 (out (assoc-ref outputs "out"))
141 (unpack (assoc-ref %standard-phases 'unpack))
142 (patch-source-shebangs
143 (assoc-ref %standard-phases 'patch-source-shebangs)))
144 (mkdir "xorg-cf-files")
145 (with-directory-excursion "xorg-cf-files"
146 (apply unpack (list #:source cf-files))
147 (apply patch-source-shebangs (list #:source cf-files))
148 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
149 "linux.cf" "Amoeba.cf" "cygwin.cf")
150 (("/bin/sh") (which "bash")))
859e8873
MW
151 (invoke "./configure"
152 (string-append "SHELL=" (which "bash"))
153 (string-append "--prefix=" out))
154 (invoke "make" "install"))))))))
9f9c36f5 155 (home-page "https://www.x.org/")
50d74f39
EB
156 (synopsis "Source code configuration and build system")
157 (description
158 "Imake is a deprecated source code configuration and build system which
159has traditionally been supplied by and used to build the X Window System in
160X11R6 and previous releases. As of the X Window System X11R7 release, the X
161Window system has switched to using GNU autotools as the primary build system,
162and the Imake system is now deprecated, and should not be used by new software
163projects. Software developers are encouraged to migrate software to the GNU
164autotools system.")
165 (license license:x11)))
166
c4818593
DC
167(define-public lndir
168 (package
169 (name "lndir")
170 (version "1.0.3")
171 (source (origin
172 (method url-fetch)
173 (uri (string-append
174 "mirror://xorg/individual/util/"
175 "lndir-" version ".tar.bz2"))
176 (sha256
177 (base32
178 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
179 (build-system gnu-build-system)
180 (native-inputs
181 `(("pkg-config" ,pkg-config)))
182 (inputs
6a6db57f 183 `(("xorgproto" ,xorgproto)))
9f9c36f5 184 (home-page "https://www.x.org/")
c4818593
DC
185 (synopsis "Symlink directory into tree")
186 (description "Create a shadow directory of symbolic links to another
187directory tree.")
188 (license license:x11)))
189
9aea24b6
AE
190(define-public bdftopcf
191 (package
192 (name "bdftopcf")
cd215877 193 (version "1.1")
9aea24b6
AE
194 (source
195 (origin
196 (method url-fetch)
197 (uri (string-append
95b7bafe 198 "mirror://xorg/individual/app/bdftopcf-"
9aea24b6
AE
199 version
200 ".tar.bz2"))
201 (sha256
202 (base32
cd215877 203 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
9aea24b6
AE
204 (build-system gnu-build-system)
205 (inputs
cd215877 206 `(("libxfont" ,libxfont2)))
c4c4cc05
JD
207 (native-inputs
208 `(("pkg-config" ,pkg-config)))
01497dfe 209 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
210 (synopsis "Convert X font from BDF to PCF")
211 (description
212 "BDFtoPCF is a font compiler for the X server and font server. It
213converts X font from Bitmap Distribution Format to Portable Compiled Format
214which can be read by any architecture.")
d385b835 215 (license license:x11)))
5f1d0fb0 216
6a6db57f
MB
217(define-public xorgproto
218 (package
219 (name "xorgproto")
d0828b07 220 (version "2019.1")
6a6db57f
MB
221 (source (origin
222 (method url-fetch)
223 (uri (string-append "mirror://xorg/individual/proto/"
0a4f9445 224 "xorgproto-" version ".tar.bz2"))
6a6db57f
MB
225 (sha256
226 (base32
d0828b07 227 "16yll1kaffnslik5sizlw3qrigj1gpsgfgyq6903g3mwdixamnm6"))))
6a6db57f
MB
228 (build-system gnu-build-system)
229 (propagated-inputs
230 ;; To get util-macros in (almost?) all package inputs.
231 `(("util-macros" ,util-macros)))
232 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
233 (synopsis "Xorg protocol headers")
234 (description
235 "This package provides the headers and specification documents defining
236the core protocol and (many) extensions for the X Window System.")
237 (license license:x11)))
5f1d0fb0 238
9aea24b6
AE
239(define-public bigreqsproto
240 (package
241 (name "bigreqsproto")
242 (version "1.1.2")
243 (source
244 (origin
245 (method url-fetch)
246 (uri (string-append
d2611ffb 247 "mirror://xorg/individual/proto/bigreqsproto-"
9aea24b6
AE
248 version
249 ".tar.bz2"))
250 (sha256
251 (base32
252 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
253 (build-system gnu-build-system)
c4c4cc05 254 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 255 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
256 (synopsis "Xorg BigReqsProto protocol headers")
257 (description
258 "Big Requests Extension defines a protocol to enable the use of
259requests that exceed 262140 bytes in length.")
727f076f
MB
260 (license license:x11)
261 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 262
9aea24b6
AE
263(define-public compositeproto
264 (package
265 (name "compositeproto")
266 (version "0.4.2")
267 (source
268 (origin
269 (method url-fetch)
270 (uri (string-append
d2611ffb 271 "mirror://xorg/individual/proto/compositeproto-"
9aea24b6
AE
272 version
273 ".tar.bz2"))
274 (sha256
275 (base32
276 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
277 (build-system gnu-build-system)
88ee93f9 278 (inputs
89ad4fc6 279 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
280 (native-inputs
281 `(("pkg-config" ,pkg-config)))
01497dfe 282 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
283 (synopsis "Xorg CompositeProto protocol headers")
284 (description
285 "Composite Extension contains header files and documentation for
286the damage protocol.")
3bad0d84
MB
287 (license license:x11)
288 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 289
9aea24b6
AE
290(define-public damageproto
291 (package
292 (name "damageproto")
293 (version "1.2.1")
294 (source
295 (origin
296 (method url-fetch)
297 (uri (string-append
d2611ffb 298 "mirror://xorg/individual/proto/damageproto-"
9aea24b6
AE
299 version
300 ".tar.bz2"))
301 (sha256
302 (base32
303 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
304 (build-system gnu-build-system)
c4c4cc05 305 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 306 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
307 (synopsis "Xorg DamageProto protocol headers")
308 (description
309 "Damage Extension contains header files and documentation for
310the damage protocol.")
be56161d
MB
311 (license license:x11)
312 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 313
9aea24b6
AE
314(define-public dmxproto
315 (package
316 (name "dmxproto")
317 (version "2.3.1")
318 (source
319 (origin
320 (method url-fetch)
321 (uri (string-append
d2611ffb 322 "mirror://xorg/individual/proto/dmxproto-"
9aea24b6
AE
323 version
324 ".tar.bz2"))
325 (sha256
326 (base32
327 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
328 (build-system gnu-build-system)
c4c4cc05 329 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 330 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
331 (synopsis "Xorg DMXProto protocol headers")
332 (description
333 "DMX (Distributed Multihead X) Extension defines a protocol for clients
334to access a front-end proxy X server that controls multiple back-end X
335servers making up a large display.")
245ce0cd
MB
336 (license license:x11)
337 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
338
339(define-public dri2proto
340 (package
341 (name "dri2proto")
3097d65e 342 (version "2.8")
5f1d0fb0
AE
343 (source
344 (origin
345 (method url-fetch)
346 (uri (string-append
3097d65e 347 "mirror://xorg/individual/proto/dri2proto-"
5f1d0fb0
AE
348 version
349 ".tar.bz2"))
350 (sha256
351 (base32
3097d65e 352 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
5f1d0fb0 353 (build-system gnu-build-system)
01497dfe 354 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
355 (synopsis "Xorg DRI2Proto protocol headers")
356 (description
357 "Direct Rendering Infrastructure 2 Extension defines a protocol to
358securely allow user applications to access the video hardware without
359requiring data to be passed through the X server.")
3993a28a
MB
360 (license license:x11)
361 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 362
43dd1cf3
AE
363(define-public dri3proto
364 (package
365 (name "dri3proto")
366 (version "1.0")
367 (source
368 (origin
369 (method url-fetch)
370 (uri (string-append
371 "mirror://xorg/individual/proto/dri3proto-"
372 version
373 ".tar.bz2"))
374 (sha256
375 (base32
376 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
377 (build-system gnu-build-system)
01497dfe 378 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
379 (synopsis "Xorg DRI3Proto protocol headers")
380 (description
381 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
382translate between direct rendered buffers and X pixmaps. When combined with
383the Present extension, a complete direct rendering solution for OpenGL is
384provided.")
43dd1cf3 385 (license (license:x11-style "file://dri3proto.h"
0e540ac1
MB
386 "See 'dri3proto.h' in the distribution."))
387 (properties `((superseded . ,xorgproto)))))
43dd1cf3 388
97fedab1 389(define-public %app-defaults-dir "/lib/X11/app-defaults")
43dd1cf3 390
f0ddc5e5
JD
391(define-public editres
392 (package
393 (name "editres")
437e5fae 394 (version "1.0.7")
f0ddc5e5
JD
395 (source
396 (origin
397 (method url-fetch)
398 (uri (string-append
399 "mirror://xorg/individual/app/" name "-"
400 version
401 ".tar.bz2"))
402 (sha256
403 (base32
437e5fae 404 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
f0ddc5e5
JD
405 (build-system gnu-build-system)
406 (arguments
407 `(#:configure-flags
408 (list (string-append "--with-appdefaultdir="
73ae4e69 409 %output ,%app-defaults-dir))))
f0ddc5e5
JD
410 (inputs
411 `(("libxaw" ,libxaw)
412 ("libxmu" ,libxmu)
413 ("libxt" ,libxt)))
414 (native-inputs
415 `(("pkg-config" ,pkg-config)))
416 (home-page "https://www.x.org/wiki/")
417 (synopsis "Tool to browse and edit X Toolkit resource specifications")
418 (description
419 "Editres is a tool that allows users and application developers to view
420the full widget hierarchy of any X Toolkit application that speaks the Editres
421protocol. In addition, editres will help the user construct resource
422specifications, allow the user to apply the resource to the application and
423view the results dynamically. Once the user is happy with a resource
424specification editres will append the resource string to the user's X
425Resources file.")
426 (license license:x11)))
427
428
9aea24b6
AE
429(define-public encodings
430 (package
431 (name "encodings")
5dfdab05 432 (version "1.0.5")
9aea24b6
AE
433 (source
434 (origin
435 (method url-fetch)
436 (uri (string-append
d2611ffb 437 "mirror://xorg/individual/font/encodings-"
9aea24b6
AE
438 version
439 ".tar.bz2"))
440 (sha256
5dfdab05 441 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
9aea24b6 442 (build-system gnu-build-system)
9aea24b6 443 (inputs
c4c4cc05
JD
444 `(("mkfontscale" ,mkfontscale)))
445 (native-inputs
446 `(("pkg-config" ,pkg-config)))
01497dfe 447 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
448 (synopsis "Xorg font encoding files")
449 (description "Xorg font encoding files.")
6eb126c5 450 (license license:public-domain)))
5f1d0fb0 451
58d222ed
LC
452(define (%xorg-font-origin font version hash)
453 (origin
454 (method url-fetch)
455 (uri (string-append "mirror://xorg/individual/font/" font "-"
456 version ".tar.bz2"))
ed824a36
LC
457 (sha256 hash)
458 (modules '((guix build utils)))
459 (snippet
460 ;; Do not include timestamps in '.pcf.gz' files.
6cbee49d
MW
461 '(begin
462 (substitute* "Makefile.in"
463 (("^COMPRESS = (.*)$" _ rest)
464 (string-append "COMPRESS = " (string-trim-right rest)
465 " --no-name\n")))
466 #t))))
58d222ed
LC
467
468(define-syntax-rule (xorg-font-origin font version hash)
469 "Expand to the 'origin' form for the given Xorg font package."
470 (%xorg-font-origin font version (base32 hash)))
5f1d0fb0 471
6eb126c5 472(define-public font-adobe100dpi
9aea24b6 473 (package
6eb126c5 474 (name "font-adobe100dpi")
9aea24b6 475 (version "1.0.3")
58d222ed
LC
476 (source (xorg-font-origin
477 "font-adobe-100dpi" version
478 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
9aea24b6 479 (build-system gnu-build-system)
bc3073c8
AE
480 (inputs
481 `(("bdftopcf" ,bdftopcf)
b3546174 482 ("font-util" ,font-util)
c4c4cc05
JD
483 ("mkfontdir" ,mkfontdir)))
484 (native-inputs
485 `(("pkg-config" ,pkg-config)))
755693a4
AE
486 (arguments
487 `(#:configure-flags (list
488 ;; install fonts into subdirectory of package output instead of
489 ;; font-util-?.?.?/share/fonts/X11
490 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 491 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
492 (synopsis "Xorg adobe-100dpi fonts")
493 (description "Xorg adobe-100dpi fonts.")
d385b835 494 (license license:x11)))
5f1d0fb0
AE
495
496
6eb126c5 497(define-public font-adobe75dpi
9aea24b6 498 (package
6eb126c5 499 (name "font-adobe75dpi")
9aea24b6 500 (version "1.0.3")
58d222ed
LC
501 (source (xorg-font-origin
502 "font-adobe-75dpi" version
503 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
9aea24b6 504 (build-system gnu-build-system)
bc3073c8
AE
505 (inputs
506 `(("bdftopcf" ,bdftopcf)
b3546174 507 ("font-util" ,font-util)
c4c4cc05
JD
508 ("mkfontdir" ,mkfontdir)))
509 (native-inputs
510 `(("pkg-config" ,pkg-config)))
755693a4
AE
511 (arguments
512 `(#:configure-flags (list
513 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 514 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
515 (synopsis "Xorg adobe-75dpi fonts")
516 (description "Xorg adobe-75dpi fonts.")
d385b835
AE
517 (license license:x11)))
518
519
124b7f1e 520;; non-free license
6eb126c5 521;; (define-public font-adobe-utopia100dpi
6eb126c5 522;; (define-public font-adobe-utopia75dpi
d385b835 523;; (define-public font-adobe-utopia-type1
5f1d0fb0
AE
524
525
526(define-public font-alias
9aea24b6 527 (package
5f1d0fb0 528 (name "font-alias")
9aea24b6 529 (version "1.0.3")
58d222ed
LC
530 (source (xorg-font-origin
531 name version
532 "16ic8wfwwr3jicaml7b5a0sk6plcgc1kg84w02881yhwmqm3nicb"))
9aea24b6 533 (build-system gnu-build-system)
c4c4cc05 534 (native-inputs `(("pkg-config" ,pkg-config)))
bf9655f5
EB
535 (arguments
536 `(#:phases (modify-phases %standard-phases
537 (add-after
538 'install 'install-fonts-dir
539 ;; The X font server will not add directories to the font
540 ;; path unless they contain a "fonts.dir" file, so add some
541 ;; dummy files.
542 (lambda* (#:key outputs #:allow-other-keys)
543 (let ((out (assoc-ref outputs "out")))
544 (for-each (lambda (d)
545 (call-with-output-file
546 (string-append out "/share/fonts/X11"
547 "/" d "/fonts.dir")
548 (lambda (p)
549 (format p "0~%"))))
550 '("75dpi" "100dpi" "misc" "cyrillic"))
551 #t))))))
01497dfe 552 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
553 (synopsis "Xorg font aliases")
554 (description
555 "This package provides some common aliases for Xorg fonts.
36a4366d 556For example: @code{6x10}, @code{9x15bold}, etc.")
d385b835 557 (license license:x11)))
5f1d0fb0
AE
558
559
560(define-public font-arabic-misc
9aea24b6 561 (package
5f1d0fb0 562 (name "font-arabic-misc")
9aea24b6 563 (version "1.0.3")
58d222ed
LC
564 (source (xorg-font-origin
565 name version
566 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
9aea24b6
AE
567 (build-system gnu-build-system)
568 (inputs
569 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
570 ("bdftopcf" ,bdftopcf)))
571 (native-inputs
572 `(("pkg-config" ,pkg-config)))
01497dfe 573 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
574 (synopsis "Xorg arabic-misc font")
575 (description "Xorg arabic-misc font.")
d385b835
AE
576 (license license:x11)))
577
578
124b7f1e 579;; non-free license
6eb126c5 580;; (define-public font-bh100dpi
6eb126c5 581;; (define-public font-bh75dpi
6eb126c5 582;; (define-public font-bh-lucidatypewriter100dpi
6eb126c5 583;; (define-public font-bh-lucidatypewriter75dpi
45f0ae82 584;; (define-public font-bh-ttf
d385b835 585;; (define-public font-bh-type1
6eb126c5 586;; (define-public font-bitstream100dpi
6eb126c5 587;; (define-public font-bitstream75dpi
5f1d0fb0
AE
588
589
5f1d0fb0 590(define-public font-cronyx-cyrillic
9aea24b6 591 (package
5f1d0fb0
AE
592 (name "font-cronyx-cyrillic")
593 (version "1.0.3")
58d222ed
LC
594 (source (xorg-font-origin
595 name version
596 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
9aea24b6
AE
597 (build-system gnu-build-system)
598 (inputs
5f1d0fb0 599 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
600 ("bdftopcf" ,bdftopcf)))
601 (native-inputs
602 `(("pkg-config" ,pkg-config)))
01497dfe 603 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
604 (synopsis "Xorg cronyx-cyrillic font")
605 (description "Xorg cronyx-cyrillic font.")
d385b835
AE
606 (license license:x11)))
607
608
124b7f1e 609;; no license
d385b835 610;; (define-public font-cursor-misc
124b7f1e
AE
611
612;; non-free license
d385b835 613;; (define-public font-daewoo-misc
5f1d0fb0
AE
614
615
616(define-public font-dec-misc
9aea24b6 617 (package
5f1d0fb0
AE
618 (name "font-dec-misc")
619 (version "1.0.3")
58d222ed
LC
620 (source (xorg-font-origin
621 name version
622 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
9aea24b6 623 (build-system gnu-build-system)
5f1d0fb0
AE
624 (inputs
625 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
626 ("bdftopcf" ,bdftopcf)))
627 (native-inputs
628 `(("pkg-config" ,pkg-config)))
01497dfe 629 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
630 (synopsis "Xorg dec-misc font")
631 (description "Xorg dec-misc font.")
d385b835 632 (license license:x11)))
5f1d0fb0
AE
633
634
124b7f1e 635;; non-free license
d385b835 636;; (define-public font-ibm-type1
5f1d0fb0
AE
637
638(define-public font-isas-misc
9aea24b6 639 (package
5f1d0fb0
AE
640 (name "font-isas-misc")
641 (version "1.0.3")
58d222ed
LC
642 (source (xorg-font-origin
643 name version
644 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
9aea24b6 645 (build-system gnu-build-system)
5f1d0fb0
AE
646 (inputs
647 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
648 ("bdftopcf" ,bdftopcf)))
649 (native-inputs
650 `(("pkg-config" ,pkg-config)))
01497dfe 651 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
652 (synopsis "Xorg isas-misc font")
653 (description "Xorg isas-misc font.")
d385b835 654 (license license:x11)))
5f1d0fb0
AE
655
656
124b7f1e 657;; non-free license
d385b835 658;; (define-public font-jis-misc
5f1d0fb0
AE
659
660
661(define-public font-micro-misc
9aea24b6 662 (package
5f1d0fb0
AE
663 (name "font-micro-misc")
664 (version "1.0.3")
58d222ed
LC
665 (source (xorg-font-origin
666 name version
667 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
9aea24b6 668 (build-system gnu-build-system)
5f1d0fb0
AE
669 (inputs
670 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
671 ("bdftopcf" ,bdftopcf)))
672 (native-inputs
673 `(("pkg-config" ,pkg-config)))
01497dfe 674 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
675 (synopsis "Xorg micro-misc font")
676 (description "Xorg micro-misc font.")
d385b835 677 (license license:public-domain)))
5f1d0fb0
AE
678
679
680(define-public font-misc-cyrillic
9aea24b6 681 (package
5f1d0fb0
AE
682 (name "font-misc-cyrillic")
683 (version "1.0.3")
58d222ed
LC
684 (source (xorg-font-origin
685 name version
686 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
9aea24b6 687 (build-system gnu-build-system)
5f1d0fb0
AE
688 (inputs
689 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
690 ("bdftopcf" ,bdftopcf)))
691 (native-inputs
692 `(("pkg-config" ,pkg-config)))
01497dfe 693 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
694 (synopsis "Xorg misc-cyrillic fonts")
695 (description "Xorg misc-cyrillic fonts.")
d385b835 696 (license license:x11)))
5f1d0fb0
AE
697
698
699(define-public font-misc-ethiopic
9aea24b6 700 (package
5f1d0fb0
AE
701 (name "font-misc-ethiopic")
702 (version "1.0.3")
58d222ed
LC
703 (source (xorg-font-origin
704 name version
705 "19cq7iq0pfad0nc2v28n681fdq3fcw1l1hzaq0wpkgpx7bc1zjsk"))
9aea24b6
AE
706 (build-system gnu-build-system)
707 (inputs
881d8631
EF
708 `(("mkfontdir" ,mkfontdir)
709 ("mkfontscale" ,mkfontscale)))
c4c4cc05
JD
710 (native-inputs
711 `(("pkg-config" ,pkg-config)))
01497dfe 712 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
713 (synopsis "Xorg misc-ethiopic fonts")
714 (description "Xorg misc-ethiopic fonts.")
d385b835 715 (license license:x11)))
5f1d0fb0
AE
716
717
124b7f1e 718;; non-free license
d385b835 719;; (define-public font-misc-meltho
5f1d0fb0
AE
720
721
722(define-public font-misc-misc
9aea24b6 723 (package
5f1d0fb0
AE
724 (name "font-misc-misc")
725 (version "1.1.2")
58d222ed
LC
726 (source (xorg-font-origin
727 name version
728 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
9aea24b6 729 (build-system gnu-build-system)
5f1d0fb0 730 (inputs
c7f99931 731 `(("mkfontdir" ,mkfontdir)
5f1d0fb0 732 ("font-util" ,font-util)
c4c4cc05
JD
733 ("bdftopcf" ,bdftopcf)))
734 (native-inputs
735 `(("pkg-config" ,pkg-config)))
755693a4
AE
736 (arguments
737 `(#:configure-flags (list
738 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 739 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
740 (synopsis "Xorg misc-misc fonts")
741 (description "Xorg misc-misc fixed fonts.")
d385b835 742 (license license:public-domain)))
5f1d0fb0
AE
743
744
745(define-public font-mutt-misc
9aea24b6 746 (package
5f1d0fb0
AE
747 (name "font-mutt-misc")
748 (version "1.0.3")
58d222ed
LC
749 (source (xorg-font-origin
750 name version
751 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
9aea24b6 752 (build-system gnu-build-system)
5f1d0fb0
AE
753 (inputs
754 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
755 ("bdftopcf" ,bdftopcf)))
756 (native-inputs
757 `(("pkg-config" ,pkg-config)))
01497dfe 758 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
759 (synopsis "Xorg mutt-misc fonts")
760 (description "Xorg mutt-misc fonts.")
d385b835 761 (license license:x11)))
5f1d0fb0
AE
762
763
764(define-public font-schumacher-misc
9aea24b6 765 (package
5f1d0fb0
AE
766 (name "font-schumacher-misc")
767 (version "1.1.2")
58d222ed
LC
768 (source (xorg-font-origin
769 name version
770 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
9aea24b6
AE
771 (build-system gnu-build-system)
772 (inputs
c7f99931 773 `(("mkfontdir" ,mkfontdir)
5f1d0fb0 774 ("font-util" ,font-util)
c4c4cc05
JD
775 ("bdftopcf" ,bdftopcf)))
776 (native-inputs
777 `(("pkg-config" ,pkg-config)))
755693a4
AE
778 (arguments
779 `(#:configure-flags (list
780 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 781 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
782 (synopsis "Xorg schumacher-misc fonts")
783 (description "Xorg schumacher-misc fonts.")
d385b835 784 (license license:x11)))
5f1d0fb0
AE
785
786
787(define-public font-screen-cyrillic
9aea24b6 788 (package
5f1d0fb0 789 (name "font-screen-cyrillic")
9aea24b6 790 (version "1.0.4")
58d222ed
LC
791 (source (xorg-font-origin
792 name version
793 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
9aea24b6
AE
794 (build-system gnu-build-system)
795 (inputs
5f1d0fb0 796 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
797 ("bdftopcf" ,bdftopcf)))
798 (native-inputs
799 `(("pkg-config" ,pkg-config)))
01497dfe 800 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
801 (synopsis "Xorg screen-cyrillic fonts")
802 (description "Xorg screen-cyrillic fonts.")
d385b835 803 (license license:x11)))
5f1d0fb0
AE
804
805
806(define-public font-sony-misc
9aea24b6 807 (package
5f1d0fb0
AE
808 (name "font-sony-misc")
809 (version "1.0.3")
58d222ed
LC
810 (source (xorg-font-origin
811 name version
812 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
9aea24b6
AE
813 (build-system gnu-build-system)
814 (inputs
5f1d0fb0 815 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
816 ("bdftopcf" ,bdftopcf)))
817 (native-inputs
818 `(("pkg-config" ,pkg-config)))
01497dfe 819 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
820 (synopsis "Xorg sony-misc fonts")
821 (description "Xorg sony-misc fonts.")
d385b835 822 (license license:x11)))
5f1d0fb0
AE
823
824
825(define-public font-sun-misc
9aea24b6 826 (package
5f1d0fb0
AE
827 (name "font-sun-misc")
828 (version "1.0.3")
58d222ed
LC
829 (source (xorg-font-origin
830 name version
831 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
9aea24b6
AE
832 (build-system gnu-build-system)
833 (inputs
5f1d0fb0 834 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
835 ("bdftopcf" ,bdftopcf)))
836 (native-inputs
837 `(("pkg-config" ,pkg-config)))
01497dfe 838 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
839 (synopsis "Xorg sun-misc fonts")
840 (description "Xorg sun-misc fonts.")
d385b835 841 (license license:x11)))
5f1d0fb0
AE
842
843
844(define-public font-util
9aea24b6 845 (package
5f1d0fb0 846 (name "font-util")
9e4a244b 847 (version "1.3.2")
9aea24b6
AE
848 (source
849 (origin
850 (method url-fetch)
851 (uri (string-append
d2611ffb 852 "mirror://xorg/individual/font/font-util-"
9aea24b6
AE
853 version
854 ".tar.bz2"))
855 (sha256
9e4a244b 856 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
9aea24b6 857 (build-system gnu-build-system)
c4c4cc05 858 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 859 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
860 (synopsis "Xorg font utilities")
861 (description
862 "Xorg font package creation/installation utilities.")
d385b835 863 (license license:x11)))
5f1d0fb0
AE
864
865
866(define-public font-winitzki-cyrillic
9aea24b6 867 (package
5f1d0fb0
AE
868 (name "font-winitzki-cyrillic")
869 (version "1.0.3")
58d222ed
LC
870 (source (xorg-font-origin
871 name version
872 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
9aea24b6
AE
873 (build-system gnu-build-system)
874 (inputs
5f1d0fb0 875 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
876 ("bdftopcf" ,bdftopcf)))
877 (native-inputs
878 `(("pkg-config" ,pkg-config)))
01497dfe 879 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
880 (synopsis "Xorg winitzki-cyrillic font")
881 (description "Xorg winitzki-cyrillic font.")
d385b835 882 (license license:public-domain)))
5f1d0fb0
AE
883
884
885(define-public font-xfree86-type1
9aea24b6 886 (package
5f1d0fb0
AE
887 (name "font-xfree86-type1")
888 (version "1.0.4")
58d222ed
LC
889 (source (xorg-font-origin
890 name version
891 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
9aea24b6 892 (build-system gnu-build-system)
6eb126c5 893 (inputs
5d923b4f
EF
894 `(("mkfontdir" ,mkfontdir)
895 ("mkfontscale" ,mkfontscale)))
c4c4cc05
JD
896 (native-inputs
897 `(("pkg-config" ,pkg-config)))
01497dfe 898 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
899 (synopsis "Xorg xfree86-type1 font")
900 (description "Xorg xfree86-type1 font.")
d385b835 901 (license license:x11)))
5f1d0fb0
AE
902
903
904(define-public fontsproto
9aea24b6 905 (package
5f1d0fb0 906 (name "fontsproto")
8fc8c1ee 907 (version "2.1.3")
9aea24b6
AE
908 (source
909 (origin
910 (method url-fetch)
911 (uri (string-append
8fc8c1ee 912 "mirror://xorg/individual/proto/fontsproto-"
9aea24b6
AE
913 version
914 ".tar.bz2"))
915 (sha256
916 (base32
8fc8c1ee 917 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
9aea24b6 918 (build-system gnu-build-system)
c4c4cc05 919 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 920 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
921 (synopsis "Xorg FontsProto protocol headers")
922 (description
923 "Fonts Extension contains header files and documentation for
924the fonts protocol.")
b4d7aef5
MB
925 (license license:x11)
926 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
927
928(define-public glproto
9aea24b6 929 (package
5f1d0fb0 930 (name "glproto")
cc28048d 931 (version "1.4.17")
9aea24b6
AE
932 (source
933 (origin
934 (method url-fetch)
935 (uri (string-append
cc28048d 936 "mirror://xorg/individual/proto/glproto-"
9aea24b6
AE
937 version
938 ".tar.bz2"))
939 (sha256
940 (base32
cc28048d 941 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
9aea24b6 942 (build-system gnu-build-system)
c4c4cc05 943 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 944 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
945 (synopsis "Xorg GLProto protocol headers")
946 (description
947 "OpenGL Extension defines a protocol for the client to send 3D
948rendering commands to the X server.")
70b02a6a
MB
949 (license license:x11)
950 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
951
952(define-public iceauth
9aea24b6 953 (package
5f1d0fb0 954 (name "iceauth")
6836c228 955 (version "1.0.8")
9aea24b6
AE
956 (source
957 (origin
958 (method url-fetch)
959 (uri (string-append
d220d152 960 "mirror://xorg/individual/app/iceauth-"
9aea24b6
AE
961 version
962 ".tar.bz2"))
963 (sha256
964 (base32
6836c228 965 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
9aea24b6
AE
966 (build-system gnu-build-system)
967 (inputs
c4c4cc05
JD
968 `(("libice" ,libice)))
969 (native-inputs
970 `(("pkg-config" ,pkg-config)))
01497dfe 971 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
972 (synopsis "ICE authority file utility")
973 (description
974 "ICEAuth program is used to edit and display the authorization
975information used in connecting with ICE (Inter-Client Exchange). It
976operates very much like the xauth program for X11 connection
977authentication records.")
d385b835 978 (license license:x11)))
5f1d0fb0
AE
979
980
981(define-public inputproto
9aea24b6 982 (package
5f1d0fb0 983 (name "inputproto")
ee86a59e 984 (version "2.3.2")
9aea24b6
AE
985 (source
986 (origin
987 (method url-fetch)
988 (uri (string-append
7f65303d 989 "mirror://xorg/individual/proto/inputproto-"
9aea24b6
AE
990 version
991 ".tar.bz2"))
992 (sha256
993 (base32
ee86a59e 994 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
9aea24b6 995 (build-system gnu-build-system)
c4c4cc05 996 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 997 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
998 (synopsis "Xorg InputProto protocol headers")
999 (description
1000 "Input Extension defines a protocol to provide additional input
1001devices management such as graphic tablets.")
82b4d9ec
MB
1002 (license license:x11)
1003 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
1004
1005(define-public kbproto
9aea24b6 1006 (package
5f1d0fb0 1007 (name "kbproto")
d6c6dde8 1008 (version "1.0.7")
9aea24b6
AE
1009 (source
1010 (origin
1011 (method url-fetch)
1012 (uri (string-append
d2611ffb 1013 "mirror://xorg/individual/proto/kbproto-"
9aea24b6
AE
1014 version
1015 ".tar.bz2"))
1016 (sha256
1017 (base32
d6c6dde8 1018 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
9aea24b6 1019 (build-system gnu-build-system)
c4c4cc05 1020 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1021 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1022 (synopsis "Xorg KBProto protocol headers")
1023 (description
1024 "X Keyboard (XKB) Extension defines a protocol to provide a number
1025of new capabilities and controls for text keyboards.")
2d030098
MB
1026 (license license:x11)
1027 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1028
d92083ad
AE
1029;; requires applewmproto, which compiles only on macos
1030;; (define-public libapplewm
d385b835
AE
1031
1032
1033(define-public libdmx
1034 (package
1035 (name "libdmx")
4bbd9207 1036 (version "1.1.4")
d385b835
AE
1037 (source
1038 (origin
1039 (method url-fetch)
1040 (uri (string-append
eb2a0e11 1041 "mirror://xorg/individual/lib/libdmx-"
d385b835
AE
1042 version
1043 ".tar.bz2"))
1044 (sha256
1045 (base32
4bbd9207 1046 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
d385b835
AE
1047 (build-system gnu-build-system)
1048 (inputs
caf90259 1049 `(("xorgproto" ,xorgproto)
d385b835 1050 ("libxext" ,libxext)
245ce0cd 1051 ("libx11" ,libx11)))
c4c4cc05
JD
1052 (native-inputs
1053 `(("pkg-config" ,pkg-config)))
01497dfe 1054 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1055 (synopsis "Xorg DMX library")
1056 (description
1057 "DMX (Distributed Multihead X) extension library.")
d385b835
AE
1058 (license license:x11)))
1059
1060
f0b6c5d8
MW
1061(define-public libxshmfence
1062 (package
1063 (name "libxshmfence")
a270ba9e 1064 (version "1.3")
f0b6c5d8
MW
1065 (source (origin
1066 (method url-fetch)
1067 (uri (string-append
1068 "mirror://xorg/individual/lib/"
1069 name "-" version ".tar.bz2"))
1070 (sha256
1071 (base32
a270ba9e 1072 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
f0b6c5d8
MW
1073 (build-system gnu-build-system)
1074 (native-inputs `(("pkg-config" ,pkg-config)))
6a6db57f 1075 (inputs `(("xorgproto" ,xorgproto)))
9f9c36f5 1076 (home-page "https://www.x.org/")
01bec8a6 1077 (synopsis "Xorg shared memory fences library")
f0b6c5d8
MW
1078 (description
1079 "This library provides an interface to shared-memory fences for
1080synchronization between the X server and direct-rendering clients.")
8f501ac8
LC
1081
1082 ;; Same license as libevdev.
1083 (license (license:x11-style "file://COPYING"))))
f0b6c5d8
MW
1084
1085
d385b835
AE
1086(define-public libfontenc
1087 (package
1088 (name "libfontenc")
ce325754 1089 (version "1.1.4")
d385b835
AE
1090 (source
1091 (origin
1092 (method url-fetch)
1093 (uri (string-append
7d7a47c6 1094 "mirror://xorg/individual/lib/libfontenc-"
d385b835
AE
1095 version
1096 ".tar.bz2"))
1097 (sha256
1098 (base32
ce325754 1099 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
d385b835
AE
1100 (build-system gnu-build-system)
1101 (inputs
1102 `(("zlib" ,zlib)
6a6db57f 1103 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1104 (native-inputs
1105 `(("pkg-config" ,pkg-config)))
ce325754 1106 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
01bec8a6
AK
1107 (synopsis "Xorg font encoding library")
1108 (description "Xorg font encoding library.")
d385b835 1109 (license license:x11)))
5f1d0fb0
AE
1110
1111
1112(define-public libfs
9aea24b6 1113 (package
5f1d0fb0 1114 (name "libfs")
77ad8a65 1115 (version "1.0.8")
9aea24b6
AE
1116 (source
1117 (origin
1118 (method url-fetch)
1119 (uri (string-append
cbc4f50c 1120 "mirror://xorg/individual/lib/libFS-"
9aea24b6
AE
1121 version
1122 ".tar.bz2"))
1123 (sha256
77ad8a65 1124 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
9aea24b6
AE
1125 (build-system gnu-build-system)
1126 (inputs
5f1d0fb0 1127 `(("xtrans" ,xtrans)
b4d7aef5 1128 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1129 (native-inputs
1130 `(("pkg-config" ,pkg-config)))
01497dfe 1131 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1132 (synopsis "Xorg Font Service client library")
1133 (description
1134 "Font Service client library is used by clients of X Font
1135Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1136themselves.")
d385b835 1137 (license license:x11)))
5f1d0fb0
AE
1138
1139
d385b835
AE
1140(define-public libpciaccess
1141 (package
1142 (name "libpciaccess")
3082280c 1143 (version "0.16")
d385b835
AE
1144 (source
1145 (origin
1146 (method url-fetch)
1147 (uri (string-append
b54eab02 1148 "mirror://xorg/individual/lib/libpciaccess-"
d385b835
AE
1149 version
1150 ".tar.bz2"))
1151 (sha256
1152 (base32
3082280c 1153 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
d385b835 1154 (build-system gnu-build-system)
ab2a8cac
LC
1155 (arguments
1156 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1157 ;; provided by pciutils.
1158 #:configure-flags
1159 (list "--with-zlib"
1160 (string-append "--with-pciids-path="
1161 (assoc-ref %build-inputs "pciutils")
1162 "/share/hwdata"))
1163
1164 #:phases
1165 (modify-phases %standard-phases
1166 (add-after 'install 'add-L-zlib
1167 (lambda* (#:key inputs outputs #:allow-other-keys)
1168 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1169 (let ((zlib (assoc-ref inputs "zlib"))
1170 (out (assoc-ref outputs "out")))
1171 (substitute* (string-append out "/lib/libpciaccess.la")
1172 (("-lz")
1173 (string-append "-L" zlib "/lib -lz")))
1174 #t))))))
d385b835 1175 (inputs
ab2a8cac
LC
1176 `(("zlib" ,zlib)
1177 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
c4c4cc05
JD
1178 (native-inputs
1179 `(("pkg-config" ,pkg-config)))
01497dfe 1180 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1181 (synopsis "Xorg PCI access library")
1182 (description "Xorg Generic PCI access library.")
d385b835
AE
1183 (license license:x11)))
1184
1185
0820a58b
AE
1186(define-public libpthread-stubs
1187 (package
1188 (name "libpthread-stubs")
7134ac4c 1189 (version "0.4")
0820a58b
AE
1190 (source
1191 (origin
1192 (method url-fetch)
1193 (uri (string-append
d2611ffb 1194 "mirror://xorg/individual/xcb/libpthread-stubs-"
0820a58b
AE
1195 version
1196 ".tar.bz2"))
1197 (sha256
1198 (base32
7134ac4c 1199 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
0820a58b 1200 (build-system gnu-build-system)
c4c4cc05 1201 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1202 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1203 (synopsis "Library with pthread stubs")
1204 (description
1205 "This library provides weak aliases for pthread functions not
1206provided in libc or otherwise available by default. Libraries like
1207libxcb rely on pthread stubs to use pthreads optionally, becoming
1208thread-safe when linked to libpthread, while avoiding any performance
1209hit when running single-threaded.")
0820a58b 1210 (license license:x11)))
5f1d0fb0
AE
1211
1212
1213(define-public libsm
9aea24b6 1214 (package
5f1d0fb0 1215 (name "libsm")
709fdfc2 1216 (version "1.2.3")
9aea24b6
AE
1217 (source
1218 (origin
1219 (method url-fetch)
1220 (uri (string-append
d8dde296 1221 "mirror://xorg/individual/lib/libSM-"
9aea24b6
AE
1222 version
1223 ".tar.bz2"))
1224 (sha256
1225 (base32
709fdfc2 1226 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
9aea24b6 1227 (build-system gnu-build-system)
211345b3
AE
1228 (propagated-inputs
1229 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
9aea24b6 1230 (inputs
5f1d0fb0 1231 `(("xtrans" ,xtrans)
211345b3 1232 ("util-linux" ,util-linux)))
c4c4cc05
JD
1233 (native-inputs
1234 `(("pkg-config" ,pkg-config)))
01497dfe 1235 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1236 (synopsis "Xorg Session Management library")
1237 (description "Xorg Session Management library.")
d385b835 1238 (license license:x11)))
5f1d0fb0
AE
1239
1240
1241(define-public libwindowswm
9aea24b6 1242 (package
5f1d0fb0
AE
1243 (name "libwindowswm")
1244 (version "1.0.1")
9aea24b6
AE
1245 (source
1246 (origin
1247 (method url-fetch)
1248 (uri (string-append
d2611ffb 1249 "mirror://xorg/individual/lib/libWindowsWM-"
9aea24b6
AE
1250 version
1251 ".tar.bz2"))
1252 (sha256
1253 (base32
5f1d0fb0 1254 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
9aea24b6
AE
1255 (build-system gnu-build-system)
1256 (inputs
caf90259 1257 `(("xorgproto" ,xorgproto)
9aea24b6 1258 ("libxext" ,libxext)
196abe4d 1259 ("libx11" ,libx11)))
c4c4cc05
JD
1260 (native-inputs
1261 `(("pkg-config" ,pkg-config)))
01497dfe 1262 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1263 (synopsis "Xorg WindowsWM library")
1264 (description
1265 "Cygwin/X rootless window management extension.
1266WindowsWM is a simple library designed to interface with the Windows-WM
1267extension. This extension allows X window managers to better interact
1268with the Cygwin XWin server when running X11 in a rootless mode.")
d385b835 1269 (license license:x11)))
5f1d0fb0
AE
1270
1271
6eb126c5 1272(define-public libxcomposite
9aea24b6 1273 (package
6eb126c5 1274 (name "libxcomposite")
e440a756 1275 (version "0.4.5")
9aea24b6
AE
1276 (source
1277 (origin
1278 (method url-fetch)
1279 (uri (string-append
4c573e69 1280 "mirror://xorg/individual/lib/libXcomposite-"
9aea24b6
AE
1281 version
1282 ".tar.bz2"))
1283 (sha256
1284 (base32
e440a756 1285 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
9aea24b6 1286 (build-system gnu-build-system)
4281d1b6
SB
1287 (propagated-inputs
1288 ;; xcomposite.pc refers to all these.
6a6db57f 1289 `(("xorgproto" ,xorgproto)
6eb126c5 1290 ("libxfixes" ,libxfixes)
3bad0d84 1291 ("libx11" ,libx11)))
c4c4cc05
JD
1292 (native-inputs
1293 `(("pkg-config" ,pkg-config)))
01497dfe 1294 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1295 (synopsis "Xorg Composite library")
1296 (description
1297 "Client library for the Composite extension to the X11 protocol.")
d385b835 1298 (license license:x11)))
5f1d0fb0
AE
1299
1300
6eb126c5 1301(define-public libxdmcp
9aea24b6 1302 (package
6eb126c5 1303 (name "libxdmcp")
e2bf462b 1304 (version "1.1.3")
9aea24b6
AE
1305 (source
1306 (origin
1307 (method url-fetch)
1308 (uri (string-append
d2611ffb 1309 "mirror://xorg/individual/lib/libXdmcp-"
9aea24b6
AE
1310 version
1311 ".tar.bz2"))
1312 (sha256
1313 (base32
e2bf462b 1314 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
9aea24b6
AE
1315 (build-system gnu-build-system)
1316 (inputs
fe6db6ec 1317 `(("libbsd" ,libbsd)
6a6db57f 1318 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1319 (native-inputs
1320 `(("pkg-config" ,pkg-config)))
01497dfe 1321 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1322 (synopsis "Xorg Display Manager Control Protocol library")
1323 (description "Xorg Display Manager Control Protocol library.")
d385b835
AE
1324 (license license:x11)))
1325
1326
6eb126c5 1327(define-public libxft
0820a58b 1328 (package
6eb126c5 1329 (name "libxft")
df37df52 1330 (version "2.3.3")
0820a58b
AE
1331 (source
1332 (origin
1333 (method url-fetch)
1334 (uri (string-append
140a0793 1335 "mirror://xorg/individual/lib/libXft-"
0820a58b
AE
1336 version
1337 ".tar.bz2"))
1338 (sha256
1339 (base32
df37df52 1340 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
0820a58b 1341 (build-system gnu-build-system)
3c9aa5c1 1342 (propagated-inputs
7305f2f1
LC
1343 ;; xft.pc refers to all these.
1344 `(("libxrender" ,libxrender)
6eb126c5 1345 ("freetype" ,freetype)
c4c4cc05 1346 ("fontconfig" ,fontconfig)))
7305f2f1
LC
1347 (inputs
1348 `(("libx11" ,libx11)
6a6db57f 1349 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1350 (native-inputs
1351 `(("pkg-config" ,pkg-config)))
01497dfe 1352 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1353 (synopsis "Xorg FreeType library")
1354 (description
1355 "Xorg FreeType library connects X applications with the FreeType font
1356rasterization library. Xft uses fontconfig to locate fonts so it has no
1357configuration files.")
0820a58b 1358 (license license:x11)))
5f1d0fb0
AE
1359
1360
6eb126c5 1361(define-public libxkbfile
5f1d0fb0 1362 (package
6eb126c5 1363 (name "libxkbfile")
2e6508d8 1364 (version "1.1.0")
5f1d0fb0
AE
1365 (source
1366 (origin
1367 (method url-fetch)
1368 (uri (string-append
d2611ffb 1369 "mirror://xorg/individual/lib/libxkbfile-"
5f1d0fb0
AE
1370 version
1371 ".tar.bz2"))
1372 (sha256
1373 (base32
2e6508d8 1374 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
9aea24b6
AE
1375 (build-system gnu-build-system)
1376 (inputs
c4c4cc05
JD
1377 `(("libx11" ,libx11)))
1378 (native-inputs
1379 `(("pkg-config" ,pkg-config)))
01497dfe 1380 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1381 (synopsis "Xorg XKB file handling library")
1382 (description "Xorg XKB file handling library.")
d385b835 1383 (license license:x11)))
5f1d0fb0
AE
1384
1385
6eb126c5 1386(define-public libxmu
9aea24b6 1387 (package
6eb126c5 1388 (name "libxmu")
cb7fd8d0 1389 (version "1.1.3")
9aea24b6
AE
1390 (source
1391 (origin
1392 (method url-fetch)
1393 (uri (string-append
788093dd 1394 "mirror://xorg/individual/lib/libXmu-"
9aea24b6
AE
1395 version
1396 ".tar.bz2"))
1397 (sha256
1398 (base32
cb7fd8d0 1399 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
9aea24b6
AE
1400 (build-system gnu-build-system)
1401 (inputs
6eb126c5 1402 `(("libxt" ,libxt)
6a6db57f 1403 ("xorgproto" ,xorgproto)
c4c4cc05
JD
1404 ("libxext" ,libxext)))
1405 (native-inputs
1406 `(("pkg-config" ,pkg-config)))
01497dfe 1407 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1408 (synopsis "Xorg Xmu library")
1409 (description
1410 "Xmu library contains miscellaneous utilities and is not part of the
1411Xlib standard. It is intended to support clients in the Xorg distribution;
1412vendors may choose not to distribute this library if they wish. Therefore,
1413applications developers who depend on this library should be prepared to
1414treat it as part of their software base when porting.")
d385b835 1415 (license license:x11)))
5f1d0fb0
AE
1416
1417
6eb126c5 1418(define-public libxpm
9aea24b6 1419 (package
6eb126c5 1420 (name "libxpm")
5e107b22 1421 (version "3.5.12")
9aea24b6
AE
1422 (source
1423 (origin
1424 (method url-fetch)
1425 (uri (string-append
15bcd5b7 1426 "mirror://xorg/individual/lib/libXpm-"
9aea24b6
AE
1427 version
1428 ".tar.bz2"))
1429 (sha256
1430 (base32
5e107b22 1431 "1v5xaiw4zlhxspvx76y3hq4wpxv7mpj6parqnwdqvpj8vbinsspx"))))
9aea24b6
AE
1432 (build-system gnu-build-system)
1433 (inputs
b94a6ca0 1434 `(("gettext" ,gettext-minimal)
6eb126c5 1435 ("libxt" ,libxt)
6a6db57f 1436 ("xorgproto" ,xorgproto)
c4c4cc05
JD
1437 ("libxext" ,libxext)))
1438 (native-inputs
1439 `(("pkg-config" ,pkg-config)))
01497dfe 1440 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1441 (synopsis "Xorg XPM library")
1442 (description "XPM (X Pixmap) image file format library.")
d385b835 1443 (license license:x11)))
5f1d0fb0
AE
1444
1445
6eb126c5 1446(define-public libxres
5f1d0fb0 1447 (package
6eb126c5 1448 (name "libxres")
fe953dde 1449 (version "1.2.0")
5f1d0fb0
AE
1450 (source
1451 (origin
1452 (method url-fetch)
1453 (uri (string-append
07c6af48 1454 "mirror://xorg/individual/lib/libXres-"
5f1d0fb0
AE
1455 version
1456 ".tar.bz2"))
1457 (sha256
1458 (base32
fe953dde 1459 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
5f1d0fb0
AE
1460 (build-system gnu-build-system)
1461 (inputs
6a6db57f 1462 `(("xorgproto" ,xorgproto)
6eb126c5 1463 ("libxext" ,libxext)
2bf1fa98 1464 ("libx11" ,libx11)))
c4c4cc05
JD
1465 (native-inputs
1466 `(("pkg-config" ,pkg-config)))
01497dfe 1467 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1468 (synopsis "Xorg Resource extension library")
1469 (description "X Resource extension library.")
d385b835 1470 (license license:x11)))
5f1d0fb0
AE
1471
1472
6eb126c5 1473(define-public libxscrnsaver
9aea24b6 1474 (package
6eb126c5 1475 (name "libxscrnsaver")
3334cdc3 1476 (version "1.2.3")
9aea24b6
AE
1477 (source
1478 (origin
1479 (method url-fetch)
1480 (uri (string-append
d2611ffb 1481 "mirror://xorg/individual/lib/libXScrnSaver-"
9aea24b6
AE
1482 version
1483 ".tar.bz2"))
1484 (sha256
1485 (base32
3334cdc3 1486 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
9aea24b6
AE
1487 (build-system gnu-build-system)
1488 (inputs
c7f99931 1489 `(("libxext" ,libxext)
17b9d16f
AE
1490 ("libx11" ,libx11)))
1491 (propagated-inputs
e399d6ca 1492 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
1493 (native-inputs
1494 `(("pkg-config" ,pkg-config)))
01497dfe 1495 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1496 (synopsis "Xorg Screen Saver library")
1497 (description "X11 Screen Saver extension client library.")
d385b835 1498 (license license:x11)))
5f1d0fb0
AE
1499
1500
6eb126c5 1501(define-public libxxf86dga
9aea24b6 1502 (package
6eb126c5 1503 (name "libxxf86dga")
65f91295 1504 (version "1.1.5")
9aea24b6 1505 (source
65f91295
TGR
1506 (origin
1507 (method url-fetch)
1508 (uri (string-append "mirror://xorg/individual/lib/"
1509 "libXxf86dga-" version ".tar.bz2"))
1510 (sha256
1511 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
9aea24b6 1512 (build-system gnu-build-system)
8c0519bf 1513 (propagated-inputs
65f91295 1514 `(("xorgproto" ,xorgproto)))
9aea24b6 1515 (inputs
65f91295
TGR
1516 `(("libx11" ,libx11)
1517 ("libxext" ,libxext)))
c4c4cc05 1518 (native-inputs
65f91295 1519 `(("pkg-config" ,pkg-config)))
01497dfe 1520 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1521 (synopsis "Xorg XFree86-DGA library")
1522 (description "Client library for the XFree86-DGA extension.")
d385b835 1523 (license license:x11)))
5f1d0fb0
AE
1524
1525
6eb126c5 1526(define-public luit
5f1d0fb0 1527 (package
6eb126c5
AE
1528 (name "luit")
1529 (version "1.1.1")
5f1d0fb0
AE
1530 (source
1531 (origin
1532 (method url-fetch)
1533 (uri (string-append
d2611ffb 1534 "mirror://xorg/individual/app/luit-"
5f1d0fb0
AE
1535 version
1536 ".tar.bz2"))
1537 (sha256
1538 (base32
c1897890
AE
1539 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1540 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1541 ;; should become obsolete with the next release.
fc1adab1 1542 (patches (search-patches "luit-posix.patch"))))
5f1d0fb0
AE
1543 (build-system gnu-build-system)
1544 (inputs
c4c4cc05
JD
1545 `(("libfontenc" ,libfontenc)))
1546 (native-inputs
1547 `(("pkg-config" ,pkg-config)))
01497dfe 1548 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1549 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1550 (description
1551 "Luit is a filter that can be run between an arbitrary application and
1552a UTF-8 terminal emulator such as xterm. It will convert application
1553output from the locale's encoding into UTF-8, and convert terminal
1554input from UTF-8 into the locale's encoding.")
d385b835 1555 (license license:x11)))
5f1d0fb0
AE
1556
1557
6eb126c5 1558(define-public makedepend
5f1d0fb0 1559 (package
6eb126c5 1560 (name "makedepend")
d0649b47 1561 (version "1.0.6")
5f1d0fb0
AE
1562 (source
1563 (origin
1564 (method url-fetch)
1565 (uri (string-append
3ae74dfd 1566 "mirror://xorg/individual/util/makedepend-"
5f1d0fb0
AE
1567 version
1568 ".tar.bz2"))
1569 (sha256
1570 (base32
d0649b47 1571 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
5f1d0fb0
AE
1572 (build-system gnu-build-system)
1573 (inputs
6a6db57f 1574 `(("xorgproto" ,xorgproto)))
c4c4cc05 1575 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1576 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1577 (synopsis "Xorg makedepend utility")
1578 (description
1579 "Makedepend is an utility for creating dependencies in makefiles.")
d385b835 1580 (license license:x11)))
5f1d0fb0
AE
1581
1582
6eb126c5 1583(define-public mkfontscale
5f1d0fb0 1584 (package
6eb126c5 1585 (name "mkfontscale")
42e00f63 1586 (version "1.2.1")
5f1d0fb0
AE
1587 (source
1588 (origin
1589 (method url-fetch)
1590 (uri (string-append
acba78a1 1591 "mirror://xorg/individual/app/mkfontscale-"
5f1d0fb0
AE
1592 version
1593 ".tar.bz2"))
1594 (sha256
42e00f63 1595 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
5f1d0fb0
AE
1596 (build-system gnu-build-system)
1597 (inputs
6eb126c5 1598 `(("zlib" ,zlib)
6a6db57f 1599 ("xorgproto" ,xorgproto)
6eb126c5 1600 ("freetype" ,freetype)
c4c4cc05
JD
1601 ("libfontenc" ,libfontenc)))
1602 (native-inputs
1603 `(("pkg-config" ,pkg-config)))
01497dfe 1604 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1605 (synopsis "Create an index of scalable font files for X server")
1606 (description
36a4366d
EF
1607 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1608files used by the legacy X11 font system.")
d385b835 1609 (license license:x11)))
5f1d0fb0
AE
1610
1611
35536412
AE
1612(define-public presentproto
1613 (package
1614 (name "presentproto")
48d78a2e 1615 (version "1.1")
35536412
AE
1616 (source
1617 (origin
1618 (method url-fetch)
1619 (uri (string-append
1620 "mirror://xorg/individual/proto/presentproto-"
1621 version
1622 ".tar.bz2"))
1623 (sha256
1624 (base32
48d78a2e 1625 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
35536412 1626 (build-system gnu-build-system)
01497dfe 1627 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1628 (synopsis "Xorg PresentProto protocol headers")
1629 (description
1630 "Present Extension provides a way for applications to update their
1631window contents from a pixmap in a well defined fashion, synchronizing
1632with the display refresh and potentially using a more efficient
1633mechanism than copying the contents of the source pixmap.")
35536412 1634 (license (license:x11-style "file://presentproto.h"
314144d2
MB
1635 "See 'presentproto.h' in the distribution."))
1636 (properties `((superseded . ,xorgproto)))))
35536412 1637
bd8c5d5b
AE
1638(define-public printproto
1639 (package
1640 (name "printproto")
1641 (version "1.0.5")
1642 (source
1643 (origin
1644 (method url-fetch)
1645 (uri (string-append
1646 "mirror://xorg/individual/proto/printproto-"
1647 version
1648 ".tar.bz2"))
1649 (sha256
1650 (base32
1651 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1652 (build-system gnu-build-system)
c4c4cc05 1653 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1654 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1655 (synopsis "Xorg PrintProto protocol headers")
1656 (description
1657 "Print Extension defines a protocol for a portable,
1658network-transparent printing system.")
bd8c5d5b
AE
1659 (license license:x11)))
1660
1661
6eb126c5 1662(define-public randrproto
5f1d0fb0 1663 (package
6eb126c5 1664 (name "randrproto")
2c26245b 1665 (version "1.5.0")
5f1d0fb0
AE
1666 (source
1667 (origin
1668 (method url-fetch)
1669 (uri (string-append
9643cff1 1670 "mirror://xorg/individual/proto/randrproto-"
5f1d0fb0
AE
1671 version
1672 ".tar.bz2"))
1673 (sha256
1674 (base32
2c26245b 1675 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
5f1d0fb0 1676 (build-system gnu-build-system)
c4c4cc05 1677 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1678 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1679 (synopsis "Xorg RandRProto protocol headers")
1680 (description
1681 "Resize and Rotate Extension defines a protocol for clients to
1682dynamically change X screens, so as to resize, rotate and reflect the root
1683window of a screen.")
bea5239a
MB
1684 (license license:x11)
1685 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
1686
1687
6eb126c5 1688(define-public recordproto
5f1d0fb0 1689 (package
6eb126c5
AE
1690 (name "recordproto")
1691 (version "1.14.2")
5f1d0fb0
AE
1692 (source
1693 (origin
1694 (method url-fetch)
1695 (uri (string-append
d2611ffb 1696 "mirror://xorg/individual/proto/recordproto-"
5f1d0fb0
AE
1697 version
1698 ".tar.bz2"))
1699 (sha256
1700 (base32
6eb126c5 1701 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
5f1d0fb0 1702 (build-system gnu-build-system)
c4c4cc05 1703 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1704 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1705 (synopsis "Xorg RecordProto protocol headers")
1706 (description
1707 "Record Extension defines a protocol for the recording and playback
1708of user actions in the X Window System.")
ec89471d
MB
1709 (license license:x11)
1710 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1711
6eb126c5 1712(define-public renderproto
5f1d0fb0 1713 (package
6eb126c5
AE
1714 (name "renderproto")
1715 (version "0.11.1")
5f1d0fb0
AE
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append
d2611ffb 1720 "mirror://xorg/individual/proto/renderproto-"
5f1d0fb0
AE
1721 version
1722 ".tar.bz2"))
1723 (sha256
1724 (base32
6eb126c5 1725 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
5f1d0fb0 1726 (build-system gnu-build-system)
c4c4cc05 1727 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1728 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1729 (synopsis "Xorg RenderProto protocol headers")
1730 (description
c284dffc 1731 "Rendering Extension defines a protocol for a digital image composition
01bec8a6 1732as the foundation of a new rendering model within the X Window System.")
f579a1d2
MB
1733 (license license:x11)
1734 (properties `((superseded . ,xorgproto)))))
d385b835 1735
6eb126c5 1736(define-public resourceproto
d385b835 1737 (package
6eb126c5
AE
1738 (name "resourceproto")
1739 (version "1.2.0")
d385b835
AE
1740 (source
1741 (origin
1742 (method url-fetch)
1743 (uri (string-append
d2611ffb 1744 "mirror://xorg/individual/proto/resourceproto-"
d385b835
AE
1745 version
1746 ".tar.bz2"))
1747 (sha256
1748 (base32
6eb126c5 1749 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
d385b835 1750 (build-system gnu-build-system)
c4c4cc05 1751 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1752 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1753 (synopsis "Xorg ResourceProto protocol headers")
1754 (description
1755 "Resource Extension defines a protocol that allows a client to
1756query the X server about its usage of various resources.")
2bf1fa98
MB
1757 (license license:x11)
1758 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1759
6eb126c5 1760(define-public scrnsaverproto
5f1d0fb0 1761 (package
6eb126c5
AE
1762 (name "scrnsaverproto")
1763 (version "1.2.2")
5f1d0fb0
AE
1764 (source
1765 (origin
1766 (method url-fetch)
1767 (uri (string-append
d2611ffb 1768 "mirror://xorg/individual/proto/scrnsaverproto-"
5f1d0fb0
AE
1769 version
1770 ".tar.bz2"))
1771 (sha256
1772 (base32
6eb126c5 1773 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
5f1d0fb0 1774 (build-system gnu-build-system)
c4c4cc05 1775 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1776 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1777 (synopsis "Xorg ScrnSaverProto protocol headers")
1778 (description
1779 "Screen Saver Extension defines a protocol to control screensaver
1780features and to query screensaver info on specific windows.")
e399d6ca
MB
1781 (license license:x11)
1782 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1783
6eb126c5 1784(define-public sessreg
5f1d0fb0 1785 (package
6eb126c5 1786 (name "sessreg")
535fc987 1787 (version "1.1.2")
5f1d0fb0 1788 (source
535fc987
TGR
1789 (origin
1790 (method url-fetch)
1791 (uri (string-append
1792 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1793 (sha256
1794 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
5f1d0fb0
AE
1795 (build-system gnu-build-system)
1796 (inputs
6a6db57f 1797 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
1798 (native-inputs
1799 `(("pkg-config" ,pkg-config)))
01497dfe 1800 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1801 (synopsis "Register X sessions in system utmp/utmpx databases")
1802 (description
1803 "SessReg is a simple program for managing utmp/wtmp entries for X
1804sessions. It was originally written for use with xdm, but may also be
1805used with other display managers such as gdm or kdm.")
d385b835 1806 (license license:x11)))
5f1d0fb0
AE
1807
1808
6eb126c5 1809(define-public setxkbmap
5f1d0fb0 1810 (package
6eb126c5 1811 (name "setxkbmap")
beeeb261 1812 (version "1.3.2")
5f1d0fb0
AE
1813 (source
1814 (origin
1815 (method url-fetch)
1816 (uri (string-append
d2611ffb 1817 "mirror://xorg/individual/app/setxkbmap-"
5f1d0fb0
AE
1818 version
1819 ".tar.bz2"))
1820 (sha256
1821 (base32
beeeb261 1822 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
5f1d0fb0
AE
1823 (build-system gnu-build-system)
1824 (inputs
6eb126c5 1825 `(("libxkbfile" ,libxkbfile)
ac995eaf 1826 ("xkeyboard-config" ,xkeyboard-config)
c4c4cc05
JD
1827 ("libx11" ,libx11)))
1828 (native-inputs
1829 `(("pkg-config" ,pkg-config)))
ac995eaf
MW
1830 (arguments
1831 `(#:configure-flags
1832 (list (string-append "--with-xkb-config-root="
1833 (assoc-ref %build-inputs "xkeyboard-config")
1834 "/share/X11/xkb"))))
01497dfe 1835 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1836 (synopsis "Set the keyboard using the X Keyboard Extension")
1837 (description
1838 "Setxkbmap is an X11 client to change the keymaps in the X server
1839for a specified keyboard to use the layout determined by the options
1840listed on the command line.")
d385b835 1841 (license license:x11)))
5f1d0fb0
AE
1842
1843
6eb126c5 1844(define-public smproxy
5f1d0fb0 1845 (package
6eb126c5 1846 (name "smproxy")
10814b66 1847 (version "1.0.6")
5f1d0fb0
AE
1848 (source
1849 (origin
1850 (method url-fetch)
1851 (uri (string-append
d2611ffb 1852 "mirror://xorg/individual/app/smproxy-"
5f1d0fb0
AE
1853 version
1854 ".tar.bz2"))
1855 (sha256
1856 (base32
10814b66 1857 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
5f1d0fb0
AE
1858 (build-system gnu-build-system)
1859 (inputs
6eb126c5 1860 `(("libxt" ,libxt)
c4c4cc05
JD
1861 ("libxmu" ,libxmu)))
1862 (native-inputs
1863 `(("pkg-config" ,pkg-config)))
01497dfe 1864 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1865 (synopsis "Session Manager Proxy")
1866 (description
1867 "SMProxy allows X applications that do not support X11R6 session
1868management to participate in an X11R6 session.")
d385b835 1869 (license license:x11)))
5f1d0fb0
AE
1870
1871
6eb126c5 1872(define-public util-macros
5f1d0fb0 1873 (package
6eb126c5 1874 (name "util-macros")
9cc46c57 1875 (version "1.19.2")
5f1d0fb0
AE
1876 (source
1877 (origin
1878 (method url-fetch)
1879 (uri (string-append
0a761f1e 1880 "mirror://xorg/individual/util/util-macros-"
5f1d0fb0
AE
1881 version
1882 ".tar.bz2"))
1883 (sha256
1884 (base32
9cc46c57 1885 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
5f1d0fb0 1886 (build-system gnu-build-system)
c4c4cc05 1887 (native-inputs `(("pkg-config" ,pkg-config)))
12fa800d 1888 (arguments
0dc61806
TGR
1889 `(#:phases
1890 (modify-phases %standard-phases
1891 (add-after 'unpack 'fix-makefile-in
1892 (lambda _
1893 (substitute* "Makefile.in"
1894 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1895 ;; not PREFIX/share/pkgconfig.
1896 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1897 #t))
1898 (add-after 'install 'post-install-cleanup
1899 (lambda* (#:key outputs #:allow-other-keys)
1900 (let ((out (assoc-ref outputs "out")))
1901 (with-directory-excursion out
1902 (delete-file "share/util-macros/INSTALL")
1903 (rmdir "share/util-macros"))
1904 #t))))))
01497dfe 1905 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1906 (synopsis "Xorg autoconf macros")
1907 (description
1908 "This package provides a set of autoconf macros used by the
1909configure.ac scripts in other Xorg modular packages, and is needed to
1910generate new versions of their configure scripts with autoconf.")
d385b835 1911 (license license:x11)))
5f1d0fb0
AE
1912
1913
6eb126c5 1914(define-public videoproto
5f1d0fb0 1915 (package
6eb126c5 1916 (name "videoproto")
6a016375 1917 (version "2.3.3")
5f1d0fb0
AE
1918 (source
1919 (origin
1920 (method url-fetch)
1921 (uri (string-append
0b271d2b 1922 "mirror://xorg/individual/proto/videoproto-"
5f1d0fb0
AE
1923 version
1924 ".tar.bz2"))
1925 (sha256
1926 (base32
6a016375 1927 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
5f1d0fb0 1928 (build-system gnu-build-system)
c4c4cc05 1929 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1930 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1931 (synopsis "Xorg VideoProto protocol headers")
1932 (description
1933 "Video Extension provides a protocol for a video output mechanism,
1934mainly to rescale video playback in the video controller hardware.")
205b83ad
MB
1935 (license license:x11)
1936 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1937
6eb126c5 1938(define-public windowswmproto
5f1d0fb0 1939 (package
6eb126c5
AE
1940 (name "windowswmproto")
1941 (version "1.0.4")
5f1d0fb0
AE
1942 (source
1943 (origin
1944 (method url-fetch)
1945 (uri (string-append
d2611ffb 1946 "mirror://xorg/individual/proto/windowswmproto-"
5f1d0fb0
AE
1947 version
1948 ".tar.bz2"))
1949 (sha256
1950 (base32
6eb126c5 1951 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
5f1d0fb0 1952 (build-system gnu-build-system)
c4c4cc05 1953 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1954 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1955 (synopsis "Xorg WindowsWMProto protocol headers")
1956 (description
1957 "WindowsWM Extension defines a protocol, used for coordination between
1958an X11 server and the Microsoft Windows native window manager. WindowsWM
1959is only intended to be used on Cygwin when running a rootless XWin
1960server.")
196abe4d
MB
1961 (license license:x11)
1962 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1963
6eb126c5 1964(define-public x11perf
5f1d0fb0 1965 (package
6eb126c5 1966 (name "x11perf")
a5c6a752 1967 (version "1.6.1")
5f1d0fb0
AE
1968 (source
1969 (origin
1970 (method url-fetch)
1971 (uri (string-append
d2611ffb 1972 "mirror://xorg/individual/app/x11perf-"
5f1d0fb0
AE
1973 version
1974 ".tar.bz2"))
1975 (sha256
1976 (base32
a5c6a752 1977 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
5f1d0fb0
AE
1978 (build-system gnu-build-system)
1979 (inputs
6eb126c5
AE
1980 `(("libx11" ,libx11)
1981 ("libxft" ,libxft)
1982 ("libxmu" ,libxmu)
c4c4cc05
JD
1983 ("libxrender" ,libxrender)))
1984 (native-inputs
1985 `(("pkg-config" ,pkg-config)))
01497dfe 1986 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1987 (synopsis "X server performance benchmarker")
1988 (description
1989 "X11Perf is a simple performance benchmarker for the Xorg X server.")
d385b835 1990 (license license:x11)))
5f1d0fb0
AE
1991
1992
6eb126c5 1993(define-public xauth
5f1d0fb0 1994 (package
6eb126c5 1995 (name "xauth")
45dbc1b2 1996 (version "1.1")
5f1d0fb0 1997 (source
45dbc1b2
TGR
1998 (origin
1999 (method url-fetch)
2000 (uri (string-append "mirror://xorg/individual/app/xauth-" version
2001 ".tar.bz2"))
2002 (sha256
2003 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
5f1d0fb0 2004 (build-system gnu-build-system)
6eb126c5 2005 (inputs
45dbc1b2
TGR
2006 `(("libxmu" ,libxmu)
2007 ("libxext" ,libxext)
2008 ("libxau" ,libxau)
2009 ("libx11" ,libx11)))
c4c4cc05 2010 (native-inputs
ab115637
KK
2011 `(("cmdtest" ,cmdtest)
2012 ("pkg-config" ,pkg-config)))
01497dfe 2013 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2014 (synopsis "X authority file utility")
2015 (description
2016 "XAuth program is used to edit and display the authorization
2017information used in connecting to the X server.")
d385b835 2018 (license license:x11)))
5f1d0fb0
AE
2019
2020
6eb126c5 2021(define-public xbacklight
5f1d0fb0 2022 (package
6eb126c5 2023 (name "xbacklight")
36cc160e 2024 (version "1.2.3")
5f1d0fb0
AE
2025 (source
2026 (origin
2027 (method url-fetch)
2028 (uri (string-append
da1a6bb3 2029 "mirror://xorg/individual/app/xbacklight-"
5f1d0fb0
AE
2030 version
2031 ".tar.bz2"))
2032 (sha256
2033 (base32
36cc160e 2034 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
5f1d0fb0
AE
2035 (build-system gnu-build-system)
2036 (inputs
da1a6bb3
MW
2037 `(("libxcb" ,libxcb)
2038 ("xcb-util" ,xcb-util)))
c4c4cc05 2039 (native-inputs
da1a6bb3 2040 `(("pkg-config" ,pkg-config)))
01497dfe 2041 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2042 (synopsis "Control display backlight")
2043 (description
2044 "Xbacklight is used to adjust the backlight brightness where
2045supported. It uses the RandR extension to find all outputs on the X
2046server supporting backlight brightness control and changes them all in
2047the same way.")
d385b835 2048 (license license:x11)))
5f1d0fb0
AE
2049
2050
6eb126c5 2051(define-public xbitmaps
5f1d0fb0 2052 (package
6eb126c5 2053 (name "xbitmaps")
fd2ebe1e 2054 (version "1.1.2")
5f1d0fb0
AE
2055 (source
2056 (origin
2057 (method url-fetch)
2058 (uri (string-append
d2611ffb 2059 "mirror://xorg/individual/data/xbitmaps-"
5f1d0fb0
AE
2060 version
2061 ".tar.bz2"))
2062 (sha256
2063 (base32
fd2ebe1e 2064 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
5f1d0fb0 2065 (build-system gnu-build-system)
c4c4cc05 2066 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2067 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2068 (synopsis "X bitmaps")
2069 (description
2070 "xbitmaps provides basic bitmaps (little pictures) used by some
2071legacy X clients.")
d385b835 2072 (license license:x11)))
5f1d0fb0 2073
fc12bc30
JD
2074(define-public xcalc
2075 (package
2076 (name "xcalc")
10a303a4 2077 (version "1.1.0")
fc12bc30
JD
2078 (source
2079 (origin
2080 (method url-fetch)
e28f3cd9
TGR
2081 (uri (string-append "mirror://xorg/individual/app/"
2082 "xcalc-" version ".tar.gz"))
fc12bc30 2083 (sha256
10a303a4 2084 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
fc12bc30
JD
2085 (build-system gnu-build-system)
2086 (arguments
2087 `(#:phases (modify-phases %standard-phases
2088 (add-after
2089 'configure 'mutate-makefile
2090 (lambda _
2091 (substitute* "Makefile"
2092 (("^appdefaultdir = .*$")
2093 (string-append "appdefaultdir = " %output
2094 ,%app-defaults-dir "\n")))
2095 #t)))))
2096 (inputs
2097 `(("libxaw" ,libxaw)))
2098 (native-inputs
2099 `(("pkg-config" ,pkg-config)))
2100 (home-page "https://www.x.org/wiki/")
2101 (synopsis "Hand calculator for the X Window system")
2102 (description "Xcalc is a scientific calculator desktop accessory that can
2103emulate a TI-30 or an HP-10C.")
2104 (license license:x11)))
2105
5f1d0fb0 2106
6eb126c5 2107(define-public xcb-proto
5f1d0fb0 2108 (package
6eb126c5 2109 (name "xcb-proto")
460d07b4 2110 (version "1.13")
5f1d0fb0
AE
2111 (source
2112 (origin
2113 (method url-fetch)
2114 (uri (string-append
ba5e23d6 2115 "https://xcb.freedesktop.org/dist/xcb-proto-"
5f1d0fb0
AE
2116 version
2117 ".tar.bz2"))
2118 (sha256
2119 (base32
460d07b4 2120 "1qdxw9syhbvswiqj5dvj278lrmfhs81apzmvx6205s4vcqg7563v"))))
5f1d0fb0 2121 (build-system gnu-build-system)
c4c4cc05 2122 (native-inputs
95288fcc 2123 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
ba5e23d6 2124 (home-page "https://xcb.freedesktop.org/")
01bec8a6
AK
2125 (synopsis "XML-XCB protocol descriptions")
2126 (description
2127 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2128uses to generate the majority of its code and API. XCB-Proto is
2129separated from libxcb to allow reuse by other projects, such as
2130additional language bindings, protocol dissectors, or documentation
2131generators.
2132
2133XCB-Proto also contains language-independent Python libraries that are
2134used to parse an XML description and create objects used by Python code
2135generators in individual language bindings.")
d385b835 2136 (license license:x11)))
5f1d0fb0
AE
2137
2138
6eb126c5 2139(define-public xcmiscproto
5f1d0fb0 2140 (package
6eb126c5
AE
2141 (name "xcmiscproto")
2142 (version "1.2.2")
5f1d0fb0
AE
2143 (source
2144 (origin
2145 (method url-fetch)
2146 (uri (string-append
d2611ffb 2147 "mirror://xorg/individual/proto/xcmiscproto-"
5f1d0fb0
AE
2148 version
2149 ".tar.bz2"))
2150 (sha256
2151 (base32
6eb126c5 2152 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
5f1d0fb0 2153 (build-system gnu-build-system)
c4c4cc05 2154 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2155 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2156 (synopsis "Xorg XCMiscProto protocol headers")
2157 (description
2158 "XC-MISC Extension defines a protocol that provides Xlib two ways
2159to query the server for available resource IDs.")
b9469160
MB
2160 (license license:x11)
2161 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 2162
6eb126c5 2163(define-public xcmsdb
5f1d0fb0 2164 (package
6eb126c5 2165 (name "xcmsdb")
b1b3ab34 2166 (version "1.0.5")
5f1d0fb0
AE
2167 (source
2168 (origin
2169 (method url-fetch)
2170 (uri (string-append
d2611ffb 2171 "mirror://xorg/individual/app/xcmsdb-"
5f1d0fb0
AE
2172 version
2173 ".tar.bz2"))
2174 (sha256
2175 (base32
b1b3ab34 2176 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
5f1d0fb0 2177 (build-system gnu-build-system)
6eb126c5 2178 (inputs
c4c4cc05
JD
2179 `(("libx11" ,libx11)))
2180 (native-inputs
2181 `(("pkg-config" ,pkg-config)))
01497dfe 2182 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2183 (synopsis "Device Color Characterization utility")
2184 (description
2185 "XCMSDB is used to load, query, or remove Device Color
2186Characterization data stored in properties on the root window of the
2187screen as specified in section 7, Device Color Characterization, of the
2188X11 Inter-Client Communication Conventions Manual (ICCCM).")
d385b835 2189 (license license:x11)))
5f1d0fb0
AE
2190
2191
6eb126c5 2192(define-public xcursor-themes
5f1d0fb0 2193 (package
6eb126c5 2194 (name "xcursor-themes")
93fee74a 2195 (version "1.0.6")
5f1d0fb0
AE
2196 (source
2197 (origin
2198 (method url-fetch)
2199 (uri (string-append
73e122be 2200 "mirror://xorg/individual/data/xcursor-themes-"
5f1d0fb0
AE
2201 version
2202 ".tar.bz2"))
2203 (sha256
2204 (base32
93fee74a 2205 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
5f1d0fb0 2206 (build-system gnu-build-system)
6eb126c5
AE
2207 (inputs
2208 `(("libxcursor" ,libxcursor)
6eb126c5 2209 ("xcursorgen" ,xcursorgen)))
c4c4cc05
JD
2210 (native-inputs
2211 `(("pkg-config" ,pkg-config)))
93be8dc4
AE
2212 (arguments
2213 `(#:configure-flags
2214 (list (string-append "--with-cursordir="
2215 (assoc-ref %outputs "out")
2216 "/share/icons"))))
01497dfe 2217 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2218 (synopsis "Default Xorg cursors")
2219 (description
2220 "This package provides a default set of cursor themes for the Xorg
36a4366d 2221X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
d385b835 2222 (license license:x11)))
5f1d0fb0
AE
2223
2224
b58a22e5
MC
2225(define-public hackneyed-x11-cursors
2226 ;; The current release 0.8 suffers from non-deterministic build problems.
2227 (let ((revision "1")
2228 (commit "9423cef2e2e5ff6b1d65d61f7108c97bc7f5fdfb"))
2229 (package
2230 (name "hackneyed-x11-cursors")
2231 (version (git-version "0.8.1" revision commit))
2232 (source
2233 (origin
2234 (method git-fetch)
2235 (uri (git-reference
2236 (url "https://gitlab.com/Enthymeme/hackneyed-x11-cursors.git")
2237 (commit commit)))
2238 (file-name (git-file-name name version))
2239 (sha256
2240 (base32
2241 "0f637i76sdwz3nm1g1iynamq6j0i6k3c70fpl0fmd0dlynm8ga96"))))
2242 (build-system gnu-build-system)
2243 (arguments
2244 `(#:tests? #f ;no test suite
2245 #:make-flags (list (string-append "PREFIX=" %output))
2246 #:phases
2247 (modify-phases %standard-phases
2248 (delete 'configure)
2249 (add-before 'build 'set-inkscape-environment-variable
2250 (lambda* (#:key inputs #:allow-other-keys)
2251 (let ((inkscape (string-append (assoc-ref inputs "inkscape")
2252 "/bin/inkscape")))
2253 (setenv "INKSCAPE" inkscape)
2254 #t)))
2255 (add-before 'build 'placate-inkscape-warnings
2256 (lambda _
2257 (setenv "HOME" (getcwd))
2258 #t))
2259 (add-after 'build 'generate-black-cursors
2260 (lambda* (#:key make-flags parallel-build #:allow-other-keys)
2261 (let ((build (assoc-ref %standard-phases 'build))
2262 (make-flags/extended
2263 `(,@make-flags
2264 "THEME_NAME=Hackneyed-Dark"
2265 "COMMON_SOURCE=theme/common-dark.svg"
2266 "RSVG_SOURCE=theme/right-handed-dark.svg"
2267 "LSVG_SOURCE=theme/left-handed-dark.svg")))
2268 (build #:make-flags make-flags/extended
2269 #:parallel-build parallel-build))))
2270 (add-after 'install 'install-black-cursors
2271 (lambda* (#:key make-flags #:allow-other-keys)
2272 (apply invoke `("make" "install" ,@make-flags
2273 "THEME_NAME=Hackneyed-Dark")))))))
2274 (native-inputs `(("imagemagick" ,imagemagick)
2275 ("inkscape" ,inkscape)
2276 ("xcursorgen" ,xcursorgen)))
2277 (home-page "https://gitlab.com/Enthymeme/hackneyed-x11-cursors")
2278 (synopsis "Classic cursor theme for X11")
2279 (description "Hackneyed is a scalable cursor theme mildly resembling old
2280Windows 3.x cursors. The cursors are available in white and black colors. A
2281left-handed version of the cursors is also included.")
2282 (license license:x11))))
2283
6eb126c5 2284(define-public xcursorgen
5f1d0fb0 2285 (package
6eb126c5 2286 (name "xcursorgen")
7469b98d 2287 (version "1.0.7")
5f1d0fb0
AE
2288 (source
2289 (origin
2290 (method url-fetch)
2291 (uri (string-append
125d405f 2292 "mirror://xorg/individual/app/xcursorgen-"
5f1d0fb0
AE
2293 version
2294 ".tar.bz2"))
2295 (sha256
2296 (base32
7469b98d 2297 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
5f1d0fb0
AE
2298 (build-system gnu-build-system)
2299 (inputs
6eb126c5 2300 `(("libxcursor" ,libxcursor)
c4c4cc05
JD
2301 ("libpng" ,libpng)))
2302 (native-inputs
2303 `(("pkg-config" ,pkg-config)))
01497dfe 2304 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2305 (synopsis "Create an X cursor file from PNG images")
2306 (description
2307 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
d385b835 2308 (license license:x11)))
5f1d0fb0
AE
2309
2310
6eb126c5 2311(define-public xdpyinfo
5f1d0fb0 2312 (package
6eb126c5 2313 (name "xdpyinfo")
c6be2454 2314 (version "1.3.2")
5f1d0fb0
AE
2315 (source
2316 (origin
2317 (method url-fetch)
2318 (uri (string-append
39deb4b1 2319 "mirror://xorg/individual/app/xdpyinfo-"
5f1d0fb0
AE
2320 version
2321 ".tar.bz2"))
2322 (sha256
2323 (base32
c6be2454 2324 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
5f1d0fb0
AE
2325 (build-system gnu-build-system)
2326 (inputs
82b4d9ec 2327 `(("xorgproto" ,xorgproto)
c7f99931 2328 ("libx11" ,libx11)
6eb126c5 2329 ("libxxf86vm" ,libxxf86vm)
6eb126c5
AE
2330 ("libxxf86dga" ,libxxf86dga)
2331 ("libxtst" ,libxtst)
2332 ("libxrender" ,libxrender)
2333 ("libxinerama" ,libxinerama)
2334 ("libxi" ,libxi)
6eb126c5 2335 ("libxcomposite" ,libxcomposite)
c4c4cc05
JD
2336 ("libdmx" ,libdmx)))
2337 (native-inputs
2338 `(("pkg-config" ,pkg-config)))
01497dfe 2339 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2340 (synopsis "Xorg display information utility")
2341 (description
2342 "Xdpyinfo is used to display information about an X server: the
2343capabilities of a server, the predefined values for various parameters
2344used in communicating between clients and the server, and the different
2345types of screens, visuals, and X11 protocol extensions that are
2346available.")
d385b835 2347 (license license:x11)))
5f1d0fb0
AE
2348
2349
6eb126c5 2350(define-public xdriinfo
5f1d0fb0 2351 (package
6eb126c5 2352 (name "xdriinfo")
9dda6dad 2353 (version "1.0.6")
5f1d0fb0
AE
2354 (source
2355 (origin
2356 (method url-fetch)
2357 (uri (string-append
d2611ffb 2358 "mirror://xorg/individual/app/xdriinfo-"
5f1d0fb0
AE
2359 version
2360 ".tar.bz2"))
2361 (sha256
2362 (base32
9dda6dad 2363 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
5f1d0fb0
AE
2364 (build-system gnu-build-system)
2365 (inputs
d539646a 2366 `(("mesa" ,mesa)
c4c4cc05
JD
2367 ("libx11" ,libx11)))
2368 (native-inputs
2369 `(("pkg-config" ,pkg-config)))
01497dfe 2370 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2371 (synopsis "Query DRI configuration information")
2372 (description
2373 "XDRIInfo is used to query configuration information of X11
2374DRI (Direct Rendering Infrastructure) drivers.")
d385b835 2375 (license license:x11)))
5f1d0fb0
AE
2376
2377
6eb126c5 2378(define-public xev
5f1d0fb0 2379 (package
6eb126c5 2380 (name "xev")
bcc39dad 2381 (version "1.2.3")
5f1d0fb0
AE
2382 (source
2383 (origin
2384 (method url-fetch)
2385 (uri (string-append
edc2ad8e 2386 "mirror://xorg/individual/app/xev-"
5f1d0fb0
AE
2387 version
2388 ".tar.bz2"))
2389 (sha256
2390 (base32
bcc39dad 2391 "02ddsdx138g7szhwklpbzi0cxr34871iay3k28kdcihrz8f4zg36"))))
5f1d0fb0 2392 (build-system gnu-build-system)
6eb126c5
AE
2393 (inputs
2394 `(("libxrender" ,libxrender)
2395 ("libxrandr" ,libxrandr)
6a6db57f 2396 ("xorgproto" ,xorgproto)
c4c4cc05
JD
2397 ("libx11" ,libx11)))
2398 (native-inputs
2399 `(("pkg-config" ,pkg-config)))
bcc39dad 2400 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
01bec8a6
AK
2401 (synopsis "Print contents of X events")
2402 (description
2403 "XEv creates a window and then asks the X server to send it X11
2404events whenever anything happens to the window (such as it being moved,
2405resized, typed in, clicked in, etc.). You can also attach it to an
2406existing window. It is useful for seeing what causes events to occur
2407and to display the information that they contain; it is essentially a
2408debugging and development tool, and should not be needed in normal
2409usage.")
d385b835 2410 (license license:x11)))
5f1d0fb0
AE
2411
2412
6eb126c5 2413(define-public xextproto
5f1d0fb0 2414 (package
6eb126c5 2415 (name "xextproto")
e8453d7b 2416 (version "7.3.0")
5f1d0fb0
AE
2417 (source
2418 (origin
2419 (method url-fetch)
2420 (uri (string-append
e8453d7b 2421 "mirror://xorg/individual/proto/xextproto-"
5f1d0fb0
AE
2422 version
2423 ".tar.bz2"))
2424 (sha256
2425 (base32
e8453d7b 2426 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
5f1d0fb0 2427 (build-system gnu-build-system)
c4c4cc05 2428 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2429 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2430 (synopsis "Xorg XExtProto protocol headers")
2431 (description
2432 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2433Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2434MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2435XC-APPGROUP, XTEST.")
caf90259
MB
2436 (license license:x11)
2437 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 2438
ab9d06be
MW
2439(define-public libevdev
2440 (package
2441 (name "libevdev")
b82464b3 2442 (version "1.8.0")
ab9d06be
MW
2443 (source
2444 (origin
2445 (method url-fetch)
5cc3096c 2446 (uri (string-append "https://www.freedesktop.org/software/" name "/"
ab9d06be
MW
2447 name "-" version ".tar.xz"))
2448 (sha256
2449 (base32
b82464b3 2450 "04a2klvii0in9ln8r85mk2cm73jq8ry2m3yzmf2z8xyjxzjcmlr0"))))
ab9d06be 2451 (build-system gnu-build-system)
43d4c229 2452 (arguments
ac9cc329
MB
2453 `(#:configure-flags '("--disable-static")
2454 #:phases (modify-phases %standard-phases
43d4c229
MB
2455 (add-before 'configure 'pedantry
2456 (lambda _
2457 ;; XXX: libevdev includes kernel headers, which causes this
2458 ;; compile test to fail with:
2459 ;; ...-headers-4.14.67/include/asm-generic/posix_types.h:88:14:
2460 ;;error: ISO C90 does not support ‘long long’ [-Werror=long-long]
2461 (substitute* "test/Makefile.in"
2462 (("-pedantic -Werror -std=c89")
2463 "-pedantic -Werror -std=c99"))
2464 #t)))))
ab9d06be 2465 (native-inputs `(("python" ,python)))
f077aa2b 2466 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
ab9d06be
MW
2467 (synopsis "Wrapper library for evdev devices")
2468 (description
2469 "libevdev is a wrapper library for evdev devices. it moves the common
2470tasks when dealing with evdev devices into a library and provides a library
2471interface to the callers, thus avoiding erroneous ioctls, etc.
2472
2473The eventual goal is that libevdev wraps all ioctls available to evdev
2474devices, thus making direct access unnecessary.")
8f501ac8 2475 (license (license:x11-style "file://COPYING"))))
ab9d06be
MW
2476
2477
6eb126c5 2478(define-public xf86-input-evdev
5f1d0fb0 2479 (package
6eb126c5 2480 (name "xf86-input-evdev")
4276b0dc 2481 (version "2.10.6")
5f1d0fb0
AE
2482 (source
2483 (origin
2484 (method url-fetch)
2485 (uri (string-append
04074a95 2486 "mirror://xorg/individual/driver/xf86-input-evdev-"
5f1d0fb0
AE
2487 version
2488 ".tar.bz2"))
2489 (sha256
2490 (base32
4276b0dc 2491 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
5f1d0fb0 2492 (build-system gnu-build-system)
4e3a820b 2493 (inputs
04074a95
MW
2494 `(("udev" ,eudev)
2495 ("libevdev" ,libevdev)
d44d7249 2496 ("mtdev" ,mtdev)
4e3a820b 2497 ("xorg-server" ,xorg-server)))
c4c4cc05 2498 (native-inputs `(("pkg-config" ,pkg-config)))
4e3a820b
AE
2499 (arguments
2500 `(#:configure-flags
2501 (list (string-append "--with-sdkdir="
2502 (assoc-ref %outputs "out")
2503 "/include/xorg"))))
01497dfe 2504 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2505 (synopsis "Generic input driver for X server")
2506 (description
2507 "xf86-input-evdev is a generic input driver for the Xorg X server.
2508This driver supports all input devices that the kernel knows about,
2509including most mice, keyboards, tablets and touchscreens.")
d385b835 2510 (license license:x11)))
5f1d0fb0 2511
e3cadeba
SB
2512(define-public xf86-input-libinput
2513 (package
2514 (name "xf86-input-libinput")
67d6df5c 2515 (version "0.28.2")
e3cadeba
SB
2516 (source (origin
2517 (method url-fetch)
2518 (uri (string-append
2519 "mirror://xorg/individual/driver/"
2520 name "-" version ".tar.bz2"))
2521 (sha256
2522 (base32
67d6df5c 2523 "0818vr0yhk9j1y1wcbxzcd458vrvp06rrhi8k43bhqkb5jb4dcxq"))))
e3cadeba
SB
2524 (build-system gnu-build-system)
2525 (arguments
2526 '(#:configure-flags
2527 (list (string-append "--with-sdkdir="
2528 %output "/include/xorg"))))
2529 (native-inputs
2530 `(("pkg-config" ,pkg-config)))
2531 (inputs
2532 `(("libinput" ,libinput)
2533 ("xorg-server" ,xorg-server)))
01497dfe 2534 (home-page "https://www.x.org/wiki/")
01bec8a6 2535 (synopsis "Input driver for X server based on libinput")
e3cadeba 2536 (description
01bec8a6
AK
2537 "xf86-input-libinput is an input driver for the Xorg X server based
2538on libinput. It is a thin wrapper around libinput, so while it does
2539provide all features that libinput supports it does little beyond.")
e3cadeba 2540 (license license:x11)))
5f1d0fb0 2541
6eb126c5 2542(define-public xf86-input-joystick
5f1d0fb0 2543 (package
6eb126c5 2544 (name "xf86-input-joystick")
5de2ec6d 2545 (version "1.6.3")
5f1d0fb0
AE
2546 (source
2547 (origin
2548 (method url-fetch)
2549 (uri (string-append
aa868f6d 2550 "mirror://xorg/individual/driver/xf86-input-joystick-"
5f1d0fb0
AE
2551 version
2552 ".tar.bz2"))
2553 (sha256
2554 (base32
5de2ec6d 2555 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
5f1d0fb0 2556 (build-system gnu-build-system)
c4c4cc05
JD
2557 (inputs `(("xorg-server" ,xorg-server)))
2558 (native-inputs `(("pkg-config" ,pkg-config)))
c9cb0825
AE
2559 (arguments
2560 `(#:configure-flags
2561 (list (string-append "--with-sdkdir="
2562 (assoc-ref %outputs "out")
2563 "/include/xorg"))))
01497dfe 2564 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2565 (synopsis "Joystick input driver for X server")
2566 (description
2567 "xf86-input-joystick is a joystick input driver for the Xorg X server.
dcdafc6e 2568It is used to control the pointer with a joystick device.")
d385b835 2569 (license license:x11)))
5f1d0fb0
AE
2570
2571
6eb126c5 2572(define-public xf86-input-keyboard
5f1d0fb0 2573 (package
6eb126c5 2574 (name "xf86-input-keyboard")
3f1b4bc3 2575 (version "1.9.0")
5f1d0fb0
AE
2576 (source
2577 (origin
2578 (method url-fetch)
2579 (uri (string-append
02c9f9ca 2580 "mirror://xorg/individual/driver/xf86-input-keyboard-"
5f1d0fb0
AE
2581 version
2582 ".tar.bz2"))
2583 (sha256
2584 (base32
3f1b4bc3 2585 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
5f1d0fb0 2586 (build-system gnu-build-system)
c4c4cc05
JD
2587 (inputs `(("xorg-server" ,xorg-server)))
2588 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2589 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2590 (synopsis "Keyboard input driver for X server")
2591 (description
2592 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
d385b835 2593 (license license:x11)))
5f1d0fb0
AE
2594
2595
6eb126c5 2596(define-public xf86-input-mouse
5f1d0fb0 2597 (package
6eb126c5 2598 (name "xf86-input-mouse")
641e387a 2599 (version "1.9.3")
5f1d0fb0
AE
2600 (source
2601 (origin
2602 (method url-fetch)
2603 (uri (string-append
9b1cd1e5 2604 "mirror://xorg/individual/driver/xf86-input-mouse-"
5f1d0fb0
AE
2605 version
2606 ".tar.bz2"))
2607 (sha256
2608 (base32
641e387a 2609 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
5f1d0fb0 2610 (build-system gnu-build-system)
c4c4cc05
JD
2611 (inputs `(("xorg-server" ,xorg-server)))
2612 (native-inputs `(("pkg-config" ,pkg-config)))
9b1cd1e5
MW
2613 (arguments
2614 `(#:configure-flags
2615 (list (string-append "--with-sdkdir="
2616 (assoc-ref %outputs "out")
2617 "/include/xorg"))))
01497dfe 2618 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2619 (synopsis "Mouse input driver for X server")
2620 (description
2621 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2622This driver supports four classes of mice: serial, bus and PS/2 mice,
2623and additional mouse types supported by specific operating systems, such
2624as USB mice.")
d385b835 2625 (license license:x11)))
5f1d0fb0
AE
2626
2627
6eb126c5 2628(define-public xf86-input-synaptics
5f1d0fb0 2629 (package
6eb126c5 2630 (name "xf86-input-synaptics")
7b7e30ca 2631 (version "1.9.1")
5f1d0fb0
AE
2632 (source
2633 (origin
2634 (method url-fetch)
2635 (uri (string-append
2750ee5b 2636 "mirror://xorg/individual/driver/xf86-input-synaptics-"
5f1d0fb0
AE
2637 version
2638 ".tar.bz2"))
2639 (sha256
2640 (base32
7b7e30ca 2641 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
5f1d0fb0 2642 (build-system gnu-build-system)
84419dfd
AE
2643 (inputs `(("libx11" ,libx11)
2644 ("libxi" ,libxi)
2750ee5b 2645 ("libevdev" ,libevdev)
84419dfd 2646 ("mtdev" ,mtdev)
917748dd 2647 ("xorg-server" ,xorg-server)))
c4c4cc05 2648 (native-inputs `(("pkg-config" ,pkg-config)))
de9c5046
AE
2649 (arguments
2650 `(#:configure-flags
2651 (list (string-append "--with-sdkdir="
2652 (assoc-ref %outputs "out")
2653 "/include/xorg")
2654 (string-append "--with-xorg-conf-dir="
2655 (assoc-ref %outputs "out")
2656 "/share/X11/xorg.conf.d"))))
01497dfe 2657 (home-page "https://www.x.org/wiki/")
01bec8a6 2658 (synopsis "Touchpad input driver for X server")
b5d9beaa 2659 (description
01bec8a6 2660 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
d385b835 2661 (license license:x11)))
5f1d0fb0
AE
2662
2663
6eb126c5 2664(define-public xf86-input-void
5f1d0fb0 2665 (package
6eb126c5 2666 (name "xf86-input-void")
746e6710 2667 (version "1.4.1")
5f1d0fb0
AE
2668 (source
2669 (origin
2670 (method url-fetch)
2671 (uri (string-append
d2611ffb 2672 "mirror://xorg/individual/driver/xf86-input-void-"
5f1d0fb0
AE
2673 version
2674 ".tar.bz2"))
2675 (sha256
2676 (base32
746e6710 2677 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
5f1d0fb0 2678 (build-system gnu-build-system)
c4c4cc05
JD
2679 (inputs `(("xorg-server" ,xorg-server)))
2680 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2681 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2682 (synopsis "Void (null) input driver for X server")
2683 (description
2684 "xf86-input-void is a null input driver for the Xorg X server.")
d385b835 2685 (license license:x11)))
5f1d0fb0 2686
562d13e1
PN
2687(define-public xf86-video-amdgpu
2688 (package
2689 (name "xf86-video-amdgpu")
cbea3313 2690 (version "19.0.1")
562d13e1 2691 (source
77ad8ec4
TGR
2692 (origin
2693 (method url-fetch)
2694 (uri (string-append "mirror://xorg/individual/driver/"
2695 "xf86-video-amdgpu-" version ".tar.bz2"))
2696 (sha256
cbea3313 2697 (base32 "1mf6s7i423b2xyl469kwnakrpp5fr41sm8hh7vli5jxdd8crg8da"))))
562d13e1
PN
2698 (build-system gnu-build-system)
2699 (inputs `(("xorg-server" ,xorg-server)))
2700 (native-inputs `(("pkg-config" ,pkg-config)))
2701 (home-page "https://www.x.org/wiki/")
2702 (synopsis "AMD Radeon video driver for X server")
2703 (description
2704 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2705X server.")
2706 (license license:x11)))
5f1d0fb0 2707
6eb126c5 2708(define-public xf86-video-ark
5f1d0fb0 2709 (package
6eb126c5 2710 (name "xf86-video-ark")
ea73576b 2711 (version "0.7.5")
5f1d0fb0
AE
2712 (source
2713 (origin
2714 (method url-fetch)
2715 (uri (string-append
ea73576b 2716 "mirror://xorg/individual/driver/xf86-video-ark-"
5f1d0fb0
AE
2717 version
2718 ".tar.bz2"))
2719 (sha256
2720 (base32
ea73576b 2721 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
fc1adab1 2722 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
5f1d0fb0 2723 (build-system gnu-build-system)
c4c4cc05
JD
2724 (inputs `(("xorg-server" ,xorg-server)))
2725 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2726 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2727 (synopsis "Ark Logic video driver for X server")
2728 (description
2729 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
d385b835 2730 (license license:x11)))
5f1d0fb0 2731
c5c1e410
MB
2732(define-public xf86-video-ast
2733 (package
2734 (name "xf86-video-ast")
2735 (version "1.1.5")
2736 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2737 (source (origin
2738 (method url-fetch)
2739 (uri (string-append
2740 "mirror://xorg/individual/driver/xf86-video-ast-"
2741 version ".tar.bz2"))
2742 (sha256
2743 (base32
2744 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2745 (build-system gnu-build-system)
2746 (inputs `(("xorg-server" ,xorg-server)))
2747 (native-inputs `(("pkg-config" ,pkg-config)))
2748 (synopsis "ASpeed Technologies video driver for X server")
2749 (description
2750 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2751X server.")
2752 (license license:x11)))
5f1d0fb0 2753
6eb126c5 2754(define-public xf86-video-ati
9aea24b6 2755 (package
6eb126c5 2756 (name "xf86-video-ati")
bcc27a65 2757 (version "19.0.1")
9aea24b6 2758 (source
0330d6b2
TGR
2759 (origin
2760 (method url-fetch)
2761 (uri (string-append "mirror://xorg/individual/driver/"
2762 "xf86-video-ati-" version ".tar.bz2"))
2763 (sha256
bcc27a65 2764 (base32 "1c31g5q5p3nk9nscwikh1vvfnhdwsxiw7j8v678nlm34hrfh3djw"))))
9aea24b6 2765 (build-system gnu-build-system)
917748dd 2766 (inputs `(("mesa" ,mesa)
a1f78b42 2767 ("xorgproto" ,xorgproto)
917748dd 2768 ("xorg-server" ,xorg-server)))
c4c4cc05 2769 (native-inputs `(("pkg-config" ,pkg-config)))
316fdeb2 2770 (arguments `(#:configure-flags `("--disable-glamor"))) ; TODO: Enable glamor
01497dfe 2771 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2772 (synopsis "ATI Radeon video driver for X server")
2773 (description
2774 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2775X server.")
d385b835 2776 (license license:x11)))
5f1d0fb0
AE
2777
2778
6eb126c5 2779(define-public xf86-video-cirrus
9aea24b6 2780 (package
6eb126c5 2781 (name "xf86-video-cirrus")
6bc2fa7c 2782 (version "1.5.3")
9aea24b6
AE
2783 (source
2784 (origin
2785 (method url-fetch)
2786 (uri (string-append
102e8fc0 2787 "mirror://xorg/individual/driver/xf86-video-cirrus-"
9aea24b6
AE
2788 version
2789 ".tar.bz2"))
2790 (sha256
2791 (base32
6bc2fa7c 2792 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
9aea24b6 2793 (build-system gnu-build-system)
c4c4cc05
JD
2794 (inputs `(("xorg-server" ,xorg-server)))
2795 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2796 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2797 (synopsis "Cirrus Logic video driver for X server")
2798 (description
2799 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2800X server.")
d385b835 2801 (license license:x11)))
5f1d0fb0
AE
2802
2803
124b7f1e 2804;; non-free license
6eb126c5 2805;; (define-public xf86-video-dummy
6eb126c5
AE
2806
2807
2808(define-public xf86-video-fbdev
9aea24b6 2809 (package
6eb126c5 2810 (name "xf86-video-fbdev")
8cfcb6ba 2811 (version "0.5.0")
9aea24b6
AE
2812 (source
2813 (origin
2814 (method url-fetch)
2815 (uri (string-append
2c0a2d7a 2816 "mirror://xorg/individual/driver/xf86-video-fbdev-"
9aea24b6
AE
2817 version
2818 ".tar.bz2"))
2819 (sha256
2820 (base32
8cfcb6ba 2821 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
9aea24b6 2822 (build-system gnu-build-system)
c4c4cc05
JD
2823 (inputs `(("xorg-server" ,xorg-server)))
2824 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2825 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2826 (synopsis "Framebuffer device video driver for X server")
2827 (description
2828 "xf86-video-fbdev is a video driver for the Xorg X server for
2829framebuffer device.")
d385b835 2830 (license license:x11)))
5f1d0fb0
AE
2831
2832
826adfdb
EF
2833(define-public xf86-video-freedreno
2834 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2835 (package
2836 (name "xf86-video-freedreno")
2837 (version (string-append "1.4.0-1-" (string-take commit 7)))
2838 (source
2839 (origin
2840 ;; there's no current tarball
2841 (method git-fetch)
2842 (uri (git-reference
2843 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2844 "driver/xf86-video-freedreno.git"))
2845 (commit commit)))
2846 (sha256
2847 (base32
2848 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2849 (file-name (string-append name "-" version))))
2850 (build-system gnu-build-system)
2851 (inputs
2852 `(("libdrm" ,libdrm)
2853 ("mesa" ,mesa)
2854 ("udev" ,eudev)
15d61488
EF
2855 ("xorg-server" ,xorg-server)
2856 ("zlib" ,zlib)))
826adfdb
EF
2857 (native-inputs
2858 `(("pkg-config" ,pkg-config)
2859 ("autoconf" ,autoconf)
2860 ("automake" ,automake)
2861 ("libtool" ,libtool)))
2862 ;; This driver is only supported on ARM systems.
2863 (supported-systems '("armhf-linux" "aarch64-linux"))
2864 (arguments
2865 `(#:configure-flags
2866 (list (string-append "--with-xorg-conf-dir="
2867 (assoc-ref %outputs "out")
189be331 2868 "/share/X11/xorg.conf.d"))))
826adfdb
EF
2869 (home-page "https://www.x.org/wiki/")
2870 (synopsis "Adreno video driver for X server")
2871 (description
2872 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2873It supports a variety of Adreno graphics chipsets.")
2874 (license license:x11))))
2875
2876
232af79e
MW
2877(define-public xf86-video-geode
2878 (package
2879 (name "xf86-video-geode")
eed214ef 2880 (version "2.11.19")
232af79e
MW
2881 (source
2882 (origin
2883 (method url-fetch)
2884 (uri (string-append
2885 "mirror://xorg/individual/driver/xf86-video-geode-"
2886 version
2887 ".tar.bz2"))
2888 (sha256
2889 (base32
eed214ef 2890 "0zn9gb49grds5mcs1dlrx241k2w1sgqmx4i5x7v6159xxqhlqsf6"))
fc1adab1 2891 (patches (search-patches "xf86-video-geode-glibc-2.20.patch"))))
232af79e 2892 (build-system gnu-build-system)
d4fe27fe
ML
2893 (inputs `(("xorg-server" ,xorg-server)))
2894 (native-inputs `(("pkg-config" ,pkg-config)))
a884ad0b
MW
2895 (supported-systems
2896 ;; This driver is only supported on i686 systems.
2897 (filter (lambda (system) (string-prefix? "i686-" system))
2898 %supported-systems))
01497dfe 2899 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2900 (synopsis "AMD Geode GX/LX video driver for X server")
2901 (description
2902 "xf86-video-geode is an Xorg X server video driver for the AMD
2903Geode GX and LX processors. The GX component supports both XAA and EXA
2904for graphics acceleration. The LX component supports EXA, including
2905compositing. Both support Xv overlay and dynamic rotation with XRandR.")
232af79e 2906 (license license:x11)))
5f1d0fb0
AE
2907
2908
1f44111f
AE
2909;; Driver for obsolete graphics cards, depends on libglide:
2910;; http://sourceforge.net/projects/glide/ ,
2911;; last updated in 2003, and which does not compile out of the box any more.
2912;; (define-public xf86-video-glide
2913;; (package
2914;; (name "xf86-video-glide")
2915;; (version "1.2.0")
2916;; (source
2917;; (origin
2918;; (method url-fetch)
2919;; (uri (string-append
2920;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2921;; version
2922;; ".tar.bz2"))
2923;; (sha256
2924;; (base32
2925;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2926;; (build-system gnu-build-system)
2927;; (inputs `(("pkg-config" ,pkg-config)
2928;; ("xorg-server" ,xorg-server)))
01497dfe 2929;; (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2930;; (synopsis "Glide video driver for X server")
2931;; (description
2932;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
1f44111f 2933;; (license license:x11)))
5f1d0fb0
AE
2934
2935
6eb126c5 2936(define-public xf86-video-glint
9aea24b6 2937 (package
6eb126c5 2938 (name "xf86-video-glint")
a0029fda 2939 (version "1.2.9")
9aea24b6
AE
2940 (source
2941 (origin
2942 (method url-fetch)
2943 (uri (string-append
becb7c99 2944 "mirror://xorg/individual/driver/xf86-video-glint-"
9aea24b6
AE
2945 version
2946 ".tar.bz2"))
2947 (sha256
2948 (base32
a0029fda 2949 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
9aea24b6 2950 (build-system gnu-build-system)
ab667712 2951 (inputs `(("xorgproto" ,xorgproto)
917748dd 2952 ("xorg-server" ,xorg-server)))
c4c4cc05 2953 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2954 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2955 (synopsis "GLINT/Permedia video driver for X server")
2956 (description
2957 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2958X server.")
d385b835 2959 (license license:x11)))
5f1d0fb0
AE
2960
2961
6eb126c5 2962(define-public xf86-video-i128
9aea24b6 2963 (package
6eb126c5 2964 (name "xf86-video-i128")
9fd6f2a7 2965 (version "1.4.0")
9aea24b6
AE
2966 (source
2967 (origin
2968 (method url-fetch)
2969 (uri (string-append
75040072 2970 "mirror://xorg/individual/driver/xf86-video-i128-"
9aea24b6
AE
2971 version
2972 ".tar.bz2"))
2973 (sha256
2974 (base32
9fd6f2a7 2975 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
9aea24b6 2976 (build-system gnu-build-system)
c4c4cc05
JD
2977 (inputs `(("xorg-server" ,xorg-server)))
2978 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2979 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2980 (synopsis "I128 video driver for X server")
2981 (description
2982 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2983X server.")
d385b835 2984 (license license:x11)))
5f1d0fb0
AE
2985
2986
6eb126c5 2987(define-public xf86-video-intel
615d8c89
MB
2988 (let ((commit "f66d39544bb8339130c96d282a80f87ca1606caf")
2989 (revision "15"))
6cc328b4
AW
2990 (package
2991 (name "xf86-video-intel")
3dafde0d 2992 (version (git-version "2.99.917" revision commit))
6cc328b4
AW
2993 (source
2994 (origin
2995 ;; there's no current tarball
2996 (method git-fetch)
2997 (uri (git-reference
01497dfe 2998 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
6cc328b4
AW
2999 (commit commit)))
3000 (sha256
3001 (base32
615d8c89 3002 "14rwbbn06l8qpx7s5crxghn80vgcx8jmfc7qvivh72d81r0kvywl"))
3dafde0d 3003 (file-name (git-file-name name version))))
6cc328b4
AW
3004 (build-system gnu-build-system)
3005 (inputs `(("mesa" ,mesa)
3006 ("udev" ,eudev)
3007 ("libx11" ,libx11)
008dfa23 3008 ("libxfont" ,libxfont2)
6cc328b4
AW
3009 ("xorg-server" ,xorg-server)))
3010 (native-inputs
3011 `(("pkg-config" ,pkg-config)
3012 ("autoconf" ,autoconf)
3013 ("automake" ,automake)
3014 ("libtool" ,libtool)))
3015 (supported-systems
3016 ;; This driver is only supported on Intel systems.
3017 (filter (lambda (system) (or (string-prefix? "i686-" system)
3018 (string-prefix? "x86_64-" system)))
3019 %supported-systems))
3020 (arguments
b049ae2f
MW
3021 '(#:configure-flags '("--with-default-accel=uxa")
3022 #:phases (modify-phases %standard-phases
5cdad3ee 3023 (add-before 'bootstrap 'pre-bootstrap
6cc328b4 3024 (lambda _
5cdad3ee
MW
3025 ;; Inhibit autogen.sh from running configure.
3026 (setenv "NOCONFIGURE" "1")
3027 #t)))))
01497dfe 3028 (home-page "https://www.x.org/wiki/")
6cc328b4
AW
3029 (synopsis "Intel video driver for X server")
3030 (description
3031 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
01bec8a6 3032It supports a variety of Intel graphics chipsets.")
6cc328b4 3033 (license license:x11))))
5f1d0fb0
AE
3034
3035
6eb126c5 3036(define-public xf86-video-mach64
9aea24b6 3037 (package
6eb126c5 3038 (name "xf86-video-mach64")
77c74789 3039 (version "6.9.6")
9aea24b6
AE
3040 (source
3041 (origin
3042 (method url-fetch)
3043 (uri (string-append
e7908a24 3044 "mirror://xorg/individual/driver/xf86-video-mach64-"
9aea24b6
AE
3045 version
3046 ".tar.bz2"))
3047 (sha256
3048 (base32
77c74789 3049 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
fc1adab1 3050 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
9aea24b6 3051 (build-system gnu-build-system)
917748dd 3052 (inputs `(("mesa" ,mesa)
a1f78b42 3053 ("xorgproto" ,xorgproto)
917748dd 3054 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
3055 (native-inputs
3056 `(("pkg-config" ,pkg-config)))
01497dfe 3057 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3058 (synopsis "Mach64 video driver for X server")
3059 (description
3060 "xf86-video-mach64 is a video driver for the Xorg X server.
3061This driver is intended for all ATI video adapters based on the Mach64
3062series or older chipsets, providing maximum video function within
3063hardware limitations. The driver is also intended to optionally provide
3064the same level of support for generic VGA or 8514/A adapters.")
d385b835 3065 (license license:x11)))
5f1d0fb0
AE
3066
3067
6eb126c5 3068(define-public xf86-video-mga
9aea24b6 3069 (package
6eb126c5 3070 (name "xf86-video-mga")
c69fafde 3071 (version "2.0.0")
9aea24b6
AE
3072 (source
3073 (origin
3074 (method url-fetch)
3075 (uri (string-append
e6eeff18 3076 "mirror://xorg/individual/driver/xf86-video-mga-"
9aea24b6
AE
3077 version
3078 ".tar.bz2"))
3079 (sha256
3080 (base32
c69fafde 3081 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
9aea24b6 3082 (build-system gnu-build-system)
917748dd 3083 (inputs `(("mesa" ,mesa)
a1f78b42 3084 ("xorgproto" ,xorgproto)
917748dd 3085 ("xorg-server" ,xorg-server)))
c4c4cc05 3086 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3087 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3088 (synopsis "Matrox video driver for X server")
3089 (description
3090 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
d385b835 3091 (license license:x11)))
5f1d0fb0 3092
6eb126c5 3093(define-public xf86-video-neomagic
9aea24b6 3094 (package
6eb126c5 3095 (name "xf86-video-neomagic")
33d7c5b0 3096 (version "1.3.0")
9aea24b6
AE
3097 (source
3098 (origin
3099 (method url-fetch)
3100 (uri (string-append
caabecf0 3101 "mirror://xorg/individual/driver/xf86-video-neomagic-"
9aea24b6
AE
3102 version
3103 ".tar.bz2"))
3104 (sha256
3105 (base32
33d7c5b0 3106 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
9aea24b6 3107 (build-system gnu-build-system)
ab667712 3108 (inputs `(("xorgproto" ,xorgproto)
917748dd 3109 ("xorg-server" ,xorg-server)))
c4c4cc05 3110 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3111 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3112 (synopsis "NeoMagic video driver for X server")
3113 (description
3114 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
d385b835 3115 (license license:x11)))
5f1d0fb0
AE
3116
3117
893046ff 3118;; This driver depends on XAA which has been removed from xorg-server.
01bec8a6 3119
893046ff
MW
3120;; (define-public xf86-video-newport
3121;; (package
3122;; (name "xf86-video-newport")
3123;; (version "0.2.4")
3124;; (source
3125;; (origin
3126;; (method url-fetch)
3127;; (uri (string-append
3128;; "mirror://xorg/individual/driver/xf86-video-newport-"
3129;; version
3130;; ".tar.bz2"))
3131;; (sha256
3132;; (base32
3133;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3134;; (build-system gnu-build-system)
3135;; (inputs `(("xorg-server" ,xorg-server)))
3136;; (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3137;; (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3138;; (synopsis "Newport video driver for X server")
3139;; (description
3140;; "xf86-video-newport is an Xorg X server video driver for the SGI
3141;; newport cards.")
893046ff 3142;; (license license:x11)))
5f1d0fb0
AE
3143
3144
6eb126c5 3145(define-public xf86-video-nv
9aea24b6 3146 (package
6eb126c5 3147 (name "xf86-video-nv")
f733e603 3148 (version "2.1.21")
9aea24b6
AE
3149 (source
3150 (origin
3151 (method url-fetch)
3152 (uri (string-append
fc7a0cf6 3153 "mirror://xorg/individual/driver/xf86-video-nv-"
9aea24b6
AE
3154 version
3155 ".tar.bz2"))
3156 (sha256
3157 (base32
f733e603 3158 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
9aea24b6 3159 (build-system gnu-build-system)
c4c4cc05
JD
3160 (inputs `(("xorg-server" ,xorg-server)))
3161 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3162 (home-page "https://www.x.org/wiki/")
01bec8a6 3163 (synopsis "NVIDIA video driver for X server")
2e50aa76
LC
3164 (description
3165 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3166graphics processors.
3167
3168There are a few caveats of which to be aware: the XVideo extension is not
3169supported, and the RENDER extension is not accelerated by this driver.")
d385b835 3170 (license license:x11)))
5f1d0fb0 3171
0d5212e8
LC
3172(define-public xf86-video-nouveau
3173 (package
3174 (name "xf86-video-nouveau")
3752d53d 3175 (version "1.0.16")
9f9b89bc
AW
3176 (source
3177 (origin
3178 (method url-fetch)
3179 (uri (string-append
3180 "mirror://xorg/individual/driver/xf86-video-nouveau-"
3181 version
3182 ".tar.bz2"))
3183 (sha256
3184 (base32
3752d53d 3185 "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"))))
0d5212e8 3186 (build-system gnu-build-system)
0d5212e8 3187 (inputs `(("xorg-server" ,xorg-server)))
9f9b89bc 3188 (native-inputs `(("pkg-config" ,pkg-config)))
611924eb 3189 (home-page "https://nouveau.freedesktop.org")
01bec8a6 3190 (synopsis "NVIDIA video driver for X server")
0d5212e8
LC
3191 (description
3192 "This package provides modern, high-quality Xorg drivers for NVIDIA
3193graphics cards.")
3194 (license license:x11)))
5f1d0fb0 3195
6eb126c5 3196(define-public xf86-video-openchrome
9aea24b6 3197 (package
6eb126c5 3198 (name "xf86-video-openchrome")
8caf5bac 3199 (version "0.6.0")
9aea24b6
AE
3200 (source
3201 (origin
3202 (method url-fetch)
3203 (uri (string-append
3d7d909c 3204 "mirror://xorg/individual/driver/xf86-video-openchrome-"
9aea24b6
AE
3205 version
3206 ".tar.bz2"))
3207 (sha256
7ca3ce6b 3208 (base32
8caf5bac 3209 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
9aea24b6 3210 (build-system gnu-build-system)
917748dd
AE
3211 (inputs `(("libx11" ,libx11)
3212 ("libxext" ,libxext)
3213 ("libxvmc" ,libxvmc)
3214 ("mesa" ,mesa)
a1f78b42 3215 ("xorgproto" ,xorgproto)
917748dd 3216 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
3217 (native-inputs
3218 `(("pkg-config" ,pkg-config)))
01497dfe 3219 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3220 (synopsis "Openchrome video driver for X server")
3221 (description
3222 "xf86-video-openchrome is a video driver for the Xorg X server.
3223This driver is intended for VIA chipsets featuring the VIA UniChrome,
3224UniChrome Pro and Chrome9 integrated graphics processors.")
d385b835 3225 (license license:x11)))
5f1d0fb0
AE
3226
3227
6799ed76
DC
3228(define-public xf86-video-qxl
3229 (package
3230 (name "xf86-video-qxl")
9f74424f 3231 (version "0.1.5")
6799ed76
DC
3232 (source (origin
3233 (method url-fetch)
3234 (uri (string-append
3235 "mirror://xorg/individual/driver/"
3236 "xf86-video-qxl-" version ".tar.bz2"))
3237 (sha256
3238 (base32
9f74424f 3239 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
6799ed76
DC
3240 (build-system gnu-build-system)
3241 (inputs
b4d7aef5 3242 `(("libxfont" ,libxfont2)
6799ed76 3243 ("spice-protocol" ,spice-protocol)
6799ed76 3244 ("xorg-server" ,xorg-server)
6a6db57f 3245 ("xorgproto" ,xorgproto)))
6799ed76
DC
3246 (native-inputs
3247 `(("pkg-config" ,pkg-config)))
3248 (synopsis "Qxl video driver for X server")
3249 (description "xf86-video-qxl is a video driver for the Xorg X server.
3250This driver is intended for the spice qxl virtio device.")
3251 (home-page "http://www.spice-space.org")
3252 (license license:x11)))
3253
6eb126c5 3254(define-public xf86-video-r128
df3f99af
MB
3255 (package
3256 (name "xf86-video-r128")
e921993c 3257 (version "6.12.0")
df3f99af
MB
3258 (source (origin
3259 (method url-fetch)
3260 (uri (string-append "mirror://xorg/individual/driver/"
3261 name "-" version ".tar.bz2"))
3262 (sha256
3263 (base32
e921993c 3264 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
df3f99af
MB
3265 (build-system gnu-build-system)
3266 (inputs `(("mesa" ,mesa)
3267 ("xorgproto" ,xorgproto)
3268 ("xorg-server" ,xorg-server)))
3269 (native-inputs
3270 `(("pkg-config" ,pkg-config)))
3271 (home-page "https://www.x.org/wiki/")
3272 (synopsis "ATI Rage 128 video driver for X server")
3273 (description
3274 "xf86-video-r128 is a video driver for the Xorg X server.
01bec8a6 3275This driver is intended for ATI Rage 128 based cards.")
df3f99af 3276 (license license:x11)))
5f1d0fb0 3277
6eb126c5 3278(define-public xf86-video-savage
9aea24b6 3279 (package
6eb126c5 3280 (name "xf86-video-savage")
a354c7d8 3281 (version "2.3.9")
9aea24b6
AE
3282 (source
3283 (origin
3284 (method url-fetch)
3285 (uri (string-append
1a783045 3286 "mirror://xorg/individual/driver/xf86-video-savage-"
9aea24b6
AE
3287 version
3288 ".tar.bz2"))
a4edd9ad 3289 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
9aea24b6
AE
3290 (sha256
3291 (base32
a354c7d8 3292 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
9aea24b6 3293 (build-system gnu-build-system)
917748dd 3294 (inputs `(("mesa" ,mesa)
a1f78b42 3295 ("xorgproto" ,xorgproto)
917748dd 3296 ("xorg-server" ,xorg-server)))
c4c4cc05 3297 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3298 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3299 (synopsis "Savage video driver for X server")
3300 (description
3301 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
d385b835 3302 (license license:x11)))
5f1d0fb0
AE
3303
3304
6eb126c5 3305(define-public xf86-video-siliconmotion
9aea24b6 3306 (package
6eb126c5 3307 (name "xf86-video-siliconmotion")
3a50b712 3308 (version "1.7.9")
9aea24b6
AE
3309 (source
3310 (origin
3311 (method url-fetch)
3312 (uri (string-append
a5bea0a7 3313 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
9aea24b6
AE
3314 version
3315 ".tar.bz2"))
3316 (sha256
3317 (base32
c5a856d5
EF
3318 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3319 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
9aea24b6 3320 (build-system gnu-build-system)
c4c4cc05
JD
3321 (inputs `(("xorg-server" ,xorg-server)))
3322 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3323 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3324 (synopsis "Silicon Motion video driver for X server")
3325 (description
3326 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3327Xorg X server.")
d385b835 3328 (license license:x11)))
5f1d0fb0
AE
3329
3330
6eb126c5 3331(define-public xf86-video-sis
9aea24b6 3332 (package
6eb126c5 3333 (name "xf86-video-sis")
798dd616 3334 (version "0.10.9")
9aea24b6
AE
3335 (source
3336 (origin
3337 (method url-fetch)
3338 (uri (string-append
7007aeb2 3339 "mirror://xorg/individual/driver/xf86-video-sis-"
9aea24b6
AE
3340 version
3341 ".tar.bz2"))
c67f603d 3342 (patches (search-patches "xf86-video-sis-xorg-compat.patch"))
9aea24b6
AE
3343 (sha256
3344 (base32
798dd616 3345 "03f1abjjf68y8y1iz768rn95va9d33wmbwfbsqrgl6k0gi0bf9jj"))))
9aea24b6 3346 (build-system gnu-build-system)
917748dd 3347 (inputs `(("mesa" ,mesa)
a1f78b42 3348 ("xorgproto" ,xorgproto)
917748dd 3349 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
3350 (native-inputs
3351 `(("pkg-config" ,pkg-config)))
01497dfe 3352 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3353 (synopsis "Sis video driver for X server")
3354 (description
3355 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3356This driver supports SiS chipsets of 300/315/330/340 series.")
6eb126c5 3357 (license license:bsd-3)))
5f1d0fb0
AE
3358
3359
6eb126c5 3360(define-public xf86-video-suncg6
9aea24b6 3361 (package
6eb126c5 3362 (name "xf86-video-suncg6")
c4bce93f 3363 (version "1.1.2")
9aea24b6
AE
3364 (source
3365 (origin
3366 (method url-fetch)
3367 (uri (string-append
c4bce93f 3368 "mirror://xorg/individual/driver/xf86-video-suncg6-"
9aea24b6
AE
3369 version
3370 ".tar.bz2"))
3371 (sha256
3372 (base32
c4bce93f 3373 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
9aea24b6 3374 (build-system gnu-build-system)
c4c4cc05
JD
3375 (inputs `(("xorg-server" ,xorg-server)))
3376 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3377 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3378 (synopsis "GX/TurboGX video driver for X server")
3379 (description
3380 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
d385b835 3381 (license license:x11)))
5f1d0fb0
AE
3382
3383
6eb126c5 3384(define-public xf86-video-sunffb
9aea24b6 3385 (package
6eb126c5 3386 (name "xf86-video-sunffb")
a1d80a04 3387 (version "1.2.2")
9aea24b6
AE
3388 (source
3389 (origin
3390 (method url-fetch)
3391 (uri (string-append
a1d80a04 3392 "mirror://xorg/individual/driver/xf86-video-sunffb-"
9aea24b6
AE
3393 version
3394 ".tar.bz2"))
3395 (sha256
3396 (base32
a1d80a04 3397 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
9aea24b6 3398 (build-system gnu-build-system)
c4c4cc05
JD
3399 (inputs `(("xorg-server" ,xorg-server)))
3400 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3401 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3402 (synopsis "SUNFFB video driver for X server")
3403 (description
3404 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
d385b835 3405 (license license:x11)))
5f1d0fb0
AE
3406
3407
6eb126c5 3408(define-public xf86-video-tdfx
9aea24b6 3409 (package
6eb126c5 3410 (name "xf86-video-tdfx")
7741bdb6 3411 (version "1.5.0")
9aea24b6
AE
3412 (source
3413 (origin
3414 (method url-fetch)
3415 (uri (string-append
83664334 3416 "mirror://xorg/individual/driver/xf86-video-tdfx-"
9aea24b6
AE
3417 version
3418 ".tar.bz2"))
3419 (sha256
3420 (base32
7741bdb6 3421 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
9aea24b6 3422 (build-system gnu-build-system)
917748dd 3423 (inputs `(("mesa" ,mesa)
a1f78b42 3424 ("xorgproto" ,xorgproto)
917748dd 3425 ("xorg-server" ,xorg-server)))
c4c4cc05 3426 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3427 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3428 (synopsis "3Dfx video driver for X server")
3429 (description
3430 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
d385b835 3431 (license license:x11)))
5f1d0fb0
AE
3432
3433
6eb126c5 3434(define-public xf86-video-tga
9aea24b6 3435 (package
6eb126c5 3436 (name "xf86-video-tga")
af339a48 3437 (version "1.2.2")
9aea24b6
AE
3438 (source
3439 (origin
3440 (method url-fetch)
3441 (uri (string-append
af339a48 3442 "mirror://xorg/individual/driver/xf86-video-tga-"
9aea24b6
AE
3443 version
3444 ".tar.bz2"))
3445 (sha256
3446 (base32
af339a48 3447 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
fc1adab1 3448 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
9aea24b6 3449 (build-system gnu-build-system)
ab667712 3450 (inputs `(("xorgproto" ,xorgproto)
917748dd 3451 ("xorg-server" ,xorg-server)))
c4c4cc05 3452 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3453 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3454 (synopsis "TGA video driver for X server")
3455 (description
3456 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3457X server.")
d385b835 3458 (license license:x11)))
5f1d0fb0
AE
3459
3460
6eb126c5 3461(define-public xf86-video-trident
9aea24b6 3462 (package
6eb126c5 3463 (name "xf86-video-trident")
619ff932 3464 (version "1.3.8")
9aea24b6
AE
3465 (source
3466 (origin
3467 (method url-fetch)
3468 (uri (string-append
d0088ad8 3469 "mirror://xorg/individual/driver/xf86-video-trident-"
9aea24b6
AE
3470 version
3471 ".tar.bz2"))
3472 (sha256
3473 (base32
619ff932 3474 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
9aea24b6 3475 (build-system gnu-build-system)
ab667712 3476 (inputs `(("xorgproto" ,xorgproto)
917748dd 3477 ("xorg-server" ,xorg-server)))
c4c4cc05 3478 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3479 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3480 (synopsis "Trident video driver for X server")
3481 (description
3482 "xf86-video-trident is a Trident video driver for the Xorg X server.")
d385b835 3483 (license license:x11)))
5f1d0fb0
AE
3484
3485
124b7f1e 3486;; no license
6eb126c5 3487;; (define-public xf86-video-v4l
6eb126c5
AE
3488
3489
3490(define-public xf86-video-vesa
9aea24b6 3491 (package
6eb126c5 3492 (name "xf86-video-vesa")
294ae4d7 3493 (version "2.4.0")
9aea24b6
AE
3494 (source
3495 (origin
3496 (method url-fetch)
3497 (uri (string-append
7dd17c76 3498 "mirror://xorg/individual/driver/xf86-video-vesa-"
9aea24b6
AE
3499 version
3500 ".tar.bz2"))
3501 (sha256
3502 (base32
294ae4d7 3503 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
9aea24b6 3504 (build-system gnu-build-system)
c4c4cc05
JD
3505 (inputs `(("xorg-server" ,xorg-server)))
3506 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3507 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3508 (synopsis "VESA video driver for X server")
3509 (description
3510 "xf86-video-vesa is a generic VESA video driver for the Xorg
3511X server.")
d385b835 3512 (license license:x11)))
5f1d0fb0 3513
e2303e8e
FP
3514(define-public v86d
3515 (package
3516 (name "v86d")
3517 (version "0.1.10")
3518 (source
3519 (origin
3520 (method git-fetch)
3521 (uri (git-reference
3522 (url "https://github.com/mjanusz/v86d.git")
3523 (commit (string-append name "-" version))))
3524 (file-name (git-file-name name version))
3525 (sha256
3526 (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp"))
3527 (modules '((guix build utils)))
3528 (snippet
3529 '(begin
3530 ;; remove bundled x86emu
3531 (for-each delete-file
3532 (filter (lambda (name) ;keep customized Makefile
3533 (not (string-suffix? "Makefile" name)))
3534 (find-files "libs/x86emu")))
3535 ;; remove non-working vbetest utility program (it is unnecessary)
3536 (delete-file "libs/lrmi-0.10/vbe.h")
3537 (delete-file "libs/lrmi-0.10/vbetest.c")
3538 #t))))
3539
3540 ;; We keep the bundled copy of the Linux Real Mode Interface lrmi-0.10,
3541 ;; because it includes fixes missing from upstream lrmi. We do not use
3542 ;; libx86, because we already use x86emu with the more current lrmi.
3543
3544 (inputs `(("xorg-server-sources" ,(package-source xorg-server)) ;for x86emu
3545 ("xorgproto" ,xorgproto))) ;upstream x86emu uses X11/Xfuncproto.h
3546 (outputs '("out" ;main v86d helper
3547 "testvbe")) ;test program for listing video modes
3548 (supported-systems '("i686-linux" "x86_64-linux"))
3549 (build-system gnu-build-system)
3550 (arguments
3551 `(#:tests? #f ;there are no tests
3552 #:modules ((guix build utils)
3553 (guix build gnu-build-system)
3554 (ice-9 popen))
3555 #:phases
3556 (modify-phases %standard-phases
3557 ;; Replace the bundled x86emu with its upstream copy from Xorg-server:
3558 (add-after 'unpack 'unpack-x86emu-sources
3559 (lambda* (#:key inputs #:allow-other-keys)
3560 (begin
3561 (format #t "decompressing x86emu source code~%")
3562 (with-directory-excursion "libs"
3563 (let ((srcs (assoc-ref inputs "xorg-server-sources"))
3564 (tar-binary (string-append (assoc-ref inputs "tar")
3565 "/bin/tar")))
3566 (invoke tar-binary "xvf" srcs "--strip-components=3"
3567 "--wildcards" "*/hw/xfree86/x86emu/")
3568 ;; extract license:
3569 (with-directory-excursion "x86emu"
3570 (invoke tar-binary "xvf" srcs "--strip-components=1"
3571 "--wildcards" "*/COPYING"))
3572 #t)))))
3573 (replace 'configure
3574 (lambda* (#:key outputs #:allow-other-keys)
3575 (let ((out (assoc-ref outputs "out")))
3576 (setenv "CC" (which "gcc"))
3577 (setenv "DESTDIR" out)
3578 (invoke "./configure" "--with-x86emu"))))
3579 (add-after 'build 'build-testvbe
3580 (lambda _
3581 (invoke "make" "testvbe")))
3582 (add-after 'install 'install-testvbe
3583 (lambda* (#:key outputs #:allow-other-keys)
3584 (let ((testvbe (assoc-ref outputs "testvbe"))
3585 (olddest (getenv "DESTDIR")))
3586 (setenv "DESTDIR" testvbe)
3587 (invoke "make" "install_testvbe")
3588 (setenv "DESTDIR" olddest)
3589 #t)))
3590 (add-after 'install 'install-docs
3591 (lambda* (#:key outputs #:allow-other-keys)
3592 (let* ((out (assoc-ref outputs "out"))
3593 (doc-dir (string-append out "/share/doc/v86d")))
3594 (mkdir-p doc-dir)
3595 (copy-file "README"
3596 (string-append doc-dir "/README"))
3597 (copy-file "libs/lrmi-0.10/README"
3598 (string-append doc-dir "/README.lrmi"))
3599 (copy-file "libs/x86emu/COPYING"
3600 (string-append doc-dir "/COPYING.xorg-server.x86emu"))
3601 #t))))))
3602 (home-page "https://github.com/mjanusz/v86d")
3603 (synopsis "Userspace helper for uvesafb")
3604 (description
3605 "v86d provides a backend for kernel drivers that need to execute x86 BIOS
3606code. The code is executed in a controlled environment and the results are
3607passed back to the kernel via the netlink interface. v86d is required by the
3608uvesafb Linux kernel module that provides an fbdev framebuffer when Kernel
3609Mode Setting is unavailable. It can be a last resort when no other Xorg X
3610server driver works.")
3611 (license (list license:gpl2
3612 license:x11)))) ;for bundled lrmi and x86emu
5f1d0fb0 3613
6eb126c5 3614(define-public xf86-video-vmware
9aea24b6 3615 (package
6eb126c5 3616 (name "xf86-video-vmware")
6321ce42 3617 (version "13.3.0")
9aea24b6
AE
3618 (source
3619 (origin
3620 (method url-fetch)
3621 (uri (string-append
bd6863c2 3622 "mirror://xorg/individual/driver/xf86-video-vmware-"
9aea24b6
AE
3623 version
3624 ".tar.bz2"))
3625 (sha256
3626 (base32
6321ce42 3627 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
9aea24b6 3628 (build-system gnu-build-system)
e177f819
TGR
3629 (inputs
3630 `(("libx11" ,libx11)
3631 ("libxext" ,libxext)
8e4b7b75 3632 ("llvm" ,llvm)
e177f819
TGR
3633 ("mesa" ,mesa) ; for xatracker
3634 ("xorg-server" ,xorg-server)))
c4c4cc05 3635 (native-inputs
e177f819
TGR
3636 `(("eudev" ,eudev)
3637 ("pkg-config" ,pkg-config)))
01497dfe 3638 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3639 (synopsis "VMware SVGA video driver for X server")
3640 (description
3641 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
d385b835 3642 (license license:x11)))
5f1d0fb0
AE
3643
3644
6eb126c5 3645(define-public xf86-video-voodoo
9aea24b6 3646 (package
6eb126c5 3647 (name "xf86-video-voodoo")
c0e40804 3648 (version "1.2.5")
9aea24b6
AE
3649 (source
3650 (origin
3651 (method url-fetch)
3652 (uri (string-append
c0e40804 3653 "mirror://xorg/individual/driver/xf86-video-voodoo-"
9aea24b6
AE
3654 version
3655 ".tar.bz2"))
3656 (sha256
3657 (base32
9177dbeb
AW
3658 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3659 (patches
0f469c17 3660 (search-patches "xf86-video-voodoo-pcitag.patch"))))
9aea24b6 3661 (build-system gnu-build-system)
ab667712 3662 (inputs `(("xorgproto" ,xorgproto)
917748dd 3663 ("xorg-server" ,xorg-server)))
c4c4cc05 3664 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3665 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3666 (synopsis "Voodoo/Voodoo2 video driver for X server")
3667 (description
3668 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
d385b835 3669 (license license:x11)))
5f1d0fb0
AE
3670
3671
6706269e
AE
3672;; Only relevant for the frame buffer on BSD systems.
3673;; (define-public xf86-video-wsfb
5f1d0fb0
AE
3674
3675
6eb126c5 3676(define-public xf86bigfontproto
9aea24b6 3677 (package
6eb126c5
AE
3678 (name "xf86bigfontproto")
3679 (version "1.2.0")
9aea24b6
AE
3680 (source
3681 (origin
3682 (method url-fetch)
3683 (uri (string-append
d2611ffb 3684 "mirror://xorg/individual/proto/xf86bigfontproto-"
9aea24b6
AE
3685 version
3686 ".tar.bz2"))
3687 (sha256
3688 (base32
6eb126c5 3689 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
9aea24b6 3690 (build-system gnu-build-system)
01497dfe 3691 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3692 (synopsis "Xorg XF86BigFontProto protocol headers")
3693 (description
3694 "XFree86 Bigfont Extension contains header files and documentation
3695for the XF86BigFontProto protocol.")
d7f37691
MB
3696 (license license:x11)
3697 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3698
6eb126c5 3699(define-public xf86dgaproto
9aea24b6 3700 (package
6eb126c5
AE
3701 (name "xf86dgaproto")
3702 (version "2.1")
9aea24b6
AE
3703 (source
3704 (origin
3705 (method url-fetch)
3706 (uri (string-append
d2611ffb 3707 "mirror://xorg/individual/proto/xf86dgaproto-"
9aea24b6
AE
3708 version
3709 ".tar.bz2"))
3710 (sha256
3711 (base32
6eb126c5 3712 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
9aea24b6 3713 (build-system gnu-build-system)
01497dfe 3714 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3715 (synopsis "Xorg XF86DGAProto protocol headers")
3716 (description
3717 "XFree86 Direct Graphic Access Extension defines a protocol for
3718direct linear framebuffer access.")
ab667712
MB
3719 (license license:x11)
3720 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3721
6eb126c5 3722(define-public xf86driproto
9aea24b6 3723 (package
6eb126c5
AE
3724 (name "xf86driproto")
3725 (version "2.1.1")
9aea24b6
AE
3726 (source
3727 (origin
3728 (method url-fetch)
3729 (uri (string-append
d2611ffb 3730 "mirror://xorg/individual/proto/xf86driproto-"
9aea24b6
AE
3731 version
3732 ".tar.bz2"))
3733 (sha256
3734 (base32
6eb126c5 3735 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
9aea24b6 3736 (build-system gnu-build-system)
01497dfe 3737 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3738 (synopsis "Xorg XF86DRIProto protocol headers")
3739 (description
3740 "XFree86 Direct Rendering Infrastructure Extension defines a
3741protocol to allow user applications to access the video hardware without
3742requiring data to be passed through the X server.")
a1f78b42
MB
3743 (license license:x11)
3744 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3745
6eb126c5 3746(define-public xf86vidmodeproto
9aea24b6 3747 (package
6eb126c5
AE
3748 (name "xf86vidmodeproto")
3749 (version "2.3.1")
9aea24b6
AE
3750 (source
3751 (origin
3752 (method url-fetch)
3753 (uri (string-append
d2611ffb 3754 "mirror://xorg/individual/proto/xf86vidmodeproto-"
9aea24b6
AE
3755 version
3756 ".tar.bz2"))
3757 (sha256
3758 (base32
6eb126c5 3759 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
9aea24b6 3760 (build-system gnu-build-system)
01497dfe 3761 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3762 (synopsis "Xorg XF86VidModeProto protocol headers")
3763 (description
3764 "XFree86 Video Mode Extension defines a protocol for dynamically
3765configuring modelines and gamma.")
5b6f1be7
MB
3766 (license license:x11)
3767 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3768
6eb126c5 3769(define-public xgamma
9aea24b6 3770 (package
6eb126c5 3771 (name "xgamma")
033a1ba3 3772 (version "1.0.6")
9aea24b6
AE
3773 (source
3774 (origin
3775 (method url-fetch)
3776 (uri (string-append
d2611ffb 3777 "mirror://xorg/individual/app/xgamma-"
9aea24b6
AE
3778 version
3779 ".tar.bz2"))
3780 (sha256
3781 (base32
033a1ba3 3782 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
9aea24b6 3783 (build-system gnu-build-system)
6eb126c5
AE
3784 (inputs
3785 `(("libxxf86vm" ,libxxf86vm)
c4c4cc05
JD
3786 ("libx11" ,libx11)))
3787 (native-inputs
3788 `(("pkg-config" ,pkg-config)))
01497dfe 3789 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3790 (synopsis "Alter a monitor's gamma correction")
3791 (description
3792 "XGamma is used to query and alter the gamma correction of a
3793monitor via the X video mode extension.")
6eb126c5 3794 (license license:x11)))
5f1d0fb0
AE
3795
3796
6eb126c5 3797(define-public xhost
9aea24b6 3798 (package
6eb126c5 3799 (name "xhost")
afee35bc 3800 (version "1.0.8")
9aea24b6
AE
3801 (source
3802 (origin
3803 (method url-fetch)
3804 (uri (string-append
9248fd7f 3805 "mirror://xorg/individual/app/xhost-"
9aea24b6
AE
3806 version
3807 ".tar.bz2"))
3808 (sha256
3809 (base32
afee35bc 3810 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
9aea24b6 3811 (build-system gnu-build-system)
6eb126c5
AE
3812 (inputs
3813 `(("libxmu" ,libxmu)
3814 ("libxau" ,libxau)
c4c4cc05
JD
3815 ("libx11" ,libx11)))
3816 (native-inputs
3817 `(("pkg-config" ,pkg-config)))
afee35bc 3818 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
01bec8a6
AK
3819 (synopsis "Xorg server access control utility")
3820 (description
3821 "XHost is used to manage the list of host names or user names
3822allowed to make connections to the X server.")
d385b835 3823 (license license:x11)))
5f1d0fb0
AE
3824
3825
6eb126c5 3826(define-public xineramaproto
9aea24b6 3827 (package
6eb126c5 3828 (name "xineramaproto")
5f1d0fb0 3829 (version "1.2.1")
9aea24b6
AE
3830 (source
3831 (origin
3832 (method url-fetch)
3833 (uri (string-append
d2611ffb 3834 "mirror://xorg/individual/proto/xineramaproto-"
9aea24b6
AE
3835 version
3836 ".tar.bz2"))
3837 (sha256
3838 (base32
6eb126c5 3839 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
9aea24b6 3840 (build-system gnu-build-system)
c4c4cc05 3841 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3842 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3843 (synopsis "Xorg XineramaProto protocol headers")
3844 (description
3845 "Xinerama Extension allows clients to query information about multiple
3846physical screens controlled by a single X server that appear as a single
3847screen to core X11 protocol operations.
3848
3849This extension provides a common network protocol for querying information
3850which may be provided by different underlying screen combination
3851technologies in the X server, such as the original Xinerama multiplexer, or
3852alternative implementations like XRandR or TwinView.")
ba57d602
MB
3853 (license license:x11)
3854 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3855
6eb126c5 3856(define-public xinput
9aea24b6 3857 (package
6eb126c5 3858 (name "xinput")
5cd1a056 3859 (version "1.6.3")
9aea24b6
AE
3860 (source
3861 (origin
3862 (method url-fetch)
3863 (uri (string-append
e2a712ca 3864 "mirror://xorg/individual/app/xinput-"
9aea24b6
AE
3865 version
3866 ".tar.bz2"))
3867 (sha256
3868 (base32
5cd1a056 3869 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
9aea24b6 3870 (build-system gnu-build-system)
6eb126c5
AE
3871 (inputs
3872 `(("libxrender" ,libxrender)
3873 ("libxrandr" ,libxrandr)
3874 ("libxinerama" ,libxinerama)
e2a712ca 3875 ("libxext" ,libxext)
6eb126c5 3876 ("libxi" ,libxi)
6eb126c5 3877 ("libx11" ,libx11)
82b4d9ec 3878 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
3879 (native-inputs
3880 `(("pkg-config" ,pkg-config)))
01497dfe 3881 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3882 (synopsis "Configure input devices for X server")
3883 (description
3884 "XInput is used to configure and test XInput devices.")
d385b835 3885 (license license:x11)))
5f1d0fb0
AE
3886
3887
2365338b 3888(define xkbcomp-intermediate ; used as input for xkeyboard-config
9aea24b6 3889 (package
2365338b 3890 (name "xkbcomp-intermediate")
bd1efded 3891 (version "1.4.2")
9aea24b6
AE
3892 (source
3893 (origin
3894 (method url-fetch)
3895 (uri (string-append
6bd87b76 3896 "mirror://xorg/individual/app/xkbcomp-"
9aea24b6
AE
3897 version
3898 ".tar.bz2"))
3899 (sha256
38282229 3900 (base32
bd1efded 3901 "0944rrkkf0dxp07vhh9yr4prslxhqyw63qmbjirbv1bypswvrn3d"))))
9aea24b6 3902 (build-system gnu-build-system)
6eb126c5 3903 (inputs
6a6db57f 3904 `(("xorgproto" ,xorgproto)
6eb126c5 3905 ("libxkbfile" ,libxkbfile)
c4c4cc05
JD
3906 ("libx11" ,libx11)))
3907 (native-inputs
3908 `(("pkg-config" ,pkg-config)))
01497dfe 3909 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3910 (synopsis "Compile XKB keyboard description")
3911 (description
3912 "xkbcomp keymap compiler converts a description of an XKB keymap
3913into one of several output formats. The most common use for xkbcomp is
3914to create a compiled keymap file (.xkm extension) which can be read
3915directly by XKB- capable X servers or utilities.
3916
3917X Keyboard (XKB) Extension essentially replaces the core protocol
3918definition of keyboard. The extension makes possible to clearly and
3919explicitly specify most aspects of keyboard behaviour on per-key basis
3920and to more closely track the logical and physical state of the
3921keyboard. It also includes a number of keyboard controls designed to
3922make keyboards more accessible to people with physical impairments.")
d385b835 3923 (license license:x11)))
5f1d0fb0 3924
2365338b
AE
3925(define-public xkbcomp ; using xkeyboard-config as input
3926 (package (inherit xkbcomp-intermediate)
3927 (name "xkbcomp")
3928 (inputs
3929 `(,@(package-inputs xkbcomp-intermediate)
3930 ("xkeyboard-config" ,xkeyboard-config)))
3931 (arguments
3932 `(#:configure-flags
3933 (list (string-append "--with-xkb-config-root="
3934 (assoc-ref %build-inputs "xkeyboard-config")
3935 "/share/X11/xkb"))))))
3936
5f1d0fb0 3937
6eb126c5 3938(define-public xkbevd
9aea24b6 3939 (package
6eb126c5 3940 (name "xkbevd")
ed7abe52 3941 (version "1.1.4")
9aea24b6
AE
3942 (source
3943 (origin
3944 (method url-fetch)
3945 (uri (string-append
d2611ffb 3946 "mirror://xorg/individual/app/xkbevd-"
9aea24b6
AE
3947 version
3948 ".tar.bz2"))
3949 (sha256
3950 (base32
ed7abe52 3951 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
9aea24b6 3952 (build-system gnu-build-system)
6eb126c5
AE
3953 (inputs
3954 `(("libxkbfile" ,libxkbfile)
c4c4cc05
JD
3955 ("libx11" ,libx11)))
3956 (native-inputs
3957 `(("pkg-config" ,pkg-config)))
01497dfe 3958 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3959 (synopsis "XKB event daemon demo")
3960 (description
3961 "XKB event daemon listens for the specified XKB events and executes
3962requested commands if they occur.")
d385b835 3963 (license license:x11)))
5f1d0fb0
AE
3964
3965
6eb126c5 3966(define-public xkbutils
9aea24b6 3967 (package
6eb126c5 3968 (name "xkbutils")
c9ad1f97 3969 (version "1.0.4")
9aea24b6
AE
3970 (source
3971 (origin
3972 (method url-fetch)
3973 (uri (string-append
c9ad1f97 3974 "mirror://xorg/individual/app/xkbutils-"
9aea24b6
AE
3975 version
3976 ".tar.bz2"))
3977 (sha256
3978 (base32
c9ad1f97 3979 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
9aea24b6 3980 (build-system gnu-build-system)
6eb126c5
AE
3981 (inputs
3982 `(("libxt" ,libxt)
6eb126c5 3983 ("libxaw" ,libxaw)
82b4d9ec 3984 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
3985 (native-inputs
3986 `(("pkg-config" ,pkg-config)))
01497dfe 3987 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3988 (synopsis "XKB utilities")
3989 (description
3990 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3991extension to the X11 protocol. It includes:
3992
3993- xkbbell: generate XKB bell events;
3994
3995- xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3996
3997- xkbwatch: reports changes in the XKB keyboard state.")
d385b835 3998 (license license:x11)))
5f1d0fb0
AE
3999
4000
6eb126c5 4001(define-public xkeyboard-config
9aea24b6 4002 (package
6eb126c5 4003 (name "xkeyboard-config")
7f8c5111 4004 (version "2.29")
9aea24b6
AE
4005 (source
4006 (origin
4007 (method url-fetch)
4008 (uri (string-append
d6f7ee72
MW
4009 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
4010 version
4011 ".tar.bz2"))
9aea24b6
AE
4012 (sha256
4013 (base32
7f8c5111 4014 "00hqc8nykvy8c09b8vab64dcd0ij3n5klxjn6rl00q7hickpah8x"))))
5f1d0fb0 4015 (build-system gnu-build-system)
6eb126c5 4016 (inputs
7f8c5111 4017 `(("libx11" ,libx11)
2365338b 4018 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
c4c4cc05 4019 (native-inputs
7f8c5111
MB
4020 `(("gettext" ,gettext-minimal)
4021 ("perl" ,perl)
4022 ("pkg-config" ,pkg-config)
4023 ("python" ,python)))
01497dfe 4024 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4025 (synopsis "Xorg XKB configuration files")
4026 (description
4027 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
4028There are five components that define a complete keyboard mapping:
4029symbols, geometry, keycodes, compat, and types; these five components
36a4366d 4030can be combined together using the @code{rules} component of this database.")
d385b835 4031 (license license:x11)))
5f1d0fb0
AE
4032
4033
6eb126c5 4034(define-public xkill
9aea24b6 4035 (package
6eb126c5 4036 (name "xkill")
060c82c1 4037 (version "1.0.5")
9aea24b6
AE
4038 (source
4039 (origin
4040 (method url-fetch)
4041 (uri (string-append
f61bfb34 4042 "mirror://xorg/individual/app/xkill-"
9aea24b6
AE
4043 version
4044 ".tar.bz2"))
4045 (sha256
4046 (base32
060c82c1 4047 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
9aea24b6 4048 (build-system gnu-build-system)
6eb126c5
AE
4049 (inputs
4050 `(("libxmu" ,libxmu)
c4c4cc05
JD
4051 ("libx11" ,libx11)))
4052 (native-inputs
4053 `(("pkg-config" ,pkg-config)))
01497dfe 4054 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4055 (synopsis "Kill a client by its X resource")
4056 (description
4057 "XKill is used to force the X server to close connections to
4058clients. This program is very dangerous, but is useful for aborting
4059programs that have displayed undesired windows on a user's screen.")
d385b835 4060 (license license:x11)))
5f1d0fb0
AE
4061
4062
6eb126c5 4063(define-public xlsatoms
9aea24b6 4064 (package
6eb126c5 4065 (name "xlsatoms")
f73fb79c 4066 (version "1.1.3")
9aea24b6
AE
4067 (source
4068 (origin
4069 (method url-fetch)
4070 (uri (string-append
d2611ffb 4071 "mirror://xorg/individual/app/xlsatoms-"
9aea24b6
AE
4072 version
4073 ".tar.bz2"))
4074 (sha256
4075 (base32
f73fb79c 4076 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
9aea24b6 4077 (build-system gnu-build-system)
6eb126c5 4078 (inputs
c4c4cc05
JD
4079 `(("libxcb" ,libxcb)))
4080 (native-inputs
4081 `(("pkg-config" ,pkg-config)))
f73fb79c 4082 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
01bec8a6
AK
4083 (synopsis "List interned X server atoms")
4084 (description
4085 "XLsAtoms is used to list the interned atoms defined on X server.")
6eb126c5 4086 (license license:x11)))
5f1d0fb0
AE
4087
4088
6eb126c5 4089(define-public xlsclients
9aea24b6 4090 (package
6eb126c5 4091 (name "xlsclients")
f2034854 4092 (version "1.1.4")
9aea24b6
AE
4093 (source
4094 (origin
4095 (method url-fetch)
4096 (uri (string-append
cdacad71 4097 "mirror://xorg/individual/app/xlsclients-"
9aea24b6
AE
4098 version
4099 ".tar.bz2"))
4100 (sha256
4101 (base32
f2034854 4102 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
9aea24b6 4103 (build-system gnu-build-system)
6eb126c5 4104 (inputs
c4c4cc05
JD
4105 `(("libxcb" ,libxcb)))
4106 (native-inputs
4107 `(("pkg-config" ,pkg-config)))
01497dfe 4108 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4109 (synopsis "List client applications running on a display")
4110 (description
4111 "XLsClients is used to list information about the client programs
4112running on X server.")
d385b835 4113 (license license:x11)))
5f1d0fb0
AE
4114
4115
0f21557c
EB
4116(define-public xlsfonts
4117 (package
4118 (name "xlsfonts")
cafda73f 4119 (version "1.0.6")
0f21557c
EB
4120 (source
4121 (origin
4122 (method url-fetch)
4123 (uri (string-append
4124 "mirror://xorg/individual/app/xlsfonts-"
4125 version
4126 ".tar.bz2"))
4127 (sha256
4128 (base32
cafda73f 4129 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
0f21557c
EB
4130 (build-system gnu-build-system)
4131 (inputs
6a6db57f 4132 `(("xorgproto" ,xorgproto)
0f21557c
EB
4133 ("libx11" ,libx11)))
4134 (native-inputs
4135 `(("pkg-config" ,pkg-config)))
01497dfe 4136 (home-page "https://www.x.org/wiki/")
0f21557c
EB
4137 (synopsis "List fonts available from an X server")
4138 (description
4139 "xlsfonts lists fonts available from an X server via the X11 core
4140protocol.")
4141 (license license:x11)))
4142
f225ae75
AK
4143(define-public xfontsel
4144 (package
4145 (name "xfontsel")
7c1119aa 4146 (version "1.0.6")
f225ae75
AK
4147 (source (origin
4148 (method url-fetch)
4149 (uri (string-append
4150 "mirror://xorg/individual/app/xfontsel-"
4151 version ".tar.bz2"))
4152 (sha256
4153 (base32
7c1119aa 4154 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
f225ae75
AK
4155 (build-system gnu-build-system)
4156 (arguments
5dc8dd07
JD
4157 `(#:configure-flags
4158 (list (string-append "--with-appdefaultdir="
4159 %output ,%app-defaults-dir))))
f225ae75
AK
4160 (inputs
4161 `(("libx11" ,libx11)
4162 ("libxaw" ,libxaw)
4163 ("libxmu" ,libxmu)
4164 ("libxt" ,libxt)))
4165 (native-inputs
4166 `(("pkg-config" ,pkg-config)))
4167 (home-page "https://www.x.org/wiki/")
4168 (synopsis "Browse and select X font names")
4169 (description
4170 "XFontSel provides a simple way to display the X11 core protocol fonts
4171known to your X server, examine samples of each, and retrieve the X Logical
4172Font Description (XLFD) full name for a font.")
4173 (license license:x11)))
0f21557c 4174
e48e31bc
AK
4175(define-public xfd
4176 (package
4177 (name "xfd")
41ce9250 4178 (version "1.1.3")
e48e31bc
AK
4179 (source (origin
4180 (method url-fetch)
4181 (uri (string-append
4182 "mirror://xorg/individual/app/xfd-"
4183 version ".tar.bz2"))
4184 (sha256
4185 (base32
41ce9250 4186 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
e48e31bc
AK
4187 (build-system gnu-build-system)
4188 (arguments
e48e31bc
AK
4189 `(#:configure-flags
4190 (list (string-append "--with-appdefaultdir="
5aae77e4 4191 %output ,%app-defaults-dir))))
e48e31bc
AK
4192 (inputs
4193 `(("fontconfig" ,fontconfig)
4194 ("libx11" ,libx11)
4195 ("libxaw" ,libxaw)
4196 ("libxft" ,libxft)
4197 ("libxmu" ,libxmu)
baf1d4e8
BD
4198 ("libxrender" ,libxrender)
4199 ("libxkbfile" ,libxkbfile)))
e48e31bc 4200 (native-inputs
b94a6ca0 4201 `(("gettext" ,gettext-minimal)
e48e31bc
AK
4202 ("pkg-config" ,pkg-config)))
4203 (home-page "https://www.x.org/wiki/")
4204 (synopsis "Display all the characters in an X font")
4205 (description
4206 "XFD (X Font Display) package provides an utility that displays a
4207window containing the name of the font being displayed, a row of command
4208buttons, several lines of text for displaying character metrics, and a grid
4209containing one glyph per cell.")
4210 (license license:x11)))
0f21557c 4211
6eb126c5 4212(define-public xmodmap
9aea24b6 4213 (package
6eb126c5 4214 (name "xmodmap")
2bf50977 4215 (version "1.0.10")
9aea24b6
AE
4216 (source
4217 (origin
4218 (method url-fetch)
4219 (uri (string-append
467ac76d 4220 "mirror://xorg/individual/app/xmodmap-"
9aea24b6
AE
4221 version
4222 ".tar.bz2"))
4223 (sha256
4224 (base32
2bf50977 4225 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
9aea24b6 4226 (build-system gnu-build-system)
6eb126c5 4227 (inputs
6a6db57f 4228 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4229 ("libx11" ,libx11)))
4230 (native-inputs
4231 `(("pkg-config" ,pkg-config)))
2bf50977 4232 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
01bec8a6
AK
4233 (synopsis "Modify keymaps and button mappings on X server")
4234 (description
4235 "Xmodmap is used to display and edit the keyboard modifier map and
4236keymap table that are used by client programs running on X server to
4237convert event keycodes into keysyms. It is usually run from the user's
4238session startup script to configure the keyboard according to personal
4239tastes.")
d385b835 4240 (license license:x11)))
5f1d0fb0
AE
4241
4242
124b7f1e 4243;; no license
6eb126c5 4244;; (define-public xorg-docs
6eb126c5
AE
4245
4246
6eb126c5 4247(define-public xorg-sgml-doctools
9aea24b6 4248 (package
6eb126c5
AE
4249 (name "xorg-sgml-doctools")
4250 (version "1.11")
9aea24b6
AE
4251 (source
4252 (origin
4253 (method url-fetch)
4254 (uri (string-append
d2611ffb 4255 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
9aea24b6
AE
4256 version
4257 ".tar.bz2"))
4258 (sha256
4259 (base32
6eb126c5 4260 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
9aea24b6 4261 (build-system gnu-build-system)
c4c4cc05 4262 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 4263 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4264 (synopsis "Xorg SGML documentation tools")
4265 (description
4266 "This package provides a common set of SGML entities and XML/CSS style
4267sheets used in building/formatting the documentation provided in other
4268Xorg packages. It's typically only needed by people building from
4269source who want to produce formatted documentation from their builds, or
4270those who have installed the HTML version of the documentation, which
4271refers to the included common xorg.css stylesheet.")
d385b835 4272 (license license:x11)))
5f1d0fb0
AE
4273
4274
6eb126c5 4275(define-public xpr
9aea24b6 4276 (package
6eb126c5 4277 (name "xpr")
505a65dc 4278 (version "1.0.5")
9aea24b6
AE
4279 (source
4280 (origin
4281 (method url-fetch)
4282 (uri (string-append
d2611ffb 4283 "mirror://xorg/individual/app/xpr-"
9aea24b6
AE
4284 version
4285 ".tar.bz2"))
4286 (sha256
4287 (base32
505a65dc 4288 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
9aea24b6
AE
4289 (build-system gnu-build-system)
4290 (inputs
6a6db57f 4291 `(("xorgproto" ,xorgproto)
6eb126c5 4292 ("libxmu" ,libxmu)
c4c4cc05
JD
4293 ("libx11" ,libx11)))
4294 (native-inputs
4295 `(("pkg-config" ,pkg-config)))
01497dfe 4296 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4297 (synopsis "Print an X window dump from xwd")
4298 (description
4299 "XPr takes as input a window dump file produced by xwd and formats
4300it for output on various types of printers.")
d385b835 4301 (license license:x11)))
5f1d0fb0
AE
4302
4303
6eb126c5 4304(define-public xprop
9aea24b6 4305 (package
6eb126c5 4306 (name "xprop")
06e3ed5d 4307 (version "1.2.4")
9aea24b6
AE
4308 (source
4309 (origin
4310 (method url-fetch)
4311 (uri (string-append
a1d537b0 4312 "mirror://xorg/individual/app/xprop-"
9aea24b6
AE
4313 version
4314 ".tar.bz2"))
4315 (sha256
4316 (base32
06e3ed5d 4317 "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc"))))
9aea24b6
AE
4318 (build-system gnu-build-system)
4319 (inputs
6a6db57f 4320 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4321 ("libx11" ,libx11)))
4322 (native-inputs
4323 `(("pkg-config" ,pkg-config)))
01497dfe 4324 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4325 (synopsis "Display X server properties")
4326 (description
4327 "xprop is used to display and/or set window and font properties of
4328an X server.")
d385b835 4329 (license license:x11)))
5f1d0fb0
AE
4330
4331
6eb126c5 4332(define-public xrandr
9aea24b6 4333 (package
6eb126c5 4334 (name "xrandr")
1b1c1621 4335 (version "1.5.1")
9aea24b6
AE
4336 (source
4337 (origin
4338 (method url-fetch)
4339 (uri (string-append
eafd33e8 4340 "mirror://xorg/individual/app/xrandr-"
1b1c1621 4341 version ".tar.xz"))
9aea24b6
AE
4342 (sha256
4343 (base32
1b1c1621 4344 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
9aea24b6 4345 (build-system gnu-build-system)
6eb126c5
AE
4346 (inputs
4347 `(("libxrender" ,libxrender)
4348 ("libxrandr" ,libxrandr)
6a6db57f 4349 ("xorgproto" ,xorgproto)
c4c4cc05
JD
4350 ("libx11" ,libx11)))
4351 (native-inputs
4352 `(("pkg-config" ,pkg-config)))
01497dfe 4353 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4354 (synopsis "Command line interface to X RandR extension")
4355 (description
4356 "xrandr - primitive command line interface to X11 Resize, Rotate,
4357and Reflect (RandR) extension.")
d385b835 4358 (license license:x11)))
5f1d0fb0
AE
4359
4360
6eb126c5 4361(define-public xrdb
9aea24b6 4362 (package
6eb126c5 4363 (name "xrdb")
ca1d735c 4364 (version "1.2.0")
9aea24b6
AE
4365 (source
4366 (origin
4367 (method url-fetch)
4368 (uri (string-append
45852503 4369 "mirror://xorg/individual/app/xrdb-"
9aea24b6
AE
4370 version
4371 ".tar.bz2"))
4372 (sha256
4373 (base32
ca1d735c 4374 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
9aea24b6
AE
4375 (build-system gnu-build-system)
4376 (inputs
6eb126c5 4377 `(("libxmu" ,libxmu)
c4c4cc05
JD
4378 ("libx11" ,libx11)))
4379 (native-inputs
4380 `(("pkg-config" ,pkg-config)))
ca1d735c 4381 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
01bec8a6
AK
4382 (synopsis "X server resource database utility")
4383 (description
4384 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4385property on the root window of screen 0, or the SCREEN_RESOURCES
4386property on the root window of any or all screens, or everything
4387combined. You would normally run this program from your X startup
4388file.")
d385b835 4389 (license license:x11)))
5f1d0fb0
AE
4390
4391
6eb126c5 4392(define-public xrefresh
9aea24b6 4393 (package
6eb126c5 4394 (name "xrefresh")
c609ee9f 4395 (version "1.0.6")
9aea24b6
AE
4396 (source
4397 (origin
4398 (method url-fetch)
4399 (uri (string-append
eae74117 4400 "mirror://xorg/individual/app/xrefresh-"
9aea24b6
AE
4401 version
4402 ".tar.bz2"))
4403 (sha256
4404 (base32
c609ee9f 4405 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
9aea24b6
AE
4406 (build-system gnu-build-system)
4407 (inputs
c4c4cc05
JD
4408 `(("libx11" ,libx11)))
4409 (native-inputs
4410 `(("pkg-config" ,pkg-config)))
01497dfe 4411 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4412 (synopsis "Refresh all or part of an X screen")
4413 (description
4414 "Xrefresh is a simple X program that causes all or part of your
4415screen to be repainted. This is useful when system messages have messed
4416up your screen.")
d385b835 4417 (license license:x11)))
5f1d0fb0
AE
4418
4419
6eb126c5 4420(define-public xset
9aea24b6 4421 (package
6eb126c5 4422 (name "xset")
61c70e54 4423 (version "1.2.4")
9aea24b6
AE
4424 (source
4425 (origin
4426 (method url-fetch)
4427 (uri (string-append
0ef700db 4428 "mirror://xorg/individual/app/xset-"
9aea24b6
AE
4429 version
4430 ".tar.bz2"))
4431 (sha256
4432 (base32
61c70e54 4433 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
9aea24b6
AE
4434 (build-system gnu-build-system)
4435 (inputs
6a6db57f 4436 `(("xorgproto" ,xorgproto)
6eb126c5
AE
4437 ("libxmu" ,libxmu)
4438 ("libxext" ,libxext)
c4c4cc05
JD
4439 ("libx11" ,libx11)))
4440 (native-inputs
4441 `(("pkg-config" ,pkg-config)))
01497dfe 4442 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4443 (synopsis "User preference utility for X server")
4444 (description
4445 "XSet is used to set various user preference options of the display.")
d385b835 4446 (license license:x11)))
5f1d0fb0
AE
4447
4448
6eb126c5 4449(define-public xsetroot
9aea24b6 4450 (package
6eb126c5 4451 (name "xsetroot")
fdf5257e 4452 (version "1.1.2")
9aea24b6
AE
4453 (source
4454 (origin
4455 (method url-fetch)
4456 (uri (string-append
61ba0bbf 4457 "mirror://xorg/individual/app/xsetroot-"
9aea24b6
AE
4458 version
4459 ".tar.bz2"))
4460 (sha256
4461 (base32
fdf5257e 4462 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
9aea24b6
AE
4463 (build-system gnu-build-system)
4464 (inputs
6eb126c5
AE
4465 `(("libxmu" ,libxmu)
4466 ("libxcursor" ,libxcursor)
c4c4cc05
JD
4467 ("xbitmaps" ,xbitmaps)))
4468 (native-inputs
4469 `(("pkg-config" ,pkg-config)))
01497dfe 4470 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4471 (synopsis "Root window parameter setting utility for X server")
4472 (description
4473 "XSetRoot allows you to tailor the appearance of the root window on
4474a display running X server.")
d385b835 4475 (license license:x11)))
5f1d0fb0
AE
4476
4477
6eb126c5 4478(define-public xtrans
9aea24b6 4479 (package
6eb126c5 4480 (name "xtrans")
165d7c01 4481 (version "1.4.0")
9aea24b6
AE
4482 (source
4483 (origin
4484 (method url-fetch)
4485 (uri (string-append
75dc8b22 4486 "mirror://xorg/individual/lib/xtrans-"
9aea24b6
AE
4487 version
4488 ".tar.bz2"))
4489 (sha256
4490 (base32
165d7c01 4491 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
9aea24b6 4492 (build-system gnu-build-system)
c4c4cc05 4493 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 4494 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4495 (synopsis "Xorg Network Transport layer library")
4496 (description
4497 "Xtrans is a library of code that is shared among various X packages to
4498handle network protocol transport in a modular fashion, allowing a single
4499place to add new transport types. It is used by the X server, libX11,
4500libICE, the X font server, and related components.")
d385b835 4501 (license license:x11)))
5f1d0fb0
AE
4502
4503
6eb126c5 4504(define-public xvinfo
9aea24b6 4505 (package
6eb126c5 4506 (name "xvinfo")
7bc7eda4 4507 (version "1.1.4")
9aea24b6
AE
4508 (source
4509 (origin
4510 (method url-fetch)
4511 (uri (string-append
9489b6ea 4512 "mirror://xorg/individual/app/xvinfo-"
9aea24b6
AE
4513 version
4514 ".tar.bz2"))
4515 (sha256
4516 (base32
7bc7eda4 4517 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
9aea24b6
AE
4518 (build-system gnu-build-system)
4519 (inputs
6eb126c5
AE
4520 `(("libxext" ,libxext)
4521 ("libxv" ,libxv)
c4c4cc05
JD
4522 ("libx11" ,libx11)))
4523 (native-inputs
4524 `(("pkg-config" ,pkg-config)))
7bc7eda4 4525 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
01bec8a6
AK
4526 (synopsis "Print out X-Video extension adaptor information")
4527 (description
4528 "XVInfo is used to print out the capabilities of any video adaptors
4529associated with the display that are accessible through the X-Video
4530extension.")
d385b835 4531 (license license:x11)))
5f1d0fb0
AE
4532
4533
6eb126c5 4534(define-public xwd
9aea24b6 4535 (package
6eb126c5 4536 (name "xwd")
a4f48cc5 4537 (version "1.0.7")
9aea24b6
AE
4538 (source
4539 (origin
4540 (method url-fetch)
4541 (uri (string-append
b3ba0379 4542 "mirror://xorg/individual/app/xwd-"
9aea24b6
AE
4543 version
4544 ".tar.bz2"))
4545 (sha256
4546 (base32
a4f48cc5 4547 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
9aea24b6
AE
4548 (build-system gnu-build-system)
4549 (inputs
6eb126c5 4550 `(("libxt" ,libxt)
b3ba0379 4551 ("libxkbfile" ,libxkbfile)
6a6db57f 4552 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
4553 (native-inputs
4554 `(("pkg-config" ,pkg-config)))
01497dfe 4555 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4556 (synopsis "Dump current contents of X window or screen to file")
4557 (description
4558 "Xwd is used to store window images in a specially formatted dump
4559file. This file can then be read by various other X utilities for
4560redisplay, printing, editing, formatting, archiving, image processing,
4561etc. The target window is selected by clicking the pointer in the
4562desired window. The keyboard bell is rung once at the beginning of the
217f22d1 4563dump and twice when the dump is completed.")
d385b835 4564 (license license:x11)))
5f1d0fb0
AE
4565
4566
6eb126c5 4567(define-public xwininfo
9aea24b6 4568 (package
6eb126c5 4569 (name "xwininfo")
509551c2 4570 (version "1.1.5")
9aea24b6
AE
4571 (source
4572 (origin
4573 (method url-fetch)
4574 (uri (string-append
5c28dce0 4575 "mirror://xorg/individual/app/xwininfo-"
9aea24b6
AE
4576 version
4577 ".tar.bz2"))
4578 (sha256
4579 (base32
509551c2 4580 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
9aea24b6
AE
4581 (build-system gnu-build-system)
4582 (inputs
c7f99931 4583 `(("libx11" ,libx11)
6a6db57f 4584 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
4585 (native-inputs
4586 `(("pkg-config" ,pkg-config)))
01497dfe 4587 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4588 (synopsis "Window information utility for X server")
4589 (description
4590 "XWinInfo is used to print out information about windows on an X server.
4591Various information is displayed depending on which options are selected.")
d385b835 4592 (license license:x11)))
5f1d0fb0
AE
4593
4594
6eb126c5 4595(define-public xwud
9aea24b6 4596 (package
6eb126c5 4597 (name "xwud")
873ee8a7 4598 (version "1.0.5")
9aea24b6
AE
4599 (source
4600 (origin
4601 (method url-fetch)
4602 (uri (string-append
d2611ffb 4603 "mirror://xorg/individual/app/xwud-"
9aea24b6
AE
4604 version
4605 ".tar.bz2"))
4606 (sha256
4607 (base32
873ee8a7 4608 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
9aea24b6
AE
4609 (build-system gnu-build-system)
4610 (inputs
6a6db57f 4611 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4612 ("libx11" ,libx11)))
4613 (native-inputs
4614 `(("pkg-config" ,pkg-config)))
01497dfe 4615 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4616 (synopsis "Display an X window dump from xwd")
4617 (description
4618 "Xwud is used to display in a window an image saved in a specially
4619formatted dump file, such as produced by xwd.")
d385b835 4620 (license license:x11)))
5f1d0fb0 4621
5fdd1420
FB
4622(define-public xorg-rgb
4623 (package
4624 (name "xorg-rgb")
4625 (version "1.0.6")
4626 (source
4627 (origin
4628 (method url-fetch)
4629 (uri (string-append
4630 "mirror://xorg/individual/app/rgb-"
4631 version
4632 ".tar.bz2"))
4633 (sha256
4634 (base32
4635 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4636 (build-system gnu-build-system)
4637 (inputs
6a6db57f 4638 `(("xorgproto" ,xorgproto)))
5fdd1420
FB
4639 (native-inputs
4640 `(("pkg-config" ,pkg-config)))
9f9c36f5 4641 (home-page "https://www.x.org/wiki/")
5fdd1420
FB
4642 (synopsis "X color name database")
4643 (description
4644 "This package provides the X color name database.")
4645 (license license:x11)))
5f1d0fb0 4646
6eb126c5 4647;; packages of height 1 in the propagated-inputs tree
5f1d0fb0 4648
6eb126c5 4649(define-public fixesproto
9aea24b6 4650 (package
6eb126c5
AE
4651 (name "fixesproto")
4652 (version "5.0")
9aea24b6
AE
4653 (source
4654 (origin
4655 (method url-fetch)
4656 (uri (string-append
d2611ffb 4657 "mirror://xorg/individual/proto/fixesproto-"
9aea24b6
AE
4658 version
4659 ".tar.bz2"))
4660 (sha256
4661 (base32
6eb126c5 4662 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
9aea24b6 4663 (build-system gnu-build-system)
6eb126c5 4664 (propagated-inputs
caf90259 4665 `(("xorgproto" ,xorgproto)))
c4c4cc05 4666 (native-inputs
6eb126c5 4667 `(("pkg-config" ,pkg-config)))
01497dfe 4668 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4669 (synopsis "Xorg FixesProto protocol headers")
4670 (description
4671 "Fixes Extension makes changes to many areas of the protocol to resolve
4672issues raised by application interaction with core protocol mechanisms that
4673cannot be adequately worked around on the client side of the wire.")
89ad4fc6
MB
4674 (license license:x11)
4675 (properties `((superseded . ,xorgproto)))))
6eb126c5 4676
6f52fb63
AE
4677(define-public libxdamage
4678 (package
4679 (name "libxdamage")
b0c1c9b3 4680 (version "1.1.5")
6f52fb63
AE
4681 (source
4682 (origin
4683 (method url-fetch)
4684 (uri (string-append
e18bb480 4685 "mirror://xorg/individual/lib/libXdamage-"
6f52fb63
AE
4686 version
4687 ".tar.bz2"))
4688 (sha256
4689 (base32
b0c1c9b3 4690 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
6f52fb63 4691 (build-system gnu-build-system)
01bec8a6 4692 (propagated-inputs
475992f2 4693 ;; These are all in the Requires or Requires.private field of xdamage.pc
be56161d 4694 `(("libxfixes" ,libxfixes)
6a6db57f 4695 ("xorgproto" ,xorgproto)
c4c4cc05
JD
4696 ("libx11" ,libx11)))
4697 (native-inputs
4698 `(("pkg-config" ,pkg-config)))
01497dfe 4699 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4700 (synopsis "Xorg Damage Extension library")
4701 (description "Xorg library for the XDamage extension.")
6f52fb63
AE
4702 (license license:x11)))
4703
4704
6eb126c5
AE
4705(define-public libxext
4706 (package
4707 (name "libxext")
40916d63 4708 (version "1.3.4")
6eb126c5
AE
4709 (source
4710 (origin
4711 (method url-fetch)
4712 (uri (string-append
ccffa91c 4713 "mirror://xorg/individual/lib/libXext-"
6eb126c5
AE
4714 version
4715 ".tar.bz2"))
4716 (sha256
4717 (base32
40916d63 4718 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
6eb126c5
AE
4719 (build-system gnu-build-system)
4720 (propagated-inputs
caf90259 4721 `(("xorgproto" ,xorgproto)))
6eb126c5
AE
4722 (inputs
4723 `(("libxau" ,libxau)
c4c4cc05
JD
4724 ("libx11" ,libx11)))
4725 (native-inputs
4726 `(("pkg-config" ,pkg-config)))
01497dfe 4727 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4728 (synopsis "Xorg Common extensions library")
4729 (description
4730 "Library for common extensions to the X11 protocol.")
d385b835 4731 (license license:x11)))
5f1d0fb0
AE
4732
4733
6eb126c5 4734(define-public libxinerama
9aea24b6 4735 (package
6eb126c5 4736 (name "libxinerama")
c148559f 4737 (version "1.1.4")
9aea24b6
AE
4738 (source
4739 (origin
4740 (method url-fetch)
4741 (uri (string-append
90466b59 4742 "mirror://xorg/individual/lib/libXinerama-"
9aea24b6
AE
4743 version
4744 ".tar.bz2"))
4745 (sha256
4746 (base32
c148559f 4747 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
9aea24b6 4748 (build-system gnu-build-system)
6eb126c5 4749 (propagated-inputs
ba57d602 4750 `(("xorgproto" ,xorgproto)))
6eb126c5 4751 (inputs
c7f99931 4752 `(("libxext" ,libxext)
c4c4cc05
JD
4753 ("libx11" ,libx11)))
4754 (native-inputs
4755 `(("pkg-config" ,pkg-config)))
01497dfe 4756 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4757 (synopsis "Xorg Xinerama protocol library")
4758 (description "API for Xinerama extension to X11 protocol.")
d385b835 4759 (license license:x11)))
5f1d0fb0
AE
4760
4761
bd8c5d5b
AE
4762(define-public libxp
4763 (package
4764 (name "libxp")
42ca6c85 4765 (version "1.0.3")
bd8c5d5b
AE
4766 (source
4767 (origin
4768 (method url-fetch)
4769 (uri (string-append
4770 "mirror://xorg/individual/lib/libXp-"
4771 version
4772 ".tar.bz2"))
4773 (sha256
4774 (base32
42ca6c85 4775 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
bd8c5d5b
AE
4776 (build-system gnu-build-system)
4777 (propagated-inputs
4778 `(("printproto" ,printproto)))
4779 (inputs
4780 `(("libx11" ,libx11)
c4c4cc05
JD
4781 ("libxext" ,libxext)))
4782 (native-inputs
4783 `(("pkg-config" ,pkg-config)))
01497dfe 4784 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4785 (synopsis "Xorg Print Client library")
4786 (description "Xorg Print Client library.")
bd8c5d5b
AE
4787 (license license:x11)))
4788
4789
6eb126c5 4790(define-public libxrender
9aea24b6 4791 (package
6eb126c5 4792 (name "libxrender")
9eb76bd3 4793 (version "0.9.10")
9aea24b6
AE
4794 (source
4795 (origin
4796 (method url-fetch)
4797 (uri (string-append
59f9bd70 4798 "mirror://xorg/individual/lib/libXrender-"
9aea24b6
AE
4799 version
4800 ".tar.bz2"))
4801 (sha256
4802 (base32
9eb76bd3 4803 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
9aea24b6 4804 (build-system gnu-build-system)
6eb126c5 4805 (propagated-inputs
f579a1d2 4806 `(("xorgproto" ,xorgproto)))
9aea24b6 4807 (inputs
f579a1d2 4808 `(("libx11" ,libx11)))
c4c4cc05
JD
4809 (native-inputs
4810 `(("pkg-config" ,pkg-config)))
01497dfe 4811 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4812 (synopsis "Xorg Render Extension library")
4813 (description "Library for the Render Extension to the X11 protocol.")
d385b835 4814 (license license:x11)))
5f1d0fb0 4815
6eb126c5 4816(define-public libxtst
9aea24b6 4817 (package
6eb126c5 4818 (name "libxtst")
82e6a434 4819 (version "1.2.3")
9aea24b6
AE
4820 (source
4821 (origin
4822 (method url-fetch)
4823 (uri (string-append
223681e7 4824 "mirror://xorg/individual/lib/libXtst-"
9aea24b6
AE
4825 version
4826 ".tar.bz2"))
4827 (sha256
4828 (base32
82e6a434 4829 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
9aea24b6 4830 (build-system gnu-build-system)
6eb126c5 4831 (propagated-inputs
ec89471d
MB
4832 `(("libxi" ,libxi)
4833 ("xorgproto" ,xorgproto)))
9aea24b6 4834 (inputs
ec89471d 4835 `(("libx11" ,libx11)))
c4c4cc05
JD
4836 (native-inputs
4837 `(("pkg-config" ,pkg-config)))
01497dfe 4838 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4839 (synopsis "Xorg library for Xtest and Record extensions")
4840 (description
4841 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4842extensions.
4843
4844The XTEST extension is a minimal set of client and server extensions
4845required to completely test the X11 server with no user intervention. This
4846extension is not intended to support general journaling and playback of user
4847actions.
4848
4849The RECORD extension supports the recording and reporting of all core X
4850protocol and arbitrary X extension protocol.")
d385b835 4851 (license license:x11)))
5f1d0fb0 4852
979bc0f4 4853(define-public libxv
917748dd 4854 (package
979bc0f4 4855 (name "libxv")
62ad5056 4856 (version "1.0.11")
917748dd
AE
4857 (source
4858 (origin
4859 (method url-fetch)
4860 (uri (string-append
88e86ee9 4861 "mirror://xorg/individual/lib/libXv-"
917748dd
AE
4862 version
4863 ".tar.bz2"))
4864 (sha256
4865 (base32
62ad5056 4866 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
917748dd
AE
4867 (build-system gnu-build-system)
4868 (propagated-inputs
205b83ad 4869 `(("xorgproto" ,xorgproto)))
917748dd 4870 (inputs
205b83ad 4871 `(("libxext" ,libxext)
c4c4cc05
JD
4872 ("libx11" ,libx11)))
4873 (native-inputs
4874 `(("pkg-config" ,pkg-config)))
01497dfe 4875 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4876 (synopsis "Xorg XVideo Extension library")
4877 (description "Library for the X Video Extension to the X11 protocol.")
917748dd
AE
4878 (license license:x11)))
4879
6eb126c5
AE
4880(define-public mkfontdir
4881 (package
4882 (name "mkfontdir")
4883 (version "1.0.7")
4884 (source
4885 (origin
4886 (method url-fetch)
4887 (uri (string-append
d2611ffb 4888 "mirror://xorg/individual/app/mkfontdir-"
6eb126c5
AE
4889 version
4890 ".tar.bz2"))
4891 (sha256
4892 (base32
4893 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4894 (build-system gnu-build-system)
84b5d907
AK
4895 (arguments
4896 '(#:phases
4897 (modify-phases %standard-phases
4898 (add-after 'install 'wrap-mkfontdir
4899 (lambda* (#:key inputs outputs #:allow-other-keys)
4900 (wrap-program (string-append (assoc-ref outputs "out")
4901 "/bin/mkfontdir")
4902 `("PATH" ":" prefix
4903 (,(string-append (assoc-ref inputs "mkfontscale")
fa6b87f1
MW
4904 "/bin"))))
4905 #t)))))
84b5d907 4906 (inputs
6eb126c5 4907 `(("mkfontscale" ,mkfontscale)))
c4c4cc05 4908 (native-inputs
6eb126c5 4909 `(("pkg-config" ,pkg-config)))
01497dfe 4910 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4911 (synopsis "Create an index of X font files in a directory")
4912 (description
36a4366d 4913 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
01bec8a6
AK
4914server core font system. The current implementation is a simple wrapper
4915script around the mkfontscale program.")
6eb126c5
AE
4916 (license license:x11)))
4917
9aea24b6
AE
4918(define-public xproto
4919 (package
4920 (name "xproto")
673c0390 4921 (version "7.0.31")
9aea24b6
AE
4922 (source
4923 (origin
4924 (method url-fetch)
4925 (uri (string-append
e876456a 4926 "mirror://xorg/individual/proto/xproto-"
9aea24b6
AE
4927 version
4928 ".tar.bz2"))
4929 (sha256
4930 (base32
673c0390 4931 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
9aea24b6 4932 (build-system gnu-build-system)
6eb126c5
AE
4933 (propagated-inputs
4934 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
c4c4cc05 4935 (native-inputs
6eb126c5 4936 `(("pkg-config" ,pkg-config)))
01497dfe 4937 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4938 (synopsis "Xorg X11Proto protocol headers")
4939 (description
4940 "XProto provides the headers and specification documents defining
4941the X Window System Core Protocol, Version 11.
4942
4943It also includes a number of headers that aren't purely protocol related,
4944but are depended upon by many other X Window System packages to provide
4945common definitions and porting layer.")
6a6db57f
MB
4946 (license license:x11)
4947 (properties `((superseded . ,xorgproto)))))
6eb126c5
AE
4948
4949;; packages of height 2 in the propagated-inputs tree
4950
4951(define-public libice
9aea24b6 4952 (package
6eb126c5 4953 (name "libice")
014d4c14 4954 (version "1.0.10")
9aea24b6
AE
4955 (source
4956 (origin
4957 (method url-fetch)
4958 (uri (string-append
5c2168c8 4959 "mirror://xorg/individual/lib/libICE-"
9aea24b6
AE
4960 version
4961 ".tar.bz2"))
4962 (sha256
4963 (base32
014d4c14 4964 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
9aea24b6 4965 (build-system gnu-build-system)
6eb126c5 4966 (propagated-inputs
6a6db57f 4967 `(("xorgproto" ,xorgproto)))
9aea24b6 4968 (inputs
5eda3d82
LF
4969 `(("libbsd" ,libbsd)
4970 ("xtrans" ,xtrans)))
c4c4cc05
JD
4971 (native-inputs
4972 `(("pkg-config" ,pkg-config)))
01497dfe 4973 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4974 (synopsis "Xorg Inter-Client Exchange library")
4975 (description "Xorg Inter-Client Exchange library.")
d385b835 4976 (license license:x11)))
5f1d0fb0
AE
4977
4978
6eb126c5 4979(define-public libxau
9aea24b6 4980 (package
6eb126c5 4981 (name "libxau")
4e546e54 4982 (version "1.0.9")
9aea24b6
AE
4983 (source
4984 (origin
4985 (method url-fetch)
4986 (uri (string-append
fda2ebe7 4987 "mirror://xorg/individual/lib/libXau-"
9aea24b6
AE
4988 version
4989 ".tar.bz2"))
4990 (sha256
4991 (base32
4e546e54 4992 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
9aea24b6 4993 (build-system gnu-build-system)
6eb126c5 4994 (propagated-inputs
6a6db57f 4995 `(("xorgproto" ,xorgproto)))
c4c4cc05 4996 (native-inputs
6eb126c5 4997 `(("pkg-config" ,pkg-config)))
01497dfe 4998 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4999 (synopsis "Xorg Authorization library")
5000 (description
5001 "libXau provides an authorization library for individual access to
5002an X Window System display.")
d385b835 5003 (license license:x11)))
5f1d0fb0 5004
6eb126c5 5005(define-public libxfixes
9aea24b6 5006 (package
6eb126c5 5007 (name "libxfixes")
3e1ed70f 5008 (version "5.0.3")
9aea24b6
AE
5009 (source
5010 (origin
5011 (method url-fetch)
5012 (uri (string-append
b05752db 5013 "mirror://xorg/individual/lib/libXfixes-"
9aea24b6
AE
5014 version
5015 ".tar.bz2"))
5016 (sha256
5017 (base32
3e1ed70f 5018 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
9aea24b6 5019 (build-system gnu-build-system)
6eb126c5 5020 (propagated-inputs
89ad4fc6 5021 `(("xorgproto" ,xorgproto)))
9aea24b6 5022 (inputs
89ad4fc6 5023 `(("libx11" ,libx11)))
c4c4cc05
JD
5024 (native-inputs
5025 `(("pkg-config" ,pkg-config)))
01497dfe 5026 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5027 (synopsis "Xorg Fixes Extension library")
5028 (description "Library for the XFixes Extension to the X11 protocol.")
d385b835 5029 (license license:x11)))
5f1d0fb0 5030
6eb126c5 5031(define-public libxfont
9aea24b6 5032 (package
6eb126c5 5033 (name "libxfont")
b3e53aae 5034 (version "1.5.4")
9aea24b6
AE
5035 (source
5036 (origin
5037 (method url-fetch)
5038 (uri (string-append
e5392784 5039 "mirror://xorg/individual/lib/libXfont-"
9aea24b6
AE
5040 version
5041 ".tar.bz2"))
5042 (sha256
5043 (base32
b3e53aae 5044 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
9aea24b6 5045 (build-system gnu-build-system)
6eb126c5 5046 (propagated-inputs
b4d7aef5 5047 `(("freetype" ,freetype)
6eb126c5 5048 ("libfontenc" ,libfontenc)
6a6db57f 5049 ("xorgproto" ,xorgproto)))
9aea24b6 5050 (inputs
6eb126c5 5051 `(("zlib" ,zlib)
c4c4cc05
JD
5052 ("xtrans" ,xtrans)))
5053 (native-inputs
5054 `(("pkg-config" ,pkg-config)))
01497dfe 5055 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5056 (synopsis "Xorg Font handling library")
5057 (description
5058 "libXfont provides the core of the legacy X11 font system, handling the
5059index files (fonts.dir, fonts.alias, fonts.scale), the various font file
5060formats, and rasterizing them. It is used by the X servers, the X Font
5061Server (xfs), and some font utilities (bdftopcf for instance), but should
5062not be used by normal X11 clients. X11 clients access fonts via either the
5063new API's in libXft, or the legacy API's in libX11.")
84419dfd
AE
5064 (license license:x11)))
5065
404e48c4
MB
5066(define-public libxfont2
5067 (package
5068 (inherit libxfont)
e3fa0981 5069 (version "2.0.4")
404e48c4
MB
5070 (source (origin
5071 (method url-fetch)
5072 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
5073 version ".tar.bz2"))
5074 (sha256
5075 (base32
e3fa0981 5076 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
565e24c4 5077
84419dfd
AE
5078(define-public libxi
5079 (package
5080 (name "libxi")
78b036dd 5081 (version "1.7.10")
84419dfd
AE
5082 (source
5083 (origin
5084 (method url-fetch)
5085 (uri (string-append
2b8172c4 5086 "mirror://xorg/individual/lib/libXi-"
84419dfd
AE
5087 version
5088 ".tar.bz2"))
5089 (sha256
5090 (base32
78b036dd 5091 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
84419dfd
AE
5092 (build-system gnu-build-system)
5093 (propagated-inputs
82b4d9ec 5094 `(("xorgproto" ,xorgproto)
a459697e 5095 ("libx11" ,libx11)
2b8172c4
MW
5096 ("libxext" ,libxext)
5097 ("libxfixes" ,libxfixes)))
c4c4cc05
JD
5098 (native-inputs
5099 `(("pkg-config" ,pkg-config)))
01497dfe 5100 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5101 (synopsis "Xorg Input Extension library")
5102 (description "Library for the XInput Extension to the X11 protocol.")
d385b835 5103 (license license:x11)))
5f1d0fb0 5104
6eb126c5 5105(define-public libxrandr
9aea24b6 5106 (package
6eb126c5 5107 (name "libxrandr")
7dad1cce 5108 (version "1.5.2")
9aea24b6
AE
5109 (source
5110 (origin
5111 (method url-fetch)
5112 (uri (string-append
728a4f20 5113 "mirror://xorg/individual/lib/libXrandr-"
9aea24b6
AE
5114 version
5115 ".tar.bz2"))
5116 (sha256
5117 (base32
7dad1cce 5118 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
9aea24b6 5119 (build-system gnu-build-system)
6eb126c5 5120 (propagated-inputs
0ff5e9e2
TUBK
5121 ;; In accordance with xrandr.pc.
5122 `(("libx11" ,libx11)
5123 ("libxext" ,libxext)
5124 ("libxrender" ,libxrender)
6a6db57f 5125 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
5126 (native-inputs
5127 `(("pkg-config" ,pkg-config)))
01497dfe 5128 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5129 (synopsis "Xorg Resize and Rotate Extension library")
5130 (description
5131 "Library for the Resize and Rotate Extension to the X11 protocol.")
979bc0f4
AE
5132 (license license:x11)))
5133
979bc0f4
AE
5134(define-public libxvmc
5135 (package
5136 (name "libxvmc")
c4220afb 5137 (version "1.0.12")
979bc0f4
AE
5138 (source
5139 (origin
5140 (method url-fetch)
5141 (uri (string-append
8dc29fd1 5142 "mirror://xorg/individual/lib/libXvMC-"
979bc0f4
AE
5143 version
5144 ".tar.bz2"))
5145 (sha256
5146 (base32
c4220afb 5147 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
979bc0f4
AE
5148 (build-system gnu-build-system)
5149 (propagated-inputs
5150 `(("libxv" ,libxv)))
5151 (inputs
6a6db57f 5152 `(("xorgproto" ,xorgproto)
979bc0f4 5153 ("libxext" ,libxext)
c4c4cc05
JD
5154 ("libx11" ,libx11)))
5155 (native-inputs
5156 `(("pkg-config" ,pkg-config)))
01497dfe 5157 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5158 (synopsis "Xorg XvMC library")
5159 (description "Xorg XvMC library.")
47038b76
AE
5160 (license license:x11)))
5161
47038b76
AE
5162(define-public libxxf86vm
5163 (package
5164 (name "libxxf86vm")
7606baa8 5165 (version "1.1.4")
47038b76
AE
5166 (source
5167 (origin
5168 (method url-fetch)
5169 (uri (string-append
81f7096b 5170 "mirror://xorg/individual/lib/libXxf86vm-"
47038b76
AE
5171 version
5172 ".tar.bz2"))
5173 (sha256
5174 (base32
7606baa8 5175 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
47038b76
AE
5176 (build-system gnu-build-system)
5177 (propagated-inputs
5178 `(("libxext" ,libxext)
5b6f1be7 5179 ("xorgproto" ,xorgproto)))
47038b76 5180 (inputs
c4c4cc05
JD
5181 `(("libx11" ,libx11)))
5182 (native-inputs
5183 `(("pkg-config" ,pkg-config)))
01497dfe 5184 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5185 (synopsis "Xorg XF86 Video Mode Extension library")
5186 (description
5187 "Library for the XFree86 Video Mode Extension Extension to the X11
5188protocol.")
d385b835 5189 (license license:x11)))
5f1d0fb0
AE
5190
5191
3a5d9585
AE
5192;; packages of height 3 in the propagated-inputs tree
5193
5194(define-public libxcb
5195 (package
5196 (name "libxcb")
236b7aed 5197 (version "1.13")
3a5d9585
AE
5198 (source
5199 (origin
5200 (method url-fetch)
2f7b4749 5201 (uri (string-append "https://xcb.freedesktop.org/dist/"
4a51d759 5202 "libxcb-" version ".tar.bz2"))
3a5d9585
AE
5203 (sha256
5204 (base32
236b7aed 5205 "1ahxhmdqp4bhb90zmc275rmf5wixqra4bnw9pqnzyl1w3598g30q"))))
3a5d9585
AE
5206 (build-system gnu-build-system)
5207 (propagated-inputs
5208 `(("libpthread-stubs" ,libpthread-stubs)
5209 ("libxau" ,libxau)
5210 ("libxdmcp" ,libxdmcp)))
5211 (inputs
5212 `(("xcb-proto" ,xcb-proto)
c4c4cc05
JD
5213 ("libxslt" ,libxslt)))
5214 (native-inputs
5215 `(("pkg-config" ,pkg-config)
95288fcc 5216 ("python" ,python-minimal-wrapper)))
c8957c77
AE
5217 (arguments
5218 `(#:configure-flags '("--enable-xkb")))
2f7b4749 5219 (home-page "https://xcb.freedesktop.org/")
01bec8a6
AK
5220 (synopsis "The X C Binding (XCB) library")
5221 (description
5222 "libxcb provides an interface to the X Window System protocol,
5223which replaces the current Xlib interface. It has several advantages
5224over Xlib, including:
5225
5226- size: small, simple library, and lower memory footprint;
5227
5228- latency hiding: batch several requests and wait for the replies later;
5229
5230- direct protocol access: interface and protocol correspond exactly;
5231
5232- proven thread support: transparently access XCB from multiple threads;
5233
5234- easy extension implementation: interfaces auto-generated from XML-XCB.")
3a5d9585
AE
5235 (license license:x11)))
5236
5237
b04ac5a1
AE
5238(define-public xorg-server
5239 (package
5240 (name "xorg-server")
37f44547 5241 (version "1.20.7")
b04ac5a1
AE
5242 (source
5243 (origin
5244 (method url-fetch)
5245 (uri (string-append
073cd609 5246 "mirror://xorg/individual/xserver/"
cb505b27 5247 "xorg-server-" version ".tar.bz2"))
b04ac5a1 5248 (sha256
073cd609 5249 (base32
37f44547 5250 "18bfl04ihw1jr3h0fs522nnxxq5ixjay77y9dcymnkzk23q8cndx"))
ab104672 5251 (patches
a35532f5 5252 (list
c68c201f
AW
5253 ;; See:
5254 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5255 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5256 (origin
5257 (method url-fetch)
5258 (uri (string-append
5259 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5260 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5261 (sha256
5262 (base32
5263 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
88c54b1b 5264 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
b04ac5a1
AE
5265 (build-system gnu-build-system)
5266 (propagated-inputs
0e540ac1 5267 `(("libpciaccess" ,libpciaccess)
073cd609 5268 ("mesa" ,mesa)
b04ac5a1 5269 ("pixman" ,pixman)
6a6db57f 5270 ("xorgproto" ,xorgproto)))
b04ac5a1 5271 (inputs
be56161d 5272 `(("udev" ,eudev)
b04ac5a1 5273 ("dbus" ,dbus)
b04ac5a1 5274 ("libdmx" ,libdmx)
27e982e0 5275 ("libepoxy" ,libepoxy)
2365338b 5276 ("libgcrypt" ,libgcrypt)
b04ac5a1
AE
5277 ("libxau" ,libxau)
5278 ("libxaw" ,libxaw)
5279 ("libxdmcp" ,libxdmcp)
b04ac5a1 5280 ("libxfixes" ,libxfixes)
27e982e0 5281 ("libxfont2" ,libxfont2)
b04ac5a1 5282 ("libxkbfile" ,libxkbfile)
b04ac5a1
AE
5283 ("libxrender" ,libxrender)
5284 ("libxres" ,libxres)
073cd609 5285 ("libxshmfence" ,libxshmfence)
b04ac5a1
AE
5286 ("libxt" ,libxt)
5287 ("libxv" ,libxv)
2365338b
AE
5288 ("xkbcomp" ,xkbcomp)
5289 ("xkeyboard-config" ,xkeyboard-config)
b04ac5a1 5290 ("xtrans" ,xtrans)
324caeb1
DC
5291 ("zlib" ,zlib)
5292 ;; Inputs for Xephyr
5293 ("xcb-util" ,xcb-util)
5294 ("xcb-util-image" ,xcb-util-image)
5295 ("xcb-util-keysyms" ,xcb-util-keysyms)
5296 ("xcb-util-renderutil" ,xcb-util-renderutil)
5297 ("xcb-util-wm" ,xcb-util-wm)))
c4c4cc05 5298 (native-inputs
636fb7cb
MB
5299 `(("python" ,python-wrapper)
5300 ("pkg-config" ,pkg-config)))
2365338b 5301 (arguments
13c9acbf
FB
5302 `(#:parallel-tests? #f
5303 #:configure-flags
2365338b
AE
5304 (list (string-append "--with-xkb-path="
5305 (assoc-ref %build-inputs "xkeyboard-config")
5306 "/share/X11/xkb")
5307 (string-append "--with-xkb-output="
5308 "/tmp") ; FIXME: This is a bit doubtful; where should
5309 ; the compiled keyboard maps go?
5310 (string-append "--with-xkb-bin-directory="
5311 (assoc-ref %build-inputs "xkbcomp")
e420308f 5312 "/bin")
b5b5105c
SB
5313 ;; By default, it ends up with invalid '${prefix}/...', causes:
5314 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5315 ;; It's not used anyway, so set it to empty.
5316 "--with-default-font-path="
5317
c2eb8cd9
LC
5318 ;; The default is to use "uname -srm", which captures the kernel
5319 ;; version and makes builds non-reproducible.
5320 "--with-os-name=GNU"
5321
5322 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5323
e420308f
LC
5324
5325 ;; For the log file, etc.
324caeb1
DC
5326 "--localstatedir=/var"
5327 ;; For sddm
5328 "--enable-kdrive"
5329 "--enable-xephyr")
073cd609 5330
10cd39d1
MB
5331 #:phases
5332 (modify-phases %standard-phases
c2eb8cd9
LC
5333 (add-before 'configure 'pre-configure
5334 (lambda _
5335 (substitute* (find-files "." "\\.c$")
5336 (("/bin/sh") (which "sh")))
5337
5338 ;; Don't try to 'mkdir /var'.
5339 (substitute* "hw/xfree86/Makefile.in"
5340 (("\\$\\(MKDIR_P\\).*logdir.*")
5341 "true\n"))
5342
5343 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5344 ;; binary.
5345 (substitute* "configure"
5346 (("^BUILD_DATE=.*$")
5347 "BUILD_DATE=19700101\n")
5348 (("^BUILD_TIME=.*$")
5349 "BUILD_TIME=000001\n"))
5350
5351 #t)))))
01497dfe 5352 (home-page "https://www.x.org/wiki/")
35b9e423 5353 (synopsis "Xorg implementation of the X Window System")
01bec8a6
AK
5354 (description
5355 "This package provides the Xorg X server itself.
5356The X server accepts requests from client programs to create windows, which
5357are (normally rectangular) 'virtual screens' that the client program can
5358draw into.
5359
5360Windows are then composed on the actual screen by the X server (or by a
5361separate composite manager) as directed by the window manager, which usually
5362communicates with the user via graphical controls such as buttons and
5363draggable titlebars and borders.")
b04ac5a1
AE
5364 (license license:x11)))
5365
1f49cd54 5366;; This package is intended to be used when building GTK+.
fc0ed8c9
MB
5367;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5368;; packages with the same name and version.
60ecc10f 5369(define-public xorg-server-for-tests
fc0ed8c9
MB
5370 (hidden-package
5371 (package
38ae96e9
MB
5372 (inherit xorg-server)
5373 (version "1.20.5")
5374 (source (origin
5375 (inherit (package-source xorg-server))
5376 (uri (string-append
5377 "mirror://xorg/individual/xserver/"
5378 "xorg-server-" version ".tar.bz2"))
5379 (sha256
5380 (base32
5381 "17dc3g8cc55nbkx3np64dsz04n621dnzjmcc9wys0xbyyd1q47d8")))))))
da79e82b 5382
dfe05a51
DC
5383(define-public xorg-server-xwayland
5384 (package
5385 (inherit xorg-server)
5386 (name "xorg-server-xwayland")
5387 (inputs
ac7a8f1f
EF
5388 `(("wayland" ,wayland)
5389 ("wayland-protocols" ,wayland-protocols)
dfe05a51
DC
5390 ,@(package-inputs xorg-server)))
5391 (arguments
5392 (substitute-keyword-arguments (package-arguments xorg-server)
5393 ((#:configure-flags flags)
5394 `(cons* "--enable-xwayland" "--disable-xorg"
5395 "--disable-docs" "--disable-devel-docs"
5396 "--disable-xvfb" "--disable-xnest"
5397 "--disable-xquartz" "--disable-xwin"
5398 ,flags))))
5399 (synopsis "Xorg server with wayland backend")))
b04ac5a1 5400
6eb126c5 5401
6eb126c5
AE
5402;; packages of height 4 in the propagated-inputs tree
5403
5404(define-public libx11
9aea24b6 5405 (package
6eb126c5 5406 (name "libx11")
74c1c8da 5407 (version "1.6.8")
9aea24b6
AE
5408 (source
5409 (origin
5410 (method url-fetch)
5411 (uri (string-append
075e9a11 5412 "mirror://xorg/individual/lib/libX11-"
9aea24b6
AE
5413 version
5414 ".tar.bz2"))
5415 (sha256
5416 (base32
74c1c8da 5417 "1mbkwhhprhf49s2iwx7kiliprsdvd690zk44x3h53ql9q52si2dj"))))
9aea24b6 5418 (build-system gnu-build-system)
bac48184
LC
5419 (outputs '("out"
5420 "doc")) ;8 MiB of man pages + XML
5421 (arguments
5422 '(#:configure-flags (list (string-append "--mandir="
5423 (assoc-ref %outputs "doc")
5424 "/share/man"))))
6eb126c5 5425 (propagated-inputs
2d030098 5426 `(("xorgproto" ,xorgproto)
6eb126c5 5427 ("libxcb" ,libxcb)))
9aea24b6 5428 (inputs
82b4d9ec 5429 `(("xtrans" ,xtrans)))
c4c4cc05
JD
5430 (native-inputs
5431 `(("pkg-config" ,pkg-config)))
01497dfe 5432 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5433 (synopsis "Xorg Core X11 protocol client library")
5434 (description "Xorg Core X11 protocol client library.")
d385b835 5435 (license license:x11)))
5f1d0fb0 5436
6eb126c5
AE
5437;; packages of height 5 in the propagated-inputs tree
5438
5439(define-public libxcursor
9aea24b6 5440 (package
6eb126c5 5441 (name "libxcursor")
e1c61029 5442 (version "1.2.0")
9aea24b6
AE
5443 (source
5444 (origin
5445 (method url-fetch)
5446 (uri (string-append
cec79ce6 5447 "mirror://xorg/individual/lib/libXcursor-"
9aea24b6
AE
5448 version
5449 ".tar.bz2"))
5450 (sha256
5451 (base32
e1c61029 5452 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
9aea24b6 5453 (build-system gnu-build-system)
6eb126c5
AE
5454 (propagated-inputs
5455 `(("libx11" ,libx11)
5456 ("libxrender" ,libxrender)
5457 ("libxfixes" ,libxfixes)
6a6db57f 5458 ("xorgproto" ,xorgproto)))
c4c4cc05 5459 (native-inputs
c7f99931 5460 `(("pkg-config" ,pkg-config)))
ce380150
TD
5461;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so
5462;; libXcursor finds cursors installed into a profile. If we solve bugs
5463;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix
5464;; this with a search-path as follows:
5465;;
5466;; (native-search-paths
5467;; (list (search-path-specification
5468;; (variable "XCURSOR_PATH")
5469;; (files '("share/icons")))))
01497dfe 5470 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5471 (synopsis "Xorg Cursor management library")
5472 (description "Xorg Cursor management library.")
d385b835 5473 (license license:x11)))
5f1d0fb0 5474
6eb126c5 5475(define-public libxt
9aea24b6 5476 (package
6eb126c5 5477 (name "libxt")
5ab605b9 5478 (version "1.2.0")
9aea24b6
AE
5479 (source
5480 (origin
5481 (method url-fetch)
5482 (uri (string-append
4fde7d34 5483 "mirror://xorg/individual/lib/libXt-"
9aea24b6
AE
5484 version
5485 ".tar.bz2"))
5486 (sha256
5487 (base32
5ab605b9 5488 "0cbqlyssr8aia88c8i7z59z9d0kp3p2hp6683xhz9ndyv8qza7dk"))
54d8d0fe 5489 (patches (search-patches "libxt-guix-search-paths.patch"))))
9aea24b6 5490 (build-system gnu-build-system)
a1d5a6f9
LC
5491 (outputs '("out"
5492 "doc")) ;2 MiB of man pages + XML
5493 (arguments
5494 '(#:configure-flags (list (string-append "--mandir="
5495 (assoc-ref %outputs "doc")
5496 "/share/man"))))
6eb126c5
AE
5497 (propagated-inputs
5498 `(("libx11" ,libx11)
5499 ("libice" ,libice)
5500 ("libsm" ,libsm)))
9aea24b6 5501 (inputs
c4c4cc05
JD
5502 `(("libx11" ,libx11)))
5503 (native-inputs
5504 `(("pkg-config" ,pkg-config)))
01497dfe 5505 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5506 (synopsis "Xorg XToolkit Intrinsics library")
5507 (description "Xorg XToolkit Intrinsics library.")
d385b835 5508 (license license:x11)))
6eb126c5
AE
5509
5510
baa0d82a
LC
5511(define-public libxaw
5512 (package
5513 (name "libxaw")
d0a6437f 5514 (version "1.0.13")
baa0d82a
LC
5515 (source
5516 (origin
5517 (method url-fetch)
5518 (uri (string-append
66e0147e 5519 "mirror://xorg/individual/lib/libXaw-"
baa0d82a
LC
5520 version
5521 ".tar.bz2"))
5522 (sha256
5523 (base32
d0a6437f 5524 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
baa0d82a
LC
5525 (build-system gnu-build-system)
5526 (propagated-inputs
5527 `(("libxext" ,libxext)
5528 ("libxmu" ,libxmu)
5529 ("libxpm" ,libxpm)
5530 ("libxt" ,libxt)))
5531 (inputs
6a6db57f 5532 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
5533 (native-inputs
5534 `(("pkg-config" ,pkg-config)))
01497dfe 5535 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5536 (synopsis "Xorg Xaw library")
5537 (description
5538 "Xaw is the X Athena Widget Set based on the X Toolkit
5539Intrinsics (Xt) Library.")
baa0d82a 5540 (license license:x11)))
dcc9053a 5541
60bc3006
JD
5542(define-public twm
5543 (package
5544 (name "twm")
b5ebc1bf 5545 (version "1.0.10")
60bc3006
JD
5546 (source
5547 (origin
5548 (method url-fetch)
5549 (uri (string-append
5550 "mirror://xorg/individual/app/" name "-"
5551 version
b5ebc1bf 5552 ".tar.bz2"))
60bc3006
JD
5553 (sha256
5554 (base32
b5ebc1bf 5555 "1ms5cj1w3g26zg6bxdv1j9hl0pxr4300qnv003cz1q3cl7ffljb4"))))
60bc3006
JD
5556 (build-system gnu-build-system)
5557 (inputs
5558 `(("libxt" ,libxt)
5559 ("libxmu" ,libxmu)
5560 ("libxext" ,libxext)
6a6db57f 5561 ("xorgproto" ,xorgproto)))
60bc3006
JD
5562 (native-inputs
5563 `(("bison" ,bison)
5564 ("pkg-config" ,pkg-config)))
5565 (home-page "https://www.x.org/wiki/")
5566 (synopsis "Tab Window Manager for the X Window System")
5567 (description "Twm is a window manager for the X Window System.
5568It provides titlebars, shaped windows, several forms of icon management,
5569user-defined macro functions, click-to-type and pointer-driven
5570keyboard focus, and user-specified key and pointer button bindings.")
5571 (license license:x11)))
dcc9053a 5572
458b2a76
AE
5573(define-public xcb-util
5574 (package
5575 (name "xcb-util")
01400dd6 5576 (version "0.4.0")
458b2a76
AE
5577 (source (origin
5578 (method url-fetch)
d2611ffb
MW
5579 (uri (string-append "mirror://xorg/individual/xcb/"
5580 name "-" version ".tar.bz2"))
458b2a76
AE
5581 (sha256
5582 (base32
01400dd6 5583 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
458b2a76
AE
5584 (build-system gnu-build-system)
5585 (propagated-inputs
5586 `(("libxcb" ,libxcb)))
c4c4cc05 5587 (native-inputs
458b2a76 5588 `(("pkg-config" ,pkg-config)))
01497dfe 5589 (home-page "https://cgit.freedesktop.org/xcb/util/")
458b2a76 5590 (synopsis "Core XCB utility functions")
01bec8a6
AK
5591 (description
5592 "The XCB util module provides a number of libraries which sit on
5593top of libxcb, the core X protocol library, and some of the extension
5594libraries. These experimental libraries provide convenience functions
5595and interfaces which make the raw X protocol more usable. Some of the
5596libraries also provide client-side code which is not strictly part of
458b2a76
AE
5597the X protocol but which has traditionally been provided by Xlib.
5598
5599The XCB util module provides the following libraries:
01bec8a6
AK
5600
5601- aux: Convenient access to connection setup and some core requests.
5602
5603- atom: Standard core X atom constants and atom caching.
5604
5605- event: Some utilities that have little to do with events any more.")
458b2a76
AE
5606 (license license:x11)))
5607
5608
94a3d8fd
ED
5609(define-public xcb-util-cursor
5610 (package
5611 (name "xcb-util-cursor")
2657fb63 5612 (version "0.1.3")
94a3d8fd
ED
5613 (source (origin
5614 (method url-fetch)
5cc3096c 5615 (uri (string-append "https://xcb.freedesktop.org/dist/"
2657fb63 5616 "xcb-util-cursor-" version ".tar.bz2"))
94a3d8fd
ED
5617 (sha256
5618 (base32
2657fb63 5619 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
94a3d8fd
ED
5620 (build-system gnu-build-system)
5621 (native-inputs
5622 `(("m4" ,m4)
5623 ("pkg-config" ,pkg-config)))
5624 (inputs
81f4f105
LF
5625 `(("libxcb" ,libxcb)))
5626 (propagated-inputs
5627 `(("xcb-util-renderutil" ,xcb-util-renderutil)
94a3d8fd 5628 ("xcb-util-image" ,xcb-util-image)))
01497dfe 5629 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
94a3d8fd
ED
5630 (synopsis "Port of libxcursor")
5631 (description "XCB-util-cursor is a port of libxcursor.")
5632 (license
5633 ; expat license with added clause regarding advertising
5634 (license:non-copyleft
5635 "file://COPYING"
5636 "See COPYING in the distribution."))))
5637
158c02df
SS
5638(define-public xcb-util-errors
5639 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5640 (revision "1"))
5641 (package
5642 (name "xcb-util-errors")
5643 (version (git-version "1.0" revision commit))
5644 (source (origin
5645 (method git-fetch)
5646 (uri (git-reference
5647 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5648 (commit commit)
5649 (recursive? #t)))
5650 (file-name (git-file-name name version))
5651 (sha256
5652 (base32
5653 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5654 (build-system gnu-build-system)
5655 (outputs '("out"))
5656 (inputs
5657 `(("util-macros" ,util-macros)
5658 ("xcb-proto" ,xcb-proto)))
5659 (propagated-inputs
5660 `(("libxcb" ,libxcb)))
5661 (native-inputs
5662 `(("autoconf" ,autoconf)
5663 ("automake" ,automake)
5664 ("libtool" ,libtool)
5665 ("python-2" ,python-2)
5666 ("pkg-config" ,pkg-config)))
5667 (arguments
5668 `(#:phases
5669 (modify-phases %standard-phases
5670 (replace 'bootstrap
5671 (lambda _
5672 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5673 ;; would try to run ./configure and fail due to unpatched
5674 ;; shebangs.
5675 (invoke "autoreconf" "-v" "--install"))))))
5676 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5677 (synopsis "XCB helper library for printing information about X11 errors")
5678 (description
5679 "The XCB util module provides a number of libraries which sit on
5680top of libxcb, the core X protocol library, and some of the extension
5681libraries. These experimental libraries provide convenience functions
5682and interfaces which make the raw X protocol more usable. Some of the
5683libraries also provide client-side code which is not strictly part of
5684the X protocol but which has traditionally been provided by Xlib.
5685
5686The XCB util-errors module provides a utility library that gives human
5687readable names to error codes, event codes, and also to major and minor
5688numbers.")
5689 (license license:x11))))
94a3d8fd 5690
dfba4055
AE
5691(define-public xcb-util-image
5692 (package
5693 (name "xcb-util-image")
6639292d 5694 (version "0.4.0")
dfba4055
AE
5695 (source (origin
5696 (method url-fetch)
d2611ffb
MW
5697 (uri (string-append "mirror://xorg/individual/xcb/"
5698 name "-" version ".tar.bz2"))
dfba4055
AE
5699 (sha256
5700 (base32
6639292d 5701 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
dfba4055
AE
5702 (build-system gnu-build-system)
5703 (propagated-inputs
5704 `(("libxcb" ,libxcb)))
5705 (inputs
c4c4cc05
JD
5706 `(("xcb-util" ,xcb-util)))
5707 (native-inputs
5708 `(("pkg-config" ,pkg-config)))
01497dfe 5709 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
dfba4055 5710 (synopsis "XCB port of Xlib's XImage and XShmImage")
01bec8a6
AK
5711 (description
5712 "The XCB util module provides a number of libraries which sit on
5713top of libxcb, the core X protocol library, and some of the extension
5714libraries. These experimental libraries provide convenience functions
5715and interfaces which make the raw X protocol more usable. Some of the
5716libraries also provide client-side code which is not strictly part of
dfba4055
AE
5717the X protocol but which has traditionally been provided by Xlib.
5718
5719The XCB util-image module provides the following library:
01bec8a6
AK
5720
5721- image: Port of Xlib's XImage and XShmImage functions.")
dfba4055
AE
5722 (license license:x11)))
5723
5724
f5bf403c
AE
5725(define-public xcb-util-keysyms
5726 (package
5727 (name "xcb-util-keysyms")
60ac75cd 5728 (version "0.4.0")
f5bf403c
AE
5729 (source (origin
5730 (method url-fetch)
d2611ffb
MW
5731 (uri (string-append "mirror://xorg/individual/xcb/"
5732 name "-" version ".tar.bz2"))
f5bf403c
AE
5733 (sha256
5734 (base32
60ac75cd 5735 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
f5bf403c
AE
5736 (build-system gnu-build-system)
5737 (propagated-inputs
5738 `(("libxcb" ,libxcb)))
c4c4cc05 5739 (native-inputs
f5bf403c 5740 `(("pkg-config" ,pkg-config)))
01497dfe 5741 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
f5bf403c 5742 (synopsis "Standard X constants and conversion to/from keycodes")
01bec8a6
AK
5743 (description
5744 "The XCB util module provides a number of libraries which sit on
5745top of libxcb, the core X protocol library, and some of the extension
5746libraries. These experimental libraries provide convenience functions
5747and interfaces which make the raw X protocol more usable. Some of the
5748libraries also provide client-side code which is not strictly part of
f5bf403c
AE
5749the X protocol but which has traditionally been provided by Xlib.
5750
5751The XCB util-keysyms module provides the following library:
01bec8a6
AK
5752
5753- keysyms: Standard X key constants and conversion to/from keycodes.")
f5bf403c
AE
5754 (license license:x11)))
5755
5756
1fd96c6a
AE
5757(define-public xcb-util-renderutil
5758 (package
5759 (name "xcb-util-renderutil")
c736bc94 5760 (version "0.3.9")
1fd96c6a
AE
5761 (source (origin
5762 (method url-fetch)
d2611ffb
MW
5763 (uri (string-append "mirror://xorg/individual/xcb/"
5764 name "-" version ".tar.bz2"))
1fd96c6a
AE
5765 (sha256
5766 (base32
c736bc94 5767 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
1fd96c6a
AE
5768 (build-system gnu-build-system)
5769 (propagated-inputs
5770 `(("libxcb" ,libxcb)))
c4c4cc05 5771 (native-inputs
1fd96c6a 5772 `(("pkg-config" ,pkg-config)))
01497dfe 5773 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
01bec8a6
AK
5774 (synopsis "Convenience functions for the Render extension")
5775 (description
5776 "The XCB util module provides a number of libraries which sit on
5777top of libxcb, the core X protocol library, and some of the extension
5778libraries. These experimental libraries provide convenience functions
5779and interfaces which make the raw X protocol more usable. Some of the
5780libraries also provide client-side code which is not strictly part of
1fd96c6a
AE
5781the X protocol but which has traditionally been provided by Xlib.
5782
5783The XCB util-renderutil module provides the following library:
01bec8a6
AK
5784
5785- renderutil: Convenience functions for the Render extension.")
1fd96c6a
AE
5786 (license license:x11)))
5787
5788
6ff104d5
AE
5789(define-public xcb-util-wm
5790 (package
5791 (name "xcb-util-wm")
b3cbd61a 5792 (version "0.4.1")
6ff104d5
AE
5793 (source (origin
5794 (method url-fetch)
b3cbd61a
MW
5795 (uri (string-append "mirror://xorg/individual/xcb/"
5796 name "-" version ".tar.bz2"))
6ff104d5
AE
5797 (sha256
5798 (base32
b3cbd61a 5799 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
6ff104d5
AE
5800 (build-system gnu-build-system)
5801 (propagated-inputs
5802 `(("libxcb" ,libxcb)))
c4c4cc05 5803 (native-inputs
6ff104d5
AE
5804 `(("m4" ,m4)
5805 ("pkg-config" ,pkg-config)))
01497dfe 5806 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
6ff104d5 5807 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
01bec8a6
AK
5808 (description
5809 "The XCB util modules provides a number of libraries which sit on
5810top of libxcb, the core X protocol library, and some of the extension
5811libraries. These experimental libraries provide convenience functions
5812and interfaces which make the raw X protocol more usable. Some of the
5813libraries also provide client-side code which is not strictly part of
458b2a76
AE
5814the X protocol but which has traditionally been provided by Xlib.
5815
5816The XCB util-wm module provides the following libraries:
01bec8a6
AK
5817
5818- ewmh: Both client and window-manager helpers for EWMH.
5819
5820- icccm: Both client and window-manager helpers for ICCCM.")
6ff104d5
AE
5821 (license license:x11)))
5822
6bc64f41
LC
5823(define-public xinit
5824 (package
5825 (name "xinit")
28308020 5826 (version "1.4.1")
6bc64f41
LC
5827 (source (origin
5828 (method url-fetch)
5829 (uri (string-append "mirror://xorg/individual/app/xinit-"
5830 version ".tar.bz2"))
5831 (sha256
5832 (base32
28308020 5833 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
6bc64f41
LC
5834 (build-system gnu-build-system)
5835 (inputs
6a6db57f 5836 `(("xorgproto" ,xorgproto)
6bc64f41
LC
5837 ("libx11" ,libx11)))
5838 (native-inputs
5839 `(("pkg-config" ,pkg-config)))
5840 (propagated-inputs
5841 `(("xauth" ,xauth)))
9f9c36f5 5842 (home-page "https://www.x.org/")
6bc64f41
LC
5843 (synopsis "Commands to start the X Window server")
5844 (description
5845 "The xinit program is used to start the X Window System server and a
5846first client program on systems that are not using a display manager such as
36a4366d 5847xdm. This package also provides the @code{startx} command, which provides a
6bc64f41
LC
5848user-friendly mechanism to start the X server.")
5849 (license license:x11)))
6ff104d5 5850
dcc9053a
AE
5851;; package outside the x.org system proper of height 5
5852
5853(define-public libxaw3d
5854 (package
5855 (name "libxaw3d")
80a1dfac 5856 (version "1.6.3")
dcc9053a
AE
5857 (source
5858 (origin
5859 (method url-fetch)
5860 (uri (string-append
5861 "mirror://xorg/individual/lib/libXaw3d-"
5862 version
5863 ".tar.bz2"))
5864 (sha256
5865 (base32
80a1dfac 5866 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
dcc9053a
AE
5867 (build-system gnu-build-system)
5868 (propagated-inputs
5869 `(("libxext" ,libxext)
5870 ("libxmu" ,libxmu)
5871 ("libxt" ,libxt)))
5872 (inputs
c4c4cc05
JD
5873 `(("libx11" ,libx11)))
5874 (native-inputs
5875 `(("pkg-config" ,pkg-config)))
01497dfe 5876 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5877 (synopsis "Xorg Xaw3d library")
5878 (description
5879 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5880Intrinsics (Xt) Library.")
dcc9053a 5881 (license license:x11)))
ba6f8e42 5882
ff75441f
YA
5883(define-public xclock
5884 (package
5885 (name "xclock")
fb0f4ab8 5886 (version "1.0.9")
ff75441f
YA
5887 (source
5888 (origin
5889 (method url-fetch)
5890 (uri (string-append "https://www.x.org/releases/individual/app/"
c6df2f58 5891 "xclock-" version ".tar.bz2"))
ff75441f 5892 (sha256
fb0f4ab8 5893 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
ff75441f
YA
5894 (build-system gnu-build-system)
5895 (arguments
5896 `(#:configure-flags
5897 (list (string-append "--with-appdefaultdir="
5898 %output ,%app-defaults-dir))))
5899 (inputs
5900 `(("libxmu" ,libxmu)
5901 ("libx11" ,libx11)
5902 ("libxaw" ,libxaw)
5903 ("libxrender" ,libxrender)
5904 ("libxft" ,libxft)
5905 ("libxkbfile" ,libxkbfile)))
5906 (native-inputs
5907 `(("pkg-config" ,pkg-config)))
78b2eb1a 5908 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
ff75441f
YA
5909 (synopsis "Analog / digital clock for X")
5910 (description "The xclock program displays the time in analog or digital
5911form.")
5912 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
5913
6ea1523a
JD
5914(define-public xmag
5915 (package
5916 (name "xmag")
5917 (version "1.0.6")
5918 (source
5919 (origin
5920 (method url-fetch)
5921 (uri (string-append
5922 "mirror://xorg/individual/app/" name "-"
5923 version
5924 ".tar.gz"))
5925 (sha256
5926 (base32
5927 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
5928 (build-system gnu-build-system)
5929 (arguments
5930 `(#:configure-flags
5931 (list (string-append "--with-appdefaultdir="
5932 %output ,%app-defaults-dir))))
5933 (inputs
5934 `(("libxaw" ,libxaw)))
5935 (native-inputs
5936 `(("pkg-config" ,pkg-config)))
5937 (home-page "https://www.x.org/wiki/")
5938 (synopsis "Display or capture a magnified part of a X11 screen")
5939 (description "Xmag displays and captures a magnified snapshot of a portion
5940of an X11 screen.")
5941 (license license:x11)))
5942
f50fff69
JD
5943(define-public xmessage
5944 (package
5945 (name "xmessage")
dde360ec 5946 (version "1.0.5")
f50fff69
JD
5947 (source
5948 (origin
5949 (method url-fetch)
5950 (uri (string-append
5951 "mirror://xorg/individual/app/" name "-"
5952 version
5953 ".tar.gz"))
5954 (sha256
5955 (base32
dde360ec 5956 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
f50fff69
JD
5957 (build-system gnu-build-system)
5958 (arguments
5959 `(#:configure-flags
5960 (list (string-append "--with-appdefaultdir="
5961 %output ,%app-defaults-dir))))
5962 (inputs
5963 `(("libxaw" ,libxaw)))
5964 (native-inputs
5965 `(("pkg-config" ,pkg-config)))
5966 (home-page "https://www.x.org/wiki/")
5967 (synopsis "Displays a message or query in a window")
5968 (description
5969 "Xmessage displays a message or query in a window. The user can click
5970on a button to dismiss it or can select one of several buttons
5971to answer a question. Xmessage can also exit after a specified time.")
5972 (license license:x11)))
5973
ba6f8e42
LC
5974(define-public xterm
5975 (package
5976 (name "xterm")
48a8b465 5977 (version "353")
ba6f8e42
LC
5978 (source (origin
5979 (method url-fetch)
7e71d566
TGR
5980 (uri (list
5981 (string-append "http://invisible-mirror.net/archives/xterm/"
757f01fa 5982 "xterm-" version ".tgz")
7e71d566 5983 (string-append "ftp://ftp.invisible-island.net/xterm/"
757f01fa 5984 "xterm-" version ".tgz")))
ba6f8e42
LC
5985 (sha256
5986 (base32
48a8b465 5987 "0s5pkfn4r8iy09s1q1y78zhnr9f3sm6wgbqir7azaqggkppd68g5"))))
ba6f8e42
LC
5988 (build-system gnu-build-system)
5989 (arguments
85afaceb
TGR
5990 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
5991 "--enable-i18n" "--enable-doublechars"
5992 "--enable-luit" "--enable-mini-luit")
ba6f8e42
LC
5993 #:tests? #f))
5994 (native-inputs
5995 `(("pkg-config" ,pkg-config)))
5996 (inputs
5997 `(("luit" ,luit)
5998 ("libXft" ,libxft)
5999 ("fontconfig" ,fontconfig)
6000 ("freetype" ,freetype)
6001 ("ncurses" ,ncurses)
6002 ("libICE" ,libice)
6003 ("libSM" ,libsm)
6004 ("libX11" ,libx11)
6005 ("libXext" ,libxext)
6006 ("libXt" ,libxt)
6a6db57f 6007 ("xorgproto" ,xorgproto)
ba6f8e42 6008 ("libXaw" ,libxaw)))
432fd269 6009 (home-page "https://invisible-island.net/xterm/")
ba6f8e42
LC
6010 (synopsis "Terminal emulator for the X Window System")
6011 (description
6012 "The xterm program is a terminal emulator for the X Window System. It
6013provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
6014programs that cannot use the window system directly.")
6015 (license license:x11)))
6c472741 6016
e17dc739
MB
6017(define-public perl-x11-xcb
6018 (package
6019 (name "perl-x11-xcb")
b106b78c 6020 (version "0.18")
e17dc739
MB
6021 (source (origin
6022 (method url-fetch)
6023 (uri (string-append
6024 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
6025 "X11-XCB-" version ".tar.gz"))
6026 (sha256
6027 (base32
b106b78c 6028 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
e17dc739
MB
6029 (build-system perl-build-system)
6030 (arguments
6031 '(;; Disable parallel build to prevent a race condition.
6032 #:parallel-build? #f
6033 #:phases
6034 (modify-phases %standard-phases
ebd18113
MB
6035 (add-before 'configure 'set-perl-search-path
6036 (lambda _
6037 (setenv "PERL5LIB"
6038 (string-append (getcwd) ":"
6039 (getenv "PERL5LIB")))
6040 #t))
e17dc739
MB
6041 (add-before 'build 'patch-Makefile
6042 (lambda* (#:key inputs #:allow-other-keys)
6043 (substitute* "Makefile"
6044 ;; XXX: Without this hack, attempts at using XCB.so fails with
6045 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
6046 (("^LDDLFLAGS = ")
6047 (string-append "LDDLFLAGS = "
6048 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
6049 #t)))
6050 ;; Tests require a running X11 server.
6051 #:tests? #f))
6052 (native-inputs
6053 `(("perl-extutils-depends" ,perl-extutils-depends)
6054 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
2f837cf7 6055 ("perl-module-install" ,perl-module-install)
e17dc739
MB
6056 ("perl-test-deep" ,perl-test-deep)
6057 ("perl-test-exception" ,perl-test-exception)))
6058 (propagated-inputs
6059 `(("perl-data-dump" ,perl-data-dump)
6060 ("perl-mouse" ,perl-mouse)
6061 ("perl-mousex-nativetraits" ,perl-mousex-nativetraits)
6062 ("perl-try-tiny" ,perl-try-tiny)
6063 ("perl-xml-descent" ,perl-xml-descent)
6064 ("perl-xml-simple" ,perl-xml-simple)
6065 ("perl-xs-object-magic" ,perl-xs-object-magic)))
6066 (inputs
6067 `(("libxcb" ,libxcb)
6068 ("xcb-proto" ,xcb-proto)
6069 ("xcb-util" ,xcb-util)
6070 ("xcb-util-wm" ,xcb-util-wm)))
3adacb49 6071 (home-page "https://metacpan.org/release/X11-XCB")
e17dc739
MB
6072 (synopsis "Perl bindings for libxcb")
6073 (description
6074 "These bindings wrap @code{libxcb} (a C library to speak with X11,
6075in many cases better than @code{Xlib}), and provides an object oriented
6076interface to its methods (using @code{Mouse}).")
2f3108ad 6077 (license license:perl-license)))
e17dc739 6078
6c472741
EB
6079(define-public perl-x11-protocol
6080 (package
6081 (name "perl-x11-protocol")
6082 (version "0.56")
6083 (source (origin
6084 (method url-fetch)
6085 (uri (string-append
6086 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
6087 version ".tar.gz"))
6088 (sha256
6089 (base32
6090 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
6091 (build-system perl-build-system)
6092 (arguments '(#:tests? #f)) ;tests require a running x server
6093 (synopsis "Raw interface to X Window System servers")
6094 (description
6095 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
6096perl programs to display windows and graphics on X11 servers.")
ab45b38f 6097 (home-page "https://metacpan.org/release/X11-Protocol")
6c472741
EB
6098 ;; From the package README: "you can redistribute and/or modify it under
6099 ;; the same terms as Perl itself. (As an exception, the file
6100 ;; Keysyms.pm,which is derived from a file in the standard X11
6101 ;; distribution, has another, less restrictive copying policy, as do some
6102 ;; of the extension modules in the directory Protocol/Ext: see those files
6103 ;; for details)."
2f3108ad 6104 (license license:perl-license)))
7dae1f43 6105
f82fe68f
KK
6106(define-public perl-x11-protocol-other
6107 (package
6108 (name "perl-x11-protocol-other")
280189d7 6109 (version "31")
f82fe68f
KK
6110 (source
6111 (origin
6112 (method url-fetch)
6113 (uri (string-append
6114 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
6115 version ".tar.gz"))
6116 (sha256
280189d7 6117 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
f82fe68f
KK
6118 (build-system perl-build-system)
6119 (native-inputs
6120 `(("perl-encode-hanextra" ,perl-encode-hanextra)
6121 ("perl-module-util" ,perl-module-util)))
6122 (propagated-inputs
6123 `(("perl-x11-protocol" ,perl-x11-protocol)))
3adacb49 6124 (home-page "https://metacpan.org/release/X11-Protocol-Other")
f82fe68f
KK
6125 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
6126 (description
6127 "@code{X11::Protocol::Other} contains window manager related functions for
6128use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
6129Conventions Manual) and some of the @dfn{EWMH}
6130(Extended Window Manager Hints).")
6131 (license license:gpl3+)))
6132
7dae1f43
CS
6133(define-public xcompmgr
6134 (package
6135 (name "xcompmgr")
5b6a159a 6136 (version "1.1.8")
7dae1f43
CS
6137 (source
6138 (origin
5b6a159a 6139 ;; There's no current tarball.
7dae1f43
CS
6140 (method git-fetch)
6141 (uri (git-reference
01497dfe 6142 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
a35003c2 6143 (commit (string-append "xcompmgr-" version))))
7dae1f43 6144 (sha256
5b6a159a 6145 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
d514bb13 6146 (file-name (git-file-name name version))))
7dae1f43
CS
6147 (build-system gnu-build-system)
6148 (arguments
6149 `(#:phases (modify-phases %standard-phases
6150 (add-after 'unpack 'autogen
6151 (lambda _
6152 (setenv "NOCONFIGURE" "t")
c6bf07d1 6153 (invoke "sh" "autogen.sh"))))))
7dae1f43
CS
6154 (native-inputs
6155 `(("pkg-config" ,pkg-config)
6156 ("autoconf" ,autoconf)
6157 ("automake" ,automake)))
6158 (inputs
6159 `(("libX11" ,libx11)
6160 ("libXext" ,libxext)
6161 ("libXcomposite" ,libxcomposite)
6162 ("libXfixes" ,libxfixes)
6163 ("libXdamage" ,libxdamage)
6164 ("libXrender" ,libxrender)))
6165 (synopsis "X Compositing manager using RENDER")
6166 (description "xcompmgr is a sample compositing manager for X servers
6167supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6168basic eye-candy effects.")
01497dfe 6169 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
7dae1f43 6170 (license (license:x11-style
01497dfe 6171 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
4b34d603
RH
6172
6173(define-public xpra
6174 (package
6175 (name "xpra")
15027b89 6176 (version "2.5.3")
4b34d603
RH
6177 (source
6178 (origin
6179 (method url-fetch)
6180 (uri (string-append "https://www.xpra.org/src/xpra-"
6181 version ".tar.xz"))
6182 (sha256
6183 (base32
15027b89 6184 "1ys35lj28903alccks9p055psy1fsk1nxi8ncchvw8bfxkkkvbys"))))
4b34d603 6185 (build-system python-build-system)
a0ec2d25
RH
6186 (inputs `(("ffmpeg" ,ffmpeg)
6187 ("flac" ,flac)
4b34d603 6188 ("gtk+-2" ,gtk+-2) ;; no full GTK3 support yet
a0ec2d25
RH
6189 ("libjpeg" ,libjpeg)
6190 ("libpng" ,libpng)
6191 ("libvpx" ,libvpx)
6192 ("libx264" ,libx264)
6193 ("libxcomposite" ,libxcomposite)
6194 ("libxdamage" ,libxdamage)
bfc25e01 6195 ("libxi" ,libxi)
a0ec2d25
RH
6196 ("libxkbfile" ,libxkbfile)
6197 ("libxrandr" ,libxrandr)
6198 ("libxtst" ,libxtst)
6199 ("lzo" ,lzo)
6200 ("python2-cryptography" ,python2-cryptography)
6201 ("python2-dbus" ,python2-dbus)
6202 ("python2-lz4" ,python2-lz4)
6203 ("python2-lzo" ,python2-lzo)
6204 ("python2-netifaces" ,python2-netifaces)
6205 ("python2-numpy" ,python2-numpy)
4b34d603 6206 ("python2-pillow" ,python2-pillow)
a0ec2d25
RH
6207 ("python2-pycairo" ,python2-pycairo)
6208 ("python2-pycrypto" ,python2-pycrypto)
6209 ("python2-pygobject" ,python2-pygobject)
6210 ("python2-pyopengl" ,python2-pyopengl)
6211 ("python2-pyopengl-accelerate" ,python2-pyopengl-accelerate)
6212 ("python2-pygtk" ,python2-pygtk)
6213 ("python2-rencode" ,python2-rencode)
6214 ("xorg-server" ,xorg-server)))
4b34d603 6215 (native-inputs `(("pkg-config" ,pkg-config)
c695fb76 6216 ("python2-cython" ,python2-cython)))
4b34d603
RH
6217 (arguments
6218 `(#:python ,python-2 ;; no full Python 3 support yet
6219 #:configure-flags '("--with-tests"
6220 "--with-bundle_tests"
42e52605
RH
6221 "--without-Xdummy" ;; We use Xvfb instead.
6222 "--without-Xdummy_wrapper"
4b34d603
RH
6223 "--without-strict")
6224 #:modules ((guix build python-build-system)
6225 (guix build utils))
6226
6227 #:phases
6228 (modify-phases %standard-phases
6229 (delete 'build)
6230 (delete 'check) ;; There's no test suite at the moment.
6231
6232 ;; Remove BUILD_CPU, BUILD_DATE, BUILD_TIME from build info to
6233 ;; prevent deterministic issues. Also correct some directories and
6234 ;; use the xvfb binary instead of xorg-server (which doesn't seem to
6235 ;; work).
6236 (add-before 'install 'remove-timestamps&set-file-names
6237 (lambda* (#:key inputs outputs #:allow-other-keys)
6238 (substitute* "add_build_info.py"
6239 ((".*\"BUILD_CPU\", get_cpuinfo.*") ""))
6240 (substitute* "add_build_info.py"
6241 ((".*\"BUILD_DATE\", datetime.*") ""))
6242 (substitute* "add_build_info.py"
6243 ((".*\"BUILD_TIME\", datetime.*") ""))
6244 (substitute* "setup.py"
6245 (("/etc/init.d/")
6246 (string-append (assoc-ref outputs "out")
6247 "/etc/init.d/")))
6248 (substitute* "setup.py"
6249 (("/usr/lib/")
6250 (string-append (assoc-ref outputs "out") "/lib/")))
4ecfc168 6251 ;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
42e52605
RH
6252 (substitute* "./xpra/scripts/config.py"
6253 ((":.*join.*xvfb.*")
6254 (string-append ": \"" (assoc-ref inputs "xorg-server")
6255 "/bin/Xvfb +extension Composite"
6256 " -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
4ecfc168
RH
6257 " tcp -nolisten local -noreset -auth"
6258 " $XAUTHORITY\",\n")))
42e52605
RH
6259 (substitute* "./xpra/scripts/config.py"
6260 (("socket-dir.*: \"\",")
6261 "socket-dir\" : \"~/.xpra\","))
4b34d603
RH
6262 #t)))))
6263 (home-page "https://www.xpra.org/")
6264 (synopsis "Remote access to individual applications or full desktops")
6265 (description "Xpra is a persistent remote display server and client for
6266forwarding applications and desktop screens. It gives you remote access to
6267individual applications or full desktops. On X11, it is also known as
6268``@command{screen} for X11'': it allows you to run programs, usually on a
6269remote host, direct their display to your local machine, and then to
6270disconnect from these programs and reconnect from the same or another machine,
6271without losing any state. It can also be used to forward full desktops from
6272X11 servers, Windows, or macOS.")
6273 (license license:gpl2+)))
8fd92e03
AI
6274
6275(define-public uim
6276 (package
6277 (name "uim")
ebbc0fea 6278 (version "1.8.8")
8fd92e03
AI
6279 (source
6280 (origin
6281 (method url-fetch)
ebbc0fea 6282 (uri (string-append "https://github.com/uim/uim/releases/download/"
8fd92e03
AI
6283 version "/uim-" version ".tar.bz2"))
6284 (sha256
6285 (base32
ebbc0fea 6286 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
8fd92e03
AI
6287 (build-system gnu-build-system)
6288 (inputs
6289 `(("anthy" ,anthy)
6290 ("libedit" ,libedit)
6291 ("libxft" ,libxft)
6292 ("m17n-lib" ,m17n-lib)))
6293 (native-inputs
6294 `(("emacs" ,emacs-minimal)
6295 ("intltool" ,intltool)
6296 ("pkg-config" ,pkg-config)))
6297 (arguments
6298 `(#:modules ((guix build gnu-build-system)
6299 (guix build utils)
6300 (guix build emacs-utils))
6301 #:imported-modules (,@%gnu-build-system-modules
6302 (guix build emacs-utils))
6303 #:configure-flags
6304 (list "--with-anthy-utf8"
acf6168b 6305 (string-append "--with-lispdir=" %output "/share/emacs")
8fd92e03
AI
6306 ;; Set proper runpath
6307 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
6308 #:phases
6309 (modify-phases %standard-phases
6310 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6311 (add-after 'configure 'configure-uim-el
6312 (lambda* (#:key outputs #:allow-other-keys)
d5b0aa99
AI
6313 (let ((out (assoc-ref outputs "out")))
6314 (emacs-substitute-variables "emacs/uim-var.el"
6315 ("uim-el-agent" (string-append out "/bin/uim-el-agent"))
6316 ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent"))))
8fd92e03 6317 #t))
acf6168b
AI
6318 ;; Fix installation path by renaming share/emacs/uim-el to
6319 ;; share/emacs/site-lisp
6320 (add-after 'install 'fix-install-path
6321 (lambda* (#:key outputs #:allow-other-keys)
6322 (let ((share-emacs (string-append (assoc-ref outputs "out")
6323 "/share/emacs")))
6324 (rename-file (string-append share-emacs "/uim-el")
6325 (string-append share-emacs "/site-lisp")))
8fd92e03
AI
6326 #t))
6327 ;; Generate emacs autoloads for uim.el
acf6168b 6328 (add-after 'fix-install-path 'make-autoloads
8fd92e03
AI
6329 (lambda* (#:key outputs #:allow-other-keys)
6330 (emacs-generate-autoloads
6331 ,name (string-append (assoc-ref outputs "out")
6332 "/share/emacs/site-lisp"))
6333 #t)))))
6334 (home-page "https://github.com/uim/uim")
6335 (synopsis "Multilingual input method framework")
6336 (description "Uim is a multilingual input method library and environment.
6337It provides a simple, easily extensible and high code-quality input method
6338development platform, and useful input method environment for users of desktop
6339and embedded platforms.")
6340 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6341 license:gpl2+ ; scm/pinyin-big5.scm
6342 license:gpl3+ ; scm/elatin-rules.cm
6343 license:public-domain ; scm/input-parse.scm, scm/match.scm
6344 ;; gtk2/toolbar/eggtrayicon.{ch},
6345 ;; qt3/chardict/kseparator.{cpp,h},
6346 ;; qt3/pref/kseparator.{cpp,h}
6347 license:lgpl2.0+
6348 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6349 ;; all other files
6350 license:bsd-3))))
6351
6352(define-public uim-gtk
6353 (package
6354 (inherit uim)
6355 (name "uim-gtk")
6356 (inputs
6357 `(("gtk" ,gtk+)
6358 ("gtk" ,gtk+-2)
6359 ,@(package-inputs uim)))
6360 (synopsis "Multilingual input method framework (GTK+ support)")))
6361
6362(define-public uim-qt
6363 (package
6364 (inherit uim)
6365 (name "uim-qt")
6366 (inputs
9db2cad6
EF
6367 `(("qt" ,qtbase)
6368 ("qtx11extras" ,qtx11extras)
8fd92e03
AI
6369 ,@(package-inputs uim)))
6370 (arguments
6371 (substitute-keyword-arguments (package-arguments uim)
6372 ((#:configure-flags configure-flags)
9db2cad6
EF
6373 (append configure-flags (list "--with-qt5-immodule"
6374 "--with-qt5")))))
8fd92e03 6375 (synopsis "Multilingual input method framework (Qt support)")))
a6a2ef27
OP
6376
6377(define-public keynav
6378 (package
6379 (name "keynav")
6380 (version "0.20110708.0")
6381 (source
6382 (origin
6383 (method url-fetch)
6384 (uri (string-append
6385 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6386 version ".orig.tar.gz"))
6387 (file-name (string-append name "-" version ".tar.gz"))
6388 (sha256
6389 (base32
6390 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6391 (build-system gnu-build-system)
6392 (inputs
6393 `(("cairo" ,cairo)
6394 ("glib" ,glib)
6395 ("libx11" ,libx11)
6396 ("libxext" ,libxext)
6397 ("libxinerama" ,libxinerama)
6398 ("libxtst" ,libxtst)
6399 ("xdotool" ,xdotool)))
6400 (native-inputs
6401 `(("pkg-config" ,pkg-config)))
6402 (arguments
6403 `(#:tests? #f ;No tests.
6404 #:phases
6405 (modify-phases %standard-phases
6406 (add-after 'unpack 'setenv
6407 (lambda _
6408 (setenv "CC" (which "gcc"))
6409 #t))
6410 (add-after 'unpack 'patch-keynav
6411 (lambda _
6412 (substitute* "keynav.c"
6413 (("xdo_symbol_map") "xdo_get_symbol_map")
6414 (("xdo_window_setclass") "xdo_set_window_class")
6415 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6416 (("xdo_click") "xdo_click_window")
6417 (("xdo_mouseup") "xdo_mouse_up")
6418 (("xdo_mousedown") "xdo_mouse_down")
6419 (("xdo_mousemove") "xdo_move_mouse")
6420 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6421 (("xdo_mouselocation") "xdo_get_mouse_location")
6422 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6423 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6424 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6425 #t))
6426 (delete 'configure)
6427 (replace 'install
6428 (lambda* (#:key outputs #:allow-other-keys)
6429 (let ((out (assoc-ref outputs "out")))
6430 (install-file "keynav" (string-append out "/bin"))
6431 (install-file "keynavrc" (string-append out "/etc")))
6432 #t)))))
6433 (home-page "https://www.semicomplete.com/projects/keynav/")
6434 (synopsis "Keyboard-driven mouse cursor mover")
6435 (description
6436 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6437cursor to any point on the screen with a few key strokes. It also simulates
6438mouse click. You can do everything mouse can do with a keyboard.")
6439 (license license:bsd-3)))
38fe6449
BS
6440
6441(define-public transset-df
6442 (package
6443 (name "transset-df")
6444 (version "6")
6445 (source (origin
6446 (method url-fetch)
6447 (uri (string-append "http://forchheimer.se/" name "/" name "-" version
6448 ".tar.gz"))
6449 (sha256
6450 (base32
6451 "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
6452 (build-system gnu-build-system)
6453 (arguments
6454 '(#:phases
6455 (modify-phases %standard-phases
6456 (add-after 'unpack 'setenv
6457 (lambda _
6458 (setenv "CC" (which "gcc"))
6459 #t))
6460 (delete 'configure)
6461 (delete 'check)
6462 (replace 'install
6463 (lambda* (#:key outputs #:allow-other-keys)
6464 (let* ((out (assoc-ref outputs "out"))
6465 (bin (string-append out "/bin")))
6466 (install-file "transset-df" bin)
6467 #t))))))
6468 (native-inputs
6469 `(("pkg-config" ,pkg-config)))
6470 (inputs `(("libxcomposite" ,libxcomposite)
6471 ("libxdamager" ,libxdamage)
6472 ("libxrender" ,libxrender)))
6473 (synopsis "Set the transparency of X11 windows")
6474 (description "The @command{transset-df} command allows you to set the
6475opacity of X11 windows. This patched version of X.Org's @command{transset}
6476adds functionality, including: selecting window by clicking (as transset),
6477selecting windows by pointing select actual focused X11 window, selecting by
6478window name or id, forcing toggle, increase or decrease opacity.")
1dc184b4 6479 (home-page "https://forchheimer.se/transset-df/")
38fe6449 6480 (license license:x11)))
fe77ede7
LC
6481
6482(define-public bdfresize
6483 (package
6484 (name "bdfresize")
6485 (version "1.5-11")
6486 (source (origin
6487 ;; Former upstream at
6488 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6489 ;; vanished so use Debian, which in practice is the new
6490 ;; upstream.
6491 (method git-fetch)
6492 (uri (git-reference
6493 (url "https://salsa.debian.org/debian/bdfresize.git")
6494 (commit (string-append "debian/" version))))
6495 (sha256
6496 (base32
6497 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6498 (modules '((guix build utils)))
6499 (snippet
6500 '(begin
6501 (for-each make-file-writable (find-files "."))
6502
6503 ;; Remove broken declaration.
6504 (substitute* "charresize.c"
6505 (("char\t\\*malloc\\(\\);")
6506 ""))
6507
6508 ;; Remove old configury that doesn't support modern
6509 ;; command-line options, new architectures, etc.
6510 (for-each delete-file
6511 '("configure" "install-sh"
6512 "missing" "mkinstalldirs"))
6513 #t))
6514 (file-name (git-file-name name version))))
6515 (build-system gnu-build-system)
6516 (native-inputs
6517 `(("pkg-config" ,pkg-config)
6518 ("autoconf" ,autoconf)
6519 ("automake" ,automake)))
6520 (synopsis "Resize fonts in the BDF format")
6521 (description
222eb114 6522 "This package provides @command{bdfresize}, a command to magnify or
fe77ede7
LC
6523reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6524output.")
6525 (home-page "https://tracker.debian.org/pkg/bdfresize")
6526 (license license:gpl2+)) )
41a54622 6527
6528(define-public console-setup
6529 (package
6530 (name "console-setup")
468c2402 6531 (version "1.194")
90325cf7
TGR
6532 (source
6533 (origin
6534 (method git-fetch)
6535 (uri (git-reference
6536 (url "https://salsa.debian.org/installer-team/console-setup.git")
6537 (commit version)))
6538 (sha256
468c2402 6539 (base32 "0fkabv05j5dj10mfrpjyvv7lnxl9qaqkbjhwj72r18i9i4019vgh"))
90325cf7 6540 (file-name (git-file-name name version))))
41a54622 6541 (build-system gnu-build-system)
6542 (arguments
6543 '(#:make-flags
6544 (let ((bash (assoc-ref %build-inputs "bash"))
6545 (out (assoc-ref %outputs "out")))
6546 (list (string-append "SHELL=" bash "/bin/bash")))
6547 #:tests? #f ;no tests
6548 #:phases
6549 (modify-phases %standard-phases
6550 (delete 'configure)
38220030
LC
6551 (add-after 'unpack 'patch-file-names
6552 (lambda _
6553 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6554 ;; name.
6555 (substitute* '("Keyboard/ckbcomp")
6556 (("\"cat ")
6557 (string-append "\"" (which "cat")
6558 " ")))
6559 #t))
41a54622 6560 (add-before 'build 'make-doubled-bdfs
6561 (lambda* (#:key inputs #:allow-other-keys)
6562 (invoke "make" "-C" "Fonts"
6563 "doubled_bdfs"
6564 (string-append "SHELL="
6565 (assoc-ref inputs "bash")
6566 "/bin/bash"))))
6567 (replace 'install
6568 (lambda* (#:key inputs outputs #:allow-other-keys)
6569 (let ((out (assoc-ref %outputs "out")))
6570 (invoke "make" "install-linux"
6571 (string-append "prefix=" out)
6572 (string-append "SHELL="
6573 (assoc-ref inputs "bash")
6574 "/bin/bash"))))))))
6575 (native-inputs
6576 `(("pkg-config" ,pkg-config)
6577 ("bdftopcf" ,bdftopcf)
6578 ("bdfresize" ,bdfresize)
6579 ("sharutils" ,sharutils))) ;for 'uuencode'
6580 (inputs
6581 `(("perl" ,perl))) ;used by 'ckbcomp'
6582 (synopsis "Set up the Linux console font and keyboard")
6583 (description
6584 "console-setup provides the console with the same keyboard
6585configuration scheme that X Window System has. In particular, the
6586@command{ckbcomp} program compiles an XKB keyboard description to a keymap
6587suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6588is no need to duplicate or change the console keyboard files just to make
6589simple customizations.
6590
6591Besides the keyboard, the package also configures the font on the console. It
6592includes a rich collection of fonts and supports several languages that would
6593otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6594Thai).")
6595 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6596
6597 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6598 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6599 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6600 (license (list license:gpl2+
6601 license:expat))))
fe068686
LP
6602
6603(define-public xcur2png
6604 (package
6605 (name "xcur2png")
6606 (version "0.7.1")
6607 (source
6608 (origin
6609 (method git-fetch)
6610 (uri (git-reference
6611 (url "https://github.com/eworm-de/xcur2png.git")
6612 (commit version)))
6613 (file-name (git-file-name name version))
6614 (sha256
6615 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6616 (build-system gnu-build-system)
6617 (native-inputs
6618 `(("pkg-config" ,pkg-config)))
6619 (inputs
6620 `(("libpng" ,libpng)
6621 ("libxcursor" ,libxcursor)))
6622 (synopsis "Decode X cursors")
6623 (description
6624 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6625a configuration file reusable by xcursorgen.")
6626 (home-page "https://github.com/eworm-de/xcur2png")
6627 (license license:gpl3+)))
6a25036f
JBN
6628
6629(define-public gccmakedep
6630 (package
6631 (name "gccmakedep")
6632 (version "1.0.3")
6633 (source
6634 (origin
6635 (method url-fetch)
6636 (uri (string-append "mirror://xorg/individual/util/gccmakedep-"
6637 version ".tar.bz2"))
6638 (sha256
6639 (base32 "1r1fpy5ni8chbgx7j5sz0008fpb6vbazpy1nifgdhgijyzqxqxdj"))))
6640 (build-system gnu-build-system)
6641 (synopsis "Create dependencies in makefiles using 'gcc -M'")
6642 (description
6643 "@command{gccmakedep} is a deprecated program which calls @code{gcc -M}
6644to output Makefile rules describing the dependencies of each source file, so
6645that Make knows which object files must be recompiled when a dependency has
6646changed.")
6647 (home-page "https://gitlab.freedesktop.org/xorg/util/gccmakedep")
6648 (license license:x11)))