1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2017, 2018 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
7 ;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
8 ;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
9 ;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
10 ;;; Copyright © 2016 ng0 <ng0@n0.is>
11 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
12 ;;; Copyright © 2016 David Craven <david@craven.ch>
13 ;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
14 ;;; Copyright © 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
15 ;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
16 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
17 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
18 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
19 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
20 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
21 ;;; Copyright © 2019 nee <nee@cock.li>
22 ;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
24 ;;; This file is part of GNU Guix.
26 ;;; GNU Guix is free software; you can redistribute it and/or modify it
27 ;;; under the terms of the GNU General Public License as published by
28 ;;; the Free Software Foundation; either version 3 of the License, or (at
29 ;;; your option) any later version.
31 ;;; GNU Guix is distributed in the hope that it will be useful, but
32 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 ;;; GNU General Public License for more details.
36 ;;; You should have received a copy of the GNU General Public License
37 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
39 (define-module (gnu packages xorg)
40 #:use-module ((guix licenses) #:prefix license:)
41 #:use-module (guix packages)
42 #:use-module (guix download)
43 #:use-module (guix git-download)
44 #:use-module (guix build-system gnu)
45 #:use-module (guix build-system perl)
46 #:use-module (guix build-system python)
47 #:use-module (guix utils)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages anthy)
50 #:use-module (gnu packages autotools)
51 #:use-module (gnu packages bison)
52 #:use-module (gnu packages check)
53 #:use-module (gnu packages compression)
54 #:use-module (gnu packages emacs)
55 #:use-module (gnu packages flex)
56 #:use-module (gnu packages fontutils)
57 #:use-module (gnu packages freedesktop)
58 #:use-module (gnu packages gettext)
59 #:use-module (gnu packages gl)
60 #:use-module (gnu packages glib)
61 #:use-module (gnu packages gnupg)
62 #:use-module (gnu packages gperf)
63 #:use-module (gnu packages gtk)
64 #:use-module (gnu packages image)
65 #:use-module (gnu packages libbsd)
66 #:use-module (gnu packages libedit)
67 #:use-module (gnu packages linux)
68 #:use-module (gnu packages llvm)
69 #:use-module (gnu packages m4)
70 #:use-module (gnu packages ncurses)
71 #:use-module (gnu packages pciutils)
72 #:use-module (gnu packages perl)
73 #:use-module (gnu packages perl-check)
74 #:use-module (gnu packages pkg-config)
75 #:use-module (gnu packages python)
76 #:use-module (gnu packages python-compression)
77 #:use-module (gnu packages python-crypto)
78 #:use-module (gnu packages python-xyz)
79 #:use-module (gnu packages qt)
80 #:use-module (gnu packages spice)
81 #:use-module (gnu packages video)
82 #:use-module (gnu packages xiph)
83 #:use-module (gnu packages xml)
84 #:use-module (gnu packages xdisorg))
89 ;; packages without propagated input
90 ;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
91 ;; be defined first, the split makes book-keeping easier.)
94 ;; compiles only on macos
95 ;; (define-public applewmproto
99 ;; The xorg-cf-files package contains the data files for the imake utility,
100 ;; defining the known settings for a wide variety of platforms (many of which
101 ;; have not been verified or tested in over a decade), and for many of the
102 ;; libraries formerly delivered in the X.Org monolithic releases.
104 ;; License: x11, see COPYING
107 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
109 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
118 (uri (string-append "mirror://xorg/individual/util/imake-"
121 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
122 (build-system gnu-build-system)
124 `(("pkg-config" ,pkg-config)))
126 `(("xorg-cf-files" ,xorg-cf-files)
127 ("xorgproto" ,xorgproto)))
130 (modify-phases %standard-phases
131 (add-after 'install 'install-data
132 (lambda* (#:key inputs outputs #:allow-other-keys)
133 (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
134 (out (assoc-ref outputs "out"))
135 (unpack (assoc-ref %standard-phases 'unpack))
136 (patch-source-shebangs
137 (assoc-ref %standard-phases 'patch-source-shebangs)))
138 (mkdir "xorg-cf-files")
139 (with-directory-excursion "xorg-cf-files"
140 (apply unpack (list #:source cf-files))
141 (apply patch-source-shebangs (list #:source cf-files))
142 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
143 "linux.cf" "Amoeba.cf" "cygwin.cf")
144 (("/bin/sh") (which "bash")))
145 (invoke "./configure"
146 (string-append "SHELL=" (which "bash"))
147 (string-append "--prefix=" out))
148 (invoke "make" "install"))))))))
149 (home-page "https://www.x.org/")
150 (synopsis "Source code configuration and build system")
152 "Imake is a deprecated source code configuration and build system which
153 has traditionally been supplied by and used to build the X Window System in
154 X11R6 and previous releases. As of the X Window System X11R7 release, the X
155 Window system has switched to using GNU autotools as the primary build system,
156 and the Imake system is now deprecated, and should not be used by new software
157 projects. Software developers are encouraged to migrate software to the GNU
159 (license license:x11)))
168 "mirror://xorg/individual/util/"
169 "lndir-" version ".tar.bz2"))
172 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
173 (build-system gnu-build-system)
175 `(("pkg-config" ,pkg-config)))
177 `(("xorgproto" ,xorgproto)))
178 (home-page "https://www.x.org/")
179 (synopsis "Symlink directory into tree")
180 (description "Create a shadow directory of symbolic links to another
182 (license license:x11)))
184 (define-public bdftopcf
192 "mirror://xorg/individual/app/bdftopcf-"
197 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
198 (build-system gnu-build-system)
200 `(("libxfont" ,libxfont2)))
202 `(("pkg-config" ,pkg-config)))
203 (home-page "https://www.x.org/wiki/")
204 (synopsis "Convert X font from BDF to PCF")
206 "BDFtoPCF is a font compiler for the X server and font server. It
207 converts X font from Bitmap Distribution Format to Portable Compiled Format
208 which can be read by any architecture.")
209 (license license:x11)))
211 (define-public xorgproto
217 (uri (string-append "mirror://xorg/individual/proto/"
218 name "-" version ".tar.bz2"))
221 "180mqkp70i44rkmj430pmn9idssvffrgv4y5h19fm698a7h8bs7y"))))
222 (build-system gnu-build-system)
224 ;; To get util-macros in (almost?) all package inputs.
225 `(("util-macros" ,util-macros)))
226 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
227 (synopsis "Xorg protocol headers")
229 "This package provides the headers and specification documents defining
230 the core protocol and (many) extensions for the X Window System.")
231 (license license:x11)))
233 (define-public bigreqsproto
235 (name "bigreqsproto")
241 "mirror://xorg/individual/proto/bigreqsproto-"
246 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
247 (build-system gnu-build-system)
248 (native-inputs `(("pkg-config" ,pkg-config)))
249 (home-page "https://www.x.org/wiki/")
250 (synopsis "Xorg BigReqsProto protocol headers")
252 "Big Requests Extension defines a protocol to enable the use of
253 requests that exceed 262140 bytes in length.")
254 (license license:x11)
255 (properties `((superseded . ,xorgproto)))))
257 (define-public compositeproto
259 (name "compositeproto")
265 "mirror://xorg/individual/proto/compositeproto-"
270 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
271 (build-system gnu-build-system)
273 `(("xorgproto" ,xorgproto)))
275 `(("pkg-config" ,pkg-config)))
276 (home-page "https://www.x.org/wiki/")
277 (synopsis "Xorg CompositeProto protocol headers")
279 "Composite Extension contains header files and documentation for
280 the damage protocol.")
281 (license license:x11)
282 (properties `((superseded . ,xorgproto)))))
284 (define-public damageproto
292 "mirror://xorg/individual/proto/damageproto-"
297 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
298 (build-system gnu-build-system)
299 (native-inputs `(("pkg-config" ,pkg-config)))
300 (home-page "https://www.x.org/wiki/")
301 (synopsis "Xorg DamageProto protocol headers")
303 "Damage Extension contains header files and documentation for
304 the damage protocol.")
305 (license license:x11)
306 (properties `((superseded . ,xorgproto)))))
308 (define-public dmxproto
316 "mirror://xorg/individual/proto/dmxproto-"
321 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
322 (build-system gnu-build-system)
323 (native-inputs `(("pkg-config" ,pkg-config)))
324 (home-page "https://www.x.org/wiki/")
325 (synopsis "Xorg DMXProto protocol headers")
327 "DMX (Distributed Multihead X) Extension defines a protocol for clients
328 to access a front-end proxy X server that controls multiple back-end X
329 servers making up a large display.")
330 (license license:x11)
331 (properties `((superseded . ,xorgproto)))))
333 (define-public dri2proto
341 "mirror://xorg/individual/proto/dri2proto-"
346 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
347 (build-system gnu-build-system)
348 (home-page "https://www.x.org/wiki/")
349 (synopsis "Xorg DRI2Proto protocol headers")
351 "Direct Rendering Infrastructure 2 Extension defines a protocol to
352 securely allow user applications to access the video hardware without
353 requiring data to be passed through the X server.")
354 (license license:x11)
355 (properties `((superseded . ,xorgproto)))))
357 (define-public dri3proto
365 "mirror://xorg/individual/proto/dri3proto-"
370 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
371 (build-system gnu-build-system)
372 (home-page "https://www.x.org/wiki/")
373 (synopsis "Xorg DRI3Proto protocol headers")
375 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
376 translate between direct rendered buffers and X pixmaps. When combined with
377 the Present extension, a complete direct rendering solution for OpenGL is
379 (license (license:x11-style "file://dri3proto.h"
380 "See 'dri3proto.h' in the distribution."))
381 (properties `((superseded . ,xorgproto)))))
383 (define-public %app-defaults-dir "/lib/X11/app-defaults")
385 (define-public editres
393 "mirror://xorg/individual/app/" name "-"
398 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
399 (build-system gnu-build-system)
402 (list (string-append "--with-appdefaultdir="
403 %output ,%app-defaults-dir))))
409 `(("pkg-config" ,pkg-config)))
410 (home-page "https://www.x.org/wiki/")
411 (synopsis "Tool to browse and edit X Toolkit resource specifications")
413 "Editres is a tool that allows users and application developers to view
414 the full widget hierarchy of any X Toolkit application that speaks the Editres
415 protocol. In addition, editres will help the user construct resource
416 specifications, allow the user to apply the resource to the application and
417 view the results dynamically. Once the user is happy with a resource
418 specification editres will append the resource string to the user's X
420 (license license:x11)))
423 (define-public encodings
431 "mirror://xorg/individual/font/encodings-"
436 "0ffmaw80vmfwdgvdkp6495xgsqszb6s0iira5j0j6pd4i0lk3mnf"))))
437 (build-system gnu-build-system)
439 `(("mkfontscale" ,mkfontscale)))
441 `(("pkg-config" ,pkg-config)))
442 (home-page "https://www.x.org/wiki/")
443 (synopsis "Xorg font encoding files")
444 (description "Xorg font encoding files.")
445 (license license:public-domain)))
447 (define (%xorg-font-origin font version hash)
450 (uri (string-append "mirror://xorg/individual/font/" font "-"
453 (modules '((guix build utils)))
455 ;; Do not include timestamps in '.pcf.gz' files.
457 (substitute* "Makefile.in"
458 (("^COMPRESS = (.*)$" _ rest)
459 (string-append "COMPRESS = " (string-trim-right rest)
463 (define-syntax-rule (xorg-font-origin font version hash)
464 "Expand to the 'origin' form for the given Xorg font package."
465 (%xorg-font-origin font version (base32 hash)))
467 (define-public font-adobe100dpi
469 (name "font-adobe100dpi")
471 (source (xorg-font-origin
472 "font-adobe-100dpi" version
473 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
474 (build-system gnu-build-system)
476 `(("bdftopcf" ,bdftopcf)
477 ("font-util" ,font-util)
478 ("mkfontdir" ,mkfontdir)))
480 `(("pkg-config" ,pkg-config)))
482 `(#:configure-flags (list
483 ;; install fonts into subdirectory of package output instead of
484 ;; font-util-?.?.?/share/fonts/X11
485 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
486 (home-page "https://www.x.org/wiki/")
487 (synopsis "Xorg adobe-100dpi fonts")
488 (description "Xorg adobe-100dpi fonts.")
489 (license license:x11)))
492 (define-public font-adobe75dpi
494 (name "font-adobe75dpi")
496 (source (xorg-font-origin
497 "font-adobe-75dpi" version
498 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
499 (build-system gnu-build-system)
501 `(("bdftopcf" ,bdftopcf)
502 ("font-util" ,font-util)
503 ("mkfontdir" ,mkfontdir)))
505 `(("pkg-config" ,pkg-config)))
507 `(#:configure-flags (list
508 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
509 (home-page "https://www.x.org/wiki/")
510 (synopsis "Xorg adobe-75dpi fonts")
511 (description "Xorg adobe-75dpi fonts.")
512 (license license:x11)))
516 ;; (define-public font-adobe-utopia100dpi
517 ;; (define-public font-adobe-utopia75dpi
518 ;; (define-public font-adobe-utopia-type1
521 (define-public font-alias
525 (source (xorg-font-origin
527 "16ic8wfwwr3jicaml7b5a0sk6plcgc1kg84w02881yhwmqm3nicb"))
528 (build-system gnu-build-system)
529 (native-inputs `(("pkg-config" ,pkg-config)))
531 `(#:phases (modify-phases %standard-phases
533 'install 'install-fonts-dir
534 ;; The X font server will not add directories to the font
535 ;; path unless they contain a "fonts.dir" file, so add some
537 (lambda* (#:key outputs #:allow-other-keys)
538 (let ((out (assoc-ref outputs "out")))
539 (for-each (lambda (d)
540 (call-with-output-file
541 (string-append out "/share/fonts/X11"
545 '("75dpi" "100dpi" "misc" "cyrillic"))
547 (home-page "https://www.x.org/wiki/")
548 (synopsis "Xorg font aliases")
550 "This package provides some common aliases for Xorg fonts.
551 For example: @code{6x10}, @code{9x15bold}, etc.")
552 (license license:x11)))
555 (define-public font-arabic-misc
557 (name "font-arabic-misc")
559 (source (xorg-font-origin
561 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
562 (build-system gnu-build-system)
564 `(("mkfontdir" ,mkfontdir)
565 ("bdftopcf" ,bdftopcf)))
567 `(("pkg-config" ,pkg-config)))
568 (home-page "https://www.x.org/wiki/")
569 (synopsis "Xorg arabic-misc font")
570 (description "Xorg arabic-misc font.")
571 (license license:x11)))
575 ;; (define-public font-bh100dpi
576 ;; (define-public font-bh75dpi
577 ;; (define-public font-bh-lucidatypewriter100dpi
578 ;; (define-public font-bh-lucidatypewriter75dpi
579 ;; (define-public font-bh-ttf
580 ;; (define-public font-bh-type1
581 ;; (define-public font-bitstream100dpi
582 ;; (define-public font-bitstream75dpi
585 (define-public font-cronyx-cyrillic
587 (name "font-cronyx-cyrillic")
589 (source (xorg-font-origin
591 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
592 (build-system gnu-build-system)
594 `(("mkfontdir" ,mkfontdir)
595 ("bdftopcf" ,bdftopcf)))
597 `(("pkg-config" ,pkg-config)))
598 (home-page "https://www.x.org/wiki/")
599 (synopsis "Xorg cronyx-cyrillic font")
600 (description "Xorg cronyx-cyrillic font.")
601 (license license:x11)))
605 ;; (define-public font-cursor-misc
608 ;; (define-public font-daewoo-misc
611 (define-public font-dec-misc
613 (name "font-dec-misc")
615 (source (xorg-font-origin
617 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
618 (build-system gnu-build-system)
620 `(("mkfontdir" ,mkfontdir)
621 ("bdftopcf" ,bdftopcf)))
623 `(("pkg-config" ,pkg-config)))
624 (home-page "https://www.x.org/wiki/")
625 (synopsis "Xorg dec-misc font")
626 (description "Xorg dec-misc font.")
627 (license license:x11)))
631 ;; (define-public font-ibm-type1
633 (define-public font-isas-misc
635 (name "font-isas-misc")
637 (source (xorg-font-origin
639 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
640 (build-system gnu-build-system)
642 `(("mkfontdir" ,mkfontdir)
643 ("bdftopcf" ,bdftopcf)))
645 `(("pkg-config" ,pkg-config)))
646 (home-page "https://www.x.org/wiki/")
647 (synopsis "Xorg isas-misc font")
648 (description "Xorg isas-misc font.")
649 (license license:x11)))
653 ;; (define-public font-jis-misc
656 (define-public font-micro-misc
658 (name "font-micro-misc")
660 (source (xorg-font-origin
662 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
663 (build-system gnu-build-system)
665 `(("mkfontdir" ,mkfontdir)
666 ("bdftopcf" ,bdftopcf)))
668 `(("pkg-config" ,pkg-config)))
669 (home-page "https://www.x.org/wiki/")
670 (synopsis "Xorg micro-misc font")
671 (description "Xorg micro-misc font.")
672 (license license:public-domain)))
675 (define-public font-misc-cyrillic
677 (name "font-misc-cyrillic")
679 (source (xorg-font-origin
681 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
682 (build-system gnu-build-system)
684 `(("mkfontdir" ,mkfontdir)
685 ("bdftopcf" ,bdftopcf)))
687 `(("pkg-config" ,pkg-config)))
688 (home-page "https://www.x.org/wiki/")
689 (synopsis "Xorg misc-cyrillic fonts")
690 (description "Xorg misc-cyrillic fonts.")
691 (license license:x11)))
694 (define-public font-misc-ethiopic
696 (name "font-misc-ethiopic")
698 (source (xorg-font-origin
700 "19cq7iq0pfad0nc2v28n681fdq3fcw1l1hzaq0wpkgpx7bc1zjsk"))
701 (build-system gnu-build-system)
703 `(("mkfontdir" ,mkfontdir)
704 ("mkfontscale" ,mkfontscale)))
706 `(("pkg-config" ,pkg-config)))
707 (home-page "https://www.x.org/wiki/")
708 (synopsis "Xorg misc-ethiopic fonts")
709 (description "Xorg misc-ethiopic fonts.")
710 (license license:x11)))
714 ;; (define-public font-misc-meltho
717 (define-public font-misc-misc
719 (name "font-misc-misc")
721 (source (xorg-font-origin
723 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
724 (build-system gnu-build-system)
726 `(("mkfontdir" ,mkfontdir)
727 ("font-util" ,font-util)
728 ("bdftopcf" ,bdftopcf)))
730 `(("pkg-config" ,pkg-config)))
732 `(#:configure-flags (list
733 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
734 (home-page "https://www.x.org/wiki/")
735 (synopsis "Xorg misc-misc fonts")
736 (description "Xorg misc-misc fixed fonts.")
737 (license license:public-domain)))
740 (define-public font-mutt-misc
742 (name "font-mutt-misc")
744 (source (xorg-font-origin
746 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
747 (build-system gnu-build-system)
749 `(("mkfontdir" ,mkfontdir)
750 ("bdftopcf" ,bdftopcf)))
752 `(("pkg-config" ,pkg-config)))
753 (home-page "https://www.x.org/wiki/")
754 (synopsis "Xorg mutt-misc fonts")
755 (description "Xorg mutt-misc fonts.")
756 (license license:x11)))
759 (define-public font-schumacher-misc
761 (name "font-schumacher-misc")
763 (source (xorg-font-origin
765 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
766 (build-system gnu-build-system)
768 `(("mkfontdir" ,mkfontdir)
769 ("font-util" ,font-util)
770 ("bdftopcf" ,bdftopcf)))
772 `(("pkg-config" ,pkg-config)))
774 `(#:configure-flags (list
775 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
776 (home-page "https://www.x.org/wiki/")
777 (synopsis "Xorg schumacher-misc fonts")
778 (description "Xorg schumacher-misc fonts.")
779 (license license:x11)))
782 (define-public font-screen-cyrillic
784 (name "font-screen-cyrillic")
786 (source (xorg-font-origin
788 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
789 (build-system gnu-build-system)
791 `(("mkfontdir" ,mkfontdir)
792 ("bdftopcf" ,bdftopcf)))
794 `(("pkg-config" ,pkg-config)))
795 (home-page "https://www.x.org/wiki/")
796 (synopsis "Xorg screen-cyrillic fonts")
797 (description "Xorg screen-cyrillic fonts.")
798 (license license:x11)))
801 (define-public font-sony-misc
803 (name "font-sony-misc")
805 (source (xorg-font-origin
807 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
808 (build-system gnu-build-system)
810 `(("mkfontdir" ,mkfontdir)
811 ("bdftopcf" ,bdftopcf)))
813 `(("pkg-config" ,pkg-config)))
814 (home-page "https://www.x.org/wiki/")
815 (synopsis "Xorg sony-misc fonts")
816 (description "Xorg sony-misc fonts.")
817 (license license:x11)))
820 (define-public font-sun-misc
822 (name "font-sun-misc")
824 (source (xorg-font-origin
826 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
827 (build-system gnu-build-system)
829 `(("mkfontdir" ,mkfontdir)
830 ("bdftopcf" ,bdftopcf)))
832 `(("pkg-config" ,pkg-config)))
833 (home-page "https://www.x.org/wiki/")
834 (synopsis "Xorg sun-misc fonts")
835 (description "Xorg sun-misc fonts.")
836 (license license:x11)))
839 (define-public font-util
847 "mirror://xorg/individual/font/font-util-"
852 "08drjb6cf84pf5ysghjpb4i7xkd2p86k3wl2a0jxs1jif6qbszma"))))
853 (build-system gnu-build-system)
854 (native-inputs `(("pkg-config" ,pkg-config)))
855 (home-page "https://www.x.org/wiki/")
856 (synopsis "Xorg font utilities")
858 "Xorg font package creation/installation utilities.")
859 (license license:x11)))
862 (define-public font-winitzki-cyrillic
864 (name "font-winitzki-cyrillic")
866 (source (xorg-font-origin
868 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
869 (build-system gnu-build-system)
871 `(("mkfontdir" ,mkfontdir)
872 ("bdftopcf" ,bdftopcf)))
874 `(("pkg-config" ,pkg-config)))
875 (home-page "https://www.x.org/wiki/")
876 (synopsis "Xorg winitzki-cyrillic font")
877 (description "Xorg winitzki-cyrillic font.")
878 (license license:public-domain)))
881 (define-public font-xfree86-type1
883 (name "font-xfree86-type1")
885 (source (xorg-font-origin
887 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
888 (build-system gnu-build-system)
890 `(("mkfontdir" ,mkfontdir)
891 ("mkfontscale" ,mkfontscale)))
893 `(("pkg-config" ,pkg-config)))
894 (home-page "https://www.x.org/wiki/")
895 (synopsis "Xorg xfree86-type1 font")
896 (description "Xorg xfree86-type1 font.")
897 (license license:x11)))
900 (define-public fontsproto
908 "mirror://xorg/individual/proto/fontsproto-"
913 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
914 (build-system gnu-build-system)
915 (native-inputs `(("pkg-config" ,pkg-config)))
916 (home-page "https://www.x.org/wiki/")
917 (synopsis "Xorg FontsProto protocol headers")
919 "Fonts Extension contains header files and documentation for
920 the fonts protocol.")
921 (license license:x11)
922 (properties `((superseded . ,xorgproto)))))
924 (define-public glproto
932 "mirror://xorg/individual/proto/glproto-"
937 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
938 (build-system gnu-build-system)
939 (native-inputs `(("pkg-config" ,pkg-config)))
940 (home-page "https://www.x.org/wiki/")
941 (synopsis "Xorg GLProto protocol headers")
943 "OpenGL Extension defines a protocol for the client to send 3D
944 rendering commands to the X server.")
945 (license license:x11)
946 (properties `((superseded . ,xorgproto)))))
948 (define-public iceauth
956 "mirror://xorg/individual/app/iceauth-"
961 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
962 (build-system gnu-build-system)
964 `(("libice" ,libice)))
966 `(("pkg-config" ,pkg-config)))
967 (home-page "https://www.x.org/wiki/")
968 (synopsis "ICE authority file utility")
970 "ICEAuth program is used to edit and display the authorization
971 information used in connecting with ICE (Inter-Client Exchange). It
972 operates very much like the xauth program for X11 connection
973 authentication records.")
974 (license license:x11)))
977 (define-public inputproto
985 "mirror://xorg/individual/proto/inputproto-"
990 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
991 (build-system gnu-build-system)
992 (native-inputs `(("pkg-config" ,pkg-config)))
993 (home-page "https://www.x.org/wiki/")
994 (synopsis "Xorg InputProto protocol headers")
996 "Input Extension defines a protocol to provide additional input
997 devices management such as graphic tablets.")
998 (license license:x11)
999 (properties `((superseded . ,xorgproto)))))
1001 (define-public kbproto
1009 "mirror://xorg/individual/proto/kbproto-"
1014 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
1015 (build-system gnu-build-system)
1016 (native-inputs `(("pkg-config" ,pkg-config)))
1017 (home-page "https://www.x.org/wiki/")
1018 (synopsis "Xorg KBProto protocol headers")
1020 "X Keyboard (XKB) Extension defines a protocol to provide a number
1021 of new capabilities and controls for text keyboards.")
1022 (license license:x11)
1023 (properties `((superseded . ,xorgproto)))))
1025 ;; requires applewmproto, which compiles only on macos
1026 ;; (define-public libapplewm
1029 (define-public libdmx
1037 "mirror://xorg/individual/lib/libdmx-"
1042 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
1043 (build-system gnu-build-system)
1045 `(("xorgproto" ,xorgproto)
1046 ("libxext" ,libxext)
1047 ("libx11" ,libx11)))
1049 `(("pkg-config" ,pkg-config)))
1050 (home-page "https://www.x.org/wiki/")
1051 (synopsis "Xorg DMX library")
1053 "DMX (Distributed Multihead X) extension library.")
1054 (license license:x11)))
1057 (define-public libxshmfence
1059 (name "libxshmfence")
1064 "mirror://xorg/individual/lib/"
1065 name "-" version ".tar.bz2"))
1068 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
1069 (build-system gnu-build-system)
1070 (native-inputs `(("pkg-config" ,pkg-config)))
1071 (inputs `(("xorgproto" ,xorgproto)))
1072 (home-page "https://www.x.org/")
1073 (synopsis "Xorg shared memory fences library")
1075 "This library provides an interface to shared-memory fences for
1076 synchronization between the X server and direct-rendering clients.")
1078 ;; Same license as libevdev.
1079 (license (license:x11-style "file://COPYING"))))
1082 (define-public libfontenc
1090 "mirror://xorg/individual/lib/libfontenc-"
1095 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
1096 (build-system gnu-build-system)
1099 ("xorgproto" ,xorgproto)))
1101 `(("pkg-config" ,pkg-config)))
1102 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
1103 (synopsis "Xorg font encoding library")
1104 (description "Xorg font encoding library.")
1105 (license license:x11)))
1108 (define-public libfs
1116 "mirror://xorg/individual/lib/libFS-"
1120 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
1121 (build-system gnu-build-system)
1123 `(("xtrans" ,xtrans)
1124 ("xorgproto" ,xorgproto)))
1126 `(("pkg-config" ,pkg-config)))
1127 (home-page "https://www.x.org/wiki/")
1128 (synopsis "Xorg Font Service client library")
1130 "Font Service client library is used by clients of X Font
1131 Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1133 (license license:x11)))
1136 (define-public libpciaccess
1138 (name "libpciaccess")
1144 "mirror://xorg/individual/lib/libpciaccess-"
1149 "197jbcpvp4z4x6j705mq2y4fsnnypy6f85y8xalgwhgx5bhl7x9x"))))
1150 (build-system gnu-build-system)
1152 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1153 ;; provided by pciutils.
1156 (string-append "--with-pciids-path="
1157 (assoc-ref %build-inputs "pciutils")
1161 (modify-phases %standard-phases
1162 (add-after 'install 'add-L-zlib
1163 (lambda* (#:key inputs outputs #:allow-other-keys)
1164 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1165 (let ((zlib (assoc-ref inputs "zlib"))
1166 (out (assoc-ref outputs "out")))
1167 (substitute* (string-append out "/lib/libpciaccess.la")
1169 (string-append "-L" zlib "/lib -lz")))
1173 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
1175 `(("pkg-config" ,pkg-config)))
1176 (home-page "https://www.x.org/wiki/")
1177 (synopsis "Xorg PCI access library")
1178 (description "Xorg Generic PCI access library.")
1179 (license license:x11)))
1182 (define-public libpthread-stubs
1184 (name "libpthread-stubs")
1190 "mirror://xorg/individual/xcb/libpthread-stubs-"
1195 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
1196 (build-system gnu-build-system)
1197 (native-inputs `(("pkg-config" ,pkg-config)))
1198 (home-page "https://www.x.org/wiki/")
1199 (synopsis "Library with pthread stubs")
1201 "This library provides weak aliases for pthread functions not
1202 provided in libc or otherwise available by default. Libraries like
1203 libxcb rely on pthread stubs to use pthreads optionally, becoming
1204 thread-safe when linked to libpthread, while avoiding any performance
1205 hit when running single-threaded.")
1206 (license license:x11)))
1209 (define-public libsm
1217 "mirror://xorg/individual/lib/libSM-"
1222 "1gc7wavgs435g9qkp9jw4lhmaiq6ip9llv49f054ad6ryp4sib0b"))))
1223 (build-system gnu-build-system)
1225 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
1227 `(("xtrans" ,xtrans)
1228 ("util-linux" ,util-linux)))
1230 `(("pkg-config" ,pkg-config)))
1231 (home-page "https://www.x.org/wiki/")
1232 (synopsis "Xorg Session Management library")
1233 (description "Xorg Session Management library.")
1234 (license license:x11)))
1237 (define-public libwindowswm
1239 (name "libwindowswm")
1245 "mirror://xorg/individual/lib/libWindowsWM-"
1250 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1251 (build-system gnu-build-system)
1253 `(("xorgproto" ,xorgproto)
1254 ("libxext" ,libxext)
1255 ("libx11" ,libx11)))
1257 `(("pkg-config" ,pkg-config)))
1258 (home-page "https://www.x.org/wiki/")
1259 (synopsis "Xorg WindowsWM library")
1261 "Cygwin/X rootless window management extension.
1262 WindowsWM is a simple library designed to interface with the Windows-WM
1263 extension. This extension allows X window managers to better interact
1264 with the Cygwin XWin server when running X11 in a rootless mode.")
1265 (license license:x11)))
1268 (define-public libxcomposite
1270 (name "libxcomposite")
1276 "mirror://xorg/individual/lib/libXcomposite-"
1281 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
1282 (build-system gnu-build-system)
1284 ;; xcomposite.pc refers to all these.
1285 `(("xorgproto" ,xorgproto)
1286 ("libxfixes" ,libxfixes)
1287 ("libx11" ,libx11)))
1289 `(("pkg-config" ,pkg-config)))
1290 (home-page "https://www.x.org/wiki/")
1291 (synopsis "Xorg Composite library")
1293 "Client library for the Composite extension to the X11 protocol.")
1294 (license license:x11)))
1297 (define-public libxdmcp
1305 "mirror://xorg/individual/lib/libXdmcp-"
1310 "1qp4yhxbfnpj34swa0fj635kkihdkwaiw7kf55cg5zqqg630kzl1"))))
1311 (build-system gnu-build-system)
1313 `(("libbsd" ,libbsd)
1314 ("xorgproto" ,xorgproto)))
1316 `(("pkg-config" ,pkg-config)))
1317 (home-page "https://www.x.org/wiki/")
1318 (synopsis "Xorg Display Manager Control Protocol library")
1319 (description "Xorg Display Manager Control Protocol library.")
1320 (license license:x11)))
1323 (define-public libxft
1331 "mirror://xorg/individual/lib/libXft-"
1336 "0k6wzi5rzs0d0n338ms8n8lfyhq914hw4yl2j7553wqxfqjci8zm"))))
1337 (build-system gnu-build-system)
1339 ;; xft.pc refers to all these.
1340 `(("libxrender" ,libxrender)
1341 ("freetype" ,freetype)
1342 ("fontconfig" ,fontconfig)))
1344 `(("libx11" ,libx11)
1345 ("xorgproto" ,xorgproto)))
1347 `(("pkg-config" ,pkg-config)))
1348 (home-page "https://www.x.org/wiki/")
1349 (synopsis "Xorg FreeType library")
1351 "Xorg FreeType library connects X applications with the FreeType font
1352 rasterization library. Xft uses fontconfig to locate fonts so it has no
1353 configuration files.")
1354 (license license:x11)))
1357 (define-public libxkbfile
1365 "mirror://xorg/individual/lib/libxkbfile-"
1370 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
1371 (build-system gnu-build-system)
1373 `(("libx11" ,libx11)))
1375 `(("pkg-config" ,pkg-config)))
1376 (home-page "https://www.x.org/wiki/")
1377 (synopsis "Xorg XKB file handling library")
1378 (description "Xorg XKB file handling library.")
1379 (license license:x11)))
1382 (define-public libxmu
1390 "mirror://xorg/individual/lib/libXmu-"
1395 "02wx6jw7i0q5qwx87yf94fsn3h0xpz1k7dz1nkwfwm1j71ydqvkm"))))
1396 (build-system gnu-build-system)
1399 ("xorgproto" ,xorgproto)
1400 ("libxext" ,libxext)))
1402 `(("pkg-config" ,pkg-config)))
1403 (home-page "https://www.x.org/wiki/")
1404 (synopsis "Xorg Xmu library")
1406 "Xmu library contains miscellaneous utilities and is not part of the
1407 Xlib standard. It is intended to support clients in the Xorg distribution;
1408 vendors may choose not to distribute this library if they wish. Therefore,
1409 applications developers who depend on this library should be prepared to
1410 treat it as part of their software base when porting.")
1411 (license license:x11)))
1414 (define-public libxpm
1422 "mirror://xorg/individual/lib/libXpm-"
1427 "1v5xaiw4zlhxspvx76y3hq4wpxv7mpj6parqnwdqvpj8vbinsspx"))))
1428 (build-system gnu-build-system)
1430 `(("gettext" ,gettext-minimal)
1432 ("xorgproto" ,xorgproto)
1433 ("libxext" ,libxext)))
1435 `(("pkg-config" ,pkg-config)))
1436 (home-page "https://www.x.org/wiki/")
1437 (synopsis "Xorg XPM library")
1438 (description "XPM (X Pixmap) image file format library.")
1439 (license license:x11)))
1442 (define-public libxres
1450 "mirror://xorg/individual/lib/libXres-"
1455 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
1456 (build-system gnu-build-system)
1458 `(("xorgproto" ,xorgproto)
1459 ("libxext" ,libxext)
1460 ("libx11" ,libx11)))
1462 `(("pkg-config" ,pkg-config)))
1463 (home-page "https://www.x.org/wiki/")
1464 (synopsis "Xorg Resource extension library")
1465 (description "X Resource extension library.")
1466 (license license:x11)))
1469 (define-public libxscrnsaver
1471 (name "libxscrnsaver")
1477 "mirror://xorg/individual/lib/libXScrnSaver-"
1482 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
1483 (build-system gnu-build-system)
1485 `(("libxext" ,libxext)
1486 ("libx11" ,libx11)))
1488 `(("xorgproto" ,xorgproto)))
1490 `(("pkg-config" ,pkg-config)))
1491 (home-page "https://www.x.org/wiki/")
1492 (synopsis "Xorg Screen Saver library")
1493 (description "X11 Screen Saver extension client library.")
1494 (license license:x11)))
1497 (define-public libxxf86dga
1499 (name "libxxf86dga")
1504 (uri (string-append "mirror://xorg/individual/lib/"
1505 "libXxf86dga-" version ".tar.bz2"))
1507 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
1508 (build-system gnu-build-system)
1510 `(("xorgproto" ,xorgproto)))
1512 `(("libx11" ,libx11)
1513 ("libxext" ,libxext)))
1515 `(("pkg-config" ,pkg-config)))
1516 (home-page "https://www.x.org/wiki/")
1517 (synopsis "Xorg XFree86-DGA library")
1518 (description "Client library for the XFree86-DGA extension.")
1519 (license license:x11)))
1530 "mirror://xorg/individual/app/luit-"
1535 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1536 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1537 ;; should become obsolete with the next release.
1538 (patches (search-patches "luit-posix.patch"))))
1539 (build-system gnu-build-system)
1541 `(("libfontenc" ,libfontenc)))
1543 `(("pkg-config" ,pkg-config)))
1544 (home-page "https://www.x.org/wiki/")
1545 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1547 "Luit is a filter that can be run between an arbitrary application and
1548 a UTF-8 terminal emulator such as xterm. It will convert application
1549 output from the locale's encoding into UTF-8, and convert terminal
1550 input from UTF-8 into the locale's encoding.")
1551 (license license:x11)))
1554 (define-public makedepend
1562 "mirror://xorg/individual/util/makedepend-"
1567 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
1568 (build-system gnu-build-system)
1570 `(("xorgproto" ,xorgproto)))
1571 (native-inputs `(("pkg-config" ,pkg-config)))
1572 (home-page "https://www.x.org/wiki/")
1573 (synopsis "Xorg makedepend utility")
1575 "Makedepend is an utility for creating dependencies in makefiles.")
1576 (license license:x11)))
1579 (define-public mkfontscale
1581 (name "mkfontscale")
1587 "mirror://xorg/individual/app/mkfontscale-"
1591 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
1592 (build-system gnu-build-system)
1595 ("xorgproto" ,xorgproto)
1596 ("freetype" ,freetype)
1597 ("libfontenc" ,libfontenc)))
1599 `(("pkg-config" ,pkg-config)))
1600 (home-page "https://www.x.org/wiki/")
1601 (synopsis "Create an index of scalable font files for X server")
1603 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1604 files used by the legacy X11 font system.")
1605 (license license:x11)))
1608 (define-public presentproto
1610 (name "presentproto")
1616 "mirror://xorg/individual/proto/presentproto-"
1621 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
1622 (build-system gnu-build-system)
1623 (home-page "https://www.x.org/wiki/")
1624 (synopsis "Xorg PresentProto protocol headers")
1626 "Present Extension provides a way for applications to update their
1627 window contents from a pixmap in a well defined fashion, synchronizing
1628 with the display refresh and potentially using a more efficient
1629 mechanism than copying the contents of the source pixmap.")
1630 (license (license:x11-style "file://presentproto.h"
1631 "See 'presentproto.h' in the distribution."))
1632 (properties `((superseded . ,xorgproto)))))
1634 (define-public printproto
1642 "mirror://xorg/individual/proto/printproto-"
1647 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1648 (build-system gnu-build-system)
1649 (native-inputs `(("pkg-config" ,pkg-config)))
1650 (home-page "https://www.x.org/wiki/")
1651 (synopsis "Xorg PrintProto protocol headers")
1653 "Print Extension defines a protocol for a portable,
1654 network-transparent printing system.")
1655 (license license:x11)))
1658 (define-public randrproto
1666 "mirror://xorg/individual/proto/randrproto-"
1671 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
1672 (build-system gnu-build-system)
1673 (native-inputs `(("pkg-config" ,pkg-config)))
1674 (home-page "https://www.x.org/wiki/")
1675 (synopsis "Xorg RandRProto protocol headers")
1677 "Resize and Rotate Extension defines a protocol for clients to
1678 dynamically change X screens, so as to resize, rotate and reflect the root
1679 window of a screen.")
1680 (license license:x11)
1681 (properties `((superseded . ,xorgproto)))))
1684 (define-public recordproto
1686 (name "recordproto")
1692 "mirror://xorg/individual/proto/recordproto-"
1697 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1698 (build-system gnu-build-system)
1699 (native-inputs `(("pkg-config" ,pkg-config)))
1700 (home-page "https://www.x.org/wiki/")
1701 (synopsis "Xorg RecordProto protocol headers")
1703 "Record Extension defines a protocol for the recording and playback
1704 of user actions in the X Window System.")
1705 (license license:x11)
1706 (properties `((superseded . ,xorgproto)))))
1708 (define-public renderproto
1710 (name "renderproto")
1716 "mirror://xorg/individual/proto/renderproto-"
1721 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1722 (build-system gnu-build-system)
1723 (native-inputs `(("pkg-config" ,pkg-config)))
1724 (home-page "https://www.x.org/wiki/")
1725 (synopsis "Xorg RenderProto protocol headers")
1727 "Rendering Extension defines a protcol for a digital image composition
1728 as the foundation of a new rendering model within the X Window System.")
1729 (license license:x11)
1730 (properties `((superseded . ,xorgproto)))))
1732 (define-public resourceproto
1734 (name "resourceproto")
1740 "mirror://xorg/individual/proto/resourceproto-"
1745 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1746 (build-system gnu-build-system)
1747 (native-inputs `(("pkg-config" ,pkg-config)))
1748 (home-page "https://www.x.org/wiki/")
1749 (synopsis "Xorg ResourceProto protocol headers")
1751 "Resource Extension defines a protocol that allows a client to
1752 query the X server about its usage of various resources.")
1753 (license license:x11)
1754 (properties `((superseded . ,xorgproto)))))
1756 (define-public scrnsaverproto
1758 (name "scrnsaverproto")
1764 "mirror://xorg/individual/proto/scrnsaverproto-"
1769 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1770 (build-system gnu-build-system)
1771 (native-inputs `(("pkg-config" ,pkg-config)))
1772 (home-page "https://www.x.org/wiki/")
1773 (synopsis "Xorg ScrnSaverProto protocol headers")
1775 "Screen Saver Extension defines a protocol to control screensaver
1776 features and to query screensaver info on specific windows.")
1777 (license license:x11)
1778 (properties `((superseded . ,xorgproto)))))
1780 (define-public sessreg
1788 "mirror://xorg/individual/app/sessreg-"
1793 "1qd66mg2bnppqz4xgdjzif2488zl82vx2c26ld3nb8pnyginm9vq"))))
1794 (build-system gnu-build-system)
1796 `(("xorgproto" ,xorgproto)))
1798 `(("pkg-config" ,pkg-config)))
1799 (home-page "https://www.x.org/wiki/")
1800 (synopsis "Register X sessions in system utmp/utmpx databases")
1802 "SessReg is a simple program for managing utmp/wtmp entries for X
1803 sessions. It was originally written for use with xdm, but may also be
1804 used with other display managers such as gdm or kdm.")
1805 (license license:x11)))
1808 (define-public setxkbmap
1816 "mirror://xorg/individual/app/setxkbmap-"
1821 "1qfk097vjysqb72pq89h0la3462kbb2dh1d11qzs2fr67ybb7pd9"))))
1822 (build-system gnu-build-system)
1824 `(("libxkbfile" ,libxkbfile)
1825 ("xkeyboard-config" ,xkeyboard-config)
1826 ("libx11" ,libx11)))
1828 `(("pkg-config" ,pkg-config)))
1831 (list (string-append "--with-xkb-config-root="
1832 (assoc-ref %build-inputs "xkeyboard-config")
1833 "/share/X11/xkb"))))
1834 (home-page "https://www.x.org/wiki/")
1835 (synopsis "Set the keyboard using the X Keyboard Extension")
1837 "Setxkbmap is an X11 client to change the keymaps in the X server
1838 for a specified keyboard to use the layout determined by the options
1839 listed on the command line.")
1840 (license license:x11)))
1843 (define-public smproxy
1851 "mirror://xorg/individual/app/smproxy-"
1856 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
1857 (build-system gnu-build-system)
1860 ("libxmu" ,libxmu)))
1862 `(("pkg-config" ,pkg-config)))
1863 (home-page "https://www.x.org/wiki/")
1864 (synopsis "Session Manager Proxy")
1866 "SMProxy allows X applications that do not support X11R6 session
1867 management to participate in an X11R6 session.")
1868 (license license:x11)))
1871 (define-public util-macros
1873 (name "util-macros")
1879 "mirror://xorg/individual/util/util-macros-"
1884 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
1885 (build-system gnu-build-system)
1886 (native-inputs `(("pkg-config" ,pkg-config)))
1889 (modify-phases %standard-phases
1890 (add-after 'unpack 'fix-makefile-in
1892 (substitute* "Makefile.in"
1893 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1894 ;; not PREFIX/share/pkgconfig.
1895 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1897 (add-after 'install 'post-install-cleanup
1898 (lambda* (#:key outputs #:allow-other-keys)
1899 (let ((out (assoc-ref outputs "out")))
1900 (with-directory-excursion out
1901 (delete-file "share/util-macros/INSTALL")
1902 (rmdir "share/util-macros"))
1904 (home-page "https://www.x.org/wiki/")
1905 (synopsis "Xorg autoconf macros")
1907 "This package provides a set of autoconf macros used by the
1908 configure.ac scripts in other Xorg modular packages, and is needed to
1909 generate new versions of their configure scripts with autoconf.")
1910 (license license:x11)))
1913 (define-public videoproto
1921 "mirror://xorg/individual/proto/videoproto-"
1926 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
1927 (build-system gnu-build-system)
1928 (native-inputs `(("pkg-config" ,pkg-config)))
1929 (home-page "https://www.x.org/wiki/")
1930 (synopsis "Xorg VideoProto protocol headers")
1932 "Video Extension provides a protocol for a video output mechanism,
1933 mainly to rescale video playback in the video controller hardware.")
1934 (license license:x11)
1935 (properties `((superseded . ,xorgproto)))))
1937 (define-public windowswmproto
1939 (name "windowswmproto")
1945 "mirror://xorg/individual/proto/windowswmproto-"
1950 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
1951 (build-system gnu-build-system)
1952 (native-inputs `(("pkg-config" ,pkg-config)))
1953 (home-page "https://www.x.org/wiki/")
1954 (synopsis "Xorg WindowsWMProto protocol headers")
1956 "WindowsWM Extension defines a protocol, used for coordination between
1957 an X11 server and the Microsoft Windows native window manager. WindowsWM
1958 is only intended to be used on Cygwin when running a rootless XWin
1960 (license license:x11)
1961 (properties `((superseded . ,xorgproto)))))
1963 (define-public x11perf
1971 "mirror://xorg/individual/app/x11perf-"
1976 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
1977 (build-system gnu-build-system)
1979 `(("libx11" ,libx11)
1982 ("libxrender" ,libxrender)))
1984 `(("pkg-config" ,pkg-config)))
1985 (home-page "https://www.x.org/wiki/")
1986 (synopsis "X server performance benchmarker")
1988 "X11Perf is a simple performance benchmarker for the Xorg X server.")
1989 (license license:x11)))
1992 (define-public xauth
2000 "mirror://xorg/individual/app/xauth-"
2005 "0kgwz9rmxjfdvi2syf8g0ms5rr5cgyqx4n0n1m960kyz7k745zjs"))))
2006 (build-system gnu-build-system)
2008 `(("libxmu" ,libxmu)
2009 ("libxext" ,libxext)
2011 ("libx11" ,libx11)))
2013 `(("cmdtest" ,cmdtest)
2014 ("pkg-config" ,pkg-config)))
2015 (home-page "https://www.x.org/wiki/")
2016 (synopsis "X authority file utility")
2018 "XAuth program is used to edit and display the authorization
2019 information used in connecting to the X server.")
2020 (license license:x11)))
2023 (define-public xbacklight
2031 "mirror://xorg/individual/app/xbacklight-"
2036 "0pmzaz4kp38qv2lqiw5rnqhwzmwrq65m1x5j001mmv99wh9isnk1"))))
2037 (build-system gnu-build-system)
2039 `(("libxcb" ,libxcb)
2040 ("xcb-util" ,xcb-util)))
2042 `(("pkg-config" ,pkg-config)))
2043 (home-page "https://www.x.org/wiki/")
2044 (synopsis "Control display backlight")
2046 "Xbacklight is used to adjust the backlight brightness where
2047 supported. It uses the RandR extension to find all outputs on the X
2048 server supporting backlight brightness control and changes them all in
2050 (license license:x11)))
2053 (define-public xbitmaps
2061 "mirror://xorg/individual/data/xbitmaps-"
2066 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
2067 (build-system gnu-build-system)
2068 (native-inputs `(("pkg-config" ,pkg-config)))
2069 (home-page "https://www.x.org/wiki/")
2070 (synopsis "X bitmaps")
2072 "xbitmaps provides basic bitmaps (little pictures) used by some
2074 (license license:x11)))
2076 (define-public xcalc
2083 (uri (string-append "mirror://xorg/individual/app/"
2084 "xcalc-" version ".tar.gz"))
2086 (base32 "1xgih1iq9498m7vk22qrdsck1rb905sn395azjn4a6pmhfai401b"))))
2087 (build-system gnu-build-system)
2089 `(#:phases (modify-phases %standard-phases
2091 'configure 'mutate-makefile
2093 (substitute* "Makefile"
2094 (("^appdefaultdir = .*$")
2095 (string-append "appdefaultdir = " %output
2096 ,%app-defaults-dir "\n")))
2099 `(("libxaw" ,libxaw)))
2101 `(("pkg-config" ,pkg-config)))
2102 (home-page "https://www.x.org/wiki/")
2103 (synopsis "Hand calculator for the X Window system")
2104 (description "Xcalc is a scientific calculator desktop accessory that can
2105 emulate a TI-30 or an HP-10C.")
2106 (license license:x11)))
2109 (define-public xcb-proto
2117 "https://xcb.freedesktop.org/dist/xcb-proto-"
2122 "1qdxw9syhbvswiqj5dvj278lrmfhs81apzmvx6205s4vcqg7563v"))))
2123 (build-system gnu-build-system)
2125 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
2126 (home-page "https://xcb.freedesktop.org/")
2127 (synopsis "XML-XCB protocol descriptions")
2129 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2130 uses to generate the majority of its code and API. XCB-Proto is
2131 separated from libxcb to allow reuse by other projects, such as
2132 additional language bindings, protocol dissectors, or documentation
2135 XCB-Proto also contains language-independent Python libraries that are
2136 used to parse an XML description and create objects used by Python code
2137 generators in individual language bindings.")
2138 (license license:x11)))
2141 (define-public xcmiscproto
2143 (name "xcmiscproto")
2149 "mirror://xorg/individual/proto/xcmiscproto-"
2154 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2155 (build-system gnu-build-system)
2156 (native-inputs `(("pkg-config" ,pkg-config)))
2157 (home-page "https://www.x.org/wiki/")
2158 (synopsis "Xorg XCMiscProto protocol headers")
2160 "XC-MISC Extension defines a protocol that provides Xlib two ways
2161 to query the server for available resource IDs.")
2162 (license license:x11)
2163 (properties `((superseded . ,xorgproto)))))
2165 (define-public xcmsdb
2173 "mirror://xorg/individual/app/xcmsdb-"
2178 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
2179 (build-system gnu-build-system)
2181 `(("libx11" ,libx11)))
2183 `(("pkg-config" ,pkg-config)))
2184 (home-page "https://www.x.org/wiki/")
2185 (synopsis "Device Color Characterization utility")
2187 "XCMSDB is used to load, query, or remove Device Color
2188 Characterization data stored in properties on the root window of the
2189 screen as specified in section 7, Device Color Characterization, of the
2190 X11 Inter-Client Communication Conventions Manual (ICCCM).")
2191 (license license:x11)))
2194 (define-public xcursor-themes
2196 (name "xcursor-themes")
2202 "mirror://xorg/individual/data/xcursor-themes-"
2207 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
2208 (build-system gnu-build-system)
2210 `(("libxcursor" ,libxcursor)
2211 ("xcursorgen" ,xcursorgen)))
2213 `(("pkg-config" ,pkg-config)))
2216 (list (string-append "--with-cursordir="
2217 (assoc-ref %outputs "out")
2219 (home-page "https://www.x.org/wiki/")
2220 (synopsis "Default Xorg cursors")
2222 "This package provides a default set of cursor themes for the Xorg
2223 X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
2224 (license license:x11)))
2227 (define-public xcursorgen
2235 "mirror://xorg/individual/app/xcursorgen-"
2240 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
2241 (build-system gnu-build-system)
2243 `(("libxcursor" ,libxcursor)
2244 ("libpng" ,libpng)))
2246 `(("pkg-config" ,pkg-config)))
2247 (home-page "https://www.x.org/wiki/")
2248 (synopsis "Create an X cursor file from PNG images")
2250 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
2251 (license license:x11)))
2254 (define-public xdpyinfo
2262 "mirror://xorg/individual/app/xdpyinfo-"
2267 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
2268 (build-system gnu-build-system)
2270 `(("xorgproto" ,xorgproto)
2272 ("libxxf86vm" ,libxxf86vm)
2273 ("libxxf86dga" ,libxxf86dga)
2274 ("libxtst" ,libxtst)
2275 ("libxrender" ,libxrender)
2276 ("libxinerama" ,libxinerama)
2278 ("libxcomposite" ,libxcomposite)
2279 ("libdmx" ,libdmx)))
2281 `(("pkg-config" ,pkg-config)))
2282 (home-page "https://www.x.org/wiki/")
2283 (synopsis "Xorg display information utility")
2285 "Xdpyinfo is used to display information about an X server: the
2286 capabilities of a server, the predefined values for various parameters
2287 used in communicating between clients and the server, and the different
2288 types of screens, visuals, and X11 protocol extensions that are
2290 (license license:x11)))
2293 (define-public xdriinfo
2301 "mirror://xorg/individual/app/xdriinfo-"
2306 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
2307 (build-system gnu-build-system)
2310 ("libx11" ,libx11)))
2312 `(("pkg-config" ,pkg-config)))
2313 (home-page "https://www.x.org/wiki/")
2314 (synopsis "Query DRI configuration information")
2316 "XDRIInfo is used to query configuration information of X11
2317 DRI (Direct Rendering Infrastructure) drivers.")
2318 (license license:x11)))
2329 "mirror://xorg/individual/app/xev-"
2334 "02ddsdx138g7szhwklpbzi0cxr34871iay3k28kdcihrz8f4zg36"))))
2335 (build-system gnu-build-system)
2337 `(("libxrender" ,libxrender)
2338 ("libxrandr" ,libxrandr)
2339 ("xorgproto" ,xorgproto)
2340 ("libx11" ,libx11)))
2342 `(("pkg-config" ,pkg-config)))
2343 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
2344 (synopsis "Print contents of X events")
2346 "XEv creates a window and then asks the X server to send it X11
2347 events whenever anything happens to the window (such as it being moved,
2348 resized, typed in, clicked in, etc.). You can also attach it to an
2349 existing window. It is useful for seeing what causes events to occur
2350 and to display the information that they contain; it is essentially a
2351 debugging and development tool, and should not be needed in normal
2353 (license license:x11)))
2356 (define-public xextproto
2364 "mirror://xorg/individual/proto/xextproto-"
2369 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
2370 (build-system gnu-build-system)
2371 (native-inputs `(("pkg-config" ,pkg-config)))
2372 (home-page "https://www.x.org/wiki/")
2373 (synopsis "Xorg XExtProto protocol headers")
2375 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2376 Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2377 MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2378 XC-APPGROUP, XTEST.")
2379 (license license:x11)
2380 (properties `((superseded . ,xorgproto)))))
2382 (define-public libevdev
2389 (uri (string-append "https://www.freedesktop.org/software/" name "/"
2390 name "-" version ".tar.xz"))
2393 "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1"))))
2394 (build-system gnu-build-system)
2395 (native-inputs `(("python" ,python)))
2396 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
2397 (synopsis "Wrapper library for evdev devices")
2399 "libevdev is a wrapper library for evdev devices. it moves the common
2400 tasks when dealing with evdev devices into a library and provides a library
2401 interface to the callers, thus avoiding erroneous ioctls, etc.
2403 The eventual goal is that libevdev wraps all ioctls available to evdev
2404 devices, thus making direct access unnecessary.")
2405 (license (license:x11-style "file://COPYING"))))
2408 (define-public xf86-input-evdev
2410 (name "xf86-input-evdev")
2416 "mirror://xorg/individual/driver/xf86-input-evdev-"
2421 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
2422 (build-system gnu-build-system)
2425 ("libevdev" ,libevdev)
2427 ("xorg-server" ,xorg-server)))
2428 (native-inputs `(("pkg-config" ,pkg-config)))
2431 (list (string-append "--with-sdkdir="
2432 (assoc-ref %outputs "out")
2434 (home-page "https://www.x.org/wiki/")
2435 (synopsis "Generic input driver for X server")
2437 "xf86-input-evdev is a generic input driver for the Xorg X server.
2438 This driver supports all input devices that the kernel knows about,
2439 including most mice, keyboards, tablets and touchscreens.")
2440 (license license:x11)))
2442 (define-public xf86-input-libinput
2444 (name "xf86-input-libinput")
2449 "mirror://xorg/individual/driver/"
2450 name "-" version ".tar.bz2"))
2453 "0818vr0yhk9j1y1wcbxzcd458vrvp06rrhi8k43bhqkb5jb4dcxq"))))
2454 (build-system gnu-build-system)
2457 (list (string-append "--with-sdkdir="
2458 %output "/include/xorg"))))
2460 `(("pkg-config" ,pkg-config)))
2462 `(("libinput" ,libinput)
2463 ("xorg-server" ,xorg-server)))
2464 (home-page "https://www.x.org/wiki/")
2465 (synopsis "Input driver for X server based on libinput")
2467 "xf86-input-libinput is an input driver for the Xorg X server based
2468 on libinput. It is a thin wrapper around libinput, so while it does
2469 provide all features that libinput supports it does little beyond.")
2470 (license license:x11)))
2472 (define-public xf86-input-joystick
2474 (name "xf86-input-joystick")
2480 "mirror://xorg/individual/driver/xf86-input-joystick-"
2485 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
2486 (build-system gnu-build-system)
2487 (inputs `(("xorg-server" ,xorg-server)))
2488 (native-inputs `(("pkg-config" ,pkg-config)))
2491 (list (string-append "--with-sdkdir="
2492 (assoc-ref %outputs "out")
2494 (home-page "https://www.x.org/wiki/")
2495 (synopsis "Joystick input driver for X server")
2497 "xf86-input-joystick is a joystick input driver for the Xorg X server.
2498 It is used to cotrol the pointer with a joystick device.")
2499 (license license:x11)))
2502 (define-public xf86-input-keyboard
2504 (name "xf86-input-keyboard")
2510 "mirror://xorg/individual/driver/xf86-input-keyboard-"
2515 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
2516 (build-system gnu-build-system)
2517 (inputs `(("xorg-server" ,xorg-server)))
2518 (native-inputs `(("pkg-config" ,pkg-config)))
2519 (home-page "https://www.x.org/wiki/")
2520 (synopsis "Keyboard input driver for X server")
2522 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
2523 (license license:x11)))
2526 (define-public xf86-input-mouse
2528 (name "xf86-input-mouse")
2534 "mirror://xorg/individual/driver/xf86-input-mouse-"
2539 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
2540 (build-system gnu-build-system)
2541 (inputs `(("xorg-server" ,xorg-server)))
2542 (native-inputs `(("pkg-config" ,pkg-config)))
2545 (list (string-append "--with-sdkdir="
2546 (assoc-ref %outputs "out")
2548 (home-page "https://www.x.org/wiki/")
2549 (synopsis "Mouse input driver for X server")
2551 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2552 This driver supports four classes of mice: serial, bus and PS/2 mice,
2553 and additional mouse types supported by specific operating systems, such
2555 (license license:x11)))
2558 (define-public xf86-input-synaptics
2560 (name "xf86-input-synaptics")
2566 "mirror://xorg/individual/driver/xf86-input-synaptics-"
2571 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
2572 (build-system gnu-build-system)
2573 (inputs `(("libx11" ,libx11)
2575 ("libevdev" ,libevdev)
2577 ("xorg-server" ,xorg-server)))
2578 (native-inputs `(("pkg-config" ,pkg-config)))
2581 (list (string-append "--with-sdkdir="
2582 (assoc-ref %outputs "out")
2584 (string-append "--with-xorg-conf-dir="
2585 (assoc-ref %outputs "out")
2586 "/share/X11/xorg.conf.d"))))
2587 (home-page "https://www.x.org/wiki/")
2588 (synopsis "Touchpad input driver for X server")
2590 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
2591 (license license:x11)))
2594 (define-public xf86-input-void
2596 (name "xf86-input-void")
2602 "mirror://xorg/individual/driver/xf86-input-void-"
2607 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
2608 (build-system gnu-build-system)
2609 (inputs `(("xorg-server" ,xorg-server)))
2610 (native-inputs `(("pkg-config" ,pkg-config)))
2611 (home-page "https://www.x.org/wiki/")
2612 (synopsis "Void (null) input driver for X server")
2614 "xf86-input-void is a null input driver for the Xorg X server.")
2615 (license license:x11)))
2617 (define-public xf86-video-amdgpu
2619 (name "xf86-video-amdgpu")
2624 (uri (string-append "mirror://xorg/individual/driver/"
2625 "xf86-video-amdgpu-" version ".tar.bz2"))
2627 (base32 "1mf6s7i423b2xyl469kwnakrpp5fr41sm8hh7vli5jxdd8crg8da"))))
2628 (build-system gnu-build-system)
2629 (inputs `(("xorg-server" ,xorg-server)))
2630 (native-inputs `(("pkg-config" ,pkg-config)))
2631 (home-page "https://www.x.org/wiki/")
2632 (synopsis "AMD Radeon video driver for X server")
2634 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2636 (license license:x11)))
2638 (define-public xf86-video-ark
2640 (name "xf86-video-ark")
2646 "mirror://xorg/individual/driver/xf86-video-ark-"
2651 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
2652 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
2653 (build-system gnu-build-system)
2654 (inputs `(("xorg-server" ,xorg-server)))
2655 (native-inputs `(("pkg-config" ,pkg-config)))
2656 (home-page "https://www.x.org/wiki/")
2657 (synopsis "Ark Logic video driver for X server")
2659 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
2660 (license license:x11)))
2662 (define-public xf86-video-ast
2664 (name "xf86-video-ast")
2666 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2670 "mirror://xorg/individual/driver/xf86-video-ast-"
2671 version ".tar.bz2"))
2674 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2675 (build-system gnu-build-system)
2676 (inputs `(("xorg-server" ,xorg-server)))
2677 (native-inputs `(("pkg-config" ,pkg-config)))
2678 (synopsis "ASpeed Technologies video driver for X server")
2680 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2682 (license license:x11)))
2684 (define-public xf86-video-ati
2686 (name "xf86-video-ati")
2691 (uri (string-append "mirror://xorg/individual/driver/"
2692 "xf86-video-ati-" version ".tar.bz2"))
2694 (base32 "1c31g5q5p3nk9nscwikh1vvfnhdwsxiw7j8v678nlm34hrfh3djw"))))
2695 (build-system gnu-build-system)
2696 (inputs `(("mesa" ,mesa)
2697 ("xorgproto" ,xorgproto)
2698 ("xorg-server" ,xorg-server)))
2699 (native-inputs `(("pkg-config" ,pkg-config)))
2700 (arguments `(#:configure-flags `("--disable-glamor"))) ; TODO: Enable glamor
2701 (home-page "https://www.x.org/wiki/")
2702 (synopsis "ATI Radeon video driver for X server")
2704 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2706 (license license:x11)))
2709 (define-public xf86-video-cirrus
2711 (name "xf86-video-cirrus")
2717 "mirror://xorg/individual/driver/xf86-video-cirrus-"
2722 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
2723 (build-system gnu-build-system)
2724 (inputs `(("xorg-server" ,xorg-server)))
2725 (native-inputs `(("pkg-config" ,pkg-config)))
2726 (home-page "https://www.x.org/wiki/")
2727 (synopsis "Cirrus Logic video driver for X server")
2729 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2731 (license license:x11)))
2735 ;; (define-public xf86-video-dummy
2738 (define-public xf86-video-fbdev
2740 (name "xf86-video-fbdev")
2746 "mirror://xorg/individual/driver/xf86-video-fbdev-"
2751 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
2752 (build-system gnu-build-system)
2753 (inputs `(("xorg-server" ,xorg-server)))
2754 (native-inputs `(("pkg-config" ,pkg-config)))
2755 (home-page "https://www.x.org/wiki/")
2756 (synopsis "Framebuffer device video driver for X server")
2758 "xf86-video-fbdev is a video driver for the Xorg X server for
2759 framebuffer device.")
2760 (license license:x11)))
2763 (define-public xf86-video-freedreno
2764 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2766 (name "xf86-video-freedreno")
2767 (version (string-append "1.4.0-1-" (string-take commit 7)))
2770 ;; there's no current tarball
2773 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2774 "driver/xf86-video-freedreno.git"))
2778 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2779 (file-name (string-append name "-" version))))
2780 (build-system gnu-build-system)
2782 `(("libdrm" ,libdrm)
2785 ("xorg-server" ,xorg-server)
2788 `(("pkg-config" ,pkg-config)
2789 ("autoconf" ,autoconf)
2790 ("automake" ,automake)
2791 ("libtool" ,libtool)))
2792 ;; This driver is only supported on ARM systems.
2793 (supported-systems '("armhf-linux" "aarch64-linux"))
2796 (list (string-append "--with-xorg-conf-dir="
2797 (assoc-ref %outputs "out")
2798 "/share/X11/xorg.conf.d"))))
2799 (home-page "https://www.x.org/wiki/")
2800 (synopsis "Adreno video driver for X server")
2802 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2803 It supports a variety of Adreno graphics chipsets.")
2804 (license license:x11))))
2807 (define-public xf86-video-geode
2809 (name "xf86-video-geode")
2815 "mirror://xorg/individual/driver/xf86-video-geode-"
2820 "0zn9gb49grds5mcs1dlrx241k2w1sgqmx4i5x7v6159xxqhlqsf6"))
2821 (patches (search-patches "xf86-video-geode-glibc-2.20.patch"))))
2822 (build-system gnu-build-system)
2823 (inputs `(("xorg-server" ,xorg-server)))
2824 (native-inputs `(("pkg-config" ,pkg-config)))
2826 ;; This driver is only supported on i686 systems.
2827 (filter (lambda (system) (string-prefix? "i686-" system))
2828 %supported-systems))
2829 (home-page "https://www.x.org/wiki/")
2830 (synopsis "AMD Geode GX/LX video driver for X server")
2832 "xf86-video-geode is an Xorg X server video driver for the AMD
2833 Geode GX and LX processors. The GX component supports both XAA and EXA
2834 for graphics acceleration. The LX component supports EXA, including
2835 compositing. Both support Xv overlay and dynamic rotation with XRandR.")
2836 (license license:x11)))
2839 ;; Driver for obsolete graphics cards, depends on libglide:
2840 ;; http://sourceforge.net/projects/glide/ ,
2841 ;; last updated in 2003, and which does not compile out of the box any more.
2842 ;; (define-public xf86-video-glide
2844 ;; (name "xf86-video-glide")
2845 ;; (version "1.2.0")
2848 ;; (method url-fetch)
2849 ;; (uri (string-append
2850 ;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2855 ;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2856 ;; (build-system gnu-build-system)
2857 ;; (inputs `(("pkg-config" ,pkg-config)
2858 ;; ("xorg-server" ,xorg-server)))
2859 ;; (home-page "https://www.x.org/wiki/")
2860 ;; (synopsis "Glide video driver for X server")
2862 ;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
2863 ;; (license license:x11)))
2866 (define-public xf86-video-glint
2868 (name "xf86-video-glint")
2874 "mirror://xorg/individual/driver/xf86-video-glint-"
2879 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
2880 (build-system gnu-build-system)
2881 (inputs `(("xorgproto" ,xorgproto)
2882 ("xorg-server" ,xorg-server)))
2883 (native-inputs `(("pkg-config" ,pkg-config)))
2884 (home-page "https://www.x.org/wiki/")
2885 (synopsis "GLINT/Permedia video driver for X server")
2887 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2889 (license license:x11)))
2892 (define-public xf86-video-i128
2894 (name "xf86-video-i128")
2900 "mirror://xorg/individual/driver/xf86-video-i128-"
2905 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
2906 (build-system gnu-build-system)
2907 (inputs `(("xorg-server" ,xorg-server)))
2908 (native-inputs `(("pkg-config" ,pkg-config)))
2909 (home-page "https://www.x.org/wiki/")
2910 (synopsis "I128 video driver for X server")
2912 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2914 (license license:x11)))
2917 (define-public xf86-video-intel
2918 (let ((commit "33ee0c3b21ea279e08d0863fcb2e874f0974b00e")
2921 (name "xf86-video-intel")
2922 (version (git-version "2.99.917" revision commit))
2925 ;; there's no current tarball
2928 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
2932 "1ryjaj52nd2fbrjf1id5fr5vndzvv287rggbj3lzhbwzxv52r0gj"))
2933 (file-name (git-file-name name version))))
2934 (build-system gnu-build-system)
2935 (inputs `(("mesa" ,mesa)
2938 ("libxfont" ,libxfont2)
2939 ("xorg-server" ,xorg-server)))
2941 `(("pkg-config" ,pkg-config)
2942 ("autoconf" ,autoconf)
2943 ("automake" ,automake)
2944 ("libtool" ,libtool)))
2946 ;; This driver is only supported on Intel systems.
2947 (filter (lambda (system) (or (string-prefix? "i686-" system)
2948 (string-prefix? "x86_64-" system)))
2949 %supported-systems))
2951 '(#:configure-flags '("--with-default-accel=uxa")
2952 #:phases (modify-phases %standard-phases
2953 (add-before 'bootstrap 'pre-bootstrap
2955 ;; Inhibit autogen.sh from running configure.
2956 (setenv "NOCONFIGURE" "1")
2958 (home-page "https://www.x.org/wiki/")
2959 (synopsis "Intel video driver for X server")
2961 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
2962 It supports a variety of Intel graphics chipsets.")
2963 (license license:x11))))
2966 (define-public xf86-video-mach64
2968 (name "xf86-video-mach64")
2974 "mirror://xorg/individual/driver/xf86-video-mach64-"
2979 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
2980 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
2981 (build-system gnu-build-system)
2982 (inputs `(("mesa" ,mesa)
2983 ("xorgproto" ,xorgproto)
2984 ("xorg-server" ,xorg-server)))
2986 `(("pkg-config" ,pkg-config)))
2987 (home-page "https://www.x.org/wiki/")
2988 (synopsis "Mach64 video driver for X server")
2990 "xf86-video-mach64 is a video driver for the Xorg X server.
2991 This driver is intended for all ATI video adapters based on the Mach64
2992 series or older chipsets, providing maximum video function within
2993 hardware limitations. The driver is also intended to optionally provide
2994 the same level of support for generic VGA or 8514/A adapters.")
2995 (license license:x11)))
2998 (define-public xf86-video-mga
3000 (name "xf86-video-mga")
3006 "mirror://xorg/individual/driver/xf86-video-mga-"
3011 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
3012 (build-system gnu-build-system)
3013 (inputs `(("mesa" ,mesa)
3014 ("xorgproto" ,xorgproto)
3015 ("xorg-server" ,xorg-server)))
3016 (native-inputs `(("pkg-config" ,pkg-config)))
3017 (home-page "https://www.x.org/wiki/")
3018 (synopsis "Matrox video driver for X server")
3020 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
3021 (license license:x11)))
3023 (define-public xf86-video-neomagic
3025 (name "xf86-video-neomagic")
3031 "mirror://xorg/individual/driver/xf86-video-neomagic-"
3036 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
3037 (build-system gnu-build-system)
3038 (inputs `(("xorgproto" ,xorgproto)
3039 ("xorg-server" ,xorg-server)))
3040 (native-inputs `(("pkg-config" ,pkg-config)))
3041 (home-page "https://www.x.org/wiki/")
3042 (synopsis "NeoMagic video driver for X server")
3044 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
3045 (license license:x11)))
3048 ;; This driver depends on XAA which has been removed from xorg-server.
3050 ;; (define-public xf86-video-newport
3052 ;; (name "xf86-video-newport")
3053 ;; (version "0.2.4")
3056 ;; (method url-fetch)
3057 ;; (uri (string-append
3058 ;; "mirror://xorg/individual/driver/xf86-video-newport-"
3063 ;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3064 ;; (build-system gnu-build-system)
3065 ;; (inputs `(("xorg-server" ,xorg-server)))
3066 ;; (native-inputs `(("pkg-config" ,pkg-config)))
3067 ;; (home-page "https://www.x.org/wiki/")
3068 ;; (synopsis "Newport video driver for X server")
3070 ;; "xf86-video-newport is an Xorg X server video driver for the SGI
3072 ;; (license license:x11)))
3075 (define-public xf86-video-nv
3077 (name "xf86-video-nv")
3083 "mirror://xorg/individual/driver/xf86-video-nv-"
3088 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
3089 (build-system gnu-build-system)
3090 (inputs `(("xorg-server" ,xorg-server)))
3091 (native-inputs `(("pkg-config" ,pkg-config)))
3092 (home-page "https://www.x.org/wiki/")
3093 (synopsis "NVIDIA video driver for X server")
3095 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3096 graphics processors.
3098 There are a few caveats of which to be aware: the XVideo extension is not
3099 supported, and the RENDER extension is not accelerated by this driver.")
3100 (license license:x11)))
3102 (define-public xf86-video-nouveau
3104 (name "xf86-video-nouveau")
3110 "mirror://xorg/individual/driver/xf86-video-nouveau-"
3115 "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"))))
3116 (build-system gnu-build-system)
3117 (inputs `(("xorg-server" ,xorg-server)))
3118 (native-inputs `(("pkg-config" ,pkg-config)))
3119 (home-page "https://nouveau.freedesktop.org")
3120 (synopsis "NVIDIA video driver for X server")
3122 "This package provides modern, high-quality Xorg drivers for NVIDIA
3124 (license license:x11)))
3126 (define-public xf86-video-openchrome
3128 (name "xf86-video-openchrome")
3134 "mirror://xorg/individual/driver/xf86-video-openchrome-"
3139 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
3140 (build-system gnu-build-system)
3141 (inputs `(("libx11" ,libx11)
3142 ("libxext" ,libxext)
3143 ("libxvmc" ,libxvmc)
3145 ("xorgproto" ,xorgproto)
3146 ("xorg-server" ,xorg-server)))
3148 `(("pkg-config" ,pkg-config)))
3149 (home-page "https://www.x.org/wiki/")
3150 (synopsis "Openchrome video driver for X server")
3152 "xf86-video-openchrome is a video driver for the Xorg X server.
3153 This driver is intended for VIA chipsets featuring the VIA UniChrome,
3154 UniChrome Pro and Chrome9 integrated graphics processors.")
3155 (license license:x11)))
3158 (define-public xf86-video-qxl
3160 (name "xf86-video-qxl")
3165 "mirror://xorg/individual/driver/"
3166 "xf86-video-qxl-" version ".tar.bz2"))
3169 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
3170 (build-system gnu-build-system)
3172 `(("libxfont" ,libxfont2)
3173 ("spice-protocol" ,spice-protocol)
3174 ("xorg-server" ,xorg-server)
3175 ("xorgproto" ,xorgproto)))
3177 `(("pkg-config" ,pkg-config)))
3178 (synopsis "Qxl video driver for X server")
3179 (description "xf86-video-qxl is a video driver for the Xorg X server.
3180 This driver is intended for the spice qxl virtio device.")
3181 (home-page "http://www.spice-space.org")
3182 (license license:x11)))
3184 (define-public xf86-video-r128
3186 (name "xf86-video-r128")
3190 (uri (string-append "mirror://xorg/individual/driver/"
3191 name "-" version ".tar.bz2"))
3194 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
3195 (build-system gnu-build-system)
3196 (inputs `(("mesa" ,mesa)
3197 ("xorgproto" ,xorgproto)
3198 ("xorg-server" ,xorg-server)))
3200 `(("pkg-config" ,pkg-config)))
3201 (home-page "https://www.x.org/wiki/")
3202 (synopsis "ATI Rage 128 video driver for X server")
3204 "xf86-video-r128 is a video driver for the Xorg X server.
3205 This driver is intended for ATI Rage 128 based cards.")
3206 (license license:x11)))
3208 (define-public xf86-video-savage
3210 (name "xf86-video-savage")
3216 "mirror://xorg/individual/driver/xf86-video-savage-"
3219 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
3222 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
3223 (build-system gnu-build-system)
3224 (inputs `(("mesa" ,mesa)
3225 ("xorgproto" ,xorgproto)
3226 ("xorg-server" ,xorg-server)))
3227 (native-inputs `(("pkg-config" ,pkg-config)))
3228 (home-page "https://www.x.org/wiki/")
3229 (synopsis "Savage video driver for X server")
3231 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
3232 (license license:x11)))
3235 (define-public xf86-video-siliconmotion
3237 (name "xf86-video-siliconmotion")
3243 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
3248 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3249 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
3250 (build-system gnu-build-system)
3251 (inputs `(("xorg-server" ,xorg-server)))
3252 (native-inputs `(("pkg-config" ,pkg-config)))
3253 (home-page "https://www.x.org/wiki/")
3254 (synopsis "Silicon Motion video driver for X server")
3256 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3258 (license license:x11)))
3261 (define-public xf86-video-sis
3263 (name "xf86-video-sis")
3269 "mirror://xorg/individual/driver/xf86-video-sis-"
3272 (patches (search-patches "xf86-video-sis-xorg-compat.patch"))
3275 "03f1abjjf68y8y1iz768rn95va9d33wmbwfbsqrgl6k0gi0bf9jj"))))
3276 (build-system gnu-build-system)
3277 (inputs `(("mesa" ,mesa)
3278 ("xorgproto" ,xorgproto)
3279 ("xorg-server" ,xorg-server)))
3281 `(("pkg-config" ,pkg-config)))
3282 (home-page "https://www.x.org/wiki/")
3283 (synopsis "Sis video driver for X server")
3285 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3286 This driver supports SiS chipsets of 300/315/330/340 series.")
3287 (license license:bsd-3)))
3290 (define-public xf86-video-suncg6
3292 (name "xf86-video-suncg6")
3298 "mirror://xorg/individual/driver/xf86-video-suncg6-"
3303 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
3304 (build-system gnu-build-system)
3305 (inputs `(("xorg-server" ,xorg-server)))
3306 (native-inputs `(("pkg-config" ,pkg-config)))
3307 (home-page "https://www.x.org/wiki/")
3308 (synopsis "GX/TurboGX video driver for X server")
3310 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
3311 (license license:x11)))
3314 (define-public xf86-video-sunffb
3316 (name "xf86-video-sunffb")
3322 "mirror://xorg/individual/driver/xf86-video-sunffb-"
3327 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
3328 (build-system gnu-build-system)
3329 (inputs `(("xorg-server" ,xorg-server)))
3330 (native-inputs `(("pkg-config" ,pkg-config)))
3331 (home-page "https://www.x.org/wiki/")
3332 (synopsis "SUNFFB video driver for X server")
3334 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
3335 (license license:x11)))
3338 (define-public xf86-video-tdfx
3340 (name "xf86-video-tdfx")
3346 "mirror://xorg/individual/driver/xf86-video-tdfx-"
3351 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
3352 (build-system gnu-build-system)
3353 (inputs `(("mesa" ,mesa)
3354 ("xorgproto" ,xorgproto)
3355 ("xorg-server" ,xorg-server)))
3356 (native-inputs `(("pkg-config" ,pkg-config)))
3357 (home-page "https://www.x.org/wiki/")
3358 (synopsis "3Dfx video driver for X server")
3360 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
3361 (license license:x11)))
3364 (define-public xf86-video-tga
3366 (name "xf86-video-tga")
3372 "mirror://xorg/individual/driver/xf86-video-tga-"
3377 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
3378 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
3379 (build-system gnu-build-system)
3380 (inputs `(("xorgproto" ,xorgproto)
3381 ("xorg-server" ,xorg-server)))
3382 (native-inputs `(("pkg-config" ,pkg-config)))
3383 (home-page "https://www.x.org/wiki/")
3384 (synopsis "TGA video driver for X server")
3386 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3388 (license license:x11)))
3391 (define-public xf86-video-trident
3393 (name "xf86-video-trident")
3399 "mirror://xorg/individual/driver/xf86-video-trident-"
3404 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
3405 (build-system gnu-build-system)
3406 (inputs `(("xorgproto" ,xorgproto)
3407 ("xorg-server" ,xorg-server)))
3408 (native-inputs `(("pkg-config" ,pkg-config)))
3409 (home-page "https://www.x.org/wiki/")
3410 (synopsis "Trident video driver for X server")
3412 "xf86-video-trident is a Trident video driver for the Xorg X server.")
3413 (license license:x11)))
3417 ;; (define-public xf86-video-v4l
3420 (define-public xf86-video-vesa
3422 (name "xf86-video-vesa")
3428 "mirror://xorg/individual/driver/xf86-video-vesa-"
3433 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
3434 (build-system gnu-build-system)
3435 (inputs `(("xorg-server" ,xorg-server)))
3436 (native-inputs `(("pkg-config" ,pkg-config)))
3437 (home-page "https://www.x.org/wiki/")
3438 (synopsis "VESA video driver for X server")
3440 "xf86-video-vesa is a generic VESA video driver for the Xorg
3442 (license license:x11)))
3445 (define-public xf86-video-vmware
3447 (name "xf86-video-vmware")
3453 "mirror://xorg/individual/driver/xf86-video-vmware-"
3458 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
3459 (build-system gnu-build-system)
3461 `(("libx11" ,libx11)
3462 ("libxext" ,libxext)
3464 ("mesa" ,mesa) ; for xatracker
3465 ("xorg-server" ,xorg-server)))
3468 ("pkg-config" ,pkg-config)))
3469 (home-page "https://www.x.org/wiki/")
3470 (synopsis "VMware SVGA video driver for X server")
3472 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
3473 (license license:x11)))
3476 (define-public xf86-video-voodoo
3478 (name "xf86-video-voodoo")
3484 "mirror://xorg/individual/driver/xf86-video-voodoo-"
3489 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3493 (uri "https://cgit.freedesktop.org/xorg/driver/\
3494 xf86-video-voodoo/patch/?id=9172ae566a0e85313fc80ab62b4455393eefe593")
3497 "0rndmxf5b8j3hjnhrwrnzsq5024fli134fj1mprhkcrvax2zq8db"))
3498 (file-name "xf86-video-voodoo-pcitag.patch"))))))
3499 (build-system gnu-build-system)
3500 (inputs `(("xorgproto" ,xorgproto)
3501 ("xorg-server" ,xorg-server)))
3502 (native-inputs `(("pkg-config" ,pkg-config)))
3503 (home-page "https://www.x.org/wiki/")
3504 (synopsis "Voodoo/Voodoo2 video driver for X server")
3506 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
3507 (license license:x11)))
3510 ;; Only relevant for the frame buffer on BSD systems.
3511 ;; (define-public xf86-video-wsfb
3514 (define-public xf86bigfontproto
3516 (name "xf86bigfontproto")
3522 "mirror://xorg/individual/proto/xf86bigfontproto-"
3527 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3528 (build-system gnu-build-system)
3529 (home-page "https://www.x.org/wiki/")
3530 (synopsis "Xorg XF86BigFontProto protocol headers")
3532 "XFree86 Bigfont Extension contains header files and documentation
3533 for the XF86BigFontProto protocol.")
3534 (license license:x11)
3535 (properties `((superseded . ,xorgproto)))))
3537 (define-public xf86dgaproto
3539 (name "xf86dgaproto")
3545 "mirror://xorg/individual/proto/xf86dgaproto-"
3550 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3551 (build-system gnu-build-system)
3552 (home-page "https://www.x.org/wiki/")
3553 (synopsis "Xorg XF86DGAProto protocol headers")
3555 "XFree86 Direct Graphic Access Extension defines a protocol for
3556 direct linear framebuffer access.")
3557 (license license:x11)
3558 (properties `((superseded . ,xorgproto)))))
3560 (define-public xf86driproto
3562 (name "xf86driproto")
3568 "mirror://xorg/individual/proto/xf86driproto-"
3573 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3574 (build-system gnu-build-system)
3575 (home-page "https://www.x.org/wiki/")
3576 (synopsis "Xorg XF86DRIProto protocol headers")
3578 "XFree86 Direct Rendering Infrastructure Extension defines a
3579 protocol to allow user applications to access the video hardware without
3580 requiring data to be passed through the X server.")
3581 (license license:x11)
3582 (properties `((superseded . ,xorgproto)))))
3584 (define-public xf86vidmodeproto
3586 (name "xf86vidmodeproto")
3592 "mirror://xorg/individual/proto/xf86vidmodeproto-"
3597 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3598 (build-system gnu-build-system)
3599 (home-page "https://www.x.org/wiki/")
3600 (synopsis "Xorg XF86VidModeProto protocol headers")
3602 "XFree86 Video Mode Extension defines a protocol for dynamically
3603 configuring modelines and gamma.")
3604 (license license:x11)
3605 (properties `((superseded . ,xorgproto)))))
3607 (define-public xgamma
3615 "mirror://xorg/individual/app/xgamma-"
3620 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
3621 (build-system gnu-build-system)
3623 `(("libxxf86vm" ,libxxf86vm)
3624 ("libx11" ,libx11)))
3626 `(("pkg-config" ,pkg-config)))
3627 (home-page "https://www.x.org/wiki/")
3628 (synopsis "Alter a monitor's gamma correction")
3630 "XGamma is used to query and alter the gamma correction of a
3631 monitor via the X video mode extension.")
3632 (license license:x11)))
3635 (define-public xhost
3643 "mirror://xorg/individual/app/xhost-"
3648 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
3649 (build-system gnu-build-system)
3651 `(("libxmu" ,libxmu)
3653 ("libx11" ,libx11)))
3655 `(("pkg-config" ,pkg-config)))
3656 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
3657 (synopsis "Xorg server access control utility")
3659 "XHost is used to manage the list of host names or user names
3660 allowed to make connections to the X server.")
3661 (license license:x11)))
3664 (define-public xineramaproto
3666 (name "xineramaproto")
3672 "mirror://xorg/individual/proto/xineramaproto-"
3677 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3678 (build-system gnu-build-system)
3679 (native-inputs `(("pkg-config" ,pkg-config)))
3680 (home-page "https://www.x.org/wiki/")
3681 (synopsis "Xorg XineramaProto protocol headers")
3683 "Xinerama Extension allows clients to query information about multiple
3684 physical screens controlled by a single X server that appear as a single
3685 screen to core X11 protocol operations.
3687 This extension provides a common network protocol for querying information
3688 which may be provided by different underlying screen combination
3689 technologies in the X server, such as the original Xinerama multiplexer, or
3690 alternative implementations like XRandR or TwinView.")
3691 (license license:x11)
3692 (properties `((superseded . ,xorgproto)))))
3694 (define-public xinput
3702 "mirror://xorg/individual/app/xinput-"
3707 "1i75mviz9dyqyf7qigzmxq8vn31i86aybm662fzjz5c086dx551n"))))
3708 (build-system gnu-build-system)
3710 `(("libxrender" ,libxrender)
3711 ("libxrandr" ,libxrandr)
3712 ("libxinerama" ,libxinerama)
3713 ("libxext" ,libxext)
3716 ("xorgproto" ,xorgproto)))
3718 `(("pkg-config" ,pkg-config)))
3719 (home-page "https://www.x.org/wiki/")
3720 (synopsis "Configure input devices for X server")
3722 "XInput is used to configure and test XInput devices.")
3723 (license license:x11)))
3726 (define xkbcomp-intermediate ; used as input for xkeyboard-config
3728 (name "xkbcomp-intermediate")
3734 "mirror://xorg/individual/app/xkbcomp-"
3739 "0944rrkkf0dxp07vhh9yr4prslxhqyw63qmbjirbv1bypswvrn3d"))))
3740 (build-system gnu-build-system)
3742 `(("xorgproto" ,xorgproto)
3743 ("libxkbfile" ,libxkbfile)
3744 ("libx11" ,libx11)))
3746 `(("pkg-config" ,pkg-config)))
3747 (home-page "https://www.x.org/wiki/")
3748 (synopsis "Compile XKB keyboard description")
3750 "xkbcomp keymap compiler converts a description of an XKB keymap
3751 into one of several output formats. The most common use for xkbcomp is
3752 to create a compiled keymap file (.xkm extension) which can be read
3753 directly by XKB- capable X servers or utilities.
3755 X Keyboard (XKB) Extension essentially replaces the core protocol
3756 definition of keyboard. The extension makes possible to clearly and
3757 explicitly specify most aspects of keyboard behaviour on per-key basis
3758 and to more closely track the logical and physical state of the
3759 keyboard. It also includes a number of keyboard controls designed to
3760 make keyboards more accessible to people with physical impairments.")
3761 (license license:x11)))
3763 (define-public xkbcomp ; using xkeyboard-config as input
3764 (package (inherit xkbcomp-intermediate)
3767 `(,@(package-inputs xkbcomp-intermediate)
3768 ("xkeyboard-config" ,xkeyboard-config)))
3771 (list (string-append "--with-xkb-config-root="
3772 (assoc-ref %build-inputs "xkeyboard-config")
3773 "/share/X11/xkb"))))))
3776 (define-public xkbevd
3784 "mirror://xorg/individual/app/xkbevd-"
3789 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
3790 (build-system gnu-build-system)
3792 `(("libxkbfile" ,libxkbfile)
3793 ("libx11" ,libx11)))
3795 `(("pkg-config" ,pkg-config)))
3796 (home-page "https://www.x.org/wiki/")
3797 (synopsis "XKB event daemon demo")
3799 "XKB event daemon listens for the specified XKB events and executes
3800 requested commands if they occur.")
3801 (license license:x11)))
3804 (define-public xkbutils
3812 "mirror://xorg/individual/app/xkbutils-"
3817 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
3818 (build-system gnu-build-system)
3822 ("xorgproto" ,xorgproto)))
3824 `(("pkg-config" ,pkg-config)))
3825 (home-page "https://www.x.org/wiki/")
3826 (synopsis "XKB utilities")
3828 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3829 extension to the X11 protocol. It includes:
3831 - xkbbell: generate XKB bell events;
3833 - xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3835 - xkbwatch: reports changes in the XKB keyboard state.")
3836 (license license:x11)))
3839 (define-public xkeyboard-config
3841 (name "xkeyboard-config")
3847 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
3852 "13h3381pfp4pv32189zkfsj2x0alr91xj6dqii76rl0c8v3ihdrr"))))
3853 (build-system gnu-build-system)
3855 `(("gettext" ,gettext-minimal)
3857 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
3859 `(("intltool" ,intltool)
3860 ("pkg-config" ,pkg-config)))
3861 (home-page "https://www.x.org/wiki/")
3862 (synopsis "Xorg XKB configuration files")
3864 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
3865 There are five components that define a complete keyboard mapping:
3866 symbols, geometry, keycodes, compat, and types; these five components
3867 can be combined together using the @code{rules} component of this database.")
3868 (license license:x11)))
3871 (define-public xkill
3879 "mirror://xorg/individual/app/xkill-"
3884 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
3885 (build-system gnu-build-system)
3887 `(("libxmu" ,libxmu)
3888 ("libx11" ,libx11)))
3890 `(("pkg-config" ,pkg-config)))
3891 (home-page "https://www.x.org/wiki/")
3892 (synopsis "Kill a client by its X resource")
3894 "XKill is used to force the X server to close connections to
3895 clients. This program is very dangerous, but is useful for aborting
3896 programs that have displayed undesired windows on a user's screen.")
3897 (license license:x11)))
3900 (define-public xlsatoms
3908 "mirror://xorg/individual/app/xlsatoms-"
3913 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
3914 (build-system gnu-build-system)
3916 `(("libxcb" ,libxcb)))
3918 `(("pkg-config" ,pkg-config)))
3919 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
3920 (synopsis "List interned X server atoms")
3922 "XLsAtoms is used to list the interned atoms defined on X server.")
3923 (license license:x11)))
3926 (define-public xlsclients
3934 "mirror://xorg/individual/app/xlsclients-"
3939 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
3940 (build-system gnu-build-system)
3942 `(("libxcb" ,libxcb)))
3944 `(("pkg-config" ,pkg-config)))
3945 (home-page "https://www.x.org/wiki/")
3946 (synopsis "List client applications running on a display")
3948 "XLsClients is used to list information about the client programs
3949 running on X server.")
3950 (license license:x11)))
3953 (define-public xlsfonts
3961 "mirror://xorg/individual/app/xlsfonts-"
3966 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
3967 (build-system gnu-build-system)
3969 `(("xorgproto" ,xorgproto)
3970 ("libx11" ,libx11)))
3972 `(("pkg-config" ,pkg-config)))
3973 (home-page "https://www.x.org/wiki/")
3974 (synopsis "List fonts available from an X server")
3976 "xlsfonts lists fonts available from an X server via the X11 core
3978 (license license:x11)))
3980 (define-public xfontsel
3987 "mirror://xorg/individual/app/xfontsel-"
3988 version ".tar.bz2"))
3991 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
3992 (build-system gnu-build-system)
3995 (list (string-append "--with-appdefaultdir="
3996 %output ,%app-defaults-dir))))
3998 `(("libx11" ,libx11)
4003 `(("pkg-config" ,pkg-config)))
4004 (home-page "https://www.x.org/wiki/")
4005 (synopsis "Browse and select X font names")
4007 "XFontSel provides a simple way to display the X11 core protocol fonts
4008 known to your X server, examine samples of each, and retrieve the X Logical
4009 Font Description (XLFD) full name for a font.")
4010 (license license:x11)))
4019 "mirror://xorg/individual/app/xfd-"
4020 version ".tar.bz2"))
4023 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
4024 (build-system gnu-build-system)
4027 (list (string-append "--with-appdefaultdir="
4028 %output ,%app-defaults-dir))))
4030 `(("fontconfig" ,fontconfig)
4035 ("libxrender" ,libxrender)))
4037 `(("gettext" ,gettext-minimal)
4038 ("pkg-config" ,pkg-config)))
4039 (home-page "https://www.x.org/wiki/")
4040 (synopsis "Display all the characters in an X font")
4042 "XFD (X Font Display) package provides an utility that displays a
4043 window containing the name of the font being displayed, a row of command
4044 buttons, several lines of text for displaying character metrics, and a grid
4045 containing one glyph per cell.")
4046 (license license:x11)))
4048 (define-public xmodmap
4056 "mirror://xorg/individual/app/xmodmap-"
4061 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
4062 (build-system gnu-build-system)
4064 `(("xorgproto" ,xorgproto)
4065 ("libx11" ,libx11)))
4067 `(("pkg-config" ,pkg-config)))
4068 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
4069 (synopsis "Modify keymaps and button mappings on X server")
4071 "Xmodmap is used to display and edit the keyboard modifier map and
4072 keymap table that are used by client programs running on X server to
4073 convert event keycodes into keysyms. It is usually run from the user's
4074 session startup script to configure the keyboard according to personal
4076 (license license:x11)))
4080 ;; (define-public xorg-docs
4083 (define-public xorg-sgml-doctools
4085 (name "xorg-sgml-doctools")
4091 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
4096 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
4097 (build-system gnu-build-system)
4098 (native-inputs `(("pkg-config" ,pkg-config)))
4099 (home-page "https://www.x.org/wiki/")
4100 (synopsis "Xorg SGML documentation tools")
4102 "This package provides a common set of SGML entities and XML/CSS style
4103 sheets used in building/formatting the documentation provided in other
4104 Xorg packages. It's typically only needed by people building from
4105 source who want to produce formatted documentation from their builds, or
4106 those who have installed the HTML version of the documentation, which
4107 refers to the included common xorg.css stylesheet.")
4108 (license license:x11)))
4119 "mirror://xorg/individual/app/xpr-"
4124 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
4125 (build-system gnu-build-system)
4127 `(("xorgproto" ,xorgproto)
4129 ("libx11" ,libx11)))
4131 `(("pkg-config" ,pkg-config)))
4132 (home-page "https://www.x.org/wiki/")
4133 (synopsis "Print an X window dump from xwd")
4135 "XPr takes as input a window dump file produced by xwd and formats
4136 it for output on various types of printers.")
4137 (license license:x11)))
4140 (define-public xprop
4148 "mirror://xorg/individual/app/xprop-"
4153 "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc"))))
4154 (build-system gnu-build-system)
4156 `(("xorgproto" ,xorgproto)
4157 ("libx11" ,libx11)))
4159 `(("pkg-config" ,pkg-config)))
4160 (home-page "https://www.x.org/wiki/")
4161 (synopsis "Display X server properties")
4163 "xprop is used to display and/or set window and font properties of
4165 (license license:x11)))
4168 (define-public xrandr
4176 "mirror://xorg/individual/app/xrandr-"
4177 version ".tar.bz2"))
4180 "1kaih7rmzxr1vp5a5zzjhm5x7dn9mckya088sqqw026pskhx9ky1"))))
4181 (build-system gnu-build-system)
4183 `(("libxrender" ,libxrender)
4184 ("libxrandr" ,libxrandr)
4185 ("xorgproto" ,xorgproto)
4186 ("libx11" ,libx11)))
4188 `(("pkg-config" ,pkg-config)))
4189 (home-page "https://www.x.org/wiki/")
4190 (synopsis "Command line interface to X RandR extension")
4192 "xrandr - primitive command line interface to X11 Resize, Rotate,
4193 and Reflect (RandR) extension.")
4194 (license license:x11)))
4205 "mirror://xorg/individual/app/xrdb-"
4210 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
4211 (build-system gnu-build-system)
4213 `(("libxmu" ,libxmu)
4214 ("libx11" ,libx11)))
4216 `(("pkg-config" ,pkg-config)))
4217 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
4218 (synopsis "X server resource database utility")
4220 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4221 property on the root window of screen 0, or the SCREEN_RESOURCES
4222 property on the root window of any or all screens, or everything
4223 combined. You would normally run this program from your X startup
4225 (license license:x11)))
4228 (define-public xrefresh
4236 "mirror://xorg/individual/app/xrefresh-"
4241 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
4242 (build-system gnu-build-system)
4244 `(("libx11" ,libx11)))
4246 `(("pkg-config" ,pkg-config)))
4247 (home-page "https://www.x.org/wiki/")
4248 (synopsis "Refresh all or part of an X screen")
4250 "Xrefresh is a simple X program that causes all or part of your
4251 screen to be repainted. This is useful when system messages have messed
4253 (license license:x11)))
4264 "mirror://xorg/individual/app/xset-"
4269 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
4270 (build-system gnu-build-system)
4272 `(("xorgproto" ,xorgproto)
4274 ("libxext" ,libxext)
4275 ("libx11" ,libx11)))
4277 `(("pkg-config" ,pkg-config)))
4278 (home-page "https://www.x.org/wiki/")
4279 (synopsis "User preference utility for X server")
4281 "XSet is used to set various user preference options of the display.")
4282 (license license:x11)))
4285 (define-public xsetroot
4293 "mirror://xorg/individual/app/xsetroot-"
4298 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
4299 (build-system gnu-build-system)
4301 `(("libxmu" ,libxmu)
4302 ("libxcursor" ,libxcursor)
4303 ("xbitmaps" ,xbitmaps)))
4305 `(("pkg-config" ,pkg-config)))
4306 (home-page "https://www.x.org/wiki/")
4307 (synopsis "Root window parameter setting utility for X server")
4309 "XSetRoot allows you to tailor the appearance of the root window on
4310 a display running X server.")
4311 (license license:x11)))
4314 (define-public xtrans
4322 "mirror://xorg/individual/lib/xtrans-"
4327 "00c3ph17acnsch3gbdmx33b9ifjnl5w7vx8hrmic1r1cjcv3pgdd"))))
4328 (build-system gnu-build-system)
4329 (native-inputs `(("pkg-config" ,pkg-config)))
4330 (home-page "https://www.x.org/wiki/")
4331 (synopsis "Xorg Network Transport layer library")
4333 "Xtrans is a library of code that is shared among various X packages to
4334 handle network protocol transport in a modular fashion, allowing a single
4335 place to add new transport types. It is used by the X server, libX11,
4336 libICE, the X font server, and related components.")
4337 (license license:x11)))
4340 (define-public xvinfo
4348 "mirror://xorg/individual/app/xvinfo-"
4353 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
4354 (build-system gnu-build-system)
4356 `(("libxext" ,libxext)
4358 ("libx11" ,libx11)))
4360 `(("pkg-config" ,pkg-config)))
4361 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
4362 (synopsis "Print out X-Video extension adaptor information")
4364 "XVInfo is used to print out the capabilities of any video adaptors
4365 associated with the display that are accessible through the X-Video
4367 (license license:x11)))
4378 "mirror://xorg/individual/app/xwd-"
4383 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
4384 (build-system gnu-build-system)
4387 ("libxkbfile" ,libxkbfile)
4388 ("xorgproto" ,xorgproto)))
4390 `(("pkg-config" ,pkg-config)))
4391 (home-page "https://www.x.org/wiki/")
4392 (synopsis "Dump current contents of X window or screen to file")
4394 "Xwd is used to store window images in a specially formatted dump
4395 file. This file can then be read by various other X utilities for
4396 redisplay, printing, editing, formatting, archiving, image processing,
4397 etc. The target window is selected by clicking the pointer in the
4398 desired window. The keyboard bell is rung once at the beginning of the
4399 dump and twice whenthe dump is completed.")
4400 (license license:x11)))
4403 (define-public xwininfo
4411 "mirror://xorg/individual/app/xwininfo-"
4416 "00avrpw4h5mr1klp41lv2j4dmq465v6l5kb5bhm4k5ml8sm9i543"))))
4417 (build-system gnu-build-system)
4419 `(("libx11" ,libx11)
4420 ("xorgproto" ,xorgproto)))
4422 `(("pkg-config" ,pkg-config)))
4423 (home-page "https://www.x.org/wiki/")
4424 (synopsis "Window information utility for X server")
4426 "XWinInfo is used to print out information about windows on an X server.
4427 Various information is displayed depending on which options are selected.")
4428 (license license:x11)))
4439 "mirror://xorg/individual/app/xwud-"
4444 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
4445 (build-system gnu-build-system)
4447 `(("xorgproto" ,xorgproto)
4448 ("libx11" ,libx11)))
4450 `(("pkg-config" ,pkg-config)))
4451 (home-page "https://www.x.org/wiki/")
4452 (synopsis "Display an X window dump from xwd")
4454 "Xwud is used to display in a window an image saved in a specially
4455 formatted dump file, such as produced by xwd.")
4456 (license license:x11)))
4458 (define-public xorg-rgb
4466 "mirror://xorg/individual/app/rgb-"
4471 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4472 (build-system gnu-build-system)
4474 `(("xorgproto" ,xorgproto)))
4476 `(("pkg-config" ,pkg-config)))
4477 (home-page "https://www.x.org/wiki/")
4478 (synopsis "X color name database")
4480 "This package provides the X color name database.")
4481 (license license:x11)))
4483 ;; packages of height 1 in the propagated-inputs tree
4485 (define-public fixesproto
4493 "mirror://xorg/individual/proto/fixesproto-"
4498 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4499 (build-system gnu-build-system)
4501 `(("xorgproto" ,xorgproto)))
4503 `(("pkg-config" ,pkg-config)))
4504 (home-page "https://www.x.org/wiki/")
4505 (synopsis "Xorg FixesProto protocol headers")
4507 "Fixes Extension makes changes to many areas of the protocol to resolve
4508 issues raised by application interaction with core protocol mechanisms that
4509 cannot be adequately worked around on the client side of the wire.")
4510 (license license:x11)
4511 (properties `((superseded . ,xorgproto)))))
4513 (define-public libxdamage
4521 "mirror://xorg/individual/lib/libXdamage-"
4526 "1bamagq7g6s0d23l8rb3nppj8ifqj05f7z9bhbs4fdg8az3ffgvw"))))
4527 (build-system gnu-build-system)
4529 ;; These are all in the Requires or Requires.private field of xdamage.pc
4530 `(("libxfixes" ,libxfixes)
4531 ("xorgproto" ,xorgproto)
4532 ("libx11" ,libx11)))
4534 `(("pkg-config" ,pkg-config)))
4535 (home-page "https://www.x.org/wiki/")
4536 (synopsis "Xorg Damage Extension library")
4537 (description "Xorg library for the XDamage extension.")
4538 (license license:x11)))
4541 (define-public libxext
4549 "mirror://xorg/individual/lib/libXext-"
4554 "0dbfn5bznnrhqzvkrcmw4c44yvvpwdcsrvzxf4rk27r36b9x865m"))))
4555 (build-system gnu-build-system)
4557 `(("xorgproto" ,xorgproto)))
4559 `(("libxau" ,libxau)
4560 ("libx11" ,libx11)))
4562 `(("pkg-config" ,pkg-config)))
4563 (home-page "https://www.x.org/wiki/")
4564 (synopsis "Xorg Common extensions library")
4566 "Library for common extensions to the X11 protocol.")
4567 (license license:x11)))
4570 (define-public libxinerama
4572 (name "libxinerama")
4578 "mirror://xorg/individual/lib/libXinerama-"
4583 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
4584 (build-system gnu-build-system)
4586 `(("xorgproto" ,xorgproto)))
4588 `(("libxext" ,libxext)
4589 ("libx11" ,libx11)))
4591 `(("pkg-config" ,pkg-config)))
4592 (home-page "https://www.x.org/wiki/")
4593 (synopsis "Xorg Xinerama protocol library")
4594 (description "API for Xinerama extension to X11 protocol.")
4595 (license license:x11)))
4598 (define-public libxp
4606 "mirror://xorg/individual/lib/libXp-"
4611 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
4612 (build-system gnu-build-system)
4614 `(("printproto" ,printproto)))
4616 `(("libx11" ,libx11)
4617 ("libxext" ,libxext)))
4619 `(("pkg-config" ,pkg-config)))
4620 (home-page "https://www.x.org/wiki/")
4621 (synopsis "Xorg Print Client library")
4622 (description "Xorg Print Client library.")
4623 (license license:x11)))
4626 (define-public libxrender
4634 "mirror://xorg/individual/lib/libXrender-"
4639 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
4640 (build-system gnu-build-system)
4642 `(("xorgproto" ,xorgproto)))
4644 `(("libx11" ,libx11)))
4646 `(("pkg-config" ,pkg-config)))
4647 (home-page "https://www.x.org/wiki/")
4648 (synopsis "Xorg Render Extension library")
4649 (description "Library for the Render Extension to the X11 protocol.")
4650 (license license:x11)))
4652 (define-public libxtst
4660 "mirror://xorg/individual/lib/libXtst-"
4665 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
4666 (build-system gnu-build-system)
4669 ("xorgproto" ,xorgproto)))
4671 `(("libx11" ,libx11)))
4673 `(("pkg-config" ,pkg-config)))
4674 (home-page "https://www.x.org/wiki/")
4675 (synopsis "Xorg library for Xtest and Record extensions")
4677 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4680 The XTEST extension is a minimal set of client and server extensions
4681 required to completely test the X11 server with no user intervention. This
4682 extension is not intended to support general journaling and playback of user
4685 The RECORD extension supports the recording and reporting of all core X
4686 protocol and arbitrary X extension protocol.")
4687 (license license:x11)))
4689 (define-public libxv
4697 "mirror://xorg/individual/lib/libXv-"
4702 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
4703 (build-system gnu-build-system)
4705 `(("xorgproto" ,xorgproto)))
4707 `(("libxext" ,libxext)
4708 ("libx11" ,libx11)))
4710 `(("pkg-config" ,pkg-config)))
4711 (home-page "https://www.x.org/wiki/")
4712 (synopsis "Xorg XVideo Extension library")
4713 (description "Library for the X Video Extension to the X11 protocol.")
4714 (license license:x11)))
4716 (define-public mkfontdir
4724 "mirror://xorg/individual/app/mkfontdir-"
4729 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4730 (build-system gnu-build-system)
4733 (modify-phases %standard-phases
4734 (add-after 'install 'wrap-mkfontdir
4735 (lambda* (#:key inputs outputs #:allow-other-keys)
4736 (wrap-program (string-append (assoc-ref outputs "out")
4739 (,(string-append (assoc-ref inputs "mkfontscale")
4743 `(("mkfontscale" ,mkfontscale)))
4745 `(("pkg-config" ,pkg-config)))
4746 (home-page "https://www.x.org/wiki/")
4747 (synopsis "Create an index of X font files in a directory")
4749 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
4750 server core font system. The current implementation is a simple wrapper
4751 script around the mkfontscale program.")
4752 (license license:x11)))
4754 (define-public xproto
4762 "mirror://xorg/individual/proto/xproto-"
4767 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
4768 (build-system gnu-build-system)
4770 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
4772 `(("pkg-config" ,pkg-config)))
4773 (home-page "https://www.x.org/wiki/")
4774 (synopsis "Xorg X11Proto protocol headers")
4776 "XProto provides the headers and specification documents defining
4777 the X Window System Core Protocol, Version 11.
4779 It also includes a number of headers that aren't purely protocol related,
4780 but are depended upon by many other X Window System packages to provide
4781 common definitions and porting layer.")
4782 (license license:x11)
4783 (properties `((superseded . ,xorgproto)))))
4785 ;; packages of height 2 in the propagated-inputs tree
4787 (define-public libice
4795 "mirror://xorg/individual/lib/libICE-"
4800 "00p2b6bsg6kcdbb39bv46339qcywxfl4hsrz8asm4hy6q7r34w4g"))))
4801 (build-system gnu-build-system)
4803 `(("xorgproto" ,xorgproto)))
4805 `(("libbsd" ,libbsd)
4806 ("xtrans" ,xtrans)))
4808 `(("pkg-config" ,pkg-config)))
4809 (home-page "https://www.x.org/wiki/")
4810 (synopsis "Xorg Inter-Client Exchange library")
4811 (description "Xorg Inter-Client Exchange library.")
4812 (license license:x11)))
4815 (define-public libxau
4823 "mirror://xorg/individual/lib/libXau-"
4828 "1wm4pv12f36cwzhldpp7vy3lhm3xdcnp4f184xkxsp7b18r7gm7x"))))
4829 (build-system gnu-build-system)
4831 `(("xorgproto" ,xorgproto)))
4833 `(("pkg-config" ,pkg-config)))
4834 (home-page "https://www.x.org/wiki/")
4835 (synopsis "Xorg Authorization library")
4837 "libXau provides an authorization library for individual access to
4838 an X Window System display.")
4839 (license license:x11)))
4841 (define-public libxfixes
4849 "mirror://xorg/individual/lib/libXfixes-"
4854 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
4855 (build-system gnu-build-system)
4857 `(("xorgproto" ,xorgproto)))
4859 `(("libx11" ,libx11)))
4861 `(("pkg-config" ,pkg-config)))
4862 (home-page "https://www.x.org/wiki/")
4863 (synopsis "Xorg Fixes Extension library")
4864 (description "Library for the XFixes Extension to the X11 protocol.")
4865 (license license:x11)))
4867 (define-public libxfont
4875 "mirror://xorg/individual/lib/libXfont-"
4880 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
4881 (build-system gnu-build-system)
4883 `(("freetype" ,freetype)
4884 ("libfontenc" ,libfontenc)
4885 ("xorgproto" ,xorgproto)))
4888 ("xtrans" ,xtrans)))
4890 `(("pkg-config" ,pkg-config)))
4891 (home-page "https://www.x.org/wiki/")
4892 (synopsis "Xorg Font handling library")
4894 "libXfont provides the core of the legacy X11 font system, handling the
4895 index files (fonts.dir, fonts.alias, fonts.scale), the various font file
4896 formats, and rasterizing them. It is used by the X servers, the X Font
4897 Server (xfs), and some font utilities (bdftopcf for instance), but should
4898 not be used by normal X11 clients. X11 clients access fonts via either the
4899 new API's in libXft, or the legacy API's in libX11.")
4900 (license license:x11)))
4902 (define-public libxfont2
4908 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
4909 version ".tar.bz2"))
4912 "0klwmimmhm3axpj8pwn5l41lbggh47r5aazhw63zxkbwfgyvg2hf"))))))
4914 (define-public libxi
4922 "mirror://xorg/individual/lib/libXi-"
4927 "0idg1wc01hndvaa820fvfs7phvd1ymf0lldmq6386i7rhkzvirn2"))))
4928 (build-system gnu-build-system)
4930 `(("xorgproto" ,xorgproto)
4932 ("libxext" ,libxext)
4933 ("libxfixes" ,libxfixes)))
4935 `(("pkg-config" ,pkg-config)))
4936 (home-page "https://www.x.org/wiki/")
4937 (synopsis "Xorg Input Extension library")
4938 (description "Library for the XInput Extension to the X11 protocol.")
4939 (license license:x11)))
4941 (define-public libxrandr
4949 "mirror://xorg/individual/lib/libXrandr-"
4954 "06pmphx8lp3iywqnh88fvbfb0d8xgkx0qpvan49akpja1vxfgy8z"))))
4955 (build-system gnu-build-system)
4957 ;; In accordance with xrandr.pc.
4958 `(("libx11" ,libx11)
4959 ("libxext" ,libxext)
4960 ("libxrender" ,libxrender)
4961 ("xorgproto" ,xorgproto)))
4963 `(("pkg-config" ,pkg-config)))
4964 (home-page "https://www.x.org/wiki/")
4965 (synopsis "Xorg Resize and Rotate Extension library")
4967 "Library for the Resize and Rotate Extension to the X11 protocol.")
4968 (license license:x11)))
4970 (define-public libxvmc
4978 "mirror://xorg/individual/lib/libXvMC-"
4983 "0bb2c996p0smp2lwckffcfh4701bzv7266xh230ag0x68ka38bja"))))
4984 (build-system gnu-build-system)
4986 `(("libxv" ,libxv)))
4988 `(("xorgproto" ,xorgproto)
4989 ("libxext" ,libxext)
4990 ("libx11" ,libx11)))
4992 `(("pkg-config" ,pkg-config)))
4993 (home-page "https://www.x.org/wiki/")
4994 (synopsis "Xorg XvMC library")
4995 (description "Xorg XvMC library.")
4996 (license license:x11)))
4998 (define-public libxxf86vm
5006 "mirror://xorg/individual/lib/libXxf86vm-"
5011 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
5012 (build-system gnu-build-system)
5014 `(("libxext" ,libxext)
5015 ("xorgproto" ,xorgproto)))
5017 `(("libx11" ,libx11)))
5019 `(("pkg-config" ,pkg-config)))
5020 (home-page "https://www.x.org/wiki/")
5021 (synopsis "Xorg XF86 Video Mode Extension library")
5023 "Library for the XFree86 Video Mode Extension Extension to the X11
5025 (license license:x11)))
5028 ;; packages of height 3 in the propagated-inputs tree
5030 (define-public libxcb
5037 (uri (string-append "https://xcb.freedesktop.org/dist/"
5038 name "-" version ".tar.bz2"))
5041 "1ahxhmdqp4bhb90zmc275rmf5wixqra4bnw9pqnzyl1w3598g30q"))))
5042 (build-system gnu-build-system)
5044 `(("libpthread-stubs" ,libpthread-stubs)
5046 ("libxdmcp" ,libxdmcp)))
5048 `(("xcb-proto" ,xcb-proto)
5049 ("libxslt" ,libxslt)))
5051 `(("pkg-config" ,pkg-config)
5052 ("python" ,python-minimal-wrapper)))
5054 `(#:configure-flags '("--enable-xkb")))
5055 (home-page "https://xcb.freedesktop.org/")
5056 (synopsis "The X C Binding (XCB) library")
5058 "libxcb provides an interface to the X Window System protocol,
5059 which replaces the current Xlib interface. It has several advantages
5060 over Xlib, including:
5062 - size: small, simple library, and lower memory footprint;
5064 - latency hiding: batch several requests and wait for the replies later;
5066 - direct protocol access: interface and protocol correspond exactly;
5068 - proven thread support: transparently access XCB from multiple threads;
5070 - easy extension implementation: interfaces auto-generated from XML-XCB.")
5071 (license license:x11)))
5074 (define-public xorg-server
5076 (name "xorg-server")
5082 "mirror://xorg/individual/xserver/"
5083 "xorg-server-" version ".tar.bz2"))
5086 "1vk6j7hmigfill9x8m7a6vvgb3s50ji2yf6yprbgqfz9xf9x83zy"))
5090 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5091 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5095 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5096 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5099 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5100 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
5101 (build-system gnu-build-system)
5103 `(("libpciaccess" ,libpciaccess)
5106 ("xorgproto" ,xorgproto)))
5111 ("libepoxy" ,libepoxy)
5112 ("libgcrypt" ,libgcrypt)
5115 ("libxdmcp" ,libxdmcp)
5116 ("libxfixes" ,libxfixes)
5117 ("libxfont2" ,libxfont2)
5118 ("libxkbfile" ,libxkbfile)
5119 ("libxrender" ,libxrender)
5120 ("libxres" ,libxres)
5121 ("libxshmfence" ,libxshmfence)
5124 ("xkbcomp" ,xkbcomp)
5125 ("xkeyboard-config" ,xkeyboard-config)
5128 ;; Inputs for Xephyr
5129 ("xcb-util" ,xcb-util)
5130 ("xcb-util-image" ,xcb-util-image)
5131 ("xcb-util-keysyms" ,xcb-util-keysyms)
5132 ("xcb-util-renderutil" ,xcb-util-renderutil)
5133 ("xcb-util-wm" ,xcb-util-wm)))
5135 `(("python" ,python-wrapper)
5136 ("pkg-config" ,pkg-config)))
5138 `(#:parallel-tests? #f
5140 (list (string-append "--with-xkb-path="
5141 (assoc-ref %build-inputs "xkeyboard-config")
5143 (string-append "--with-xkb-output="
5144 "/tmp") ; FIXME: This is a bit doubtful; where should
5145 ; the compiled keyboard maps go?
5146 (string-append "--with-xkb-bin-directory="
5147 (assoc-ref %build-inputs "xkbcomp")
5149 ;; By default, it ends up with invalid '${prefix}/...', causes:
5150 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5151 ;; It's not used anyway, so set it to empty.
5152 "--with-default-font-path="
5154 ;; The default is to use "uname -srm", which captures the kernel
5155 ;; version and makes builds non-reproducible.
5156 "--with-os-name=GNU"
5158 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5161 ;; For the log file, etc.
5162 "--localstatedir=/var"
5168 (modify-phases %standard-phases
5169 (add-before 'configure 'pre-configure
5171 (substitute* (find-files "." "\\.c$")
5172 (("/bin/sh") (which "sh")))
5174 ;; Don't try to 'mkdir /var'.
5175 (substitute* "hw/xfree86/Makefile.in"
5176 (("\\$\\(MKDIR_P\\).*logdir.*")
5179 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5181 (substitute* "configure"
5182 (("^BUILD_DATE=.*$")
5183 "BUILD_DATE=19700101\n")
5184 (("^BUILD_TIME=.*$")
5185 "BUILD_TIME=000001\n"))
5188 (home-page "https://www.x.org/wiki/")
5189 (synopsis "Xorg implementation of the X Window System")
5191 "This package provides the Xorg X server itself.
5192 The X server accepts requests from client programs to create windows, which
5193 are (normally rectangular) 'virtual screens' that the client program can
5196 Windows are then composed on the actual screen by the X server (or by a
5197 separate composite manager) as directed by the window manager, which usually
5198 communicates with the user via graphical controls such as buttons and
5199 draggable titlebars and borders.")
5200 (license license:x11)))
5202 ;; This package is intended to be used when building GTK+.
5203 ;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5204 ;; packages with the same name and version.
5205 (define-public xorg-server-for-tests
5208 (inherit xorg-server))))
5210 (define-public xorg-server-xwayland
5212 (inherit xorg-server)
5213 (name "xorg-server-xwayland")
5215 `(("wayland" ,wayland)
5216 ("wayland-protocols" ,wayland-protocols)
5217 ,@(package-inputs xorg-server)))
5219 (substitute-keyword-arguments (package-arguments xorg-server)
5220 ((#:configure-flags flags)
5221 `(cons* "--enable-xwayland" "--disable-xorg"
5222 "--disable-docs" "--disable-devel-docs"
5223 "--disable-xvfb" "--disable-xnest"
5224 "--disable-xquartz" "--disable-xwin"
5226 (synopsis "Xorg server with wayland backend")))
5229 ;; packages of height 4 in the propagated-inputs tree
5231 (define-public libx11
5239 "mirror://xorg/individual/lib/libX11-"
5244 "0ks1mxlda7nxfmffihi15ljsn50q8dknl33i2xag8xzc80fiizk5"))))
5245 (build-system gnu-build-system)
5247 "doc")) ;8 MiB of man pages + XML
5249 '(#:configure-flags (list (string-append "--mandir="
5250 (assoc-ref %outputs "doc")
5253 `(("xorgproto" ,xorgproto)
5254 ("libxcb" ,libxcb)))
5256 `(("xtrans" ,xtrans)))
5258 `(("pkg-config" ,pkg-config)))
5259 (home-page "https://www.x.org/wiki/")
5260 (synopsis "Xorg Core X11 protocol client library")
5261 (description "Xorg Core X11 protocol client library.")
5262 (license license:x11)))
5264 ;; packages of height 5 in the propagated-inputs tree
5266 (define-public libxcursor
5274 "mirror://xorg/individual/lib/libXcursor-"
5279 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
5280 (build-system gnu-build-system)
5282 `(("libx11" ,libx11)
5283 ("libxrender" ,libxrender)
5284 ("libxfixes" ,libxfixes)
5285 ("xorgproto" ,xorgproto)))
5287 `(("pkg-config" ,pkg-config)))
5288 ;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so
5289 ;; libXcursor finds cursors installed into a profile. If we solve bugs
5290 ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix
5291 ;; this with a search-path as follows:
5293 ;; (native-search-paths
5294 ;; (list (search-path-specification
5295 ;; (variable "XCURSOR_PATH")
5296 ;; (files '("share/icons")))))
5297 (home-page "https://www.x.org/wiki/")
5298 (synopsis "Xorg Cursor management library")
5299 (description "Xorg Cursor management library.")
5300 (license license:x11)))
5302 (define-public libxt
5310 "mirror://xorg/individual/lib/libXt-"
5315 "06lz6i7rbrp19kgikpaz4c97fw7n31k2h2aiikczs482g2zbdvj6"))
5316 (patches (search-patches "libxt-guix-search-paths.patch"))))
5317 (build-system gnu-build-system)
5319 "doc")) ;2 MiB of man pages + XML
5321 '(#:configure-flags (list (string-append "--mandir="
5322 (assoc-ref %outputs "doc")
5325 `(("libx11" ,libx11)
5329 `(("libx11" ,libx11)))
5331 `(("pkg-config" ,pkg-config)))
5332 (home-page "https://www.x.org/wiki/")
5333 (synopsis "Xorg XToolkit Intrinsics library")
5334 (description "Xorg XToolkit Intrinsics library.")
5335 (license license:x11)))
5338 (define-public libxaw
5346 "mirror://xorg/individual/lib/libXaw-"
5351 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
5352 (build-system gnu-build-system)
5354 `(("libxext" ,libxext)
5359 `(("xorgproto" ,xorgproto)))
5361 `(("pkg-config" ,pkg-config)))
5362 (home-page "https://www.x.org/wiki/")
5363 (synopsis "Xorg Xaw library")
5365 "Xaw is the X Athena Widget Set based on the X Toolkit
5366 Intrinsics (Xt) Library.")
5367 (license license:x11)))
5377 "mirror://xorg/individual/app/" name "-"
5382 "1ms5cj1w3g26zg6bxdv1j9hl0pxr4300qnv003cz1q3cl7ffljb4"))))
5383 (build-system gnu-build-system)
5387 ("libxext" ,libxext)
5388 ("xorgproto" ,xorgproto)))
5391 ("pkg-config" ,pkg-config)))
5392 (home-page "https://www.x.org/wiki/")
5393 (synopsis "Tab Window Manager for the X Window System")
5394 (description "Twm is a window manager for the X Window System.
5395 It provides titlebars, shaped windows, several forms of icon management,
5396 user-defined macro functions, click-to-type and pointer-driven
5397 keyboard focus, and user-specified key and pointer button bindings.")
5398 (license license:x11)))
5400 (define-public xcb-util
5406 (uri (string-append "mirror://xorg/individual/xcb/"
5407 name "-" version ".tar.bz2"))
5410 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
5411 (build-system gnu-build-system)
5413 `(("libxcb" ,libxcb)))
5415 `(("pkg-config" ,pkg-config)))
5416 (home-page "https://cgit.freedesktop.org/xcb/util/")
5417 (synopsis "Core XCB utility functions")
5419 "The XCB util module provides a number of libraries which sit on
5420 top of libxcb, the core X protocol library, and some of the extension
5421 libraries. These experimental libraries provide convenience functions
5422 and interfaces which make the raw X protocol more usable. Some of the
5423 libraries also provide client-side code which is not strictly part of
5424 the X protocol but which has traditionally been provided by Xlib.
5426 The XCB util module provides the following libraries:
5428 - aux: Convenient access to connection setup and some core requests.
5430 - atom: Standard core X atom constants and atom caching.
5432 - event: Some utilities that have little to do with events any more.")
5433 (license license:x11)))
5436 (define-public xcb-util-cursor
5438 (name "xcb-util-cursor")
5442 (uri (string-append "https://xcb.freedesktop.org/dist/"
5443 "xcb-util-cursor-" version ".tar.bz2"))
5446 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
5447 (build-system gnu-build-system)
5450 ("pkg-config" ,pkg-config)))
5452 `(("libxcb" ,libxcb)))
5454 `(("xcb-util-renderutil" ,xcb-util-renderutil)
5455 ("xcb-util-image" ,xcb-util-image)))
5456 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
5457 (synopsis "Port of libxcursor")
5458 (description "XCB-util-cursor is a port of libxcursor.")
5460 ; expat license with added clause regarding advertising
5461 (license:non-copyleft
5463 "See COPYING in the distribution."))))
5465 (define-public xcb-util-errors
5466 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5469 (name "xcb-util-errors")
5470 (version (git-version "1.0" revision commit))
5474 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5477 (file-name (git-file-name name version))
5480 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5481 (build-system gnu-build-system)
5484 `(("util-macros" ,util-macros)
5485 ("xcb-proto" ,xcb-proto)))
5487 `(("libxcb" ,libxcb)))
5489 `(("autoconf" ,autoconf)
5490 ("automake" ,automake)
5491 ("libtool" ,libtool)
5492 ("python-2" ,python-2)
5493 ("pkg-config" ,pkg-config)))
5496 (modify-phases %standard-phases
5499 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5500 ;; would try to run ./configure and fail due to unpatched
5502 (invoke "autoreconf" "-v" "--install"))))))
5503 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5504 (synopsis "XCB helper library for printing information about X11 errors")
5506 "The XCB util module provides a number of libraries which sit on
5507 top of libxcb, the core X protocol library, and some of the extension
5508 libraries. These experimental libraries provide convenience functions
5509 and interfaces which make the raw X protocol more usable. Some of the
5510 libraries also provide client-side code which is not strictly part of
5511 the X protocol but which has traditionally been provided by Xlib.
5513 The XCB util-errors module provides a utility library that gives human
5514 readable names to error codes, event codes, and also to major and minor
5516 (license license:x11))))
5518 (define-public xcb-util-image
5520 (name "xcb-util-image")
5524 (uri (string-append "mirror://xorg/individual/xcb/"
5525 name "-" version ".tar.bz2"))
5528 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
5529 (build-system gnu-build-system)
5531 `(("libxcb" ,libxcb)))
5533 `(("xcb-util" ,xcb-util)))
5535 `(("pkg-config" ,pkg-config)))
5536 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
5537 (synopsis "XCB port of Xlib's XImage and XShmImage")
5539 "The XCB util module provides a number of libraries which sit on
5540 top of libxcb, the core X protocol library, and some of the extension
5541 libraries. These experimental libraries provide convenience functions
5542 and interfaces which make the raw X protocol more usable. Some of the
5543 libraries also provide client-side code which is not strictly part of
5544 the X protocol but which has traditionally been provided by Xlib.
5546 The XCB util-image module provides the following library:
5548 - image: Port of Xlib's XImage and XShmImage functions.")
5549 (license license:x11)))
5552 (define-public xcb-util-keysyms
5554 (name "xcb-util-keysyms")
5558 (uri (string-append "mirror://xorg/individual/xcb/"
5559 name "-" version ".tar.bz2"))
5562 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
5563 (build-system gnu-build-system)
5565 `(("libxcb" ,libxcb)))
5567 `(("pkg-config" ,pkg-config)))
5568 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
5569 (synopsis "Standard X constants and conversion to/from keycodes")
5571 "The XCB util module provides a number of libraries which sit on
5572 top of libxcb, the core X protocol library, and some of the extension
5573 libraries. These experimental libraries provide convenience functions
5574 and interfaces which make the raw X protocol more usable. Some of the
5575 libraries also provide client-side code which is not strictly part of
5576 the X protocol but which has traditionally been provided by Xlib.
5578 The XCB util-keysyms module provides the following library:
5580 - keysyms: Standard X key constants and conversion to/from keycodes.")
5581 (license license:x11)))
5584 (define-public xcb-util-renderutil
5586 (name "xcb-util-renderutil")
5590 (uri (string-append "mirror://xorg/individual/xcb/"
5591 name "-" version ".tar.bz2"))
5594 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
5595 (build-system gnu-build-system)
5597 `(("libxcb" ,libxcb)))
5599 `(("pkg-config" ,pkg-config)))
5600 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
5601 (synopsis "Convenience functions for the Render extension")
5603 "The XCB util module provides a number of libraries which sit on
5604 top of libxcb, the core X protocol library, and some of the extension
5605 libraries. These experimental libraries provide convenience functions
5606 and interfaces which make the raw X protocol more usable. Some of the
5607 libraries also provide client-side code which is not strictly part of
5608 the X protocol but which has traditionally been provided by Xlib.
5610 The XCB util-renderutil module provides the following library:
5612 - renderutil: Convenience functions for the Render extension.")
5613 (license license:x11)))
5616 (define-public xcb-util-wm
5618 (name "xcb-util-wm")
5622 (uri (string-append "mirror://xorg/individual/xcb/"
5623 name "-" version ".tar.bz2"))
5626 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
5627 (build-system gnu-build-system)
5629 `(("libxcb" ,libxcb)))
5632 ("pkg-config" ,pkg-config)))
5633 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
5634 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
5636 "The XCB util modules provides a number of libraries which sit on
5637 top of libxcb, the core X protocol library, and some of the extension
5638 libraries. These experimental libraries provide convenience functions
5639 and interfaces which make the raw X protocol more usable. Some of the
5640 libraries also provide client-side code which is not strictly part of
5641 the X protocol but which has traditionally been provided by Xlib.
5643 The XCB util-wm module provides the following libraries:
5645 - ewmh: Both client and window-manager helpers for EWMH.
5647 - icccm: Both client and window-manager helpers for ICCCM.")
5648 (license license:x11)))
5650 (define-public xinit
5656 (uri (string-append "mirror://xorg/individual/app/xinit-"
5657 version ".tar.bz2"))
5660 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
5661 (build-system gnu-build-system)
5663 `(("xorgproto" ,xorgproto)
5664 ("libx11" ,libx11)))
5666 `(("pkg-config" ,pkg-config)))
5668 `(("xauth" ,xauth)))
5669 (home-page "https://www.x.org/")
5670 (synopsis "Commands to start the X Window server")
5672 "The xinit program is used to start the X Window System server and a
5673 first client program on systems that are not using a display manager such as
5674 xdm. This package also provides the @code{startx} command, which provides a
5675 user-friendly mechanism to start the X server.")
5676 (license license:x11)))
5678 ;; package outside the x.org system proper of height 5
5680 (define-public libxaw3d
5688 "mirror://xorg/individual/lib/libXaw3d-"
5693 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
5694 (build-system gnu-build-system)
5696 `(("libxext" ,libxext)
5700 `(("libx11" ,libx11)))
5702 `(("pkg-config" ,pkg-config)))
5703 (home-page "https://www.x.org/wiki/")
5704 (synopsis "Xorg Xaw3d library")
5706 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5707 Intrinsics (Xt) Library.")
5708 (license license:x11)))
5710 (define-public xclock
5717 (uri (string-append "https://www.x.org/releases/individual/app/"
5718 name "-" version ".tar.bz2"))
5720 (base32 "0m92zhamh15my9f2rqa14q41d6k2cn468azm3g7g3w9n7942024k"))))
5721 (build-system gnu-build-system)
5724 (list (string-append "--with-appdefaultdir="
5725 %output ,%app-defaults-dir))))
5727 `(("libxmu" ,libxmu)
5730 ("libxrender" ,libxrender)
5732 ("libxkbfile" ,libxkbfile)))
5734 `(("pkg-config" ,pkg-config)))
5735 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
5736 (synopsis "Analog / digital clock for X")
5737 (description "The xclock program displays the time in analog or digital
5739 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
5749 "mirror://xorg/individual/app/" name "-"
5754 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
5755 (build-system gnu-build-system)
5758 (list (string-append "--with-appdefaultdir="
5759 %output ,%app-defaults-dir))))
5761 `(("libxaw" ,libxaw)))
5763 `(("pkg-config" ,pkg-config)))
5764 (home-page "https://www.x.org/wiki/")
5765 (synopsis "Display or capture a magnified part of a X11 screen")
5766 (description "Xmag displays and captures a magnified snapshot of a portion
5768 (license license:x11)))
5770 (define-public xmessage
5778 "mirror://xorg/individual/app/" name "-"
5783 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
5784 (build-system gnu-build-system)
5787 (list (string-append "--with-appdefaultdir="
5788 %output ,%app-defaults-dir))))
5790 `(("libxaw" ,libxaw)))
5792 `(("pkg-config" ,pkg-config)))
5793 (home-page "https://www.x.org/wiki/")
5794 (synopsis "Displays a message or query in a window")
5796 "Xmessage displays a message or query in a window. The user can click
5797 on a button to dismiss it or can select one of several buttons
5798 to answer a question. Xmessage can also exit after a specified time.")
5799 (license license:x11)))
5801 (define-public xterm
5808 (string-append "http://invisible-mirror.net/archives/xterm/"
5809 name "-" version ".tgz")
5810 (string-append "ftp://ftp.invisible-island.net/xterm/"
5811 name "-" version ".tgz")))
5814 "15nbgys4s2idhx6jzzc24g9bb1s6yps5fyg2bafvs0gkkcm1ggz0"))))
5815 (build-system gnu-build-system)
5817 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
5818 "--enable-i18n" "--enable-doublechars"
5819 "--enable-luit" "--enable-mini-luit")
5822 `(("pkg-config" ,pkg-config)))
5826 ("fontconfig" ,fontconfig)
5827 ("freetype" ,freetype)
5828 ("ncurses" ,ncurses)
5832 ("libXext" ,libxext)
5834 ("xorgproto" ,xorgproto)
5835 ("libXaw" ,libxaw)))
5836 (home-page "https://invisible-island.net/xterm/")
5837 (synopsis "Terminal emulator for the X Window System")
5839 "The xterm program is a terminal emulator for the X Window System. It
5840 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
5841 programs that cannot use the window system directly.")
5842 (license license:x11)))
5844 (define-public perl-x11-xcb
5846 (name "perl-x11-xcb")
5851 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
5852 "X11-XCB-" version ".tar.gz"))
5855 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
5856 (build-system perl-build-system)
5858 '(;; Disable parallel build to prevent a race condition.
5859 #:parallel-build? #f
5861 (modify-phases %standard-phases
5862 (add-before 'configure 'set-perl-search-path
5865 (string-append (getcwd) ":"
5866 (getenv "PERL5LIB")))
5868 (add-before 'build 'patch-Makefile
5869 (lambda* (#:key inputs #:allow-other-keys)
5870 (substitute* "Makefile"
5871 ;; XXX: Without this hack, attempts at using XCB.so fails with
5872 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
5874 (string-append "LDDLFLAGS = "
5875 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
5877 ;; Tests require a running X11 server.
5880 `(("perl-extutils-depends" ,perl-extutils-depends)
5881 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
5882 ("perl-module-install" ,perl-module-install)
5883 ("perl-test-deep" ,perl-test-deep)
5884 ("perl-test-exception" ,perl-test-exception)))
5886 `(("perl-data-dump" ,perl-data-dump)
5887 ("perl-mouse" ,perl-mouse)
5888 ("perl-mousex-nativetraits" ,perl-mousex-nativetraits)
5889 ("perl-try-tiny" ,perl-try-tiny)
5890 ("perl-xml-descent" ,perl-xml-descent)
5891 ("perl-xml-simple" ,perl-xml-simple)
5892 ("perl-xs-object-magic" ,perl-xs-object-magic)))
5894 `(("libxcb" ,libxcb)
5895 ("xcb-proto" ,xcb-proto)
5896 ("xcb-util" ,xcb-util)
5897 ("xcb-util-wm" ,xcb-util-wm)))
5898 (home-page "https://metacpan.org/release/X11-XCB")
5899 (synopsis "Perl bindings for libxcb")
5901 "These bindings wrap @code{libxcb} (a C library to speak with X11,
5902 in many cases better than @code{Xlib}), and provides an object oriented
5903 interface to its methods (using @code{Mouse}).")
5904 (license license:perl-license)))
5906 (define-public perl-x11-protocol
5908 (name "perl-x11-protocol")
5913 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
5917 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
5918 (build-system perl-build-system)
5919 (arguments '(#:tests? #f)) ;tests require a running x server
5920 (synopsis "Raw interface to X Window System servers")
5922 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
5923 perl programs to display windows and graphics on X11 servers.")
5924 (home-page "https://metacpan.org/release/X11-Protocol")
5925 ;; From the package README: "you can redistribute and/or modify it under
5926 ;; the same terms as Perl itself. (As an exception, the file
5927 ;; Keysyms.pm,which is derived from a file in the standard X11
5928 ;; distribution, has another, less restrictive copying policy, as do some
5929 ;; of the extension modules in the directory Protocol/Ext: see those files
5931 (license license:perl-license)))
5933 (define-public perl-x11-protocol-other
5935 (name "perl-x11-protocol-other")
5941 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
5945 "1mambi57cdkj82wiw1l8y2f70a60qsamdas0165hlj10drryfgrj"))))
5946 (build-system perl-build-system)
5948 `(("perl-encode-hanextra" ,perl-encode-hanextra)
5949 ("perl-module-util" ,perl-module-util)))
5951 `(("perl-x11-protocol" ,perl-x11-protocol)))
5952 (home-page "https://metacpan.org/release/X11-Protocol-Other")
5953 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
5955 "@code{X11::Protocol::Other} contains window manager related functions for
5956 use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
5957 Conventions Manual) and some of the @dfn{EWMH}
5958 (Extended Window Manager Hints).")
5959 (license license:gpl3+)))
5961 (define-public xcompmgr
5967 ;; there's no current tarball
5970 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
5971 (commit (string-append name "-" version))))
5974 "04swkrm3gk689wrjc418bd3n25w8r20kg1xfbn5j8d7mx1r5gf16"))
5975 (file-name (string-append name "-" version))))
5976 (build-system gnu-build-system)
5978 `(#:phases (modify-phases %standard-phases
5979 (add-after 'unpack 'autogen
5981 (setenv "NOCONFIGURE" "t")
5982 (invoke "sh" "autogen.sh"))))))
5984 `(("pkg-config" ,pkg-config)
5985 ("autoconf" ,autoconf)
5986 ("automake" ,automake)))
5988 `(("libX11" ,libx11)
5989 ("libXext" ,libxext)
5990 ("libXcomposite" ,libxcomposite)
5991 ("libXfixes" ,libxfixes)
5992 ("libXdamage" ,libxdamage)
5993 ("libXrender" ,libxrender)))
5994 (synopsis "X Compositing manager using RENDER")
5995 (description "xcompmgr is a sample compositing manager for X servers
5996 supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
5997 basic eye-candy effects.")
5998 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
5999 (license (license:x11-style
6000 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
6009 (uri (string-append "https://www.xpra.org/src/xpra-"
6013 "0q6c7ijgpp2wk6jlh0pzqki1w60i36wyl2zfwkg0gpdh40ypab3x"))))
6014 (build-system python-build-system)
6015 (inputs `(("ffmpeg" ,ffmpeg)
6017 ("gtk+-2" ,gtk+-2) ;; no full GTK3 support yet
6018 ("libjpeg" ,libjpeg)
6021 ("libx264" ,libx264)
6022 ("libxcomposite" ,libxcomposite)
6023 ("libxdamage" ,libxdamage)
6025 ("libxkbfile" ,libxkbfile)
6026 ("libxrandr" ,libxrandr)
6027 ("libxtst" ,libxtst)
6029 ("python2-cryptography" ,python2-cryptography)
6030 ("python2-dbus" ,python2-dbus)
6031 ("python2-lz4" ,python2-lz4)
6032 ("python2-lzo" ,python2-lzo)
6033 ("python2-netifaces" ,python2-netifaces)
6034 ("python2-numpy" ,python2-numpy)
6035 ("python2-pillow" ,python2-pillow)
6036 ("python2-pycairo" ,python2-pycairo)
6037 ("python2-pycrypto" ,python2-pycrypto)
6038 ("python2-pygobject" ,python2-pygobject)
6039 ("python2-pyopengl" ,python2-pyopengl)
6040 ("python2-pyopengl-accelerate" ,python2-pyopengl-accelerate)
6041 ("python2-pygtk" ,python2-pygtk)
6042 ("python2-rencode" ,python2-rencode)
6043 ("xorg-server" ,xorg-server)))
6044 (native-inputs `(("pkg-config" ,pkg-config)
6045 ("python2-cython" ,python2-cython)))
6047 `(#:python ,python-2 ;; no full Python 3 support yet
6048 #:configure-flags '("--with-tests"
6049 "--with-bundle_tests"
6050 "--without-Xdummy" ;; We use Xvfb instead.
6051 "--without-Xdummy_wrapper"
6053 #:modules ((guix build python-build-system)
6057 (modify-phases %standard-phases
6059 (delete 'check) ;; There's no test suite at the moment.
6061 ;; Remove BUILD_CPU, BUILD_DATE, BUILD_TIME from build info to
6062 ;; prevent deterministic issues. Also correct some directories and
6063 ;; use the xvfb binary instead of xorg-server (which doesn't seem to
6065 (add-before 'install 'remove-timestamps&set-file-names
6066 (lambda* (#:key inputs outputs #:allow-other-keys)
6067 (substitute* "add_build_info.py"
6068 ((".*\"BUILD_CPU\", get_cpuinfo.*") ""))
6069 (substitute* "add_build_info.py"
6070 ((".*\"BUILD_DATE\", datetime.*") ""))
6071 (substitute* "add_build_info.py"
6072 ((".*\"BUILD_TIME\", datetime.*") ""))
6073 (substitute* "setup.py"
6075 (string-append (assoc-ref outputs "out")
6077 (substitute* "setup.py"
6079 (string-append (assoc-ref outputs "out") "/lib/")))
6080 ;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
6081 (substitute* "./xpra/scripts/config.py"
6082 ((":.*join.*xvfb.*")
6083 (string-append ": \"" (assoc-ref inputs "xorg-server")
6084 "/bin/Xvfb +extension Composite"
6085 " -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
6086 " tcp -nolisten local -noreset -auth"
6087 " $XAUTHORITY\",\n")))
6088 (substitute* "./xpra/scripts/config.py"
6089 (("socket-dir.*: \"\",")
6090 "socket-dir\" : \"~/.xpra\","))
6092 (home-page "https://www.xpra.org/")
6093 (synopsis "Remote access to individual applications or full desktops")
6094 (description "Xpra is a persistent remote display server and client for
6095 forwarding applications and desktop screens. It gives you remote access to
6096 individual applications or full desktops. On X11, it is also known as
6097 ``@command{screen} for X11'': it allows you to run programs, usually on a
6098 remote host, direct their display to your local machine, and then to
6099 disconnect from these programs and reconnect from the same or another machine,
6100 without losing any state. It can also be used to forward full desktops from
6101 X11 servers, Windows, or macOS.")
6102 (license license:gpl2+)))
6111 (uri (string-append "https://github.com/uim/uim/releases/download/"
6112 version "/uim-" version ".tar.bz2"))
6115 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
6116 (build-system gnu-build-system)
6119 ("libedit" ,libedit)
6121 ("m17n-lib" ,m17n-lib)))
6123 `(("emacs" ,emacs-minimal)
6124 ("intltool" ,intltool)
6125 ("pkg-config" ,pkg-config)))
6127 `(#:modules ((guix build gnu-build-system)
6129 (guix build emacs-utils))
6130 #:imported-modules (,@%gnu-build-system-modules
6131 (guix build emacs-utils))
6133 (list "--with-anthy-utf8"
6134 (string-append "--with-lispdir=" %output
6135 "/share/emacs/site-lisp/guix.d")
6136 ;; Set proper runpath
6137 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
6139 (modify-phases %standard-phases
6140 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6141 (add-after 'configure 'configure-uim-el
6142 (lambda* (#:key outputs #:allow-other-keys)
6143 (substitute* "emacs/uim-var.el"
6144 (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable)
6145 (string-append "\"" (assoc-ref outputs "out")
6146 "/bin/" executable "\"")))
6148 ;; Generate emacs autoloads for uim.el
6149 (add-after 'install 'make-autoloads
6150 (lambda* (#:key outputs #:allow-other-keys)
6151 (emacs-generate-autoloads
6152 ,name (string-append (assoc-ref outputs "out")
6153 "/share/emacs/site-lisp"))
6155 (home-page "https://github.com/uim/uim")
6156 (synopsis "Multilingual input method framework")
6157 (description "Uim is a multilingual input method library and environment.
6158 It provides a simple, easily extensible and high code-quality input method
6159 development platform, and useful input method environment for users of desktop
6160 and embedded platforms.")
6161 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6162 license:gpl2+ ; scm/pinyin-big5.scm
6163 license:gpl3+ ; scm/elatin-rules.cm
6164 license:public-domain ; scm/input-parse.scm, scm/match.scm
6165 ;; gtk2/toolbar/eggtrayicon.{ch},
6166 ;; qt3/chardict/kseparator.{cpp,h},
6167 ;; qt3/pref/kseparator.{cpp,h}
6169 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6173 (define-public uim-gtk
6180 ,@(package-inputs uim)))
6181 (synopsis "Multilingual input method framework (GTK+ support)")))
6183 (define-public uim-qt
6189 ,@(package-inputs uim)))
6191 (substitute-keyword-arguments (package-arguments uim)
6192 ((#:configure-flags configure-flags)
6193 (append configure-flags (list "--with-qt4-immodule"
6195 (synopsis "Multilingual input method framework (Qt support)")))
6197 (define-public keynav
6200 (version "0.20110708.0")
6205 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6206 version ".orig.tar.gz"))
6207 (file-name (string-append name "-" version ".tar.gz"))
6210 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6211 (build-system gnu-build-system)
6216 ("libxext" ,libxext)
6217 ("libxinerama" ,libxinerama)
6218 ("libxtst" ,libxtst)
6219 ("xdotool" ,xdotool)))
6221 `(("pkg-config" ,pkg-config)))
6223 `(#:tests? #f ;No tests.
6225 (modify-phases %standard-phases
6226 (add-after 'unpack 'setenv
6228 (setenv "CC" (which "gcc"))
6230 (add-after 'unpack 'patch-keynav
6232 (substitute* "keynav.c"
6233 (("xdo_symbol_map") "xdo_get_symbol_map")
6234 (("xdo_window_setclass") "xdo_set_window_class")
6235 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6236 (("xdo_click") "xdo_click_window")
6237 (("xdo_mouseup") "xdo_mouse_up")
6238 (("xdo_mousedown") "xdo_mouse_down")
6239 (("xdo_mousemove") "xdo_move_mouse")
6240 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6241 (("xdo_mouselocation") "xdo_get_mouse_location")
6242 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6243 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6244 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6248 (lambda* (#:key outputs #:allow-other-keys)
6249 (let ((out (assoc-ref outputs "out")))
6250 (install-file "keynav" (string-append out "/bin"))
6251 (install-file "keynavrc" (string-append out "/etc")))
6253 (home-page "https://www.semicomplete.com/projects/keynav/")
6254 (synopsis "Keyboard-driven mouse cursor mover")
6256 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6257 cursor to any point on the screen with a few key strokes. It also simulates
6258 mouse click. You can do everything mouse can do with a keyboard.")
6259 (license license:bsd-3)))
6261 (define-public transset-df
6263 (name "transset-df")
6267 (uri (string-append "http://forchheimer.se/" name "/" name "-" version
6271 "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
6272 (build-system gnu-build-system)
6275 (modify-phases %standard-phases
6276 (add-after 'unpack 'setenv
6278 (setenv "CC" (which "gcc"))
6283 (lambda* (#:key outputs #:allow-other-keys)
6284 (let* ((out (assoc-ref outputs "out"))
6285 (bin (string-append out "/bin")))
6286 (install-file "transset-df" bin)
6289 `(("pkg-config" ,pkg-config)))
6290 (inputs `(("libxcomposite" ,libxcomposite)
6291 ("libxdamager" ,libxdamage)
6292 ("libxrender" ,libxrender)))
6293 (synopsis "Set the transparency of X11 windows")
6294 (description "The @command{transset-df} command allows you to set the
6295 opacity of X11 windows. This patched version of X.Org's @command{transset}
6296 adds functionality, including: selecting window by clicking (as transset),
6297 selecting windows by pointing select actual focused X11 window, selecting by
6298 window name or id, forcing toggle, increase or decrease opacity.")
6299 (home-page "http://forchheimer.se/transset-df/")
6300 (license license:x11)))
6302 (define-public bdfresize
6307 ;; Former upstream at
6308 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6309 ;; vanished so use Debian, which in practice is the new
6313 (url "https://salsa.debian.org/debian/bdfresize.git")
6314 (commit (string-append "debian/" version))))
6317 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6318 (modules '((guix build utils)))
6321 (for-each make-file-writable (find-files "."))
6323 ;; Remove broken declaration.
6324 (substitute* "charresize.c"
6325 (("char\t\\*malloc\\(\\);")
6328 ;; Remove old configury that doesn't support modern
6329 ;; command-line options, new architectures, etc.
6330 (for-each delete-file
6331 '("configure" "install-sh"
6332 "missing" "mkinstalldirs"))
6334 (file-name (git-file-name name version))))
6335 (build-system gnu-build-system)
6337 `(("pkg-config" ,pkg-config)
6338 ("autoconf" ,autoconf)
6339 ("automake" ,automake)))
6340 (synopsis "Resize fonts in the BDF format")
6342 "This packages provides @command{bdfresize}, a command to magnify or
6343 reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6345 (home-page "https://tracker.debian.org/pkg/bdfresize")
6346 (license license:gpl2+)) )
6348 (define-public console-setup
6350 (name "console-setup")
6356 (url "https://salsa.debian.org/installer-team/console-setup.git")
6359 (base32 "0qklm9ww1wap2bs7hp31xkfjyhdrirg2mk4hiv7h6fiqckzmdwvd"))
6360 (file-name (git-file-name name version))))
6361 (build-system gnu-build-system)
6364 (let ((bash (assoc-ref %build-inputs "bash"))
6365 (out (assoc-ref %outputs "out")))
6366 (list (string-append "SHELL=" bash "/bin/bash")))
6367 #:tests? #f ;no tests
6369 (modify-phases %standard-phases
6371 (add-after 'unpack 'patch-file-names
6373 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6375 (substitute* '("Keyboard/ckbcomp")
6377 (string-append "\"" (which "cat")
6380 (add-before 'build 'make-doubled-bdfs
6381 (lambda* (#:key inputs #:allow-other-keys)
6382 (invoke "make" "-C" "Fonts"
6384 (string-append "SHELL="
6385 (assoc-ref inputs "bash")
6388 (lambda* (#:key inputs outputs #:allow-other-keys)
6389 (let ((out (assoc-ref %outputs "out")))
6390 (invoke "make" "install-linux"
6391 (string-append "prefix=" out)
6392 (string-append "SHELL="
6393 (assoc-ref inputs "bash")
6396 `(("pkg-config" ,pkg-config)
6397 ("bdftopcf" ,bdftopcf)
6398 ("bdfresize" ,bdfresize)
6399 ("sharutils" ,sharutils))) ;for 'uuencode'
6401 `(("perl" ,perl))) ;used by 'ckbcomp'
6402 (synopsis "Set up the Linux console font and keyboard")
6404 "console-setup provides the console with the same keyboard
6405 configuration scheme that X Window System has. In particular, the
6406 @command{ckbcomp} program compiles an XKB keyboard description to a keymap
6407 suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6408 is no need to duplicate or change the console keyboard files just to make
6409 simple customizations.
6411 Besides the keyboard, the package also configures the font on the console. It
6412 includes a rich collection of fonts and supports several languages that would
6413 otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6415 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6417 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6418 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6419 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6420 (license (list license:gpl2+