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