1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2017, 2018, 2020 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 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, 2020 Efraim Flashner <efraim@flashner.co.il>
10 ;;; Copyright © 2016 Nikita <nikita@n0.is>
11 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
12 ;;; Copyright © 2016 David Craven <david@craven.ch>
13 ;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
14 ;;; Copyright © 2017, 2018, 2019, 2020 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–2021 Tobias Geerinckx-Rice <me@tobias.gr>
18 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
19 ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
20 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
21 ;;; Copyright © 2019 nee <nee@cock.li>
22 ;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
23 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
24 ;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
25 ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
26 ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
27 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
28 ;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
30 ;;; This file is part of GNU Guix.
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
45 (define-module (gnu packages xorg)
46 #:use-module ((guix licenses) #:prefix license:)
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix git-download)
50 #:use-module (guix build-system gnu)
51 #:use-module (guix build-system perl)
52 #:use-module (guix build-system python)
53 #:use-module (guix utils)
54 #:use-module (gnu packages)
55 #:use-module (gnu packages anthy)
56 #:use-module (gnu packages autotools)
57 #:use-module (gnu packages bison)
58 #:use-module (gnu packages check)
59 #:use-module (gnu packages compression)
60 #:use-module (gnu packages emacs)
61 #:use-module (gnu packages flex)
62 #:use-module (gnu packages fontutils)
63 #:use-module (gnu packages freedesktop)
64 #:use-module (gnu packages gettext)
65 #:use-module (gnu packages gl)
66 #:use-module (gnu packages glib)
67 #:use-module (gnu packages gnupg)
68 #:use-module (gnu packages gperf)
69 #:use-module (gnu packages gtk)
70 #:use-module (gnu packages inkscape)
71 #:use-module (gnu packages image)
72 #:use-module (gnu packages imagemagick)
73 #:use-module (gnu packages libbsd)
74 #:use-module (gnu packages libedit)
75 #:use-module (gnu packages linux)
76 #:use-module (gnu packages llvm)
77 #:use-module (gnu packages m4)
78 #:use-module (gnu packages ncurses)
79 #:use-module (gnu packages pciutils)
80 #:use-module (gnu packages perl)
81 #:use-module (gnu packages perl-check)
82 #:use-module (gnu packages pkg-config)
83 #:use-module (gnu packages python)
84 #:use-module (gnu packages python-compression)
85 #:use-module (gnu packages python-crypto)
86 #:use-module (gnu packages python-xyz)
87 #:use-module (gnu packages qt)
88 #:use-module (gnu packages spice)
89 #:use-module (gnu packages video)
90 #:use-module (gnu packages xiph)
91 #:use-module (gnu packages xml)
92 #:use-module (gnu packages xdisorg))
97 ;; packages without propagated input
98 ;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
99 ;; be defined first, the split makes book-keeping easier.)
102 ;; compiles only on macos
103 ;; (define-public applewmproto
106 (define xorg-cf-files
107 ;; The xorg-cf-files package contains the data files for the imake utility,
108 ;; defining the known settings for a wide variety of platforms (many of which
109 ;; have not been verified or tested in over a decade), and for many of the
110 ;; libraries formerly delivered in the X.Org monolithic releases.
112 ;; License: x11, see COPYING
115 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
117 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
126 (uri (string-append "mirror://xorg/individual/util/imake-"
129 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
130 (build-system gnu-build-system)
132 `(("pkg-config" ,pkg-config)))
134 `(("xorg-cf-files" ,xorg-cf-files)
135 ("xorgproto" ,xorgproto)))
138 (modify-phases %standard-phases
139 (add-after 'install 'install-data
140 (lambda* (#:key inputs outputs #:allow-other-keys)
141 (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
142 (out (assoc-ref outputs "out"))
143 (unpack (assoc-ref %standard-phases 'unpack))
144 (patch-source-shebangs
145 (assoc-ref %standard-phases 'patch-source-shebangs)))
146 (mkdir "xorg-cf-files")
147 (with-directory-excursion "xorg-cf-files"
148 (apply unpack (list #:source cf-files))
149 (apply patch-source-shebangs (list #:source cf-files))
150 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
151 "linux.cf" "Amoeba.cf" "cygwin.cf")
152 (("/bin/sh") (which "bash")))
153 (invoke "./configure"
154 (string-append "SHELL=" (which "bash"))
155 (string-append "--prefix=" out))
156 (invoke "make" "install"))))))))
157 (home-page "https://www.x.org/")
158 (synopsis "Source code configuration and build system")
160 "Imake is a deprecated source code configuration and build system which
161 has traditionally been supplied by and used to build the X Window System in
162 X11R6 and previous releases. As of the X Window System X11R7 release, the X
163 Window system has switched to using GNU autotools as the primary build system,
164 and the Imake system is now deprecated, and should not be used by new software
165 projects. Software developers are encouraged to migrate software to the GNU
167 (license license:x11)))
176 "mirror://xorg/individual/util/"
177 "lndir-" version ".tar.bz2"))
180 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
181 (build-system gnu-build-system)
183 `(("pkg-config" ,pkg-config)))
185 `(("xorgproto" ,xorgproto)))
186 (home-page "https://www.x.org/")
187 (synopsis "Symlink directory into tree")
188 (description "Create a shadow directory of symbolic links to another
190 (license license:x11)))
192 (define-public bdftopcf
200 "mirror://xorg/individual/app/bdftopcf-"
205 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
206 (build-system gnu-build-system)
208 `(("libxfont" ,libxfont2)))
210 `(("pkg-config" ,pkg-config)))
211 (home-page "https://www.x.org/wiki/")
212 (synopsis "Convert X font from BDF to PCF")
214 "BDFtoPCF is a font compiler for the X server and font server. It
215 converts X font from Bitmap Distribution Format to Portable Compiled Format
216 which can be read by any architecture.")
217 (license license:x11)))
219 (define-public xorgproto
225 (uri (string-append "mirror://xorg/individual/proto/"
226 "xorgproto-" version ".tar.bz2"))
229 "13kvir8dz9dvzhvyfndpff1z7k8h14s7kkl7mbl427andhax1v26"))))
230 (build-system gnu-build-system)
232 ;; To get util-macros in (almost?) all package inputs.
233 `(("util-macros" ,util-macros)))
234 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
235 (synopsis "Xorg protocol headers")
237 "This package provides the headers and specification documents defining
238 the core protocol and (many) extensions for the X Window System.")
239 (license license:x11)))
241 (define-public bigreqsproto
243 (name "bigreqsproto")
249 "mirror://xorg/individual/proto/bigreqsproto-"
254 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
255 (build-system gnu-build-system)
256 (native-inputs `(("pkg-config" ,pkg-config)))
257 (home-page "https://www.x.org/wiki/")
258 (synopsis "Xorg BigReqsProto protocol headers")
260 "Big Requests Extension defines a protocol to enable the use of
261 requests that exceed 262140 bytes in length.")
262 (license license:x11)
263 (properties `((superseded . ,xorgproto)))))
265 (define-public compositeproto
267 (name "compositeproto")
273 "mirror://xorg/individual/proto/compositeproto-"
278 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
279 (build-system gnu-build-system)
281 `(("xorgproto" ,xorgproto)))
283 `(("pkg-config" ,pkg-config)))
284 (home-page "https://www.x.org/wiki/")
285 (synopsis "Xorg CompositeProto protocol headers")
287 "Composite Extension contains header files and documentation for
288 the damage protocol.")
289 (license license:x11)
290 (properties `((superseded . ,xorgproto)))))
292 (define-public damageproto
300 "mirror://xorg/individual/proto/damageproto-"
305 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
306 (build-system gnu-build-system)
307 (native-inputs `(("pkg-config" ,pkg-config)))
308 (home-page "https://www.x.org/wiki/")
309 (synopsis "Xorg DamageProto protocol headers")
311 "Damage Extension contains header files and documentation for
312 the damage protocol.")
313 (license license:x11)
314 (properties `((superseded . ,xorgproto)))))
316 (define-public dmxproto
324 "mirror://xorg/individual/proto/dmxproto-"
329 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
330 (build-system gnu-build-system)
331 (native-inputs `(("pkg-config" ,pkg-config)))
332 (home-page "https://www.x.org/wiki/")
333 (synopsis "Xorg DMXProto protocol headers")
335 "DMX (Distributed Multihead X) Extension defines a protocol for clients
336 to access a front-end proxy X server that controls multiple back-end X
337 servers making up a large display.")
338 (license license:x11)
339 (properties `((superseded . ,xorgproto)))))
341 (define-public dri2proto
349 "mirror://xorg/individual/proto/dri2proto-"
354 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
355 (build-system gnu-build-system)
356 (home-page "https://www.x.org/wiki/")
357 (synopsis "Xorg DRI2Proto protocol headers")
359 "Direct Rendering Infrastructure 2 Extension defines a protocol to
360 securely allow user applications to access the video hardware without
361 requiring data to be passed through the X server.")
362 (license license:x11)
363 (properties `((superseded . ,xorgproto)))))
365 (define-public dri3proto
373 "mirror://xorg/individual/proto/dri3proto-"
378 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
379 (build-system gnu-build-system)
380 (home-page "https://www.x.org/wiki/")
381 (synopsis "Xorg DRI3Proto protocol headers")
383 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
384 translate between direct rendered buffers and X pixmaps. When combined with
385 the Present extension, a complete direct rendering solution for OpenGL is
387 (license (license:x11-style "file://dri3proto.h"
388 "See 'dri3proto.h' in the distribution."))
389 (properties `((superseded . ,xorgproto)))))
391 (define-public %app-defaults-dir "/lib/X11/app-defaults")
393 (define-public editres
401 "mirror://xorg/individual/app/" name "-"
406 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
407 (build-system gnu-build-system)
410 (list (string-append "--with-appdefaultdir="
411 %output ,%app-defaults-dir))))
417 `(("pkg-config" ,pkg-config)))
418 (home-page "https://www.x.org/wiki/")
419 (synopsis "Tool to browse and edit X Toolkit resource specifications")
421 "Editres is a tool that allows users and application developers to view
422 the full widget hierarchy of any X Toolkit application that speaks the Editres
423 protocol. In addition, editres will help the user construct resource
424 specifications, allow the user to apply the resource to the application and
425 view the results dynamically. Once the user is happy with a resource
426 specification editres will append the resource string to the user's X
428 (license license:x11)))
431 (define-public encodings
439 "mirror://xorg/individual/font/encodings-"
443 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
444 (build-system gnu-build-system)
446 `(("mkfontscale" ,mkfontscale)))
448 `(("pkg-config" ,pkg-config)))
449 (home-page "https://www.x.org/wiki/")
450 (synopsis "Xorg font encoding files")
451 (description "Xorg font encoding files.")
452 (license license:public-domain)))
454 (define (%xorg-font-origin font version hash)
457 (uri (string-append "mirror://xorg/individual/font/" font "-"
460 (modules '((guix build utils)))
462 ;; Do not include timestamps in '.pcf.gz' files.
464 (substitute* "Makefile.in"
465 (("^COMPRESS = (.*)$" _ rest)
466 (string-append "COMPRESS = " (string-trim-right rest)
470 (define-syntax-rule (xorg-font-origin font version hash)
471 "Expand to the 'origin' form for the given Xorg font package."
472 (%xorg-font-origin font version (base32 hash)))
474 (define-public font-adobe100dpi
476 (name "font-adobe100dpi")
478 (source (xorg-font-origin
479 "font-adobe-100dpi" version
480 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
481 (build-system gnu-build-system)
483 `(("bdftopcf" ,bdftopcf)
484 ("font-util" ,font-util)
485 ("mkfontdir" ,mkfontdir)))
487 `(("pkg-config" ,pkg-config)))
489 `(#:configure-flags (list
490 ;; install fonts into subdirectory of package output instead of
491 ;; font-util-?.?.?/share/fonts/X11
492 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
493 (home-page "https://www.x.org/wiki/")
494 (synopsis "Xorg adobe-100dpi fonts")
495 (description "Xorg adobe-100dpi fonts.")
496 (license license:x11)))
499 (define-public font-adobe75dpi
501 (name "font-adobe75dpi")
503 (source (xorg-font-origin
504 "font-adobe-75dpi" version
505 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
506 (build-system gnu-build-system)
508 `(("bdftopcf" ,bdftopcf)
509 ("font-util" ,font-util)
510 ("mkfontdir" ,mkfontdir)))
512 `(("pkg-config" ,pkg-config)))
514 `(#:configure-flags (list
515 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
516 (home-page "https://www.x.org/wiki/")
517 (synopsis "Xorg adobe-75dpi fonts")
518 (description "Xorg adobe-75dpi fonts.")
519 (license license:x11)))
523 ;; (define-public font-adobe-utopia100dpi
524 ;; (define-public font-adobe-utopia75dpi
525 ;; (define-public font-adobe-utopia-type1
528 (define-public font-alias
532 (source (xorg-font-origin
534 "0xjjjindczv3g7m1597l0x19zz75xy70wh5garghz61fpzl1l4gk"))
535 (build-system gnu-build-system)
536 (native-inputs `(("pkg-config" ,pkg-config)))
538 `(#:phases (modify-phases %standard-phases
540 'install 'install-fonts-dir
541 ;; The X font server will not add directories to the font
542 ;; path unless they contain a "fonts.dir" file, so add some
544 (lambda* (#:key outputs #:allow-other-keys)
545 (let ((out (assoc-ref outputs "out")))
546 (for-each (lambda (d)
547 (call-with-output-file
548 (string-append out "/share/fonts/X11"
552 '("75dpi" "100dpi" "misc" "cyrillic"))
554 (home-page "https://www.x.org/wiki/")
555 (synopsis "Xorg font aliases")
557 "This package provides some common aliases for Xorg fonts.
558 For example: @code{6x10}, @code{9x15bold}, etc.")
559 (license license:x11)))
562 (define-public font-arabic-misc
564 (name "font-arabic-misc")
566 (source (xorg-font-origin
568 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
569 (build-system gnu-build-system)
571 `(("mkfontdir" ,mkfontdir)
572 ("bdftopcf" ,bdftopcf)))
574 `(("pkg-config" ,pkg-config)))
575 (home-page "https://www.x.org/wiki/")
576 (synopsis "Xorg arabic-misc font")
577 (description "Xorg arabic-misc font.")
578 (license license:x11)))
582 ;; (define-public font-bh100dpi
583 ;; (define-public font-bh75dpi
584 ;; (define-public font-bh-lucidatypewriter100dpi
585 ;; (define-public font-bh-lucidatypewriter75dpi
586 ;; (define-public font-bh-ttf
587 ;; (define-public font-bh-type1
588 ;; (define-public font-bitstream100dpi
589 ;; (define-public font-bitstream75dpi
592 (define-public font-cronyx-cyrillic
594 (name "font-cronyx-cyrillic")
596 (source (xorg-font-origin
598 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
599 (build-system gnu-build-system)
601 `(("mkfontdir" ,mkfontdir)
602 ("bdftopcf" ,bdftopcf)))
604 `(("pkg-config" ,pkg-config)))
605 (home-page "https://www.x.org/wiki/")
606 (synopsis "Xorg cronyx-cyrillic font")
607 (description "Xorg cronyx-cyrillic font.")
608 (license license:x11)))
612 ;; (define-public font-cursor-misc
615 ;; (define-public font-daewoo-misc
618 (define-public font-dec-misc
620 (name "font-dec-misc")
622 (source (xorg-font-origin
624 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
625 (build-system gnu-build-system)
627 `(("mkfontdir" ,mkfontdir)
628 ("bdftopcf" ,bdftopcf)))
630 `(("pkg-config" ,pkg-config)))
631 (home-page "https://www.x.org/wiki/")
632 (synopsis "Xorg dec-misc font")
633 (description "Xorg dec-misc font.")
634 (license license:x11)))
638 ;; (define-public font-ibm-type1
640 (define-public font-isas-misc
642 (name "font-isas-misc")
644 (source (xorg-font-origin
646 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
647 (build-system gnu-build-system)
649 `(("mkfontdir" ,mkfontdir)
650 ("bdftopcf" ,bdftopcf)))
652 `(("pkg-config" ,pkg-config)))
653 (home-page "https://www.x.org/wiki/")
654 (synopsis "Xorg isas-misc font")
655 (description "Xorg isas-misc font.")
656 (license license:x11)))
660 ;; (define-public font-jis-misc
663 (define-public font-micro-misc
665 (name "font-micro-misc")
667 (source (xorg-font-origin
669 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
670 (build-system gnu-build-system)
672 `(("mkfontdir" ,mkfontdir)
673 ("bdftopcf" ,bdftopcf)))
675 `(("pkg-config" ,pkg-config)))
676 (home-page "https://www.x.org/wiki/")
677 (synopsis "Xorg micro-misc font")
678 (description "Xorg micro-misc font.")
679 (license license:public-domain)))
682 (define-public font-misc-cyrillic
684 (name "font-misc-cyrillic")
686 (source (xorg-font-origin
688 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
689 (build-system gnu-build-system)
691 `(("mkfontdir" ,mkfontdir)
692 ("bdftopcf" ,bdftopcf)))
694 `(("pkg-config" ,pkg-config)))
695 (home-page "https://www.x.org/wiki/")
696 (synopsis "Xorg misc-cyrillic fonts")
697 (description "Xorg misc-cyrillic fonts.")
698 (license license:x11)))
701 (define-public font-misc-ethiopic
703 (name "font-misc-ethiopic")
705 (source (xorg-font-origin
707 "1q2azkdwc4x3kh53xclwpf9q654k70lhiyns1cjq594wvxnhz339"))
708 (build-system gnu-build-system)
710 `(("mkfontdir" ,mkfontdir)
711 ("mkfontscale" ,mkfontscale)))
713 `(("pkg-config" ,pkg-config)))
714 (home-page "https://www.x.org/wiki/")
715 (synopsis "Xorg misc-ethiopic fonts")
716 (description "Xorg misc-ethiopic fonts.")
717 (license license:x11)))
721 ;; (define-public font-misc-meltho
724 (define-public font-misc-misc
726 (name "font-misc-misc")
728 (source (xorg-font-origin
730 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
731 (build-system gnu-build-system)
733 `(("mkfontdir" ,mkfontdir)
734 ("font-util" ,font-util)
735 ("bdftopcf" ,bdftopcf)))
737 `(("pkg-config" ,pkg-config)))
739 `(#:configure-flags (list
740 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
741 (home-page "https://www.x.org/wiki/")
742 (synopsis "Xorg misc-misc fonts")
743 (description "Xorg misc-misc fixed fonts.")
744 (license license:public-domain)))
747 (define-public font-mutt-misc
749 (name "font-mutt-misc")
751 (source (xorg-font-origin
753 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
754 (build-system gnu-build-system)
756 `(("mkfontdir" ,mkfontdir)
757 ("bdftopcf" ,bdftopcf)))
759 `(("pkg-config" ,pkg-config)))
760 (home-page "https://www.x.org/wiki/")
761 (synopsis "Xorg mutt-misc fonts")
762 (description "Xorg mutt-misc fonts.")
763 (license license:x11)))
766 (define-public font-schumacher-misc
768 (name "font-schumacher-misc")
770 (source (xorg-font-origin
772 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
773 (build-system gnu-build-system)
775 `(("mkfontdir" ,mkfontdir)
776 ("font-util" ,font-util)
777 ("bdftopcf" ,bdftopcf)))
779 `(("pkg-config" ,pkg-config)))
781 `(#:configure-flags (list
782 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
783 (home-page "https://www.x.org/wiki/")
784 (synopsis "Xorg schumacher-misc fonts")
785 (description "Xorg schumacher-misc fonts.")
786 (license license:x11)))
789 (define-public font-screen-cyrillic
791 (name "font-screen-cyrillic")
793 (source (xorg-font-origin
795 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
796 (build-system gnu-build-system)
798 `(("mkfontdir" ,mkfontdir)
799 ("bdftopcf" ,bdftopcf)))
801 `(("pkg-config" ,pkg-config)))
802 (home-page "https://www.x.org/wiki/")
803 (synopsis "Xorg screen-cyrillic fonts")
804 (description "Xorg screen-cyrillic fonts.")
805 (license license:x11)))
808 (define-public font-sony-misc
810 (name "font-sony-misc")
812 (source (xorg-font-origin
814 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
815 (build-system gnu-build-system)
817 `(("mkfontdir" ,mkfontdir)
818 ("bdftopcf" ,bdftopcf)))
820 `(("pkg-config" ,pkg-config)))
821 (home-page "https://www.x.org/wiki/")
822 (synopsis "Xorg sony-misc fonts")
823 (description "Xorg sony-misc fonts.")
824 (license license:x11)))
827 (define-public font-sun-misc
829 (name "font-sun-misc")
831 (source (xorg-font-origin
833 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
834 (build-system gnu-build-system)
836 `(("mkfontdir" ,mkfontdir)
837 ("bdftopcf" ,bdftopcf)))
839 `(("pkg-config" ,pkg-config)))
840 (home-page "https://www.x.org/wiki/")
841 (synopsis "Xorg sun-misc fonts")
842 (description "Xorg sun-misc fonts.")
843 (license license:x11)))
846 (define-public font-util
854 "mirror://xorg/individual/font/font-util-"
858 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
859 (build-system gnu-build-system)
860 (native-inputs `(("pkg-config" ,pkg-config)))
861 (home-page "https://www.x.org/wiki/")
862 (synopsis "Xorg font utilities")
864 "Xorg font package creation/installation utilities.")
865 (license license:x11)))
868 (define-public font-winitzki-cyrillic
870 (name "font-winitzki-cyrillic")
872 (source (xorg-font-origin
874 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
875 (build-system gnu-build-system)
877 `(("mkfontdir" ,mkfontdir)
878 ("bdftopcf" ,bdftopcf)))
880 `(("pkg-config" ,pkg-config)))
881 (home-page "https://www.x.org/wiki/")
882 (synopsis "Xorg winitzki-cyrillic font")
883 (description "Xorg winitzki-cyrillic font.")
884 (license license:public-domain)))
887 (define-public font-xfree86-type1
889 (name "font-xfree86-type1")
891 (source (xorg-font-origin
893 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
894 (build-system gnu-build-system)
896 `(("mkfontdir" ,mkfontdir)
897 ("mkfontscale" ,mkfontscale)))
899 `(("pkg-config" ,pkg-config)))
900 (home-page "https://www.x.org/wiki/")
901 (synopsis "Xorg xfree86-type1 font")
902 (description "Xorg xfree86-type1 font.")
903 (license license:x11)))
906 (define-public fontsproto
914 "mirror://xorg/individual/proto/fontsproto-"
919 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
920 (build-system gnu-build-system)
921 (native-inputs `(("pkg-config" ,pkg-config)))
922 (home-page "https://www.x.org/wiki/")
923 (synopsis "Xorg FontsProto protocol headers")
925 "Fonts Extension contains header files and documentation for
926 the fonts protocol.")
927 (license license:x11)
928 (properties `((superseded . ,xorgproto)))))
930 (define-public glproto
938 "mirror://xorg/individual/proto/glproto-"
943 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
944 (build-system gnu-build-system)
945 (native-inputs `(("pkg-config" ,pkg-config)))
946 (home-page "https://www.x.org/wiki/")
947 (synopsis "Xorg GLProto protocol headers")
949 "OpenGL Extension defines a protocol for the client to send 3D
950 rendering commands to the X server.")
951 (license license:x11)
952 (properties `((superseded . ,xorgproto)))))
954 (define-public iceauth
962 "mirror://xorg/individual/app/iceauth-"
967 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
968 (build-system gnu-build-system)
970 `(("libice" ,libice)))
972 `(("pkg-config" ,pkg-config)))
973 (home-page "https://www.x.org/wiki/")
974 (synopsis "ICE authority file utility")
976 "ICEAuth program is used to edit and display the authorization
977 information used in connecting with ICE (Inter-Client Exchange). It
978 operates very much like the xauth program for X11 connection
979 authentication records.")
980 (license license:x11)))
983 (define-public inputproto
991 "mirror://xorg/individual/proto/inputproto-"
996 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
997 (build-system gnu-build-system)
998 (native-inputs `(("pkg-config" ,pkg-config)))
999 (home-page "https://www.x.org/wiki/")
1000 (synopsis "Xorg InputProto protocol headers")
1002 "Input Extension defines a protocol to provide additional input
1003 devices management such as graphic tablets.")
1004 (license license:x11)
1005 (properties `((superseded . ,xorgproto)))))
1007 (define-public kbproto
1015 "mirror://xorg/individual/proto/kbproto-"
1020 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
1021 (build-system gnu-build-system)
1022 (native-inputs `(("pkg-config" ,pkg-config)))
1023 (home-page "https://www.x.org/wiki/")
1024 (synopsis "Xorg KBProto protocol headers")
1026 "X Keyboard (XKB) Extension defines a protocol to provide a number
1027 of new capabilities and controls for text keyboards.")
1028 (license license:x11)
1029 (properties `((superseded . ,xorgproto)))))
1031 ;; requires applewmproto, which compiles only on macos
1032 ;; (define-public libapplewm
1035 (define-public libdmx
1043 "mirror://xorg/individual/lib/libdmx-"
1048 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
1049 (build-system gnu-build-system)
1051 '(#:configure-flags '("--disable-static")))
1053 `(("xorgproto" ,xorgproto)
1054 ("libxext" ,libxext)
1055 ("libx11" ,libx11)))
1057 `(("pkg-config" ,pkg-config)))
1058 (home-page "https://www.x.org/wiki/")
1059 (synopsis "Xorg DMX library")
1061 "DMX (Distributed Multihead X) extension library.")
1062 (license license:x11)))
1065 (define-public libxshmfence
1067 (name "libxshmfence")
1072 "mirror://xorg/individual/lib/"
1073 name "-" version ".tar.bz2"))
1076 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
1077 (build-system gnu-build-system)
1079 '(#:configure-flags '("--disable-static")))
1080 (native-inputs `(("pkg-config" ,pkg-config)))
1081 (inputs `(("xorgproto" ,xorgproto)))
1082 (home-page "https://www.x.org/")
1083 (synopsis "Xorg shared memory fences library")
1085 "This library provides an interface to shared-memory fences for
1086 synchronization between the X server and direct-rendering clients.")
1088 ;; Same license as libevdev.
1089 (license (license:x11-style "file://COPYING"))))
1092 (define-public libfontenc
1100 "mirror://xorg/individual/lib/libfontenc-"
1105 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
1106 (build-system gnu-build-system)
1108 '(#:configure-flags '("--disable-static")))
1111 ("xorgproto" ,xorgproto)))
1113 `(("pkg-config" ,pkg-config)))
1114 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
1115 (synopsis "Xorg font encoding library")
1116 (description "Xorg font encoding library.")
1117 (license license:x11)))
1120 (define-public libfs
1128 "mirror://xorg/individual/lib/libFS-"
1132 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
1133 (build-system gnu-build-system)
1135 `(("xtrans" ,xtrans)
1136 ("xorgproto" ,xorgproto)))
1138 `(("pkg-config" ,pkg-config)))
1139 (home-page "https://www.x.org/wiki/")
1140 (synopsis "Xorg Font Service client library")
1142 "Font Service client library is used by clients of X Font
1143 Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1145 (license license:x11)))
1148 (define-public libpciaccess
1150 (name "libpciaccess")
1156 "mirror://xorg/individual/lib/libpciaccess-"
1161 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
1162 (build-system gnu-build-system)
1164 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1165 ;; provided by pciutils.
1168 (string-append "--with-pciids-path="
1169 (assoc-ref %build-inputs "pciutils")
1173 (modify-phases %standard-phases
1174 (add-after 'install 'add-L-zlib
1175 (lambda* (#:key inputs outputs #:allow-other-keys)
1176 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1177 (let ((zlib (assoc-ref inputs "zlib"))
1178 (out (assoc-ref outputs "out")))
1179 (substitute* (string-append out "/lib/libpciaccess.la")
1181 (string-append "-L" zlib "/lib -lz")))
1185 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
1187 `(("pkg-config" ,pkg-config)))
1188 (home-page "https://www.x.org/wiki/")
1189 (synopsis "Xorg PCI access library")
1190 (description "Xorg Generic PCI access library.")
1191 (license license:x11)))
1194 (define-public libpthread-stubs
1196 (name "libpthread-stubs")
1202 "mirror://xorg/individual/xcb/libpthread-stubs-"
1207 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
1208 (build-system gnu-build-system)
1209 (native-inputs `(("pkg-config" ,pkg-config)))
1210 (home-page "https://www.x.org/wiki/")
1211 (synopsis "Library with pthread stubs")
1213 "This library provides weak aliases for pthread functions not
1214 provided in libc or otherwise available by default. Libraries like
1215 libxcb rely on pthread stubs to use pthreads optionally, becoming
1216 thread-safe when linked to libpthread, while avoiding any performance
1217 hit when running single-threaded.")
1218 (license license:x11)))
1221 (define-public libsm
1229 "mirror://xorg/individual/lib/libSM-"
1234 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
1235 (build-system gnu-build-system)
1237 '(#:configure-flags '("--disable-static")))
1239 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
1241 `(("xtrans" ,xtrans)
1242 ("libuuid" ,util-linux "lib")))
1244 `(("pkg-config" ,pkg-config)))
1245 (home-page "https://www.x.org/wiki/")
1246 (synopsis "Xorg Session Management library")
1247 (description "Xorg Session Management library.")
1248 (license license:x11)))
1251 (define-public libwindowswm
1253 (name "libwindowswm")
1259 "mirror://xorg/individual/lib/libWindowsWM-"
1264 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1265 (build-system gnu-build-system)
1267 `(("xorgproto" ,xorgproto)
1268 ("libxext" ,libxext)
1269 ("libx11" ,libx11)))
1271 `(("pkg-config" ,pkg-config)))
1272 (home-page "https://www.x.org/wiki/")
1273 (synopsis "Xorg WindowsWM library")
1275 "Cygwin/X rootless window management extension.
1276 WindowsWM is a simple library designed to interface with the Windows-WM
1277 extension. This extension allows X window managers to better interact
1278 with the Cygwin XWin server when running X11 in a rootless mode.")
1279 (license license:x11)))
1282 (define-public libxcomposite
1284 (name "libxcomposite")
1290 "mirror://xorg/individual/lib/libXcomposite-"
1295 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
1296 (build-system gnu-build-system)
1298 '(#:configure-flags '("--disable-static")))
1300 ;; xcomposite.pc refers to all these.
1301 `(("xorgproto" ,xorgproto)
1302 ("libxfixes" ,libxfixes)
1303 ("libx11" ,libx11)))
1305 `(("pkg-config" ,pkg-config)))
1306 (home-page "https://www.x.org/wiki/")
1307 (synopsis "Xorg Composite library")
1309 "Client library for the Composite extension to the X11 protocol.")
1310 (license license:x11)))
1313 (define-public libxdmcp
1321 "mirror://xorg/individual/lib/libXdmcp-"
1326 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
1327 (build-system gnu-build-system)
1329 '(#:configure-flags '("--disable-static")))
1331 `(("libbsd" ,libbsd)
1332 ("xorgproto" ,xorgproto)))
1334 `(("pkg-config" ,pkg-config)))
1335 (home-page "https://www.x.org/wiki/")
1336 (synopsis "Xorg Display Manager Control Protocol library")
1337 (description "Xorg Display Manager Control Protocol library.")
1338 (license license:x11)))
1341 (define-public libxft
1349 "mirror://xorg/individual/lib/libXft-"
1354 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
1355 (build-system gnu-build-system)
1357 '(#:configure-flags '("--disable-static")))
1359 ;; xft.pc refers to all these.
1360 `(("libxrender" ,libxrender)
1361 ("freetype" ,freetype)
1362 ("fontconfig" ,fontconfig)))
1364 `(("libx11" ,libx11)
1365 ("xorgproto" ,xorgproto)))
1367 `(("pkg-config" ,pkg-config)))
1368 (home-page "https://www.x.org/wiki/")
1369 (synopsis "Xorg FreeType library")
1371 "Xorg FreeType library connects X applications with the FreeType font
1372 rasterization library. Xft uses fontconfig to locate fonts so it has no
1373 configuration files.")
1374 (license license:x11)))
1377 (define-public libxkbfile
1385 "mirror://xorg/individual/lib/libxkbfile-"
1390 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
1391 (build-system gnu-build-system)
1393 '(#:configure-flags '("--disable-static")))
1395 `(("libx11" ,libx11)))
1397 `(("pkg-config" ,pkg-config)))
1398 (home-page "https://www.x.org/wiki/")
1399 (synopsis "Xorg XKB file handling library")
1400 (description "Xorg XKB file handling library.")
1401 (license license:x11)))
1404 (define-public libxmu
1412 "mirror://xorg/individual/lib/libXmu-"
1417 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
1418 (build-system gnu-build-system)
1420 '(#:configure-flags '("--disable-static")))
1423 ("xorgproto" ,xorgproto)
1424 ("libxext" ,libxext)))
1426 `(("pkg-config" ,pkg-config)))
1427 (home-page "https://www.x.org/wiki/")
1428 (synopsis "Xorg Xmu library")
1430 "Xmu library contains miscellaneous utilities and is not part of the
1431 Xlib standard. It is intended to support clients in the Xorg distribution;
1432 vendors may choose not to distribute this library if they wish. Therefore,
1433 applications developers who depend on this library should be prepared to
1434 treat it as part of their software base when porting.")
1435 (license license:x11)))
1438 (define-public libxpm
1446 "mirror://xorg/individual/lib/libXpm-"
1451 "09dc6nwlb2122h02vl64k9x56mxnyqz2gwpga0abfv4bb1bxmlcw"))))
1452 (build-system gnu-build-system)
1454 '(#:configure-flags '("--disable-static")))
1457 ("xorgproto" ,xorgproto)
1458 ("libxext" ,libxext)))
1460 `(("gettext" ,gettext-minimal)
1461 ("pkg-config" ,pkg-config)))
1462 (home-page "https://www.x.org/wiki/")
1463 (synopsis "Xorg XPM library")
1464 (description "XPM (X Pixmap) image file format library.")
1465 (license license:x11)))
1468 (define-public libxres
1476 "mirror://xorg/individual/lib/libXres-"
1481 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
1482 (build-system gnu-build-system)
1484 '(#:configure-flags '("--disable-static")))
1486 `(("xorgproto" ,xorgproto)
1487 ("libxext" ,libxext)
1488 ("libx11" ,libx11)))
1490 `(("pkg-config" ,pkg-config)))
1491 (home-page "https://www.x.org/wiki/")
1492 (synopsis "Xorg Resource extension library")
1493 (description "X Resource extension library.")
1494 (license license:x11)))
1497 (define-public libxscrnsaver
1499 (name "libxscrnsaver")
1505 "mirror://xorg/individual/lib/libXScrnSaver-"
1510 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
1511 (build-system gnu-build-system)
1513 '(#:configure-flags '("--disable-static")))
1515 `(("libxext" ,libxext)
1516 ("libx11" ,libx11)))
1518 `(("xorgproto" ,xorgproto)))
1520 `(("pkg-config" ,pkg-config)))
1521 (home-page "https://www.x.org/wiki/")
1522 (synopsis "Xorg Screen Saver library")
1523 (description "X11 Screen Saver extension client library.")
1524 (license license:x11)))
1527 (define-public libxxf86dga
1529 (name "libxxf86dga")
1534 (uri (string-append "mirror://xorg/individual/lib/"
1535 "libXxf86dga-" version ".tar.bz2"))
1537 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
1538 (build-system gnu-build-system)
1540 '(#:configure-flags '("--disable-static")))
1542 `(("xorgproto" ,xorgproto)))
1544 `(("libx11" ,libx11)
1545 ("libxext" ,libxext)))
1547 `(("pkg-config" ,pkg-config)))
1548 (home-page "https://www.x.org/wiki/")
1549 (synopsis "Xorg XFree86-DGA library")
1550 (description "Client library for the XFree86-DGA extension.")
1551 (license license:x11)))
1562 "mirror://xorg/individual/app/luit-"
1567 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1568 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1569 ;; should become obsolete with the next release.
1570 (patches (search-patches "luit-posix.patch"))))
1571 (build-system gnu-build-system)
1573 `(("libfontenc" ,libfontenc)))
1575 `(("pkg-config" ,pkg-config)))
1576 (home-page "https://www.x.org/wiki/")
1577 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1579 "Luit is a filter that can be run between an arbitrary application and
1580 a UTF-8 terminal emulator such as xterm. It will convert application
1581 output from the locale's encoding into UTF-8, and convert terminal
1582 input from UTF-8 into the locale's encoding.")
1583 (license license:x11)))
1586 (define-public makedepend
1594 "mirror://xorg/individual/util/makedepend-"
1599 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
1600 (build-system gnu-build-system)
1602 `(("xorgproto" ,xorgproto)))
1603 (native-inputs `(("pkg-config" ,pkg-config)))
1604 (home-page "https://www.x.org/wiki/")
1605 (synopsis "Xorg makedepend utility")
1607 "Makedepend is an utility for creating dependencies in makefiles.")
1608 (license license:x11)))
1611 (define-public mkfontscale
1613 (name "mkfontscale")
1619 "mirror://xorg/individual/app/mkfontscale-"
1623 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
1624 (build-system gnu-build-system)
1627 ("xorgproto" ,xorgproto)
1628 ("freetype" ,freetype)
1629 ("libfontenc" ,libfontenc)))
1631 `(("pkg-config" ,pkg-config)))
1632 (home-page "https://www.x.org/wiki/")
1633 (synopsis "Create an index of scalable font files for X server")
1635 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1636 files used by the legacy X11 font system.")
1637 (license license:x11)))
1640 (define-public presentproto
1642 (name "presentproto")
1648 "mirror://xorg/individual/proto/presentproto-"
1653 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
1654 (build-system gnu-build-system)
1655 (home-page "https://www.x.org/wiki/")
1656 (synopsis "Xorg PresentProto protocol headers")
1658 "Present Extension provides a way for applications to update their
1659 window contents from a pixmap in a well defined fashion, synchronizing
1660 with the display refresh and potentially using a more efficient
1661 mechanism than copying the contents of the source pixmap.")
1662 (license (license:x11-style "file://presentproto.h"
1663 "See 'presentproto.h' in the distribution."))
1664 (properties `((superseded . ,xorgproto)))))
1666 (define-public printproto
1674 "mirror://xorg/individual/proto/printproto-"
1679 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1680 (build-system gnu-build-system)
1681 (native-inputs `(("pkg-config" ,pkg-config)))
1682 (home-page "https://www.x.org/wiki/")
1683 (synopsis "Xorg PrintProto protocol headers")
1685 "Print Extension defines a protocol for a portable,
1686 network-transparent printing system.")
1687 (license license:x11)))
1690 (define-public randrproto
1698 "mirror://xorg/individual/proto/randrproto-"
1703 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
1704 (build-system gnu-build-system)
1705 (native-inputs `(("pkg-config" ,pkg-config)))
1706 (home-page "https://www.x.org/wiki/")
1707 (synopsis "Xorg RandRProto protocol headers")
1709 "Resize and Rotate Extension defines a protocol for clients to
1710 dynamically change X screens, so as to resize, rotate and reflect the root
1711 window of a screen.")
1712 (license license:x11)
1713 (properties `((superseded . ,xorgproto)))))
1716 (define-public recordproto
1718 (name "recordproto")
1724 "mirror://xorg/individual/proto/recordproto-"
1729 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1730 (build-system gnu-build-system)
1731 (native-inputs `(("pkg-config" ,pkg-config)))
1732 (home-page "https://www.x.org/wiki/")
1733 (synopsis "Xorg RecordProto protocol headers")
1735 "Record Extension defines a protocol for the recording and playback
1736 of user actions in the X Window System.")
1737 (license license:x11)
1738 (properties `((superseded . ,xorgproto)))))
1740 (define-public renderproto
1742 (name "renderproto")
1748 "mirror://xorg/individual/proto/renderproto-"
1753 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1754 (build-system gnu-build-system)
1755 (native-inputs `(("pkg-config" ,pkg-config)))
1756 (home-page "https://www.x.org/wiki/")
1757 (synopsis "Xorg RenderProto protocol headers")
1759 "Rendering Extension defines a protocol for a digital image composition
1760 as the foundation of a new rendering model within the X Window System.")
1761 (license license:x11)
1762 (properties `((superseded . ,xorgproto)))))
1764 (define-public resourceproto
1766 (name "resourceproto")
1772 "mirror://xorg/individual/proto/resourceproto-"
1777 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1778 (build-system gnu-build-system)
1779 (native-inputs `(("pkg-config" ,pkg-config)))
1780 (home-page "https://www.x.org/wiki/")
1781 (synopsis "Xorg ResourceProto protocol headers")
1783 "Resource Extension defines a protocol that allows a client to
1784 query the X server about its usage of various resources.")
1785 (license license:x11)
1786 (properties `((superseded . ,xorgproto)))))
1788 (define-public scrnsaverproto
1790 (name "scrnsaverproto")
1796 "mirror://xorg/individual/proto/scrnsaverproto-"
1801 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1802 (build-system gnu-build-system)
1803 (native-inputs `(("pkg-config" ,pkg-config)))
1804 (home-page "https://www.x.org/wiki/")
1805 (synopsis "Xorg ScrnSaverProto protocol headers")
1807 "Screen Saver Extension defines a protocol to control screensaver
1808 features and to query screensaver info on specific windows.")
1809 (license license:x11)
1810 (properties `((superseded . ,xorgproto)))))
1812 (define-public sessreg
1820 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1822 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
1823 (build-system gnu-build-system)
1825 `(("xorgproto" ,xorgproto)))
1827 `(("pkg-config" ,pkg-config)))
1828 (home-page "https://www.x.org/wiki/")
1829 (synopsis "Register X sessions in system utmp/utmpx databases")
1831 "SessReg is a simple program for managing utmp/wtmp entries for X
1832 sessions. It was originally written for use with xdm, but may also be
1833 used with other display managers such as gdm or kdm.")
1834 (license license:x11)))
1837 (define-public setxkbmap
1845 "mirror://xorg/individual/app/setxkbmap-"
1850 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
1851 (build-system gnu-build-system)
1853 `(("libxkbfile" ,libxkbfile)
1854 ("xkeyboard-config" ,xkeyboard-config)
1855 ("libx11" ,libx11)))
1857 `(("pkg-config" ,pkg-config)))
1860 (list (string-append "--with-xkb-config-root="
1861 (assoc-ref %build-inputs "xkeyboard-config")
1862 "/share/X11/xkb"))))
1863 (home-page "https://www.x.org/wiki/")
1864 (synopsis "Set the keyboard using the X Keyboard Extension")
1866 "Setxkbmap is an X11 client to change the keymaps in the X server
1867 for a specified keyboard to use the layout determined by the options
1868 listed on the command line.")
1869 (license license:x11)))
1872 (define-public smproxy
1880 "mirror://xorg/individual/app/smproxy-"
1885 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
1886 (build-system gnu-build-system)
1889 ("libxmu" ,libxmu)))
1891 `(("pkg-config" ,pkg-config)))
1892 (home-page "https://www.x.org/wiki/")
1893 (synopsis "Session Manager Proxy")
1895 "SMProxy allows X applications that do not support X11R6 session
1896 management to participate in an X11R6 session.")
1897 (license license:x11)))
1900 (define-public util-macros
1902 (name "util-macros")
1908 "mirror://xorg/individual/util/util-macros-"
1913 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
1914 (build-system gnu-build-system)
1915 (native-inputs `(("pkg-config" ,pkg-config)))
1918 (modify-phases %standard-phases
1919 (add-after 'unpack 'fix-makefile-in
1921 (substitute* "Makefile.in"
1922 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1923 ;; not PREFIX/share/pkgconfig.
1924 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1926 (add-after 'install 'post-install-cleanup
1927 (lambda* (#:key outputs #:allow-other-keys)
1928 (let ((out (assoc-ref outputs "out")))
1929 (with-directory-excursion out
1930 (delete-file "share/util-macros/INSTALL")
1931 (rmdir "share/util-macros"))
1933 (home-page "https://www.x.org/wiki/")
1934 (synopsis "Xorg autoconf macros")
1936 "This package provides a set of autoconf macros used by the
1937 configure.ac scripts in other Xorg modular packages, and is needed to
1938 generate new versions of their configure scripts with autoconf.")
1939 (license license:x11)))
1942 (define-public videoproto
1950 "mirror://xorg/individual/proto/videoproto-"
1955 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
1956 (build-system gnu-build-system)
1957 (native-inputs `(("pkg-config" ,pkg-config)))
1958 (home-page "https://www.x.org/wiki/")
1959 (synopsis "Xorg VideoProto protocol headers")
1961 "Video Extension provides a protocol for a video output mechanism,
1962 mainly to rescale video playback in the video controller hardware.")
1963 (license license:x11)
1964 (properties `((superseded . ,xorgproto)))))
1966 (define-public windowswmproto
1968 (name "windowswmproto")
1974 "mirror://xorg/individual/proto/windowswmproto-"
1979 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
1980 (build-system gnu-build-system)
1981 (native-inputs `(("pkg-config" ,pkg-config)))
1982 (home-page "https://www.x.org/wiki/")
1983 (synopsis "Xorg WindowsWMProto protocol headers")
1985 "WindowsWM Extension defines a protocol, used for coordination between
1986 an X11 server and the Microsoft Windows native window manager. WindowsWM
1987 is only intended to be used on Cygwin when running a rootless XWin
1989 (license license:x11)
1990 (properties `((superseded . ,xorgproto)))))
1992 (define-public x11perf
2000 "mirror://xorg/individual/app/x11perf-"
2005 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
2006 (build-system gnu-build-system)
2008 `(("libx11" ,libx11)
2011 ("libxrender" ,libxrender)))
2013 `(("pkg-config" ,pkg-config)))
2014 (home-page "https://www.x.org/wiki/")
2015 (synopsis "X server performance benchmarker")
2017 "X11Perf is a simple performance benchmarker for the Xorg X server.")
2018 (license license:x11)))
2021 (define-public xauth
2028 (uri (string-append "mirror://xorg/individual/app/xauth-" version
2031 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
2032 (build-system gnu-build-system)
2034 `(("libxmu" ,libxmu)
2035 ("libxext" ,libxext)
2037 ("libx11" ,libx11)))
2039 `(("cmdtest" ,cmdtest)
2040 ("pkg-config" ,pkg-config)))
2041 (home-page "https://www.x.org/wiki/")
2042 (synopsis "X authority file utility")
2044 "XAuth program is used to edit and display the authorization
2045 information used in connecting to the X server.")
2046 (license license:x11)))
2049 (define-public xbacklight
2057 "mirror://xorg/individual/app/xbacklight-"
2062 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
2063 (build-system gnu-build-system)
2065 `(("libxcb" ,libxcb)
2066 ("xcb-util" ,xcb-util)))
2068 `(("pkg-config" ,pkg-config)))
2069 (home-page "https://www.x.org/wiki/")
2070 (synopsis "Control display backlight")
2072 "Xbacklight is used to adjust the backlight brightness where
2073 supported. It uses the RandR extension to find all outputs on the X
2074 server supporting backlight brightness control and changes them all in
2076 (license license:x11)))
2079 (define-public xbitmaps
2087 "mirror://xorg/individual/data/xbitmaps-"
2092 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
2093 (build-system gnu-build-system)
2094 (native-inputs `(("pkg-config" ,pkg-config)))
2095 (home-page "https://www.x.org/wiki/")
2096 (synopsis "X bitmaps")
2098 "xbitmaps provides basic bitmaps (little pictures) used by some
2100 (license license:x11)))
2102 (define-public xcalc
2109 (uri (string-append "mirror://xorg/individual/app/"
2110 "xcalc-" version ".tar.gz"))
2112 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
2113 (build-system gnu-build-system)
2115 `(#:phases (modify-phases %standard-phases
2117 'configure 'mutate-makefile
2119 (substitute* "Makefile"
2120 (("^appdefaultdir = .*$")
2121 (string-append "appdefaultdir = " %output
2122 ,%app-defaults-dir "\n")))
2125 `(("libxaw" ,libxaw)))
2127 `(("pkg-config" ,pkg-config)))
2128 (home-page "https://www.x.org/wiki/")
2129 (synopsis "Hand calculator for the X Window system")
2130 (description "Xcalc is a scientific calculator desktop accessory that can
2131 emulate a TI-30 or an HP-10C.")
2132 (license license:x11)))
2135 (define-public xcb-proto
2143 "https://xcb.freedesktop.org/dist/xcb-proto-"
2147 "01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))))
2148 (build-system gnu-build-system)
2150 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
2151 (home-page "https://xcb.freedesktop.org/")
2152 (synopsis "XML-XCB protocol descriptions")
2154 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2155 uses to generate the majority of its code and API. XCB-Proto is
2156 separated from libxcb to allow reuse by other projects, such as
2157 additional language bindings, protocol dissectors, or documentation
2160 XCB-Proto also contains language-independent Python libraries that are
2161 used to parse an XML description and create objects used by Python code
2162 generators in individual language bindings.")
2163 (license license:x11)))
2166 (define-public xcmiscproto
2168 (name "xcmiscproto")
2174 "mirror://xorg/individual/proto/xcmiscproto-"
2179 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2180 (build-system gnu-build-system)
2181 (native-inputs `(("pkg-config" ,pkg-config)))
2182 (home-page "https://www.x.org/wiki/")
2183 (synopsis "Xorg XCMiscProto protocol headers")
2185 "XC-MISC Extension defines a protocol that provides Xlib two ways
2186 to query the server for available resource IDs.")
2187 (license license:x11)
2188 (properties `((superseded . ,xorgproto)))))
2190 (define-public xcmsdb
2198 "mirror://xorg/individual/app/xcmsdb-"
2203 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
2204 (build-system gnu-build-system)
2206 `(("libx11" ,libx11)))
2208 `(("pkg-config" ,pkg-config)))
2209 (home-page "https://www.x.org/wiki/")
2210 (synopsis "Device Color Characterization utility")
2212 "XCMSDB is used to load, query, or remove Device Color
2213 Characterization data stored in properties on the root window of the
2214 screen as specified in section 7, Device Color Characterization, of the
2215 X11 Inter-Client Communication Conventions Manual (ICCCM).")
2216 (license license:x11)))
2219 (define-public xcursor-themes
2221 (name "xcursor-themes")
2227 "mirror://xorg/individual/data/xcursor-themes-"
2232 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
2233 (build-system gnu-build-system)
2235 `(("libxcursor" ,libxcursor)
2236 ("xcursorgen" ,xcursorgen)))
2238 `(("pkg-config" ,pkg-config)))
2241 (list (string-append "--with-cursordir="
2242 (assoc-ref %outputs "out")
2244 (home-page "https://www.x.org/wiki/")
2245 (synopsis "Default Xorg cursors")
2247 "This package provides a default set of cursor themes for the Xorg
2248 X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
2249 (license license:x11)))
2252 (define-public hackneyed-x11-cursors
2253 ;; The current release 0.8 suffers from non-deterministic build problems.
2254 (let ((revision "1")
2255 (commit "9423cef2e2e5ff6b1d65d61f7108c97bc7f5fdfb"))
2257 (name "hackneyed-x11-cursors")
2258 (version (git-version "0.8.1" revision commit))
2263 (url "https://gitlab.com/Enthymeme/hackneyed-x11-cursors.git")
2265 (file-name (git-file-name name version))
2268 "0f637i76sdwz3nm1g1iynamq6j0i6k3c70fpl0fmd0dlynm8ga96"))))
2269 (build-system gnu-build-system)
2271 `(#:tests? #f ;no test suite
2272 #:make-flags (list (string-append "PREFIX=" %output))
2274 (modify-phases %standard-phases
2276 (add-before 'build 'set-inkscape-environment-variable
2277 (lambda* (#:key inputs #:allow-other-keys)
2278 (let ((inkscape (string-append (assoc-ref inputs "inkscape")
2280 (setenv "INKSCAPE" inkscape)
2282 (add-before 'build 'placate-inkscape-warnings
2284 (setenv "HOME" (getcwd))
2286 (add-after 'build 'generate-black-cursors
2287 (lambda* (#:key make-flags parallel-build #:allow-other-keys)
2288 (let ((build (assoc-ref %standard-phases 'build))
2289 (make-flags/extended
2291 "THEME_NAME=Hackneyed-Dark"
2292 "COMMON_SOURCE=theme/common-dark.svg"
2293 "RSVG_SOURCE=theme/right-handed-dark.svg"
2294 "LSVG_SOURCE=theme/left-handed-dark.svg")))
2295 (build #:make-flags make-flags/extended
2296 #:parallel-build parallel-build))))
2297 (add-after 'install 'install-black-cursors
2298 (lambda* (#:key make-flags #:allow-other-keys)
2299 (apply invoke `("make" "install" ,@make-flags
2300 "THEME_NAME=Hackneyed-Dark")))))))
2301 (native-inputs `(("imagemagick" ,imagemagick)
2302 ("inkscape" ,inkscape)
2303 ("xcursorgen" ,xcursorgen)))
2304 (home-page "https://gitlab.com/Enthymeme/hackneyed-x11-cursors")
2305 (synopsis "Classic cursor theme for X11")
2306 (description "Hackneyed is a scalable cursor theme mildly resembling old
2307 Windows 3.x cursors. The cursors are available in white and black colors. A
2308 left-handed version of the cursors is also included.")
2309 (license license:x11))))
2311 (define-public xcursorgen
2319 "mirror://xorg/individual/app/xcursorgen-"
2324 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
2325 (build-system gnu-build-system)
2327 `(("libxcursor" ,libxcursor)
2328 ("libpng" ,libpng)))
2330 `(("pkg-config" ,pkg-config)))
2331 (home-page "https://www.x.org/wiki/")
2332 (synopsis "Create an X cursor file from PNG images")
2334 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
2335 (license license:x11)))
2338 (define-public xdpyinfo
2346 "mirror://xorg/individual/app/xdpyinfo-"
2351 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
2352 (build-system gnu-build-system)
2354 `(("xorgproto" ,xorgproto)
2356 ("libxxf86vm" ,libxxf86vm)
2357 ("libxxf86dga" ,libxxf86dga)
2358 ("libxtst" ,libxtst)
2359 ("libxrender" ,libxrender)
2360 ("libxinerama" ,libxinerama)
2362 ("libxcomposite" ,libxcomposite)
2363 ("libdmx" ,libdmx)))
2365 `(("pkg-config" ,pkg-config)))
2366 (home-page "https://www.x.org/wiki/")
2367 (synopsis "Xorg display information utility")
2369 "Xdpyinfo is used to display information about an X server: the
2370 capabilities of a server, the predefined values for various parameters
2371 used in communicating between clients and the server, and the different
2372 types of screens, visuals, and X11 protocol extensions that are
2374 (license license:x11)))
2377 (define-public xdriinfo
2385 "mirror://xorg/individual/app/xdriinfo-"
2390 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
2391 (build-system gnu-build-system)
2394 ("libx11" ,libx11)))
2396 `(("pkg-config" ,pkg-config)))
2397 (home-page "https://www.x.org/wiki/")
2398 (synopsis "Query DRI configuration information")
2400 "XDRIInfo is used to query configuration information of X11
2401 DRI (Direct Rendering Infrastructure) drivers.")
2402 (license license:x11)))
2413 "mirror://xorg/individual/app/xev-"
2418 "1ql592pdhddhkipkrsxn929y9l2nn02a5fh2z3dx47kmzs5y006p"))))
2419 (build-system gnu-build-system)
2421 `(("libxrender" ,libxrender)
2422 ("libxrandr" ,libxrandr)
2423 ("xorgproto" ,xorgproto)
2424 ("libx11" ,libx11)))
2426 `(("pkg-config" ,pkg-config)))
2427 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
2428 (synopsis "Print contents of X events")
2430 "XEv creates a window and then asks the X server to send it X11
2431 events whenever anything happens to the window (such as it being moved,
2432 resized, typed in, clicked in, etc.). You can also attach it to an
2433 existing window. It is useful for seeing what causes events to occur
2434 and to display the information that they contain; it is essentially a
2435 debugging and development tool, and should not be needed in normal
2437 (license license:x11)))
2440 (define-public xextproto
2448 "mirror://xorg/individual/proto/xextproto-"
2453 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
2454 (build-system gnu-build-system)
2455 (native-inputs `(("pkg-config" ,pkg-config)))
2456 (home-page "https://www.x.org/wiki/")
2457 (synopsis "Xorg XExtProto protocol headers")
2459 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2460 Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2461 MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2462 XC-APPGROUP, XTEST.")
2463 (license license:x11)
2464 (properties `((superseded . ,xorgproto)))))
2466 (define-public libevdev
2473 (uri (string-append "https://www.freedesktop.org/software/" name "/"
2474 name "-" version ".tar.xz"))
2477 "1jvsphdrs1i54ccjcn6ll26jy42am7h28lbsvwa6pmxgqm43qq7m"))))
2478 (build-system gnu-build-system)
2480 `(#:configure-flags '("--disable-static")))
2481 (native-inputs `(("python" ,python)))
2482 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
2483 (synopsis "Wrapper library for evdev devices")
2485 "libevdev is a wrapper library for evdev devices. it moves the common
2486 tasks when dealing with evdev devices into a library and provides a library
2487 interface to the callers, thus avoiding erroneous ioctls, etc.
2489 The eventual goal is that libevdev wraps all ioctls available to evdev
2490 devices, thus making direct access unnecessary.")
2491 (license (license:x11-style "file://COPYING"))))
2494 (define-public xf86-input-evdev
2496 (name "xf86-input-evdev")
2502 "mirror://xorg/individual/driver/xf86-input-evdev-"
2507 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
2508 (build-system gnu-build-system)
2511 ("libevdev" ,libevdev)
2513 ("xorg-server" ,xorg-server)))
2514 (native-inputs `(("pkg-config" ,pkg-config)))
2517 (list (string-append "--with-sdkdir="
2518 (assoc-ref %outputs "out")
2520 (home-page "https://www.x.org/wiki/")
2521 (synopsis "Generic input driver for X server")
2523 "xf86-input-evdev is a generic input driver for the Xorg X server.
2524 This driver supports all input devices that the kernel knows about,
2525 including most mice, keyboards, tablets and touchscreens.")
2526 (license license:x11)))
2528 (define-public xf86-input-libinput
2530 (name "xf86-input-libinput")
2535 "mirror://xorg/individual/driver/"
2536 name "-" version ".tar.bz2"))
2539 "1h4np66p87jf0c85ig524w8f5rbhl5gx8fww1qg0c55f87yzkizr"))))
2540 (build-system gnu-build-system)
2543 (list (string-append "--with-sdkdir="
2544 %output "/include/xorg"))))
2546 `(("pkg-config" ,pkg-config)))
2548 `(("libinput" ,libinput-minimal)
2549 ("xorg-server" ,xorg-server)))
2550 (home-page "https://www.x.org/wiki/")
2551 (synopsis "Input driver for X server based on libinput")
2553 "xf86-input-libinput is an input driver for the Xorg X server based
2554 on libinput. It is a thin wrapper around libinput, so while it does
2555 provide all features that libinput supports it does little beyond.")
2556 (license license:x11)))
2558 (define-public xf86-input-joystick
2560 (name "xf86-input-joystick")
2566 "mirror://xorg/individual/driver/xf86-input-joystick-"
2571 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
2572 (build-system gnu-build-system)
2573 (inputs `(("xorg-server" ,xorg-server)))
2574 (native-inputs `(("pkg-config" ,pkg-config)))
2577 (list (string-append "--with-sdkdir="
2578 (assoc-ref %outputs "out")
2580 (home-page "https://www.x.org/wiki/")
2581 (synopsis "Joystick input driver for X server")
2583 "xf86-input-joystick is a joystick input driver for the Xorg X server.
2584 It is used to control the pointer with a joystick device.")
2585 (license license:x11)))
2588 (define-public xf86-input-keyboard
2590 (name "xf86-input-keyboard")
2596 "mirror://xorg/individual/driver/xf86-input-keyboard-"
2601 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
2602 (build-system gnu-build-system)
2603 (inputs `(("xorg-server" ,xorg-server)))
2604 (native-inputs `(("pkg-config" ,pkg-config)))
2605 (home-page "https://www.x.org/wiki/")
2606 (synopsis "Keyboard input driver for X server")
2608 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
2609 (license license:x11)))
2612 (define-public xf86-input-mouse
2614 (name "xf86-input-mouse")
2620 "mirror://xorg/individual/driver/xf86-input-mouse-"
2625 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
2626 (build-system gnu-build-system)
2627 (inputs `(("xorg-server" ,xorg-server)))
2628 (native-inputs `(("pkg-config" ,pkg-config)))
2631 (list (string-append "--with-sdkdir="
2632 (assoc-ref %outputs "out")
2634 (home-page "https://www.x.org/wiki/")
2635 (synopsis "Mouse input driver for X server")
2637 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2638 This driver supports four classes of mice: serial, bus and PS/2 mice,
2639 and additional mouse types supported by specific operating systems, such
2641 (license license:x11)))
2644 (define-public xf86-input-synaptics
2646 (name "xf86-input-synaptics")
2652 "mirror://xorg/individual/driver/xf86-input-synaptics-"
2657 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
2658 (build-system gnu-build-system)
2659 (inputs `(("libx11" ,libx11)
2661 ("libevdev" ,libevdev)
2663 ("xorg-server" ,xorg-server)))
2664 (native-inputs `(("pkg-config" ,pkg-config)))
2667 (list (string-append "--with-sdkdir="
2668 (assoc-ref %outputs "out")
2670 (string-append "--with-xorg-conf-dir="
2671 (assoc-ref %outputs "out")
2672 "/share/X11/xorg.conf.d"))))
2673 (home-page "https://www.x.org/wiki/")
2674 (synopsis "Touchpad input driver for X server")
2676 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
2677 (license license:x11)))
2680 (define-public xf86-input-void
2682 (name "xf86-input-void")
2688 "mirror://xorg/individual/driver/xf86-input-void-"
2693 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
2694 (build-system gnu-build-system)
2695 (inputs `(("xorg-server" ,xorg-server)))
2696 (native-inputs `(("pkg-config" ,pkg-config)))
2697 (home-page "https://www.x.org/wiki/")
2698 (synopsis "Void (null) input driver for X server")
2700 "xf86-input-void is a null input driver for the Xorg X server.")
2701 (license license:x11)))
2703 (define-public xf86-video-amdgpu
2705 (name "xf86-video-amdgpu")
2710 (uri (string-append "mirror://xorg/individual/driver/"
2711 "xf86-video-amdgpu-" version ".tar.bz2"))
2713 (base32 "0pgy4ihnja0vm8504qw7qxh3pdpa3p9k6967nz15m6b1mvha83jg"))))
2714 (build-system gnu-build-system)
2715 (inputs `(("xorg-server" ,xorg-server)))
2716 (native-inputs `(("pkg-config" ,pkg-config)))
2717 (home-page "https://www.x.org/wiki/")
2718 (synopsis "AMD Radeon video driver for X server")
2720 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2722 (license license:x11)))
2724 (define-public xf86-video-ark
2726 (name "xf86-video-ark")
2732 "mirror://xorg/individual/driver/xf86-video-ark-"
2737 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
2738 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
2739 (build-system gnu-build-system)
2740 (inputs `(("xorg-server" ,xorg-server)))
2741 (native-inputs `(("pkg-config" ,pkg-config)))
2742 (home-page "https://www.x.org/wiki/")
2743 (synopsis "Ark Logic video driver for X server")
2745 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
2746 (license license:x11)))
2748 (define-public xf86-video-ast
2750 (name "xf86-video-ast")
2752 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2756 "mirror://xorg/individual/driver/xf86-video-ast-"
2757 version ".tar.bz2"))
2760 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2761 (build-system gnu-build-system)
2762 (inputs `(("xorg-server" ,xorg-server)))
2763 (native-inputs `(("pkg-config" ,pkg-config)))
2764 (synopsis "ASpeed Technologies video driver for X server")
2766 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2768 (license license:x11)))
2770 (define-public xf86-video-ati
2772 (name "xf86-video-ati")
2777 (uri (string-append "mirror://xorg/individual/driver/"
2778 "xf86-video-ati-" version ".tar.bz2"))
2780 (base32 "0j9w4axsqlycv4v14g53xyhkm9h7d27b2fcv9lrzb9gf54b5m7v5"))))
2781 (build-system gnu-build-system)
2782 (inputs `(("mesa" ,mesa)
2783 ("xorgproto" ,xorgproto)
2784 ("xorg-server" ,xorg-server)))
2785 (native-inputs `(("pkg-config" ,pkg-config)))
2786 (home-page "https://www.x.org/wiki/")
2787 (synopsis "ATI Radeon video driver for X server")
2789 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2791 (license license:x11)))
2794 (define-public xf86-video-cirrus
2796 (name "xf86-video-cirrus")
2802 "mirror://xorg/individual/driver/xf86-video-cirrus-"
2807 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
2808 (build-system gnu-build-system)
2809 (inputs `(("xorg-server" ,xorg-server)))
2810 (native-inputs `(("pkg-config" ,pkg-config)))
2811 (home-page "https://www.x.org/wiki/")
2812 (synopsis "Cirrus Logic video driver for X server")
2814 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2816 (license license:x11)))
2818 (define-public xf86-video-dummy
2820 (name "xf86-video-dummy")
2825 (uri (string-append "mirror://xorg/individual/driver/"
2826 "xf86-video-dummy-" version ".tar.bz2"))
2828 (base32 "1fcm9vwgv8wnffbvkzddk4yxrh3kc0np6w65wj8k88q7jf3bn4ip"))))
2829 (build-system gnu-build-system)
2830 (inputs `(("xorg-server" ,xorg-server)))
2831 (native-inputs `(("pkg-config" ,pkg-config)))
2832 (home-page "https://www.x.org/wiki/")
2833 (synopsis "Dummy video driver for X server")
2835 "Virtual/offscreen frame buffer driver for the Xorg X server.")
2836 ;; per https://lists.freedesktop.org/archives/xorg/2020-June/060316.html
2837 (license license:x11)))
2839 (define-public xf86-video-fbdev
2841 (name "xf86-video-fbdev")
2847 "mirror://xorg/individual/driver/xf86-video-fbdev-"
2852 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
2853 (build-system gnu-build-system)
2854 (inputs `(("xorg-server" ,xorg-server)))
2855 (native-inputs `(("pkg-config" ,pkg-config)))
2856 (home-page "https://www.x.org/wiki/")
2857 (synopsis "Framebuffer device video driver for X server")
2859 "xf86-video-fbdev is a video driver for the Xorg X server for
2860 framebuffer device.")
2861 (license license:x11)))
2864 (define-public xf86-video-freedreno
2865 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2867 (name "xf86-video-freedreno")
2868 (version (string-append "1.4.0-1-" (string-take commit 7)))
2871 ;; there's no current tarball
2874 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2875 "driver/xf86-video-freedreno.git"))
2879 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2880 (file-name (string-append name "-" version))))
2881 (build-system gnu-build-system)
2883 `(("libdrm" ,libdrm)
2886 ("xorg-server" ,xorg-server)
2889 `(("pkg-config" ,pkg-config)
2890 ("autoconf" ,autoconf)
2891 ("automake" ,automake)
2892 ("libtool" ,libtool)))
2893 ;; This driver is only supported on ARM systems.
2894 (supported-systems '("armhf-linux" "aarch64-linux"))
2897 (list (string-append "--with-xorg-conf-dir="
2898 (assoc-ref %outputs "out")
2899 "/share/X11/xorg.conf.d"))))
2900 (home-page "https://www.x.org/wiki/")
2901 (synopsis "Adreno video driver for X server")
2903 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2904 It supports a variety of Adreno graphics chipsets.")
2905 (license license:x11))))
2908 (define-public xf86-video-geode
2910 (name "xf86-video-geode")
2915 (uri (string-append "mirror://xorg/individual/driver/xf86-video-geode-"
2916 version ".tar.bz2"))
2918 (base32 "0r2dz0agg0k5wrqdbicji6mh6svzyl0xgqk76hpcfdlzn2zx15zl"))))
2919 (build-system gnu-build-system)
2920 (inputs `(("xorg-server" ,xorg-server)))
2921 (native-inputs `(("pkg-config" ,pkg-config)))
2923 ;; This driver is only supported on i686 systems.
2924 (filter (lambda (system) (string-prefix? "i686-" system))
2925 %supported-systems))
2926 (home-page "https://www.x.org/wiki/")
2927 (synopsis "AMD Geode GX/LX video driver for X server")
2929 "xf86-video-geode is an Xorg X server video driver for the AMD
2930 Geode GX and LX processors. The GX component supports both XAA and EXA
2931 for graphics acceleration. The LX component supports EXA, including
2932 compositing. Both support Xv overlay and dynamic rotation with XRandR.")
2933 (license license:x11)))
2936 ;; Driver for obsolete graphics cards, depends on libglide:
2937 ;; http://sourceforge.net/projects/glide/ ,
2938 ;; last updated in 2003, and which does not compile out of the box any more.
2939 ;; (define-public xf86-video-glide
2941 ;; (name "xf86-video-glide")
2942 ;; (version "1.2.0")
2945 ;; (method url-fetch)
2946 ;; (uri (string-append
2947 ;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2952 ;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2953 ;; (build-system gnu-build-system)
2954 ;; (inputs `(("pkg-config" ,pkg-config)
2955 ;; ("xorg-server" ,xorg-server)))
2956 ;; (home-page "https://www.x.org/wiki/")
2957 ;; (synopsis "Glide video driver for X server")
2959 ;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
2960 ;; (license license:x11)))
2963 (define-public xf86-video-glint
2965 (name "xf86-video-glint")
2971 "mirror://xorg/individual/driver/xf86-video-glint-"
2976 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
2977 (build-system gnu-build-system)
2978 (inputs `(("xorgproto" ,xorgproto)
2979 ("xorg-server" ,xorg-server)))
2980 (native-inputs `(("pkg-config" ,pkg-config)))
2981 (home-page "https://www.x.org/wiki/")
2982 (synopsis "GLINT/Permedia video driver for X server")
2984 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2986 (license license:x11)))
2989 (define-public xf86-video-i128
2991 (name "xf86-video-i128")
2997 "mirror://xorg/individual/driver/xf86-video-i128-"
3002 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
3003 (build-system gnu-build-system)
3004 (inputs `(("xorg-server" ,xorg-server)))
3005 (native-inputs `(("pkg-config" ,pkg-config)))
3006 (home-page "https://www.x.org/wiki/")
3007 (synopsis "I128 video driver for X server")
3009 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
3011 (license license:x11)))
3014 (define-public xf86-video-intel
3015 (let ((commit "ad5540f6ecaec287c70259f0181e613561b716f6")
3018 (name "xf86-video-intel")
3019 (version (git-version "2.99.917" revision commit))
3022 ;; there's no current tarball
3025 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
3029 "09jdg5wrq708wc83027337qvdjb96827h7sjwjfl5ffiynfpwl95"))
3030 (file-name (git-file-name name version))))
3031 (build-system gnu-build-system)
3032 (inputs `(("mesa" ,mesa)
3035 ("libxfont" ,libxfont2)
3036 ("xorg-server" ,xorg-server)))
3038 `(("pkg-config" ,pkg-config)
3039 ("autoconf" ,autoconf)
3040 ("automake" ,automake)
3041 ("libtool" ,libtool)))
3043 ;; This driver is only supported on Intel systems.
3044 (filter (lambda (system) (or (string-prefix? "i686-" system)
3045 (string-prefix? "x86_64-" system)))
3046 %supported-systems))
3048 '(#:configure-flags '("--with-default-accel=uxa")))
3049 (home-page "https://www.x.org/wiki/")
3050 (synopsis "Intel video driver for X server")
3052 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
3053 It supports a variety of Intel graphics chipsets.")
3054 (license license:x11))))
3057 (define-public xf86-video-mach64
3059 (name "xf86-video-mach64")
3065 "mirror://xorg/individual/driver/xf86-video-mach64-"
3070 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
3071 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
3072 (build-system gnu-build-system)
3073 (inputs `(("mesa" ,mesa)
3074 ("xorgproto" ,xorgproto)
3075 ("xorg-server" ,xorg-server)))
3077 `(("pkg-config" ,pkg-config)))
3078 (home-page "https://www.x.org/wiki/")
3079 (synopsis "Mach64 video driver for X server")
3081 "xf86-video-mach64 is a video driver for the Xorg X server.
3082 This driver is intended for all ATI video adapters based on the Mach64
3083 series or older chipsets, providing maximum video function within
3084 hardware limitations. The driver is also intended to optionally provide
3085 the same level of support for generic VGA or 8514/A adapters.")
3086 (license license:x11)))
3089 (define-public xf86-video-mga
3091 (name "xf86-video-mga")
3097 "mirror://xorg/individual/driver/xf86-video-mga-"
3102 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
3103 (build-system gnu-build-system)
3104 (inputs `(("mesa" ,mesa)
3105 ("xorgproto" ,xorgproto)
3106 ("xorg-server" ,xorg-server)))
3107 (native-inputs `(("pkg-config" ,pkg-config)))
3108 (home-page "https://www.x.org/wiki/")
3109 (synopsis "Matrox video driver for X server")
3111 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
3112 (license license:x11)))
3114 (define-public xf86-video-neomagic
3116 (name "xf86-video-neomagic")
3122 "mirror://xorg/individual/driver/xf86-video-neomagic-"
3127 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
3128 (build-system gnu-build-system)
3129 (inputs `(("xorgproto" ,xorgproto)
3130 ("xorg-server" ,xorg-server)))
3131 (native-inputs `(("pkg-config" ,pkg-config)))
3132 (home-page "https://www.x.org/wiki/")
3133 (synopsis "NeoMagic video driver for X server")
3135 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
3136 (license license:x11)))
3139 ;; This driver depends on XAA which has been removed from xorg-server.
3141 ;; (define-public xf86-video-newport
3143 ;; (name "xf86-video-newport")
3144 ;; (version "0.2.4")
3147 ;; (method url-fetch)
3148 ;; (uri (string-append
3149 ;; "mirror://xorg/individual/driver/xf86-video-newport-"
3154 ;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3155 ;; (build-system gnu-build-system)
3156 ;; (inputs `(("xorg-server" ,xorg-server)))
3157 ;; (native-inputs `(("pkg-config" ,pkg-config)))
3158 ;; (home-page "https://www.x.org/wiki/")
3159 ;; (synopsis "Newport video driver for X server")
3161 ;; "xf86-video-newport is an Xorg X server video driver for the SGI
3163 ;; (license license:x11)))
3166 (define-public xf86-video-nv
3168 (name "xf86-video-nv")
3174 "mirror://xorg/individual/driver/xf86-video-nv-"
3179 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
3180 (build-system gnu-build-system)
3181 (inputs `(("xorg-server" ,xorg-server)))
3182 (native-inputs `(("pkg-config" ,pkg-config)))
3183 (home-page "https://www.x.org/wiki/")
3184 (synopsis "NVIDIA video driver for X server")
3186 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3187 graphics processors.
3189 There are a few caveats of which to be aware: the XVideo extension is not
3190 supported, and the RENDER extension is not accelerated by this driver.")
3191 (license license:x11)))
3193 (define-public xf86-video-nouveau
3195 (name "xf86-video-nouveau")
3200 (uri (string-append "mirror://xorg/individual/driver/xf86-video-nouveau-"
3201 version ".tar.bz2"))
3203 (base32 "0sqm1jwjg15sp8v7039y2hsbhph8gpjd2bdzcqqiij2mgbi254s9"))))
3204 (build-system gnu-build-system)
3205 (inputs `(("xorg-server" ,xorg-server)))
3206 (native-inputs `(("pkg-config" ,pkg-config)))
3207 (home-page "https://nouveau.freedesktop.org")
3208 (synopsis "NVIDIA video driver for X server")
3210 "This package provides modern, high-quality Xorg drivers for NVIDIA
3212 (license license:x11)))
3214 (define-public xf86-video-openchrome
3216 (name "xf86-video-openchrome")
3222 "mirror://xorg/individual/driver/xf86-video-openchrome-"
3227 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
3228 (build-system gnu-build-system)
3229 (inputs `(("libx11" ,libx11)
3230 ("libxext" ,libxext)
3231 ("libxvmc" ,libxvmc)
3233 ("xorgproto" ,xorgproto)
3234 ("xorg-server" ,xorg-server)))
3236 `(("pkg-config" ,pkg-config)))
3237 (home-page "https://www.x.org/wiki/")
3238 (synopsis "Openchrome video driver for X server")
3240 "xf86-video-openchrome is a video driver for the Xorg X server.
3241 This driver is intended for VIA chipsets featuring the VIA UniChrome,
3242 UniChrome Pro and Chrome9 integrated graphics processors.")
3243 (license license:x11)))
3246 (define-public xf86-video-qxl
3248 (name "xf86-video-qxl")
3253 "mirror://xorg/individual/driver/"
3254 "xf86-video-qxl-" version ".tar.bz2"))
3257 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
3258 (build-system gnu-build-system)
3260 `(("libxfont" ,libxfont2)
3261 ("spice-protocol" ,spice-protocol)
3262 ("xorg-server" ,xorg-server)
3263 ("xorgproto" ,xorgproto)))
3265 `(("pkg-config" ,pkg-config)))
3266 (synopsis "Qxl video driver for X server")
3267 (description "xf86-video-qxl is a video driver for the Xorg X server.
3268 This driver is intended for the spice qxl virtio device.")
3269 (home-page "http://www.spice-space.org")
3270 (license license:x11)))
3272 (define-public xf86-video-r128
3274 (name "xf86-video-r128")
3278 (uri (string-append "mirror://xorg/individual/driver/"
3279 name "-" version ".tar.bz2"))
3282 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
3283 (build-system gnu-build-system)
3284 (inputs `(("mesa" ,mesa)
3285 ("xorgproto" ,xorgproto)
3286 ("xorg-server" ,xorg-server)))
3288 `(("pkg-config" ,pkg-config)))
3289 (home-page "https://www.x.org/wiki/")
3290 (synopsis "ATI Rage 128 video driver for X server")
3292 "xf86-video-r128 is a video driver for the Xorg X server.
3293 This driver is intended for ATI Rage 128 based cards.")
3294 (license license:x11)))
3296 (define-public xf86-video-savage
3298 (name "xf86-video-savage")
3304 "mirror://xorg/individual/driver/xf86-video-savage-"
3307 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
3310 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
3311 (build-system gnu-build-system)
3312 (inputs `(("mesa" ,mesa)
3313 ("xorgproto" ,xorgproto)
3314 ("xorg-server" ,xorg-server)))
3315 (native-inputs `(("pkg-config" ,pkg-config)))
3316 (home-page "https://www.x.org/wiki/")
3317 (synopsis "Savage video driver for X server")
3319 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
3320 (license license:x11)))
3323 (define-public xf86-video-siliconmotion
3325 (name "xf86-video-siliconmotion")
3331 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
3336 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3337 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
3338 (build-system gnu-build-system)
3339 (inputs `(("xorg-server" ,xorg-server)))
3340 (native-inputs `(("pkg-config" ,pkg-config)))
3341 (home-page "https://www.x.org/wiki/")
3342 (synopsis "Silicon Motion video driver for X server")
3344 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3346 (license license:x11)))
3349 (define-public xf86-video-sis
3351 (name "xf86-video-sis")
3357 "mirror://xorg/individual/driver/xf86-video-sis-"
3362 "0nrs6cjldlhakx5987fiiggjrlzilsbdc7l9pz22x1iwslbkz78i"))))
3363 (build-system gnu-build-system)
3364 (inputs `(("mesa" ,mesa)
3365 ("xorgproto" ,xorgproto)
3366 ("xorg-server" ,xorg-server)))
3368 `(("pkg-config" ,pkg-config)))
3369 (home-page "https://www.x.org/wiki/")
3370 (synopsis "Sis video driver for X server")
3372 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3373 This driver supports SiS chipsets of 300/315/330/340 series.")
3374 (license license:bsd-3)))
3377 (define-public xf86-video-suncg6
3379 (name "xf86-video-suncg6")
3385 "mirror://xorg/individual/driver/xf86-video-suncg6-"
3390 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
3391 (build-system gnu-build-system)
3392 (inputs `(("xorg-server" ,xorg-server)))
3393 (native-inputs `(("pkg-config" ,pkg-config)))
3394 (home-page "https://www.x.org/wiki/")
3395 (synopsis "GX/TurboGX video driver for X server")
3397 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
3398 (license license:x11)))
3401 (define-public xf86-video-sunffb
3403 (name "xf86-video-sunffb")
3409 "mirror://xorg/individual/driver/xf86-video-sunffb-"
3414 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
3415 (build-system gnu-build-system)
3416 (inputs `(("xorg-server" ,xorg-server)))
3417 (native-inputs `(("pkg-config" ,pkg-config)))
3418 (home-page "https://www.x.org/wiki/")
3419 (synopsis "SUNFFB video driver for X server")
3421 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
3422 (license license:x11)))
3425 (define-public xf86-video-tdfx
3427 (name "xf86-video-tdfx")
3433 "mirror://xorg/individual/driver/xf86-video-tdfx-"
3438 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
3439 (build-system gnu-build-system)
3440 (inputs `(("mesa" ,mesa)
3441 ("xorgproto" ,xorgproto)
3442 ("xorg-server" ,xorg-server)))
3443 (native-inputs `(("pkg-config" ,pkg-config)))
3444 (home-page "https://www.x.org/wiki/")
3445 (synopsis "3Dfx video driver for X server")
3447 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
3448 (license license:x11)))
3451 (define-public xf86-video-tga
3453 (name "xf86-video-tga")
3459 "mirror://xorg/individual/driver/xf86-video-tga-"
3464 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
3465 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
3466 (build-system gnu-build-system)
3467 (inputs `(("xorgproto" ,xorgproto)
3468 ("xorg-server" ,xorg-server)))
3469 (native-inputs `(("pkg-config" ,pkg-config)))
3470 (home-page "https://www.x.org/wiki/")
3471 (synopsis "TGA video driver for X server")
3473 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3475 (license license:x11)))
3478 (define-public xf86-video-trident
3480 (name "xf86-video-trident")
3486 "mirror://xorg/individual/driver/xf86-video-trident-"
3491 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
3492 (build-system gnu-build-system)
3493 (inputs `(("xorgproto" ,xorgproto)
3494 ("xorg-server" ,xorg-server)))
3495 (native-inputs `(("pkg-config" ,pkg-config)))
3496 (home-page "https://www.x.org/wiki/")
3497 (synopsis "Trident video driver for X server")
3499 "xf86-video-trident is a Trident video driver for the Xorg X server.")
3500 (license license:x11)))
3504 ;; (define-public xf86-video-v4l
3507 (define-public xf86-video-vesa
3509 (name "xf86-video-vesa")
3515 "mirror://xorg/individual/driver/xf86-video-vesa-"
3520 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
3521 (build-system gnu-build-system)
3522 (inputs `(("xorg-server" ,xorg-server)))
3523 (native-inputs `(("pkg-config" ,pkg-config)))
3524 (home-page "https://www.x.org/wiki/")
3525 (synopsis "VESA video driver for X server")
3527 "xf86-video-vesa is a generic VESA video driver for the Xorg
3529 (license license:x11)))
3539 (url "https://github.com/mjanusz/v86d")
3540 (commit (string-append name "-" version))))
3541 (file-name (git-file-name name version))
3543 (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp"))
3544 (modules '((guix build utils)))
3547 ;; remove bundled x86emu
3548 (for-each delete-file
3549 (filter (lambda (name) ;keep customized Makefile
3550 (not (string-suffix? "Makefile" name)))
3551 (find-files "libs/x86emu")))
3552 ;; remove non-working vbetest utility program (it is unnecessary)
3553 (delete-file "libs/lrmi-0.10/vbe.h")
3554 (delete-file "libs/lrmi-0.10/vbetest.c")
3557 ;; We keep the bundled copy of the Linux Real Mode Interface lrmi-0.10,
3558 ;; because it includes fixes missing from upstream lrmi. We do not use
3559 ;; libx86, because we already use x86emu with the more current lrmi.
3561 (inputs `(("xorg-server-sources" ,(package-source xorg-server)) ;for x86emu
3562 ("xorgproto" ,xorgproto))) ;upstream x86emu uses X11/Xfuncproto.h
3563 (outputs '("out" ;main v86d helper
3564 "testvbe")) ;test program for listing video modes
3565 (supported-systems '("i686-linux" "x86_64-linux"))
3566 (build-system gnu-build-system)
3568 `(#:tests? #f ;there are no tests
3569 #:modules ((guix build utils)
3570 (guix build gnu-build-system)
3573 (modify-phases %standard-phases
3574 ;; Replace the bundled x86emu with its upstream copy from Xorg-server:
3575 (add-after 'unpack 'unpack-x86emu-sources
3576 (lambda* (#:key inputs #:allow-other-keys)
3578 (format #t "decompressing x86emu source code~%")
3579 (with-directory-excursion "libs"
3580 (let ((srcs (assoc-ref inputs "xorg-server-sources"))
3581 (tar-binary (string-append (assoc-ref inputs "tar")
3583 (invoke tar-binary "xvf" srcs "--strip-components=3"
3584 "--wildcards" "*/hw/xfree86/x86emu/")
3586 (with-directory-excursion "x86emu"
3587 (invoke tar-binary "xvf" srcs "--strip-components=1"
3588 "--wildcards" "*/COPYING"))
3591 (lambda* (#:key outputs #:allow-other-keys)
3592 (let ((out (assoc-ref outputs "out")))
3593 (setenv "CC" (which "gcc"))
3594 (setenv "DESTDIR" out)
3595 (invoke "./configure" "--with-x86emu"))))
3596 (add-after 'build 'build-testvbe
3598 (invoke "make" "testvbe")))
3599 (add-after 'install 'install-testvbe
3600 (lambda* (#:key outputs #:allow-other-keys)
3601 (let ((testvbe (assoc-ref outputs "testvbe"))
3602 (olddest (getenv "DESTDIR")))
3603 (setenv "DESTDIR" testvbe)
3604 (invoke "make" "install_testvbe")
3605 (setenv "DESTDIR" olddest)
3607 (add-after 'install 'install-docs
3608 (lambda* (#:key outputs #:allow-other-keys)
3609 (let* ((out (assoc-ref outputs "out"))
3610 (doc-dir (string-append out "/share/doc/v86d")))
3613 (string-append doc-dir "/README"))
3614 (copy-file "libs/lrmi-0.10/README"
3615 (string-append doc-dir "/README.lrmi"))
3616 (copy-file "libs/x86emu/COPYING"
3617 (string-append doc-dir "/COPYING.xorg-server.x86emu"))
3619 (home-page "https://github.com/mjanusz/v86d")
3620 (synopsis "Userspace helper for uvesafb")
3622 "v86d provides a backend for kernel drivers that need to execute x86 BIOS
3623 code. The code is executed in a controlled environment and the results are
3624 passed back to the kernel via the netlink interface. v86d is required by the
3625 uvesafb Linux kernel module that provides an fbdev framebuffer when Kernel
3626 Mode Setting is unavailable. It can be a last resort when no other Xorg X
3627 server driver works.")
3628 (license (list license:gpl2
3629 license:x11)))) ;for bundled lrmi and x86emu
3631 (define-public xf86-video-vmware
3633 (name "xf86-video-vmware")
3639 "mirror://xorg/individual/driver/xf86-video-vmware-"
3644 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
3645 (build-system gnu-build-system)
3647 `(("libx11" ,libx11)
3648 ("libxext" ,libxext)
3650 ("mesa" ,mesa) ; for xatracker
3651 ("xorg-server" ,xorg-server)))
3654 ("pkg-config" ,pkg-config)))
3655 (home-page "https://www.x.org/wiki/")
3656 (synopsis "VMware SVGA video driver for X server")
3658 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
3659 (license license:x11)))
3662 (define-public xf86-video-voodoo
3664 (name "xf86-video-voodoo")
3670 "mirror://xorg/individual/driver/xf86-video-voodoo-"
3675 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3677 (search-patches "xf86-video-voodoo-pcitag.patch"))))
3678 (build-system gnu-build-system)
3679 (inputs `(("xorgproto" ,xorgproto)
3680 ("xorg-server" ,xorg-server)))
3681 (native-inputs `(("pkg-config" ,pkg-config)))
3682 (home-page "https://www.x.org/wiki/")
3683 (synopsis "Voodoo/Voodoo2 video driver for X server")
3685 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
3686 (license license:x11)))
3689 ;; Only relevant for the frame buffer on BSD systems.
3690 ;; (define-public xf86-video-wsfb
3693 (define-public xf86bigfontproto
3695 (name "xf86bigfontproto")
3701 "mirror://xorg/individual/proto/xf86bigfontproto-"
3706 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3707 (build-system gnu-build-system)
3708 (home-page "https://www.x.org/wiki/")
3709 (synopsis "Xorg XF86BigFontProto protocol headers")
3711 "XFree86 Bigfont Extension contains header files and documentation
3712 for the XF86BigFontProto protocol.")
3713 (license license:x11)
3714 (properties `((superseded . ,xorgproto)))))
3716 (define-public xf86dgaproto
3718 (name "xf86dgaproto")
3724 "mirror://xorg/individual/proto/xf86dgaproto-"
3729 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3730 (build-system gnu-build-system)
3731 (home-page "https://www.x.org/wiki/")
3732 (synopsis "Xorg XF86DGAProto protocol headers")
3734 "XFree86 Direct Graphic Access Extension defines a protocol for
3735 direct linear framebuffer access.")
3736 (license license:x11)
3737 (properties `((superseded . ,xorgproto)))))
3739 (define-public xf86driproto
3741 (name "xf86driproto")
3747 "mirror://xorg/individual/proto/xf86driproto-"
3752 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3753 (build-system gnu-build-system)
3754 (home-page "https://www.x.org/wiki/")
3755 (synopsis "Xorg XF86DRIProto protocol headers")
3757 "XFree86 Direct Rendering Infrastructure Extension defines a
3758 protocol to allow user applications to access the video hardware without
3759 requiring data to be passed through the X server.")
3760 (license license:x11)
3761 (properties `((superseded . ,xorgproto)))))
3763 (define-public xf86vidmodeproto
3765 (name "xf86vidmodeproto")
3771 "mirror://xorg/individual/proto/xf86vidmodeproto-"
3776 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3777 (build-system gnu-build-system)
3778 (home-page "https://www.x.org/wiki/")
3779 (synopsis "Xorg XF86VidModeProto protocol headers")
3781 "XFree86 Video Mode Extension defines a protocol for dynamically
3782 configuring modelines and gamma.")
3783 (license license:x11)
3784 (properties `((superseded . ,xorgproto)))))
3786 (define-public xgamma
3794 "mirror://xorg/individual/app/xgamma-"
3799 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
3800 (build-system gnu-build-system)
3802 `(("libxxf86vm" ,libxxf86vm)
3803 ("libx11" ,libx11)))
3805 `(("pkg-config" ,pkg-config)))
3806 (home-page "https://www.x.org/wiki/")
3807 (synopsis "Alter a monitor's gamma correction")
3809 "XGamma is used to query and alter the gamma correction of a
3810 monitor via the X video mode extension.")
3811 (license license:x11)))
3814 (define-public xhost
3822 "mirror://xorg/individual/app/xhost-"
3827 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
3828 (build-system gnu-build-system)
3830 `(("libxmu" ,libxmu)
3832 ("libx11" ,libx11)))
3834 `(("pkg-config" ,pkg-config)))
3835 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
3836 (synopsis "Xorg server access control utility")
3838 "XHost is used to manage the list of host names or user names
3839 allowed to make connections to the X server.")
3840 (license license:x11)))
3843 (define-public xineramaproto
3845 (name "xineramaproto")
3851 "mirror://xorg/individual/proto/xineramaproto-"
3856 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3857 (build-system gnu-build-system)
3858 (native-inputs `(("pkg-config" ,pkg-config)))
3859 (home-page "https://www.x.org/wiki/")
3860 (synopsis "Xorg XineramaProto protocol headers")
3862 "Xinerama Extension allows clients to query information about multiple
3863 physical screens controlled by a single X server that appear as a single
3864 screen to core X11 protocol operations.
3866 This extension provides a common network protocol for querying information
3867 which may be provided by different underlying screen combination
3868 technologies in the X server, such as the original Xinerama multiplexer, or
3869 alternative implementations like XRandR or TwinView.")
3870 (license license:x11)
3871 (properties `((superseded . ,xorgproto)))))
3873 (define-public xinput
3881 "mirror://xorg/individual/app/xinput-"
3886 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
3887 (build-system gnu-build-system)
3889 `(("libxrender" ,libxrender)
3890 ("libxrandr" ,libxrandr)
3891 ("libxinerama" ,libxinerama)
3892 ("libxext" ,libxext)
3895 ("xorgproto" ,xorgproto)))
3897 `(("pkg-config" ,pkg-config)))
3898 (home-page "https://www.x.org/wiki/")
3899 (synopsis "Configure input devices for X server")
3901 "XInput is used to configure and test XInput devices.")
3902 (license license:x11)))
3905 (define xkbcomp-intermediate ;used as input for xkeyboard-config
3907 (name "xkbcomp-intermediate")
3912 (uri (string-append "mirror://xorg/individual/app/xkbcomp-"
3913 version ".tar.bz2"))
3916 "0zpjkbap9160pdd6jpgb5f0yg5281w0rkkx1l0i7g887lq1ydk2r"))))
3917 (build-system gnu-build-system)
3919 `(("xorgproto" ,xorgproto)
3920 ("libxkbfile" ,libxkbfile)
3921 ("libx11" ,libx11)))
3923 `(("pkg-config" ,pkg-config)))
3924 (home-page "https://www.x.org/wiki/")
3925 (synopsis "Compile XKB keyboard description")
3927 "xkbcomp keymap compiler converts a description of an XKB keymap
3928 into one of several output formats. The most common use for xkbcomp is
3929 to create a compiled keymap file (.xkm extension) which can be read
3930 directly by XKB- capable X servers or utilities.
3932 X Keyboard (XKB) Extension essentially replaces the core protocol
3933 definition of keyboard. The extension makes possible to clearly and
3934 explicitly specify most aspects of keyboard behaviour on per-key basis
3935 and to more closely track the logical and physical state of the
3936 keyboard. It also includes a number of keyboard controls designed to
3937 make keyboards more accessible to people with physical impairments.")
3938 (license license:x11)))
3940 (define-public xkbcomp ; using xkeyboard-config as input
3941 (package (inherit xkbcomp-intermediate)
3944 `(,@(package-inputs xkbcomp-intermediate)
3945 ("xkeyboard-config" ,xkeyboard-config)))
3948 (list (string-append "--with-xkb-config-root="
3949 (assoc-ref %build-inputs "xkeyboard-config")
3950 "/share/X11/xkb"))))))
3953 (define-public xkbevd
3961 "mirror://xorg/individual/app/xkbevd-"
3966 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
3967 (build-system gnu-build-system)
3969 `(("libxkbfile" ,libxkbfile)
3970 ("libx11" ,libx11)))
3972 `(("pkg-config" ,pkg-config)))
3973 (home-page "https://www.x.org/wiki/")
3974 (synopsis "XKB event daemon demo")
3976 "XKB event daemon listens for the specified XKB events and executes
3977 requested commands if they occur.")
3978 (license license:x11)))
3981 (define-public xkbutils
3989 "mirror://xorg/individual/app/xkbutils-"
3994 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
3995 (build-system gnu-build-system)
3999 ("xorgproto" ,xorgproto)))
4001 `(("pkg-config" ,pkg-config)))
4002 (home-page "https://www.x.org/wiki/")
4003 (synopsis "XKB utilities")
4005 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
4006 extension to the X11 protocol. It includes:
4008 - xkbbell: generate XKB bell events;
4010 - xkbvleds: display the state of LEDs on an XKB keyboard in a window;
4012 - xkbwatch: reports changes in the XKB keyboard state.")
4013 (license license:x11)))
4016 (define-public xkeyboard-config
4018 (name "xkeyboard-config")
4024 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
4029 "18xddaxh83zm698syh50w983jg6b7b8zgv0dfaf7ha485hgihi6s"))))
4030 (build-system gnu-build-system)
4032 `(("libx11" ,libx11)
4033 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
4035 `(("gettext" ,gettext-minimal)
4037 ("pkg-config" ,pkg-config)
4038 ("python" ,python)))
4039 (home-page "https://www.x.org/wiki/")
4040 (synopsis "Xorg XKB configuration files")
4042 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
4043 There are five components that define a complete keyboard mapping:
4044 symbols, geometry, keycodes, compat, and types; these five components
4045 can be combined together using the @code{rules} component of this database.")
4046 (license license:x11)))
4049 (define-public xkill
4057 "mirror://xorg/individual/app/xkill-"
4062 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
4063 (build-system gnu-build-system)
4065 `(("libxmu" ,libxmu)
4066 ("libx11" ,libx11)))
4068 `(("pkg-config" ,pkg-config)))
4069 (home-page "https://www.x.org/wiki/")
4070 (synopsis "Kill a client by its X resource")
4072 "XKill is used to force the X server to close connections to
4073 clients. This program is very dangerous, but is useful for aborting
4074 programs that have displayed undesired windows on a user's screen.")
4075 (license license:x11)))
4078 (define-public xlsatoms
4086 "mirror://xorg/individual/app/xlsatoms-"
4091 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
4092 (build-system gnu-build-system)
4094 `(("libxcb" ,libxcb)))
4096 `(("pkg-config" ,pkg-config)))
4097 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
4098 (synopsis "List interned X server atoms")
4100 "XLsAtoms is used to list the interned atoms defined on X server.")
4101 (license license:x11)))
4104 (define-public xlsclients
4112 "mirror://xorg/individual/app/xlsclients-"
4117 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
4118 (build-system gnu-build-system)
4120 `(("libxcb" ,libxcb)))
4122 `(("pkg-config" ,pkg-config)))
4123 (home-page "https://www.x.org/wiki/")
4124 (synopsis "List client applications running on a display")
4126 "XLsClients is used to list information about the client programs
4127 running on X server.")
4128 (license license:x11)))
4131 (define-public xlsfonts
4139 "mirror://xorg/individual/app/xlsfonts-"
4144 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
4145 (build-system gnu-build-system)
4147 `(("xorgproto" ,xorgproto)
4148 ("libx11" ,libx11)))
4150 `(("pkg-config" ,pkg-config)))
4151 (home-page "https://www.x.org/wiki/")
4152 (synopsis "List fonts available from an X server")
4154 "xlsfonts lists fonts available from an X server via the X11 core
4156 (license license:x11)))
4158 (define-public xfontsel
4165 "mirror://xorg/individual/app/xfontsel-"
4166 version ".tar.bz2"))
4169 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
4170 (build-system gnu-build-system)
4173 (list (string-append "--with-appdefaultdir="
4174 %output ,%app-defaults-dir))))
4176 `(("libx11" ,libx11)
4181 `(("pkg-config" ,pkg-config)))
4182 (home-page "https://www.x.org/wiki/")
4183 (synopsis "Browse and select X font names")
4185 "XFontSel provides a simple way to display the X11 core protocol fonts
4186 known to your X server, examine samples of each, and retrieve the X Logical
4187 Font Description (XLFD) full name for a font.")
4188 (license license:x11)))
4197 "mirror://xorg/individual/app/xfd-"
4198 version ".tar.bz2"))
4201 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
4202 (build-system gnu-build-system)
4205 (list (string-append "--with-appdefaultdir="
4206 %output ,%app-defaults-dir))))
4208 `(("fontconfig" ,fontconfig)
4213 ("libxrender" ,libxrender)
4214 ("libxkbfile" ,libxkbfile)))
4216 `(("gettext" ,gettext-minimal)
4217 ("pkg-config" ,pkg-config)))
4218 (home-page "https://www.x.org/wiki/")
4219 (synopsis "Display all the characters in an X font")
4221 "XFD (X Font Display) package provides an utility that displays a
4222 window containing the name of the font being displayed, a row of command
4223 buttons, several lines of text for displaying character metrics, and a grid
4224 containing one glyph per cell.")
4225 (license license:x11)))
4227 (define-public xmodmap
4235 "mirror://xorg/individual/app/xmodmap-"
4240 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
4241 (build-system gnu-build-system)
4243 `(("xorgproto" ,xorgproto)
4244 ("libx11" ,libx11)))
4246 `(("pkg-config" ,pkg-config)))
4247 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
4248 (synopsis "Modify keymaps and button mappings on X server")
4250 "Xmodmap is used to display and edit the keyboard modifier map and
4251 keymap table that are used by client programs running on X server to
4252 convert event keycodes into keysyms. It is usually run from the user's
4253 session startup script to configure the keyboard according to personal
4255 (license license:x11)))
4259 ;; (define-public xorg-docs
4262 (define-public xorg-sgml-doctools
4264 (name "xorg-sgml-doctools")
4270 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
4275 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
4276 (build-system gnu-build-system)
4277 (native-inputs `(("pkg-config" ,pkg-config)))
4278 (home-page "https://www.x.org/wiki/")
4279 (synopsis "Xorg SGML documentation tools")
4281 "This package provides a common set of SGML entities and XML/CSS style
4282 sheets used in building/formatting the documentation provided in other
4283 Xorg packages. It's typically only needed by people building from
4284 source who want to produce formatted documentation from their builds, or
4285 those who have installed the HTML version of the documentation, which
4286 refers to the included common xorg.css stylesheet.")
4287 (license license:x11)))
4298 "mirror://xorg/individual/app/xpr-"
4303 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
4304 (build-system gnu-build-system)
4306 `(("xorgproto" ,xorgproto)
4308 ("libx11" ,libx11)))
4310 `(("pkg-config" ,pkg-config)))
4311 (home-page "https://www.x.org/wiki/")
4312 (synopsis "Print an X window dump from xwd")
4314 "XPr takes as input a window dump file produced by xwd and formats
4315 it for output on various types of printers.")
4316 (license license:x11)))
4319 (define-public xprop
4326 (uri (string-append "mirror://xorg/individual/app/xprop-"
4327 version ".tar.bz2"))
4330 "18ckr8g1z50zkc01hprkpm1npwbq32yqib4b3l98c95z2q1yv4lv"))))
4331 (build-system gnu-build-system)
4333 `(("libx11" ,libx11)
4334 ("xorgproto" ,xorgproto)))
4336 `(("pkg-config" ,pkg-config)))
4337 (home-page "https://www.x.org/wiki/")
4338 (synopsis "Display X server properties")
4340 "xprop is used to display and/or set window and font properties of
4342 (license license:x11)))
4345 (define-public xrandr
4353 "mirror://xorg/individual/app/xrandr-"
4357 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
4358 (build-system gnu-build-system)
4360 `(("libxrender" ,libxrender)
4361 ("libxrandr" ,libxrandr)
4362 ("xorgproto" ,xorgproto)
4363 ("libx11" ,libx11)))
4365 `(("pkg-config" ,pkg-config)))
4366 (home-page "https://www.x.org/wiki/")
4367 (synopsis "Command line interface to X RandR extension")
4369 "xrandr - primitive command line interface to X11 Resize, Rotate,
4370 and Reflect (RandR) extension.")
4371 (license license:x11)))
4382 "mirror://xorg/individual/app/xrdb-"
4387 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
4388 (build-system gnu-build-system)
4390 `(("libxmu" ,libxmu)
4391 ("libx11" ,libx11)))
4393 `(("pkg-config" ,pkg-config)))
4394 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
4395 (synopsis "X server resource database utility")
4397 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4398 property on the root window of screen 0, or the SCREEN_RESOURCES
4399 property on the root window of any or all screens, or everything
4400 combined. You would normally run this program from your X startup
4402 (license license:x11)))
4405 (define-public xrefresh
4413 "mirror://xorg/individual/app/xrefresh-"
4418 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
4419 (build-system gnu-build-system)
4421 `(("libx11" ,libx11)))
4423 `(("pkg-config" ,pkg-config)))
4424 (home-page "https://www.x.org/wiki/")
4425 (synopsis "Refresh all or part of an X screen")
4427 "Xrefresh is a simple X program that causes all or part of your
4428 screen to be repainted. This is useful when system messages have messed
4430 (license license:x11)))
4441 "mirror://xorg/individual/app/xset-"
4446 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
4447 (build-system gnu-build-system)
4449 `(("xorgproto" ,xorgproto)
4451 ("libxext" ,libxext)
4452 ("libx11" ,libx11)))
4454 `(("pkg-config" ,pkg-config)))
4455 (home-page "https://www.x.org/wiki/")
4456 (synopsis "User preference utility for X server")
4458 "XSet is used to set various user preference options of the display.")
4459 (license license:x11)))
4462 (define-public xsetroot
4470 "mirror://xorg/individual/app/xsetroot-"
4475 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
4476 (build-system gnu-build-system)
4478 `(("libxmu" ,libxmu)
4479 ("libxcursor" ,libxcursor)
4480 ("xbitmaps" ,xbitmaps)))
4482 `(("pkg-config" ,pkg-config)))
4483 (home-page "https://www.x.org/wiki/")
4484 (synopsis "Root window parameter setting utility for X server")
4486 "XSetRoot allows you to tailor the appearance of the root window on
4487 a display running X server.")
4488 (license license:x11)))
4491 (define-public xtrans
4499 "mirror://xorg/individual/lib/xtrans-"
4504 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
4505 (build-system gnu-build-system)
4506 (native-inputs `(("pkg-config" ,pkg-config)))
4507 (home-page "https://www.x.org/wiki/")
4508 (synopsis "Xorg Network Transport layer library")
4510 "Xtrans is a library of code that is shared among various X packages to
4511 handle network protocol transport in a modular fashion, allowing a single
4512 place to add new transport types. It is used by the X server, libX11,
4513 libICE, the X font server, and related components.")
4514 (license license:x11)))
4517 (define-public xvinfo
4525 "mirror://xorg/individual/app/xvinfo-"
4530 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
4531 (build-system gnu-build-system)
4533 `(("libxext" ,libxext)
4535 ("libx11" ,libx11)))
4537 `(("pkg-config" ,pkg-config)))
4538 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
4539 (synopsis "Print out X-Video extension adaptor information")
4541 "XVInfo is used to print out the capabilities of any video adaptors
4542 associated with the display that are accessible through the X-Video
4544 (license license:x11)))
4555 "mirror://xorg/individual/app/xwd-"
4560 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
4561 (build-system gnu-build-system)
4564 ("libxkbfile" ,libxkbfile)
4565 ("xorgproto" ,xorgproto)))
4567 `(("pkg-config" ,pkg-config)))
4568 (home-page "https://www.x.org/wiki/")
4569 (synopsis "Dump current contents of X window or screen to file")
4571 "Xwd is used to store window images in a specially formatted dump
4572 file. This file can then be read by various other X utilities for
4573 redisplay, printing, editing, formatting, archiving, image processing,
4574 etc. The target window is selected by clicking the pointer in the
4575 desired window. The keyboard bell is rung once at the beginning of the
4576 dump and twice when the dump is completed.")
4577 (license license:x11)))
4580 (define-public xwininfo
4588 "mirror://xorg/individual/app/xwininfo-"
4593 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
4594 (build-system gnu-build-system)
4596 `(("libx11" ,libx11)
4597 ("xorgproto" ,xorgproto)))
4599 `(("pkg-config" ,pkg-config)))
4600 (home-page "https://www.x.org/wiki/")
4601 (synopsis "Window information utility for X server")
4603 "XWinInfo is used to print out information about windows on an X server.
4604 Various information is displayed depending on which options are selected.")
4605 (license license:x11)))
4616 "mirror://xorg/individual/app/xwud-"
4621 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
4622 (build-system gnu-build-system)
4624 `(("xorgproto" ,xorgproto)
4625 ("libx11" ,libx11)))
4627 `(("pkg-config" ,pkg-config)))
4628 (home-page "https://www.x.org/wiki/")
4629 (synopsis "Display an X window dump from xwd")
4631 "Xwud is used to display in a window an image saved in a specially
4632 formatted dump file, such as produced by xwd.")
4633 (license license:x11)))
4635 (define-public xorg-rgb
4643 "mirror://xorg/individual/app/rgb-"
4648 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4649 (build-system gnu-build-system)
4651 `(("xorgproto" ,xorgproto)))
4653 `(("pkg-config" ,pkg-config)))
4654 (home-page "https://www.x.org/wiki/")
4655 (synopsis "X color name database")
4657 "This package provides the X color name database.")
4658 (license license:x11)))
4660 ;; packages of height 1 in the propagated-inputs tree
4662 (define-public fixesproto
4670 "mirror://xorg/individual/proto/fixesproto-"
4675 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4676 (build-system gnu-build-system)
4678 `(("xorgproto" ,xorgproto)))
4680 `(("pkg-config" ,pkg-config)))
4681 (home-page "https://www.x.org/wiki/")
4682 (synopsis "Xorg FixesProto protocol headers")
4684 "Fixes Extension makes changes to many areas of the protocol to resolve
4685 issues raised by application interaction with core protocol mechanisms that
4686 cannot be adequately worked around on the client side of the wire.")
4687 (license license:x11)
4688 (properties `((superseded . ,xorgproto)))))
4690 (define-public libxdamage
4698 "mirror://xorg/individual/lib/libXdamage-"
4703 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
4704 (build-system gnu-build-system)
4706 ;; These are all in the Requires or Requires.private field of xdamage.pc
4707 `(("libxfixes" ,libxfixes)
4708 ("xorgproto" ,xorgproto)
4709 ("libx11" ,libx11)))
4711 `(("pkg-config" ,pkg-config)))
4712 (home-page "https://www.x.org/wiki/")
4713 (synopsis "Xorg Damage Extension library")
4714 (description "Xorg library for the XDamage extension.")
4715 (license license:x11)))
4718 (define-public libxext
4726 "mirror://xorg/individual/lib/libXext-"
4731 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
4732 (build-system gnu-build-system)
4735 (list "--disable-static"
4736 ;; Disable zero malloc check that fails when cross-compiling.
4737 ,@(if (%current-target-system)
4738 '("--disable-malloc0returnsnull")
4741 `(("xorgproto" ,xorgproto)))
4743 `(("libxau" ,libxau)
4744 ("libx11" ,libx11)))
4746 `(("pkg-config" ,pkg-config)))
4747 (home-page "https://www.x.org/wiki/")
4748 (synopsis "Xorg Common extensions library")
4750 "Library for common extensions to the X11 protocol.")
4751 (license license:x11)))
4754 (define-public libxinerama
4756 (name "libxinerama")
4762 "mirror://xorg/individual/lib/libXinerama-"
4767 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
4768 (build-system gnu-build-system)
4770 '(#:configure-flags '("--disable-static")))
4772 `(("xorgproto" ,xorgproto)))
4774 `(("libxext" ,libxext)
4775 ("libx11" ,libx11)))
4777 `(("pkg-config" ,pkg-config)))
4778 (home-page "https://www.x.org/wiki/")
4779 (synopsis "Xorg Xinerama protocol library")
4780 (description "API for Xinerama extension to X11 protocol.")
4781 (license license:x11)))
4784 (define-public libxp
4792 "mirror://xorg/individual/lib/libXp-"
4797 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
4798 (build-system gnu-build-system)
4800 `(("printproto" ,printproto)))
4802 `(("libx11" ,libx11)
4803 ("libxext" ,libxext)))
4805 `(("pkg-config" ,pkg-config)))
4806 (home-page "https://www.x.org/wiki/")
4807 (synopsis "Xorg Print Client library")
4808 (description "Xorg Print Client library.")
4809 (license license:x11)))
4812 (define-public libxrender
4820 "mirror://xorg/individual/lib/libXrender-"
4825 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
4826 (build-system gnu-build-system)
4829 (list "--disable-static"
4830 ;; Disable zero malloc check that fails when cross-compiling.
4831 ,@(if (%current-target-system)
4832 '("--disable-malloc0returnsnull")
4835 `(("xorgproto" ,xorgproto)))
4837 `(("libx11" ,libx11)))
4839 `(("pkg-config" ,pkg-config)))
4840 (home-page "https://www.x.org/wiki/")
4841 (synopsis "Xorg Render Extension library")
4842 (description "Library for the Render Extension to the X11 protocol.")
4843 (license license:x11)))
4845 (define-public libxtst
4853 "mirror://xorg/individual/lib/libXtst-"
4858 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
4859 (build-system gnu-build-system)
4861 '(#:configure-flags '("--disable-static")))
4864 ("xorgproto" ,xorgproto)))
4866 `(("libx11" ,libx11)))
4868 `(("pkg-config" ,pkg-config)))
4869 (home-page "https://www.x.org/wiki/")
4870 (synopsis "Xorg library for Xtest and Record extensions")
4872 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4875 The XTEST extension is a minimal set of client and server extensions
4876 required to completely test the X11 server with no user intervention. This
4877 extension is not intended to support general journaling and playback of user
4880 The RECORD extension supports the recording and reporting of all core X
4881 protocol and arbitrary X extension protocol.")
4882 (license license:x11)))
4884 (define-public libxv
4892 "mirror://xorg/individual/lib/libXv-"
4897 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
4898 (build-system gnu-build-system)
4900 '(#:configure-flags '("--disable-static")))
4902 `(("xorgproto" ,xorgproto)))
4904 `(("libxext" ,libxext)
4905 ("libx11" ,libx11)))
4907 `(("pkg-config" ,pkg-config)))
4908 (home-page "https://www.x.org/wiki/")
4909 (synopsis "Xorg XVideo Extension library")
4910 (description "Library for the X Video Extension to the X11 protocol.")
4911 (license license:x11)))
4913 (define-public mkfontdir
4921 "mirror://xorg/individual/app/mkfontdir-"
4926 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4927 (build-system gnu-build-system)
4930 (modify-phases %standard-phases
4931 (add-after 'unpack 'fix-configure
4932 (lambda* (#:key inputs native-inputs #:allow-other-keys)
4933 ;; Replace outdated config.sub and config.guess:
4934 (for-each (lambda (file)
4935 (install-file (string-append
4937 (or native-inputs inputs) "automake")
4939 ,(version-major+minor
4940 (package-version automake))
4942 '("config.sub" "config.guess"))
4944 (add-after 'install 'wrap-mkfontdir
4945 (lambda* (#:key inputs outputs #:allow-other-keys)
4946 (wrap-program (string-append (assoc-ref outputs "out")
4949 (,(string-append (assoc-ref inputs "mkfontscale")
4953 `(("mkfontscale" ,mkfontscale)))
4955 `(("pkg-config" ,pkg-config)
4956 ("automake" ,automake))) ;For up to date 'config.guess' and 'config.sub'.
4957 (home-page "https://www.x.org/wiki/")
4958 (synopsis "Create an index of X font files in a directory")
4960 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
4961 server core font system. The current implementation is a simple wrapper
4962 script around the mkfontscale program.")
4963 (license license:x11)))
4965 (define-public xproto
4973 "mirror://xorg/individual/proto/xproto-"
4978 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
4979 (build-system gnu-build-system)
4981 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
4983 `(("pkg-config" ,pkg-config)))
4984 (home-page "https://www.x.org/wiki/")
4985 (synopsis "Xorg X11Proto protocol headers")
4987 "XProto provides the headers and specification documents defining
4988 the X Window System Core Protocol, Version 11.
4990 It also includes a number of headers that aren't purely protocol related,
4991 but are depended upon by many other X Window System packages to provide
4992 common definitions and porting layer.")
4993 (license license:x11)
4994 (properties `((superseded . ,xorgproto)))))
4996 ;; packages of height 2 in the propagated-inputs tree
4998 (define-public libice
5006 "mirror://xorg/individual/lib/libICE-"
5011 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
5012 (build-system gnu-build-system)
5014 '(#:configure-flags '("--disable-static")))
5016 `(("xorgproto" ,xorgproto)))
5018 `(("libbsd" ,libbsd)
5019 ("xtrans" ,xtrans)))
5021 `(("pkg-config" ,pkg-config)))
5022 (home-page "https://www.x.org/wiki/")
5023 (synopsis "Xorg Inter-Client Exchange library")
5024 (description "Xorg Inter-Client Exchange library.")
5025 (license license:x11)))
5028 (define-public libxau
5036 "mirror://xorg/individual/lib/libXau-"
5041 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
5042 (build-system gnu-build-system)
5044 '(#:configure-flags '("--disable-static")))
5046 `(("xorgproto" ,xorgproto)))
5048 `(("pkg-config" ,pkg-config)))
5049 (home-page "https://www.x.org/wiki/")
5050 (synopsis "Xorg Authorization library")
5052 "libXau provides an authorization library for individual access to
5053 an X Window System display.")
5054 (license license:x11)))
5056 (define-public libxfixes
5064 "mirror://xorg/individual/lib/libXfixes-"
5069 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
5070 (build-system gnu-build-system)
5072 '(#:configure-flags '("--disable-static")))
5074 `(("xorgproto" ,xorgproto)))
5076 `(("libx11" ,libx11)))
5078 `(("pkg-config" ,pkg-config)))
5079 (home-page "https://www.x.org/wiki/")
5080 (synopsis "Xorg Fixes Extension library")
5081 (description "Library for the XFixes Extension to the X11 protocol.")
5082 (license license:x11)))
5084 (define-public libxfont
5092 "mirror://xorg/individual/lib/libXfont-"
5097 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
5098 (build-system gnu-build-system)
5100 '(#:configure-flags '("--disable-static")))
5102 `(("freetype" ,freetype)
5103 ("libfontenc" ,libfontenc)
5104 ("xorgproto" ,xorgproto)))
5107 ("xtrans" ,xtrans)))
5109 `(("pkg-config" ,pkg-config)))
5110 (home-page "https://www.x.org/wiki/")
5111 (synopsis "Xorg Font handling library")
5113 "libXfont provides the core of the legacy X11 font system, handling the
5114 index files (fonts.dir, fonts.alias, fonts.scale), the various font file
5115 formats, and rasterizing them. It is used by the X servers, the X Font
5116 Server (xfs), and some font utilities (bdftopcf for instance), but should
5117 not be used by normal X11 clients. X11 clients access fonts via either the
5118 new API's in libXft, or the legacy API's in libX11.")
5119 (license license:x11)))
5121 (define-public libxfont2
5127 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
5128 version ".tar.bz2"))
5131 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
5133 (define-public libxi
5141 "mirror://xorg/individual/lib/libXi-"
5146 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
5147 (build-system gnu-build-system)
5149 '(#:configure-flags '("--disable-static")))
5151 `(("xorgproto" ,xorgproto)
5153 ("libxext" ,libxext)
5154 ("libxfixes" ,libxfixes)))
5156 `(("pkg-config" ,pkg-config)))
5157 (home-page "https://www.x.org/wiki/")
5158 (synopsis "Xorg Input Extension library")
5159 (description "Library for the XInput Extension to the X11 protocol.")
5160 (license license:x11)))
5162 (define-public libxrandr
5170 "mirror://xorg/individual/lib/libXrandr-"
5175 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
5176 (build-system gnu-build-system)
5178 '(#:configure-flags '("--disable-static")))
5180 ;; In accordance with xrandr.pc.
5181 `(("libx11" ,libx11)
5182 ("libxext" ,libxext)
5183 ("libxrender" ,libxrender)
5184 ("xorgproto" ,xorgproto)))
5186 `(("pkg-config" ,pkg-config)))
5187 (home-page "https://www.x.org/wiki/")
5188 (synopsis "Xorg Resize and Rotate Extension library")
5190 "Library for the Resize and Rotate Extension to the X11 protocol.")
5191 (license license:x11)))
5193 (define-public libxvmc
5201 "mirror://xorg/individual/lib/libXvMC-"
5206 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
5207 (build-system gnu-build-system)
5209 '(#:configure-flags '("--disable-static")))
5211 `(("libxv" ,libxv)))
5213 `(("xorgproto" ,xorgproto)
5214 ("libxext" ,libxext)
5215 ("libx11" ,libx11)))
5217 `(("pkg-config" ,pkg-config)))
5218 (home-page "https://www.x.org/wiki/")
5219 (synopsis "Xorg XvMC library")
5220 (description "Xorg XvMC library.")
5221 (license license:x11)))
5223 (define-public libxxf86vm
5231 "mirror://xorg/individual/lib/libXxf86vm-"
5236 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
5237 (build-system gnu-build-system)
5239 '(#:configure-flags '("--disable-static")))
5241 `(("libxext" ,libxext)
5242 ("xorgproto" ,xorgproto)))
5244 `(("libx11" ,libx11)))
5246 `(("pkg-config" ,pkg-config)))
5247 (home-page "https://www.x.org/wiki/")
5248 (synopsis "Xorg XF86 Video Mode Extension library")
5250 "Library for the XFree86 Video Mode Extension Extension to the X11
5252 (license license:x11)))
5255 ;; packages of height 3 in the propagated-inputs tree
5257 (define-public libxcb
5264 (uri (string-append "https://xcb.freedesktop.org/dist/"
5265 "libxcb-" version ".tar.xz"))
5268 "0d2chjgyn5lr9sfhacfvqgnj9l9faz11vn322a06jd6lk3dxcpm5"))))
5269 (build-system gnu-build-system)
5271 `(("libpthread-stubs" ,libpthread-stubs)
5273 ("libxdmcp" ,libxdmcp)))
5275 `(("xcb-proto" ,xcb-proto)
5276 ("libxslt" ,libxslt)))
5278 `(("pkg-config" ,pkg-config)
5279 ("python" ,python-minimal-wrapper)))
5281 `(#:configure-flags '("--enable-xkb"
5282 "--disable-static")))
5283 (home-page "https://xcb.freedesktop.org/")
5284 (synopsis "The X C Binding (XCB) library")
5286 "libxcb provides an interface to the X Window System protocol,
5287 which replaces the current Xlib interface. It has several advantages
5288 over Xlib, including:
5290 - size: small, simple library, and lower memory footprint;
5292 - latency hiding: batch several requests and wait for the replies later;
5294 - direct protocol access: interface and protocol correspond exactly;
5296 - proven thread support: transparently access XCB from multiple threads;
5298 - easy extension implementation: interfaces auto-generated from XML-XCB.")
5299 (license license:x11)))
5302 (define-public xorg-server
5304 (name "xorg-server")
5309 (uri (string-append "mirror://xorg/individual/xserver/"
5310 "xorg-server-" version ".tar.bz2"))
5313 "16bwrf0ag41l7jbrllbix8z6avc5yimga7ihvq4ch3a5hb020x4p"))
5317 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5318 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5322 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5323 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5326 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5327 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
5328 (build-system gnu-build-system)
5330 `(("libpciaccess" ,libpciaccess)
5333 ("xorgproto" ,xorgproto)))
5338 ("libepoxy" ,libepoxy)
5339 ("libgcrypt" ,libgcrypt)
5342 ("libxdmcp" ,libxdmcp)
5343 ("libxfixes" ,libxfixes)
5344 ("libxfont2" ,libxfont2)
5345 ("libxkbfile" ,libxkbfile)
5346 ("libxrender" ,libxrender)
5347 ("libxres" ,libxres)
5348 ("libxshmfence" ,libxshmfence)
5351 ("xkbcomp" ,xkbcomp)
5352 ("xkeyboard-config" ,xkeyboard-config)
5355 ;; Inputs for Xephyr
5356 ("xcb-util" ,xcb-util)
5357 ("xcb-util-image" ,xcb-util-image)
5358 ("xcb-util-keysyms" ,xcb-util-keysyms)
5359 ("xcb-util-renderutil" ,xcb-util-renderutil)
5360 ("xcb-util-wm" ,xcb-util-wm)))
5362 `(("python" ,python-wrapper)
5363 ("pkg-config" ,pkg-config)))
5365 `(#:parallel-tests? #f
5367 (list (string-append "--with-xkb-path="
5368 (assoc-ref %build-inputs "xkeyboard-config")
5370 (string-append "--with-xkb-output="
5371 "/tmp") ; FIXME: This is a bit doubtful; where should
5372 ; the compiled keyboard maps go?
5373 (string-append "--with-xkb-bin-directory="
5374 (assoc-ref %build-inputs "xkbcomp")
5376 ;; By default, it ends up with invalid '${prefix}/...', causes:
5377 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5378 ;; It's not used anyway, so set it to empty.
5379 "--with-default-font-path="
5381 ;; The default is to use "uname -srm", which captures the kernel
5382 ;; version and makes builds non-reproducible.
5383 "--with-os-name=GNU"
5385 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5388 ;; For the log file, etc.
5389 "--localstatedir=/var"
5395 (modify-phases %standard-phases
5396 (add-before 'configure 'pre-configure
5398 (substitute* (find-files "." "\\.c$")
5399 (("/bin/sh") (which "sh")))
5401 ;; Don't try to 'mkdir /var'.
5402 (substitute* "hw/xfree86/Makefile.in"
5403 (("\\$\\(MKDIR_P\\).*logdir.*")
5406 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5408 (substitute* "configure"
5409 (("^BUILD_DATE=.*$")
5410 "BUILD_DATE=19700101\n")
5411 (("^BUILD_TIME=.*$")
5412 "BUILD_TIME=000001\n"))
5415 (home-page "https://www.x.org/wiki/")
5416 (synopsis "Xorg implementation of the X Window System")
5418 "This package provides the Xorg X server itself.
5419 The X server accepts requests from client programs to create windows, which
5420 are (normally rectangular) 'virtual screens' that the client program can
5423 Windows are then composed on the actual screen by the X server (or by a
5424 separate composite manager) as directed by the window manager, which usually
5425 communicates with the user via graphical controls such as buttons and
5426 draggable titlebars and borders.")
5427 (license license:x11)))
5429 ;; This package is intended to be used when building GTK+.
5430 ;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5431 ;; packages with the same name and version.
5432 (define-public xorg-server-for-tests
5435 (inherit xorg-server))))
5437 (define-public xorg-server-xwayland
5438 (package/inherit xorg-server
5439 (name "xorg-server-xwayland")
5441 `(("wayland" ,wayland)
5442 ("wayland-protocols" ,wayland-protocols)
5443 ,@(package-inputs xorg-server)))
5445 (substitute-keyword-arguments (package-arguments xorg-server)
5446 ((#:configure-flags flags)
5447 `(cons* "--enable-xwayland" "--disable-xorg"
5448 "--disable-docs" "--disable-devel-docs"
5449 "--disable-xvfb" "--disable-xnest"
5450 "--disable-xquartz" "--disable-xwin"
5452 (synopsis "Xorg server with wayland backend")))
5455 ;; packages of height 4 in the propagated-inputs tree
5457 (define-public libx11
5465 "mirror://xorg/individual/lib/libX11-"
5470 "09k2pqmqbn2m1bpgl7jfxyqxaaxsnzbnp2bp8ycmqldqi5ln4j5g"))))
5471 (replacement libx11/fixed)
5472 (build-system gnu-build-system)
5474 "doc")) ;8 MiB of man pages + XML
5477 (list (string-append "--mandir="
5478 (assoc-ref %outputs "doc")
5482 ;; Disable zero malloc check that fails when cross-compiling.
5483 ,@(if (%current-target-system)
5484 '("--disable-malloc0returnsnull")
5487 `(("xorgproto" ,xorgproto)
5488 ("libxcb" ,libxcb)))
5490 `(("xtrans" ,xtrans)))
5492 `(("pkg-config" ,pkg-config)
5493 ("xorgproto" ,xorgproto)))
5494 (home-page "https://www.x.org/wiki/")
5495 (synopsis "Xorg Core X11 protocol client library")
5496 (description "Xorg Core X11 protocol client library.")
5497 (license license:x11)))
5499 (define-public libx11/fixed
5507 "mirror://xorg/individual/lib/libX11-"
5512 "1ivfzl1qwk8zh7gc0m5vb58gdxz11jwg7w3d356w16j1d5s2427i"))))))
5514 ;; packages of height 5 in the propagated-inputs tree
5516 (define-public libxcursor
5524 "mirror://xorg/individual/lib/libXcursor-"
5529 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
5530 (build-system gnu-build-system)
5532 '(#:configure-flags '("--disable-static")))
5534 `(("libx11" ,libx11)
5535 ("libxrender" ,libxrender)
5536 ("libxfixes" ,libxfixes)
5537 ("xorgproto" ,xorgproto)))
5539 `(("pkg-config" ,pkg-config)))
5540 ;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so
5541 ;; libXcursor finds cursors installed into a profile. If we solve bugs
5542 ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix
5543 ;; this with a search-path as follows:
5545 ;; (native-search-paths
5546 ;; (list (search-path-specification
5547 ;; (variable "XCURSOR_PATH")
5548 ;; (files '("share/icons")))))
5549 (home-page "https://www.x.org/wiki/")
5550 (synopsis "Xorg Cursor management library")
5551 (description "Xorg Cursor management library.")
5552 (license license:x11)))
5554 (define-public libxt
5562 "mirror://xorg/individual/lib/libXt-"
5567 "0cbqlyssr8aia88c8i7z59z9d0kp3p2hp6683xhz9ndyv8qza7dk"))
5568 (patches (search-patches "libxt-guix-search-paths.patch"))))
5569 (build-system gnu-build-system)
5571 "doc")) ;2 MiB of man pages + XML
5574 (list (string-append "--mandir="
5575 (assoc-ref %outputs "doc")
5578 ;; Disable zero malloc check that fails when cross-compiling.
5579 ,@(if (%current-target-system)
5580 '("--disable-malloc0returnsnull")
5583 `(("libx11" ,libx11)
5587 `(("libx11" ,libx11)))
5589 `(("pkg-config" ,pkg-config)))
5590 (home-page "https://www.x.org/wiki/")
5591 (synopsis "Xorg XToolkit Intrinsics library")
5592 (description "Xorg XToolkit Intrinsics library.")
5593 (license license:x11)))
5596 (define-public libxaw
5604 "mirror://xorg/individual/lib/libXaw-"
5609 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
5610 (build-system gnu-build-system)
5612 '(#:configure-flags '("--disable-static")))
5614 `(("libxext" ,libxext)
5619 `(("xorgproto" ,xorgproto)))
5621 `(("pkg-config" ,pkg-config)))
5622 (home-page "https://www.x.org/wiki/")
5623 (synopsis "Xorg Xaw library")
5625 "Xaw is the X Athena Widget Set based on the X Toolkit
5626 Intrinsics (Xt) Library.")
5627 (license license:x11)))
5636 (uri (string-append "mirror://xorg/individual/app/twm-"
5640 "1iv8kdb18n9vk3is5fyh6l40ipq9mkgx8ppj86byf464vr1ais7l"))))
5641 (build-system gnu-build-system)
5645 ("libxext" ,libxext)
5646 ("xorgproto" ,xorgproto)))
5649 ("pkg-config" ,pkg-config)))
5650 (home-page "https://www.x.org/wiki/")
5651 (synopsis "Tab Window Manager for the X Window System")
5652 (description "Twm is a window manager for the X Window System.
5653 It provides titlebars, shaped windows, several forms of icon management,
5654 user-defined macro functions, click-to-type and pointer-driven
5655 keyboard focus, and user-specified key and pointer button bindings.")
5656 (license license:x11)))
5658 (define-public xcb-util
5664 (uri (string-append "mirror://xorg/individual/xcb/"
5665 name "-" version ".tar.bz2"))
5668 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
5669 (build-system gnu-build-system)
5671 '(#:configure-flags '("--disable-static")))
5673 `(("libxcb" ,libxcb)))
5675 `(("pkg-config" ,pkg-config)))
5676 (home-page "https://cgit.freedesktop.org/xcb/util/")
5677 (synopsis "Core XCB utility functions")
5679 "The XCB util module provides a number of libraries which sit on
5680 top of libxcb, the core X protocol library, and some of the extension
5681 libraries. These experimental libraries provide convenience functions
5682 and interfaces which make the raw X protocol more usable. Some of the
5683 libraries also provide client-side code which is not strictly part of
5684 the X protocol but which has traditionally been provided by Xlib.
5686 The XCB util module provides the following libraries:
5688 - aux: Convenient access to connection setup and some core requests.
5690 - atom: Standard core X atom constants and atom caching.
5692 - event: Some utilities that have little to do with events any more.")
5693 (license license:x11)))
5696 (define-public xcb-util-cursor
5698 (name "xcb-util-cursor")
5702 (uri (string-append "https://xcb.freedesktop.org/dist/"
5703 "xcb-util-cursor-" version ".tar.bz2"))
5706 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
5707 (build-system gnu-build-system)
5709 '(#:configure-flags '("--disable-static")))
5712 ("pkg-config" ,pkg-config)))
5714 `(("libxcb" ,libxcb)))
5716 `(("xcb-util-renderutil" ,xcb-util-renderutil)
5717 ("xcb-util-image" ,xcb-util-image)))
5718 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
5719 (synopsis "Port of libxcursor")
5720 (description "XCB-util-cursor is a port of libxcursor.")
5722 ; expat license with added clause regarding advertising
5723 (license:non-copyleft
5725 "See COPYING in the distribution."))))
5727 (define-public xcb-util-errors
5728 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5731 (name "xcb-util-errors")
5732 (version (git-version "1.0" revision commit))
5736 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5739 (file-name (git-file-name name version))
5742 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5743 (build-system gnu-build-system)
5746 `(("util-macros" ,util-macros)
5747 ("xcb-proto" ,xcb-proto)))
5749 `(("libxcb" ,libxcb)))
5751 `(("autoconf" ,autoconf)
5752 ("automake" ,automake)
5753 ("libtool" ,libtool)
5754 ("python" ,python-wrapper)
5755 ("pkg-config" ,pkg-config)))
5758 (modify-phases %standard-phases
5761 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5762 ;; would try to run ./configure and fail due to unpatched
5764 (invoke "autoreconf" "-v" "--install"))))))
5765 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5766 (synopsis "XCB helper library for printing information about X11 errors")
5768 "The XCB util module provides a number of libraries which sit on
5769 top of libxcb, the core X protocol library, and some of the extension
5770 libraries. These experimental libraries provide convenience functions
5771 and interfaces which make the raw X protocol more usable. Some of the
5772 libraries also provide client-side code which is not strictly part of
5773 the X protocol but which has traditionally been provided by Xlib.
5775 The XCB util-errors module provides a utility library that gives human
5776 readable names to error codes, event codes, and also to major and minor
5778 (license license:x11))))
5780 (define-public xcb-util-image
5782 (name "xcb-util-image")
5786 (uri (string-append "mirror://xorg/individual/xcb/"
5787 name "-" version ".tar.bz2"))
5790 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
5791 (build-system gnu-build-system)
5793 '(#:configure-flags '("--disable-static")))
5795 `(("libxcb" ,libxcb)))
5797 `(("xcb-util" ,xcb-util)))
5799 `(("pkg-config" ,pkg-config)))
5800 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
5801 (synopsis "XCB port of Xlib's XImage and XShmImage")
5803 "The XCB util module provides a number of libraries which sit on
5804 top of libxcb, the core X protocol library, and some of the extension
5805 libraries. These experimental libraries provide convenience functions
5806 and interfaces which make the raw X protocol more usable. Some of the
5807 libraries also provide client-side code which is not strictly part of
5808 the X protocol but which has traditionally been provided by Xlib.
5810 The XCB util-image module provides the following library:
5812 - image: Port of Xlib's XImage and XShmImage functions.")
5813 (license license:x11)))
5816 (define-public xcb-util-keysyms
5818 (name "xcb-util-keysyms")
5822 (uri (string-append "mirror://xorg/individual/xcb/"
5823 name "-" version ".tar.bz2"))
5826 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
5827 (build-system gnu-build-system)
5829 '(#:configure-flags '("--disable-static")))
5831 `(("libxcb" ,libxcb)))
5833 `(("pkg-config" ,pkg-config)))
5834 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
5835 (synopsis "Standard X constants and conversion to/from keycodes")
5837 "The XCB util module provides a number of libraries which sit on
5838 top of libxcb, the core X protocol library, and some of the extension
5839 libraries. These experimental libraries provide convenience functions
5840 and interfaces which make the raw X protocol more usable. Some of the
5841 libraries also provide client-side code which is not strictly part of
5842 the X protocol but which has traditionally been provided by Xlib.
5844 The XCB util-keysyms module provides the following library:
5846 - keysyms: Standard X key constants and conversion to/from keycodes.")
5847 (license license:x11)))
5850 (define-public xcb-util-renderutil
5852 (name "xcb-util-renderutil")
5856 (uri (string-append "mirror://xorg/individual/xcb/"
5857 name "-" version ".tar.bz2"))
5860 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
5861 (build-system gnu-build-system)
5863 '(#:configure-flags '("--disable-static")))
5865 `(("libxcb" ,libxcb)))
5867 `(("pkg-config" ,pkg-config)))
5868 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
5869 (synopsis "Convenience functions for the Render extension")
5871 "The XCB util module provides a number of libraries which sit on
5872 top of libxcb, the core X protocol library, and some of the extension
5873 libraries. These experimental libraries provide convenience functions
5874 and interfaces which make the raw X protocol more usable. Some of the
5875 libraries also provide client-side code which is not strictly part of
5876 the X protocol but which has traditionally been provided by Xlib.
5878 The XCB util-renderutil module provides the following library:
5880 - renderutil: Convenience functions for the Render extension.")
5881 (license license:x11)))
5884 (define-public xcb-util-wm
5886 (name "xcb-util-wm")
5890 (uri (string-append "mirror://xorg/individual/xcb/"
5891 name "-" version ".tar.bz2"))
5894 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
5895 (build-system gnu-build-system)
5897 '(#:configure-flags '("--disable-static")))
5899 `(("libxcb" ,libxcb)))
5902 ("pkg-config" ,pkg-config)))
5903 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
5904 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
5906 "The XCB util modules provides a number of libraries which sit on
5907 top of libxcb, the core X protocol library, and some of the extension
5908 libraries. These experimental libraries provide convenience functions
5909 and interfaces which make the raw X protocol more usable. Some of the
5910 libraries also provide client-side code which is not strictly part of
5911 the X protocol but which has traditionally been provided by Xlib.
5913 The XCB util-wm module provides the following libraries:
5915 - ewmh: Both client and window-manager helpers for EWMH.
5917 - icccm: Both client and window-manager helpers for ICCCM.")
5918 (license license:x11)))
5920 (define-public xinit
5926 (uri (string-append "mirror://xorg/individual/app/xinit-"
5927 version ".tar.bz2"))
5930 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
5931 (build-system gnu-build-system)
5933 `(("xorgproto" ,xorgproto)
5934 ("libx11" ,libx11)))
5936 `(("pkg-config" ,pkg-config)))
5938 `(("xauth" ,xauth)))
5939 (home-page "https://www.x.org/")
5940 (synopsis "Commands to start the X Window server")
5942 "The xinit program is used to start the X Window System server and a
5943 first client program on systems that are not using a display manager such as
5944 xdm. This package also provides the @code{startx} command, which provides a
5945 user-friendly mechanism to start the X server.")
5946 (license license:x11)))
5948 ;; package outside the x.org system proper of height 5
5950 (define-public libxaw3d
5958 "mirror://xorg/individual/lib/libXaw3d-"
5963 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
5964 (build-system gnu-build-system)
5966 `(("libxext" ,libxext)
5970 `(("libx11" ,libx11)))
5972 `(("pkg-config" ,pkg-config)))
5973 (home-page "https://www.x.org/wiki/")
5974 (synopsis "Xorg Xaw3d library")
5976 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5977 Intrinsics (Xt) Library.")
5978 (license license:x11)))
5980 (define-public xclock
5987 (uri (string-append "https://www.x.org/releases/individual/app/"
5988 "xclock-" version ".tar.bz2"))
5990 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
5991 (build-system gnu-build-system)
5994 (list (string-append "--with-appdefaultdir="
5995 %output ,%app-defaults-dir))))
5997 `(("libxmu" ,libxmu)
6000 ("libxrender" ,libxrender)
6002 ("libxkbfile" ,libxkbfile)))
6004 `(("pkg-config" ,pkg-config)))
6005 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
6006 (synopsis "Analog / digital clock for X")
6007 (description "The xclock program displays the time in analog or digital
6009 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
6019 "mirror://xorg/individual/app/" name "-"
6024 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
6025 (build-system gnu-build-system)
6028 (list (string-append "--with-appdefaultdir="
6029 %output ,%app-defaults-dir))))
6031 `(("libxaw" ,libxaw)))
6033 `(("pkg-config" ,pkg-config)))
6034 (home-page "https://www.x.org/wiki/")
6035 (synopsis "Display or capture a magnified part of a X11 screen")
6036 (description "Xmag displays and captures a magnified snapshot of a portion
6038 (license license:x11)))
6040 (define-public xmessage
6048 "mirror://xorg/individual/app/" name "-"
6053 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
6054 (build-system gnu-build-system)
6057 (list (string-append "--with-appdefaultdir="
6058 %output ,%app-defaults-dir))))
6060 `(("libxaw" ,libxaw)))
6062 `(("pkg-config" ,pkg-config)))
6063 (home-page "https://www.x.org/wiki/")
6064 (synopsis "Displays a message or query in a window")
6066 "Xmessage displays a message or query in a window. The user can click
6067 on a button to dismiss it or can select one of several buttons
6068 to answer a question. Xmessage can also exit after a specified time.")
6069 (license license:x11)))
6071 (define-public xterm
6079 (string-append "https://invisible-mirror.net/archives/xterm/"
6080 "xterm-" version ".tgz")
6081 (string-append "ftp://ftp.invisible-island.net/xterm/"
6082 "xterm-" version ".tgz")))
6084 (base32 "0vmzffy3hzgcgwx305h07ars5sxsq6nnl1ir4xqpxs9zjs2ji2w5"))))
6085 (build-system gnu-build-system)
6087 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
6088 "--enable-i18n" "--enable-doublechars"
6089 "--enable-luit" "--enable-mini-luit")
6090 #:tests? #f ; no test suite
6092 (modify-phases %standard-phases
6093 (add-after 'build 'patch-file-names
6094 (lambda* (#:key outputs #:allow-other-keys)
6095 (let ((out (assoc-ref outputs "out")))
6096 (substitute* "uxterm"
6097 (("([ `\\|])(sh|sed|awk|xmessage) " _ prefix command)
6098 (string-append prefix (which command) " "))
6099 (("(`|\"|LANG=C )(locale) " _ prefix command)
6100 (string-append prefix (which command) " "))
6102 (string-append "=" out "/bin/xterm")))))))))
6104 `(("pkg-config" ,pkg-config)))
6108 ("fontconfig" ,fontconfig)
6109 ("freetype" ,freetype)
6110 ("ncurses" ,ncurses)
6114 ("libXcursor" ,libxcursor)
6115 ("libXext" ,libxext)
6117 ("xorgproto" ,xorgproto)
6118 ("libXaw" ,libxaw)))
6119 (home-page "https://invisible-island.net/xterm/")
6120 (synopsis "Terminal emulator for the X Window System")
6122 "The xterm program is a terminal emulator for the X Window System. It
6123 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
6124 programs that cannot use the window system directly.")
6125 (license license:x11)))
6127 (define-public perl-x11-xcb
6129 (name "perl-x11-xcb")
6134 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
6135 "X11-XCB-" version ".tar.gz"))
6138 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
6139 (build-system perl-build-system)
6141 '(;; Disable parallel build to prevent a race condition.
6142 #:parallel-build? #f
6144 (modify-phases %standard-phases
6145 (add-before 'configure 'set-perl-search-path
6148 (string-append (getcwd) ":"
6149 (getenv "PERL5LIB")))
6151 (add-before 'build 'patch-Makefile
6152 (lambda* (#:key inputs #:allow-other-keys)
6153 (substitute* "Makefile"
6154 ;; XXX: Without this hack, attempts at using XCB.so fails with
6155 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
6157 (string-append "LDDLFLAGS = "
6158 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
6160 ;; Tests require a running X11 server.
6163 `(("perl-extutils-depends" ,perl-extutils-depends)
6164 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
6165 ("perl-module-install" ,perl-module-install)
6166 ("perl-test-deep" ,perl-test-deep)
6167 ("perl-test-exception" ,perl-test-exception)))
6169 `(("perl-data-dump" ,perl-data-dump)
6170 ("perl-mouse" ,perl-mouse)
6171 ("perl-mousex-nativetraits" ,perl-mousex-nativetraits)
6172 ("perl-try-tiny" ,perl-try-tiny)
6173 ("perl-xml-descent" ,perl-xml-descent)
6174 ("perl-xml-simple" ,perl-xml-simple)
6175 ("perl-xs-object-magic" ,perl-xs-object-magic)))
6177 `(("libxcb" ,libxcb)
6178 ("xcb-proto" ,xcb-proto)
6179 ("xcb-util" ,xcb-util)
6180 ("xcb-util-wm" ,xcb-util-wm)))
6181 (home-page "https://metacpan.org/release/X11-XCB")
6182 (synopsis "Perl bindings for libxcb")
6184 "These bindings wrap @code{libxcb} (a C library to speak with X11,
6185 in many cases better than @code{Xlib}), and provides an object oriented
6186 interface to its methods (using @code{Mouse}).")
6187 (license license:perl-license)))
6189 (define-public perl-x11-protocol
6191 (name "perl-x11-protocol")
6196 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
6200 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
6201 (build-system perl-build-system)
6202 (arguments '(#:tests? #f)) ;tests require a running x server
6203 (synopsis "Raw interface to X Window System servers")
6205 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
6206 perl programs to display windows and graphics on X11 servers.")
6207 (home-page "https://metacpan.org/release/X11-Protocol")
6208 ;; From the package README: "you can redistribute and/or modify it under
6209 ;; the same terms as Perl itself. (As an exception, the file
6210 ;; Keysyms.pm,which is derived from a file in the standard X11
6211 ;; distribution, has another, less restrictive copying policy, as do some
6212 ;; of the extension modules in the directory Protocol/Ext: see those files
6214 (license license:perl-license)))
6216 (define-public perl-x11-protocol-other
6218 (name "perl-x11-protocol-other")
6224 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
6227 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
6228 (build-system perl-build-system)
6230 `(("perl-encode-hanextra" ,perl-encode-hanextra)
6231 ("perl-module-util" ,perl-module-util)))
6233 `(("perl-x11-protocol" ,perl-x11-protocol)))
6234 (home-page "https://metacpan.org/release/X11-Protocol-Other")
6235 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
6237 "@code{X11::Protocol::Other} contains window manager related functions for
6238 use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
6239 Conventions Manual) and some of the @dfn{EWMH}
6240 (Extended Window Manager Hints).")
6241 (license license:gpl3+)))
6243 (define-public xcompmgr
6249 ;; There's no current tarball.
6252 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
6253 (commit (string-append "xcompmgr-" version))))
6255 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
6256 (file-name (git-file-name name version))))
6257 (build-system gnu-build-system)
6259 `(("pkg-config" ,pkg-config)
6260 ("autoconf" ,autoconf)
6261 ("automake" ,automake)))
6263 `(("libX11" ,libx11)
6264 ("libXext" ,libxext)
6265 ("libXcomposite" ,libxcomposite)
6266 ("libXfixes" ,libxfixes)
6267 ("libXdamage" ,libxdamage)
6268 ("libXrender" ,libxrender)))
6269 (synopsis "X Compositing manager using RENDER")
6270 (description "xcompmgr is a sample compositing manager for X servers
6271 supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6272 basic eye-candy effects.")
6273 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
6274 (license (license:x11-style
6275 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
6284 (uri (string-append "https://www.xpra.org/src/xpra-"
6287 (base32 "1s49y2s75a8a70vj0micnmpic5zv1n32yjxy8fkxsqa6j5njyrww"))
6288 (patches (search-patches "xpra-4.0.1-systemd-run.patch"))))
6289 (build-system python-build-system)
6290 ;; see also http://xpra.org/trac/wiki/Dependencies
6292 ;; Essential dependencies.
6293 ("libjpeg" ,libjpeg-turbo)
6294 ("libwebp" ,libwebp)
6297 ("libxrandr" ,libxrandr)
6298 ("libxtst" ,libxtst)
6299 ("libxfixes" ,libxfixes)
6300 ("libxkbfile" ,libxkbfile)
6301 ("libxcomposite" ,libxcomposite)
6302 ("libxdamage" ,libxdamage)
6303 ("libxext" ,libxext)
6305 ("python-pycairo" ,python-pycairo)
6306 ("python-pygobject" ,python-pygobject)
6308 ("xorg-server" ,xorg-server)
6309 ("xf86-video-dummy" ,xf86-video-dummy)
6310 ("xf86-input-mouse" ,xf86-input-mouse)
6311 ("xf86-input-keyboard" ,xf86-input-keyboard)
6312 ("python-pillow" ,python-pillow)
6313 ;; Optional dependencies.
6314 ("libx264" ,libx264)
6317 ("python-rencode" ,python-rencode) ; For speed.
6318 ("python-numpy" ,python-numpy)
6319 ("python-pyopengl" ,python-pyopengl) ; Drawing acceleration.
6320 ("python-pyopengl-accelerate" ,python-pyopengl-accelerate) ; Same.
6321 ("python-paramiko" ,python-paramiko) ; Tunneling over SSH.
6322 ("python-dbus" ,python-dbus) ; For desktop notifications.
6323 ("dbus" ,dbus) ; For dbus-launch command.
6324 ("python-lz4" ,python-lz4) ; Faster compression than zlib.
6325 ("python-netifaces" ,python-netifaces)))
6326 (native-inputs `(("pkg-config" ,pkg-config)
6327 ("python-cython" ,python-cython)))
6329 `(#:configure-flags '("--without-Xdummy"
6330 "--without-Xdummy_wrapper"
6333 "--without-strict") ; Ignore compiler warnings.
6334 #:modules ((guix build python-build-system)
6336 #:tests? #f ; Do not run test-cases. This would rebuild all modules and
6337 ; they seem to require python2.
6339 (modify-phases %standard-phases
6340 ;; built by 'install phase
6342 (add-before 'install 'fix-paths
6343 (lambda* (#:key inputs outputs #:allow-other-keys)
6344 ;; Fix binary paths.
6345 (substitute* '("xpra/scripts/config.py" "xpra/x11/vfb_util.py")
6347 (string-append "\"" (assoc-ref inputs "xorg-server") "/bin/Xvfb\""))
6349 (string-append "\"" (assoc-ref inputs "xorg-server") "/bin/Xorg\""))
6351 (string-append "\"" (assoc-ref inputs "xauth") "/bin/xauth\"")))
6352 ;; Fix directory of config files.
6353 (substitute* '("xpra/scripts/config.py" "xpra/platform/xposix/paths.py")
6354 (("\"/etc/xpra/?\"")
6355 (string-append "\"" (assoc-ref outputs "out") "/etc/xpra/\"")))
6356 ;; XXX: Stolen from (gnu packages linux)
6357 (define (append-to-file name body)
6358 (let ((file (open-file name "a")))
6361 ;; Add Xorg module paths.
6363 "etc/xpra/xorg.conf"
6364 (string-append "\nSection \"Files\"\nModulePath \""
6365 (assoc-ref inputs "xf86-video-dummy") "/lib/xorg/modules,"
6366 (assoc-ref inputs "xf86-input-mouse") "/lib/xorg/modules,"
6367 (assoc-ref inputs "xf86-input-keyboard") "/lib/xorg/modules,"
6368 (assoc-ref inputs "xorg-server") "/lib/xorg/modules\"\n"
6370 (substitute* '("xpra/scripts/config.py"
6371 "etc/xpra/conf.d/60_server.conf.in"
6372 "unittests/unit/server/mixins/notification_test.py")
6373 ;; The trailing -- is intentional, so we only replace it inside
6376 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch --")))
6377 ;; /run/user does not exist on guix system
6378 (substitute* "./xpra/scripts/config.py"
6379 (("socket-dir.*: \"\",")
6380 "socket-dir\" : \"~/.xpra\","))
6382 ;; GTK3 will not be found, if GI can’t find its typelibs.
6384 'install 'wrap-program
6385 (lambda* (#:key outputs #:allow-other-keys)
6386 (let ((prog (string-append (assoc-ref outputs "out")
6388 ;; XXX: only export typelibs in inputs
6390 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6392 (home-page "https://www.xpra.org/")
6393 (synopsis "Remote access to individual applications or full desktops")
6394 (description "Xpra is a persistent remote display server and client for
6395 forwarding applications and desktop screens. It gives you remote access to
6396 individual applications or full desktops. On X11, it is also known as
6397 ``@command{screen} for X11'': it allows you to run programs, usually on a
6398 remote host, direct their display to your local machine, and then to
6399 disconnect from these programs and reconnect from the same or another machine,
6400 without losing any state. It can also be used to forward full desktops from
6401 X11 servers, Windows, or macOS.")
6402 (license license:gpl2+)))
6411 (uri (string-append "https://github.com/uim/uim/releases/download/"
6412 version "/uim-" version ".tar.bz2"))
6415 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
6416 (build-system gnu-build-system)
6419 ("libedit" ,libedit)
6421 ("m17n-lib" ,m17n-lib)))
6423 `(("emacs" ,emacs-minimal)
6424 ("intltool" ,intltool)
6425 ("pkg-config" ,pkg-config)))
6427 `(#:modules ((guix build gnu-build-system)
6429 (guix build emacs-utils))
6430 #:imported-modules (,@%gnu-build-system-modules
6431 (guix build emacs-utils))
6433 (list "--with-anthy-utf8"
6434 (string-append "--with-lispdir=" %output "/share/emacs")
6435 ;; Set proper runpath
6436 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
6438 (modify-phases %standard-phases
6439 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6440 (add-after 'configure 'configure-uim-el
6441 (lambda* (#:key outputs #:allow-other-keys)
6442 (let ((out (assoc-ref outputs "out")))
6443 (emacs-substitute-variables "emacs/uim-var.el"
6444 ("uim-el-agent" (string-append out "/bin/uim-el-agent"))
6445 ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent"))))
6447 ;; Fix installation path by renaming share/emacs/uim-el to
6448 ;; share/emacs/site-lisp
6449 (add-after 'install 'fix-install-path
6450 (lambda* (#:key outputs #:allow-other-keys)
6451 (let ((share-emacs (string-append (assoc-ref outputs "out")
6453 (rename-file (string-append share-emacs "/uim-el")
6454 (string-append share-emacs "/site-lisp")))
6456 ;; Generate emacs autoloads for uim.el
6457 (add-after 'fix-install-path 'make-autoloads
6458 (lambda* (#:key outputs #:allow-other-keys)
6459 (emacs-generate-autoloads
6460 ,name (string-append (assoc-ref outputs "out")
6461 "/share/emacs/site-lisp"))
6463 (home-page "https://github.com/uim/uim")
6464 (synopsis "Multilingual input method framework")
6465 (description "Uim is a multilingual input method library and environment.
6466 It provides a simple, easily extensible and high code-quality input method
6467 development platform, and useful input method environment for users of desktop
6468 and embedded platforms.")
6469 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6470 license:gpl2+ ; scm/pinyin-big5.scm
6471 license:gpl3+ ; scm/elatin-rules.cm
6472 license:public-domain ; scm/input-parse.scm, scm/match.scm
6473 ;; gtk2/toolbar/eggtrayicon.{ch},
6474 ;; qt3/chardict/kseparator.{cpp,h},
6475 ;; qt3/pref/kseparator.{cpp,h}
6477 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6481 (define-public uim-gtk
6482 (package/inherit uim
6487 ,@(package-inputs uim)))
6488 (synopsis "Multilingual input method framework (GTK+ support)")))
6490 (define-public uim-qt
6491 (package/inherit uim
6495 ("qtx11extras" ,qtx11extras)
6496 ,@(package-inputs uim)))
6498 (substitute-keyword-arguments (package-arguments uim)
6499 ((#:configure-flags configure-flags)
6500 (append configure-flags (list "--with-qt5-immodule"
6502 (synopsis "Multilingual input method framework (Qt support)")))
6504 (define-public keynav
6507 (version "0.20110708.0")
6512 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6513 version ".orig.tar.gz"))
6514 (file-name (string-append name "-" version ".tar.gz"))
6517 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6518 (build-system gnu-build-system)
6523 ("libxext" ,libxext)
6524 ("libxinerama" ,libxinerama)
6525 ("libxtst" ,libxtst)
6526 ("xdotool" ,xdotool)))
6528 `(("pkg-config" ,pkg-config)))
6530 `(#:tests? #f ;No tests.
6532 (modify-phases %standard-phases
6533 (add-after 'unpack 'setenv
6535 (setenv "CC" (which "gcc"))
6537 (add-after 'unpack 'patch-keynav
6539 (substitute* "keynav.c"
6540 (("xdo_symbol_map") "xdo_get_symbol_map")
6541 (("xdo_window_setclass") "xdo_set_window_class")
6542 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6543 (("xdo_click") "xdo_click_window")
6544 (("xdo_mouseup") "xdo_mouse_up")
6545 (("xdo_mousedown") "xdo_mouse_down")
6546 (("xdo_mousemove") "xdo_move_mouse")
6547 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6548 (("xdo_mouselocation") "xdo_get_mouse_location")
6549 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6550 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6551 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6555 (lambda* (#:key outputs #:allow-other-keys)
6556 (let ((out (assoc-ref outputs "out")))
6557 (install-file "keynav" (string-append out "/bin"))
6558 (install-file "keynavrc" (string-append out "/etc")))
6560 (home-page "https://www.semicomplete.com/projects/keynav/")
6561 (synopsis "Keyboard-driven mouse cursor mover")
6563 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6564 cursor to any point on the screen with a few key strokes. It also simulates
6565 mouse click. You can do everything mouse can do with a keyboard.")
6566 (license license:bsd-3)))
6568 (define-public transset
6574 (uri (string-append "https://www.x.org/releases/individual/app/"
6575 name "-" version ".tar.gz"))
6578 "0rya202y87dwl35jnmq8hs3arzdrv5z4vf1xmi0py4rnmhdpszaw"))))
6579 (build-system gnu-build-system)
6581 `(("pkg-config" ,pkg-config)))
6582 (inputs `(("libxcomposite" ,libxcomposite)
6583 ("libxdamage" ,libxdamage)
6584 ("libxrender" ,libxrender)))
6585 (synopsis "Set the transparency of X11 windows")
6586 (description "@command{transset} is a simple program for X servers
6587 supporting the XFIXES, DAMAGE, and COMPOSITE extensions. It lets the
6588 user set the transparency on a window.")
6589 (home-page "https://gitlab.freedesktop.org/xorg/app/transset")
6590 (license license:x11)))
6592 (define-public transset-df
6593 (deprecated-package "transset-df" transset))
6595 (define-public bdfresize
6600 ;; Former upstream at
6601 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6602 ;; vanished so use Debian, which in practice is the new
6606 (url "https://salsa.debian.org/debian/bdfresize.git")
6607 (commit (string-append "debian/" version))))
6610 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6611 (modules '((guix build utils)))
6614 (for-each make-file-writable (find-files "."))
6616 ;; Remove broken declaration.
6617 (substitute* "charresize.c"
6618 (("char\t\\*malloc\\(\\);")
6621 ;; Remove old configury that doesn't support modern
6622 ;; command-line options, new architectures, etc.
6623 (for-each delete-file
6624 '("configure" "install-sh"
6625 "missing" "mkinstalldirs"))
6627 (file-name (git-file-name name version))))
6628 (build-system gnu-build-system)
6630 `(("pkg-config" ,pkg-config)
6631 ("autoconf" ,autoconf)
6632 ("automake" ,automake)))
6633 (synopsis "Resize fonts in the BDF format")
6635 "This package provides @command{bdfresize}, a command to magnify or
6636 reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6638 (home-page "https://tracker.debian.org/pkg/bdfresize")
6639 (license license:gpl2+)) )
6641 (define-public console-setup
6643 (name "console-setup")
6649 (url "https://salsa.debian.org/installer-team/console-setup.git")
6652 (base32 "0xkynb8d1813wph3p0sdvbpimx7zqkzh4c3mmqymp3pibcg7af5a"))
6653 (file-name (git-file-name name version))))
6654 (build-system gnu-build-system)
6657 (let ((bash (assoc-ref %build-inputs "bash"))
6658 (out (assoc-ref %outputs "out")))
6659 (list (string-append "SHELL=" bash "/bin/bash")))
6660 #:tests? #f ; no tests
6662 (modify-phases %standard-phases
6664 (add-after 'unpack 'patch-file-names
6666 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6668 (substitute* '("Keyboard/ckbcomp")
6670 (string-append "\"" (which "cat")
6673 (add-before 'build 'make-doubled-bdfs
6674 (lambda* (#:key native-inputs inputs #:allow-other-keys)
6675 (invoke "make" "-C" "Fonts"
6677 (string-append "SHELL="
6678 (assoc-ref (or native-inputs inputs)
6682 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
6683 (let ((out (assoc-ref %outputs "out")))
6684 (invoke "make" "install-linux"
6685 (string-append "prefix=" out)
6686 (string-append "SHELL="
6687 (assoc-ref (or native-inputs inputs)
6691 `(("pkg-config" ,pkg-config)
6692 ("bdftopcf" ,bdftopcf)
6693 ("bdfresize" ,bdfresize)
6694 ("sharutils" ,sharutils) ; for 'uuencode'
6697 `(("perl" ,perl))) ; used by 'ckbcomp'
6698 (synopsis "Set up the Linux console font and keyboard")
6700 "console-setup provides the console with the same keyboard
6701 configuration scheme that the X Window System has. In particular, the
6702 @command{ckbcomp} program compiles an XKB keyboard description to a keymap
6703 suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6704 is no need to duplicate or change the console keyboard files just to make
6705 simple customizations.
6707 Besides the keyboard, the package also configures the font on the console. It
6708 includes a rich collection of fonts and supports several languages that would
6709 otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6711 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6713 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6714 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6715 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6716 (license (list license:gpl2+
6719 (define-public xcur2png
6727 (url "https://github.com/eworm-de/xcur2png")
6729 (file-name (git-file-name name version))
6731 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6732 (build-system gnu-build-system)
6734 `(("pkg-config" ,pkg-config)))
6736 `(("libpng" ,libpng)
6737 ("libxcursor" ,libxcursor)))
6738 (synopsis "Decode X cursors")
6740 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6741 a configuration file reusable by xcursorgen.")
6742 (home-page "https://github.com/eworm-de/xcur2png")
6743 (license license:gpl3+)))
6745 (define-public gccmakedep
6752 (uri (string-append "mirror://xorg/individual/util/gccmakedep-"
6753 version ".tar.bz2"))
6755 (base32 "1r1fpy5ni8chbgx7j5sz0008fpb6vbazpy1nifgdhgijyzqxqxdj"))))
6756 (build-system gnu-build-system)
6757 (synopsis "Create dependencies in makefiles using 'gcc -M'")
6759 "@command{gccmakedep} is a deprecated program which calls @code{gcc -M}
6760 to output Makefile rules describing the dependencies of each source file, so
6761 that Make knows which object files must be recompiled when a dependency has
6763 (home-page "https://gitlab.freedesktop.org/xorg/util/gccmakedep")
6764 (license license:x11)))
6766 (define-public xdialog
6772 (uri (string-append "http://xdialog.free.fr/Xdialog-"
6773 version ".tar.bz2"))
6776 "16jqparb33lfq4cvd9l3jgd7fq86fk9gv2ixc8vgqibid6cnhi0x"))))
6778 `(("pkg-config" ,pkg-config)))
6781 ("gettext" ,gettext-minimal)
6784 `(#:configure-flags '("--with-gtk2")))
6785 (build-system gnu-build-system)
6786 (home-page "http://xdialog.free.fr/")
6787 (synopsis "Convert a terminal program into a program with an X interface")
6788 (description "X11 replacement for the text util dialog Xdialog is designed
6789 to be a drop-in replacement for the dialog and cdialog programs. It converts
6790 any terminal-based program into a program with an X interface. The dialogs
6791 are easier to see and use, and Xdialog adds more functionality such as a help
6792 button and box, a treeview, an editbox, file and directory selectors, a range
6793 box, and a calendar. It uses GTK+, and will match your desktop theme.")
6794 (license license:gpl2+)))
6796 (define-public xvfb-run
6799 (version "1.20.10-3")
6803 (uri (string-append "mirror://debian/pool/main/x/xorg-server/"
6804 "xorg-server_" version ".diff.gz"))
6806 (base32 "08gs9ni8ss8rw4n9cql1s8q05mj517vk1vm1varj1dsx75k4j25v"))))
6807 (build-system gnu-build-system)
6810 (modify-phases %standard-phases
6812 ;; Apply the source patch to an empty directory.
6813 (lambda* (#:key inputs #:allow-other-keys)
6814 (let* ((source (assoc-ref inputs "source"))
6815 (diff.gz (basename source))
6816 (diff (substring diff.gz 0 (string-rindex diff.gz #\.))))
6819 (copy-file source diff.gz)
6820 (invoke "gunzip" diff.gz)
6821 (invoke "patch" "-Np1" "-i" diff)
6822 (chdir "debian/local"))))
6823 (delete 'configure) ; nothing to configure
6826 (chmod "xvfb-run" #o755)
6827 (substitute* "xvfb-run"
6828 (("(\\(| )(fmt|stty|awk|kill|getopt|mktemp|touch|rm|mcookie)"
6830 (string-append prefix (which command)))
6831 ;; These also feature in UI messages, so be more strict.
6832 (("(AUTHFILE |command -v |exec )(Xvfb|xauth)"
6834 (string-append prefix (which command))))))
6836 ;; There are no tests included. Here we test whether we can run
6837 ;; a simple client without xvfb-run itself relying on $PATH.
6838 (lambda* (#:key tests? #:allow-other-keys)
6840 (let ((old-PATH (getenv "PATH"))
6841 (xterm (which "xterm")))
6843 (invoke "./xvfb-run" xterm "-e" "true")
6844 (setenv "PATH" old-PATH)))))
6846 (lambda* (#:key outputs #:allow-other-keys)
6847 (let* ((out (assoc-ref outputs "out"))
6848 (bin (string-append out "/bin"))
6849 (man (string-append out "/share/man/man1")))
6850 (install-file "xvfb-run" bin)
6851 (install-file "xvfb-run.1" man)))))))
6853 `(("util-linux" ,util-linux) ; for getopt
6855 ("xorg-server" ,xorg-server)))
6857 `(("xterm" ,xterm))) ; for the test
6858 ;; This script is not part of the upstream xorg-server. It is provided only
6859 ;; as a patch added to Debian's package.
6860 (home-page "https://packages.debian.org/sid/xorg-server-source")
6861 (synopsis "Run X11 client or command in a virtual X server environment")
6863 "The @command{xvfb-run} wrapper simplifies running commands and scripts
6864 within a virtual X server environment. It sets up an X authority file or uses
6865 an existing user-specified one, writes a cookie to it, and then starts the
6866 @command{Xvfb} X server as a background process. It also takes care of killing
6867 the server and cleaning up before returning the exit status of the command.")
6868 (license (list license:x11 ; the script
6869 license:gpl2+)))) ; the man page