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