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