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