1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2017, 2018 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 ng0 <ng0@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 Tobias Geerinckx-Rice <me@tobias.gr>
18 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
19 ;;; Copyright © 2018 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>
28 ;;; This file is part of GNU Guix.
30 ;;; GNU Guix is free software; you can redistribute it and/or modify it
31 ;;; under the terms of the GNU General Public License as published by
32 ;;; the Free Software Foundation; either version 3 of the License, or (at
33 ;;; your option) any later version.
35 ;;; GNU Guix is distributed in the hope that it will be useful, but
36 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
37 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 ;;; GNU General Public License for more details.
40 ;;; You should have received a copy of the GNU General Public License
41 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
43 (define-module (gnu packages xorg)
44 #:use-module ((guix licenses) #:prefix license:)
45 #:use-module (guix packages)
46 #:use-module (guix download)
47 #:use-module (guix git-download)
48 #:use-module (guix build-system gnu)
49 #:use-module (guix build-system perl)
50 #:use-module (guix build-system python)
51 #:use-module (guix utils)
52 #:use-module (gnu packages)
53 #:use-module (gnu packages anthy)
54 #:use-module (gnu packages autotools)
55 #:use-module (gnu packages bison)
56 #:use-module (gnu packages check)
57 #:use-module (gnu packages compression)
58 #:use-module (gnu packages emacs)
59 #:use-module (gnu packages flex)
60 #:use-module (gnu packages fontutils)
61 #:use-module (gnu packages freedesktop)
62 #:use-module (gnu packages gettext)
63 #:use-module (gnu packages gl)
64 #:use-module (gnu packages glib)
65 #:use-module (gnu packages gnupg)
66 #:use-module (gnu packages gperf)
67 #:use-module (gnu packages gtk)
68 #:use-module (gnu packages image)
69 #:use-module (gnu packages libbsd)
70 #:use-module (gnu packages libedit)
71 #:use-module (gnu packages linux)
72 #:use-module (gnu packages llvm)
73 #:use-module (gnu packages m4)
74 #:use-module (gnu packages ncurses)
75 #:use-module (gnu packages pciutils)
76 #:use-module (gnu packages perl)
77 #:use-module (gnu packages perl-check)
78 #:use-module (gnu packages pkg-config)
79 #:use-module (gnu packages python)
80 #:use-module (gnu packages python-compression)
81 #:use-module (gnu packages python-crypto)
82 #:use-module (gnu packages python-xyz)
83 #:use-module (gnu packages qt)
84 #:use-module (gnu packages spice)
85 #:use-module (gnu packages video)
86 #:use-module (gnu packages xiph)
87 #:use-module (gnu packages xml)
88 #:use-module (gnu packages xdisorg))
93 ;; packages without propagated input
94 ;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
95 ;; be defined first, the split makes book-keeping easier.)
98 ;; compiles only on macos
99 ;; (define-public applewmproto
102 (define xorg-cf-files
103 ;; The xorg-cf-files package contains the data files for the imake utility,
104 ;; defining the known settings for a wide variety of platforms (many of which
105 ;; have not been verified or tested in over a decade), and for many of the
106 ;; libraries formerly delivered in the X.Org monolithic releases.
108 ;; License: x11, see COPYING
111 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
113 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
122 (uri (string-append "mirror://xorg/individual/util/imake-"
125 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
126 (build-system gnu-build-system)
128 `(("pkg-config" ,pkg-config)))
130 `(("xorg-cf-files" ,xorg-cf-files)
131 ("xorgproto" ,xorgproto)))
134 (modify-phases %standard-phases
135 (add-after 'install 'install-data
136 (lambda* (#:key inputs outputs #:allow-other-keys)
137 (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
138 (out (assoc-ref outputs "out"))
139 (unpack (assoc-ref %standard-phases 'unpack))
140 (patch-source-shebangs
141 (assoc-ref %standard-phases 'patch-source-shebangs)))
142 (mkdir "xorg-cf-files")
143 (with-directory-excursion "xorg-cf-files"
144 (apply unpack (list #:source cf-files))
145 (apply patch-source-shebangs (list #:source cf-files))
146 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
147 "linux.cf" "Amoeba.cf" "cygwin.cf")
148 (("/bin/sh") (which "bash")))
149 (invoke "./configure"
150 (string-append "SHELL=" (which "bash"))
151 (string-append "--prefix=" out))
152 (invoke "make" "install"))))))))
153 (home-page "https://www.x.org/")
154 (synopsis "Source code configuration and build system")
156 "Imake is a deprecated source code configuration and build system which
157 has traditionally been supplied by and used to build the X Window System in
158 X11R6 and previous releases. As of the X Window System X11R7 release, the X
159 Window system has switched to using GNU autotools as the primary build system,
160 and the Imake system is now deprecated, and should not be used by new software
161 projects. Software developers are encouraged to migrate software to the GNU
163 (license license:x11)))
172 "mirror://xorg/individual/util/"
173 "lndir-" version ".tar.bz2"))
176 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
177 (build-system gnu-build-system)
179 `(("pkg-config" ,pkg-config)))
181 `(("xorgproto" ,xorgproto)))
182 (home-page "https://www.x.org/")
183 (synopsis "Symlink directory into tree")
184 (description "Create a shadow directory of symbolic links to another
186 (license license:x11)))
188 (define-public bdftopcf
196 "mirror://xorg/individual/app/bdftopcf-"
201 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
202 (build-system gnu-build-system)
204 `(("libxfont" ,libxfont2)))
206 `(("pkg-config" ,pkg-config)))
207 (home-page "https://www.x.org/wiki/")
208 (synopsis "Convert X font from BDF to PCF")
210 "BDFtoPCF is a font compiler for the X server and font server. It
211 converts X font from Bitmap Distribution Format to Portable Compiled Format
212 which can be read by any architecture.")
213 (license license:x11)))
215 (define-public xorgproto
221 (uri (string-append "mirror://xorg/individual/proto/"
222 "xorgproto-" version ".tar.bz2"))
225 "13kvir8dz9dvzhvyfndpff1z7k8h14s7kkl7mbl427andhax1v26"))))
226 (build-system gnu-build-system)
228 ;; To get util-macros in (almost?) all package inputs.
229 `(("util-macros" ,util-macros)))
230 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
231 (synopsis "Xorg protocol headers")
233 "This package provides the headers and specification documents defining
234 the core protocol and (many) extensions for the X Window System.")
235 (license license:x11)))
237 (define-public bigreqsproto
239 (name "bigreqsproto")
245 "mirror://xorg/individual/proto/bigreqsproto-"
250 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
251 (build-system gnu-build-system)
252 (native-inputs `(("pkg-config" ,pkg-config)))
253 (home-page "https://www.x.org/wiki/")
254 (synopsis "Xorg BigReqsProto protocol headers")
256 "Big Requests Extension defines a protocol to enable the use of
257 requests that exceed 262140 bytes in length.")
258 (license license:x11)
259 (properties `((superseded . ,xorgproto)))))
261 (define-public compositeproto
263 (name "compositeproto")
269 "mirror://xorg/individual/proto/compositeproto-"
274 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
275 (build-system gnu-build-system)
277 `(("xorgproto" ,xorgproto)))
279 `(("pkg-config" ,pkg-config)))
280 (home-page "https://www.x.org/wiki/")
281 (synopsis "Xorg CompositeProto protocol headers")
283 "Composite Extension contains header files and documentation for
284 the damage protocol.")
285 (license license:x11)
286 (properties `((superseded . ,xorgproto)))))
288 (define-public damageproto
296 "mirror://xorg/individual/proto/damageproto-"
301 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
302 (build-system gnu-build-system)
303 (native-inputs `(("pkg-config" ,pkg-config)))
304 (home-page "https://www.x.org/wiki/")
305 (synopsis "Xorg DamageProto protocol headers")
307 "Damage Extension contains header files and documentation for
308 the damage protocol.")
309 (license license:x11)
310 (properties `((superseded . ,xorgproto)))))
312 (define-public dmxproto
320 "mirror://xorg/individual/proto/dmxproto-"
325 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
326 (build-system gnu-build-system)
327 (native-inputs `(("pkg-config" ,pkg-config)))
328 (home-page "https://www.x.org/wiki/")
329 (synopsis "Xorg DMXProto protocol headers")
331 "DMX (Distributed Multihead X) Extension defines a protocol for clients
332 to access a front-end proxy X server that controls multiple back-end X
333 servers making up a large display.")
334 (license license:x11)
335 (properties `((superseded . ,xorgproto)))))
337 (define-public dri2proto
345 "mirror://xorg/individual/proto/dri2proto-"
350 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
351 (build-system gnu-build-system)
352 (home-page "https://www.x.org/wiki/")
353 (synopsis "Xorg DRI2Proto protocol headers")
355 "Direct Rendering Infrastructure 2 Extension defines a protocol to
356 securely allow user applications to access the video hardware without
357 requiring data to be passed through the X server.")
358 (license license:x11)
359 (properties `((superseded . ,xorgproto)))))
361 (define-public dri3proto
369 "mirror://xorg/individual/proto/dri3proto-"
374 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
375 (build-system gnu-build-system)
376 (home-page "https://www.x.org/wiki/")
377 (synopsis "Xorg DRI3Proto protocol headers")
379 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
380 translate between direct rendered buffers and X pixmaps. When combined with
381 the Present extension, a complete direct rendering solution for OpenGL is
383 (license (license:x11-style "file://dri3proto.h"
384 "See 'dri3proto.h' in the distribution."))
385 (properties `((superseded . ,xorgproto)))))
387 (define-public %app-defaults-dir "/lib/X11/app-defaults")
389 (define-public editres
397 "mirror://xorg/individual/app/" name "-"
402 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
403 (build-system gnu-build-system)
406 (list (string-append "--with-appdefaultdir="
407 %output ,%app-defaults-dir))))
413 `(("pkg-config" ,pkg-config)))
414 (home-page "https://www.x.org/wiki/")
415 (synopsis "Tool to browse and edit X Toolkit resource specifications")
417 "Editres is a tool that allows users and application developers to view
418 the full widget hierarchy of any X Toolkit application that speaks the Editres
419 protocol. In addition, editres will help the user construct resource
420 specifications, allow the user to apply the resource to the application and
421 view the results dynamically. Once the user is happy with a resource
422 specification editres will append the resource string to the user's X
424 (license license:x11)))
427 (define-public encodings
435 "mirror://xorg/individual/font/encodings-"
439 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
440 (build-system gnu-build-system)
442 `(("mkfontscale" ,mkfontscale)))
444 `(("pkg-config" ,pkg-config)))
445 (home-page "https://www.x.org/wiki/")
446 (synopsis "Xorg font encoding files")
447 (description "Xorg font encoding files.")
448 (license license:public-domain)))
450 (define (%xorg-font-origin font version hash)
453 (uri (string-append "mirror://xorg/individual/font/" font "-"
456 (modules '((guix build utils)))
458 ;; Do not include timestamps in '.pcf.gz' files.
460 (substitute* "Makefile.in"
461 (("^COMPRESS = (.*)$" _ rest)
462 (string-append "COMPRESS = " (string-trim-right rest)
466 (define-syntax-rule (xorg-font-origin font version hash)
467 "Expand to the 'origin' form for the given Xorg font package."
468 (%xorg-font-origin font version (base32 hash)))
470 (define-public font-adobe100dpi
472 (name "font-adobe100dpi")
474 (source (xorg-font-origin
475 "font-adobe-100dpi" version
476 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
477 (build-system gnu-build-system)
479 `(("bdftopcf" ,bdftopcf)
480 ("font-util" ,font-util)
481 ("mkfontdir" ,mkfontdir)))
483 `(("pkg-config" ,pkg-config)))
485 `(#:configure-flags (list
486 ;; install fonts into subdirectory of package output instead of
487 ;; font-util-?.?.?/share/fonts/X11
488 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
489 (home-page "https://www.x.org/wiki/")
490 (synopsis "Xorg adobe-100dpi fonts")
491 (description "Xorg adobe-100dpi fonts.")
492 (license license:x11)))
495 (define-public font-adobe75dpi
497 (name "font-adobe75dpi")
499 (source (xorg-font-origin
500 "font-adobe-75dpi" version
501 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
502 (build-system gnu-build-system)
504 `(("bdftopcf" ,bdftopcf)
505 ("font-util" ,font-util)
506 ("mkfontdir" ,mkfontdir)))
508 `(("pkg-config" ,pkg-config)))
510 `(#:configure-flags (list
511 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
512 (home-page "https://www.x.org/wiki/")
513 (synopsis "Xorg adobe-75dpi fonts")
514 (description "Xorg adobe-75dpi fonts.")
515 (license license:x11)))
519 ;; (define-public font-adobe-utopia100dpi
520 ;; (define-public font-adobe-utopia75dpi
521 ;; (define-public font-adobe-utopia-type1
524 (define-public font-alias
528 (source (xorg-font-origin
530 "16ic8wfwwr3jicaml7b5a0sk6plcgc1kg84w02881yhwmqm3nicb"))
531 (build-system gnu-build-system)
532 (native-inputs `(("pkg-config" ,pkg-config)))
534 `(#:phases (modify-phases %standard-phases
536 'install 'install-fonts-dir
537 ;; The X font server will not add directories to the font
538 ;; path unless they contain a "fonts.dir" file, so add some
540 (lambda* (#:key outputs #:allow-other-keys)
541 (let ((out (assoc-ref outputs "out")))
542 (for-each (lambda (d)
543 (call-with-output-file
544 (string-append out "/share/fonts/X11"
548 '("75dpi" "100dpi" "misc" "cyrillic"))
550 (home-page "https://www.x.org/wiki/")
551 (synopsis "Xorg font aliases")
553 "This package provides some common aliases for Xorg fonts.
554 For example: @code{6x10}, @code{9x15bold}, etc.")
555 (license license:x11)))
558 (define-public font-arabic-misc
560 (name "font-arabic-misc")
562 (source (xorg-font-origin
564 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
565 (build-system gnu-build-system)
567 `(("mkfontdir" ,mkfontdir)
568 ("bdftopcf" ,bdftopcf)))
570 `(("pkg-config" ,pkg-config)))
571 (home-page "https://www.x.org/wiki/")
572 (synopsis "Xorg arabic-misc font")
573 (description "Xorg arabic-misc font.")
574 (license license:x11)))
578 ;; (define-public font-bh100dpi
579 ;; (define-public font-bh75dpi
580 ;; (define-public font-bh-lucidatypewriter100dpi
581 ;; (define-public font-bh-lucidatypewriter75dpi
582 ;; (define-public font-bh-ttf
583 ;; (define-public font-bh-type1
584 ;; (define-public font-bitstream100dpi
585 ;; (define-public font-bitstream75dpi
588 (define-public font-cronyx-cyrillic
590 (name "font-cronyx-cyrillic")
592 (source (xorg-font-origin
594 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
595 (build-system gnu-build-system)
597 `(("mkfontdir" ,mkfontdir)
598 ("bdftopcf" ,bdftopcf)))
600 `(("pkg-config" ,pkg-config)))
601 (home-page "https://www.x.org/wiki/")
602 (synopsis "Xorg cronyx-cyrillic font")
603 (description "Xorg cronyx-cyrillic font.")
604 (license license:x11)))
608 ;; (define-public font-cursor-misc
611 ;; (define-public font-daewoo-misc
614 (define-public font-dec-misc
616 (name "font-dec-misc")
618 (source (xorg-font-origin
620 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
621 (build-system gnu-build-system)
623 `(("mkfontdir" ,mkfontdir)
624 ("bdftopcf" ,bdftopcf)))
626 `(("pkg-config" ,pkg-config)))
627 (home-page "https://www.x.org/wiki/")
628 (synopsis "Xorg dec-misc font")
629 (description "Xorg dec-misc font.")
630 (license license:x11)))
634 ;; (define-public font-ibm-type1
636 (define-public font-isas-misc
638 (name "font-isas-misc")
640 (source (xorg-font-origin
642 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
643 (build-system gnu-build-system)
645 `(("mkfontdir" ,mkfontdir)
646 ("bdftopcf" ,bdftopcf)))
648 `(("pkg-config" ,pkg-config)))
649 (home-page "https://www.x.org/wiki/")
650 (synopsis "Xorg isas-misc font")
651 (description "Xorg isas-misc font.")
652 (license license:x11)))
656 ;; (define-public font-jis-misc
659 (define-public font-micro-misc
661 (name "font-micro-misc")
663 (source (xorg-font-origin
665 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
666 (build-system gnu-build-system)
668 `(("mkfontdir" ,mkfontdir)
669 ("bdftopcf" ,bdftopcf)))
671 `(("pkg-config" ,pkg-config)))
672 (home-page "https://www.x.org/wiki/")
673 (synopsis "Xorg micro-misc font")
674 (description "Xorg micro-misc font.")
675 (license license:public-domain)))
678 (define-public font-misc-cyrillic
680 (name "font-misc-cyrillic")
682 (source (xorg-font-origin
684 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
685 (build-system gnu-build-system)
687 `(("mkfontdir" ,mkfontdir)
688 ("bdftopcf" ,bdftopcf)))
690 `(("pkg-config" ,pkg-config)))
691 (home-page "https://www.x.org/wiki/")
692 (synopsis "Xorg misc-cyrillic fonts")
693 (description "Xorg misc-cyrillic fonts.")
694 (license license:x11)))
697 (define-public font-misc-ethiopic
699 (name "font-misc-ethiopic")
701 (source (xorg-font-origin
703 "19cq7iq0pfad0nc2v28n681fdq3fcw1l1hzaq0wpkgpx7bc1zjsk"))
704 (build-system gnu-build-system)
706 `(("mkfontdir" ,mkfontdir)
707 ("mkfontscale" ,mkfontscale)))
709 `(("pkg-config" ,pkg-config)))
710 (home-page "https://www.x.org/wiki/")
711 (synopsis "Xorg misc-ethiopic fonts")
712 (description "Xorg misc-ethiopic fonts.")
713 (license license:x11)))
717 ;; (define-public font-misc-meltho
720 (define-public font-misc-misc
722 (name "font-misc-misc")
724 (source (xorg-font-origin
726 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
727 (build-system gnu-build-system)
729 `(("mkfontdir" ,mkfontdir)
730 ("font-util" ,font-util)
731 ("bdftopcf" ,bdftopcf)))
733 `(("pkg-config" ,pkg-config)))
735 `(#:configure-flags (list
736 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
737 (home-page "https://www.x.org/wiki/")
738 (synopsis "Xorg misc-misc fonts")
739 (description "Xorg misc-misc fixed fonts.")
740 (license license:public-domain)))
743 (define-public font-mutt-misc
745 (name "font-mutt-misc")
747 (source (xorg-font-origin
749 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
750 (build-system gnu-build-system)
752 `(("mkfontdir" ,mkfontdir)
753 ("bdftopcf" ,bdftopcf)))
755 `(("pkg-config" ,pkg-config)))
756 (home-page "https://www.x.org/wiki/")
757 (synopsis "Xorg mutt-misc fonts")
758 (description "Xorg mutt-misc fonts.")
759 (license license:x11)))
762 (define-public font-schumacher-misc
764 (name "font-schumacher-misc")
766 (source (xorg-font-origin
768 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
769 (build-system gnu-build-system)
771 `(("mkfontdir" ,mkfontdir)
772 ("font-util" ,font-util)
773 ("bdftopcf" ,bdftopcf)))
775 `(("pkg-config" ,pkg-config)))
777 `(#:configure-flags (list
778 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
779 (home-page "https://www.x.org/wiki/")
780 (synopsis "Xorg schumacher-misc fonts")
781 (description "Xorg schumacher-misc fonts.")
782 (license license:x11)))
785 (define-public font-screen-cyrillic
787 (name "font-screen-cyrillic")
789 (source (xorg-font-origin
791 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
792 (build-system gnu-build-system)
794 `(("mkfontdir" ,mkfontdir)
795 ("bdftopcf" ,bdftopcf)))
797 `(("pkg-config" ,pkg-config)))
798 (home-page "https://www.x.org/wiki/")
799 (synopsis "Xorg screen-cyrillic fonts")
800 (description "Xorg screen-cyrillic fonts.")
801 (license license:x11)))
804 (define-public font-sony-misc
806 (name "font-sony-misc")
808 (source (xorg-font-origin
810 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
811 (build-system gnu-build-system)
813 `(("mkfontdir" ,mkfontdir)
814 ("bdftopcf" ,bdftopcf)))
816 `(("pkg-config" ,pkg-config)))
817 (home-page "https://www.x.org/wiki/")
818 (synopsis "Xorg sony-misc fonts")
819 (description "Xorg sony-misc fonts.")
820 (license license:x11)))
823 (define-public font-sun-misc
825 (name "font-sun-misc")
827 (source (xorg-font-origin
829 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
830 (build-system gnu-build-system)
832 `(("mkfontdir" ,mkfontdir)
833 ("bdftopcf" ,bdftopcf)))
835 `(("pkg-config" ,pkg-config)))
836 (home-page "https://www.x.org/wiki/")
837 (synopsis "Xorg sun-misc fonts")
838 (description "Xorg sun-misc fonts.")
839 (license license:x11)))
842 (define-public font-util
850 "mirror://xorg/individual/font/font-util-"
854 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
855 (build-system gnu-build-system)
856 (native-inputs `(("pkg-config" ,pkg-config)))
857 (home-page "https://www.x.org/wiki/")
858 (synopsis "Xorg font utilities")
860 "Xorg font package creation/installation utilities.")
861 (license license:x11)))
864 (define-public font-winitzki-cyrillic
866 (name "font-winitzki-cyrillic")
868 (source (xorg-font-origin
870 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
871 (build-system gnu-build-system)
873 `(("mkfontdir" ,mkfontdir)
874 ("bdftopcf" ,bdftopcf)))
876 `(("pkg-config" ,pkg-config)))
877 (home-page "https://www.x.org/wiki/")
878 (synopsis "Xorg winitzki-cyrillic font")
879 (description "Xorg winitzki-cyrillic font.")
880 (license license:public-domain)))
883 (define-public font-xfree86-type1
885 (name "font-xfree86-type1")
887 (source (xorg-font-origin
889 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
890 (build-system gnu-build-system)
892 `(("mkfontdir" ,mkfontdir)
893 ("mkfontscale" ,mkfontscale)))
895 `(("pkg-config" ,pkg-config)))
896 (home-page "https://www.x.org/wiki/")
897 (synopsis "Xorg xfree86-type1 font")
898 (description "Xorg xfree86-type1 font.")
899 (license license:x11)))
902 (define-public fontsproto
910 "mirror://xorg/individual/proto/fontsproto-"
915 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
916 (build-system gnu-build-system)
917 (native-inputs `(("pkg-config" ,pkg-config)))
918 (home-page "https://www.x.org/wiki/")
919 (synopsis "Xorg FontsProto protocol headers")
921 "Fonts Extension contains header files and documentation for
922 the fonts protocol.")
923 (license license:x11)
924 (properties `((superseded . ,xorgproto)))))
926 (define-public glproto
934 "mirror://xorg/individual/proto/glproto-"
939 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
940 (build-system gnu-build-system)
941 (native-inputs `(("pkg-config" ,pkg-config)))
942 (home-page "https://www.x.org/wiki/")
943 (synopsis "Xorg GLProto protocol headers")
945 "OpenGL Extension defines a protocol for the client to send 3D
946 rendering commands to the X server.")
947 (license license:x11)
948 (properties `((superseded . ,xorgproto)))))
950 (define-public iceauth
958 "mirror://xorg/individual/app/iceauth-"
963 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
964 (build-system gnu-build-system)
966 `(("libice" ,libice)))
968 `(("pkg-config" ,pkg-config)))
969 (home-page "https://www.x.org/wiki/")
970 (synopsis "ICE authority file utility")
972 "ICEAuth program is used to edit and display the authorization
973 information used in connecting with ICE (Inter-Client Exchange). It
974 operates very much like the xauth program for X11 connection
975 authentication records.")
976 (license license:x11)))
979 (define-public inputproto
987 "mirror://xorg/individual/proto/inputproto-"
992 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
993 (build-system gnu-build-system)
994 (native-inputs `(("pkg-config" ,pkg-config)))
995 (home-page "https://www.x.org/wiki/")
996 (synopsis "Xorg InputProto protocol headers")
998 "Input Extension defines a protocol to provide additional input
999 devices management such as graphic tablets.")
1000 (license license:x11)
1001 (properties `((superseded . ,xorgproto)))))
1003 (define-public kbproto
1011 "mirror://xorg/individual/proto/kbproto-"
1016 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
1017 (build-system gnu-build-system)
1018 (native-inputs `(("pkg-config" ,pkg-config)))
1019 (home-page "https://www.x.org/wiki/")
1020 (synopsis "Xorg KBProto protocol headers")
1022 "X Keyboard (XKB) Extension defines a protocol to provide a number
1023 of new capabilities and controls for text keyboards.")
1024 (license license:x11)
1025 (properties `((superseded . ,xorgproto)))))
1027 ;; requires applewmproto, which compiles only on macos
1028 ;; (define-public libapplewm
1031 (define-public libdmx
1039 "mirror://xorg/individual/lib/libdmx-"
1044 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
1045 (build-system gnu-build-system)
1047 '(#:configure-flags '("--disable-static")))
1049 `(("xorgproto" ,xorgproto)
1050 ("libxext" ,libxext)
1051 ("libx11" ,libx11)))
1053 `(("pkg-config" ,pkg-config)))
1054 (home-page "https://www.x.org/wiki/")
1055 (synopsis "Xorg DMX library")
1057 "DMX (Distributed Multihead X) extension library.")
1058 (license license:x11)))
1061 (define-public libxshmfence
1063 (name "libxshmfence")
1068 "mirror://xorg/individual/lib/"
1069 name "-" version ".tar.bz2"))
1072 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
1073 (build-system gnu-build-system)
1075 '(#:configure-flags '("--disable-static")))
1076 (native-inputs `(("pkg-config" ,pkg-config)))
1077 (inputs `(("xorgproto" ,xorgproto)))
1078 (home-page "https://www.x.org/")
1079 (synopsis "Xorg shared memory fences library")
1081 "This library provides an interface to shared-memory fences for
1082 synchronization between the X server and direct-rendering clients.")
1084 ;; Same license as libevdev.
1085 (license (license:x11-style "file://COPYING"))))
1088 (define-public libfontenc
1096 "mirror://xorg/individual/lib/libfontenc-"
1101 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
1102 (build-system gnu-build-system)
1104 '(#:configure-flags '("--disable-static")))
1107 ("xorgproto" ,xorgproto)))
1109 `(("pkg-config" ,pkg-config)))
1110 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
1111 (synopsis "Xorg font encoding library")
1112 (description "Xorg font encoding library.")
1113 (license license:x11)))
1116 (define-public libfs
1124 "mirror://xorg/individual/lib/libFS-"
1128 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
1129 (build-system gnu-build-system)
1131 `(("xtrans" ,xtrans)
1132 ("xorgproto" ,xorgproto)))
1134 `(("pkg-config" ,pkg-config)))
1135 (home-page "https://www.x.org/wiki/")
1136 (synopsis "Xorg Font Service client library")
1138 "Font Service client library is used by clients of X Font
1139 Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1141 (license license:x11)))
1144 (define-public libpciaccess
1146 (name "libpciaccess")
1152 "mirror://xorg/individual/lib/libpciaccess-"
1157 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
1158 (build-system gnu-build-system)
1160 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1161 ;; provided by pciutils.
1164 (string-append "--with-pciids-path="
1165 (assoc-ref %build-inputs "pciutils")
1169 (modify-phases %standard-phases
1170 (add-after 'install 'add-L-zlib
1171 (lambda* (#:key inputs outputs #:allow-other-keys)
1172 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1173 (let ((zlib (assoc-ref inputs "zlib"))
1174 (out (assoc-ref outputs "out")))
1175 (substitute* (string-append out "/lib/libpciaccess.la")
1177 (string-append "-L" zlib "/lib -lz")))
1181 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
1183 `(("pkg-config" ,pkg-config)))
1184 (home-page "https://www.x.org/wiki/")
1185 (synopsis "Xorg PCI access library")
1186 (description "Xorg Generic PCI access library.")
1187 (license license:x11)))
1190 (define-public libpthread-stubs
1192 (name "libpthread-stubs")
1198 "mirror://xorg/individual/xcb/libpthread-stubs-"
1203 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
1204 (build-system gnu-build-system)
1205 (native-inputs `(("pkg-config" ,pkg-config)))
1206 (home-page "https://www.x.org/wiki/")
1207 (synopsis "Library with pthread stubs")
1209 "This library provides weak aliases for pthread functions not
1210 provided in libc or otherwise available by default. Libraries like
1211 libxcb rely on pthread stubs to use pthreads optionally, becoming
1212 thread-safe when linked to libpthread, while avoiding any performance
1213 hit when running single-threaded.")
1214 (license license:x11)))
1217 (define-public libsm
1225 "mirror://xorg/individual/lib/libSM-"
1230 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
1231 (build-system gnu-build-system)
1233 '(#:configure-flags '("--disable-static")))
1235 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
1237 `(("xtrans" ,xtrans)
1238 ("libuuid" ,util-linux "lib")))
1240 `(("pkg-config" ,pkg-config)))
1241 (home-page "https://www.x.org/wiki/")
1242 (synopsis "Xorg Session Management library")
1243 (description "Xorg Session Management library.")
1244 (license license:x11)))
1247 (define-public libwindowswm
1249 (name "libwindowswm")
1255 "mirror://xorg/individual/lib/libWindowsWM-"
1260 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1261 (build-system gnu-build-system)
1263 `(("xorgproto" ,xorgproto)
1264 ("libxext" ,libxext)
1265 ("libx11" ,libx11)))
1267 `(("pkg-config" ,pkg-config)))
1268 (home-page "https://www.x.org/wiki/")
1269 (synopsis "Xorg WindowsWM library")
1271 "Cygwin/X rootless window management extension.
1272 WindowsWM is a simple library designed to interface with the Windows-WM
1273 extension. This extension allows X window managers to better interact
1274 with the Cygwin XWin server when running X11 in a rootless mode.")
1275 (license license:x11)))
1278 (define-public libxcomposite
1280 (name "libxcomposite")
1286 "mirror://xorg/individual/lib/libXcomposite-"
1291 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
1292 (build-system gnu-build-system)
1294 '(#:configure-flags '("--disable-static")))
1296 ;; xcomposite.pc refers to all these.
1297 `(("xorgproto" ,xorgproto)
1298 ("libxfixes" ,libxfixes)
1299 ("libx11" ,libx11)))
1301 `(("pkg-config" ,pkg-config)))
1302 (home-page "https://www.x.org/wiki/")
1303 (synopsis "Xorg Composite library")
1305 "Client library for the Composite extension to the X11 protocol.")
1306 (license license:x11)))
1309 (define-public libxdmcp
1317 "mirror://xorg/individual/lib/libXdmcp-"
1322 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
1323 (build-system gnu-build-system)
1325 '(#:configure-flags '("--disable-static")))
1327 `(("libbsd" ,libbsd)
1328 ("xorgproto" ,xorgproto)))
1330 `(("pkg-config" ,pkg-config)))
1331 (home-page "https://www.x.org/wiki/")
1332 (synopsis "Xorg Display Manager Control Protocol library")
1333 (description "Xorg Display Manager Control Protocol library.")
1334 (license license:x11)))
1337 (define-public libxft
1345 "mirror://xorg/individual/lib/libXft-"
1350 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
1351 (build-system gnu-build-system)
1353 '(#:configure-flags '("--disable-static")))
1355 ;; xft.pc refers to all these.
1356 `(("libxrender" ,libxrender)
1357 ("freetype" ,freetype)
1358 ("fontconfig" ,fontconfig)))
1360 `(("libx11" ,libx11)
1361 ("xorgproto" ,xorgproto)))
1363 `(("pkg-config" ,pkg-config)))
1364 (home-page "https://www.x.org/wiki/")
1365 (synopsis "Xorg FreeType library")
1367 "Xorg FreeType library connects X applications with the FreeType font
1368 rasterization library. Xft uses fontconfig to locate fonts so it has no
1369 configuration files.")
1370 (license license:x11)))
1373 (define-public libxkbfile
1381 "mirror://xorg/individual/lib/libxkbfile-"
1386 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
1387 (build-system gnu-build-system)
1389 '(#:configure-flags '("--disable-static")))
1391 `(("libx11" ,libx11)))
1393 `(("pkg-config" ,pkg-config)))
1394 (home-page "https://www.x.org/wiki/")
1395 (synopsis "Xorg XKB file handling library")
1396 (description "Xorg XKB file handling library.")
1397 (license license:x11)))
1400 (define-public libxmu
1408 "mirror://xorg/individual/lib/libXmu-"
1413 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
1414 (build-system gnu-build-system)
1416 '(#:configure-flags '("--disable-static")))
1419 ("xorgproto" ,xorgproto)
1420 ("libxext" ,libxext)))
1422 `(("pkg-config" ,pkg-config)))
1423 (home-page "https://www.x.org/wiki/")
1424 (synopsis "Xorg Xmu library")
1426 "Xmu library contains miscellaneous utilities and is not part of the
1427 Xlib standard. It is intended to support clients in the Xorg distribution;
1428 vendors may choose not to distribute this library if they wish. Therefore,
1429 applications developers who depend on this library should be prepared to
1430 treat it as part of their software base when porting.")
1431 (license license:x11)))
1434 (define-public libxpm
1442 "mirror://xorg/individual/lib/libXpm-"
1447 "09dc6nwlb2122h02vl64k9x56mxnyqz2gwpga0abfv4bb1bxmlcw"))))
1448 (build-system gnu-build-system)
1450 '(#:configure-flags '("--disable-static")))
1453 ("xorgproto" ,xorgproto)
1454 ("libxext" ,libxext)))
1456 `(("gettext" ,gettext-minimal)
1457 ("pkg-config" ,pkg-config)))
1458 (home-page "https://www.x.org/wiki/")
1459 (synopsis "Xorg XPM library")
1460 (description "XPM (X Pixmap) image file format library.")
1461 (license license:x11)))
1464 (define-public libxres
1472 "mirror://xorg/individual/lib/libXres-"
1477 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
1478 (build-system gnu-build-system)
1480 '(#:configure-flags '("--disable-static")))
1482 `(("xorgproto" ,xorgproto)
1483 ("libxext" ,libxext)
1484 ("libx11" ,libx11)))
1486 `(("pkg-config" ,pkg-config)))
1487 (home-page "https://www.x.org/wiki/")
1488 (synopsis "Xorg Resource extension library")
1489 (description "X Resource extension library.")
1490 (license license:x11)))
1493 (define-public libxscrnsaver
1495 (name "libxscrnsaver")
1501 "mirror://xorg/individual/lib/libXScrnSaver-"
1506 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
1507 (build-system gnu-build-system)
1509 '(#:configure-flags '("--disable-static")))
1511 `(("libxext" ,libxext)
1512 ("libx11" ,libx11)))
1514 `(("xorgproto" ,xorgproto)))
1516 `(("pkg-config" ,pkg-config)))
1517 (home-page "https://www.x.org/wiki/")
1518 (synopsis "Xorg Screen Saver library")
1519 (description "X11 Screen Saver extension client library.")
1520 (license license:x11)))
1523 (define-public libxxf86dga
1525 (name "libxxf86dga")
1530 (uri (string-append "mirror://xorg/individual/lib/"
1531 "libXxf86dga-" version ".tar.bz2"))
1533 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
1534 (build-system gnu-build-system)
1536 '(#:configure-flags '("--disable-static")))
1538 `(("xorgproto" ,xorgproto)))
1540 `(("libx11" ,libx11)
1541 ("libxext" ,libxext)))
1543 `(("pkg-config" ,pkg-config)))
1544 (home-page "https://www.x.org/wiki/")
1545 (synopsis "Xorg XFree86-DGA library")
1546 (description "Client library for the XFree86-DGA extension.")
1547 (license license:x11)))
1558 "mirror://xorg/individual/app/luit-"
1563 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1564 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1565 ;; should become obsolete with the next release.
1566 (patches (search-patches "luit-posix.patch"))))
1567 (build-system gnu-build-system)
1569 `(("libfontenc" ,libfontenc)))
1571 `(("pkg-config" ,pkg-config)))
1572 (home-page "https://www.x.org/wiki/")
1573 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1575 "Luit is a filter that can be run between an arbitrary application and
1576 a UTF-8 terminal emulator such as xterm. It will convert application
1577 output from the locale's encoding into UTF-8, and convert terminal
1578 input from UTF-8 into the locale's encoding.")
1579 (license license:x11)))
1582 (define-public makedepend
1590 "mirror://xorg/individual/util/makedepend-"
1595 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
1596 (build-system gnu-build-system)
1598 `(("xorgproto" ,xorgproto)))
1599 (native-inputs `(("pkg-config" ,pkg-config)))
1600 (home-page "https://www.x.org/wiki/")
1601 (synopsis "Xorg makedepend utility")
1603 "Makedepend is an utility for creating dependencies in makefiles.")
1604 (license license:x11)))
1607 (define-public mkfontscale
1609 (name "mkfontscale")
1615 "mirror://xorg/individual/app/mkfontscale-"
1619 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
1620 (build-system gnu-build-system)
1623 ("xorgproto" ,xorgproto)
1624 ("freetype" ,freetype)
1625 ("libfontenc" ,libfontenc)))
1627 `(("pkg-config" ,pkg-config)))
1628 (home-page "https://www.x.org/wiki/")
1629 (synopsis "Create an index of scalable font files for X server")
1631 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1632 files used by the legacy X11 font system.")
1633 (license license:x11)))
1636 (define-public presentproto
1638 (name "presentproto")
1644 "mirror://xorg/individual/proto/presentproto-"
1649 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
1650 (build-system gnu-build-system)
1651 (home-page "https://www.x.org/wiki/")
1652 (synopsis "Xorg PresentProto protocol headers")
1654 "Present Extension provides a way for applications to update their
1655 window contents from a pixmap in a well defined fashion, synchronizing
1656 with the display refresh and potentially using a more efficient
1657 mechanism than copying the contents of the source pixmap.")
1658 (license (license:x11-style "file://presentproto.h"
1659 "See 'presentproto.h' in the distribution."))
1660 (properties `((superseded . ,xorgproto)))))
1662 (define-public printproto
1670 "mirror://xorg/individual/proto/printproto-"
1675 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1676 (build-system gnu-build-system)
1677 (native-inputs `(("pkg-config" ,pkg-config)))
1678 (home-page "https://www.x.org/wiki/")
1679 (synopsis "Xorg PrintProto protocol headers")
1681 "Print Extension defines a protocol for a portable,
1682 network-transparent printing system.")
1683 (license license:x11)))
1686 (define-public randrproto
1694 "mirror://xorg/individual/proto/randrproto-"
1699 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
1700 (build-system gnu-build-system)
1701 (native-inputs `(("pkg-config" ,pkg-config)))
1702 (home-page "https://www.x.org/wiki/")
1703 (synopsis "Xorg RandRProto protocol headers")
1705 "Resize and Rotate Extension defines a protocol for clients to
1706 dynamically change X screens, so as to resize, rotate and reflect the root
1707 window of a screen.")
1708 (license license:x11)
1709 (properties `((superseded . ,xorgproto)))))
1712 (define-public recordproto
1714 (name "recordproto")
1720 "mirror://xorg/individual/proto/recordproto-"
1725 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1726 (build-system gnu-build-system)
1727 (native-inputs `(("pkg-config" ,pkg-config)))
1728 (home-page "https://www.x.org/wiki/")
1729 (synopsis "Xorg RecordProto protocol headers")
1731 "Record Extension defines a protocol for the recording and playback
1732 of user actions in the X Window System.")
1733 (license license:x11)
1734 (properties `((superseded . ,xorgproto)))))
1736 (define-public renderproto
1738 (name "renderproto")
1744 "mirror://xorg/individual/proto/renderproto-"
1749 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1750 (build-system gnu-build-system)
1751 (native-inputs `(("pkg-config" ,pkg-config)))
1752 (home-page "https://www.x.org/wiki/")
1753 (synopsis "Xorg RenderProto protocol headers")
1755 "Rendering Extension defines a protocol for a digital image composition
1756 as the foundation of a new rendering model within the X Window System.")
1757 (license license:x11)
1758 (properties `((superseded . ,xorgproto)))))
1760 (define-public resourceproto
1762 (name "resourceproto")
1768 "mirror://xorg/individual/proto/resourceproto-"
1773 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1774 (build-system gnu-build-system)
1775 (native-inputs `(("pkg-config" ,pkg-config)))
1776 (home-page "https://www.x.org/wiki/")
1777 (synopsis "Xorg ResourceProto protocol headers")
1779 "Resource Extension defines a protocol that allows a client to
1780 query the X server about its usage of various resources.")
1781 (license license:x11)
1782 (properties `((superseded . ,xorgproto)))))
1784 (define-public scrnsaverproto
1786 (name "scrnsaverproto")
1792 "mirror://xorg/individual/proto/scrnsaverproto-"
1797 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1798 (build-system gnu-build-system)
1799 (native-inputs `(("pkg-config" ,pkg-config)))
1800 (home-page "https://www.x.org/wiki/")
1801 (synopsis "Xorg ScrnSaverProto protocol headers")
1803 "Screen Saver Extension defines a protocol to control screensaver
1804 features and to query screensaver info on specific windows.")
1805 (license license:x11)
1806 (properties `((superseded . ,xorgproto)))))
1808 (define-public sessreg
1816 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1818 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
1819 (build-system gnu-build-system)
1821 `(("xorgproto" ,xorgproto)))
1823 `(("pkg-config" ,pkg-config)))
1824 (home-page "https://www.x.org/wiki/")
1825 (synopsis "Register X sessions in system utmp/utmpx databases")
1827 "SessReg is a simple program for managing utmp/wtmp entries for X
1828 sessions. It was originally written for use with xdm, but may also be
1829 used with other display managers such as gdm or kdm.")
1830 (license license:x11)))
1833 (define-public setxkbmap
1841 "mirror://xorg/individual/app/setxkbmap-"
1846 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
1847 (build-system gnu-build-system)
1849 `(("libxkbfile" ,libxkbfile)
1850 ("xkeyboard-config" ,xkeyboard-config)
1851 ("libx11" ,libx11)))
1853 `(("pkg-config" ,pkg-config)))
1856 (list (string-append "--with-xkb-config-root="
1857 (assoc-ref %build-inputs "xkeyboard-config")
1858 "/share/X11/xkb"))))
1859 (home-page "https://www.x.org/wiki/")
1860 (synopsis "Set the keyboard using the X Keyboard Extension")
1862 "Setxkbmap is an X11 client to change the keymaps in the X server
1863 for a specified keyboard to use the layout determined by the options
1864 listed on the command line.")
1865 (license license:x11)))
1868 (define-public smproxy
1876 "mirror://xorg/individual/app/smproxy-"
1881 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
1882 (build-system gnu-build-system)
1885 ("libxmu" ,libxmu)))
1887 `(("pkg-config" ,pkg-config)))
1888 (home-page "https://www.x.org/wiki/")
1889 (synopsis "Session Manager Proxy")
1891 "SMProxy allows X applications that do not support X11R6 session
1892 management to participate in an X11R6 session.")
1893 (license license:x11)))
1896 (define-public util-macros
1898 (name "util-macros")
1904 "mirror://xorg/individual/util/util-macros-"
1909 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
1910 (build-system gnu-build-system)
1911 (native-inputs `(("pkg-config" ,pkg-config)))
1914 (modify-phases %standard-phases
1915 (add-after 'unpack 'fix-makefile-in
1917 (substitute* "Makefile.in"
1918 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1919 ;; not PREFIX/share/pkgconfig.
1920 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1922 (add-after 'install 'post-install-cleanup
1923 (lambda* (#:key outputs #:allow-other-keys)
1924 (let ((out (assoc-ref outputs "out")))
1925 (with-directory-excursion out
1926 (delete-file "share/util-macros/INSTALL")
1927 (rmdir "share/util-macros"))
1929 (home-page "https://www.x.org/wiki/")
1930 (synopsis "Xorg autoconf macros")
1932 "This package provides a set of autoconf macros used by the
1933 configure.ac scripts in other Xorg modular packages, and is needed to
1934 generate new versions of their configure scripts with autoconf.")
1935 (license license:x11)))
1938 (define-public videoproto
1946 "mirror://xorg/individual/proto/videoproto-"
1951 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
1952 (build-system gnu-build-system)
1953 (native-inputs `(("pkg-config" ,pkg-config)))
1954 (home-page "https://www.x.org/wiki/")
1955 (synopsis "Xorg VideoProto protocol headers")
1957 "Video Extension provides a protocol for a video output mechanism,
1958 mainly to rescale video playback in the video controller hardware.")
1959 (license license:x11)
1960 (properties `((superseded . ,xorgproto)))))
1962 (define-public windowswmproto
1964 (name "windowswmproto")
1970 "mirror://xorg/individual/proto/windowswmproto-"
1975 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
1976 (build-system gnu-build-system)
1977 (native-inputs `(("pkg-config" ,pkg-config)))
1978 (home-page "https://www.x.org/wiki/")
1979 (synopsis "Xorg WindowsWMProto protocol headers")
1981 "WindowsWM Extension defines a protocol, used for coordination between
1982 an X11 server and the Microsoft Windows native window manager. WindowsWM
1983 is only intended to be used on Cygwin when running a rootless XWin
1985 (license license:x11)
1986 (properties `((superseded . ,xorgproto)))))
1988 (define-public x11perf
1996 "mirror://xorg/individual/app/x11perf-"
2001 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
2002 (build-system gnu-build-system)
2004 `(("libx11" ,libx11)
2007 ("libxrender" ,libxrender)))
2009 `(("pkg-config" ,pkg-config)))
2010 (home-page "https://www.x.org/wiki/")
2011 (synopsis "X server performance benchmarker")
2013 "X11Perf is a simple performance benchmarker for the Xorg X server.")
2014 (license license:x11)))
2017 (define-public xauth
2024 (uri (string-append "mirror://xorg/individual/app/xauth-" version
2027 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
2028 (build-system gnu-build-system)
2030 `(("libxmu" ,libxmu)
2031 ("libxext" ,libxext)
2033 ("libx11" ,libx11)))
2035 `(("cmdtest" ,cmdtest)
2036 ("pkg-config" ,pkg-config)))
2037 (home-page "https://www.x.org/wiki/")
2038 (synopsis "X authority file utility")
2040 "XAuth program is used to edit and display the authorization
2041 information used in connecting to the X server.")
2042 (license license:x11)))
2045 (define-public xbacklight
2053 "mirror://xorg/individual/app/xbacklight-"
2058 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
2059 (build-system gnu-build-system)
2061 `(("libxcb" ,libxcb)
2062 ("xcb-util" ,xcb-util)))
2064 `(("pkg-config" ,pkg-config)))
2065 (home-page "https://www.x.org/wiki/")
2066 (synopsis "Control display backlight")
2068 "Xbacklight is used to adjust the backlight brightness where
2069 supported. It uses the RandR extension to find all outputs on the X
2070 server supporting backlight brightness control and changes them all in
2072 (license license:x11)))
2075 (define-public xbitmaps
2083 "mirror://xorg/individual/data/xbitmaps-"
2088 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
2089 (build-system gnu-build-system)
2090 (native-inputs `(("pkg-config" ,pkg-config)))
2091 (home-page "https://www.x.org/wiki/")
2092 (synopsis "X bitmaps")
2094 "xbitmaps provides basic bitmaps (little pictures) used by some
2096 (license license:x11)))
2098 (define-public xcalc
2105 (uri (string-append "mirror://xorg/individual/app/"
2106 "xcalc-" version ".tar.gz"))
2108 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
2109 (build-system gnu-build-system)
2111 `(#:phases (modify-phases %standard-phases
2113 'configure 'mutate-makefile
2115 (substitute* "Makefile"
2116 (("^appdefaultdir = .*$")
2117 (string-append "appdefaultdir = " %output
2118 ,%app-defaults-dir "\n")))
2121 `(("libxaw" ,libxaw)))
2123 `(("pkg-config" ,pkg-config)))
2124 (home-page "https://www.x.org/wiki/")
2125 (synopsis "Hand calculator for the X Window system")
2126 (description "Xcalc is a scientific calculator desktop accessory that can
2127 emulate a TI-30 or an HP-10C.")
2128 (license license:x11)))
2131 (define-public xcb-proto
2139 "https://xcb.freedesktop.org/dist/xcb-proto-"
2143 "01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))))
2144 (build-system gnu-build-system)
2146 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
2147 (home-page "https://xcb.freedesktop.org/")
2148 (synopsis "XML-XCB protocol descriptions")
2150 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2151 uses to generate the majority of its code and API. XCB-Proto is
2152 separated from libxcb to allow reuse by other projects, such as
2153 additional language bindings, protocol dissectors, or documentation
2156 XCB-Proto also contains language-independent Python libraries that are
2157 used to parse an XML description and create objects used by Python code
2158 generators in individual language bindings.")
2159 (license license:x11)))
2162 (define-public xcmiscproto
2164 (name "xcmiscproto")
2170 "mirror://xorg/individual/proto/xcmiscproto-"
2175 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2176 (build-system gnu-build-system)
2177 (native-inputs `(("pkg-config" ,pkg-config)))
2178 (home-page "https://www.x.org/wiki/")
2179 (synopsis "Xorg XCMiscProto protocol headers")
2181 "XC-MISC Extension defines a protocol that provides Xlib two ways
2182 to query the server for available resource IDs.")
2183 (license license:x11)
2184 (properties `((superseded . ,xorgproto)))))
2186 (define-public xcmsdb
2194 "mirror://xorg/individual/app/xcmsdb-"
2199 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
2200 (build-system gnu-build-system)
2202 `(("libx11" ,libx11)))
2204 `(("pkg-config" ,pkg-config)))
2205 (home-page "https://www.x.org/wiki/")
2206 (synopsis "Device Color Characterization utility")
2208 "XCMSDB is used to load, query, or remove Device Color
2209 Characterization data stored in properties on the root window of the
2210 screen as specified in section 7, Device Color Characterization, of the
2211 X11 Inter-Client Communication Conventions Manual (ICCCM).")
2212 (license license:x11)))
2215 (define-public xcursor-themes
2217 (name "xcursor-themes")
2223 "mirror://xorg/individual/data/xcursor-themes-"
2228 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
2229 (build-system gnu-build-system)
2231 `(("libxcursor" ,libxcursor)
2232 ("xcursorgen" ,xcursorgen)))
2234 `(("pkg-config" ,pkg-config)))
2237 (list (string-append "--with-cursordir="
2238 (assoc-ref %outputs "out")
2240 (home-page "https://www.x.org/wiki/")
2241 (synopsis "Default Xorg cursors")
2243 "This package provides a default set of cursor themes for the Xorg
2244 X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
2245 (license license:x11)))
2248 (define-public xcursorgen
2256 "mirror://xorg/individual/app/xcursorgen-"
2261 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
2262 (build-system gnu-build-system)
2264 `(("libxcursor" ,libxcursor)
2265 ("libpng" ,libpng)))
2267 `(("pkg-config" ,pkg-config)))
2268 (home-page "https://www.x.org/wiki/")
2269 (synopsis "Create an X cursor file from PNG images")
2271 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
2272 (license license:x11)))
2275 (define-public xdpyinfo
2283 "mirror://xorg/individual/app/xdpyinfo-"
2288 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
2289 (build-system gnu-build-system)
2291 `(("xorgproto" ,xorgproto)
2293 ("libxxf86vm" ,libxxf86vm)
2294 ("libxxf86dga" ,libxxf86dga)
2295 ("libxtst" ,libxtst)
2296 ("libxrender" ,libxrender)
2297 ("libxinerama" ,libxinerama)
2299 ("libxcomposite" ,libxcomposite)
2300 ("libdmx" ,libdmx)))
2302 `(("pkg-config" ,pkg-config)))
2303 (home-page "https://www.x.org/wiki/")
2304 (synopsis "Xorg display information utility")
2306 "Xdpyinfo is used to display information about an X server: the
2307 capabilities of a server, the predefined values for various parameters
2308 used in communicating between clients and the server, and the different
2309 types of screens, visuals, and X11 protocol extensions that are
2311 (license license:x11)))
2314 (define-public xdriinfo
2322 "mirror://xorg/individual/app/xdriinfo-"
2327 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
2328 (build-system gnu-build-system)
2331 ("libx11" ,libx11)))
2333 `(("pkg-config" ,pkg-config)))
2334 (home-page "https://www.x.org/wiki/")
2335 (synopsis "Query DRI configuration information")
2337 "XDRIInfo is used to query configuration information of X11
2338 DRI (Direct Rendering Infrastructure) drivers.")
2339 (license license:x11)))
2350 "mirror://xorg/individual/app/xev-"
2355 "02ddsdx138g7szhwklpbzi0cxr34871iay3k28kdcihrz8f4zg36"))))
2356 (build-system gnu-build-system)
2358 `(("libxrender" ,libxrender)
2359 ("libxrandr" ,libxrandr)
2360 ("xorgproto" ,xorgproto)
2361 ("libx11" ,libx11)))
2363 `(("pkg-config" ,pkg-config)))
2364 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
2365 (synopsis "Print contents of X events")
2367 "XEv creates a window and then asks the X server to send it X11
2368 events whenever anything happens to the window (such as it being moved,
2369 resized, typed in, clicked in, etc.). You can also attach it to an
2370 existing window. It is useful for seeing what causes events to occur
2371 and to display the information that they contain; it is essentially a
2372 debugging and development tool, and should not be needed in normal
2374 (license license:x11)))
2377 (define-public xextproto
2385 "mirror://xorg/individual/proto/xextproto-"
2390 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
2391 (build-system gnu-build-system)
2392 (native-inputs `(("pkg-config" ,pkg-config)))
2393 (home-page "https://www.x.org/wiki/")
2394 (synopsis "Xorg XExtProto protocol headers")
2396 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2397 Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2398 MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2399 XC-APPGROUP, XTEST.")
2400 (license license:x11)
2401 (properties `((superseded . ,xorgproto)))))
2403 (define-public libevdev
2410 (uri (string-append "https://www.freedesktop.org/software/" name "/"
2411 name "-" version ".tar.xz"))
2414 "04a2klvii0in9ln8r85mk2cm73jq8ry2m3yzmf2z8xyjxzjcmlr0"))))
2415 (build-system gnu-build-system)
2417 `(#:configure-flags '("--disable-static")
2418 #:phases (modify-phases %standard-phases
2419 (add-before 'configure 'pedantry
2421 ;; XXX: libevdev includes kernel headers, which causes this
2422 ;; compile test to fail with:
2423 ;; ...-headers-4.14.67/include/asm-generic/posix_types.h:88:14:
2424 ;;error: ISO C90 does not support ‘long long’ [-Werror=long-long]
2425 (substitute* "test/Makefile.in"
2426 (("-pedantic -Werror -std=c89")
2427 "-pedantic -Werror -std=c99"))
2429 (native-inputs `(("python" ,python)))
2430 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
2431 (synopsis "Wrapper library for evdev devices")
2433 "libevdev is a wrapper library for evdev devices. it moves the common
2434 tasks when dealing with evdev devices into a library and provides a library
2435 interface to the callers, thus avoiding erroneous ioctls, etc.
2437 The eventual goal is that libevdev wraps all ioctls available to evdev
2438 devices, thus making direct access unnecessary.")
2439 (license (license:x11-style "file://COPYING"))))
2442 (define-public xf86-input-evdev
2444 (name "xf86-input-evdev")
2450 "mirror://xorg/individual/driver/xf86-input-evdev-"
2455 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
2456 (build-system gnu-build-system)
2459 ("libevdev" ,libevdev)
2461 ("xorg-server" ,xorg-server)))
2462 (native-inputs `(("pkg-config" ,pkg-config)))
2465 (list (string-append "--with-sdkdir="
2466 (assoc-ref %outputs "out")
2468 (home-page "https://www.x.org/wiki/")
2469 (synopsis "Generic input driver for X server")
2471 "xf86-input-evdev is a generic input driver for the Xorg X server.
2472 This driver supports all input devices that the kernel knows about,
2473 including most mice, keyboards, tablets and touchscreens.")
2474 (license license:x11)))
2476 (define-public xf86-input-libinput
2478 (name "xf86-input-libinput")
2483 "mirror://xorg/individual/driver/"
2484 name "-" version ".tar.bz2"))
2487 "0818vr0yhk9j1y1wcbxzcd458vrvp06rrhi8k43bhqkb5jb4dcxq"))))
2488 (build-system gnu-build-system)
2491 (list (string-append "--with-sdkdir="
2492 %output "/include/xorg"))))
2494 `(("pkg-config" ,pkg-config)))
2496 `(("libinput" ,libinput)
2497 ("xorg-server" ,xorg-server)))
2498 (home-page "https://www.x.org/wiki/")
2499 (synopsis "Input driver for X server based on libinput")
2501 "xf86-input-libinput is an input driver for the Xorg X server based
2502 on libinput. It is a thin wrapper around libinput, so while it does
2503 provide all features that libinput supports it does little beyond.")
2504 (license license:x11)))
2506 (define-public xf86-input-joystick
2508 (name "xf86-input-joystick")
2514 "mirror://xorg/individual/driver/xf86-input-joystick-"
2519 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
2520 (build-system gnu-build-system)
2521 (inputs `(("xorg-server" ,xorg-server)))
2522 (native-inputs `(("pkg-config" ,pkg-config)))
2525 (list (string-append "--with-sdkdir="
2526 (assoc-ref %outputs "out")
2528 (home-page "https://www.x.org/wiki/")
2529 (synopsis "Joystick input driver for X server")
2531 "xf86-input-joystick is a joystick input driver for the Xorg X server.
2532 It is used to control the pointer with a joystick device.")
2533 (license license:x11)))
2536 (define-public xf86-input-keyboard
2538 (name "xf86-input-keyboard")
2544 "mirror://xorg/individual/driver/xf86-input-keyboard-"
2549 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
2550 (build-system gnu-build-system)
2551 (inputs `(("xorg-server" ,xorg-server)))
2552 (native-inputs `(("pkg-config" ,pkg-config)))
2553 (home-page "https://www.x.org/wiki/")
2554 (synopsis "Keyboard input driver for X server")
2556 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
2557 (license license:x11)))
2560 (define-public xf86-input-mouse
2562 (name "xf86-input-mouse")
2568 "mirror://xorg/individual/driver/xf86-input-mouse-"
2573 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
2574 (build-system gnu-build-system)
2575 (inputs `(("xorg-server" ,xorg-server)))
2576 (native-inputs `(("pkg-config" ,pkg-config)))
2579 (list (string-append "--with-sdkdir="
2580 (assoc-ref %outputs "out")
2582 (home-page "https://www.x.org/wiki/")
2583 (synopsis "Mouse input driver for X server")
2585 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2586 This driver supports four classes of mice: serial, bus and PS/2 mice,
2587 and additional mouse types supported by specific operating systems, such
2589 (license license:x11)))
2592 (define-public xf86-input-synaptics
2594 (name "xf86-input-synaptics")
2600 "mirror://xorg/individual/driver/xf86-input-synaptics-"
2605 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
2606 (build-system gnu-build-system)
2607 (inputs `(("libx11" ,libx11)
2609 ("libevdev" ,libevdev)
2611 ("xorg-server" ,xorg-server)))
2612 (native-inputs `(("pkg-config" ,pkg-config)))
2615 (list (string-append "--with-sdkdir="
2616 (assoc-ref %outputs "out")
2618 (string-append "--with-xorg-conf-dir="
2619 (assoc-ref %outputs "out")
2620 "/share/X11/xorg.conf.d"))))
2621 (home-page "https://www.x.org/wiki/")
2622 (synopsis "Touchpad input driver for X server")
2624 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
2625 (license license:x11)))
2628 (define-public xf86-input-void
2630 (name "xf86-input-void")
2636 "mirror://xorg/individual/driver/xf86-input-void-"
2641 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
2642 (build-system gnu-build-system)
2643 (inputs `(("xorg-server" ,xorg-server)))
2644 (native-inputs `(("pkg-config" ,pkg-config)))
2645 (home-page "https://www.x.org/wiki/")
2646 (synopsis "Void (null) input driver for X server")
2648 "xf86-input-void is a null input driver for the Xorg X server.")
2649 (license license:x11)))
2651 (define-public xf86-video-amdgpu
2653 (name "xf86-video-amdgpu")
2658 (uri (string-append "mirror://xorg/individual/driver/"
2659 "xf86-video-amdgpu-" version ".tar.bz2"))
2661 (base32 "1mf6s7i423b2xyl469kwnakrpp5fr41sm8hh7vli5jxdd8crg8da"))))
2662 (build-system gnu-build-system)
2663 (inputs `(("xorg-server" ,xorg-server)))
2664 (native-inputs `(("pkg-config" ,pkg-config)))
2665 (home-page "https://www.x.org/wiki/")
2666 (synopsis "AMD Radeon video driver for X server")
2668 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2670 (license license:x11)))
2672 (define-public xf86-video-ark
2674 (name "xf86-video-ark")
2680 "mirror://xorg/individual/driver/xf86-video-ark-"
2685 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
2686 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
2687 (build-system gnu-build-system)
2688 (inputs `(("xorg-server" ,xorg-server)))
2689 (native-inputs `(("pkg-config" ,pkg-config)))
2690 (home-page "https://www.x.org/wiki/")
2691 (synopsis "Ark Logic video driver for X server")
2693 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
2694 (license license:x11)))
2696 (define-public xf86-video-ast
2698 (name "xf86-video-ast")
2700 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2704 "mirror://xorg/individual/driver/xf86-video-ast-"
2705 version ".tar.bz2"))
2708 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2709 (build-system gnu-build-system)
2710 (inputs `(("xorg-server" ,xorg-server)))
2711 (native-inputs `(("pkg-config" ,pkg-config)))
2712 (synopsis "ASpeed Technologies video driver for X server")
2714 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2716 (license license:x11)))
2718 (define-public xf86-video-ati
2720 (name "xf86-video-ati")
2725 (uri (string-append "mirror://xorg/individual/driver/"
2726 "xf86-video-ati-" version ".tar.bz2"))
2728 (base32 "1c31g5q5p3nk9nscwikh1vvfnhdwsxiw7j8v678nlm34hrfh3djw"))))
2729 (build-system gnu-build-system)
2730 (inputs `(("mesa" ,mesa)
2731 ("xorgproto" ,xorgproto)
2732 ("xorg-server" ,xorg-server)))
2733 (native-inputs `(("pkg-config" ,pkg-config)))
2734 (arguments `(#:configure-flags `("--disable-glamor"))) ; TODO: Enable glamor
2735 (home-page "https://www.x.org/wiki/")
2736 (synopsis "ATI Radeon video driver for X server")
2738 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2740 (license license:x11)))
2743 (define-public xf86-video-cirrus
2745 (name "xf86-video-cirrus")
2751 "mirror://xorg/individual/driver/xf86-video-cirrus-"
2756 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
2757 (build-system gnu-build-system)
2758 (inputs `(("xorg-server" ,xorg-server)))
2759 (native-inputs `(("pkg-config" ,pkg-config)))
2760 (home-page "https://www.x.org/wiki/")
2761 (synopsis "Cirrus Logic video driver for X server")
2763 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2765 (license license:x11)))
2769 ;; (define-public xf86-video-dummy
2772 (define-public xf86-video-fbdev
2774 (name "xf86-video-fbdev")
2780 "mirror://xorg/individual/driver/xf86-video-fbdev-"
2785 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
2786 (build-system gnu-build-system)
2787 (inputs `(("xorg-server" ,xorg-server)))
2788 (native-inputs `(("pkg-config" ,pkg-config)))
2789 (home-page "https://www.x.org/wiki/")
2790 (synopsis "Framebuffer device video driver for X server")
2792 "xf86-video-fbdev is a video driver for the Xorg X server for
2793 framebuffer device.")
2794 (license license:x11)))
2797 (define-public xf86-video-freedreno
2798 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2800 (name "xf86-video-freedreno")
2801 (version (string-append "1.4.0-1-" (string-take commit 7)))
2804 ;; there's no current tarball
2807 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2808 "driver/xf86-video-freedreno.git"))
2812 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2813 (file-name (string-append name "-" version))))
2814 (build-system gnu-build-system)
2816 `(("libdrm" ,libdrm)
2819 ("xorg-server" ,xorg-server)
2822 `(("pkg-config" ,pkg-config)
2823 ("autoconf" ,autoconf)
2824 ("automake" ,automake)
2825 ("libtool" ,libtool)))
2826 ;; This driver is only supported on ARM systems.
2827 (supported-systems '("armhf-linux" "aarch64-linux"))
2830 (list (string-append "--with-xorg-conf-dir="
2831 (assoc-ref %outputs "out")
2832 "/share/X11/xorg.conf.d"))))
2833 (home-page "https://www.x.org/wiki/")
2834 (synopsis "Adreno video driver for X server")
2836 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2837 It supports a variety of Adreno graphics chipsets.")
2838 (license license:x11))))
2841 (define-public xf86-video-geode
2843 (name "xf86-video-geode")
2849 "mirror://xorg/individual/driver/xf86-video-geode-"
2854 "0zn9gb49grds5mcs1dlrx241k2w1sgqmx4i5x7v6159xxqhlqsf6"))
2855 (patches (search-patches "xf86-video-geode-glibc-2.20.patch"))))
2856 (build-system gnu-build-system)
2857 (inputs `(("xorg-server" ,xorg-server)))
2858 (native-inputs `(("pkg-config" ,pkg-config)))
2860 ;; This driver is only supported on i686 systems.
2861 (filter (lambda (system) (string-prefix? "i686-" system))
2862 %supported-systems))
2863 (home-page "https://www.x.org/wiki/")
2864 (synopsis "AMD Geode GX/LX video driver for X server")
2866 "xf86-video-geode is an Xorg X server video driver for the AMD
2867 Geode GX and LX processors. The GX component supports both XAA and EXA
2868 for graphics acceleration. The LX component supports EXA, including
2869 compositing. Both support Xv overlay and dynamic rotation with XRandR.")
2870 (license license:x11)))
2873 ;; Driver for obsolete graphics cards, depends on libglide:
2874 ;; http://sourceforge.net/projects/glide/ ,
2875 ;; last updated in 2003, and which does not compile out of the box any more.
2876 ;; (define-public xf86-video-glide
2878 ;; (name "xf86-video-glide")
2879 ;; (version "1.2.0")
2882 ;; (method url-fetch)
2883 ;; (uri (string-append
2884 ;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2889 ;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2890 ;; (build-system gnu-build-system)
2891 ;; (inputs `(("pkg-config" ,pkg-config)
2892 ;; ("xorg-server" ,xorg-server)))
2893 ;; (home-page "https://www.x.org/wiki/")
2894 ;; (synopsis "Glide video driver for X server")
2896 ;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
2897 ;; (license license:x11)))
2900 (define-public xf86-video-glint
2902 (name "xf86-video-glint")
2908 "mirror://xorg/individual/driver/xf86-video-glint-"
2913 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
2914 (build-system gnu-build-system)
2915 (inputs `(("xorgproto" ,xorgproto)
2916 ("xorg-server" ,xorg-server)))
2917 (native-inputs `(("pkg-config" ,pkg-config)))
2918 (home-page "https://www.x.org/wiki/")
2919 (synopsis "GLINT/Permedia video driver for X server")
2921 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2923 (license license:x11)))
2926 (define-public xf86-video-i128
2928 (name "xf86-video-i128")
2934 "mirror://xorg/individual/driver/xf86-video-i128-"
2939 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
2940 (build-system gnu-build-system)
2941 (inputs `(("xorg-server" ,xorg-server)))
2942 (native-inputs `(("pkg-config" ,pkg-config)))
2943 (home-page "https://www.x.org/wiki/")
2944 (synopsis "I128 video driver for X server")
2946 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2948 (license license:x11)))
2951 (define-public xf86-video-intel
2952 (let ((commit "f66d39544bb8339130c96d282a80f87ca1606caf")
2955 (name "xf86-video-intel")
2956 (version (git-version "2.99.917" revision commit))
2959 ;; there's no current tarball
2962 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
2966 "14rwbbn06l8qpx7s5crxghn80vgcx8jmfc7qvivh72d81r0kvywl"))
2967 (file-name (git-file-name name version))))
2968 (build-system gnu-build-system)
2969 (inputs `(("mesa" ,mesa)
2972 ("libxfont" ,libxfont2)
2973 ("xorg-server" ,xorg-server)))
2975 `(("pkg-config" ,pkg-config)
2976 ("autoconf" ,autoconf)
2977 ("automake" ,automake)
2978 ("libtool" ,libtool)))
2980 ;; This driver is only supported on Intel systems.
2981 (filter (lambda (system) (or (string-prefix? "i686-" system)
2982 (string-prefix? "x86_64-" system)))
2983 %supported-systems))
2985 '(#:configure-flags '("--with-default-accel=uxa")))
2986 (home-page "https://www.x.org/wiki/")
2987 (synopsis "Intel video driver for X server")
2989 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
2990 It supports a variety of Intel graphics chipsets.")
2991 (license license:x11))))
2994 (define-public xf86-video-mach64
2996 (name "xf86-video-mach64")
3002 "mirror://xorg/individual/driver/xf86-video-mach64-"
3007 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
3008 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
3009 (build-system gnu-build-system)
3010 (inputs `(("mesa" ,mesa)
3011 ("xorgproto" ,xorgproto)
3012 ("xorg-server" ,xorg-server)))
3014 `(("pkg-config" ,pkg-config)))
3015 (home-page "https://www.x.org/wiki/")
3016 (synopsis "Mach64 video driver for X server")
3018 "xf86-video-mach64 is a video driver for the Xorg X server.
3019 This driver is intended for all ATI video adapters based on the Mach64
3020 series or older chipsets, providing maximum video function within
3021 hardware limitations. The driver is also intended to optionally provide
3022 the same level of support for generic VGA or 8514/A adapters.")
3023 (license license:x11)))
3026 (define-public xf86-video-mga
3028 (name "xf86-video-mga")
3034 "mirror://xorg/individual/driver/xf86-video-mga-"
3039 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
3040 (build-system gnu-build-system)
3041 (inputs `(("mesa" ,mesa)
3042 ("xorgproto" ,xorgproto)
3043 ("xorg-server" ,xorg-server)))
3044 (native-inputs `(("pkg-config" ,pkg-config)))
3045 (home-page "https://www.x.org/wiki/")
3046 (synopsis "Matrox video driver for X server")
3048 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
3049 (license license:x11)))
3051 (define-public xf86-video-neomagic
3053 (name "xf86-video-neomagic")
3059 "mirror://xorg/individual/driver/xf86-video-neomagic-"
3064 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
3065 (build-system gnu-build-system)
3066 (inputs `(("xorgproto" ,xorgproto)
3067 ("xorg-server" ,xorg-server)))
3068 (native-inputs `(("pkg-config" ,pkg-config)))
3069 (home-page "https://www.x.org/wiki/")
3070 (synopsis "NeoMagic video driver for X server")
3072 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
3073 (license license:x11)))
3076 ;; This driver depends on XAA which has been removed from xorg-server.
3078 ;; (define-public xf86-video-newport
3080 ;; (name "xf86-video-newport")
3081 ;; (version "0.2.4")
3084 ;; (method url-fetch)
3085 ;; (uri (string-append
3086 ;; "mirror://xorg/individual/driver/xf86-video-newport-"
3091 ;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3092 ;; (build-system gnu-build-system)
3093 ;; (inputs `(("xorg-server" ,xorg-server)))
3094 ;; (native-inputs `(("pkg-config" ,pkg-config)))
3095 ;; (home-page "https://www.x.org/wiki/")
3096 ;; (synopsis "Newport video driver for X server")
3098 ;; "xf86-video-newport is an Xorg X server video driver for the SGI
3100 ;; (license license:x11)))
3103 (define-public xf86-video-nv
3105 (name "xf86-video-nv")
3111 "mirror://xorg/individual/driver/xf86-video-nv-"
3116 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
3117 (build-system gnu-build-system)
3118 (inputs `(("xorg-server" ,xorg-server)))
3119 (native-inputs `(("pkg-config" ,pkg-config)))
3120 (home-page "https://www.x.org/wiki/")
3121 (synopsis "NVIDIA video driver for X server")
3123 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3124 graphics processors.
3126 There are a few caveats of which to be aware: the XVideo extension is not
3127 supported, and the RENDER extension is not accelerated by this driver.")
3128 (license license:x11)))
3130 (define-public xf86-video-nouveau
3132 (name "xf86-video-nouveau")
3138 "mirror://xorg/individual/driver/xf86-video-nouveau-"
3143 "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"))))
3144 (build-system gnu-build-system)
3145 (inputs `(("xorg-server" ,xorg-server)))
3146 (native-inputs `(("pkg-config" ,pkg-config)))
3147 (home-page "https://nouveau.freedesktop.org")
3148 (synopsis "NVIDIA video driver for X server")
3150 "This package provides modern, high-quality Xorg drivers for NVIDIA
3152 (license license:x11)))
3154 (define-public xf86-video-openchrome
3156 (name "xf86-video-openchrome")
3162 "mirror://xorg/individual/driver/xf86-video-openchrome-"
3167 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
3168 (build-system gnu-build-system)
3169 (inputs `(("libx11" ,libx11)
3170 ("libxext" ,libxext)
3171 ("libxvmc" ,libxvmc)
3173 ("xorgproto" ,xorgproto)
3174 ("xorg-server" ,xorg-server)))
3176 `(("pkg-config" ,pkg-config)))
3177 (home-page "https://www.x.org/wiki/")
3178 (synopsis "Openchrome video driver for X server")
3180 "xf86-video-openchrome is a video driver for the Xorg X server.
3181 This driver is intended for VIA chipsets featuring the VIA UniChrome,
3182 UniChrome Pro and Chrome9 integrated graphics processors.")
3183 (license license:x11)))
3186 (define-public xf86-video-qxl
3188 (name "xf86-video-qxl")
3193 "mirror://xorg/individual/driver/"
3194 "xf86-video-qxl-" version ".tar.bz2"))
3197 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
3198 (build-system gnu-build-system)
3200 `(("libxfont" ,libxfont2)
3201 ("spice-protocol" ,spice-protocol)
3202 ("xorg-server" ,xorg-server)
3203 ("xorgproto" ,xorgproto)))
3205 `(("pkg-config" ,pkg-config)))
3206 (synopsis "Qxl video driver for X server")
3207 (description "xf86-video-qxl is a video driver for the Xorg X server.
3208 This driver is intended for the spice qxl virtio device.")
3209 (home-page "http://www.spice-space.org")
3210 (license license:x11)))
3212 (define-public xf86-video-r128
3214 (name "xf86-video-r128")
3218 (uri (string-append "mirror://xorg/individual/driver/"
3219 name "-" version ".tar.bz2"))
3222 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
3223 (build-system gnu-build-system)
3224 (inputs `(("mesa" ,mesa)
3225 ("xorgproto" ,xorgproto)
3226 ("xorg-server" ,xorg-server)))
3228 `(("pkg-config" ,pkg-config)))
3229 (home-page "https://www.x.org/wiki/")
3230 (synopsis "ATI Rage 128 video driver for X server")
3232 "xf86-video-r128 is a video driver for the Xorg X server.
3233 This driver is intended for ATI Rage 128 based cards.")
3234 (license license:x11)))
3236 (define-public xf86-video-savage
3238 (name "xf86-video-savage")
3244 "mirror://xorg/individual/driver/xf86-video-savage-"
3247 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
3250 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
3251 (build-system gnu-build-system)
3252 (inputs `(("mesa" ,mesa)
3253 ("xorgproto" ,xorgproto)
3254 ("xorg-server" ,xorg-server)))
3255 (native-inputs `(("pkg-config" ,pkg-config)))
3256 (home-page "https://www.x.org/wiki/")
3257 (synopsis "Savage video driver for X server")
3259 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
3260 (license license:x11)))
3263 (define-public xf86-video-siliconmotion
3265 (name "xf86-video-siliconmotion")
3271 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
3276 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3277 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
3278 (build-system gnu-build-system)
3279 (inputs `(("xorg-server" ,xorg-server)))
3280 (native-inputs `(("pkg-config" ,pkg-config)))
3281 (home-page "https://www.x.org/wiki/")
3282 (synopsis "Silicon Motion video driver for X server")
3284 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3286 (license license:x11)))
3289 (define-public xf86-video-sis
3291 (name "xf86-video-sis")
3297 "mirror://xorg/individual/driver/xf86-video-sis-"
3300 (patches (search-patches "xf86-video-sis-xorg-compat.patch"))
3303 "03f1abjjf68y8y1iz768rn95va9d33wmbwfbsqrgl6k0gi0bf9jj"))))
3304 (build-system gnu-build-system)
3305 (inputs `(("mesa" ,mesa)
3306 ("xorgproto" ,xorgproto)
3307 ("xorg-server" ,xorg-server)))
3309 `(("pkg-config" ,pkg-config)))
3310 (home-page "https://www.x.org/wiki/")
3311 (synopsis "Sis video driver for X server")
3313 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3314 This driver supports SiS chipsets of 300/315/330/340 series.")
3315 (license license:bsd-3)))
3318 (define-public xf86-video-suncg6
3320 (name "xf86-video-suncg6")
3326 "mirror://xorg/individual/driver/xf86-video-suncg6-"
3331 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
3332 (build-system gnu-build-system)
3333 (inputs `(("xorg-server" ,xorg-server)))
3334 (native-inputs `(("pkg-config" ,pkg-config)))
3335 (home-page "https://www.x.org/wiki/")
3336 (synopsis "GX/TurboGX video driver for X server")
3338 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
3339 (license license:x11)))
3342 (define-public xf86-video-sunffb
3344 (name "xf86-video-sunffb")
3350 "mirror://xorg/individual/driver/xf86-video-sunffb-"
3355 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
3356 (build-system gnu-build-system)
3357 (inputs `(("xorg-server" ,xorg-server)))
3358 (native-inputs `(("pkg-config" ,pkg-config)))
3359 (home-page "https://www.x.org/wiki/")
3360 (synopsis "SUNFFB video driver for X server")
3362 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
3363 (license license:x11)))
3366 (define-public xf86-video-tdfx
3368 (name "xf86-video-tdfx")
3374 "mirror://xorg/individual/driver/xf86-video-tdfx-"
3379 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
3380 (build-system gnu-build-system)
3381 (inputs `(("mesa" ,mesa)
3382 ("xorgproto" ,xorgproto)
3383 ("xorg-server" ,xorg-server)))
3384 (native-inputs `(("pkg-config" ,pkg-config)))
3385 (home-page "https://www.x.org/wiki/")
3386 (synopsis "3Dfx video driver for X server")
3388 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
3389 (license license:x11)))
3392 (define-public xf86-video-tga
3394 (name "xf86-video-tga")
3400 "mirror://xorg/individual/driver/xf86-video-tga-"
3405 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
3406 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
3407 (build-system gnu-build-system)
3408 (inputs `(("xorgproto" ,xorgproto)
3409 ("xorg-server" ,xorg-server)))
3410 (native-inputs `(("pkg-config" ,pkg-config)))
3411 (home-page "https://www.x.org/wiki/")
3412 (synopsis "TGA video driver for X server")
3414 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3416 (license license:x11)))
3419 (define-public xf86-video-trident
3421 (name "xf86-video-trident")
3427 "mirror://xorg/individual/driver/xf86-video-trident-"
3432 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
3433 (build-system gnu-build-system)
3434 (inputs `(("xorgproto" ,xorgproto)
3435 ("xorg-server" ,xorg-server)))
3436 (native-inputs `(("pkg-config" ,pkg-config)))
3437 (home-page "https://www.x.org/wiki/")
3438 (synopsis "Trident video driver for X server")
3440 "xf86-video-trident is a Trident video driver for the Xorg X server.")
3441 (license license:x11)))
3445 ;; (define-public xf86-video-v4l
3448 (define-public xf86-video-vesa
3450 (name "xf86-video-vesa")
3456 "mirror://xorg/individual/driver/xf86-video-vesa-"
3461 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
3462 (build-system gnu-build-system)
3463 (inputs `(("xorg-server" ,xorg-server)))
3464 (native-inputs `(("pkg-config" ,pkg-config)))
3465 (home-page "https://www.x.org/wiki/")
3466 (synopsis "VESA video driver for X server")
3468 "xf86-video-vesa is a generic VESA video driver for the Xorg
3470 (license license:x11)))
3480 (url "https://github.com/mjanusz/v86d.git")
3481 (commit (string-append name "-" version))))
3482 (file-name (git-file-name name version))
3484 (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp"))
3485 (modules '((guix build utils)))
3488 ;; remove bundled x86emu
3489 (for-each delete-file
3490 (filter (lambda (name) ;keep customized Makefile
3491 (not (string-suffix? "Makefile" name)))
3492 (find-files "libs/x86emu")))
3493 ;; remove non-working vbetest utility program (it is unnecessary)
3494 (delete-file "libs/lrmi-0.10/vbe.h")
3495 (delete-file "libs/lrmi-0.10/vbetest.c")
3498 ;; We keep the bundled copy of the Linux Real Mode Interface lrmi-0.10,
3499 ;; because it includes fixes missing from upstream lrmi. We do not use
3500 ;; libx86, because we already use x86emu with the more current lrmi.
3502 (inputs `(("xorg-server-sources" ,(package-source xorg-server)) ;for x86emu
3503 ("xorgproto" ,xorgproto))) ;upstream x86emu uses X11/Xfuncproto.h
3504 (outputs '("out" ;main v86d helper
3505 "testvbe")) ;test program for listing video modes
3506 (supported-systems '("i686-linux" "x86_64-linux"))
3507 (build-system gnu-build-system)
3509 `(#:tests? #f ;there are no tests
3510 #:modules ((guix build utils)
3511 (guix build gnu-build-system)
3514 (modify-phases %standard-phases
3515 ;; Replace the bundled x86emu with its upstream copy from Xorg-server:
3516 (add-after 'unpack 'unpack-x86emu-sources
3517 (lambda* (#:key inputs #:allow-other-keys)
3519 (format #t "decompressing x86emu source code~%")
3520 (with-directory-excursion "libs"
3521 (let ((srcs (assoc-ref inputs "xorg-server-sources"))
3522 (tar-binary (string-append (assoc-ref inputs "tar")
3524 (invoke tar-binary "xvf" srcs "--strip-components=3"
3525 "--wildcards" "*/hw/xfree86/x86emu/")
3527 (with-directory-excursion "x86emu"
3528 (invoke tar-binary "xvf" srcs "--strip-components=1"
3529 "--wildcards" "*/COPYING"))
3532 (lambda* (#:key outputs #:allow-other-keys)
3533 (let ((out (assoc-ref outputs "out")))
3534 (setenv "CC" (which "gcc"))
3535 (setenv "DESTDIR" out)
3536 (invoke "./configure" "--with-x86emu"))))
3537 (add-after 'build 'build-testvbe
3539 (invoke "make" "testvbe")))
3540 (add-after 'install 'install-testvbe
3541 (lambda* (#:key outputs #:allow-other-keys)
3542 (let ((testvbe (assoc-ref outputs "testvbe"))
3543 (olddest (getenv "DESTDIR")))
3544 (setenv "DESTDIR" testvbe)
3545 (invoke "make" "install_testvbe")
3546 (setenv "DESTDIR" olddest)
3548 (add-after 'install 'install-docs
3549 (lambda* (#:key outputs #:allow-other-keys)
3550 (let* ((out (assoc-ref outputs "out"))
3551 (doc-dir (string-append out "/share/doc/v86d")))
3554 (string-append doc-dir "/README"))
3555 (copy-file "libs/lrmi-0.10/README"
3556 (string-append doc-dir "/README.lrmi"))
3557 (copy-file "libs/x86emu/COPYING"
3558 (string-append doc-dir "/COPYING.xorg-server.x86emu"))
3560 (home-page "https://github.com/mjanusz/v86d")
3561 (synopsis "Userspace helper for uvesafb")
3563 "v86d provides a backend for kernel drivers that need to execute x86 BIOS
3564 code. The code is executed in a controlled environment and the results are
3565 passed back to the kernel via the netlink interface. v86d is required by the
3566 uvesafb Linux kernel module that provides an fbdev framebuffer when Kernel
3567 Mode Setting is unavailable. It can be a last resort when no other Xorg X
3568 server driver works.")
3569 (license (list license:gpl2
3570 license:x11)))) ;for bundled lrmi and x86emu
3572 (define-public xf86-video-vmware
3574 (name "xf86-video-vmware")
3580 "mirror://xorg/individual/driver/xf86-video-vmware-"
3585 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
3586 (build-system gnu-build-system)
3588 `(("libx11" ,libx11)
3589 ("libxext" ,libxext)
3591 ("mesa" ,mesa) ; for xatracker
3592 ("xorg-server" ,xorg-server)))
3595 ("pkg-config" ,pkg-config)))
3596 (home-page "https://www.x.org/wiki/")
3597 (synopsis "VMware SVGA video driver for X server")
3599 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
3600 (license license:x11)))
3603 (define-public xf86-video-voodoo
3605 (name "xf86-video-voodoo")
3611 "mirror://xorg/individual/driver/xf86-video-voodoo-"
3616 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3618 (search-patches "xf86-video-voodoo-pcitag.patch"))))
3619 (build-system gnu-build-system)
3620 (inputs `(("xorgproto" ,xorgproto)
3621 ("xorg-server" ,xorg-server)))
3622 (native-inputs `(("pkg-config" ,pkg-config)))
3623 (home-page "https://www.x.org/wiki/")
3624 (synopsis "Voodoo/Voodoo2 video driver for X server")
3626 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
3627 (license license:x11)))
3630 ;; Only relevant for the frame buffer on BSD systems.
3631 ;; (define-public xf86-video-wsfb
3634 (define-public xf86bigfontproto
3636 (name "xf86bigfontproto")
3642 "mirror://xorg/individual/proto/xf86bigfontproto-"
3647 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3648 (build-system gnu-build-system)
3649 (home-page "https://www.x.org/wiki/")
3650 (synopsis "Xorg XF86BigFontProto protocol headers")
3652 "XFree86 Bigfont Extension contains header files and documentation
3653 for the XF86BigFontProto protocol.")
3654 (license license:x11)
3655 (properties `((superseded . ,xorgproto)))))
3657 (define-public xf86dgaproto
3659 (name "xf86dgaproto")
3665 "mirror://xorg/individual/proto/xf86dgaproto-"
3670 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3671 (build-system gnu-build-system)
3672 (home-page "https://www.x.org/wiki/")
3673 (synopsis "Xorg XF86DGAProto protocol headers")
3675 "XFree86 Direct Graphic Access Extension defines a protocol for
3676 direct linear framebuffer access.")
3677 (license license:x11)
3678 (properties `((superseded . ,xorgproto)))))
3680 (define-public xf86driproto
3682 (name "xf86driproto")
3688 "mirror://xorg/individual/proto/xf86driproto-"
3693 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3694 (build-system gnu-build-system)
3695 (home-page "https://www.x.org/wiki/")
3696 (synopsis "Xorg XF86DRIProto protocol headers")
3698 "XFree86 Direct Rendering Infrastructure Extension defines a
3699 protocol to allow user applications to access the video hardware without
3700 requiring data to be passed through the X server.")
3701 (license license:x11)
3702 (properties `((superseded . ,xorgproto)))))
3704 (define-public xf86vidmodeproto
3706 (name "xf86vidmodeproto")
3712 "mirror://xorg/individual/proto/xf86vidmodeproto-"
3717 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3718 (build-system gnu-build-system)
3719 (home-page "https://www.x.org/wiki/")
3720 (synopsis "Xorg XF86VidModeProto protocol headers")
3722 "XFree86 Video Mode Extension defines a protocol for dynamically
3723 configuring modelines and gamma.")
3724 (license license:x11)
3725 (properties `((superseded . ,xorgproto)))))
3727 (define-public xgamma
3735 "mirror://xorg/individual/app/xgamma-"
3740 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
3741 (build-system gnu-build-system)
3743 `(("libxxf86vm" ,libxxf86vm)
3744 ("libx11" ,libx11)))
3746 `(("pkg-config" ,pkg-config)))
3747 (home-page "https://www.x.org/wiki/")
3748 (synopsis "Alter a monitor's gamma correction")
3750 "XGamma is used to query and alter the gamma correction of a
3751 monitor via the X video mode extension.")
3752 (license license:x11)))
3755 (define-public xhost
3763 "mirror://xorg/individual/app/xhost-"
3768 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
3769 (build-system gnu-build-system)
3771 `(("libxmu" ,libxmu)
3773 ("libx11" ,libx11)))
3775 `(("pkg-config" ,pkg-config)))
3776 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
3777 (synopsis "Xorg server access control utility")
3779 "XHost is used to manage the list of host names or user names
3780 allowed to make connections to the X server.")
3781 (license license:x11)))
3784 (define-public xineramaproto
3786 (name "xineramaproto")
3792 "mirror://xorg/individual/proto/xineramaproto-"
3797 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3798 (build-system gnu-build-system)
3799 (native-inputs `(("pkg-config" ,pkg-config)))
3800 (home-page "https://www.x.org/wiki/")
3801 (synopsis "Xorg XineramaProto protocol headers")
3803 "Xinerama Extension allows clients to query information about multiple
3804 physical screens controlled by a single X server that appear as a single
3805 screen to core X11 protocol operations.
3807 This extension provides a common network protocol for querying information
3808 which may be provided by different underlying screen combination
3809 technologies in the X server, such as the original Xinerama multiplexer, or
3810 alternative implementations like XRandR or TwinView.")
3811 (license license:x11)
3812 (properties `((superseded . ,xorgproto)))))
3814 (define-public xinput
3822 "mirror://xorg/individual/app/xinput-"
3827 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
3828 (build-system gnu-build-system)
3830 `(("libxrender" ,libxrender)
3831 ("libxrandr" ,libxrandr)
3832 ("libxinerama" ,libxinerama)
3833 ("libxext" ,libxext)
3836 ("xorgproto" ,xorgproto)))
3838 `(("pkg-config" ,pkg-config)))
3839 (home-page "https://www.x.org/wiki/")
3840 (synopsis "Configure input devices for X server")
3842 "XInput is used to configure and test XInput devices.")
3843 (license license:x11)))
3846 (define xkbcomp-intermediate ; used as input for xkeyboard-config
3848 (name "xkbcomp-intermediate")
3854 "mirror://xorg/individual/app/xkbcomp-"
3859 "0dflr250nlj6rrnv658f6dm8qx37sj0xfimc3ihay761kwb2q906"))))
3860 (build-system gnu-build-system)
3862 `(("xorgproto" ,xorgproto)
3863 ("libxkbfile" ,libxkbfile)
3864 ("libx11" ,libx11)))
3866 `(("pkg-config" ,pkg-config)))
3867 (home-page "https://www.x.org/wiki/")
3868 (synopsis "Compile XKB keyboard description")
3870 "xkbcomp keymap compiler converts a description of an XKB keymap
3871 into one of several output formats. The most common use for xkbcomp is
3872 to create a compiled keymap file (.xkm extension) which can be read
3873 directly by XKB- capable X servers or utilities.
3875 X Keyboard (XKB) Extension essentially replaces the core protocol
3876 definition of keyboard. The extension makes possible to clearly and
3877 explicitly specify most aspects of keyboard behaviour on per-key basis
3878 and to more closely track the logical and physical state of the
3879 keyboard. It also includes a number of keyboard controls designed to
3880 make keyboards more accessible to people with physical impairments.")
3881 (license license:x11)))
3883 (define-public xkbcomp ; using xkeyboard-config as input
3884 (package (inherit xkbcomp-intermediate)
3887 `(,@(package-inputs xkbcomp-intermediate)
3888 ("xkeyboard-config" ,xkeyboard-config)))
3891 (list (string-append "--with-xkb-config-root="
3892 (assoc-ref %build-inputs "xkeyboard-config")
3893 "/share/X11/xkb"))))))
3896 (define-public xkbevd
3904 "mirror://xorg/individual/app/xkbevd-"
3909 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
3910 (build-system gnu-build-system)
3912 `(("libxkbfile" ,libxkbfile)
3913 ("libx11" ,libx11)))
3915 `(("pkg-config" ,pkg-config)))
3916 (home-page "https://www.x.org/wiki/")
3917 (synopsis "XKB event daemon demo")
3919 "XKB event daemon listens for the specified XKB events and executes
3920 requested commands if they occur.")
3921 (license license:x11)))
3924 (define-public xkbutils
3932 "mirror://xorg/individual/app/xkbutils-"
3937 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
3938 (build-system gnu-build-system)
3942 ("xorgproto" ,xorgproto)))
3944 `(("pkg-config" ,pkg-config)))
3945 (home-page "https://www.x.org/wiki/")
3946 (synopsis "XKB utilities")
3948 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3949 extension to the X11 protocol. It includes:
3951 - xkbbell: generate XKB bell events;
3953 - xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3955 - xkbwatch: reports changes in the XKB keyboard state.")
3956 (license license:x11)))
3959 (define-public xkeyboard-config
3961 (name "xkeyboard-config")
3967 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
3972 "00hqc8nykvy8c09b8vab64dcd0ij3n5klxjn6rl00q7hickpah8x"))))
3973 (build-system gnu-build-system)
3975 `(("libx11" ,libx11)
3976 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
3978 `(("gettext" ,gettext-minimal)
3980 ("pkg-config" ,pkg-config)
3981 ("python" ,python)))
3982 (home-page "https://www.x.org/wiki/")
3983 (synopsis "Xorg XKB configuration files")
3985 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
3986 There are five components that define a complete keyboard mapping:
3987 symbols, geometry, keycodes, compat, and types; these five components
3988 can be combined together using the @code{rules} component of this database.")
3989 (license license:x11)))
3992 (define-public xkill
4000 "mirror://xorg/individual/app/xkill-"
4005 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
4006 (build-system gnu-build-system)
4008 `(("libxmu" ,libxmu)
4009 ("libx11" ,libx11)))
4011 `(("pkg-config" ,pkg-config)))
4012 (home-page "https://www.x.org/wiki/")
4013 (synopsis "Kill a client by its X resource")
4015 "XKill is used to force the X server to close connections to
4016 clients. This program is very dangerous, but is useful for aborting
4017 programs that have displayed undesired windows on a user's screen.")
4018 (license license:x11)))
4021 (define-public xlsatoms
4029 "mirror://xorg/individual/app/xlsatoms-"
4034 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
4035 (build-system gnu-build-system)
4037 `(("libxcb" ,libxcb)))
4039 `(("pkg-config" ,pkg-config)))
4040 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
4041 (synopsis "List interned X server atoms")
4043 "XLsAtoms is used to list the interned atoms defined on X server.")
4044 (license license:x11)))
4047 (define-public xlsclients
4055 "mirror://xorg/individual/app/xlsclients-"
4060 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
4061 (build-system gnu-build-system)
4063 `(("libxcb" ,libxcb)))
4065 `(("pkg-config" ,pkg-config)))
4066 (home-page "https://www.x.org/wiki/")
4067 (synopsis "List client applications running on a display")
4069 "XLsClients is used to list information about the client programs
4070 running on X server.")
4071 (license license:x11)))
4074 (define-public xlsfonts
4082 "mirror://xorg/individual/app/xlsfonts-"
4087 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
4088 (build-system gnu-build-system)
4090 `(("xorgproto" ,xorgproto)
4091 ("libx11" ,libx11)))
4093 `(("pkg-config" ,pkg-config)))
4094 (home-page "https://www.x.org/wiki/")
4095 (synopsis "List fonts available from an X server")
4097 "xlsfonts lists fonts available from an X server via the X11 core
4099 (license license:x11)))
4101 (define-public xfontsel
4108 "mirror://xorg/individual/app/xfontsel-"
4109 version ".tar.bz2"))
4112 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
4113 (build-system gnu-build-system)
4116 (list (string-append "--with-appdefaultdir="
4117 %output ,%app-defaults-dir))))
4119 `(("libx11" ,libx11)
4124 `(("pkg-config" ,pkg-config)))
4125 (home-page "https://www.x.org/wiki/")
4126 (synopsis "Browse and select X font names")
4128 "XFontSel provides a simple way to display the X11 core protocol fonts
4129 known to your X server, examine samples of each, and retrieve the X Logical
4130 Font Description (XLFD) full name for a font.")
4131 (license license:x11)))
4140 "mirror://xorg/individual/app/xfd-"
4141 version ".tar.bz2"))
4144 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
4145 (build-system gnu-build-system)
4148 (list (string-append "--with-appdefaultdir="
4149 %output ,%app-defaults-dir))))
4151 `(("fontconfig" ,fontconfig)
4156 ("libxrender" ,libxrender)
4157 ("libxkbfile" ,libxkbfile)))
4159 `(("gettext" ,gettext-minimal)
4160 ("pkg-config" ,pkg-config)))
4161 (home-page "https://www.x.org/wiki/")
4162 (synopsis "Display all the characters in an X font")
4164 "XFD (X Font Display) package provides an utility that displays a
4165 window containing the name of the font being displayed, a row of command
4166 buttons, several lines of text for displaying character metrics, and a grid
4167 containing one glyph per cell.")
4168 (license license:x11)))
4170 (define-public xmodmap
4178 "mirror://xorg/individual/app/xmodmap-"
4183 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
4184 (build-system gnu-build-system)
4186 `(("xorgproto" ,xorgproto)
4187 ("libx11" ,libx11)))
4189 `(("pkg-config" ,pkg-config)))
4190 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
4191 (synopsis "Modify keymaps and button mappings on X server")
4193 "Xmodmap is used to display and edit the keyboard modifier map and
4194 keymap table that are used by client programs running on X server to
4195 convert event keycodes into keysyms. It is usually run from the user's
4196 session startup script to configure the keyboard according to personal
4198 (license license:x11)))
4202 ;; (define-public xorg-docs
4205 (define-public xorg-sgml-doctools
4207 (name "xorg-sgml-doctools")
4213 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
4218 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
4219 (build-system gnu-build-system)
4220 (native-inputs `(("pkg-config" ,pkg-config)))
4221 (home-page "https://www.x.org/wiki/")
4222 (synopsis "Xorg SGML documentation tools")
4224 "This package provides a common set of SGML entities and XML/CSS style
4225 sheets used in building/formatting the documentation provided in other
4226 Xorg packages. It's typically only needed by people building from
4227 source who want to produce formatted documentation from their builds, or
4228 those who have installed the HTML version of the documentation, which
4229 refers to the included common xorg.css stylesheet.")
4230 (license license:x11)))
4241 "mirror://xorg/individual/app/xpr-"
4246 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
4247 (build-system gnu-build-system)
4249 `(("xorgproto" ,xorgproto)
4251 ("libx11" ,libx11)))
4253 `(("pkg-config" ,pkg-config)))
4254 (home-page "https://www.x.org/wiki/")
4255 (synopsis "Print an X window dump from xwd")
4257 "XPr takes as input a window dump file produced by xwd and formats
4258 it for output on various types of printers.")
4259 (license license:x11)))
4262 (define-public xprop
4270 "mirror://xorg/individual/app/xprop-"
4275 "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc"))))
4276 (build-system gnu-build-system)
4278 `(("xorgproto" ,xorgproto)
4279 ("libx11" ,libx11)))
4281 `(("pkg-config" ,pkg-config)))
4282 (home-page "https://www.x.org/wiki/")
4283 (synopsis "Display X server properties")
4285 "xprop is used to display and/or set window and font properties of
4287 (license license:x11)))
4290 (define-public xrandr
4298 "mirror://xorg/individual/app/xrandr-"
4302 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
4303 (build-system gnu-build-system)
4305 `(("libxrender" ,libxrender)
4306 ("libxrandr" ,libxrandr)
4307 ("xorgproto" ,xorgproto)
4308 ("libx11" ,libx11)))
4310 `(("pkg-config" ,pkg-config)))
4311 (home-page "https://www.x.org/wiki/")
4312 (synopsis "Command line interface to X RandR extension")
4314 "xrandr - primitive command line interface to X11 Resize, Rotate,
4315 and Reflect (RandR) extension.")
4316 (license license:x11)))
4327 "mirror://xorg/individual/app/xrdb-"
4332 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
4333 (build-system gnu-build-system)
4335 `(("libxmu" ,libxmu)
4336 ("libx11" ,libx11)))
4338 `(("pkg-config" ,pkg-config)))
4339 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
4340 (synopsis "X server resource database utility")
4342 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4343 property on the root window of screen 0, or the SCREEN_RESOURCES
4344 property on the root window of any or all screens, or everything
4345 combined. You would normally run this program from your X startup
4347 (license license:x11)))
4350 (define-public xrefresh
4358 "mirror://xorg/individual/app/xrefresh-"
4363 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
4364 (build-system gnu-build-system)
4366 `(("libx11" ,libx11)))
4368 `(("pkg-config" ,pkg-config)))
4369 (home-page "https://www.x.org/wiki/")
4370 (synopsis "Refresh all or part of an X screen")
4372 "Xrefresh is a simple X program that causes all or part of your
4373 screen to be repainted. This is useful when system messages have messed
4375 (license license:x11)))
4386 "mirror://xorg/individual/app/xset-"
4391 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
4392 (build-system gnu-build-system)
4394 `(("xorgproto" ,xorgproto)
4396 ("libxext" ,libxext)
4397 ("libx11" ,libx11)))
4399 `(("pkg-config" ,pkg-config)))
4400 (home-page "https://www.x.org/wiki/")
4401 (synopsis "User preference utility for X server")
4403 "XSet is used to set various user preference options of the display.")
4404 (license license:x11)))
4407 (define-public xsetroot
4415 "mirror://xorg/individual/app/xsetroot-"
4420 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
4421 (build-system gnu-build-system)
4423 `(("libxmu" ,libxmu)
4424 ("libxcursor" ,libxcursor)
4425 ("xbitmaps" ,xbitmaps)))
4427 `(("pkg-config" ,pkg-config)))
4428 (home-page "https://www.x.org/wiki/")
4429 (synopsis "Root window parameter setting utility for X server")
4431 "XSetRoot allows you to tailor the appearance of the root window on
4432 a display running X server.")
4433 (license license:x11)))
4436 (define-public xtrans
4444 "mirror://xorg/individual/lib/xtrans-"
4449 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
4450 (build-system gnu-build-system)
4451 (native-inputs `(("pkg-config" ,pkg-config)))
4452 (home-page "https://www.x.org/wiki/")
4453 (synopsis "Xorg Network Transport layer library")
4455 "Xtrans is a library of code that is shared among various X packages to
4456 handle network protocol transport in a modular fashion, allowing a single
4457 place to add new transport types. It is used by the X server, libX11,
4458 libICE, the X font server, and related components.")
4459 (license license:x11)))
4462 (define-public xvinfo
4470 "mirror://xorg/individual/app/xvinfo-"
4475 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
4476 (build-system gnu-build-system)
4478 `(("libxext" ,libxext)
4480 ("libx11" ,libx11)))
4482 `(("pkg-config" ,pkg-config)))
4483 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
4484 (synopsis "Print out X-Video extension adaptor information")
4486 "XVInfo is used to print out the capabilities of any video adaptors
4487 associated with the display that are accessible through the X-Video
4489 (license license:x11)))
4500 "mirror://xorg/individual/app/xwd-"
4505 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
4506 (build-system gnu-build-system)
4509 ("libxkbfile" ,libxkbfile)
4510 ("xorgproto" ,xorgproto)))
4512 `(("pkg-config" ,pkg-config)))
4513 (home-page "https://www.x.org/wiki/")
4514 (synopsis "Dump current contents of X window or screen to file")
4516 "Xwd is used to store window images in a specially formatted dump
4517 file. This file can then be read by various other X utilities for
4518 redisplay, printing, editing, formatting, archiving, image processing,
4519 etc. The target window is selected by clicking the pointer in the
4520 desired window. The keyboard bell is rung once at the beginning of the
4521 dump and twice when the dump is completed.")
4522 (license license:x11)))
4525 (define-public xwininfo
4533 "mirror://xorg/individual/app/xwininfo-"
4538 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
4539 (build-system gnu-build-system)
4541 `(("libx11" ,libx11)
4542 ("xorgproto" ,xorgproto)))
4544 `(("pkg-config" ,pkg-config)))
4545 (home-page "https://www.x.org/wiki/")
4546 (synopsis "Window information utility for X server")
4548 "XWinInfo is used to print out information about windows on an X server.
4549 Various information is displayed depending on which options are selected.")
4550 (license license:x11)))
4561 "mirror://xorg/individual/app/xwud-"
4566 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
4567 (build-system gnu-build-system)
4569 `(("xorgproto" ,xorgproto)
4570 ("libx11" ,libx11)))
4572 `(("pkg-config" ,pkg-config)))
4573 (home-page "https://www.x.org/wiki/")
4574 (synopsis "Display an X window dump from xwd")
4576 "Xwud is used to display in a window an image saved in a specially
4577 formatted dump file, such as produced by xwd.")
4578 (license license:x11)))
4580 (define-public xorg-rgb
4588 "mirror://xorg/individual/app/rgb-"
4593 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4594 (build-system gnu-build-system)
4596 `(("xorgproto" ,xorgproto)))
4598 `(("pkg-config" ,pkg-config)))
4599 (home-page "https://www.x.org/wiki/")
4600 (synopsis "X color name database")
4602 "This package provides the X color name database.")
4603 (license license:x11)))
4605 ;; packages of height 1 in the propagated-inputs tree
4607 (define-public fixesproto
4615 "mirror://xorg/individual/proto/fixesproto-"
4620 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4621 (build-system gnu-build-system)
4623 `(("xorgproto" ,xorgproto)))
4625 `(("pkg-config" ,pkg-config)))
4626 (home-page "https://www.x.org/wiki/")
4627 (synopsis "Xorg FixesProto protocol headers")
4629 "Fixes Extension makes changes to many areas of the protocol to resolve
4630 issues raised by application interaction with core protocol mechanisms that
4631 cannot be adequately worked around on the client side of the wire.")
4632 (license license:x11)
4633 (properties `((superseded . ,xorgproto)))))
4635 (define-public libxdamage
4643 "mirror://xorg/individual/lib/libXdamage-"
4648 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
4649 (build-system gnu-build-system)
4651 ;; These are all in the Requires or Requires.private field of xdamage.pc
4652 `(("libxfixes" ,libxfixes)
4653 ("xorgproto" ,xorgproto)
4654 ("libx11" ,libx11)))
4656 `(("pkg-config" ,pkg-config)))
4657 (home-page "https://www.x.org/wiki/")
4658 (synopsis "Xorg Damage Extension library")
4659 (description "Xorg library for the XDamage extension.")
4660 (license license:x11)))
4663 (define-public libxext
4671 "mirror://xorg/individual/lib/libXext-"
4676 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
4677 (build-system gnu-build-system)
4680 (list "--disable-static"
4681 ;; Disable zero malloc check that fails when cross-compiling.
4682 ,@(if (%current-target-system)
4683 '("--disable-malloc0returnsnull")
4686 `(("xorgproto" ,xorgproto)))
4688 `(("libxau" ,libxau)
4689 ("libx11" ,libx11)))
4691 `(("pkg-config" ,pkg-config)))
4692 (home-page "https://www.x.org/wiki/")
4693 (synopsis "Xorg Common extensions library")
4695 "Library for common extensions to the X11 protocol.")
4696 (license license:x11)))
4699 (define-public libxinerama
4701 (name "libxinerama")
4707 "mirror://xorg/individual/lib/libXinerama-"
4712 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
4713 (build-system gnu-build-system)
4715 '(#:configure-flags '("--disable-static")))
4717 `(("xorgproto" ,xorgproto)))
4719 `(("libxext" ,libxext)
4720 ("libx11" ,libx11)))
4722 `(("pkg-config" ,pkg-config)))
4723 (home-page "https://www.x.org/wiki/")
4724 (synopsis "Xorg Xinerama protocol library")
4725 (description "API for Xinerama extension to X11 protocol.")
4726 (license license:x11)))
4729 (define-public libxp
4737 "mirror://xorg/individual/lib/libXp-"
4742 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
4743 (build-system gnu-build-system)
4745 `(("printproto" ,printproto)))
4747 `(("libx11" ,libx11)
4748 ("libxext" ,libxext)))
4750 `(("pkg-config" ,pkg-config)))
4751 (home-page "https://www.x.org/wiki/")
4752 (synopsis "Xorg Print Client library")
4753 (description "Xorg Print Client library.")
4754 (license license:x11)))
4757 (define-public libxrender
4765 "mirror://xorg/individual/lib/libXrender-"
4770 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
4771 (build-system gnu-build-system)
4774 (list "--disable-static"
4775 ;; Disable zero malloc check that fails when cross-compiling.
4776 ,@(if (%current-target-system)
4777 '("--disable-malloc0returnsnull")
4780 `(("xorgproto" ,xorgproto)))
4782 `(("libx11" ,libx11)))
4784 `(("pkg-config" ,pkg-config)))
4785 (home-page "https://www.x.org/wiki/")
4786 (synopsis "Xorg Render Extension library")
4787 (description "Library for the Render Extension to the X11 protocol.")
4788 (license license:x11)))
4790 (define-public libxtst
4798 "mirror://xorg/individual/lib/libXtst-"
4803 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
4804 (build-system gnu-build-system)
4806 '(#:configure-flags '("--disable-static")))
4809 ("xorgproto" ,xorgproto)))
4811 `(("libx11" ,libx11)))
4813 `(("pkg-config" ,pkg-config)))
4814 (home-page "https://www.x.org/wiki/")
4815 (synopsis "Xorg library for Xtest and Record extensions")
4817 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4820 The XTEST extension is a minimal set of client and server extensions
4821 required to completely test the X11 server with no user intervention. This
4822 extension is not intended to support general journaling and playback of user
4825 The RECORD extension supports the recording and reporting of all core X
4826 protocol and arbitrary X extension protocol.")
4827 (license license:x11)))
4829 (define-public libxv
4837 "mirror://xorg/individual/lib/libXv-"
4842 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
4843 (build-system gnu-build-system)
4845 '(#:configure-flags '("--disable-static")))
4847 `(("xorgproto" ,xorgproto)))
4849 `(("libxext" ,libxext)
4850 ("libx11" ,libx11)))
4852 `(("pkg-config" ,pkg-config)))
4853 (home-page "https://www.x.org/wiki/")
4854 (synopsis "Xorg XVideo Extension library")
4855 (description "Library for the X Video Extension to the X11 protocol.")
4856 (license license:x11)))
4858 (define-public mkfontdir
4866 "mirror://xorg/individual/app/mkfontdir-"
4871 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4872 (build-system gnu-build-system)
4875 (modify-phases %standard-phases
4876 (add-after 'unpack 'fix-configure
4877 (lambda* (#:key inputs native-inputs #:allow-other-keys)
4878 ;; Replace outdated config.sub and config.guess:
4879 (for-each (lambda (file)
4880 (install-file (string-append
4882 (or native-inputs inputs) "automake")
4884 ,(version-major+minor
4885 (package-version automake))
4887 '("config.sub" "config.guess"))
4889 (add-after 'install 'wrap-mkfontdir
4890 (lambda* (#:key inputs outputs #:allow-other-keys)
4891 (wrap-program (string-append (assoc-ref outputs "out")
4894 (,(string-append (assoc-ref inputs "mkfontscale")
4898 `(("mkfontscale" ,mkfontscale)))
4900 `(("pkg-config" ,pkg-config)
4901 ("automake" ,automake))) ;For up to date 'config.guess' and 'config.sub'.
4902 (home-page "https://www.x.org/wiki/")
4903 (synopsis "Create an index of X font files in a directory")
4905 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
4906 server core font system. The current implementation is a simple wrapper
4907 script around the mkfontscale program.")
4908 (license license:x11)))
4910 (define-public xproto
4918 "mirror://xorg/individual/proto/xproto-"
4923 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
4924 (build-system gnu-build-system)
4926 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
4928 `(("pkg-config" ,pkg-config)))
4929 (home-page "https://www.x.org/wiki/")
4930 (synopsis "Xorg X11Proto protocol headers")
4932 "XProto provides the headers and specification documents defining
4933 the X Window System Core Protocol, Version 11.
4935 It also includes a number of headers that aren't purely protocol related,
4936 but are depended upon by many other X Window System packages to provide
4937 common definitions and porting layer.")
4938 (license license:x11)
4939 (properties `((superseded . ,xorgproto)))))
4941 ;; packages of height 2 in the propagated-inputs tree
4943 (define-public libice
4951 "mirror://xorg/individual/lib/libICE-"
4956 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
4957 (build-system gnu-build-system)
4959 '(#:configure-flags '("--disable-static")))
4961 `(("xorgproto" ,xorgproto)))
4963 `(("libbsd" ,libbsd)
4964 ("xtrans" ,xtrans)))
4966 `(("pkg-config" ,pkg-config)))
4967 (home-page "https://www.x.org/wiki/")
4968 (synopsis "Xorg Inter-Client Exchange library")
4969 (description "Xorg Inter-Client Exchange library.")
4970 (license license:x11)))
4973 (define-public libxau
4981 "mirror://xorg/individual/lib/libXau-"
4986 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
4987 (build-system gnu-build-system)
4989 '(#:configure-flags '("--disable-static")))
4991 `(("xorgproto" ,xorgproto)))
4993 `(("pkg-config" ,pkg-config)))
4994 (home-page "https://www.x.org/wiki/")
4995 (synopsis "Xorg Authorization library")
4997 "libXau provides an authorization library for individual access to
4998 an X Window System display.")
4999 (license license:x11)))
5001 (define-public libxfixes
5009 "mirror://xorg/individual/lib/libXfixes-"
5014 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
5015 (build-system gnu-build-system)
5017 '(#:configure-flags '("--disable-static")))
5019 `(("xorgproto" ,xorgproto)))
5021 `(("libx11" ,libx11)))
5023 `(("pkg-config" ,pkg-config)))
5024 (home-page "https://www.x.org/wiki/")
5025 (synopsis "Xorg Fixes Extension library")
5026 (description "Library for the XFixes Extension to the X11 protocol.")
5027 (license license:x11)))
5029 (define-public libxfont
5037 "mirror://xorg/individual/lib/libXfont-"
5042 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
5043 (build-system gnu-build-system)
5045 '(#:configure-flags '("--disable-static")))
5047 `(("freetype" ,freetype)
5048 ("libfontenc" ,libfontenc)
5049 ("xorgproto" ,xorgproto)))
5052 ("xtrans" ,xtrans)))
5054 `(("pkg-config" ,pkg-config)))
5055 (home-page "https://www.x.org/wiki/")
5056 (synopsis "Xorg Font handling library")
5058 "libXfont provides the core of the legacy X11 font system, handling the
5059 index files (fonts.dir, fonts.alias, fonts.scale), the various font file
5060 formats, and rasterizing them. It is used by the X servers, the X Font
5061 Server (xfs), and some font utilities (bdftopcf for instance), but should
5062 not be used by normal X11 clients. X11 clients access fonts via either the
5063 new API's in libXft, or the legacy API's in libX11.")
5064 (license license:x11)))
5066 (define-public libxfont2
5072 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
5073 version ".tar.bz2"))
5076 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
5078 (define-public libxi
5086 "mirror://xorg/individual/lib/libXi-"
5091 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
5092 (build-system gnu-build-system)
5094 '(#:configure-flags '("--disable-static")))
5096 `(("xorgproto" ,xorgproto)
5098 ("libxext" ,libxext)
5099 ("libxfixes" ,libxfixes)))
5101 `(("pkg-config" ,pkg-config)))
5102 (home-page "https://www.x.org/wiki/")
5103 (synopsis "Xorg Input Extension library")
5104 (description "Library for the XInput Extension to the X11 protocol.")
5105 (license license:x11)))
5107 (define-public libxrandr
5115 "mirror://xorg/individual/lib/libXrandr-"
5120 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
5121 (build-system gnu-build-system)
5123 '(#:configure-flags '("--disable-static")))
5125 ;; In accordance with xrandr.pc.
5126 `(("libx11" ,libx11)
5127 ("libxext" ,libxext)
5128 ("libxrender" ,libxrender)
5129 ("xorgproto" ,xorgproto)))
5131 `(("pkg-config" ,pkg-config)))
5132 (home-page "https://www.x.org/wiki/")
5133 (synopsis "Xorg Resize and Rotate Extension library")
5135 "Library for the Resize and Rotate Extension to the X11 protocol.")
5136 (license license:x11)))
5138 (define-public libxvmc
5146 "mirror://xorg/individual/lib/libXvMC-"
5151 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
5152 (build-system gnu-build-system)
5154 '(#:configure-flags '("--disable-static")))
5156 `(("libxv" ,libxv)))
5158 `(("xorgproto" ,xorgproto)
5159 ("libxext" ,libxext)
5160 ("libx11" ,libx11)))
5162 `(("pkg-config" ,pkg-config)))
5163 (home-page "https://www.x.org/wiki/")
5164 (synopsis "Xorg XvMC library")
5165 (description "Xorg XvMC library.")
5166 (license license:x11)))
5168 (define-public libxxf86vm
5176 "mirror://xorg/individual/lib/libXxf86vm-"
5181 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
5182 (build-system gnu-build-system)
5184 '(#:configure-flags '("--disable-static")))
5186 `(("libxext" ,libxext)
5187 ("xorgproto" ,xorgproto)))
5189 `(("libx11" ,libx11)))
5191 `(("pkg-config" ,pkg-config)))
5192 (home-page "https://www.x.org/wiki/")
5193 (synopsis "Xorg XF86 Video Mode Extension library")
5195 "Library for the XFree86 Video Mode Extension Extension to the X11
5197 (license license:x11)))
5200 ;; packages of height 3 in the propagated-inputs tree
5202 (define-public libxcb
5209 (uri (string-append "https://xcb.freedesktop.org/dist/"
5210 "libxcb-" version ".tar.xz"))
5213 "0d2chjgyn5lr9sfhacfvqgnj9l9faz11vn322a06jd6lk3dxcpm5"))))
5214 (build-system gnu-build-system)
5216 `(("libpthread-stubs" ,libpthread-stubs)
5218 ("libxdmcp" ,libxdmcp)))
5220 `(("xcb-proto" ,xcb-proto)
5221 ("libxslt" ,libxslt)))
5223 `(("pkg-config" ,pkg-config)
5224 ("python" ,python-minimal-wrapper)))
5226 `(#:configure-flags '("--enable-xkb"
5227 "--disable-static")))
5228 (home-page "https://xcb.freedesktop.org/")
5229 (synopsis "The X C Binding (XCB) library")
5231 "libxcb provides an interface to the X Window System protocol,
5232 which replaces the current Xlib interface. It has several advantages
5233 over Xlib, including:
5235 - size: small, simple library, and lower memory footprint;
5237 - latency hiding: batch several requests and wait for the replies later;
5239 - direct protocol access: interface and protocol correspond exactly;
5241 - proven thread support: transparently access XCB from multiple threads;
5243 - easy extension implementation: interfaces auto-generated from XML-XCB.")
5244 (license license:x11)))
5247 (define-public xorg-server
5249 (name "xorg-server")
5255 "mirror://xorg/individual/xserver/"
5256 "xorg-server-" version ".tar.bz2"))
5259 "18bfl04ihw1jr3h0fs522nnxxq5ixjay77y9dcymnkzk23q8cndx"))
5263 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5264 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5268 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5269 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5272 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5273 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
5274 (build-system gnu-build-system)
5276 `(("libpciaccess" ,libpciaccess)
5279 ("xorgproto" ,xorgproto)))
5284 ("libepoxy" ,libepoxy)
5285 ("libgcrypt" ,libgcrypt)
5288 ("libxdmcp" ,libxdmcp)
5289 ("libxfixes" ,libxfixes)
5290 ("libxfont2" ,libxfont2)
5291 ("libxkbfile" ,libxkbfile)
5292 ("libxrender" ,libxrender)
5293 ("libxres" ,libxres)
5294 ("libxshmfence" ,libxshmfence)
5297 ("xkbcomp" ,xkbcomp)
5298 ("xkeyboard-config" ,xkeyboard-config)
5301 ;; Inputs for Xephyr
5302 ("xcb-util" ,xcb-util)
5303 ("xcb-util-image" ,xcb-util-image)
5304 ("xcb-util-keysyms" ,xcb-util-keysyms)
5305 ("xcb-util-renderutil" ,xcb-util-renderutil)
5306 ("xcb-util-wm" ,xcb-util-wm)))
5308 `(("python" ,python-wrapper)
5309 ("pkg-config" ,pkg-config)))
5311 `(#:parallel-tests? #f
5313 (list (string-append "--with-xkb-path="
5314 (assoc-ref %build-inputs "xkeyboard-config")
5316 (string-append "--with-xkb-output="
5317 "/tmp") ; FIXME: This is a bit doubtful; where should
5318 ; the compiled keyboard maps go?
5319 (string-append "--with-xkb-bin-directory="
5320 (assoc-ref %build-inputs "xkbcomp")
5322 ;; By default, it ends up with invalid '${prefix}/...', causes:
5323 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5324 ;; It's not used anyway, so set it to empty.
5325 "--with-default-font-path="
5327 ;; The default is to use "uname -srm", which captures the kernel
5328 ;; version and makes builds non-reproducible.
5329 "--with-os-name=GNU"
5331 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5334 ;; For the log file, etc.
5335 "--localstatedir=/var"
5341 (modify-phases %standard-phases
5342 (add-before 'configure 'pre-configure
5344 (substitute* (find-files "." "\\.c$")
5345 (("/bin/sh") (which "sh")))
5347 ;; Don't try to 'mkdir /var'.
5348 (substitute* "hw/xfree86/Makefile.in"
5349 (("\\$\\(MKDIR_P\\).*logdir.*")
5352 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5354 (substitute* "configure"
5355 (("^BUILD_DATE=.*$")
5356 "BUILD_DATE=19700101\n")
5357 (("^BUILD_TIME=.*$")
5358 "BUILD_TIME=000001\n"))
5361 (home-page "https://www.x.org/wiki/")
5362 (synopsis "Xorg implementation of the X Window System")
5364 "This package provides the Xorg X server itself.
5365 The X server accepts requests from client programs to create windows, which
5366 are (normally rectangular) 'virtual screens' that the client program can
5369 Windows are then composed on the actual screen by the X server (or by a
5370 separate composite manager) as directed by the window manager, which usually
5371 communicates with the user via graphical controls such as buttons and
5372 draggable titlebars and borders.")
5373 (license license:x11)))
5375 ;; This package is intended to be used when building GTK+.
5376 ;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5377 ;; packages with the same name and version.
5378 (define-public xorg-server-for-tests
5381 (inherit xorg-server))))
5383 (define-public xorg-server-xwayland
5385 (inherit xorg-server)
5386 (name "xorg-server-xwayland")
5388 `(("wayland" ,wayland)
5389 ("wayland-protocols" ,wayland-protocols)
5390 ,@(package-inputs xorg-server)))
5392 (substitute-keyword-arguments (package-arguments xorg-server)
5393 ((#:configure-flags flags)
5394 `(cons* "--enable-xwayland" "--disable-xorg"
5395 "--disable-docs" "--disable-devel-docs"
5396 "--disable-xvfb" "--disable-xnest"
5397 "--disable-xquartz" "--disable-xwin"
5399 (synopsis "Xorg server with wayland backend")))
5402 ;; packages of height 4 in the propagated-inputs tree
5404 (define-public libx11
5412 "mirror://xorg/individual/lib/libX11-"
5417 "1ldyn9c6pyx54sxzaw120n3q42rqi7b503aqmyjky6fn038fiiww"))))
5418 (build-system gnu-build-system)
5420 "doc")) ;8 MiB of man pages + XML
5423 (list (string-append "--mandir="
5424 (assoc-ref %outputs "doc")
5428 ;; Disable zero malloc check that fails when cross-compiling.
5429 ,@(if (%current-target-system)
5430 '("--disable-malloc0returnsnull")
5433 `(("xorgproto" ,xorgproto)
5434 ("libxcb" ,libxcb)))
5436 `(("xtrans" ,xtrans)))
5438 `(("pkg-config" ,pkg-config)
5439 ("xorgproto" ,xorgproto)))
5440 (home-page "https://www.x.org/wiki/")
5441 (synopsis "Xorg Core X11 protocol client library")
5442 (description "Xorg Core X11 protocol client library.")
5443 (license license:x11)))
5445 ;; packages of height 5 in the propagated-inputs tree
5447 (define-public libxcursor
5455 "mirror://xorg/individual/lib/libXcursor-"
5460 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
5461 (build-system gnu-build-system)
5463 '(#:configure-flags '("--disable-static")))
5465 `(("libx11" ,libx11)
5466 ("libxrender" ,libxrender)
5467 ("libxfixes" ,libxfixes)
5468 ("xorgproto" ,xorgproto)))
5470 `(("pkg-config" ,pkg-config)))
5471 ;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so
5472 ;; libXcursor finds cursors installed into a profile. If we solve bugs
5473 ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix
5474 ;; this with a search-path as follows:
5476 ;; (native-search-paths
5477 ;; (list (search-path-specification
5478 ;; (variable "XCURSOR_PATH")
5479 ;; (files '("share/icons")))))
5480 (home-page "https://www.x.org/wiki/")
5481 (synopsis "Xorg Cursor management library")
5482 (description "Xorg Cursor management library.")
5483 (license license:x11)))
5485 (define-public libxt
5493 "mirror://xorg/individual/lib/libXt-"
5498 "0cbqlyssr8aia88c8i7z59z9d0kp3p2hp6683xhz9ndyv8qza7dk"))
5499 (patches (search-patches "libxt-guix-search-paths.patch"))))
5500 (build-system gnu-build-system)
5502 "doc")) ;2 MiB of man pages + XML
5505 (list (string-append "--mandir="
5506 (assoc-ref %outputs "doc")
5509 ;; Disable zero malloc check that fails when cross-compiling.
5510 ,@(if (%current-target-system)
5511 '("--disable-malloc0returnsnull")
5514 `(("libx11" ,libx11)
5518 `(("libx11" ,libx11)))
5520 `(("pkg-config" ,pkg-config)))
5521 (home-page "https://www.x.org/wiki/")
5522 (synopsis "Xorg XToolkit Intrinsics library")
5523 (description "Xorg XToolkit Intrinsics library.")
5524 (license license:x11)))
5527 (define-public libxaw
5535 "mirror://xorg/individual/lib/libXaw-"
5540 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
5541 (build-system gnu-build-system)
5543 '(#:configure-flags '("--disable-static")))
5545 `(("libxext" ,libxext)
5550 `(("xorgproto" ,xorgproto)))
5552 `(("pkg-config" ,pkg-config)))
5553 (home-page "https://www.x.org/wiki/")
5554 (synopsis "Xorg Xaw library")
5556 "Xaw is the X Athena Widget Set based on the X Toolkit
5557 Intrinsics (Xt) Library.")
5558 (license license:x11)))
5568 "mirror://xorg/individual/app/" name "-"
5573 "1ms5cj1w3g26zg6bxdv1j9hl0pxr4300qnv003cz1q3cl7ffljb4"))))
5574 (build-system gnu-build-system)
5578 ("libxext" ,libxext)
5579 ("xorgproto" ,xorgproto)))
5582 ("pkg-config" ,pkg-config)))
5583 (home-page "https://www.x.org/wiki/")
5584 (synopsis "Tab Window Manager for the X Window System")
5585 (description "Twm is a window manager for the X Window System.
5586 It provides titlebars, shaped windows, several forms of icon management,
5587 user-defined macro functions, click-to-type and pointer-driven
5588 keyboard focus, and user-specified key and pointer button bindings.")
5589 (license license:x11)))
5591 (define-public xcb-util
5597 (uri (string-append "mirror://xorg/individual/xcb/"
5598 name "-" version ".tar.bz2"))
5601 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
5602 (build-system gnu-build-system)
5604 '(#:configure-flags '("--disable-static")))
5606 `(("libxcb" ,libxcb)))
5608 `(("pkg-config" ,pkg-config)))
5609 (home-page "https://cgit.freedesktop.org/xcb/util/")
5610 (synopsis "Core XCB utility functions")
5612 "The XCB util module provides a number of libraries which sit on
5613 top of libxcb, the core X protocol library, and some of the extension
5614 libraries. These experimental libraries provide convenience functions
5615 and interfaces which make the raw X protocol more usable. Some of the
5616 libraries also provide client-side code which is not strictly part of
5617 the X protocol but which has traditionally been provided by Xlib.
5619 The XCB util module provides the following libraries:
5621 - aux: Convenient access to connection setup and some core requests.
5623 - atom: Standard core X atom constants and atom caching.
5625 - event: Some utilities that have little to do with events any more.")
5626 (license license:x11)))
5629 (define-public xcb-util-cursor
5631 (name "xcb-util-cursor")
5635 (uri (string-append "https://xcb.freedesktop.org/dist/"
5636 "xcb-util-cursor-" version ".tar.bz2"))
5639 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
5640 (build-system gnu-build-system)
5642 '(#:configure-flags '("--disable-static")))
5645 ("pkg-config" ,pkg-config)))
5647 `(("libxcb" ,libxcb)))
5649 `(("xcb-util-renderutil" ,xcb-util-renderutil)
5650 ("xcb-util-image" ,xcb-util-image)))
5651 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
5652 (synopsis "Port of libxcursor")
5653 (description "XCB-util-cursor is a port of libxcursor.")
5655 ; expat license with added clause regarding advertising
5656 (license:non-copyleft
5658 "See COPYING in the distribution."))))
5660 (define-public xcb-util-errors
5661 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5664 (name "xcb-util-errors")
5665 (version (git-version "1.0" revision commit))
5669 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5672 (file-name (git-file-name name version))
5675 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5676 (build-system gnu-build-system)
5679 `(("util-macros" ,util-macros)
5680 ("xcb-proto" ,xcb-proto)))
5682 `(("libxcb" ,libxcb)))
5684 `(("autoconf" ,autoconf)
5685 ("automake" ,automake)
5686 ("libtool" ,libtool)
5687 ("python-2" ,python-2)
5688 ("pkg-config" ,pkg-config)))
5691 (modify-phases %standard-phases
5694 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5695 ;; would try to run ./configure and fail due to unpatched
5697 (invoke "autoreconf" "-v" "--install"))))))
5698 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5699 (synopsis "XCB helper library for printing information about X11 errors")
5701 "The XCB util module provides a number of libraries which sit on
5702 top of libxcb, the core X protocol library, and some of the extension
5703 libraries. These experimental libraries provide convenience functions
5704 and interfaces which make the raw X protocol more usable. Some of the
5705 libraries also provide client-side code which is not strictly part of
5706 the X protocol but which has traditionally been provided by Xlib.
5708 The XCB util-errors module provides a utility library that gives human
5709 readable names to error codes, event codes, and also to major and minor
5711 (license license:x11))))
5713 (define-public xcb-util-image
5715 (name "xcb-util-image")
5719 (uri (string-append "mirror://xorg/individual/xcb/"
5720 name "-" version ".tar.bz2"))
5723 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
5724 (build-system gnu-build-system)
5726 '(#:configure-flags '("--disable-static")))
5728 `(("libxcb" ,libxcb)))
5730 `(("xcb-util" ,xcb-util)))
5732 `(("pkg-config" ,pkg-config)))
5733 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
5734 (synopsis "XCB port of Xlib's XImage and XShmImage")
5736 "The XCB util module provides a number of libraries which sit on
5737 top of libxcb, the core X protocol library, and some of the extension
5738 libraries. These experimental libraries provide convenience functions
5739 and interfaces which make the raw X protocol more usable. Some of the
5740 libraries also provide client-side code which is not strictly part of
5741 the X protocol but which has traditionally been provided by Xlib.
5743 The XCB util-image module provides the following library:
5745 - image: Port of Xlib's XImage and XShmImage functions.")
5746 (license license:x11)))
5749 (define-public xcb-util-keysyms
5751 (name "xcb-util-keysyms")
5755 (uri (string-append "mirror://xorg/individual/xcb/"
5756 name "-" version ".tar.bz2"))
5759 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
5760 (build-system gnu-build-system)
5762 '(#:configure-flags '("--disable-static")))
5764 `(("libxcb" ,libxcb)))
5766 `(("pkg-config" ,pkg-config)))
5767 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
5768 (synopsis "Standard X constants and conversion to/from keycodes")
5770 "The XCB util module provides a number of libraries which sit on
5771 top of libxcb, the core X protocol library, and some of the extension
5772 libraries. These experimental libraries provide convenience functions
5773 and interfaces which make the raw X protocol more usable. Some of the
5774 libraries also provide client-side code which is not strictly part of
5775 the X protocol but which has traditionally been provided by Xlib.
5777 The XCB util-keysyms module provides the following library:
5779 - keysyms: Standard X key constants and conversion to/from keycodes.")
5780 (license license:x11)))
5783 (define-public xcb-util-renderutil
5785 (name "xcb-util-renderutil")
5789 (uri (string-append "mirror://xorg/individual/xcb/"
5790 name "-" version ".tar.bz2"))
5793 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
5794 (build-system gnu-build-system)
5796 '(#:configure-flags '("--disable-static")))
5798 `(("libxcb" ,libxcb)))
5800 `(("pkg-config" ,pkg-config)))
5801 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
5802 (synopsis "Convenience functions for the Render extension")
5804 "The XCB util module provides a number of libraries which sit on
5805 top of libxcb, the core X protocol library, and some of the extension
5806 libraries. These experimental libraries provide convenience functions
5807 and interfaces which make the raw X protocol more usable. Some of the
5808 libraries also provide client-side code which is not strictly part of
5809 the X protocol but which has traditionally been provided by Xlib.
5811 The XCB util-renderutil module provides the following library:
5813 - renderutil: Convenience functions for the Render extension.")
5814 (license license:x11)))
5817 (define-public xcb-util-wm
5819 (name "xcb-util-wm")
5823 (uri (string-append "mirror://xorg/individual/xcb/"
5824 name "-" version ".tar.bz2"))
5827 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
5828 (build-system gnu-build-system)
5830 '(#:configure-flags '("--disable-static")))
5832 `(("libxcb" ,libxcb)))
5835 ("pkg-config" ,pkg-config)))
5836 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
5837 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
5839 "The XCB util modules provides a number of libraries which sit on
5840 top of libxcb, the core X protocol library, and some of the extension
5841 libraries. These experimental libraries provide convenience functions
5842 and interfaces which make the raw X protocol more usable. Some of the
5843 libraries also provide client-side code which is not strictly part of
5844 the X protocol but which has traditionally been provided by Xlib.
5846 The XCB util-wm module provides the following libraries:
5848 - ewmh: Both client and window-manager helpers for EWMH.
5850 - icccm: Both client and window-manager helpers for ICCCM.")
5851 (license license:x11)))
5853 (define-public xinit
5859 (uri (string-append "mirror://xorg/individual/app/xinit-"
5860 version ".tar.bz2"))
5863 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
5864 (build-system gnu-build-system)
5866 `(("xorgproto" ,xorgproto)
5867 ("libx11" ,libx11)))
5869 `(("pkg-config" ,pkg-config)))
5871 `(("xauth" ,xauth)))
5872 (home-page "https://www.x.org/")
5873 (synopsis "Commands to start the X Window server")
5875 "The xinit program is used to start the X Window System server and a
5876 first client program on systems that are not using a display manager such as
5877 xdm. This package also provides the @code{startx} command, which provides a
5878 user-friendly mechanism to start the X server.")
5879 (license license:x11)))
5881 ;; package outside the x.org system proper of height 5
5883 (define-public libxaw3d
5891 "mirror://xorg/individual/lib/libXaw3d-"
5896 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
5897 (build-system gnu-build-system)
5899 `(("libxext" ,libxext)
5903 `(("libx11" ,libx11)))
5905 `(("pkg-config" ,pkg-config)))
5906 (home-page "https://www.x.org/wiki/")
5907 (synopsis "Xorg Xaw3d library")
5909 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5910 Intrinsics (Xt) Library.")
5911 (license license:x11)))
5913 (define-public xclock
5920 (uri (string-append "https://www.x.org/releases/individual/app/"
5921 "xclock-" version ".tar.bz2"))
5923 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
5924 (build-system gnu-build-system)
5927 (list (string-append "--with-appdefaultdir="
5928 %output ,%app-defaults-dir))))
5930 `(("libxmu" ,libxmu)
5933 ("libxrender" ,libxrender)
5935 ("libxkbfile" ,libxkbfile)))
5937 `(("pkg-config" ,pkg-config)))
5938 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
5939 (synopsis "Analog / digital clock for X")
5940 (description "The xclock program displays the time in analog or digital
5942 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
5952 "mirror://xorg/individual/app/" name "-"
5957 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
5958 (build-system gnu-build-system)
5961 (list (string-append "--with-appdefaultdir="
5962 %output ,%app-defaults-dir))))
5964 `(("libxaw" ,libxaw)))
5966 `(("pkg-config" ,pkg-config)))
5967 (home-page "https://www.x.org/wiki/")
5968 (synopsis "Display or capture a magnified part of a X11 screen")
5969 (description "Xmag displays and captures a magnified snapshot of a portion
5971 (license license:x11)))
5973 (define-public xmessage
5981 "mirror://xorg/individual/app/" name "-"
5986 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
5987 (build-system gnu-build-system)
5990 (list (string-append "--with-appdefaultdir="
5991 %output ,%app-defaults-dir))))
5993 `(("libxaw" ,libxaw)))
5995 `(("pkg-config" ,pkg-config)))
5996 (home-page "https://www.x.org/wiki/")
5997 (synopsis "Displays a message or query in a window")
5999 "Xmessage displays a message or query in a window. The user can click
6000 on a button to dismiss it or can select one of several buttons
6001 to answer a question. Xmessage can also exit after a specified time.")
6002 (license license:x11)))
6004 (define-public xterm
6011 (string-append "http://invisible-mirror.net/archives/xterm/"
6012 "xterm-" version ".tgz")
6013 (string-append "ftp://ftp.invisible-island.net/xterm/"
6014 "xterm-" version ".tgz")))
6017 "05kf586my4irrzz2bxgmwjdvynyrg9ybhvfqmx29g70w4888l2kn"))))
6018 (build-system gnu-build-system)
6020 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
6021 "--enable-i18n" "--enable-doublechars"
6022 "--enable-luit" "--enable-mini-luit")
6025 `(("pkg-config" ,pkg-config)))
6029 ("fontconfig" ,fontconfig)
6030 ("freetype" ,freetype)
6031 ("ncurses" ,ncurses)
6035 ("libXext" ,libxext)
6037 ("xorgproto" ,xorgproto)
6038 ("libXaw" ,libxaw)))
6039 (home-page "https://invisible-island.net/xterm/")
6040 (synopsis "Terminal emulator for the X Window System")
6042 "The xterm program is a terminal emulator for the X Window System. It
6043 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
6044 programs that cannot use the window system directly.")
6045 (license license:x11)))
6047 (define-public perl-x11-xcb
6049 (name "perl-x11-xcb")
6054 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
6055 "X11-XCB-" version ".tar.gz"))
6058 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
6059 (build-system perl-build-system)
6061 '(;; Disable parallel build to prevent a race condition.
6062 #:parallel-build? #f
6064 (modify-phases %standard-phases
6065 (add-before 'configure 'set-perl-search-path
6068 (string-append (getcwd) ":"
6069 (getenv "PERL5LIB")))
6071 (add-before 'build 'patch-Makefile
6072 (lambda* (#:key inputs #:allow-other-keys)
6073 (substitute* "Makefile"
6074 ;; XXX: Without this hack, attempts at using XCB.so fails with
6075 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
6077 (string-append "LDDLFLAGS = "
6078 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
6080 ;; Tests require a running X11 server.
6083 `(("perl-extutils-depends" ,perl-extutils-depends)
6084 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
6085 ("perl-module-install" ,perl-module-install)
6086 ("perl-test-deep" ,perl-test-deep)
6087 ("perl-test-exception" ,perl-test-exception)))
6089 `(("perl-data-dump" ,perl-data-dump)
6090 ("perl-mouse" ,perl-mouse)
6091 ("perl-mousex-nativetraits" ,perl-mousex-nativetraits)
6092 ("perl-try-tiny" ,perl-try-tiny)
6093 ("perl-xml-descent" ,perl-xml-descent)
6094 ("perl-xml-simple" ,perl-xml-simple)
6095 ("perl-xs-object-magic" ,perl-xs-object-magic)))
6097 `(("libxcb" ,libxcb)
6098 ("xcb-proto" ,xcb-proto)
6099 ("xcb-util" ,xcb-util)
6100 ("xcb-util-wm" ,xcb-util-wm)))
6101 (home-page "https://metacpan.org/release/X11-XCB")
6102 (synopsis "Perl bindings for libxcb")
6104 "These bindings wrap @code{libxcb} (a C library to speak with X11,
6105 in many cases better than @code{Xlib}), and provides an object oriented
6106 interface to its methods (using @code{Mouse}).")
6107 (license license:perl-license)))
6109 (define-public perl-x11-protocol
6111 (name "perl-x11-protocol")
6116 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
6120 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
6121 (build-system perl-build-system)
6122 (arguments '(#:tests? #f)) ;tests require a running x server
6123 (synopsis "Raw interface to X Window System servers")
6125 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
6126 perl programs to display windows and graphics on X11 servers.")
6127 (home-page "https://metacpan.org/release/X11-Protocol")
6128 ;; From the package README: "you can redistribute and/or modify it under
6129 ;; the same terms as Perl itself. (As an exception, the file
6130 ;; Keysyms.pm,which is derived from a file in the standard X11
6131 ;; distribution, has another, less restrictive copying policy, as do some
6132 ;; of the extension modules in the directory Protocol/Ext: see those files
6134 (license license:perl-license)))
6136 (define-public perl-x11-protocol-other
6138 (name "perl-x11-protocol-other")
6144 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
6147 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
6148 (build-system perl-build-system)
6150 `(("perl-encode-hanextra" ,perl-encode-hanextra)
6151 ("perl-module-util" ,perl-module-util)))
6153 `(("perl-x11-protocol" ,perl-x11-protocol)))
6154 (home-page "https://metacpan.org/release/X11-Protocol-Other")
6155 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
6157 "@code{X11::Protocol::Other} contains window manager related functions for
6158 use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
6159 Conventions Manual) and some of the @dfn{EWMH}
6160 (Extended Window Manager Hints).")
6161 (license license:gpl3+)))
6163 (define-public xcompmgr
6169 ;; There's no current tarball.
6172 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
6173 (commit (string-append "xcompmgr-" version))))
6175 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
6176 (file-name (git-file-name name version))))
6177 (build-system gnu-build-system)
6179 `(("pkg-config" ,pkg-config)
6180 ("autoconf" ,autoconf)
6181 ("automake" ,automake)))
6183 `(("libX11" ,libx11)
6184 ("libXext" ,libxext)
6185 ("libXcomposite" ,libxcomposite)
6186 ("libXfixes" ,libxfixes)
6187 ("libXdamage" ,libxdamage)
6188 ("libXrender" ,libxrender)))
6189 (synopsis "X Compositing manager using RENDER")
6190 (description "xcompmgr is a sample compositing manager for X servers
6191 supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6192 basic eye-candy effects.")
6193 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
6194 (license (license:x11-style
6195 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
6204 (uri (string-append "https://www.xpra.org/src/xpra-"
6208 "1ys35lj28903alccks9p055psy1fsk1nxi8ncchvw8bfxkkkvbys"))))
6209 (build-system python-build-system)
6210 (inputs `(("ffmpeg" ,ffmpeg)
6212 ("gtk+-2" ,gtk+-2) ;; no full GTK3 support yet
6213 ("libjpeg" ,libjpeg-turbo)
6216 ("libx264" ,libx264)
6217 ("libxcomposite" ,libxcomposite)
6218 ("libxdamage" ,libxdamage)
6220 ("libxkbfile" ,libxkbfile)
6221 ("libxrandr" ,libxrandr)
6222 ("libxtst" ,libxtst)
6224 ("python2-cryptography" ,python2-cryptography)
6225 ("python2-dbus" ,python2-dbus)
6226 ("python2-lz4" ,python2-lz4)
6227 ("python2-lzo" ,python2-lzo)
6228 ("python2-netifaces" ,python2-netifaces)
6229 ("python2-numpy" ,python2-numpy)
6230 ("python2-pillow" ,python2-pillow)
6231 ("python2-pycairo" ,python2-pycairo)
6232 ("python2-pycrypto" ,python2-pycrypto)
6233 ("python2-pygobject" ,python2-pygobject)
6234 ("python2-pyopengl" ,python2-pyopengl)
6235 ("python2-pyopengl-accelerate" ,python2-pyopengl-accelerate)
6236 ("python2-pygtk" ,python2-pygtk)
6237 ("python2-rencode" ,python2-rencode)
6238 ("xorg-server" ,xorg-server)))
6239 (native-inputs `(("pkg-config" ,pkg-config)
6240 ("python2-cython" ,python2-cython)))
6242 `(#:python ,python-2 ;; no full Python 3 support yet
6243 #:configure-flags '("--with-tests"
6244 "--with-bundle_tests"
6245 "--without-Xdummy" ;; We use Xvfb instead.
6246 "--without-Xdummy_wrapper"
6248 #:modules ((guix build python-build-system)
6252 (modify-phases %standard-phases
6254 (delete 'check) ;; There's no test suite at the moment.
6256 ;; Remove BUILD_CPU, BUILD_DATE, BUILD_TIME from build info to
6257 ;; prevent deterministic issues. Also correct some directories and
6258 ;; use the xvfb binary instead of xorg-server (which doesn't seem to
6260 (add-before 'install 'remove-timestamps&set-file-names
6261 (lambda* (#:key inputs outputs #:allow-other-keys)
6262 (substitute* "add_build_info.py"
6263 ((".*\"BUILD_CPU\", get_cpuinfo.*") ""))
6264 (substitute* "add_build_info.py"
6265 ((".*\"BUILD_DATE\", datetime.*") ""))
6266 (substitute* "add_build_info.py"
6267 ((".*\"BUILD_TIME\", datetime.*") ""))
6268 (substitute* "setup.py"
6270 (string-append (assoc-ref outputs "out")
6272 (substitute* "setup.py"
6274 (string-append (assoc-ref outputs "out") "/lib/")))
6275 ;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
6276 (substitute* "./xpra/scripts/config.py"
6277 ((":.*join.*xvfb.*")
6278 (string-append ": \"" (assoc-ref inputs "xorg-server")
6279 "/bin/Xvfb +extension Composite"
6280 " -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
6281 " tcp -nolisten local -noreset -auth"
6282 " $XAUTHORITY\",\n")))
6283 (substitute* "./xpra/scripts/config.py"
6284 (("socket-dir.*: \"\",")
6285 "socket-dir\" : \"~/.xpra\","))
6287 (home-page "https://www.xpra.org/")
6288 (synopsis "Remote access to individual applications or full desktops")
6289 (description "Xpra is a persistent remote display server and client for
6290 forwarding applications and desktop screens. It gives you remote access to
6291 individual applications or full desktops. On X11, it is also known as
6292 ``@command{screen} for X11'': it allows you to run programs, usually on a
6293 remote host, direct their display to your local machine, and then to
6294 disconnect from these programs and reconnect from the same or another machine,
6295 without losing any state. It can also be used to forward full desktops from
6296 X11 servers, Windows, or macOS.")
6297 (license license:gpl2+)))
6306 (uri (string-append "https://github.com/uim/uim/releases/download/"
6307 version "/uim-" version ".tar.bz2"))
6310 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
6311 (build-system gnu-build-system)
6314 ("libedit" ,libedit)
6316 ("m17n-lib" ,m17n-lib)))
6318 `(("emacs" ,emacs-minimal)
6319 ("intltool" ,intltool)
6320 ("pkg-config" ,pkg-config)))
6322 `(#:modules ((guix build gnu-build-system)
6324 (guix build emacs-utils))
6325 #:imported-modules (,@%gnu-build-system-modules
6326 (guix build emacs-utils))
6328 (list "--with-anthy-utf8"
6329 (string-append "--with-lispdir=" %output "/share/emacs")
6330 ;; Set proper runpath
6331 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
6333 (modify-phases %standard-phases
6334 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6335 (add-after 'configure 'configure-uim-el
6336 (lambda* (#:key outputs #:allow-other-keys)
6337 (let ((out (assoc-ref outputs "out")))
6338 (emacs-substitute-variables "emacs/uim-var.el"
6339 ("uim-el-agent" (string-append out "/bin/uim-el-agent"))
6340 ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent"))))
6342 ;; Fix installation path by renaming share/emacs/uim-el to
6343 ;; share/emacs/site-lisp
6344 (add-after 'install 'fix-install-path
6345 (lambda* (#:key outputs #:allow-other-keys)
6346 (let ((share-emacs (string-append (assoc-ref outputs "out")
6348 (rename-file (string-append share-emacs "/uim-el")
6349 (string-append share-emacs "/site-lisp")))
6351 ;; Generate emacs autoloads for uim.el
6352 (add-after 'fix-install-path 'make-autoloads
6353 (lambda* (#:key outputs #:allow-other-keys)
6354 (emacs-generate-autoloads
6355 ,name (string-append (assoc-ref outputs "out")
6356 "/share/emacs/site-lisp"))
6358 (home-page "https://github.com/uim/uim")
6359 (synopsis "Multilingual input method framework")
6360 (description "Uim is a multilingual input method library and environment.
6361 It provides a simple, easily extensible and high code-quality input method
6362 development platform, and useful input method environment for users of desktop
6363 and embedded platforms.")
6364 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6365 license:gpl2+ ; scm/pinyin-big5.scm
6366 license:gpl3+ ; scm/elatin-rules.cm
6367 license:public-domain ; scm/input-parse.scm, scm/match.scm
6368 ;; gtk2/toolbar/eggtrayicon.{ch},
6369 ;; qt3/chardict/kseparator.{cpp,h},
6370 ;; qt3/pref/kseparator.{cpp,h}
6372 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6376 (define-public uim-gtk
6383 ,@(package-inputs uim)))
6384 (synopsis "Multilingual input method framework (GTK+ support)")))
6386 (define-public uim-qt
6392 ("qtx11extras" ,qtx11extras)
6393 ,@(package-inputs uim)))
6395 (substitute-keyword-arguments (package-arguments uim)
6396 ((#:configure-flags configure-flags)
6397 (append configure-flags (list "--with-qt5-immodule"
6399 (synopsis "Multilingual input method framework (Qt support)")))
6401 (define-public keynav
6404 (version "0.20110708.0")
6409 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6410 version ".orig.tar.gz"))
6411 (file-name (string-append name "-" version ".tar.gz"))
6414 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6415 (build-system gnu-build-system)
6420 ("libxext" ,libxext)
6421 ("libxinerama" ,libxinerama)
6422 ("libxtst" ,libxtst)
6423 ("xdotool" ,xdotool)))
6425 `(("pkg-config" ,pkg-config)))
6427 `(#:tests? #f ;No tests.
6429 (modify-phases %standard-phases
6430 (add-after 'unpack 'setenv
6432 (setenv "CC" (which "gcc"))
6434 (add-after 'unpack 'patch-keynav
6436 (substitute* "keynav.c"
6437 (("xdo_symbol_map") "xdo_get_symbol_map")
6438 (("xdo_window_setclass") "xdo_set_window_class")
6439 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6440 (("xdo_click") "xdo_click_window")
6441 (("xdo_mouseup") "xdo_mouse_up")
6442 (("xdo_mousedown") "xdo_mouse_down")
6443 (("xdo_mousemove") "xdo_move_mouse")
6444 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6445 (("xdo_mouselocation") "xdo_get_mouse_location")
6446 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6447 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6448 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6452 (lambda* (#:key outputs #:allow-other-keys)
6453 (let ((out (assoc-ref outputs "out")))
6454 (install-file "keynav" (string-append out "/bin"))
6455 (install-file "keynavrc" (string-append out "/etc")))
6457 (home-page "https://www.semicomplete.com/projects/keynav/")
6458 (synopsis "Keyboard-driven mouse cursor mover")
6460 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6461 cursor to any point on the screen with a few key strokes. It also simulates
6462 mouse click. You can do everything mouse can do with a keyboard.")
6463 (license license:bsd-3)))
6465 (define-public transset-df
6467 (name "transset-df")
6471 (uri (string-append "http://forchheimer.se/" name "/" name "-" version
6475 "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
6476 (build-system gnu-build-system)
6479 (modify-phases %standard-phases
6480 (add-after 'unpack 'setenv
6482 (setenv "CC" (which "gcc"))
6487 (lambda* (#:key outputs #:allow-other-keys)
6488 (let* ((out (assoc-ref outputs "out"))
6489 (bin (string-append out "/bin")))
6490 (install-file "transset-df" bin)
6493 `(("pkg-config" ,pkg-config)))
6494 (inputs `(("libxcomposite" ,libxcomposite)
6495 ("libxdamager" ,libxdamage)
6496 ("libxrender" ,libxrender)))
6497 (synopsis "Set the transparency of X11 windows")
6498 (description "The @command{transset-df} command allows you to set the
6499 opacity of X11 windows. This patched version of X.Org's @command{transset}
6500 adds functionality, including: selecting window by clicking (as transset),
6501 selecting windows by pointing select actual focused X11 window, selecting by
6502 window name or id, forcing toggle, increase or decrease opacity.")
6503 (home-page "https://forchheimer.se/transset-df/")
6504 (license license:x11)))
6506 (define-public bdfresize
6511 ;; Former upstream at
6512 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6513 ;; vanished so use Debian, which in practice is the new
6517 (url "https://salsa.debian.org/debian/bdfresize.git")
6518 (commit (string-append "debian/" version))))
6521 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6522 (modules '((guix build utils)))
6525 (for-each make-file-writable (find-files "."))
6527 ;; Remove broken declaration.
6528 (substitute* "charresize.c"
6529 (("char\t\\*malloc\\(\\);")
6532 ;; Remove old configury that doesn't support modern
6533 ;; command-line options, new architectures, etc.
6534 (for-each delete-file
6535 '("configure" "install-sh"
6536 "missing" "mkinstalldirs"))
6538 (file-name (git-file-name name version))))
6539 (build-system gnu-build-system)
6541 `(("pkg-config" ,pkg-config)
6542 ("autoconf" ,autoconf)
6543 ("automake" ,automake)))
6544 (synopsis "Resize fonts in the BDF format")
6546 "This package provides @command{bdfresize}, a command to magnify or
6547 reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6549 (home-page "https://tracker.debian.org/pkg/bdfresize")
6550 (license license:gpl2+)) )
6552 (define-public console-setup
6554 (name "console-setup")
6560 (url "https://salsa.debian.org/installer-team/console-setup.git")
6563 (base32 "0fkabv05j5dj10mfrpjyvv7lnxl9qaqkbjhwj72r18i9i4019vgh"))
6564 (file-name (git-file-name name version))))
6565 (build-system gnu-build-system)
6568 (let ((bash (assoc-ref %build-inputs "bash"))
6569 (out (assoc-ref %outputs "out")))
6570 (list (string-append "SHELL=" bash "/bin/bash")))
6571 #:tests? #f ;no tests
6573 (modify-phases %standard-phases
6575 (add-after 'unpack 'patch-file-names
6577 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6579 (substitute* '("Keyboard/ckbcomp")
6581 (string-append "\"" (which "cat")
6584 (add-before 'build 'make-doubled-bdfs
6585 (lambda* (#:key native-inputs inputs #:allow-other-keys)
6586 (invoke "make" "-C" "Fonts"
6588 (string-append "SHELL="
6589 (assoc-ref (or native-inputs inputs)
6593 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
6594 (let ((out (assoc-ref %outputs "out")))
6595 (invoke "make" "install-linux"
6596 (string-append "prefix=" out)
6597 (string-append "SHELL="
6598 (assoc-ref (or native-inputs inputs)
6602 `(("pkg-config" ,pkg-config)
6603 ("bdftopcf" ,bdftopcf)
6604 ("bdfresize" ,bdfresize)
6605 ("sharutils" ,sharutils) ;for 'uuencode'
6608 `(("perl" ,perl))) ;used by 'ckbcomp'
6609 (synopsis "Set up the Linux console font and keyboard")
6611 "console-setup provides the console with the same keyboard
6612 configuration scheme that X Window System has. In particular, the
6613 @command{ckbcomp} program compiles an XKB keyboard description to a keymap
6614 suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6615 is no need to duplicate or change the console keyboard files just to make
6616 simple customizations.
6618 Besides the keyboard, the package also configures the font on the console. It
6619 includes a rich collection of fonts and supports several languages that would
6620 otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6622 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6624 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6625 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6626 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6627 (license (list license:gpl2+
6630 (define-public xcur2png
6638 (url "https://github.com/eworm-de/xcur2png.git")
6640 (file-name (git-file-name name version))
6642 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6643 (build-system gnu-build-system)
6645 `(("pkg-config" ,pkg-config)))
6647 `(("libpng" ,libpng)
6648 ("libxcursor" ,libxcursor)))
6649 (synopsis "Decode X cursors")
6651 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6652 a configuration file reusable by xcursorgen.")
6653 (home-page "https://github.com/eworm-de/xcur2png")
6654 (license license:gpl3+)))