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