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, 2021 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, 2021, 2022 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, 2021 Marius Bakke <marius@gnu.org>
15 ;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
16 ;;; Copyright © 2017, 2020 Arun Isaac <arunisaac@systemreboot.net>
17 ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
18 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
19 ;;; Copyright © 2018, 2020, 2022 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 Liliana Marie Prikler <liliana.prikler@gmail.com>
25 ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
26 ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
27 ;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
28 ;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
29 ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
30 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
31 ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
32 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
33 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
34 ;;; Copyright © 2021 qblade <qblade@protonmail.com>
35 ;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
37 ;;; This file is part of GNU Guix.
39 ;;; GNU Guix is free software; you can redistribute it and/or modify it
40 ;;; under the terms of the GNU General Public License as published by
41 ;;; the Free Software Foundation; either version 3 of the License, or (at
42 ;;; your option) any later version.
44 ;;; GNU Guix is distributed in the hope that it will be useful, but
45 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 ;;; GNU General Public License for more details.
49 ;;; You should have received a copy of the GNU General Public License
50 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
52 (define-module (gnu packages xorg)
53 #:use-module (guix gexp)
54 #:use-module ((guix licenses) #:prefix license:)
55 #:use-module (guix packages)
56 #:use-module (guix download)
57 #:use-module (guix git-download)
58 #:use-module (guix build-system copy)
59 #:use-module (guix build-system gnu)
60 #:use-module (guix build-system meson)
61 #:use-module (guix build-system perl)
62 #:use-module (guix build-system python)
63 #:use-module (guix utils)
64 #:use-module (gnu packages)
65 #:use-module (gnu packages aidc)
66 #:use-module (gnu packages anthy)
67 #:use-module (gnu packages autotools)
68 #:use-module (gnu packages bash)
69 #:use-module (gnu packages bison)
70 #:use-module (gnu packages check)
71 #:use-module (gnu packages compression)
72 #:use-module (gnu packages emacs)
73 #:use-module (gnu packages flex)
74 #:use-module (gnu packages fonts)
75 #:use-module (gnu packages fontutils)
76 #:use-module (gnu packages freedesktop)
77 #:use-module (gnu packages gettext)
78 #:use-module (gnu packages gl)
79 #:use-module (gnu packages glib)
80 #:use-module (gnu packages gnupg)
81 #:use-module (gnu packages gperf)
82 #:use-module (gnu packages gtk)
83 #:use-module (gnu packages haskell-xyz)
84 #:use-module (gnu packages inkscape)
85 #:use-module (gnu packages image)
86 #:use-module (gnu packages imagemagick)
87 #:use-module (gnu packages libbsd)
88 #:use-module (gnu packages libedit)
89 #:use-module (gnu packages linux)
90 #:use-module (gnu packages llvm)
91 #:use-module (gnu packages m4)
92 #:use-module (gnu packages ncurses)
93 #:use-module (gnu packages onc-rpc)
94 #:use-module (gnu packages pciutils)
95 #:use-module (gnu packages perl)
96 #:use-module (gnu packages perl-check)
97 #:use-module (gnu packages pkg-config)
98 #:use-module (gnu packages python)
99 #:use-module (gnu packages python-compression)
100 #:use-module (gnu packages python-crypto)
101 #:use-module (gnu packages python-xyz)
102 #:use-module (gnu packages qt)
103 #:use-module (gnu packages spice)
104 #:use-module (gnu packages video)
105 #:use-module (gnu packages xiph)
106 #:use-module (gnu packages xml)
107 #:use-module (gnu packages xdisorg))
111 ;; When cross-compiling certain packages, "--disable-malloc0returnsnull"
112 ;; needs to be passed. Otherwise, the configure script will try to run a
113 ;; binary for the host on the build machine.
114 (define (malloc0-flags)
115 (if (%current-target-system)
116 ;; At least on glibc-based systems, malloc(0) evaluates to a non-NULL
117 ;; pointer (except in out-of-memory situations). On other systems,
118 ;; --enable-malloc0returnsnull might be required instead.
119 '("--disable-malloc0returnsnull")
122 ;; packages without propagated input
123 ;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
124 ;; be defined first, the split makes book-keeping easier.)
127 ;; compiles only on macos
128 ;; (define-public applewmproto
131 (define xorg-cf-files
132 ;; The xorg-cf-files package contains the data files for the imake utility,
133 ;; defining the known settings for a wide variety of platforms (many of which
134 ;; have not been verified or tested in over a decade), and for many of the
135 ;; libraries formerly delivered in the X.Org monolithic releases.
137 ;; License: x11, see COPYING
140 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
142 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
151 (uri (string-append "mirror://xorg/individual/util/imake-"
154 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
155 (build-system gnu-build-system)
159 (list xorg-cf-files xorgproto))
162 #~(modify-phases %standard-phases
163 (add-after 'install 'install-data
164 (lambda* (#:key inputs outputs #:allow-other-keys)
165 (let ((out (assoc-ref outputs "out"))
166 (unpack (assoc-ref %standard-phases 'unpack))
167 (patch-source-shebangs
168 (assoc-ref %standard-phases 'patch-source-shebangs)))
169 (mkdir "xorg-cf-files")
170 (with-directory-excursion "xorg-cf-files"
171 (unpack #:source #$xorg-cf-files)
172 (patch-source-shebangs #:source #$xorg-cf-files)
173 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
174 "linux.cf" "Amoeba.cf" "cygwin.cf")
175 (("/bin/sh") (which "bash")))
176 (invoke "./configure"
177 (string-append "SHELL=" (which "bash"))
178 (string-append "--prefix=" out))
179 (invoke "make" "install"))))))))
180 (home-page "https://www.x.org/")
181 (synopsis "Source code configuration and build system")
183 "Imake is a deprecated source code configuration and build system which
184 has traditionally been supplied by and used to build the X Window System in
185 X11R6 and previous releases. As of the X Window System X11R7 release, the X
186 Window system has switched to using GNU autotools as the primary build system,
187 and the Imake system is now deprecated, and should not be used by new software
188 projects. Software developers are encouraged to migrate software to the GNU
190 (license license:x11)))
199 "mirror://xorg/individual/util/"
200 "lndir-" version ".tar.bz2"))
203 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
204 (build-system gnu-build-system)
209 (home-page "https://www.x.org/")
210 (synopsis "Symlink directory into tree")
211 (description "Create a shadow directory of symbolic links to another
213 (license license:x11)))
215 (define-public bdftopcf
223 "mirror://xorg/individual/app/bdftopcf-"
228 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
229 (build-system gnu-build-system)
234 (home-page "https://www.x.org/wiki/")
235 (synopsis "Convert X font from BDF to PCF")
237 "BDFtoPCF is a font compiler for the X server and font server. It
238 converts X font from Bitmap Distribution Format to Portable Compiled Format
239 which can be read by any architecture.")
240 (license license:x11)))
242 (define-public xorgproto
248 (uri (string-append "ftp://ftp.freedesktop.org/pub/xorg//individual/proto/"
249 "xorgproto-" version ".tar.bz2"))
252 "05d0kib351qmnlfimaznaw0220fr0ym7fx2gn9h2jqxxilxncbxa"))))
253 (build-system gnu-build-system)
255 ;; To get util-macros in (almost?) all package inputs.
257 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
258 (synopsis "Xorg protocol headers")
260 "This package provides the headers and specification documents defining
261 the core protocol and (many) extensions for the X Window System.")
262 (license license:x11)))
264 (define-public bigreqsproto
266 (name "bigreqsproto")
272 "mirror://xorg/individual/proto/bigreqsproto-"
277 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
278 (build-system gnu-build-system)
279 (native-inputs (list pkg-config))
280 (home-page "https://www.x.org/wiki/")
281 (synopsis "Xorg BigReqsProto protocol headers")
283 "Big Requests Extension defines a protocol to enable the use of
284 requests that exceed 262140 bytes in length.")
285 (license license:x11)
286 (properties `((superseded . ,xorgproto)))))
288 (define-public compositeproto
290 (name "compositeproto")
296 "mirror://xorg/individual/proto/compositeproto-"
301 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
302 (build-system gnu-build-system)
307 (home-page "https://www.x.org/wiki/")
308 (synopsis "Xorg CompositeProto protocol headers")
310 "Composite Extension contains header files and documentation for
311 the damage protocol.")
312 (license license:x11)
313 (properties `((superseded . ,xorgproto)))))
315 (define-public damageproto
323 "mirror://xorg/individual/proto/damageproto-"
328 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
329 (build-system gnu-build-system)
330 (native-inputs (list pkg-config))
331 (home-page "https://www.x.org/wiki/")
332 (synopsis "Xorg DamageProto protocol headers")
334 "Damage Extension contains header files and documentation for
335 the damage protocol.")
336 (license license:x11)
337 (properties `((superseded . ,xorgproto)))))
339 (define-public dmxproto
347 "mirror://xorg/individual/proto/dmxproto-"
352 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
353 (build-system gnu-build-system)
354 (native-inputs (list pkg-config))
355 (home-page "https://www.x.org/wiki/")
356 (synopsis "Xorg DMXProto protocol headers")
358 "DMX (Distributed Multihead X) Extension defines a protocol for clients
359 to access a front-end proxy X server that controls multiple back-end X
360 servers making up a large display.")
361 (license license:x11)
362 (properties `((superseded . ,xorgproto)))))
364 (define-public dri2proto
372 "mirror://xorg/individual/proto/dri2proto-"
377 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
378 (build-system gnu-build-system)
379 (home-page "https://www.x.org/wiki/")
380 (synopsis "Xorg DRI2Proto protocol headers")
382 "Direct Rendering Infrastructure 2 Extension defines a protocol to
383 securely allow user applications to access the video hardware without
384 requiring data to be passed through the X server.")
385 (license license:x11)
386 (properties `((superseded . ,xorgproto)))))
388 (define-public dri3proto
396 "mirror://xorg/individual/proto/dri3proto-"
401 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
402 (build-system gnu-build-system)
403 (home-page "https://www.x.org/wiki/")
404 (synopsis "Xorg DRI3Proto protocol headers")
406 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
407 translate between direct rendered buffers and X pixmaps. When combined with
408 the Present extension, a complete direct rendering solution for OpenGL is
410 (license (license:x11-style "file://dri3proto.h"
411 "See 'dri3proto.h' in the distribution."))
412 (properties `((superseded . ,xorgproto)))))
414 (define-public %app-defaults-dir "/lib/X11/app-defaults")
416 (define-public editres
424 "mirror://xorg/individual/app/" name "-"
428 (base32 "1ydn32x9qh2zkn90w6nfv33gcq75z67w93bakkykadl8n7zmvkw3"))))
429 (build-system gnu-build-system)
432 (list (string-append "--with-appdefaultdir="
433 %output ,%app-defaults-dir))))
435 (list libxaw libxmu libxt))
438 (home-page "https://www.x.org/wiki/")
439 (synopsis "Tool to browse and edit X Toolkit resource specifications")
441 "Editres is a tool that allows users and application developers to view
442 the full widget hierarchy of any X Toolkit application that speaks the Editres
443 protocol. In addition, editres will help the user construct resource
444 specifications, allow the user to apply the resource to the application and
445 view the results dynamically. Once the user is happy with a resource
446 specification editres will append the resource string to the user's X
448 (license license:x11)))
451 (define-public encodings
459 "mirror://xorg/individual/font/encodings-"
463 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
464 (build-system gnu-build-system)
469 (home-page "https://www.x.org/wiki/")
470 (synopsis "Xorg font encoding files")
471 (description "Xorg font encoding files.")
472 (license license:public-domain)))
474 (define (%xorg-font-origin font version hash)
477 (uri (string-append "mirror://xorg/individual/font/" font "-"
480 (modules '((guix build utils)))
482 ;; Do not include timestamps in '.pcf.gz' files.
484 (substitute* "Makefile.in"
485 (("^COMPRESS = (.*)$" _ rest)
486 (string-append "COMPRESS = " (string-trim-right rest)
490 (define-syntax-rule (xorg-font-origin font version hash)
491 "Expand to the 'origin' form for the given Xorg font package."
492 (%xorg-font-origin font version (base32 hash)))
494 (define-public font-adobe100dpi
496 (name "font-adobe100dpi")
498 (source (xorg-font-origin
499 "font-adobe-100dpi" version
500 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
501 (build-system gnu-build-system)
503 (list bdftopcf font-util mkfontdir))
507 `(#:configure-flags (list
508 ;; install fonts into subdirectory of package output instead of
509 ;; font-util-?.?.?/share/fonts/X11
510 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
511 (home-page "https://www.x.org/wiki/")
512 (synopsis "Xorg adobe-100dpi fonts")
513 (description "Xorg adobe-100dpi fonts.")
514 (license license:x11)))
517 (define-public font-adobe75dpi
519 (name "font-adobe75dpi")
521 (source (xorg-font-origin
522 "font-adobe-75dpi" version
523 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
524 (build-system gnu-build-system)
526 (list bdftopcf font-util mkfontdir))
530 `(#:configure-flags (list
531 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
532 (home-page "https://www.x.org/wiki/")
533 (synopsis "Xorg adobe-75dpi fonts")
534 (description "Xorg adobe-75dpi fonts.")
535 (license license:x11)))
539 ;; (define-public font-adobe-utopia100dpi
540 ;; (define-public font-adobe-utopia75dpi
541 ;; (define-public font-adobe-utopia-type1
544 (define-public font-alias
548 (source (xorg-font-origin
550 "0xjjjindczv3g7m1597l0x19zz75xy70wh5garghz61fpzl1l4gk"))
551 (build-system gnu-build-system)
552 (native-inputs (list pkg-config))
554 `(#:phases (modify-phases %standard-phases
556 'install 'install-fonts-dir
557 ;; The X font server will not add directories to the font
558 ;; path unless they contain a "fonts.dir" file, so add some
560 (lambda* (#:key outputs #:allow-other-keys)
561 (let ((out (assoc-ref outputs "out")))
562 (for-each (lambda (d)
563 (call-with-output-file
564 (string-append out "/share/fonts/X11"
568 '("75dpi" "100dpi" "misc" "cyrillic"))
570 (home-page "https://www.x.org/wiki/")
571 (synopsis "Xorg font aliases")
573 "This package provides some common aliases for Xorg fonts.
574 For example: @code{6x10}, @code{9x15bold}, etc.")
575 (license license:x11)))
578 (define-public font-arabic-misc
580 (name "font-arabic-misc")
582 (source (xorg-font-origin
584 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
585 (build-system gnu-build-system)
587 (list mkfontdir bdftopcf))
590 (home-page "https://www.x.org/wiki/")
591 (synopsis "Xorg arabic-misc font")
592 (description "Xorg arabic-misc font.")
593 (license license:x11)))
597 ;; (define-public font-bh100dpi
598 ;; (define-public font-bh75dpi
599 ;; (define-public font-bh-lucidatypewriter100dpi
600 ;; (define-public font-bh-lucidatypewriter75dpi
601 ;; (define-public font-bh-ttf
602 ;; (define-public font-bh-type1
603 ;; (define-public font-bitstream100dpi
604 ;; (define-public font-bitstream75dpi
607 (define-public font-cronyx-cyrillic
609 (name "font-cronyx-cyrillic")
611 (source (xorg-font-origin
613 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
614 (build-system gnu-build-system)
616 (list mkfontdir bdftopcf))
619 (home-page "https://www.x.org/wiki/")
620 (synopsis "Xorg cronyx-cyrillic font")
621 (description "Xorg cronyx-cyrillic font.")
622 (license license:x11)))
626 ;; (define-public font-cursor-misc
629 ;; (define-public font-daewoo-misc
632 (define-public font-dec-misc
634 (name "font-dec-misc")
636 (source (xorg-font-origin
638 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
639 (build-system gnu-build-system)
641 (list mkfontdir bdftopcf))
644 (home-page "https://www.x.org/wiki/")
645 (synopsis "Xorg dec-misc font")
646 (description "Xorg dec-misc font.")
647 (license license:x11)))
651 ;; (define-public font-ibm-type1
653 (define-public font-isas-misc
655 (name "font-isas-misc")
657 (source (xorg-font-origin
659 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
660 (build-system gnu-build-system)
662 (list mkfontdir bdftopcf))
665 (home-page "https://www.x.org/wiki/")
666 (synopsis "Xorg isas-misc font")
667 (description "Xorg isas-misc font.")
668 (license license:x11)))
672 ;; (define-public font-jis-misc
675 (define-public font-micro-misc
677 (name "font-micro-misc")
679 (source (xorg-font-origin
681 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
682 (build-system gnu-build-system)
684 (list mkfontdir bdftopcf))
687 (home-page "https://www.x.org/wiki/")
688 (synopsis "Xorg micro-misc font")
689 (description "Xorg micro-misc font.")
690 (license license:public-domain)))
693 (define-public font-misc-cyrillic
695 (name "font-misc-cyrillic")
697 (source (xorg-font-origin
699 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
700 (build-system gnu-build-system)
702 (list mkfontdir bdftopcf))
705 (home-page "https://www.x.org/wiki/")
706 (synopsis "Xorg misc-cyrillic fonts")
707 (description "Xorg misc-cyrillic fonts.")
708 (license license:x11)))
711 (define-public font-misc-ethiopic
713 (name "font-misc-ethiopic")
715 (source (xorg-font-origin
717 "1q2azkdwc4x3kh53xclwpf9q654k70lhiyns1cjq594wvxnhz339"))
718 (build-system gnu-build-system)
720 (list mkfontdir mkfontscale))
723 (home-page "https://www.x.org/wiki/")
724 (synopsis "Xorg misc-ethiopic fonts")
725 (description "Xorg misc-ethiopic fonts.")
726 (license license:x11)))
730 ;; (define-public font-misc-meltho
733 (define-public font-misc-misc
735 (name "font-misc-misc")
737 (source (xorg-font-origin
739 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
740 (build-system gnu-build-system)
742 (list mkfontdir font-util bdftopcf))
746 `(#:configure-flags (list
747 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
748 (home-page "https://www.x.org/wiki/")
749 (synopsis "Xorg misc-misc fonts")
750 (description "Xorg misc-misc fixed fonts.")
751 (license license:public-domain)))
754 (define-public font-mutt-misc
756 (name "font-mutt-misc")
758 (source (xorg-font-origin
760 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
761 (build-system gnu-build-system)
763 (list mkfontdir bdftopcf))
766 (home-page "https://www.x.org/wiki/")
767 (synopsis "Xorg mutt-misc fonts")
768 (description "Xorg mutt-misc fonts.")
769 (license license:x11)))
772 (define-public font-schumacher-misc
774 (name "font-schumacher-misc")
776 (source (xorg-font-origin
778 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
779 (build-system gnu-build-system)
781 (list mkfontdir font-util bdftopcf))
785 `(#:configure-flags (list
786 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
787 (home-page "https://www.x.org/wiki/")
788 (synopsis "Xorg schumacher-misc fonts")
789 (description "Xorg schumacher-misc fonts.")
790 (license license:x11)))
793 (define-public font-screen-cyrillic
795 (name "font-screen-cyrillic")
797 (source (xorg-font-origin
799 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
800 (build-system gnu-build-system)
802 (list mkfontdir bdftopcf))
805 (home-page "https://www.x.org/wiki/")
806 (synopsis "Xorg screen-cyrillic fonts")
807 (description "Xorg screen-cyrillic fonts.")
808 (license license:x11)))
811 (define-public font-sony-misc
813 (name "font-sony-misc")
815 (source (xorg-font-origin
817 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
818 (build-system gnu-build-system)
820 (list mkfontdir bdftopcf))
823 (home-page "https://www.x.org/wiki/")
824 (synopsis "Xorg sony-misc fonts")
825 (description "Xorg sony-misc fonts.")
826 (license license:x11)))
829 (define-public font-sun-misc
831 (name "font-sun-misc")
833 (source (xorg-font-origin
835 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
836 (build-system gnu-build-system)
838 (list mkfontdir bdftopcf))
841 (home-page "https://www.x.org/wiki/")
842 (synopsis "Xorg sun-misc fonts")
843 (description "Xorg sun-misc fonts.")
844 (license license:x11)))
847 (define-public font-util
855 "mirror://xorg/individual/font/font-util-"
859 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
860 (build-system gnu-build-system)
861 (native-inputs (list pkg-config))
862 (home-page "https://www.x.org/wiki/")
863 (synopsis "Xorg font utilities")
865 "Xorg font package creation/installation utilities.")
866 (license license:x11)))
869 (define-public font-winitzki-cyrillic
871 (name "font-winitzki-cyrillic")
873 (source (xorg-font-origin
875 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
876 (build-system gnu-build-system)
878 (list mkfontdir bdftopcf))
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 (list mkfontdir mkfontscale))
899 (home-page "https://www.x.org/wiki/")
900 (synopsis "Xorg xfree86-type1 font")
901 (description "Xorg xfree86-type1 font.")
902 (license license:x11)))
905 (define-public fontsproto
913 "mirror://xorg/individual/proto/fontsproto-"
918 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
919 (build-system gnu-build-system)
920 (native-inputs (list pkg-config))
921 (home-page "https://www.x.org/wiki/")
922 (synopsis "Xorg FontsProto protocol headers")
924 "Fonts Extension contains header files and documentation for
925 the fonts protocol.")
926 (license license:x11)
927 (properties `((superseded . ,xorgproto)))))
929 (define-public glproto
937 "mirror://xorg/individual/proto/glproto-"
942 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
943 (build-system gnu-build-system)
944 (native-inputs (list pkg-config))
945 (home-page "https://www.x.org/wiki/")
946 (synopsis "Xorg GLProto protocol headers")
948 "OpenGL Extension defines a protocol for the client to send 3D
949 rendering commands to the X server.")
950 (license license:x11)
951 (properties `((superseded . ,xorgproto)))))
953 (define-public iceauth
961 "mirror://xorg/individual/app/iceauth-"
965 (base32 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
966 (build-system gnu-build-system)
971 (home-page "https://www.x.org/wiki/")
972 (synopsis "ICE authority file utility")
974 "ICEAuth program is used to edit and display the authorization
975 information used in connecting with ICE (Inter-Client Exchange). It
976 operates very much like the xauth program for X11 connection
977 authentication records.")
978 (license license:x11)))
981 (define-public inputproto
989 "mirror://xorg/individual/proto/inputproto-"
994 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
995 (build-system gnu-build-system)
996 (native-inputs (list pkg-config))
997 (home-page "https://www.x.org/wiki/")
998 (synopsis "Xorg InputProto protocol headers")
1000 "Input Extension defines a protocol to provide additional input
1001 devices management such as graphic tablets.")
1002 (license license:x11)
1003 (properties `((superseded . ,xorgproto)))))
1005 (define-public kbproto
1013 "mirror://xorg/individual/proto/kbproto-"
1018 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
1019 (build-system gnu-build-system)
1020 (native-inputs (list pkg-config))
1021 (home-page "https://www.x.org/wiki/")
1022 (synopsis "Xorg KBProto protocol headers")
1024 "X Keyboard (XKB) Extension defines a protocol to provide a number
1025 of new capabilities and controls for text keyboards.")
1026 (license license:x11)
1027 (properties `((superseded . ,xorgproto)))))
1029 ;; requires applewmproto, which compiles only on macos
1030 ;; (define-public libapplewm
1033 (define-public libdmx
1041 "mirror://xorg/individual/lib/libdmx-"
1046 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
1047 (build-system gnu-build-system)
1049 '(#:configure-flags '("--disable-static")))
1051 (list xorgproto libxext libx11))
1054 (home-page "https://www.x.org/wiki/")
1055 (synopsis "Xorg DMX library")
1057 "DMX (Distributed Multihead X) extension library.")
1058 (license license:x11)))
1061 (define-public libxshmfence
1063 (name "libxshmfence")
1068 "mirror://xorg/individual/lib/"
1069 name "-" version ".tar.bz2"))
1072 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
1073 (build-system gnu-build-system)
1075 '(#:configure-flags '("--disable-static")))
1076 (native-inputs (list pkg-config))
1077 (inputs (list xorgproto))
1078 (home-page "https://www.x.org/")
1079 (synopsis "Xorg shared memory fences library")
1081 "This library provides an interface to shared-memory fences for
1082 synchronization between the X server and direct-rendering clients.")
1084 ;; Same license as libevdev.
1085 (license (license:x11-style "file://COPYING"))))
1088 (define-public libfontenc
1096 "mirror://xorg/individual/lib/libfontenc-"
1101 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
1102 (build-system gnu-build-system)
1104 '(#:configure-flags '("--disable-static")))
1106 (list zlib xorgproto))
1109 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
1110 (synopsis "Xorg font encoding library")
1111 (description "Xorg font encoding library.")
1112 (license license:x11)))
1115 (define-public libfs
1123 "mirror://xorg/individual/lib/libFS-"
1127 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
1128 (build-system gnu-build-system)
1130 (list xtrans xorgproto))
1133 (home-page "https://www.x.org/wiki/")
1134 (synopsis "Xorg Font Service client library")
1136 "Font Service client library is used by clients of X Font
1137 Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1139 (license license:x11)))
1142 (define-public libpciaccess
1144 (name "libpciaccess")
1150 "mirror://xorg/individual/lib/libpciaccess-"
1155 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
1156 (build-system gnu-build-system)
1158 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1159 ;; provided by pciutils.
1162 (string-append "--with-pciids-path="
1163 (assoc-ref %build-inputs "pciutils")
1167 (modify-phases %standard-phases
1168 (add-after 'install 'add-L-zlib
1169 (lambda* (#:key inputs outputs #:allow-other-keys)
1170 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1171 (let ((zlib (assoc-ref inputs "zlib"))
1172 (out (assoc-ref outputs "out")))
1173 (substitute* (string-append out "/lib/libpciaccess.la")
1175 (string-append "-L" zlib "/lib -lz")))
1178 (list zlib pciutils)) ;for 'pci.ids.gz'
1181 (home-page "https://www.x.org/wiki/")
1182 (synopsis "Xorg PCI access library")
1183 (description "Xorg Generic PCI access library.")
1184 (license license:x11)))
1187 (define-public libpthread-stubs
1189 (name "libpthread-stubs")
1195 "mirror://xorg/individual/xcb/libpthread-stubs-"
1200 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
1201 (build-system gnu-build-system)
1202 (native-inputs (list pkg-config))
1203 (home-page "https://www.x.org/wiki/")
1204 (synopsis "Library with pthread stubs")
1206 "This library provides weak aliases for pthread functions not
1207 provided in libc or otherwise available by default. Libraries like
1208 libxcb rely on pthread stubs to use pthreads optionally, becoming
1209 thread-safe when linked to libpthread, while avoiding any performance
1210 hit when running single-threaded.")
1211 (license license:x11)))
1214 (define-public libsm
1222 "mirror://xorg/individual/lib/libSM-"
1227 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
1228 (build-system gnu-build-system)
1230 '(#:configure-flags '("--disable-static")))
1232 (list libice)) ; SMlib.h includes ICElib.h
1234 `(("xtrans" ,xtrans)
1235 ("libuuid" ,util-linux "lib")))
1238 (home-page "https://www.x.org/wiki/")
1239 (synopsis "Xorg Session Management library")
1240 (description "Xorg Session Management library.")
1241 (license license:x11)))
1244 (define-public libwindowswm
1246 (name "libwindowswm")
1252 "mirror://xorg/individual/lib/libWindowsWM-"
1257 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1258 (build-system gnu-build-system)
1260 (list xorgproto libxext libx11))
1263 (home-page "https://www.x.org/wiki/")
1264 (synopsis "Xorg WindowsWM library")
1266 "Cygwin/X rootless window management extension.
1267 WindowsWM is a simple library designed to interface with the Windows-WM
1268 extension. This extension allows X window managers to better interact
1269 with the Cygwin XWin server when running X11 in a rootless mode.")
1270 (license license:x11)))
1273 (define-public libxcomposite
1275 (name "libxcomposite")
1281 "mirror://xorg/individual/lib/libXcomposite-"
1286 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
1287 (build-system gnu-build-system)
1289 '(#:configure-flags '("--disable-static")))
1291 ;; xcomposite.pc refers to all these.
1292 (list xorgproto libxfixes libx11))
1295 (home-page "https://www.x.org/wiki/")
1296 (synopsis "Xorg Composite library")
1298 "Client library for the Composite extension to the X11 protocol.")
1299 (license license:x11)))
1302 (define-public libxdmcp
1310 "mirror://xorg/individual/lib/libXdmcp-"
1315 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
1316 (build-system gnu-build-system)
1318 '(#:configure-flags '("--disable-static")))
1320 (list libbsd xorgproto))
1323 (home-page "https://www.x.org/wiki/")
1324 (synopsis "Xorg Display Manager Control Protocol library")
1325 (description "Xorg Display Manager Control Protocol library.")
1326 (license license:x11)))
1329 (define-public libxft
1337 "mirror://xorg/individual/lib/libXft-"
1342 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
1343 (build-system gnu-build-system)
1345 '(#:configure-flags '("--disable-static")))
1347 ;; xft.pc refers to all these.
1348 `(("libxrender" ,libxrender)
1349 ("freetype" ,freetype)
1350 ("fontconfig" ,fontconfig)))
1352 (list libx11 xorgproto))
1355 (home-page "https://www.x.org/wiki/")
1356 (synopsis "Xorg FreeType library")
1358 "Xorg FreeType library connects X applications with the FreeType font
1359 rasterization library. Xft uses fontconfig to locate fonts so it has no
1360 configuration files.")
1361 (license license:x11)))
1364 (define-public libxkbfile
1372 "mirror://xorg/individual/lib/libxkbfile-"
1377 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
1378 (build-system gnu-build-system)
1380 '(#:configure-flags '("--disable-static")))
1382 ;; Required in xkbfile.pc.
1383 (list libx11 kbproto))
1386 (home-page "https://www.x.org/wiki/")
1387 (synopsis "Xorg XKB file handling library")
1388 (description "Xorg XKB file handling library.")
1389 (license license:x11)))
1392 (define-public libxmu
1400 "mirror://xorg/individual/lib/libXmu-"
1405 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
1406 (build-system gnu-build-system)
1408 '(#:configure-flags '("--disable-static")))
1410 (list libxt xorgproto libxext))
1413 (home-page "https://www.x.org/wiki/")
1414 (synopsis "Xorg Xmu library")
1416 "Xmu library contains miscellaneous utilities and is not part of the
1417 Xlib standard. It is intended to support clients in the Xorg distribution;
1418 vendors may choose not to distribute this library if they wish. Therefore,
1419 applications developers who depend on this library should be prepared to
1420 treat it as part of their software base when porting.")
1421 (license license:x11)))
1424 (define-public libxpm
1432 "mirror://xorg/individual/lib/libXpm-"
1437 "09dc6nwlb2122h02vl64k9x56mxnyqz2gwpga0abfv4bb1bxmlcw"))))
1438 (build-system gnu-build-system)
1440 '(#:configure-flags '("--disable-static")))
1442 (list libxt xorgproto libxext))
1444 `(("gettext" ,gettext-minimal)
1445 ("pkg-config" ,pkg-config)))
1446 (home-page "https://www.x.org/wiki/")
1447 (synopsis "Xorg XPM library")
1448 (description "XPM (X Pixmap) image file format library.")
1449 (license license:x11)))
1452 (define-public libxres
1460 "mirror://xorg/individual/lib/libXres-"
1465 "049b7dk6hx47161hg47ryjrm6pwsp27r5pby05b0wqb1pcggprmn"))))
1466 (build-system gnu-build-system)
1468 '(#:configure-flags '("--disable-static")))
1470 (list xorgproto libxext libx11))
1473 (home-page "https://www.x.org/wiki/")
1474 (synopsis "Xorg Resource extension library")
1475 (description "X Resource extension library.")
1476 (license license:x11)))
1479 (define-public libxscrnsaver
1481 (name "libxscrnsaver")
1487 "mirror://xorg/individual/lib/libXScrnSaver-"
1492 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
1493 (build-system gnu-build-system)
1495 '(#:configure-flags '("--disable-static")))
1497 (list libx11 libxext xorgproto))
1500 (home-page "https://www.x.org/wiki/")
1501 (synopsis "Xorg Screen Saver library")
1502 (description "X11 Screen Saver extension client library.")
1503 (license license:x11)))
1506 (define-public libxxf86dga
1508 (name "libxxf86dga")
1513 (uri (string-append "mirror://xorg/individual/lib/"
1514 "libXxf86dga-" version ".tar.bz2"))
1516 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
1517 (build-system gnu-build-system)
1519 '(#:configure-flags '("--disable-static")))
1523 (list libx11 libxext))
1526 (home-page "https://www.x.org/wiki/")
1527 (synopsis "Xorg XFree86-DGA library")
1528 (description "Client library for the XFree86-DGA extension.")
1529 (license license:x11)))
1540 "mirror://xorg/individual/app/luit-"
1545 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1546 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1547 ;; should become obsolete with the next release.
1548 (patches (search-patches "luit-posix.patch"))))
1549 (build-system gnu-build-system)
1554 (home-page "https://www.x.org/wiki/")
1555 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1557 "Luit is a filter that can be run between an arbitrary application and
1558 a UTF-8 terminal emulator such as xterm. It will convert application
1559 output from the locale's encoding into UTF-8, and convert terminal
1560 input from UTF-8 into the locale's encoding.")
1561 (license license:x11)))
1564 (define-public makedepend
1572 "mirror://xorg/individual/util/makedepend-"
1577 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
1578 (build-system gnu-build-system)
1581 (native-inputs (list pkg-config))
1582 (home-page "https://www.x.org/wiki/")
1583 (synopsis "Xorg makedepend utility")
1585 "Makedepend is an utility for creating dependencies in makefiles.")
1586 (license license:x11)))
1589 (define-public mkfontscale
1591 (name "mkfontscale")
1597 "mirror://xorg/individual/app/mkfontscale-"
1601 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
1602 (build-system gnu-build-system)
1604 (list zlib xorgproto freetype libfontenc))
1607 (home-page "https://www.x.org/wiki/")
1608 (synopsis "Create an index of scalable font files for X server")
1610 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1611 files used by the legacy X11 font system.")
1612 (license license:x11)))
1615 (define-public presentproto
1617 (name "presentproto")
1623 "mirror://xorg/individual/proto/presentproto-"
1628 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
1629 (build-system gnu-build-system)
1630 (home-page "https://www.x.org/wiki/")
1631 (synopsis "Xorg PresentProto protocol headers")
1633 "Present Extension provides a way for applications to update their
1634 window contents from a pixmap in a well defined fashion, synchronizing
1635 with the display refresh and potentially using a more efficient
1636 mechanism than copying the contents of the source pixmap.")
1637 (license (license:x11-style "file://presentproto.h"
1638 "See 'presentproto.h' in the distribution."))
1639 (properties `((superseded . ,xorgproto)))))
1641 (define-public printproto
1649 "mirror://xorg/individual/proto/printproto-"
1654 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1655 (build-system gnu-build-system)
1656 (native-inputs (list pkg-config))
1657 (home-page "https://www.x.org/wiki/")
1658 (synopsis "Xorg PrintProto protocol headers")
1660 "Print Extension defines a protocol for a portable,
1661 network-transparent printing system.")
1662 (license license:x11)))
1665 (define-public randrproto
1673 "mirror://xorg/individual/proto/randrproto-"
1678 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
1679 (build-system gnu-build-system)
1680 (native-inputs (list pkg-config))
1681 (home-page "https://www.x.org/wiki/")
1682 (synopsis "Xorg RandRProto protocol headers")
1684 "Resize and Rotate Extension defines a protocol for clients to
1685 dynamically change X screens, so as to resize, rotate and reflect the root
1686 window of a screen.")
1687 (license license:x11)
1688 (properties `((superseded . ,xorgproto)))))
1691 (define-public recordproto
1693 (name "recordproto")
1699 "mirror://xorg/individual/proto/recordproto-"
1704 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1705 (build-system gnu-build-system)
1706 (native-inputs (list pkg-config))
1707 (home-page "https://www.x.org/wiki/")
1708 (synopsis "Xorg RecordProto protocol headers")
1710 "Record Extension defines a protocol for the recording and playback
1711 of user actions in the X Window System.")
1712 (license license:x11)
1713 (properties `((superseded . ,xorgproto)))))
1715 (define-public renderproto
1717 (name "renderproto")
1723 "mirror://xorg/individual/proto/renderproto-"
1728 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1729 (build-system gnu-build-system)
1730 (native-inputs (list pkg-config))
1731 (home-page "https://www.x.org/wiki/")
1732 (synopsis "Xorg RenderProto protocol headers")
1734 "Rendering Extension defines a protocol for a digital image composition
1735 as the foundation of a new rendering model within the X Window System.")
1736 (license license:x11)
1737 (properties `((superseded . ,xorgproto)))))
1739 (define-public resourceproto
1741 (name "resourceproto")
1747 "mirror://xorg/individual/proto/resourceproto-"
1752 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1753 (build-system gnu-build-system)
1754 (native-inputs (list pkg-config))
1755 (home-page "https://www.x.org/wiki/")
1756 (synopsis "Xorg ResourceProto protocol headers")
1758 "Resource Extension defines a protocol that allows a client to
1759 query the X server about its usage of various resources.")
1760 (license license:x11)
1761 (properties `((superseded . ,xorgproto)))))
1763 (define-public scrnsaverproto
1765 (name "scrnsaverproto")
1771 "mirror://xorg/individual/proto/scrnsaverproto-"
1776 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1777 (build-system gnu-build-system)
1778 (native-inputs (list pkg-config))
1779 (home-page "https://www.x.org/wiki/")
1780 (synopsis "Xorg ScrnSaverProto protocol headers")
1782 "Screen Saver Extension defines a protocol to control screensaver
1783 features and to query screensaver info on specific windows.")
1784 (license license:x11)
1785 (properties `((superseded . ,xorgproto)))))
1787 (define-public sessreg
1795 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1797 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
1798 (build-system gnu-build-system)
1803 (home-page "https://www.x.org/wiki/")
1804 (synopsis "Register X sessions in system utmp/utmpx databases")
1806 "SessReg is a simple program for managing utmp/wtmp entries for X
1807 sessions. It was originally written for use with xdm, but may also be
1808 used with other display managers such as gdm or kdm.")
1809 (license license:x11)))
1812 (define-public setxkbmap
1820 "mirror://xorg/individual/app/setxkbmap-"
1825 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
1826 (build-system gnu-build-system)
1828 (list libxkbfile xkeyboard-config libx11))
1833 (list (string-append "--with-xkb-config-root="
1834 (assoc-ref %build-inputs "xkeyboard-config")
1835 "/share/X11/xkb"))))
1836 (home-page "https://www.x.org/wiki/")
1837 (synopsis "Set the keyboard using the X Keyboard Extension")
1839 "Setxkbmap is an X11 client to change the keymaps in the X server
1840 for a specified keyboard to use the layout determined by the options
1841 listed on the command line.")
1842 (license license:x11)))
1845 (define-public smproxy
1853 "mirror://xorg/individual/app/smproxy-"
1858 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
1859 (build-system gnu-build-system)
1861 (list libxt libxmu))
1864 (home-page "https://www.x.org/wiki/")
1865 (synopsis "Session Manager Proxy")
1867 "SMProxy allows X applications that do not support X11R6 session
1868 management to participate in an X11R6 session.")
1869 (license license:x11)))
1872 (define-public util-macros
1874 (name "util-macros")
1880 "mirror://xorg/individual/util/util-macros-"
1885 "0w8ryfqylprz37zj9grl4jzdsqq67ibfwq5raj7vm1i7kmp2x08g"))))
1886 (build-system gnu-build-system)
1887 (native-inputs (list pkg-config))
1890 (modify-phases %standard-phases
1891 (add-after 'unpack 'fix-makefile-in
1893 (substitute* "Makefile.in"
1894 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1895 ;; not PREFIX/share/pkgconfig.
1896 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1898 (add-after 'install 'post-install-cleanup
1899 (lambda* (#:key outputs #:allow-other-keys)
1900 (let ((out (assoc-ref outputs "out")))
1901 (with-directory-excursion out
1902 (delete-file "share/util-macros/INSTALL")
1903 (rmdir "share/util-macros"))
1905 (home-page "https://www.x.org/wiki/")
1906 (synopsis "Xorg autoconf macros")
1908 "This package provides a set of autoconf macros used by the
1909 configure.ac scripts in other Xorg modular packages, and is needed to
1910 generate new versions of their configure scripts with autoconf.")
1911 (license license:x11)))
1914 (define-public videoproto
1922 "mirror://xorg/individual/proto/videoproto-"
1927 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
1928 (build-system gnu-build-system)
1929 (native-inputs (list pkg-config))
1930 (home-page "https://www.x.org/wiki/")
1931 (synopsis "Xorg VideoProto protocol headers")
1933 "Video Extension provides a protocol for a video output mechanism,
1934 mainly to rescale video playback in the video controller hardware.")
1935 (license license:x11)
1936 (properties `((superseded . ,xorgproto)))))
1938 (define-public windowswmproto
1940 (name "windowswmproto")
1946 "mirror://xorg/individual/proto/windowswmproto-"
1951 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
1952 (build-system gnu-build-system)
1953 (native-inputs (list pkg-config))
1954 (home-page "https://www.x.org/wiki/")
1955 (synopsis "Xorg WindowsWMProto protocol headers")
1957 "WindowsWM Extension defines a protocol, used for coordination between
1958 an X11 server and the Microsoft Windows native window manager. WindowsWM
1959 is only intended to be used on Cygwin when running a rootless XWin
1961 (license license:x11)
1962 (properties `((superseded . ,xorgproto)))))
1964 (define-public x11perf
1972 "mirror://xorg/individual/app/x11perf-"
1977 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
1978 (build-system gnu-build-system)
1980 (list libx11 libxft libxmu libxrender))
1983 (home-page "https://www.x.org/wiki/")
1984 (synopsis "X server performance benchmarker")
1986 "X11Perf is a simple performance benchmarker for the Xorg X server.")
1987 (license license:x11)))
1990 (define-public xauth
1997 (uri (string-append "mirror://xorg/individual/app/xauth-" version
2000 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
2001 (build-system gnu-build-system)
2003 (list libxmu libxext libxau libx11))
2005 (list cmdtest pkg-config))
2006 (home-page "https://www.x.org/wiki/")
2007 (synopsis "X authority file utility")
2009 "XAuth program is used to edit and display the authorization
2010 information used in connecting to the X server.")
2011 (license license:x11)))
2014 (define-public xbacklight
2022 "mirror://xorg/individual/app/xbacklight-"
2027 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
2028 (build-system gnu-build-system)
2030 (list libxcb xcb-util))
2033 (home-page "https://www.x.org/wiki/")
2034 (synopsis "Control display backlight")
2036 "Xbacklight is used to adjust the backlight brightness where
2037 supported. It uses the RandR extension to find all outputs on the X
2038 server supporting backlight brightness control and changes them all in
2040 (license license:x11)))
2043 (define-public xbitmaps
2051 "mirror://xorg/individual/data/xbitmaps-"
2056 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
2057 (build-system gnu-build-system)
2058 (native-inputs (list pkg-config))
2059 (home-page "https://www.x.org/wiki/")
2060 (synopsis "X bitmaps")
2062 "xbitmaps provides basic bitmaps (little pictures) used by some
2064 (license license:x11)))
2066 (define-public xcalc
2073 (uri (string-append "mirror://xorg/individual/app/"
2074 "xcalc-" version ".tar.gz"))
2076 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
2077 (build-system gnu-build-system)
2079 `(#:phases (modify-phases %standard-phases
2081 'configure 'mutate-makefile
2083 (substitute* "Makefile"
2084 (("^appdefaultdir = .*$")
2085 (string-append "appdefaultdir = " %output
2086 ,%app-defaults-dir "\n")))
2092 (home-page "https://www.x.org/wiki/")
2093 (synopsis "Hand calculator for the X Window system")
2094 (description "Xcalc is a scientific calculator desktop accessory that can
2095 emulate a TI-30 or an HP-10C.")
2096 (license license:x11)))
2099 (define-public xcb-proto
2107 "https://xcb.freedesktop.org/dist/xcb-proto-"
2111 "01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))
2112 (modules '((guix build utils)))
2115 ;; fractions.gcd has been deprecated since python-3.5.
2116 (substitute* "xcbgen/align.py"
2117 (("from fractions import gcd") "from math import gcd"))
2119 (build-system gnu-build-system)
2121 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
2122 (home-page "https://xcb.freedesktop.org/")
2123 (synopsis "XML-XCB protocol descriptions")
2125 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2126 uses to generate the majority of its code and API. XCB-Proto is
2127 separated from libxcb to allow reuse by other projects, such as
2128 additional language bindings, protocol dissectors, or documentation
2131 XCB-Proto also contains language-independent Python libraries that are
2132 used to parse an XML description and create objects used by Python code
2133 generators in individual language bindings.")
2134 (license license:x11)))
2137 (define-public xcmiscproto
2139 (name "xcmiscproto")
2145 "mirror://xorg/individual/proto/xcmiscproto-"
2150 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2151 (build-system gnu-build-system)
2152 (native-inputs (list pkg-config))
2153 (home-page "https://www.x.org/wiki/")
2154 (synopsis "Xorg XCMiscProto protocol headers")
2156 "XC-MISC Extension defines a protocol that provides Xlib two ways
2157 to query the server for available resource IDs.")
2158 (license license:x11)
2159 (properties `((superseded . ,xorgproto)))))
2161 (define-public xcmsdb
2169 "mirror://xorg/individual/app/xcmsdb-"
2174 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
2175 (build-system gnu-build-system)
2180 (home-page "https://www.x.org/wiki/")
2181 (synopsis "Device Color Characterization utility")
2183 "XCMSDB is used to load, query, or remove Device Color
2184 Characterization data stored in properties on the root window of the
2185 screen as specified in section 7, Device Color Characterization, of the
2186 X11 Inter-Client Communication Conventions Manual (ICCCM).")
2187 (license license:x11)))
2190 (define-public xcursor-themes
2192 (name "xcursor-themes")
2198 "mirror://xorg/individual/data/xcursor-themes-"
2203 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
2204 (build-system gnu-build-system)
2206 (list libxcursor xcursorgen))
2211 (list (string-append "--with-cursordir="
2212 (assoc-ref %outputs "out")
2214 (home-page "https://www.x.org/wiki/")
2215 (synopsis "Default Xorg cursors")
2217 "This package provides a default set of cursor themes for the Xorg
2218 X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
2219 (license license:x11)))
2221 (define-public hackneyed-x11-cursors
2223 (name "hackneyed-x11-cursors")
2229 (url "https://gitlab.com/Enthymeme/hackneyed-x11-cursors.git")
2231 (file-name (git-file-name name version))
2234 "1mjwbny4rid9dzz6xfb8l5rkwki41sfhdp970cf3w2pi9kyg1njs"))))
2235 (build-system gnu-build-system)
2237 `(#:tests? #f ;no test suite
2238 #:make-flags (list (string-append "PREFIX=" %output))
2240 (modify-phases %standard-phases
2242 (add-before 'build 'set-inkscape-environment-variable
2243 (lambda* (#:key inputs #:allow-other-keys)
2244 (let ((inkscape (search-input-file inputs "/bin/inkscape")))
2245 (setenv "INKSCAPE" inkscape))))
2246 (add-before 'build 'placate-inkscape-warnings
2248 (setenv "HOME" (getcwd))))
2249 (add-after 'build 'generate-black-cursors
2250 (lambda* (#:key make-flags parallel-build #:allow-other-keys)
2251 (let ((build (assoc-ref %standard-phases 'build))
2252 (make-flags/extended
2254 "THEME_NAME=Hackneyed-Dark"
2255 "COMMON_SOURCE=theme/common-dark.svg"
2256 "RSVG_SOURCE=theme/right-handed-dark.svg"
2257 "LSVG_SOURCE=theme/left-handed-dark.svg")))
2258 (build #:make-flags make-flags/extended
2259 #:parallel-build parallel-build))))
2260 (add-after 'install 'install-black-cursors
2261 (lambda* (#:key make-flags #:allow-other-keys)
2262 (apply invoke `("make" "install" ,@make-flags
2263 "THEME_NAME=Hackneyed-Dark")))))))
2264 (native-inputs (list imagemagick inkscape xcursorgen))
2265 (home-page "https://gitlab.com/Enthymeme/hackneyed-x11-cursors")
2266 (synopsis "Classic cursor theme for X11")
2267 (description "Hackneyed is a scalable cursor theme mildly resembling old
2268 Windows 3.x cursors. The cursors are available in white and black colors. A
2269 left-handed version of the cursors is also included.")
2270 (license license:x11)))
2272 (define-public xcursorgen
2280 "mirror://xorg/individual/app/xcursorgen-"
2285 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
2286 (build-system gnu-build-system)
2288 (list libxcursor libpng))
2291 (home-page "https://www.x.org/wiki/")
2292 (synopsis "Create an X cursor file from PNG images")
2294 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
2295 (license license:x11)))
2298 (define-public xdpyinfo
2306 "mirror://xorg/individual/app/xdpyinfo-"
2311 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
2312 (build-system gnu-build-system)
2326 (home-page "https://www.x.org/wiki/")
2327 (synopsis "Xorg display information utility")
2329 "Xdpyinfo is used to display information about an X server: the
2330 capabilities of a server, the predefined values for various parameters
2331 used in communicating between clients and the server, and the different
2332 types of screens, visuals, and X11 protocol extensions that are
2334 (license license:x11)))
2337 (define-public xdriinfo
2345 "mirror://xorg/individual/app/xdriinfo-"
2350 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
2351 (build-system gnu-build-system)
2356 (home-page "https://www.x.org/wiki/")
2357 (synopsis "Query DRI configuration information")
2359 "XDRIInfo is used to query configuration information of X11
2360 DRI (Direct Rendering Infrastructure) drivers.")
2361 (license license:x11)))
2372 "mirror://xorg/individual/app/xev-"
2377 "1ql592pdhddhkipkrsxn929y9l2nn02a5fh2z3dx47kmzs5y006p"))))
2378 (build-system gnu-build-system)
2379 (arguments `(#:configure-flags ',(malloc0-flags)))
2381 (list libxrender libxrandr xorgproto libx11))
2384 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
2385 (synopsis "Print contents of X events")
2387 "XEv creates a window and then asks the X server to send it X11
2388 events whenever anything happens to the window (such as it being moved,
2389 resized, typed in, clicked in, etc.). You can also attach it to an
2390 existing window. It is useful for seeing what causes events to occur
2391 and to display the information that they contain; it is essentially a
2392 debugging and development tool, and should not be needed in normal
2394 (license license:x11)))
2397 (define-public xextproto
2405 "mirror://xorg/individual/proto/xextproto-"
2410 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
2411 (build-system gnu-build-system)
2412 (native-inputs (list pkg-config))
2413 (home-page "https://www.x.org/wiki/")
2414 (synopsis "Xorg XExtProto protocol headers")
2416 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2417 Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2418 MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2419 XC-APPGROUP, XTEST.")
2420 (license license:x11)
2421 (properties `((superseded . ,xorgproto)))))
2423 (define-public libevdev
2430 (uri (string-append "https://www.freedesktop.org/software/" name "/"
2431 name "-" version ".tar.xz"))
2434 "1l628xblk36vh7aqia1fw6hh62af7va0pd70h28112l5i4afmx33"))))
2435 (build-system gnu-build-system)
2437 `(#:configure-flags '("--disable-static")))
2438 (native-inputs (list python))
2439 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
2440 (synopsis "Wrapper library for evdev devices")
2442 "libevdev is a wrapper library for evdev devices. it moves the common
2443 tasks when dealing with evdev devices into a library and provides a library
2444 interface to the callers, thus avoiding erroneous ioctls, etc.
2446 The eventual goal is that libevdev wraps all ioctls available to evdev
2447 devices, thus making direct access unnecessary.")
2448 (license (license:x11-style "file://COPYING"))))
2451 (define-public xf86-input-evdev
2453 (name "xf86-input-evdev")
2459 "mirror://xorg/individual/driver/xf86-input-evdev-"
2464 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
2465 (build-system gnu-build-system)
2468 ("libevdev" ,libevdev)
2470 ("xorg-server" ,xorg-server)))
2471 (native-inputs (list pkg-config))
2474 (list (string-append "--with-sdkdir="
2475 (assoc-ref %outputs "out")
2477 (home-page "https://www.x.org/wiki/")
2478 (synopsis "Generic input driver for X server")
2480 "xf86-input-evdev is a generic input driver for the Xorg X server.
2481 This driver supports all input devices that the kernel knows about,
2482 including most mice, keyboards, tablets and touchscreens.")
2483 (license license:x11)))
2485 (define-public xf86-input-libinput
2487 (name "xf86-input-libinput")
2492 "mirror://xorg/individual/driver/"
2493 name "-" version ".tar.bz2"))
2496 "05ldqr10f2rrnshyk3lc773rz0gp3ccdzwa8n7lsc94i850jl7g1"))))
2497 (build-system gnu-build-system)
2500 (list (string-append "--with-sdkdir="
2501 %output "/include/xorg"))))
2505 `(("libinput" ,libinput-minimal)
2506 ("xorg-server" ,xorg-server)))
2507 (home-page "https://www.x.org/wiki/")
2508 (synopsis "Input driver for X server based on libinput")
2510 "xf86-input-libinput is an input driver for the Xorg X server based
2511 on libinput. It is a thin wrapper around libinput, so while it does
2512 provide all features that libinput supports it does little beyond.")
2513 (license (list license:x11 ; only install-sh
2514 license:expat)))) ; everything else
2516 (define-public xf86-input-joystick
2518 (name "xf86-input-joystick")
2524 "mirror://xorg/individual/driver/xf86-input-joystick-"
2529 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
2530 (build-system gnu-build-system)
2531 (inputs (list xorg-server))
2532 (native-inputs (list pkg-config))
2535 (list (string-append "--with-sdkdir="
2536 (assoc-ref %outputs "out")
2538 (home-page "https://www.x.org/wiki/")
2539 (synopsis "Joystick input driver for X server")
2541 "xf86-input-joystick is a joystick input driver for the Xorg X server.
2542 It is used to control the pointer with a joystick device.")
2543 (license license:x11)))
2546 (define-public xf86-input-keyboard
2548 (name "xf86-input-keyboard")
2554 "mirror://xorg/individual/driver/xf86-input-keyboard-"
2559 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
2560 (build-system gnu-build-system)
2561 (inputs (list xorg-server))
2562 (native-inputs (list pkg-config))
2563 (home-page "https://www.x.org/wiki/")
2564 (synopsis "Keyboard input driver for X server")
2566 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
2567 (license license:x11)))
2570 (define-public xf86-input-mouse
2572 (name "xf86-input-mouse")
2578 "mirror://xorg/individual/driver/xf86-input-mouse-"
2583 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
2584 (build-system gnu-build-system)
2585 (inputs (list xorg-server))
2586 (native-inputs (list pkg-config))
2589 (list (string-append "--with-sdkdir="
2590 (assoc-ref %outputs "out")
2592 (home-page "https://www.x.org/wiki/")
2593 (synopsis "Mouse input driver for X server")
2595 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2596 This driver supports four classes of mice: serial, bus and PS/2 mice,
2597 and additional mouse types supported by specific operating systems, such
2599 (license license:x11)))
2602 (define-public xf86-input-synaptics
2604 (name "xf86-input-synaptics")
2610 "mirror://xorg/individual/driver/xf86-input-synaptics-"
2615 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
2616 (build-system gnu-build-system)
2617 (inputs (list libx11 libxi libevdev mtdev xorg-server))
2618 (native-inputs (list pkg-config))
2621 (list (string-append "--with-sdkdir="
2622 (assoc-ref %outputs "out")
2624 (string-append "--with-xorg-conf-dir="
2625 (assoc-ref %outputs "out")
2626 "/share/X11/xorg.conf.d"))))
2627 (home-page "https://www.x.org/wiki/")
2628 (synopsis "Touchpad input driver for X server")
2630 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
2631 (license license:x11)))
2634 (define-public xf86-input-void
2636 (name "xf86-input-void")
2642 "mirror://xorg/individual/driver/xf86-input-void-"
2647 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
2648 (build-system gnu-build-system)
2649 (inputs (list xorg-server))
2650 (native-inputs (list pkg-config))
2651 (home-page "https://www.x.org/wiki/")
2652 (synopsis "Void (null) input driver for X server")
2654 "xf86-input-void is a null input driver for the Xorg X server.")
2655 (license license:x11)))
2657 (define-public xf86-video-amdgpu
2659 (name "xf86-video-amdgpu")
2664 (uri (string-append "mirror://xorg/individual/driver/"
2665 "xf86-video-amdgpu-" version ".tar.bz2"))
2667 (base32 "125dq85n46yqmnmr2hknxwcqicwlvz2b2phf0m963fpg9l1j6y30"))))
2668 (build-system gnu-build-system)
2669 (inputs (list xorg-server))
2670 (native-inputs (list pkg-config))
2671 (home-page "https://www.x.org/wiki/")
2672 (synopsis "AMD Radeon video driver for X server")
2674 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2676 (license license:x11)))
2678 (define-public xf86-video-ark
2680 (name "xf86-video-ark")
2686 "mirror://xorg/individual/driver/xf86-video-ark-"
2691 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
2692 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
2693 (build-system gnu-build-system)
2694 (inputs (list xorg-server))
2695 (native-inputs (list pkg-config))
2696 (home-page "https://www.x.org/wiki/")
2697 (synopsis "Ark Logic video driver for X server")
2699 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
2700 (license license:x11)))
2702 (define-public xf86-video-ast
2704 (name "xf86-video-ast")
2706 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2710 "mirror://xorg/individual/driver/xf86-video-ast-"
2711 version ".tar.bz2"))
2714 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2715 (build-system gnu-build-system)
2716 (inputs (list xorg-server))
2717 (native-inputs (list pkg-config))
2718 (synopsis "ASpeed Technologies video driver for X server")
2720 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2722 (license license:x11)))
2724 (define-public xf86-video-ati
2725 ;; The current release is too old to build with our inputs.
2726 (let ((commit "5eba006e4129e8015b822f9e1d2f1e613e252cda")
2729 (name "xf86-video-ati")
2730 (version (git-version "19.1.0" revision commit))
2735 (url "https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati.git")
2737 (file-name (git-file-name name version))
2739 (base32 "1n49wx0v13jh8vv17sxgrmmpi1mk3n2wph07jfmxmzqahpcn4lkn"))))
2740 (build-system gnu-build-system)
2741 (inputs (list mesa xorgproto xorg-server))
2743 (list pkg-config autoconf automake libtool))
2744 (home-page "https://www.x.org/wiki/")
2745 (synopsis "ATI Radeon video driver for X server")
2747 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2749 (license license:x11))))
2752 (define-public xf86-video-cirrus
2754 (name "xf86-video-cirrus")
2760 "mirror://xorg/individual/driver/xf86-video-cirrus-"
2765 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
2766 (build-system gnu-build-system)
2767 (inputs (list xorg-server))
2768 (native-inputs (list pkg-config))
2769 (home-page "https://www.x.org/wiki/")
2770 (synopsis "Cirrus Logic video driver for X server")
2772 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2774 (license license:x11)))
2776 (define-public xf86-video-dummy
2778 (name "xf86-video-dummy")
2783 (uri (string-append "mirror://xorg/individual/driver/"
2784 "xf86-video-dummy-" version ".tar.bz2"))
2786 (base32 "1fcm9vwgv8wnffbvkzddk4yxrh3kc0np6w65wj8k88q7jf3bn4ip"))))
2787 (build-system gnu-build-system)
2788 (inputs (list xorg-server))
2789 (native-inputs (list pkg-config))
2790 (home-page "https://www.x.org/wiki/")
2791 (synopsis "Dummy video driver for X server")
2793 "Virtual/offscreen frame buffer driver for the Xorg X server.")
2794 ;; per https://lists.freedesktop.org/archives/xorg/2020-June/060316.html
2795 (license license:x11)))
2797 (define-public xf86-video-fbdev
2799 (name "xf86-video-fbdev")
2805 "mirror://xorg/individual/driver/xf86-video-fbdev-"
2810 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
2811 (build-system gnu-build-system)
2812 (inputs (list xorg-server))
2813 (native-inputs (list pkg-config))
2814 (home-page "https://www.x.org/wiki/")
2815 (synopsis "Framebuffer device video driver for X server")
2817 "xf86-video-fbdev is a video driver for the Xorg X server for
2818 framebuffer device.")
2819 (license license:x11)))
2822 (define-public xf86-video-freedreno
2823 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2825 (name "xf86-video-freedreno")
2826 (version (string-append "1.4.0-1-" (string-take commit 7)))
2829 ;; there's no current tarball
2832 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2833 "driver/xf86-video-freedreno.git"))
2837 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2838 (file-name (string-append name "-" version))))
2839 (build-system gnu-build-system)
2841 `(("libdrm" ,libdrm)
2844 ("xorg-server" ,xorg-server)
2847 (list pkg-config autoconf automake libtool))
2848 ;; This driver is only supported on ARM systems.
2849 (supported-systems '("armhf-linux" "aarch64-linux"))
2852 (list (string-append "--with-xorg-conf-dir="
2853 (assoc-ref %outputs "out")
2854 "/share/X11/xorg.conf.d"))
2856 (modify-phases %standard-phases
2859 ;; autogen.sh calls configure unconditionally.
2860 (invoke "autoreconf" "-vfi"))))))
2861 (home-page "https://www.x.org/wiki/")
2862 (synopsis "Adreno video driver for X server")
2864 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2865 It supports a variety of Adreno graphics chipsets.")
2866 (license license:x11))))
2869 (define-public xf86-video-geode
2871 (name "xf86-video-geode")
2876 (uri (string-append "mirror://xorg/individual/driver/xf86-video-geode-"
2877 version ".tar.bz2"))
2879 (base32 "0r2dz0agg0k5wrqdbicji6mh6svzyl0xgqk76hpcfdlzn2zx15zl"))))
2880 (build-system gnu-build-system)
2881 (inputs (list xorg-server))
2882 (native-inputs (list pkg-config))
2884 ;; This driver is only supported on i686 systems.
2885 (filter (lambda (system) (string-prefix? "i686-" system))
2886 %supported-systems))
2887 (home-page "https://www.x.org/wiki/")
2888 (synopsis "AMD Geode GX/LX video driver for X server")
2890 "xf86-video-geode is an Xorg X server video driver for the AMD
2891 Geode GX and LX processors. The GX component supports both XAA and EXA
2892 for graphics acceleration. The LX component supports EXA, including
2893 compositing. Both support Xv overlay and dynamic rotation with XRandR.")
2894 (license license:x11)))
2897 ;; Driver for obsolete graphics cards, depends on libglide:
2898 ;; http://sourceforge.net/projects/glide/ ,
2899 ;; last updated in 2003, and which does not compile out of the box any more.
2900 ;; (define-public xf86-video-glide
2902 ;; (name "xf86-video-glide")
2903 ;; (version "1.2.0")
2906 ;; (method url-fetch)
2907 ;; (uri (string-append
2908 ;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2913 ;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2914 ;; (build-system gnu-build-system)
2915 ;; (inputs `(("pkg-config" ,pkg-config)
2916 ;; ("xorg-server" ,xorg-server)))
2917 ;; (home-page "https://www.x.org/wiki/")
2918 ;; (synopsis "Glide video driver for X server")
2920 ;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
2921 ;; (license license:x11)))
2924 (define-public xf86-video-glint
2926 (name "xf86-video-glint")
2932 "mirror://xorg/individual/driver/xf86-video-glint-"
2937 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
2938 (build-system gnu-build-system)
2939 (inputs (list xorgproto xorg-server))
2940 (native-inputs (list pkg-config))
2941 (home-page "https://www.x.org/wiki/")
2942 (synopsis "GLINT/Permedia video driver for X server")
2944 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2946 (license license:x11)))
2949 (define-public xf86-video-i128
2951 (name "xf86-video-i128")
2957 "mirror://xorg/individual/driver/xf86-video-i128-"
2962 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
2963 (build-system gnu-build-system)
2964 (inputs (list xorg-server))
2965 (native-inputs (list pkg-config))
2966 (home-page "https://www.x.org/wiki/")
2967 (synopsis "I128 video driver for X server")
2969 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2971 (license license:x11)))
2974 (define-public xf86-video-intel
2975 (let ((commit "31486f40f8e8f8923ca0799aea84b58799754564")
2978 (name "xf86-video-intel")
2979 (version (git-version "2.99.917" revision commit))
2982 ;; there's no current tarball
2985 (url "https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git")
2989 "0lv6vlx9gvp34pidmx4gxgb0qjf0km0gabbaxw141nnvj1azv94y"))
2990 (file-name (git-file-name name version))))
2991 (build-system gnu-build-system)
2992 (inputs `(("mesa" ,mesa)
2995 ("libxfont" ,libxfont2)
2996 ("xorg-server" ,xorg-server)))
2998 (list pkg-config autoconf automake libtool))
3000 ;; This driver is only supported on Intel systems.
3001 (filter (lambda (system) (or (string-prefix? "i686-" system)
3002 (string-prefix? "x86_64-" system)))
3003 %supported-systems))
3005 '(#:configure-flags '("--with-default-accel=uxa")))
3006 (home-page "https://www.x.org/wiki/")
3007 (synopsis "Intel video driver for X server")
3009 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
3010 It supports a variety of Intel graphics chipsets.")
3011 (license license:x11))))
3014 (define-public xf86-video-mach64
3016 (name "xf86-video-mach64")
3022 "mirror://xorg/individual/driver/xf86-video-mach64-"
3027 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
3028 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"
3029 "xf86-video-mach64-bool-to-boolean.patch"))))
3030 (build-system gnu-build-system)
3031 (inputs (list mesa xorgproto xorg-server))
3034 (home-page "https://www.x.org/wiki/")
3035 (synopsis "Mach64 video driver for X server")
3037 "xf86-video-mach64 is a video driver for the Xorg X server.
3038 This driver is intended for all ATI video adapters based on the Mach64
3039 series or older chipsets, providing maximum video function within
3040 hardware limitations. The driver is also intended to optionally provide
3041 the same level of support for generic VGA or 8514/A adapters.")
3042 (license license:x11)))
3045 (define-public xf86-video-mga
3047 (name "xf86-video-mga")
3053 "mirror://xorg/individual/driver/xf86-video-mga-"
3058 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
3059 (build-system gnu-build-system)
3060 (inputs (list mesa xorgproto xorg-server))
3061 (native-inputs (list pkg-config))
3062 (home-page "https://www.x.org/wiki/")
3063 (synopsis "Matrox video driver for X server")
3065 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
3066 (license license:x11)))
3068 (define-public xf86-video-neomagic
3070 (name "xf86-video-neomagic")
3076 "mirror://xorg/individual/driver/xf86-video-neomagic-"
3081 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
3082 (build-system gnu-build-system)
3083 (inputs (list xorgproto xorg-server))
3084 (native-inputs (list pkg-config))
3085 (home-page "https://www.x.org/wiki/")
3086 (synopsis "NeoMagic video driver for X server")
3088 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
3089 (license license:x11)))
3092 ;; This driver depends on XAA which has been removed from xorg-server.
3094 ;; (define-public xf86-video-newport
3096 ;; (name "xf86-video-newport")
3097 ;; (version "0.2.4")
3100 ;; (method url-fetch)
3101 ;; (uri (string-append
3102 ;; "mirror://xorg/individual/driver/xf86-video-newport-"
3107 ;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3108 ;; (build-system gnu-build-system)
3109 ;; (inputs `(("xorg-server" ,xorg-server)))
3110 ;; (native-inputs `(("pkg-config" ,pkg-config)))
3111 ;; (home-page "https://www.x.org/wiki/")
3112 ;; (synopsis "Newport video driver for X server")
3114 ;; "xf86-video-newport is an Xorg X server video driver for the SGI
3116 ;; (license license:x11)))
3119 (define-public xf86-video-nv
3121 (name "xf86-video-nv")
3127 "mirror://xorg/individual/driver/xf86-video-nv-"
3132 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
3133 (build-system gnu-build-system)
3134 (inputs (list xorg-server))
3135 (native-inputs (list pkg-config))
3136 (home-page "https://www.x.org/wiki/")
3137 (synopsis "NVIDIA video driver for X server")
3139 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3140 graphics processors.
3142 There are a few caveats of which to be aware: the XVideo extension is not
3143 supported, and the RENDER extension is not accelerated by this driver.")
3144 (license license:x11)))
3146 (define-public xf86-video-nouveau
3148 (name "xf86-video-nouveau")
3153 (uri (string-append "mirror://xorg/individual/driver/xf86-video-nouveau-"
3154 version ".tar.bz2"))
3156 (base32 "0sqm1jwjg15sp8v7039y2hsbhph8gpjd2bdzcqqiij2mgbi254s9"))
3157 (patches (search-patches "xf86-video-nouveau-fixup-ABI.patch"))))
3158 (build-system gnu-build-system)
3159 (inputs (list xorg-server))
3160 (native-inputs (list pkg-config))
3161 (home-page "https://nouveau.freedesktop.org")
3162 (synopsis "NVIDIA video driver for X server")
3164 "This package provides modern, high-quality Xorg drivers for NVIDIA
3166 (license license:x11)))
3168 (define-public xf86-video-openchrome
3170 (name "xf86-video-openchrome")
3176 "mirror://xorg/individual/driver/xf86-video-openchrome-"
3181 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
3182 (build-system gnu-build-system)
3183 (inputs (list libx11
3191 (home-page "https://www.x.org/wiki/")
3192 (synopsis "Openchrome video driver for X server")
3194 "xf86-video-openchrome is a video driver for the Xorg X server.
3195 This driver is intended for VIA chipsets featuring the VIA UniChrome,
3196 UniChrome Pro and Chrome9 integrated graphics processors.")
3197 (license license:x11)))
3200 (define-public xf86-video-qxl
3202 (name "xf86-video-qxl")
3207 "mirror://xorg/individual/driver/"
3208 "xf86-video-qxl-" version ".tar.bz2"))
3211 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))
3212 (patches (search-patches
3213 "xf86-video-qxl-fix-build.patch"))))
3214 (build-system gnu-build-system)
3216 (list libxfont2 spice-protocol xorg-server xorgproto))
3219 (synopsis "Qxl video driver for X server")
3220 (description "xf86-video-qxl is a video driver for the Xorg X server.
3221 This driver is intended for the spice qxl virtio device.")
3222 (home-page "http://www.spice-space.org")
3223 (license license:x11)))
3225 (define-public xf86-video-r128
3227 (name "xf86-video-r128")
3231 (uri (string-append "mirror://xorg/individual/driver/"
3232 name "-" version ".tar.bz2"))
3235 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
3236 (build-system gnu-build-system)
3237 (inputs (list mesa xorgproto xorg-server))
3240 (home-page "https://www.x.org/wiki/")
3241 (synopsis "ATI Rage 128 video driver for X server")
3243 "xf86-video-r128 is a video driver for the Xorg X server.
3244 This driver is intended for ATI Rage 128 based cards.")
3245 (license license:x11)))
3247 (define-public xf86-video-savage
3249 (name "xf86-video-savage")
3255 "mirror://xorg/individual/driver/xf86-video-savage-"
3258 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
3261 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
3262 (build-system gnu-build-system)
3263 (inputs (list mesa xorgproto xorg-server))
3264 (native-inputs (list pkg-config))
3265 (home-page "https://www.x.org/wiki/")
3266 (synopsis "Savage video driver for X server")
3268 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
3269 (license license:x11)))
3272 (define-public xf86-video-siliconmotion
3274 (name "xf86-video-siliconmotion")
3280 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
3285 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3286 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
3287 (build-system gnu-build-system)
3288 (inputs (list xorg-server))
3289 (native-inputs (list pkg-config))
3290 (home-page "https://www.x.org/wiki/")
3291 (synopsis "Silicon Motion video driver for X server")
3293 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3295 (license license:x11)))
3298 (define-public xf86-video-sis
3300 (name "xf86-video-sis")
3306 "mirror://xorg/individual/driver/xf86-video-sis-"
3311 "0nrs6cjldlhakx5987fiiggjrlzilsbdc7l9pz22x1iwslbkz78i"))))
3312 (build-system gnu-build-system)
3313 (inputs (list mesa xorgproto xorg-server))
3316 (home-page "https://www.x.org/wiki/")
3317 (synopsis "Sis video driver for X server")
3319 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3320 This driver supports SiS chipsets of 300/315/330/340 series.")
3321 (license license:bsd-3)))
3324 (define-public xf86-video-suncg6
3326 (name "xf86-video-suncg6")
3332 "mirror://xorg/individual/driver/xf86-video-suncg6-"
3337 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
3338 (build-system gnu-build-system)
3339 (inputs (list xorg-server))
3340 (native-inputs (list pkg-config))
3341 (home-page "https://www.x.org/wiki/")
3342 (synopsis "GX/TurboGX video driver for X server")
3344 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
3345 (license license:x11)))
3348 (define-public xf86-video-sunffb
3350 (name "xf86-video-sunffb")
3356 "mirror://xorg/individual/driver/xf86-video-sunffb-"
3361 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
3362 (build-system gnu-build-system)
3363 (inputs (list xorg-server))
3364 (native-inputs (list pkg-config))
3365 (home-page "https://www.x.org/wiki/")
3366 (synopsis "SUNFFB video driver for X server")
3368 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
3369 (license license:x11)))
3372 (define-public xf86-video-tdfx
3374 (name "xf86-video-tdfx")
3380 "mirror://xorg/individual/driver/xf86-video-tdfx-"
3385 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
3386 (build-system gnu-build-system)
3387 (inputs (list mesa xorgproto xorg-server))
3388 (native-inputs (list pkg-config))
3389 (home-page "https://www.x.org/wiki/")
3390 (synopsis "3Dfx video driver for X server")
3392 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
3393 (license license:x11)))
3396 (define-public xf86-video-tga
3398 (name "xf86-video-tga")
3404 "mirror://xorg/individual/driver/xf86-video-tga-"
3409 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
3410 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
3411 (build-system gnu-build-system)
3412 (inputs (list xorgproto xorg-server))
3413 (native-inputs (list pkg-config))
3414 (home-page "https://www.x.org/wiki/")
3415 (synopsis "TGA video driver for X server")
3417 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3419 (license license:x11)))
3422 (define-public xf86-video-trident
3424 (name "xf86-video-trident")
3430 "mirror://xorg/individual/driver/xf86-video-trident-"
3435 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
3436 (build-system gnu-build-system)
3437 (inputs (list xorgproto xorg-server))
3438 (native-inputs (list pkg-config))
3439 (home-page "https://www.x.org/wiki/")
3440 (synopsis "Trident video driver for X server")
3442 "xf86-video-trident is a Trident video driver for the Xorg X server.")
3443 (license license:x11)))
3447 ;; (define-public xf86-video-v4l
3450 (define-public xf86-video-vesa
3452 (name "xf86-video-vesa")
3458 "mirror://xorg/individual/driver/xf86-video-vesa-"
3463 "0nf6ai74c60xk96kgr8q9mx6lrxm5id3765ws4d801irqzrj85hz"))))
3464 (build-system gnu-build-system)
3465 (inputs (list xorg-server))
3466 (native-inputs (list pkg-config))
3467 (home-page "https://www.x.org/wiki/")
3468 (synopsis "VESA video driver for X server")
3470 "xf86-video-vesa is a generic VESA video driver for the Xorg
3472 (license license:x11)))
3482 (url "https://github.com/mjanusz/v86d")
3483 (commit (string-append name "-" version))))
3484 (file-name (git-file-name name version))
3486 (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp"))
3487 (modules '((guix build utils)))
3490 ;; remove bundled x86emu
3491 (for-each delete-file
3492 (filter (lambda (name) ;keep customized Makefile
3493 (not (string-suffix? "Makefile" name)))
3494 (find-files "libs/x86emu")))
3495 ;; remove non-working vbetest utility program (it is unnecessary)
3496 (delete-file "libs/lrmi-0.10/vbe.h")
3497 (delete-file "libs/lrmi-0.10/vbetest.c")
3500 ;; We keep the bundled copy of the Linux Real Mode Interface lrmi-0.10,
3501 ;; because it includes fixes missing from upstream lrmi. We do not use
3502 ;; libx86, because we already use x86emu with the more current lrmi.
3504 (inputs `(("xorg-server-sources" ,(package-source xorg-server)) ;for x86emu
3505 ("xorgproto" ,xorgproto))) ;upstream x86emu uses X11/Xfuncproto.h
3506 (outputs '("out" ;main v86d helper
3507 "testvbe")) ;test program for listing video modes
3508 (supported-systems '("i686-linux" "x86_64-linux"))
3509 (build-system gnu-build-system)
3511 `(#:tests? #f ;there are no tests
3512 #:modules ((guix build utils)
3513 (guix build gnu-build-system)
3516 (modify-phases %standard-phases
3517 ;; Replace the bundled x86emu with its upstream copy from Xorg-server:
3518 (add-after 'unpack 'unpack-x86emu-sources
3519 (lambda* (#:key inputs #:allow-other-keys)
3521 (format #t "decompressing x86emu source code~%")
3522 (with-directory-excursion "libs"
3523 (let ((srcs (assoc-ref inputs "xorg-server-sources"))
3524 (tar-binary (search-input-file inputs "/bin/tar")))
3525 (invoke tar-binary "xvf" srcs "--strip-components=3"
3526 "--wildcards" "*/hw/xfree86/x86emu/")
3528 (with-directory-excursion "x86emu"
3529 (invoke tar-binary "xvf" srcs "--strip-components=1"
3530 "--wildcards" "*/COPYING"))
3533 (lambda* (#:key outputs #:allow-other-keys)
3534 (let ((out (assoc-ref outputs "out")))
3535 (setenv "CC" (which "gcc"))
3536 (setenv "DESTDIR" out)
3537 (invoke "./configure" "--with-x86emu"))))
3538 (add-after 'build 'build-testvbe
3540 (invoke "make" "testvbe")))
3541 (add-after 'install 'install-testvbe
3542 (lambda* (#:key outputs #:allow-other-keys)
3543 (let ((testvbe (assoc-ref outputs "testvbe"))
3544 (olddest (getenv "DESTDIR")))
3545 (setenv "DESTDIR" testvbe)
3546 (invoke "make" "install_testvbe")
3547 (setenv "DESTDIR" olddest)
3549 (add-after 'install 'install-docs
3550 (lambda* (#:key outputs #:allow-other-keys)
3551 (let* ((out (assoc-ref outputs "out"))
3552 (doc-dir (string-append out "/share/doc/v86d")))
3555 (string-append doc-dir "/README"))
3556 (copy-file "libs/lrmi-0.10/README"
3557 (string-append doc-dir "/README.lrmi"))
3558 (copy-file "libs/x86emu/COPYING"
3559 (string-append doc-dir "/COPYING.xorg-server.x86emu"))
3561 (home-page "https://github.com/mjanusz/v86d")
3562 (synopsis "Userspace helper for uvesafb")
3564 "v86d provides a backend for kernel drivers that need to execute x86 BIOS
3565 code. The code is executed in a controlled environment and the results are
3566 passed back to the kernel via the netlink interface. v86d is required by the
3567 uvesafb Linux kernel module that provides an fbdev framebuffer when Kernel
3568 Mode Setting is unavailable. It can be a last resort when no other Xorg X
3569 server driver works.")
3570 (license (list license:gpl2
3571 license:x11)))) ;for bundled lrmi and x86emu
3573 (define-public xf86-video-vmware
3575 (name "xf86-video-vmware")
3581 "mirror://xorg/individual/driver/xf86-video-vmware-"
3586 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
3587 (build-system gnu-build-system)
3592 mesa ; for xatracker
3595 (list eudev pkg-config))
3596 (home-page "https://www.x.org/wiki/")
3597 (synopsis "VMware SVGA video driver for X server")
3599 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
3600 (license license:x11)))
3603 (define-public xf86-video-voodoo
3605 (name "xf86-video-voodoo")
3611 "mirror://xorg/individual/driver/xf86-video-voodoo-"
3616 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3618 (search-patches "xf86-video-voodoo-pcitag.patch"))))
3619 (build-system gnu-build-system)
3620 (inputs (list xorgproto xorg-server))
3621 (native-inputs (list pkg-config))
3622 (home-page "https://www.x.org/wiki/")
3623 (synopsis "Voodoo/Voodoo2 video driver for X server")
3625 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
3626 (license license:x11)))
3629 ;; Only relevant for the frame buffer on BSD systems.
3630 ;; (define-public xf86-video-wsfb
3633 (define-public xf86bigfontproto
3635 (name "xf86bigfontproto")
3641 "mirror://xorg/individual/proto/xf86bigfontproto-"
3646 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3647 (build-system gnu-build-system)
3648 (home-page "https://www.x.org/wiki/")
3649 (synopsis "Xorg XF86BigFontProto protocol headers")
3651 "XFree86 Bigfont Extension contains header files and documentation
3652 for the XF86BigFontProto protocol.")
3653 (license license:x11)
3654 (properties `((superseded . ,xorgproto)))))
3656 (define-public xf86dgaproto
3658 (name "xf86dgaproto")
3664 "mirror://xorg/individual/proto/xf86dgaproto-"
3669 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3670 (build-system gnu-build-system)
3671 (home-page "https://www.x.org/wiki/")
3672 (synopsis "Xorg XF86DGAProto protocol headers")
3674 "XFree86 Direct Graphic Access Extension defines a protocol for
3675 direct linear framebuffer access.")
3676 (license license:x11)
3677 (properties `((superseded . ,xorgproto)))))
3679 (define-public xf86driproto
3681 (name "xf86driproto")
3687 "mirror://xorg/individual/proto/xf86driproto-"
3692 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3693 (build-system gnu-build-system)
3694 (home-page "https://www.x.org/wiki/")
3695 (synopsis "Xorg XF86DRIProto protocol headers")
3697 "XFree86 Direct Rendering Infrastructure Extension defines a
3698 protocol to allow user applications to access the video hardware without
3699 requiring data to be passed through the X server.")
3700 (license license:x11)
3701 (properties `((superseded . ,xorgproto)))))
3703 (define-public xf86vidmodeproto
3705 (name "xf86vidmodeproto")
3711 "mirror://xorg/individual/proto/xf86vidmodeproto-"
3716 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3717 (build-system gnu-build-system)
3718 (home-page "https://www.x.org/wiki/")
3719 (synopsis "Xorg XF86VidModeProto protocol headers")
3721 "XFree86 Video Mode Extension defines a protocol for dynamically
3722 configuring modelines and gamma.")
3723 (license license:x11)
3724 (properties `((superseded . ,xorgproto)))))
3726 (define-public xgamma
3734 "mirror://xorg/individual/app/xgamma-"
3739 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
3740 (build-system gnu-build-system)
3742 (list libxxf86vm libx11))
3745 (home-page "https://www.x.org/wiki/")
3746 (synopsis "Alter a monitor's gamma correction")
3748 "XGamma is used to query and alter the gamma correction of a
3749 monitor via the X video mode extension.")
3750 (license license:x11)))
3753 (define-public xhost
3761 "mirror://xorg/individual/app/xhost-"
3766 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
3767 (build-system gnu-build-system)
3769 (list libxmu libxau libx11))
3772 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
3773 (synopsis "Xorg server access control utility")
3775 "XHost is used to manage the list of host names or user names
3776 allowed to make connections to the X server.")
3777 (license license:x11)))
3780 (define-public xineramaproto
3782 (name "xineramaproto")
3788 "mirror://xorg/individual/proto/xineramaproto-"
3793 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3794 (build-system gnu-build-system)
3795 (native-inputs (list pkg-config))
3796 (home-page "https://www.x.org/wiki/")
3797 (synopsis "Xorg XineramaProto protocol headers")
3799 "Xinerama Extension allows clients to query information about multiple
3800 physical screens controlled by a single X server that appear as a single
3801 screen to core X11 protocol operations.
3803 This extension provides a common network protocol for querying information
3804 which may be provided by different underlying screen combination
3805 technologies in the X server, such as the original Xinerama multiplexer, or
3806 alternative implementations like XRandR or TwinView.")
3807 (license license:x11)
3808 (properties `((superseded . ,xorgproto)))))
3810 (define-public xinput
3818 "mirror://xorg/individual/app/xinput-"
3823 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
3824 (build-system gnu-build-system)
3835 (home-page "https://www.x.org/wiki/")
3836 (synopsis "Configure input devices for X server")
3838 "XInput is used to configure and test XInput devices.")
3839 (license license:x11)))
3842 (define-public xkbcomp-intermediate ;used as input for xkeyboard-config
3844 (name "xkbcomp-intermediate")
3849 (uri (string-append "mirror://xorg/individual/app/xkbcomp-"
3850 version ".tar.bz2"))
3853 "0pmhshqinwqh5rip670l3szjpywky67hv232ql6gvdj489n0hlb8"))))
3854 (build-system gnu-build-system)
3856 (list xorgproto libxkbfile libx11))
3859 (home-page "https://www.x.org/wiki/")
3860 (synopsis "Compile XKB keyboard description")
3862 "xkbcomp keymap compiler converts a description of an XKB keymap
3863 into one of several output formats. The most common use for xkbcomp is
3864 to create a compiled keymap file (.xkm extension) which can be read
3865 directly by XKB- capable X servers or utilities.
3867 X Keyboard (XKB) Extension essentially replaces the core protocol
3868 definition of keyboard. The extension makes possible to clearly and
3869 explicitly specify most aspects of keyboard behaviour on per-key basis
3870 and to more closely track the logical and physical state of the
3871 keyboard. It also includes a number of keyboard controls designed to
3872 make keyboards more accessible to people with physical impairments.")
3873 (license license:x11)
3875 ;; The only reason this package is public is to make sure it's built and
3876 ;; published by the continuous integration tool.
3877 (properties '((hidden? . #t)))))
3879 (define-public xkbcomp ; using xkeyboard-config as input
3880 (package (inherit xkbcomp-intermediate)
3884 `(,@(package-inputs xkbcomp-intermediate)
3885 ("xkeyboard-config" ,xkeyboard-config)))
3888 (list (string-append "--with-xkb-config-root="
3889 (assoc-ref %build-inputs "xkeyboard-config")
3890 "/share/X11/xkb"))))))
3893 (define-public xkbevd
3901 "mirror://xorg/individual/app/xkbevd-"
3906 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
3907 (build-system gnu-build-system)
3909 (list libxkbfile libx11))
3912 (home-page "https://www.x.org/wiki/")
3913 (synopsis "XKB event daemon demo")
3915 "XKB event daemon listens for the specified XKB events and executes
3916 requested commands if they occur.")
3917 (license license:x11)))
3919 (define-public xkbprint
3926 (uri (string-append "mirror://xorg/individual/app/"
3927 "xkbprint-" version ".tar.bz2"))
3929 (base32 "1yi3232g25hhp241irncd8znv3090k2gm0yjcdnz08h89y1zwn2v"))))
3930 (build-system gnu-build-system)
3932 (list libx11 libxkbfile xorgproto))
3935 (home-page "https://www.x.org/wiki/")
3936 (synopsis "Visualise an XKB keyboard layout description")
3938 "The @command{xkbprint} utility visualises (``prints'') an XKB keyboard
3939 description as printable or encapsulated PostScript. It accepts any compiled
3940 keymap (@file{.xkm}) file that includes a geometry description, or can obtain
3941 one from a running X server.")
3942 (license license:x11)))
3944 (define-public xkbutils
3952 "mirror://xorg/individual/app/xkbutils-"
3957 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
3958 (build-system gnu-build-system)
3960 (list libxt libxaw xorgproto))
3963 (home-page "https://www.x.org/wiki/")
3964 (synopsis "XKB utilities")
3966 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3967 extension to the X11 protocol. It includes:
3969 - xkbbell: generate XKB bell events;
3971 - xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3973 - xkbwatch: reports changes in the XKB keyboard state.")
3974 (license license:x11)))
3977 (define-public xkeyboard-config
3979 (name "xkeyboard-config")
3985 "ftp://ftp.freedesktop.org/pub/xorg//individual/data/xkeyboard-config/xkeyboard-config-"
3990 "1kmq2ykwmh10sd6155gml4jhdxmvsll6xdg7zw86czpfhrvd48dk"))))
3991 (build-system gnu-build-system)
3993 (list libx11 xkbcomp-intermediate))
3995 `(("gettext" ,gettext-minimal)
3997 ("pkg-config" ,pkg-config)
3998 ("python" ,python)))
3999 (home-page "https://www.x.org/wiki/")
4000 (synopsis "Xorg XKB configuration files")
4002 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
4003 There are five components that define a complete keyboard mapping:
4004 symbols, geometry, keycodes, compat, and types; these five components
4005 can be combined together using the @code{rules} component of this database.")
4006 (license license:x11)))
4009 (define-public xkill
4017 "mirror://xorg/individual/app/xkill-"
4022 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
4023 (build-system gnu-build-system)
4025 (list libxmu libx11))
4028 (home-page "https://www.x.org/wiki/")
4029 (synopsis "Kill a client by its X resource")
4031 "XKill is used to force the X server to close connections to
4032 clients. This program is very dangerous, but is useful for aborting
4033 programs that have displayed undesired windows on a user's screen.")
4034 (license license:x11)))
4037 (define-public xlsatoms
4045 "mirror://xorg/individual/app/xlsatoms-"
4050 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
4051 (build-system gnu-build-system)
4056 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
4057 (synopsis "List interned X server atoms")
4059 "XLsAtoms is used to list the interned atoms defined on X server.")
4060 (license license:x11)))
4063 (define-public xlsclients
4071 "mirror://xorg/individual/app/xlsclients-"
4076 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
4077 (build-system gnu-build-system)
4082 (home-page "https://www.x.org/wiki/")
4083 (synopsis "List client applications running on a display")
4085 "XLsClients is used to list information about the client programs
4086 running on X server.")
4087 (license license:x11)))
4090 (define-public xlsfonts
4098 "mirror://xorg/individual/app/xlsfonts-"
4103 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
4104 (build-system gnu-build-system)
4106 (list xorgproto libx11))
4109 (home-page "https://www.x.org/wiki/")
4110 (synopsis "List fonts available from an X server")
4112 "xlsfonts lists fonts available from an X server via the X11 core
4114 (license license:x11)))
4116 (define-public xfontsel
4123 "mirror://xorg/individual/app/xfontsel-"
4124 version ".tar.bz2"))
4127 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
4128 (build-system gnu-build-system)
4131 (list (string-append "--with-appdefaultdir="
4132 %output ,%app-defaults-dir))))
4134 (list libx11 libxaw libxmu libxt))
4137 (home-page "https://www.x.org/wiki/")
4138 (synopsis "Browse and select X font names")
4140 "XFontSel provides a simple way to display the X11 core protocol fonts
4141 known to your X server, examine samples of each, and retrieve the X Logical
4142 Font Description (XLFD) full name for a font.")
4143 (license license:x11)))
4152 "mirror://xorg/individual/app/xfd-"
4153 version ".tar.bz2"))
4156 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
4157 (build-system gnu-build-system)
4160 (list (string-append "--with-appdefaultdir="
4161 %output ,%app-defaults-dir))))
4163 `(("fontconfig" ,fontconfig)
4168 ("libxrender" ,libxrender)
4169 ("libxkbfile" ,libxkbfile)))
4171 `(("gettext" ,gettext-minimal)
4172 ("pkg-config" ,pkg-config)))
4173 (home-page "https://www.x.org/wiki/")
4174 (synopsis "Display all the characters in an X font")
4176 "XFD (X Font Display) package provides an utility that displays a
4177 window containing the name of the font being displayed, a row of command
4178 buttons, several lines of text for displaying character metrics, and a grid
4179 containing one glyph per cell.")
4180 (license license:x11)))
4182 (define-public xmodmap
4190 "mirror://xorg/individual/app/xmodmap-"
4195 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
4196 (build-system gnu-build-system)
4198 (list xorgproto libx11))
4201 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
4202 (synopsis "Modify keymaps and button mappings on X server")
4204 "Xmodmap is used to display and edit the keyboard modifier map and
4205 keymap table that are used by client programs running on X server to
4206 convert event keycodes into keysyms. It is usually run from the user's
4207 session startup script to configure the keyboard according to personal
4209 (license license:x11)))
4213 ;; (define-public xorg-docs
4216 (define-public xorg-sgml-doctools
4218 (name "xorg-sgml-doctools")
4224 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
4229 "01n8zqlkqjcxk1c59pk279y08gzhc14r03dhq3lxayy1xpfzvab5"))))
4230 (build-system gnu-build-system)
4231 (native-inputs (list pkg-config))
4232 (home-page "https://www.x.org/wiki/")
4233 (synopsis "Xorg SGML documentation tools")
4235 "This package provides a common set of SGML entities and XML/CSS style
4236 sheets used in building/formatting the documentation provided in other
4237 Xorg packages. It's typically only needed by people building from
4238 source who want to produce formatted documentation from their builds, or
4239 those who have installed the HTML version of the documentation, which
4240 refers to the included common xorg.css stylesheet.")
4241 (license license:x11)))
4252 "mirror://xorg/individual/app/xpr-"
4257 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
4258 (build-system gnu-build-system)
4260 (list xorgproto libxmu libx11))
4263 (home-page "https://www.x.org/wiki/")
4264 (synopsis "Print an X window dump from xwd")
4266 "XPr takes as input a window dump file produced by xwd and formats
4267 it for output on various types of printers.")
4268 (license license:x11)))
4271 (define-public xprop
4278 (uri (string-append "mirror://xorg/individual/app/xprop-"
4279 version ".tar.bz2"))
4282 "18ckr8g1z50zkc01hprkpm1npwbq32yqib4b3l98c95z2q1yv4lv"))))
4283 (build-system gnu-build-system)
4285 (list libx11 xorgproto))
4288 (home-page "https://www.x.org/wiki/")
4289 (synopsis "Display X server properties")
4291 "xprop is used to display and/or set window and font properties of
4293 (license license:x11)))
4296 (define-public xrandr
4304 "mirror://xorg/individual/app/xrandr-"
4308 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
4309 (build-system gnu-build-system)
4311 (list libxrender libxrandr xorgproto libx11))
4314 (home-page "https://www.x.org/wiki/")
4315 (synopsis "Command line interface to X RandR extension")
4317 "xrandr - primitive command line interface to X11 Resize, Rotate,
4318 and Reflect (RandR) extension.")
4319 (license license:x11)))
4329 (uri (string-append "mirror://xorg/individual/app/xrdb-"
4330 version ".tar.bz2"))
4332 (base32 "1d78prd8sfszq2rwwlb32ksph4fymf988lp75aj8iysg44f06pag"))))
4333 (build-system gnu-build-system)
4335 (list libxmu libx11))
4338 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
4339 (synopsis "X server resource database utility")
4341 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4342 property on the root window of screen 0, or the SCREEN_RESOURCES
4343 property on the root window of any or all screens, or everything
4344 combined. You would normally run this program from your X startup
4346 (license license:x11)))
4349 (define-public xrefresh
4357 "mirror://xorg/individual/app/xrefresh-"
4362 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
4363 (build-system gnu-build-system)
4368 (home-page "https://www.x.org/wiki/")
4369 (synopsis "Refresh all or part of an X screen")
4371 "Xrefresh is a simple X program that causes all or part of your
4372 screen to be repainted. This is useful when system messages have messed
4374 (license license:x11)))
4385 "mirror://xorg/individual/app/xset-"
4390 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
4391 (build-system gnu-build-system)
4393 (list xorgproto libxmu libxext libx11))
4396 (home-page "https://www.x.org/wiki/")
4397 (synopsis "User preference utility for X server")
4399 "XSet is used to set various user preference options of the display.")
4400 (license license:x11)))
4403 (define-public xsetroot
4411 "mirror://xorg/individual/app/xsetroot-"
4416 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
4417 (build-system gnu-build-system)
4419 (list libxmu libxcursor xbitmaps))
4422 (home-page "https://www.x.org/wiki/")
4423 (synopsis "Root window parameter setting utility for X server")
4425 "XSetRoot allows you to tailor the appearance of the root window on
4426 a display running X server.")
4427 (license license:x11)))
4430 (define-public xtrans
4438 "mirror://xorg/individual/lib/xtrans-"
4443 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
4444 (build-system gnu-build-system)
4445 (native-inputs (list pkg-config))
4446 (home-page "https://www.x.org/wiki/")
4447 (synopsis "Xorg Network Transport layer library")
4449 "Xtrans is a library of code that is shared among various X packages to
4450 handle network protocol transport in a modular fashion, allowing a single
4451 place to add new transport types. It is used by the X server, libX11,
4452 libICE, the X font server, and related components.")
4453 (license license:x11)))
4456 (define-public xvinfo
4464 "mirror://xorg/individual/app/xvinfo-"
4469 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
4470 (build-system gnu-build-system)
4472 (list libxext libxv libx11))
4475 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
4476 (synopsis "Print out X-Video extension adaptor information")
4478 "XVInfo is used to print out the capabilities of any video adaptors
4479 associated with the display that are accessible through the X-Video
4481 (license license:x11)))
4491 (uri (string-append "mirror://xorg/individual/app/xwd-"
4492 version ".tar.bz2"))
4494 (base32 "06q36fh55r62ms0igfxsanrn6gv8lh794q1bw9xzw51p2qs2papv"))))
4495 (build-system gnu-build-system)
4497 (list libxt libxkbfile xorgproto))
4500 (home-page "https://www.x.org/wiki/")
4501 (synopsis "Dump current contents of X window or screen to file")
4503 "Xwd is used to store window images in a specially formatted dump
4504 file. This file can then be read by various other X utilities for
4505 redisplay, printing, editing, formatting, archiving, image processing,
4506 etc. The target window is selected by clicking the pointer in the
4507 desired window. The keyboard bell is rung once at the beginning of the
4508 dump and twice when the dump is completed.")
4509 (license license:x11)))
4512 (define-public xwininfo
4520 "mirror://xorg/individual/app/xwininfo-"
4525 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
4526 (build-system gnu-build-system)
4528 (list libx11 xorgproto))
4531 (home-page "https://www.x.org/wiki/")
4532 (synopsis "Window information utility for X server")
4534 "XWinInfo is used to print out information about windows on an X server.
4535 Various information is displayed depending on which options are selected.")
4536 (license license:x11)))
4547 "mirror://xorg/individual/app/xwud-"
4552 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
4553 (build-system gnu-build-system)
4555 (list xorgproto libx11))
4558 (home-page "https://www.x.org/wiki/")
4559 (synopsis "Display an X window dump from xwd")
4561 "Xwud is used to display in a window an image saved in a specially
4562 formatted dump file, such as produced by xwd.")
4563 (license license:x11)))
4565 (define-public xorg-rgb
4573 "mirror://xorg/individual/app/rgb-"
4578 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4579 (build-system gnu-build-system)
4584 (home-page "https://www.x.org/wiki/")
4585 (synopsis "X color name database")
4587 "This package provides the X color name database.")
4588 (license license:x11)))
4590 ;; packages of height 1 in the propagated-inputs tree
4592 (define-public fixesproto
4600 "mirror://xorg/individual/proto/fixesproto-"
4605 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4606 (build-system gnu-build-system)
4611 (home-page "https://www.x.org/wiki/")
4612 (synopsis "Xorg FixesProto protocol headers")
4614 "Fixes Extension makes changes to many areas of the protocol to resolve
4615 issues raised by application interaction with core protocol mechanisms that
4616 cannot be adequately worked around on the client side of the wire.")
4617 (license license:x11)
4618 (properties `((superseded . ,xorgproto)))))
4620 (define-public libxdamage
4628 "mirror://xorg/individual/lib/libXdamage-"
4633 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
4634 (build-system gnu-build-system)
4636 ;; These are all in the Requires or Requires.private field of xdamage.pc
4637 (list libxfixes xorgproto libx11))
4640 (home-page "https://www.x.org/wiki/")
4641 (synopsis "Xorg Damage Extension library")
4642 (description "Xorg library for the XDamage extension.")
4643 (license license:x11)))
4646 (define-public libxext
4654 "mirror://xorg/individual/lib/libXext-"
4659 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
4660 (build-system gnu-build-system)
4661 (outputs '("out" "doc")) ;man pages represent 40% of the total
4664 (list "--disable-static"
4665 (string-append "--mandir="
4666 (assoc-ref %outputs "doc")
4668 ,@(malloc0-flags))))
4672 (list libxau libx11))
4675 (home-page "https://www.x.org/wiki/")
4676 (synopsis "Xorg Common extensions library")
4678 "Library for common extensions to the X11 protocol.")
4679 (license license:x11)))
4682 (define-public libxinerama
4684 (name "libxinerama")
4690 "mirror://xorg/individual/lib/libXinerama-"
4695 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
4696 (build-system gnu-build-system)
4698 `(#:configure-flags '("--disable-static" ,@(malloc0-flags))))
4702 (list libxext libx11))
4705 (home-page "https://www.x.org/wiki/")
4706 (synopsis "Xorg Xinerama protocol library")
4707 (description "API for Xinerama extension to X11 protocol.")
4708 (license license:x11)))
4711 (define-public libxp
4719 "mirror://xorg/individual/lib/libXp-"
4724 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
4725 (build-system gnu-build-system)
4729 (list libx11 libxext))
4732 (home-page "https://www.x.org/wiki/")
4733 (synopsis "Xorg Print Client library")
4734 (description "Xorg Print Client library.")
4735 (license license:x11)))
4738 (define-public libxrender
4746 "mirror://xorg/individual/lib/libXrender-"
4751 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
4752 (build-system gnu-build-system)
4755 (list "--disable-static" ,@(malloc0-flags))
4756 ,@(if (and (%current-target-system)
4759 (modify-phases %standard-phases
4760 (add-after 'unpack 'update-config
4761 (lambda* (#:key native-inputs #:allow-other-keys)
4763 (search-input-file native-inputs "/bin/config.sub") ".")
4765 (search-input-file native-inputs "/bin/config.guess") ".")))))
4773 (if (and (%current-target-system)
4778 (home-page "https://www.x.org/wiki/")
4779 (synopsis "Xorg Render Extension library")
4780 (description "Library for the Render Extension to the X11 protocol.")
4781 (license license:x11)))
4783 (define-public libxtst
4791 "mirror://xorg/individual/lib/libXtst-"
4796 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
4797 (build-system gnu-build-system)
4799 '(#:configure-flags '("--disable-static")))
4801 (list libxi xorgproto))
4806 (home-page "https://www.x.org/wiki/")
4807 (synopsis "Xorg library for Xtest and Record extensions")
4809 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4812 The XTEST extension is a minimal set of client and server extensions
4813 required to completely test the X11 server with no user intervention. This
4814 extension is not intended to support general journaling and playback of user
4817 The RECORD extension supports the recording and reporting of all core X
4818 protocol and arbitrary X extension protocol.")
4819 (license license:x11)))
4821 (define-public libxv
4829 "mirror://xorg/individual/lib/libXv-"
4834 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
4835 (build-system gnu-build-system)
4837 `(#:configure-flags '(,@(malloc0-flags) "--disable-static")))
4841 (list libxext libx11))
4844 (home-page "https://www.x.org/wiki/")
4845 (synopsis "Xorg XVideo Extension library")
4846 (description "Library for the X Video Extension to the X11 protocol.")
4847 (license license:x11)))
4849 (define-public mkfontdir
4857 "mirror://xorg/individual/app/mkfontdir-"
4862 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4863 (build-system gnu-build-system)
4866 (modify-phases %standard-phases
4867 (add-after 'unpack 'fix-configure
4868 (lambda* (#:key inputs native-inputs #:allow-other-keys)
4869 ;; Replace outdated config.sub and config.guess:
4870 (for-each (lambda (file)
4871 (install-file (string-append
4873 (or native-inputs inputs) "automake")
4875 ,(version-major+minor
4876 (package-version automake))
4878 '("config.sub" "config.guess"))
4880 (add-after 'install 'wrap-mkfontdir
4881 (lambda* (#:key inputs outputs #:allow-other-keys)
4882 (wrap-program (string-append (assoc-ref outputs "out")
4886 (search-input-file inputs "/bin/mkfontscale"))))))))))
4890 (list pkg-config automake)) ;For up to date 'config.guess' and 'config.sub'.
4891 (home-page "https://www.x.org/wiki/")
4892 (synopsis "Create an index of X font files in a directory")
4894 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
4895 server core font system. The current implementation is a simple wrapper
4896 script around the mkfontscale program.")
4897 (license license:x11)))
4899 (define-public xproto
4907 "mirror://xorg/individual/proto/xproto-"
4912 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
4913 (build-system gnu-build-system)
4915 (list util-macros)) ; to get util-macros in (almost?) all package inputs
4918 (home-page "https://www.x.org/wiki/")
4919 (synopsis "Xorg X11Proto protocol headers")
4921 "XProto provides the headers and specification documents defining
4922 the X Window System Core Protocol, Version 11.
4924 It also includes a number of headers that aren't purely protocol related,
4925 but are depended upon by many other X Window System packages to provide
4926 common definitions and porting layer.")
4927 (license license:x11)
4928 (properties `((superseded . ,xorgproto)))))
4930 ;; packages of height 2 in the propagated-inputs tree
4932 (define-public libice
4940 "mirror://xorg/individual/lib/libICE-"
4945 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
4946 (build-system gnu-build-system)
4948 '(#:configure-flags '("--disable-static")))
4952 (list libbsd xtrans))
4955 (home-page "https://www.x.org/wiki/")
4956 (synopsis "Xorg Inter-Client Exchange library")
4957 (description "Xorg Inter-Client Exchange library.")
4958 (license license:x11)))
4961 (define-public libxau
4969 "mirror://xorg/individual/lib/libXau-"
4974 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
4975 (build-system gnu-build-system)
4977 '(#:configure-flags '("--disable-static")))
4982 (home-page "https://www.x.org/wiki/")
4983 (synopsis "Xorg Authorization library")
4985 "libXau provides an authorization library for individual access to
4986 an X Window System display.")
4987 (license license:x11)))
4989 (define-public libxfixes
4997 "mirror://xorg/individual/lib/libXfixes-"
5002 "0k2v4i4r24y3kdr5ici1qqhp69djnja919xfqp54c2rylm6s5hd7"))))
5003 (build-system gnu-build-system)
5005 '(#:configure-flags '("--disable-static")))
5012 (home-page "https://www.x.org/wiki/")
5013 (synopsis "Xorg Fixes Extension library")
5014 (description "Library for the XFixes Extension to the X11 protocol.")
5015 (license license:x11)))
5017 (define-public libxfont
5025 "mirror://xorg/individual/lib/libXfont-"
5030 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
5031 (build-system gnu-build-system)
5033 '(#:configure-flags '("--disable-static")))
5035 (list freetype libfontenc xorgproto))
5040 (home-page "https://www.x.org/wiki/")
5041 (synopsis "Xorg Font handling library")
5043 "libXfont provides the core of the legacy X11 font system, handling the
5044 index files (fonts.dir, fonts.alias, fonts.scale), the various font file
5045 formats, and rasterizing them. It is used by the X servers, the X Font
5046 Server (xfs), and some font utilities (bdftopcf for instance), but should
5047 not be used by normal X11 clients. X11 clients access fonts via either the
5048 new API's in libXft, or the legacy API's in libX11.")
5049 (license license:x11)))
5051 (define-public libxfont2
5057 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
5058 version ".tar.bz2"))
5061 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
5063 (define-public libxi
5071 "mirror://xorg/individual/lib/libXi-"
5076 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
5077 (build-system gnu-build-system)
5078 (outputs '("out" "doc")) ;man pages represent 28% of the total
5080 `(#:configure-flags (list "--disable-static"
5081 (string-append "--mandir="
5082 (assoc-ref %outputs "doc")
5084 ,@(malloc0-flags))))
5086 (list xorgproto libx11 libxext libxfixes))
5089 (home-page "https://www.x.org/wiki/")
5090 (synopsis "Xorg Input Extension library")
5091 (description "Library for the XInput Extension to the X11 protocol.")
5092 (license license:x11)))
5094 (define-public libxrandr
5102 "mirror://xorg/individual/lib/libXrandr-"
5107 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
5108 (build-system gnu-build-system)
5110 `(#:configure-flags '("--disable-static" ,@(malloc0-flags))))
5112 ;; In accordance with xrandr.pc.
5113 (list libx11 libxext libxrender xorgproto))
5116 (home-page "https://www.x.org/wiki/")
5117 (synopsis "Xorg Resize and Rotate Extension library")
5119 "Library for the Resize and Rotate Extension to the X11 protocol.")
5120 (license license:x11)))
5122 (define-public libxvmc
5130 "mirror://xorg/individual/lib/libXvMC-"
5135 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
5136 (build-system gnu-build-system)
5138 `(#:configure-flags '(,@(malloc0-flags) "--disable-static")))
5142 (list xorgproto libxext libx11))
5145 (home-page "https://www.x.org/wiki/")
5146 (synopsis "Xorg XvMC library")
5147 (description "Xorg XvMC library.")
5148 (license license:x11)))
5150 (define-public libxxf86vm
5158 "mirror://xorg/individual/lib/libXxf86vm-"
5163 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
5164 (build-system gnu-build-system)
5166 `(#:configure-flags '("--disable-static" ,@(malloc0-flags))))
5168 (list libxext xorgproto))
5173 (home-page "https://www.x.org/wiki/")
5174 (synopsis "Xorg XF86 Video Mode Extension library")
5176 "Library for the XFree86 Video Mode Extension Extension to the X11
5178 (license license:x11)))
5181 ;; packages of height 3 in the propagated-inputs tree
5183 (define-public libxcb
5190 (uri (string-append "https://xcb.freedesktop.org/dist/"
5191 "libxcb-" version ".tar.xz"))
5194 "0d2chjgyn5lr9sfhacfvqgnj9l9faz11vn322a06jd6lk3dxcpm5"))))
5195 (build-system gnu-build-system)
5196 (outputs '("out" "doc")) ;5.5 MiB of man pages
5198 (list libpthread-stubs libxau libxdmcp))
5200 (list xcb-proto libxslt))
5202 `(("pkg-config" ,pkg-config)
5203 ("python" ,python-minimal-wrapper)))
5205 `(#:configure-flags (list "--enable-xkb"
5207 (string-append "--mandir="
5208 (assoc-ref %outputs "doc")
5210 (home-page "https://xcb.freedesktop.org/")
5211 (synopsis "The X C Binding (XCB) library")
5213 "libxcb provides an interface to the X Window System protocol,
5214 which replaces the current Xlib interface. It has several advantages
5215 over Xlib, including:
5217 - size: small, simple library, and lower memory footprint;
5219 - latency hiding: batch several requests and wait for the replies later;
5221 - direct protocol access: interface and protocol correspond exactly;
5223 - proven thread support: transparently access XCB from multiple threads;
5225 - easy extension implementation: interfaces auto-generated from XML-XCB.")
5226 (license license:x11)))
5228 (define-public libxcvt
5234 (uri (string-append "https://www.x.org/releases/individual"
5235 "/lib/libxcvt-" version ".tar.xz"))
5238 "0acc7vrj5kfb19zvyl7f29rnsvx383dvwc19k70r8prm1lccxsr7"))))
5239 (build-system meson-build-system)
5240 (home-page "https://gitlab.freedesktop.org/xorg/lib/libxcvt")
5241 (synopsis "VESA Coordinated Video Timings (CVT) library")
5242 (description "@code{libxcvt} is a library providing a standalone version
5243 of the X server implementation of the VESA Coordinated Video Timings (CVT)
5244 standard timing modelines generator. @code{libxcvt} also provides a
5245 standalone version of the command line tool @command{cvt} copied from the Xorg
5246 implementation and is meant to be a direct replacement to the version provided
5247 by the Xorg server.")
5248 (license license:x11)))
5250 (define-public xorg-server
5252 (name "xorg-server")
5257 (uri (string-append "https://xorg.freedesktop.org/archive/individual"
5258 "/xserver/xorg-server-" version ".tar.xz"))
5261 "1c4dgvpv3kib8rhw37b00vc056nlb1z66c2lwzs4prz8kxmg82y2"))
5265 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5266 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5270 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5271 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5274 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5275 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
5276 (build-system gnu-build-system)
5278 ;; The following libraries are required by xorg-server.pc.
5279 (list libpciaccess libxcvt mesa pixman xorgproto))
5284 ("libepoxy" ,libepoxy)
5285 ("libgcrypt" ,libgcrypt)
5288 ("libxdmcp" ,libxdmcp)
5289 ("libxfixes" ,libxfixes)
5290 ("libxfont2" ,libxfont2)
5291 ("libxkbfile" ,libxkbfile)
5292 ("libxrender" ,libxrender)
5293 ("libxres" ,libxres)
5294 ("libxshmfence" ,libxshmfence)
5297 ("xkbcomp" ,xkbcomp)
5298 ("xkeyboard-config" ,xkeyboard-config)
5301 ;; Inputs for Xephyr
5302 ("xcb-util" ,xcb-util)
5303 ("xcb-util-image" ,xcb-util-image)
5304 ("xcb-util-keysyms" ,xcb-util-keysyms)
5305 ("xcb-util-renderutil" ,xcb-util-renderutil)
5306 ("xcb-util-wm" ,xcb-util-wm)))
5308 `(("python" ,python-wrapper)
5309 ("pkg-config" ,pkg-config)))
5312 (list (string-append "--with-xkb-path="
5313 (assoc-ref %build-inputs "xkeyboard-config")
5315 (string-append "--with-xkb-output="
5316 "/tmp") ; FIXME: This is a bit doubtful; where should
5317 ; the compiled keyboard maps go?
5318 (string-append "--with-xkb-bin-directory="
5319 (assoc-ref %build-inputs "xkbcomp")
5321 ;; By default, it ends up with invalid '${prefix}/...', causes:
5322 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5323 ;; It's not used anyway, so set it to empty.
5324 "--with-default-font-path="
5326 ;; Enable the X security extensions (ssh -X).
5327 "--enable-xcsecurity"
5329 ;; The default is to use "uname -srm", which captures the kernel
5330 ;; version and makes builds non-reproducible.
5331 "--with-os-name=GNU"
5332 "--with-os-vendor=Guix" ; not strictly needed, but looks nice
5334 ;; For the log file, etc.
5335 "--localstatedir=/var"
5340 (modify-phases %standard-phases
5341 (add-before 'configure 'pre-configure
5343 (substitute* (find-files "." "\\.c$")
5344 (("/bin/sh") (which "sh")))
5346 ;; Don't try to 'mkdir /var'.
5347 (substitute* "hw/xfree86/Makefile.in"
5348 (("\\$\\(MKDIR_P\\).*logdir.*")
5351 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5353 (substitute* "configure"
5354 (("^BUILD_DATE=.*$")
5355 "BUILD_DATE=19700101\n")
5356 (("^BUILD_TIME=.*$")
5357 "BUILD_TIME=000001\n")))))))
5358 (home-page "https://www.x.org/wiki/")
5359 (synopsis "Xorg implementation of the X Window System")
5361 "This package provides the Xorg X server itself.
5362 The X server accepts requests from client programs to create windows, which
5363 are (normally rectangular) 'virtual screens' that the client program can
5366 Windows are then composed on the actual screen by the X server (or by a
5367 separate composite manager) as directed by the window manager, which usually
5368 communicates with the user via graphical controls such as buttons and
5369 draggable titlebars and borders.")
5370 (license license:x11)))
5372 ;; This package is intended to be used when building GTK+.
5373 ;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5374 ;; packages with the same name and version.
5375 (define-public xorg-server-for-tests
5378 (inherit xorg-server)
5383 (uri (string-append "https://xorg.freedesktop.org/archive/individual"
5384 "/xserver/xorg-server-" version ".tar.xz"))
5387 "0md7dqsc5qb30gym06c4zc2cjsdc5ps8nywk1bkcpix05kppybkq"))
5391 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5392 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5396 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5397 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5400 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5401 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff")))))))))
5403 (define-public eglexternalplatform
5405 (name "eglexternalplatform")
5412 (url "https://github.com/NVIDIA/eglexternalplatform")
5415 (git-file-name name version))
5417 (base32 "0lr5s2xa1zn220ghmbsiwgmx77l156wk54c7hybia0xpr9yr2nhb"))))
5418 (build-system copy-build-system)
5421 (modify-phases %standard-phases
5422 (add-after 'unpack 'patch-pkgconfig
5423 (lambda* (#:key outputs #:allow-other-keys)
5424 (substitute* "eglexternalplatform.pc"
5426 (assoc-ref outputs "out")))))
5427 (add-after 'install 'revise
5428 (lambda* (#:key outputs #:allow-other-keys)
5429 (let* ((out (assoc-ref outputs "out")))
5430 (mkdir-p (string-append out "/include/EGL"))
5432 (string-append out "/interface")
5433 (string-append out "/include/EGL"))
5434 (mkdir-p (string-append out "/share/pkgconfig"))
5436 (string-append out "/eglexternalplatform.pc")
5437 (string-append out "/share/pkgconfig/eglexternalplatform.pc"))
5438 (for-each delete-file-recursively
5440 (string-append out "/samples")
5441 (string-append out "/COPYING")
5442 (string-append out "/README.md")))))))))
5443 (synopsis "EGL External Platform interface")
5444 (description "EGLExternalPlatform is an specification of the EGL External
5445 Platform interface for writing EGL platforms and their interactions with modern
5446 window systems on top of existing low-level EGL platform implementations. This
5447 keeps window system implementation specifics out of EGL drivers by using
5448 application-facing EGL functions.")
5449 (home-page "https://github.com/NVIDIA/eglexternalplatform")
5450 (license license:expat)))
5452 (define-public egl-wayland
5454 (name "egl-wayland")
5460 (url "https://github.com/NVIDIA/egl-wayland")
5462 (file-name (git-file-name name version))
5464 (base32 "1iz86cpc4v7izckrcslllnw0vvvgsxg1sr65yb8s9d0f8xa8djdd"))))
5465 (build-system meson-build-system)
5467 (list libglvnd ;needed for headers
5468 mesa-headers pkg-config))
5470 (list mesa wayland wayland-protocols))
5472 (list eglexternalplatform))
5473 (synopsis "EGLStream-based Wayland external platform")
5474 (description "EGL-Wayland is an implementation of a EGL External Platform
5475 library to add client-side Wayland support to EGL on top of EGLDevice and
5476 EGLStream families of extensions.")
5477 (home-page "https://github.com/NVIDIA/egl-wayland")
5478 (license license:expat)))
5480 (define-public xorg-server-xwayland
5482 (name "xorg-server-xwayland")
5487 (uri (string-append "https://xorg.freedesktop.org/archive/individual"
5488 "/xserver/xwayland-" version ".tar.xz"))
5491 "18pqvg76grbsyxa3mm3j06i1l8cwb28nbn2gcnqpsk7x75zpbhpb"))))
5492 (inputs (list font-dejavu
5510 (native-inputs (list pkg-config))
5511 (build-system meson-build-system)
5514 (list "-Dxwayland_eglstream=true"
5515 (string-append "-Dxkb_dir="
5516 (assoc-ref %build-inputs "xkeyboard-config")
5518 (string-append "-Dxkb_bin_dir="
5519 (assoc-ref %build-inputs "xkbcomp") "/bin")
5520 ;; The build system insist on providing a default font path; give
5521 ;; that of dejavu, the same used for our fontconfig package.
5522 (string-append "-Ddefault_font_path="
5523 (assoc-ref %build-inputs "font-dejavu")
5525 "-Dxkb_output_dir=/tmp"
5526 (format #f "-Dbuilder_string=\"Build ID: ~a ~a\"" ,name ,version)
5530 ;; For the log file, etc.
5531 "--localstatedir=/var")
5532 #:phases (modify-phases %standard-phases
5533 (add-after 'unpack 'patch-/bin/sh
5535 (substitute* (find-files "." "\\.c$")
5536 (("/bin/sh") (which "sh"))))))))
5537 (synopsis "Xorg server with Wayland backend")
5538 (description "Xwayland is an X server for running X clients under
5540 (home-page "https://www.x.org/wiki/")
5541 (license license:x11)))
5544 ;; packages of height 4 in the propagated-inputs tree
5546 (define-public libx11
5553 (uri (string-append "https://xorg.freedesktop.org/archive/"
5554 "/individual/lib/libX11-" version ".tar.xz"))
5557 "1289nvs52q9fnp7zl30bdpbvqggnjjb39vy0zll511zvcrr43z9g"))))
5558 (build-system gnu-build-system)
5560 "doc")) ;8 MiB of man pages + XML
5563 (list (string-append "--mandir="
5564 (assoc-ref %outputs "doc")
5567 ,@(malloc0-flags))))
5569 (list xorgproto libxcb))
5573 (list pkg-config xorgproto))
5574 (home-page "https://www.x.org/wiki/")
5575 (synopsis "Xorg Core X11 protocol client library")
5576 (description "Xorg Core X11 protocol client library.")
5577 (license license:x11)))
5579 ;; packages of height 5 in the propagated-inputs tree
5581 (define-public libxcursor
5589 "mirror://xorg/individual/lib/libXcursor-"
5594 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
5595 (build-system gnu-build-system)
5597 '(#:configure-flags '("--disable-static")))
5599 (list libx11 libxrender libxfixes xorgproto))
5602 ;; FIXME: The search path below won't be very effective until the bugs
5603 ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138> are solved.
5604 (native-search-paths
5605 (list (search-path-specification
5606 (variable "XCURSOR_PATH")
5607 (files '("share/icons")))))
5608 (home-page "https://www.x.org/wiki/")
5609 (synopsis "Xorg Cursor management library")
5610 (description "Xorg Cursor management library.")
5611 (license license:x11)))
5613 (define-public libxt
5621 "mirror://xorg/individual/lib/libXt-"
5626 "0q1x7842r8rcn2m0q4q9f69h4qa097fyizs8brzx5ns62s7w1737"))
5627 (patches (search-patches "libxt-guix-search-paths.patch"))))
5628 (build-system gnu-build-system)
5630 "doc")) ;2 MiB of man pages + XML
5633 (list (string-append "--mandir="
5634 (assoc-ref %outputs "doc")
5637 ,@(malloc0-flags))))
5639 (list libx11 libice libsm))
5644 (home-page "https://www.x.org/wiki/")
5645 (synopsis "Xorg XToolkit Intrinsics library")
5646 (description "Xorg XToolkit Intrinsics library.")
5647 (license license:x11)))
5650 (define-public libxaw
5658 "mirror://xorg/individual/lib/libXaw-"
5663 "13kg59r3086383g1dyhnwxanhp2frssh9062mrgn34nzlf7gkbkn"))))
5664 (build-system gnu-build-system)
5666 '(#:configure-flags '("--disable-static")))
5668 (list libxext libxmu libxpm libxt))
5673 (home-page "https://www.x.org/wiki/")
5674 (synopsis "Xorg Xaw library")
5676 "Xaw is the X Athena Widget Set based on the X Toolkit
5677 Intrinsics (Xt) Library.")
5678 (license license:x11)))
5687 (uri (string-append "mirror://xorg/individual/app/twm-"
5691 "1r5gfv1gvcjn39v7n6znpnvifwhlw2zf8gfrxq8vph84vva03wma"))))
5692 (build-system gnu-build-system)
5694 (list libxt libxmu libxext xorgproto))
5696 (list bison pkg-config))
5697 (home-page "https://www.x.org/wiki/")
5698 (synopsis "Tab Window Manager for the X Window System")
5699 (description "Twm is a window manager for the X Window System.
5700 It provides titlebars, shaped windows, several forms of icon management,
5701 user-defined macro functions, click-to-type and pointer-driven
5702 keyboard focus, and user-specified key and pointer button bindings.")
5703 (license license:x11)))
5705 (define-public xcb-util
5711 (uri (string-append "mirror://xorg/individual/xcb/"
5712 name "-" version ".tar.bz2"))
5715 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
5716 (build-system gnu-build-system)
5718 '(#:configure-flags '("--disable-static")))
5723 (home-page "https://cgit.freedesktop.org/xcb/util/")
5724 (synopsis "Core XCB utility functions")
5726 "The XCB util module provides a number of libraries which sit on
5727 top of libxcb, the core X protocol library, and some of the extension
5728 libraries. These experimental libraries provide convenience functions
5729 and interfaces which make the raw X protocol more usable. Some of the
5730 libraries also provide client-side code which is not strictly part of
5731 the X protocol but which has traditionally been provided by Xlib.
5733 The XCB util module provides the following libraries:
5735 - aux: Convenient access to connection setup and some core requests.
5737 - atom: Standard core X atom constants and atom caching.
5739 - event: Some utilities that have little to do with events any more.")
5740 (license license:x11)))
5743 (define-public xcb-util-cursor
5745 (name "xcb-util-cursor")
5749 (uri (string-append "https://xcb.freedesktop.org/dist/"
5750 "xcb-util-cursor-" version ".tar.bz2"))
5753 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
5754 (build-system gnu-build-system)
5756 '(#:configure-flags '("--disable-static")))
5758 (list m4 pkg-config))
5762 (list xcb-util-renderutil xcb-util-image))
5763 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
5764 (synopsis "Port of libxcursor")
5765 (description "XCB-util-cursor is a port of libxcursor.")
5767 ; expat license with added clause regarding advertising
5768 (license:non-copyleft
5770 "See COPYING in the distribution."))))
5772 (define-public xcb-util-errors
5773 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5776 (name "xcb-util-errors")
5777 (version (git-version "1.0" revision commit))
5781 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5784 (file-name (git-file-name name version))
5787 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5788 (build-system gnu-build-system)
5791 (list util-macros xcb-proto))
5795 `(("autoconf" ,autoconf)
5796 ("automake" ,automake)
5797 ("libtool" ,libtool)
5798 ("python" ,python-wrapper)
5799 ("pkg-config" ,pkg-config)))
5802 (modify-phases %standard-phases
5805 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5806 ;; would try to run ./configure and fail due to unpatched
5808 (invoke "autoreconf" "-v" "--install"))))))
5809 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5810 (synopsis "XCB helper library for printing information about X11 errors")
5812 "The XCB util module provides a number of libraries which sit on
5813 top of libxcb, the core X protocol library, and some of the extension
5814 libraries. These experimental libraries provide convenience functions
5815 and interfaces which make the raw X protocol more usable. Some of the
5816 libraries also provide client-side code which is not strictly part of
5817 the X protocol but which has traditionally been provided by Xlib.
5819 The XCB util-errors module provides a utility library that gives human
5820 readable names to error codes, event codes, and also to major and minor
5822 (license license:x11))))
5824 (define-public xcb-util-image
5826 (name "xcb-util-image")
5830 (uri (string-append "mirror://xorg/individual/xcb/"
5831 name "-" version ".tar.bz2"))
5834 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
5835 (build-system gnu-build-system)
5837 '(#:configure-flags '("--disable-static")))
5844 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
5845 (synopsis "XCB port of Xlib's XImage and XShmImage")
5847 "The XCB util module provides a number of libraries which sit on
5848 top of libxcb, the core X protocol library, and some of the extension
5849 libraries. These experimental libraries provide convenience functions
5850 and interfaces which make the raw X protocol more usable. Some of the
5851 libraries also provide client-side code which is not strictly part of
5852 the X protocol but which has traditionally been provided by Xlib.
5854 The XCB util-image module provides the following library:
5856 - image: Port of Xlib's XImage and XShmImage functions.")
5857 (license license:x11)))
5860 (define-public xcb-util-keysyms
5862 (name "xcb-util-keysyms")
5866 (uri (string-append "mirror://xorg/individual/xcb/"
5867 name "-" version ".tar.bz2"))
5870 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
5871 (build-system gnu-build-system)
5873 '(#:configure-flags '("--disable-static")))
5878 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
5879 (synopsis "Standard X constants and conversion to/from keycodes")
5881 "The XCB util module provides a number of libraries which sit on
5882 top of libxcb, the core X protocol library, and some of the extension
5883 libraries. These experimental libraries provide convenience functions
5884 and interfaces which make the raw X protocol more usable. Some of the
5885 libraries also provide client-side code which is not strictly part of
5886 the X protocol but which has traditionally been provided by Xlib.
5888 The XCB util-keysyms module provides the following library:
5890 - keysyms: Standard X key constants and conversion to/from keycodes.")
5891 (license license:x11)))
5894 (define-public xcb-util-renderutil
5896 (name "xcb-util-renderutil")
5900 (uri (string-append "mirror://xorg/individual/xcb/"
5901 name "-" version ".tar.bz2"))
5904 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
5905 (build-system gnu-build-system)
5907 '(#:configure-flags '("--disable-static")))
5912 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
5913 (synopsis "Convenience functions for the Render extension")
5915 "The XCB util module provides a number of libraries which sit on
5916 top of libxcb, the core X protocol library, and some of the extension
5917 libraries. These experimental libraries provide convenience functions
5918 and interfaces which make the raw X protocol more usable. Some of the
5919 libraries also provide client-side code which is not strictly part of
5920 the X protocol but which has traditionally been provided by Xlib.
5922 The XCB util-renderutil module provides the following library:
5924 - renderutil: Convenience functions for the Render extension.")
5925 (license license:x11)))
5928 (define-public xcb-util-wm
5930 (name "xcb-util-wm")
5934 (uri (string-append "mirror://xorg/individual/xcb/"
5935 name "-" version ".tar.bz2"))
5938 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
5939 (build-system gnu-build-system)
5941 '(#:configure-flags '("--disable-static")))
5945 (list m4 pkg-config))
5946 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
5947 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
5949 "The XCB util modules provides a number of libraries which sit on
5950 top of libxcb, the core X protocol library, and some of the extension
5951 libraries. These experimental libraries provide convenience functions
5952 and interfaces which make the raw X protocol more usable. Some of the
5953 libraries also provide client-side code which is not strictly part of
5954 the X protocol but which has traditionally been provided by Xlib.
5956 The XCB util-wm module provides the following libraries:
5958 - ewmh: Both client and window-manager helpers for EWMH.
5960 - icccm: Both client and window-manager helpers for ICCCM.")
5961 (license license:x11)))
5963 (define-public xinit
5969 (uri (string-append "mirror://xorg/individual/app/xinit-"
5970 version ".tar.bz2"))
5973 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
5974 (build-system gnu-build-system)
5976 (list xorgproto libx11))
5981 (home-page "https://www.x.org/")
5982 (synopsis "Commands to start the X Window server")
5984 "The xinit program is used to start the X Window System server and a
5985 first client program on systems that are not using a display manager such as
5986 xdm. This package also provides the @code{startx} command, which provides a
5987 user-friendly mechanism to start the X server.")
5988 (license license:x11)))
5990 ;; package outside the x.org system proper of height 5
5992 (define-public libxaw3d
6000 "mirror://xorg/individual/lib/libXaw3d-"
6005 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
6006 (build-system gnu-build-system)
6008 (list libxext libxmu libxt))
6013 (home-page "https://www.x.org/wiki/")
6014 (synopsis "Xorg Xaw3d library")
6016 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
6017 Intrinsics (Xt) Library.")
6018 (license license:x11)))
6020 (define-public libxpresent
6022 (name "libxpresent")
6026 (uri "mirror://xorg/individual/lib/libXpresent-1.0.0.tar.bz2")
6029 "12kvvar3ihf6sw49h6ywfdiwmb8i1gh8wasg1zhzp6hs2hay06n1"))))
6031 (list libx11 xorgproto libxext libxfixes libxrandr))
6034 (build-system gnu-build-system)
6035 (home-page "https://gitlab.freedesktop.org/xorg/lib/libxpresent")
6036 (synopsis "Xlib-compatible API for the Present extension")
6037 (description "This package provides a Xlib-based library for the X Present
6039 (license license:x11)))
6041 (define-public xclock
6048 (uri (string-append "https://www.x.org/releases/individual/app/"
6049 "xclock-" version ".tar.bz2"))
6051 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
6052 (build-system gnu-build-system)
6055 (list (string-append "--with-appdefaultdir="
6056 %output ,%app-defaults-dir))))
6066 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
6067 (synopsis "Analog / digital clock for X")
6068 (description "The xclock program displays the time in analog or digital
6070 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
6080 "mirror://xorg/individual/app/" name "-"
6085 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
6086 (build-system gnu-build-system)
6089 (list (string-append "--with-appdefaultdir="
6090 %output ,%app-defaults-dir))))
6095 (home-page "https://www.x.org/wiki/")
6096 (synopsis "Display or capture a magnified part of a X11 screen")
6097 (description "Xmag displays and captures a magnified snapshot of a portion
6099 (license license:x11)))
6101 (define-public xmessage
6109 "mirror://xorg/individual/app/" name "-"
6114 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
6115 (build-system gnu-build-system)
6118 (list (string-append "--with-appdefaultdir="
6119 %output ,%app-defaults-dir))))
6124 (home-page "https://www.x.org/wiki/")
6125 (synopsis "Displays a message or query in a window")
6127 "Xmessage displays a message or query in a window. The user can click
6128 on a button to dismiss it or can select one of several buttons
6129 to answer a question. Xmessage can also exit after a specified time.")
6130 (license license:x11)))
6132 (define-public xterm
6140 (string-append "https://invisible-mirror.net/archives/xterm/"
6141 "xterm-" version ".tgz")
6142 (string-append "ftp://ftp.invisible-island.net/xterm/"
6143 "xterm-" version ".tgz")))
6145 (base32 "10lc72spa69n9d7zg9nwhgwz70qzidp5i17jgw3lq3qg1a25sg4n"))
6147 (search-patches "xterm-370-explicit-xcursor.patch"))))
6148 (build-system gnu-build-system)
6150 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
6151 "--enable-i18n" "--enable-doublechars"
6152 "--enable-luit" "--enable-mini-luit"
6153 "X_EXTRA_LIBS=-lXcursor")
6154 #:tests? #f ; no test suite
6156 (modify-phases %standard-phases
6157 (add-after 'build 'patch-file-names
6158 (lambda* (#:key outputs #:allow-other-keys)
6159 (let ((out (assoc-ref outputs "out")))
6160 (substitute* "uxterm"
6161 (("([ `\\|])(sh|sed|awk|xmessage) " _ prefix command)
6162 (string-append prefix (which command) " "))
6163 (("(`|\"|LANG=C )(locale) " _ prefix command)
6164 (string-append prefix (which command) " "))
6166 (string-append "=" out "/bin/xterm")))))))))
6172 ("fontconfig" ,fontconfig)
6173 ("freetype" ,freetype)
6174 ("ncurses" ,ncurses)
6178 ("libXcursor" ,libxcursor)
6179 ("libXext" ,libxext)
6181 ("xorgproto" ,xorgproto)
6182 ("libXaw" ,libxaw)))
6183 (home-page "https://invisible-island.net/xterm/")
6184 (synopsis "Terminal emulator for the X Window System")
6186 "The xterm program is a terminal emulator for the X Window System. It
6187 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
6188 programs that cannot use the window system directly.")
6189 (license license:x11)))
6191 (define-public perl-x11-xcb
6193 (name "perl-x11-xcb")
6198 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
6199 "X11-XCB-" version ".tar.gz"))
6202 "1rn8g0yy82v5zp12rhxic332dvqs63l7mykg028ngvccs7rllipp"))))
6203 (build-system perl-build-system)
6205 '(;; Disable parallel build to prevent a race condition.
6206 #:parallel-build? #f
6208 (modify-phases %standard-phases
6209 (add-before 'configure 'set-perl-search-path
6212 (string-append (getcwd) ":"
6213 (getenv "PERL5LIB")))))
6214 (add-before 'build 'patch-Makefile
6215 (lambda* (#:key inputs #:allow-other-keys)
6216 (substitute* "Makefile"
6217 ;; XXX: Without this hack, attempts at using XCB.so fails with
6218 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
6220 (string-append "LDDLFLAGS = "
6221 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm "))))))
6222 ;; Tests require a running X11 server.
6225 (list perl-extutils-depends perl-extutils-pkgconfig
6226 perl-module-install perl-test-deep perl-test-exception))
6228 (list perl-data-dump
6230 perl-mousex-nativetraits
6234 perl-xs-object-magic))
6236 (list libxcb xcb-proto xcb-util xcb-util-wm))
6237 (home-page "https://metacpan.org/release/X11-XCB")
6238 (synopsis "Perl bindings for libxcb")
6240 "These bindings wrap @code{libxcb} (a C library to speak with X11,
6241 in many cases better than @code{Xlib}), and provides an object oriented
6242 interface to its methods (using @code{Mouse}).")
6243 (license license:perl-license)))
6245 (define-public perl-x11-protocol
6247 (name "perl-x11-protocol")
6252 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
6256 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
6257 (build-system perl-build-system)
6258 (arguments '(#:tests? #f)) ;tests require a running x server
6259 (synopsis "Raw interface to X Window System servers")
6261 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
6262 perl programs to display windows and graphics on X11 servers.")
6263 (home-page "https://metacpan.org/release/X11-Protocol")
6264 ;; From the package README: "you can redistribute and/or modify it under
6265 ;; the same terms as Perl itself. (As an exception, the file
6266 ;; Keysyms.pm,which is derived from a file in the standard X11
6267 ;; distribution, has another, less restrictive copying policy, as do some
6268 ;; of the extension modules in the directory Protocol/Ext: see those files
6270 (license license:perl-license)))
6272 (define-public perl-x11-protocol-other
6274 (name "perl-x11-protocol-other")
6280 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
6283 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
6284 (build-system perl-build-system)
6286 (list perl-encode-hanextra perl-module-util))
6288 (list perl-x11-protocol))
6289 (home-page "https://metacpan.org/release/X11-Protocol-Other")
6290 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
6292 "@code{X11::Protocol::Other} contains window manager related functions for
6293 use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
6294 Conventions Manual) and some of the @dfn{EWMH}
6295 (Extended Window Manager Hints).")
6296 (license license:gpl3+)))
6298 (define-public xcompmgr
6304 ;; There's no current tarball.
6307 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
6308 (commit (string-append "xcompmgr-" version))))
6310 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
6311 (file-name (git-file-name name version))))
6312 (build-system gnu-build-system)
6314 (list pkg-config autoconf automake))
6322 (synopsis "X Compositing manager using RENDER")
6323 (description "xcompmgr is a sample compositing manager for X servers
6324 supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6325 basic eye-candy effects.")
6326 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
6327 (license (license:x11-style
6328 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
6337 (uri (string-append "https://www.xpra.org/src/xpra-"
6340 (base32 "1adp790v9lq3v9pnkyf4skv69n2pd7fjqikzw145swhq9aginh5z"))
6341 (patches (search-patches "xpra-4.2-systemd-run.patch"
6342 "xpra-4.2-install_libs.patch"))))
6343 (build-system python-build-system)
6344 ;; see also http://xpra.org/trac/wiki/Dependencies
6345 (inputs `(("bash-minimal" ,bash-minimal) ; for wrap-program
6346 ;; Essential dependencies.
6347 ("libjpeg" ,libjpeg-turbo)
6348 ("libwebp" ,libwebp)
6351 ("libxrandr" ,libxrandr)
6352 ("libxtst" ,libxtst)
6353 ("libxfixes" ,libxfixes)
6354 ("libxkbfile" ,libxkbfile)
6355 ("libxcomposite" ,libxcomposite)
6356 ("libxdamage" ,libxdamage)
6357 ("libxext" ,libxext)
6358 ("libxres" ,libxres)
6360 ("python-pycairo" ,python-pycairo)
6361 ("python-pygobject" ,python-pygobject)
6363 ("xorg-server" ,xorg-server)
6364 ("xf86-video-dummy" ,xf86-video-dummy)
6365 ("xf86-input-mouse" ,xf86-input-mouse)
6366 ("xf86-input-keyboard" ,xf86-input-keyboard)
6367 ("python-pillow" ,python-pillow)
6368 ;; Optional dependencies.
6369 ("libx264" ,libx264)
6372 ("python-rencode" ,python-rencode) ; For speed.
6373 ("python-numpy" ,python-numpy)
6374 ("python-pyopengl" ,python-pyopengl) ; Drawing acceleration.
6375 ("python-pyopengl-accelerate" ,python-pyopengl-accelerate) ; Same.
6376 ("python-paramiko" ,python-paramiko) ; Tunneling over SSH.
6377 ("python-dbus" ,python-dbus) ; For desktop notifications.
6378 ("dbus" ,dbus) ; For dbus-launch command.
6379 ("python-lz4" ,python-lz4) ; Faster compression than zlib.
6380 ("python-netifaces" ,python-netifaces)))
6381 (native-inputs (list pkg-config pandoc python-cython))
6383 `(#:configure-flags '("--without-Xdummy"
6384 "--without-Xdummy_wrapper"
6387 "--without-strict") ; Ignore compiler warnings.
6388 #:modules ((guix build python-build-system)
6390 #:tests? #f ; Do not run test-cases. This would rebuild all modules and
6391 ; they seem to require python2.
6393 (modify-phases %standard-phases
6394 ;; Must pass the same flags as 'install, otherwise enabled modules may
6397 (lambda* (#:key configure-flags #:allow-other-keys)
6398 (apply invoke (append (list "python" "setup.py" "build")
6400 (add-before 'install 'fix-paths
6401 (lambda* (#:key inputs outputs #:allow-other-keys)
6402 ;; Fix binary paths.
6403 (substitute* '("xpra/scripts/config.py" "xpra/x11/vfb_util.py")
6405 (string-append "\"" (assoc-ref inputs "xorg-server") "/bin/Xvfb\""))
6407 (string-append "\"" (assoc-ref inputs "xorg-server") "/bin/Xorg\""))
6409 (string-append "\"" (assoc-ref inputs "xauth") "/bin/xauth\"")))
6410 ;; Fix directory of config files.
6411 (substitute* '("xpra/scripts/config.py" "xpra/platform/xposix/paths.py")
6412 (("\"/etc/xpra/?\"")
6413 (string-append "\"" (assoc-ref outputs "out") "/etc/xpra/\"")))
6414 ;; XXX: Stolen from (gnu packages linux)
6415 (define (append-to-file name body)
6416 (let ((file (open-file name "a")))
6419 ;; Add Xorg module paths.
6421 "fs/etc/xpra/xorg.conf"
6422 (string-append "\nSection \"Files\"\nModulePath \""
6423 (assoc-ref inputs "xf86-video-dummy") "/lib/xorg/modules,"
6424 (assoc-ref inputs "xf86-input-mouse") "/lib/xorg/modules,"
6425 (assoc-ref inputs "xf86-input-keyboard") "/lib/xorg/modules,"
6426 (assoc-ref inputs "xorg-server") "/lib/xorg/modules\"\n"
6428 (substitute* '("xpra/scripts/config.py"
6429 "fs/etc/xpra/conf.d/60_server.conf.in"
6430 "tests/unittests/unit/server/mixins/notification_test.py")
6431 ;; The trailing -- is intentional, so we only replace it inside
6434 (string-append (search-input-file inputs "/bin/dbus-launch")
6436 ;; /run/user does not exist on guix system
6437 (substitute* "./xpra/scripts/config.py"
6438 (("socket-dir.*: \"\",")
6439 "socket-dir\" : \"~/.xpra\","))
6441 ;; GTK3 will not be found, if GI can’t find its typelibs.
6443 'install 'wrap-program
6444 (lambda* (#:key outputs #:allow-other-keys)
6445 (let ((prog (string-append (assoc-ref outputs "out")
6447 ;; XXX: only export typelibs in inputs
6449 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6451 (home-page "https://www.xpra.org/")
6452 (synopsis "Remote access to individual applications or full desktops")
6453 (description "Xpra is a persistent remote display server and client for
6454 forwarding applications and desktop screens. It gives you remote access to
6455 individual applications or full desktops. On X11, it is also known as
6456 ``@command{screen} for X11'': it allows you to run programs, usually on a
6457 remote host, direct their display to your local machine, and then to
6458 disconnect from these programs and reconnect from the same or another machine,
6459 without losing any state. It can also be used to forward full desktops from
6460 X11 servers, Windows, or macOS.")
6461 (license license:gpl2+)))
6470 (uri (string-append "https://github.com/uim/uim/releases/download/"
6471 version "/uim-" version ".tar.bz2"))
6474 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
6475 (build-system gnu-build-system)
6477 (list anthy libedit libxft m17n-lib ncurses))
6479 `(("emacs" ,emacs-minimal)
6480 ("intltool" ,intltool)
6481 ("pkg-config" ,pkg-config)))
6483 `(#:modules ((guix build gnu-build-system)
6485 (guix build emacs-utils))
6486 #:imported-modules (,@%gnu-build-system-modules
6487 (guix build emacs-utils))
6489 (list "--with-anthy-utf8"
6490 (string-append "--with-lispdir=" %output "/share/emacs")
6491 ;; Set proper runpath
6492 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
6493 "CFLAGS=-O2 -g -fcommon")
6495 (modify-phases %standard-phases
6496 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6497 (add-after 'configure 'configure-uim-el
6498 (lambda* (#:key outputs #:allow-other-keys)
6499 (let ((out (assoc-ref outputs "out")))
6500 (emacs-substitute-variables "emacs/uim-var.el"
6501 ("uim-el-agent" (string-append out "/bin/uim-el-agent"))
6502 ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent"))))
6504 ;; Fix installation path by renaming share/emacs/uim-el to
6505 ;; share/emacs/site-lisp
6506 (add-after 'install 'fix-install-path
6507 (lambda* (#:key outputs #:allow-other-keys)
6508 (let ((share-emacs (string-append (assoc-ref outputs "out")
6510 (rename-file (string-append share-emacs "/uim-el")
6511 (string-append share-emacs "/site-lisp")))
6513 ;; Generate emacs autoloads for uim.el
6514 (add-after 'fix-install-path 'make-autoloads
6515 (lambda* (#:key outputs #:allow-other-keys)
6516 (emacs-generate-autoloads
6517 ,name (string-append (assoc-ref outputs "out")
6518 "/share/emacs/site-lisp"))
6520 (home-page "https://github.com/uim/uim")
6521 (synopsis "Multilingual input method framework")
6522 (description "Uim is a multilingual input method library and environment.
6523 It provides a simple, easily extensible and high code-quality input method
6524 development platform, and useful input method environment for users of desktop
6525 and embedded platforms.")
6526 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6527 license:gpl2+ ; scm/pinyin-big5.scm
6528 license:gpl3+ ; scm/elatin-rules.cm
6529 license:public-domain ; scm/input-parse.scm, scm/match.scm
6530 ;; gtk2/toolbar/eggtrayicon.{ch},
6531 ;; qt3/chardict/kseparator.{cpp,h},
6532 ;; qt3/pref/kseparator.{cpp,h}
6534 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6538 (define-public uim-gtk
6539 (package/inherit uim
6544 ,@(package-inputs uim)))
6546 (substitute-keyword-arguments (package-arguments uim)
6547 ((#:configure-flags configure-flags)
6548 (append configure-flags (list "CFLAGS=-O2 -g -fcommon")))))
6549 (synopsis "Multilingual input method framework (GTK+ support)")))
6551 (define-public uim-qt
6552 (package/inherit uim
6556 ("qtx11extras" ,qtx11extras)
6557 ,@(package-inputs uim)))
6559 (substitute-keyword-arguments (package-arguments uim)
6560 ((#:configure-flags configure-flags)
6561 (append configure-flags (list "--with-qt5-immodule"
6563 "CPPFLAGS=-fcommon")))))
6564 (synopsis "Multilingual input method framework (Qt support)")))
6566 (define-public keynav
6569 (version "0.20110708.0")
6574 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6575 version ".orig.tar.gz"))
6576 (file-name (string-append name "-" version ".tar.gz"))
6579 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6580 (build-system gnu-build-system)
6592 `(#:tests? #f ;No tests.
6594 (modify-phases %standard-phases
6595 (add-after 'unpack 'setenv
6597 (setenv "CC" (which "gcc"))
6599 (add-after 'unpack 'patch-keynav
6601 (substitute* "keynav.c"
6602 (("xdo_symbol_map") "xdo_get_symbol_map")
6603 (("xdo_window_setclass") "xdo_set_window_class")
6604 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6605 (("xdo_click") "xdo_click_window")
6606 (("xdo_mouseup") "xdo_mouse_up")
6607 (("xdo_mousedown") "xdo_mouse_down")
6608 (("xdo_mousemove") "xdo_move_mouse")
6609 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6610 (("xdo_mouselocation") "xdo_get_mouse_location")
6611 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6612 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6613 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6617 (lambda* (#:key outputs #:allow-other-keys)
6618 (let ((out (assoc-ref outputs "out")))
6619 (install-file "keynav" (string-append out "/bin"))
6620 (install-file "keynavrc" (string-append out "/etc")))
6622 (home-page "https://www.semicomplete.com/projects/keynav/")
6623 (synopsis "Keyboard-driven mouse cursor mover")
6625 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6626 cursor to any point on the screen with a few key strokes. It also simulates
6627 mouse click. You can do everything mouse can do with a keyboard.")
6628 (license license:bsd-3)))
6630 (define-public transset
6636 (uri (string-append "https://www.x.org/releases/individual/app/"
6637 name "-" version ".tar.gz"))
6640 "0rya202y87dwl35jnmq8hs3arzdrv5z4vf1xmi0py4rnmhdpszaw"))))
6641 (build-system gnu-build-system)
6644 (inputs (list libxcomposite libxdamage libxrender))
6645 (synopsis "Set the transparency of X11 windows")
6646 (description "@command{transset} is a simple program for X servers
6647 supporting the XFIXES, DAMAGE, and COMPOSITE extensions. It lets the
6648 user set the transparency on a window.")
6649 (home-page "https://gitlab.freedesktop.org/xorg/app/transset")
6650 (license license:x11)))
6652 (define-public bdfresize
6657 ;; Former upstream at
6658 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6659 ;; vanished so use Debian, which in practice is the new
6663 (url "https://salsa.debian.org/debian/bdfresize.git")
6664 (commit (string-append "debian/" version))))
6667 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6668 (modules '((guix build utils)))
6671 (for-each make-file-writable (find-files "."))
6673 ;; Remove broken declaration.
6674 (substitute* "charresize.c"
6675 (("char\t\\*malloc\\(\\);")
6678 ;; Remove old configury that doesn't support modern
6679 ;; command-line options, new architectures, etc.
6680 (for-each delete-file
6681 '("configure" "install-sh"
6682 "missing" "mkinstalldirs"))
6684 (file-name (git-file-name name version))))
6685 (build-system gnu-build-system)
6687 (list pkg-config autoconf automake))
6688 (synopsis "Resize fonts in the BDF format")
6690 "This package provides @command{bdfresize}, a command to magnify or
6691 reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6693 (home-page "https://tracker.debian.org/pkg/bdfresize")
6694 (license license:gpl2+)) )
6696 (define-public console-setup
6698 (name "console-setup")
6704 (url "https://salsa.debian.org/installer-team/console-setup.git")
6707 (base32 "0fj93apsknx3lzbi2025pzr19q1gwnim8g4007aqqkhidc1msgx5"))
6708 (file-name (git-file-name name version))))
6709 (build-system gnu-build-system)
6712 (let ((bash (assoc-ref %build-inputs "bash"))
6713 (out (assoc-ref %outputs "out")))
6714 (list (string-append "SHELL=" bash "/bin/bash")))
6715 #:tests? #f ; no tests
6717 (modify-phases %standard-phases
6719 (add-after 'unpack 'patch-file-names
6721 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6723 (substitute* '("Keyboard/ckbcomp")
6725 (string-append "\"" (which "cat")
6727 (add-before 'build 'make-doubled-bdfs
6728 (lambda* (#:key native-inputs inputs #:allow-other-keys)
6729 (invoke "make" "-C" "Fonts"
6731 (string-append "SHELL="
6732 (assoc-ref (or native-inputs inputs)
6736 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
6737 (let ((out (assoc-ref %outputs "out")))
6738 (invoke "make" "install-linux"
6739 (string-append "prefix=" out)
6740 (string-append "SHELL="
6741 (assoc-ref (or native-inputs inputs)
6748 sharutils ; for 'uuencode'
6751 (list perl)) ; used by 'ckbcomp'
6752 (synopsis "Set up the Linux console font and keyboard")
6754 "console-setup provides the console with the same keyboard
6755 configuration scheme that the X Window System has. In particular, the
6756 @command{ckbcomp} program compiles an XKB keyboard description to a keymap
6757 suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6758 is no need to duplicate or change the console keyboard files just to make
6759 simple customizations.
6761 Besides the keyboard, the package also configures the font on the console. It
6762 includes a rich collection of fonts and supports several languages that would
6763 otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6765 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6767 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6768 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6769 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6770 (license (list license:gpl2+
6773 (define-public xcur2png
6781 (url "https://github.com/eworm-de/xcur2png")
6783 (file-name (git-file-name name version))
6785 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6786 (build-system gnu-build-system)
6790 (list libpng libxcursor))
6791 (synopsis "Decode X cursors")
6793 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6794 a configuration file reusable by xcursorgen.")
6795 (home-page "https://github.com/eworm-de/xcur2png")
6796 (license license:gpl3+)))
6798 (define-public gccmakedep
6805 (uri (string-append "mirror://xorg/individual/util/gccmakedep-"
6806 version ".tar.bz2"))
6808 (base32 "1r1fpy5ni8chbgx7j5sz0008fpb6vbazpy1nifgdhgijyzqxqxdj"))))
6809 (build-system gnu-build-system)
6810 (synopsis "Create dependencies in makefiles using 'gcc -M'")
6812 "@command{gccmakedep} is a deprecated program which calls @code{gcc -M}
6813 to output Makefile rules describing the dependencies of each source file, so
6814 that Make knows which object files must be recompiled when a dependency has
6816 (home-page "https://gitlab.freedesktop.org/xorg/util/gccmakedep")
6817 (license license:x11)))
6819 (define-public xdialog
6825 (uri (string-append "http://xdialog.free.fr/Xdialog-"
6826 version ".tar.bz2"))
6829 "16jqparb33lfq4cvd9l3jgd7fq86fk9gv2ixc8vgqibid6cnhi0x"))))
6834 ("gettext" ,gettext-minimal)
6837 `(#:configure-flags '("--with-gtk2")))
6838 (build-system gnu-build-system)
6839 (home-page "http://xdialog.free.fr/")
6840 (synopsis "Convert a terminal program into a program with an X interface")
6841 (description "X11 replacement for the text util dialog Xdialog is designed
6842 to be a drop-in replacement for the dialog and cdialog programs. It converts
6843 any terminal-based program into a program with an X interface. The dialogs
6844 are easier to see and use, and Xdialog adds more functionality such as a help
6845 button and box, a treeview, an editbox, file and directory selectors, a range
6846 box, and a calendar. It uses GTK+, and will match your desktop theme.")
6847 (license license:gpl2+)))
6849 (define-public xvfb-run
6852 (version "1.20.10-3")
6856 (uri (string-append "mirror://debian/pool/main/x/xorg-server/"
6857 "xorg-server_" version ".diff.gz"))
6859 (base32 "08gs9ni8ss8rw4n9cql1s8q05mj517vk1vm1varj1dsx75k4j25v"))))
6860 (build-system gnu-build-system)
6863 (modify-phases %standard-phases
6865 ;; Apply the source patch to an empty directory.
6866 (lambda* (#:key inputs #:allow-other-keys)
6867 (let* ((source (assoc-ref inputs "source"))
6868 (diff.gz (basename source))
6869 (diff (substring diff.gz 0 (string-rindex diff.gz #\.))))
6872 (copy-file source diff.gz)
6873 (invoke "gunzip" diff.gz)
6874 (invoke "patch" "-Np1" "-i" diff)
6875 (chdir "debian/local"))))
6876 (delete 'configure) ; nothing to configure
6879 (chmod "xvfb-run" #o755)
6880 (substitute* "xvfb-run"
6881 (("(\\(| )(fmt|stty|awk|cat|kill|getopt|mktemp|touch|rm|mcookie)"
6883 (string-append prefix (which command)))
6884 ;; These also feature in UI messages, so be more strict.
6885 (("(AUTHFILE |command -v |exec )(Xvfb|xauth)"
6887 (string-append prefix (which command))))))
6889 ;; There are no tests included. Here we test whether we can run
6890 ;; a simple client and whether xvfb-run --help succeeds
6891 ;; without xvfb-run itself relying on $PATH.
6892 (lambda* (#:key tests? #:allow-other-keys)
6894 (let ((old-PATH (getenv "PATH"))
6895 (xterm (which "xterm")))
6897 (invoke "./xvfb-run" xterm "-e" "true")
6898 (invoke "./xvfb-run" "--help")
6899 (setenv "PATH" old-PATH)))))
6901 (lambda* (#:key outputs #:allow-other-keys)
6902 (let* ((out (assoc-ref outputs "out"))
6903 (bin (string-append out "/bin"))
6904 (man (string-append out "/share/man/man1")))
6905 (install-file "xvfb-run" bin)
6906 (install-file "xvfb-run.1" man)))))))
6908 (list util-linux ; for getopt
6911 (list xterm)) ; for the test
6912 ;; This script is not part of the upstream xorg-server. It is provided only
6913 ;; as a patch added to Debian's package.
6914 (home-page "https://packages.debian.org/sid/xorg-server-source")
6915 (synopsis "Run X11 client or command in a virtual X server environment")
6917 "The @command{xvfb-run} wrapper simplifies running commands and scripts
6918 within a virtual X server environment. It sets up an X authority file or uses
6919 an existing user-specified one, writes a cookie to it, and then starts the
6920 @command{Xvfb} X server as a background process. It also takes care of killing
6921 the server and cleaning up before returning the exit status of the command.")
6922 (license (list license:x11 ; the script
6923 license:gpl2+)))) ; the man page
6925 (define-public setroot
6933 (url "https://github.com/ttzhou/setroot")
6934 (commit (string-append "v" version))))
6935 (file-name (git-file-name name version))
6937 (base32 "0w95828v0splk7bj5kfacp4pq6wxpyamvyjmahyvn5hc3ycq21mq"))))
6938 (build-system gnu-build-system)
6941 (list (string-append "CC=" ,(cc-for-target))
6942 (string-append "DESTDIR=" (assoc-ref %outputs "out"))
6945 #:tests? #f ; no tests
6947 (modify-phases %standard-phases
6948 (delete 'configure))))
6950 (list imlib2 libx11 libxinerama))
6951 (home-page "https://github.com/ttzhou/setroot")
6952 (synopsis "Simple X background setter inspired by imlibsetroot and feh")
6953 (description "Setroot is a lightweight X background setter with feh's
6954 syntax without its image viewing capabilities. It supports multiple monitors
6955 and can restore previously set wallpapers and options.")
6956 (license license:gpl3+)))