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>
23 ;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
25 ;;; This file is part of GNU Guix.
27 ;;; GNU Guix is free software; you can redistribute it and/or modify it
28 ;;; under the terms of the GNU General Public License as published by
29 ;;; the Free Software Foundation; either version 3 of the License, or (at
30 ;;; your option) any later version.
32 ;;; GNU Guix is distributed in the hope that it will be useful, but
33 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
34 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 ;;; GNU General Public License for more details.
37 ;;; You should have received a copy of the GNU General Public License
38 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
40 (define-module (gnu packages xorg)
41 #:use-module ((guix licenses) #:prefix license:)
42 #:use-module (guix packages)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix build-system gnu)
46 #:use-module (guix build-system perl)
47 #:use-module (guix build-system python)
48 #:use-module (guix utils)
49 #:use-module (gnu packages)
50 #:use-module (gnu packages anthy)
51 #:use-module (gnu packages autotools)
52 #:use-module (gnu packages bison)
53 #:use-module (gnu packages check)
54 #:use-module (gnu packages compression)
55 #:use-module (gnu packages emacs)
56 #:use-module (gnu packages flex)
57 #:use-module (gnu packages fontutils)
58 #:use-module (gnu packages freedesktop)
59 #:use-module (gnu packages gettext)
60 #:use-module (gnu packages gl)
61 #:use-module (gnu packages glib)
62 #:use-module (gnu packages gnupg)
63 #:use-module (gnu packages gperf)
64 #:use-module (gnu packages gtk)
65 #:use-module (gnu packages image)
66 #:use-module (gnu packages libbsd)
67 #:use-module (gnu packages libedit)
68 #:use-module (gnu packages linux)
69 #:use-module (gnu packages llvm)
70 #:use-module (gnu packages m4)
71 #:use-module (gnu packages ncurses)
72 #:use-module (gnu packages pciutils)
73 #:use-module (gnu packages perl)
74 #:use-module (gnu packages perl-check)
75 #:use-module (gnu packages pkg-config)
76 #:use-module (gnu packages python)
77 #:use-module (gnu packages python-compression)
78 #:use-module (gnu packages python-crypto)
79 #:use-module (gnu packages python-xyz)
80 #:use-module (gnu packages qt)
81 #:use-module (gnu packages spice)
82 #:use-module (gnu packages video)
83 #:use-module (gnu packages xiph)
84 #:use-module (gnu packages xml)
85 #:use-module (gnu packages xdisorg))
90 ;; packages without propagated input
91 ;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
92 ;; be defined first, the split makes book-keeping easier.)
95 ;; compiles only on macos
96 ;; (define-public applewmproto
100 ;; The xorg-cf-files package contains the data files for the imake utility,
101 ;; defining the known settings for a wide variety of platforms (many of which
102 ;; have not been verified or tested in over a decade), and for many of the
103 ;; libraries formerly delivered in the X.Org monolithic releases.
105 ;; License: x11, see COPYING
108 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
110 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
119 (uri (string-append "mirror://xorg/individual/util/imake-"
122 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
123 (build-system gnu-build-system)
125 `(("pkg-config" ,pkg-config)))
127 `(("xorg-cf-files" ,xorg-cf-files)
128 ("xorgproto" ,xorgproto)))
131 (modify-phases %standard-phases
132 (add-after 'install 'install-data
133 (lambda* (#:key inputs outputs #:allow-other-keys)
134 (let ((cf-files (assoc-ref inputs "xorg-cf-files"))
135 (out (assoc-ref outputs "out"))
136 (unpack (assoc-ref %standard-phases 'unpack))
137 (patch-source-shebangs
138 (assoc-ref %standard-phases 'patch-source-shebangs)))
139 (mkdir "xorg-cf-files")
140 (with-directory-excursion "xorg-cf-files"
141 (apply unpack (list #:source cf-files))
142 (apply patch-source-shebangs (list #:source cf-files))
143 (substitute* '("mingw.cf" "Imake.tmpl" "nto.cf" "os2.cf"
144 "linux.cf" "Amoeba.cf" "cygwin.cf")
145 (("/bin/sh") (which "bash")))
146 (invoke "./configure"
147 (string-append "SHELL=" (which "bash"))
148 (string-append "--prefix=" out))
149 (invoke "make" "install"))))))))
150 (home-page "https://www.x.org/")
151 (synopsis "Source code configuration and build system")
153 "Imake is a deprecated source code configuration and build system which
154 has traditionally been supplied by and used to build the X Window System in
155 X11R6 and previous releases. As of the X Window System X11R7 release, the X
156 Window system has switched to using GNU autotools as the primary build system,
157 and the Imake system is now deprecated, and should not be used by new software
158 projects. Software developers are encouraged to migrate software to the GNU
160 (license license:x11)))
169 "mirror://xorg/individual/util/"
170 "lndir-" version ".tar.bz2"))
173 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
174 (build-system gnu-build-system)
176 `(("pkg-config" ,pkg-config)))
178 `(("xorgproto" ,xorgproto)))
179 (home-page "https://www.x.org/")
180 (synopsis "Symlink directory into tree")
181 (description "Create a shadow directory of symbolic links to another
183 (license license:x11)))
185 (define-public bdftopcf
193 "mirror://xorg/individual/app/bdftopcf-"
198 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
199 (build-system gnu-build-system)
201 `(("libxfont" ,libxfont2)))
203 `(("pkg-config" ,pkg-config)))
204 (home-page "https://www.x.org/wiki/")
205 (synopsis "Convert X font from BDF to PCF")
207 "BDFtoPCF is a font compiler for the X server and font server. It
208 converts X font from Bitmap Distribution Format to Portable Compiled Format
209 which can be read by any architecture.")
210 (license license:x11)))
212 (define-public xorgproto
218 (uri (string-append "mirror://xorg/individual/proto/"
219 "xorgproto-" version ".tar.bz2"))
222 "16yll1kaffnslik5sizlw3qrigj1gpsgfgyq6903g3mwdixamnm6"))))
223 (build-system gnu-build-system)
225 ;; To get util-macros in (almost?) all package inputs.
226 `(("util-macros" ,util-macros)))
227 (home-page "https://cgit.freedesktop.org/xorg/proto/xorgproto")
228 (synopsis "Xorg protocol headers")
230 "This package provides the headers and specification documents defining
231 the core protocol and (many) extensions for the X Window System.")
232 (license license:x11)))
234 (define-public bigreqsproto
236 (name "bigreqsproto")
242 "mirror://xorg/individual/proto/bigreqsproto-"
247 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
248 (build-system gnu-build-system)
249 (native-inputs `(("pkg-config" ,pkg-config)))
250 (home-page "https://www.x.org/wiki/")
251 (synopsis "Xorg BigReqsProto protocol headers")
253 "Big Requests Extension defines a protocol to enable the use of
254 requests that exceed 262140 bytes in length.")
255 (license license:x11)
256 (properties `((superseded . ,xorgproto)))))
258 (define-public compositeproto
260 (name "compositeproto")
266 "mirror://xorg/individual/proto/compositeproto-"
271 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
272 (build-system gnu-build-system)
274 `(("xorgproto" ,xorgproto)))
276 `(("pkg-config" ,pkg-config)))
277 (home-page "https://www.x.org/wiki/")
278 (synopsis "Xorg CompositeProto protocol headers")
280 "Composite Extension contains header files and documentation for
281 the damage protocol.")
282 (license license:x11)
283 (properties `((superseded . ,xorgproto)))))
285 (define-public damageproto
293 "mirror://xorg/individual/proto/damageproto-"
298 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
299 (build-system gnu-build-system)
300 (native-inputs `(("pkg-config" ,pkg-config)))
301 (home-page "https://www.x.org/wiki/")
302 (synopsis "Xorg DamageProto protocol headers")
304 "Damage Extension contains header files and documentation for
305 the damage protocol.")
306 (license license:x11)
307 (properties `((superseded . ,xorgproto)))))
309 (define-public dmxproto
317 "mirror://xorg/individual/proto/dmxproto-"
322 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
323 (build-system gnu-build-system)
324 (native-inputs `(("pkg-config" ,pkg-config)))
325 (home-page "https://www.x.org/wiki/")
326 (synopsis "Xorg DMXProto protocol headers")
328 "DMX (Distributed Multihead X) Extension defines a protocol for clients
329 to access a front-end proxy X server that controls multiple back-end X
330 servers making up a large display.")
331 (license license:x11)
332 (properties `((superseded . ,xorgproto)))))
334 (define-public dri2proto
342 "mirror://xorg/individual/proto/dri2proto-"
347 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
348 (build-system gnu-build-system)
349 (home-page "https://www.x.org/wiki/")
350 (synopsis "Xorg DRI2Proto protocol headers")
352 "Direct Rendering Infrastructure 2 Extension defines a protocol to
353 securely allow user applications to access the video hardware without
354 requiring data to be passed through the X server.")
355 (license license:x11)
356 (properties `((superseded . ,xorgproto)))))
358 (define-public dri3proto
366 "mirror://xorg/individual/proto/dri3proto-"
371 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
372 (build-system gnu-build-system)
373 (home-page "https://www.x.org/wiki/")
374 (synopsis "Xorg DRI3Proto protocol headers")
376 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
377 translate between direct rendered buffers and X pixmaps. When combined with
378 the Present extension, a complete direct rendering solution for OpenGL is
380 (license (license:x11-style "file://dri3proto.h"
381 "See 'dri3proto.h' in the distribution."))
382 (properties `((superseded . ,xorgproto)))))
384 (define-public %app-defaults-dir "/lib/X11/app-defaults")
386 (define-public editres
394 "mirror://xorg/individual/app/" name "-"
399 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
400 (build-system gnu-build-system)
403 (list (string-append "--with-appdefaultdir="
404 %output ,%app-defaults-dir))))
410 `(("pkg-config" ,pkg-config)))
411 (home-page "https://www.x.org/wiki/")
412 (synopsis "Tool to browse and edit X Toolkit resource specifications")
414 "Editres is a tool that allows users and application developers to view
415 the full widget hierarchy of any X Toolkit application that speaks the Editres
416 protocol. In addition, editres will help the user construct resource
417 specifications, allow the user to apply the resource to the application and
418 view the results dynamically. Once the user is happy with a resource
419 specification editres will append the resource string to the user's X
421 (license license:x11)))
424 (define-public encodings
432 "mirror://xorg/individual/font/encodings-"
436 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
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-"
851 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
852 (build-system gnu-build-system)
853 (native-inputs `(("pkg-config" ,pkg-config)))
854 (home-page "https://www.x.org/wiki/")
855 (synopsis "Xorg font utilities")
857 "Xorg font package creation/installation utilities.")
858 (license license:x11)))
861 (define-public font-winitzki-cyrillic
863 (name "font-winitzki-cyrillic")
865 (source (xorg-font-origin
867 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
868 (build-system gnu-build-system)
870 `(("mkfontdir" ,mkfontdir)
871 ("bdftopcf" ,bdftopcf)))
873 `(("pkg-config" ,pkg-config)))
874 (home-page "https://www.x.org/wiki/")
875 (synopsis "Xorg winitzki-cyrillic font")
876 (description "Xorg winitzki-cyrillic font.")
877 (license license:public-domain)))
880 (define-public font-xfree86-type1
882 (name "font-xfree86-type1")
884 (source (xorg-font-origin
886 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
887 (build-system gnu-build-system)
889 `(("mkfontdir" ,mkfontdir)
890 ("mkfontscale" ,mkfontscale)))
892 `(("pkg-config" ,pkg-config)))
893 (home-page "https://www.x.org/wiki/")
894 (synopsis "Xorg xfree86-type1 font")
895 (description "Xorg xfree86-type1 font.")
896 (license license:x11)))
899 (define-public fontsproto
907 "mirror://xorg/individual/proto/fontsproto-"
912 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
913 (build-system gnu-build-system)
914 (native-inputs `(("pkg-config" ,pkg-config)))
915 (home-page "https://www.x.org/wiki/")
916 (synopsis "Xorg FontsProto protocol headers")
918 "Fonts Extension contains header files and documentation for
919 the fonts protocol.")
920 (license license:x11)
921 (properties `((superseded . ,xorgproto)))))
923 (define-public glproto
931 "mirror://xorg/individual/proto/glproto-"
936 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
937 (build-system gnu-build-system)
938 (native-inputs `(("pkg-config" ,pkg-config)))
939 (home-page "https://www.x.org/wiki/")
940 (synopsis "Xorg GLProto protocol headers")
942 "OpenGL Extension defines a protocol for the client to send 3D
943 rendering commands to the X server.")
944 (license license:x11)
945 (properties `((superseded . ,xorgproto)))))
947 (define-public iceauth
955 "mirror://xorg/individual/app/iceauth-"
960 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
961 (build-system gnu-build-system)
963 `(("libice" ,libice)))
965 `(("pkg-config" ,pkg-config)))
966 (home-page "https://www.x.org/wiki/")
967 (synopsis "ICE authority file utility")
969 "ICEAuth program is used to edit and display the authorization
970 information used in connecting with ICE (Inter-Client Exchange). It
971 operates very much like the xauth program for X11 connection
972 authentication records.")
973 (license license:x11)))
976 (define-public inputproto
984 "mirror://xorg/individual/proto/inputproto-"
989 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
990 (build-system gnu-build-system)
991 (native-inputs `(("pkg-config" ,pkg-config)))
992 (home-page "https://www.x.org/wiki/")
993 (synopsis "Xorg InputProto protocol headers")
995 "Input Extension defines a protocol to provide additional input
996 devices management such as graphic tablets.")
997 (license license:x11)
998 (properties `((superseded . ,xorgproto)))))
1000 (define-public kbproto
1008 "mirror://xorg/individual/proto/kbproto-"
1013 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
1014 (build-system gnu-build-system)
1015 (native-inputs `(("pkg-config" ,pkg-config)))
1016 (home-page "https://www.x.org/wiki/")
1017 (synopsis "Xorg KBProto protocol headers")
1019 "X Keyboard (XKB) Extension defines a protocol to provide a number
1020 of new capabilities and controls for text keyboards.")
1021 (license license:x11)
1022 (properties `((superseded . ,xorgproto)))))
1024 ;; requires applewmproto, which compiles only on macos
1025 ;; (define-public libapplewm
1028 (define-public libdmx
1036 "mirror://xorg/individual/lib/libdmx-"
1041 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
1042 (build-system gnu-build-system)
1044 `(("xorgproto" ,xorgproto)
1045 ("libxext" ,libxext)
1046 ("libx11" ,libx11)))
1048 `(("pkg-config" ,pkg-config)))
1049 (home-page "https://www.x.org/wiki/")
1050 (synopsis "Xorg DMX library")
1052 "DMX (Distributed Multihead X) extension library.")
1053 (license license:x11)))
1056 (define-public libxshmfence
1058 (name "libxshmfence")
1063 "mirror://xorg/individual/lib/"
1064 name "-" version ".tar.bz2"))
1067 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
1068 (build-system gnu-build-system)
1069 (native-inputs `(("pkg-config" ,pkg-config)))
1070 (inputs `(("xorgproto" ,xorgproto)))
1071 (home-page "https://www.x.org/")
1072 (synopsis "Xorg shared memory fences library")
1074 "This library provides an interface to shared-memory fences for
1075 synchronization between the X server and direct-rendering clients.")
1077 ;; Same license as libevdev.
1078 (license (license:x11-style "file://COPYING"))))
1081 (define-public libfontenc
1089 "mirror://xorg/individual/lib/libfontenc-"
1094 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
1095 (build-system gnu-build-system)
1098 ("xorgproto" ,xorgproto)))
1100 `(("pkg-config" ,pkg-config)))
1101 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
1102 (synopsis "Xorg font encoding library")
1103 (description "Xorg font encoding library.")
1104 (license license:x11)))
1107 (define-public libfs
1115 "mirror://xorg/individual/lib/libFS-"
1119 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
1120 (build-system gnu-build-system)
1122 `(("xtrans" ,xtrans)
1123 ("xorgproto" ,xorgproto)))
1125 `(("pkg-config" ,pkg-config)))
1126 (home-page "https://www.x.org/wiki/")
1127 (synopsis "Xorg Font Service client library")
1129 "Font Service client library is used by clients of X Font
1130 Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1132 (license license:x11)))
1135 (define-public libpciaccess
1137 (name "libpciaccess")
1143 "mirror://xorg/individual/lib/libpciaccess-"
1148 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
1149 (build-system gnu-build-system)
1151 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1152 ;; provided by pciutils.
1155 (string-append "--with-pciids-path="
1156 (assoc-ref %build-inputs "pciutils")
1160 (modify-phases %standard-phases
1161 (add-after 'install 'add-L-zlib
1162 (lambda* (#:key inputs outputs #:allow-other-keys)
1163 ;; Provide '-LZLIB/lib' next to '-lz' in the .la file.
1164 (let ((zlib (assoc-ref inputs "zlib"))
1165 (out (assoc-ref outputs "out")))
1166 (substitute* (string-append out "/lib/libpciaccess.la")
1168 (string-append "-L" zlib "/lib -lz")))
1172 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
1174 `(("pkg-config" ,pkg-config)))
1175 (home-page "https://www.x.org/wiki/")
1176 (synopsis "Xorg PCI access library")
1177 (description "Xorg Generic PCI access library.")
1178 (license license:x11)))
1181 (define-public libpthread-stubs
1183 (name "libpthread-stubs")
1189 "mirror://xorg/individual/xcb/libpthread-stubs-"
1194 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
1195 (build-system gnu-build-system)
1196 (native-inputs `(("pkg-config" ,pkg-config)))
1197 (home-page "https://www.x.org/wiki/")
1198 (synopsis "Library with pthread stubs")
1200 "This library provides weak aliases for pthread functions not
1201 provided in libc or otherwise available by default. Libraries like
1202 libxcb rely on pthread stubs to use pthreads optionally, becoming
1203 thread-safe when linked to libpthread, while avoiding any performance
1204 hit when running single-threaded.")
1205 (license license:x11)))
1208 (define-public libsm
1216 "mirror://xorg/individual/lib/libSM-"
1221 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
1222 (build-system gnu-build-system)
1224 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
1226 `(("xtrans" ,xtrans)
1227 ("util-linux" ,util-linux)))
1229 `(("pkg-config" ,pkg-config)))
1230 (home-page "https://www.x.org/wiki/")
1231 (synopsis "Xorg Session Management library")
1232 (description "Xorg Session Management library.")
1233 (license license:x11)))
1236 (define-public libwindowswm
1238 (name "libwindowswm")
1244 "mirror://xorg/individual/lib/libWindowsWM-"
1249 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1250 (build-system gnu-build-system)
1252 `(("xorgproto" ,xorgproto)
1253 ("libxext" ,libxext)
1254 ("libx11" ,libx11)))
1256 `(("pkg-config" ,pkg-config)))
1257 (home-page "https://www.x.org/wiki/")
1258 (synopsis "Xorg WindowsWM library")
1260 "Cygwin/X rootless window management extension.
1261 WindowsWM is a simple library designed to interface with the Windows-WM
1262 extension. This extension allows X window managers to better interact
1263 with the Cygwin XWin server when running X11 in a rootless mode.")
1264 (license license:x11)))
1267 (define-public libxcomposite
1269 (name "libxcomposite")
1275 "mirror://xorg/individual/lib/libXcomposite-"
1280 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
1281 (build-system gnu-build-system)
1283 ;; xcomposite.pc refers to all these.
1284 `(("xorgproto" ,xorgproto)
1285 ("libxfixes" ,libxfixes)
1286 ("libx11" ,libx11)))
1288 `(("pkg-config" ,pkg-config)))
1289 (home-page "https://www.x.org/wiki/")
1290 (synopsis "Xorg Composite library")
1292 "Client library for the Composite extension to the X11 protocol.")
1293 (license license:x11)))
1296 (define-public libxdmcp
1304 "mirror://xorg/individual/lib/libXdmcp-"
1309 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
1310 (build-system gnu-build-system)
1312 `(("libbsd" ,libbsd)
1313 ("xorgproto" ,xorgproto)))
1315 `(("pkg-config" ,pkg-config)))
1316 (home-page "https://www.x.org/wiki/")
1317 (synopsis "Xorg Display Manager Control Protocol library")
1318 (description "Xorg Display Manager Control Protocol library.")
1319 (license license:x11)))
1322 (define-public libxft
1330 "mirror://xorg/individual/lib/libXft-"
1335 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
1336 (build-system gnu-build-system)
1338 ;; xft.pc refers to all these.
1339 `(("libxrender" ,libxrender)
1340 ("freetype" ,freetype)
1341 ("fontconfig" ,fontconfig)))
1343 `(("libx11" ,libx11)
1344 ("xorgproto" ,xorgproto)))
1346 `(("pkg-config" ,pkg-config)))
1347 (home-page "https://www.x.org/wiki/")
1348 (synopsis "Xorg FreeType library")
1350 "Xorg FreeType library connects X applications with the FreeType font
1351 rasterization library. Xft uses fontconfig to locate fonts so it has no
1352 configuration files.")
1353 (license license:x11)))
1356 (define-public libxkbfile
1364 "mirror://xorg/individual/lib/libxkbfile-"
1369 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
1370 (build-system gnu-build-system)
1372 `(("libx11" ,libx11)))
1374 `(("pkg-config" ,pkg-config)))
1375 (home-page "https://www.x.org/wiki/")
1376 (synopsis "Xorg XKB file handling library")
1377 (description "Xorg XKB file handling library.")
1378 (license license:x11)))
1381 (define-public libxmu
1389 "mirror://xorg/individual/lib/libXmu-"
1394 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
1395 (build-system gnu-build-system)
1398 ("xorgproto" ,xorgproto)
1399 ("libxext" ,libxext)))
1401 `(("pkg-config" ,pkg-config)))
1402 (home-page "https://www.x.org/wiki/")
1403 (synopsis "Xorg Xmu library")
1405 "Xmu library contains miscellaneous utilities and is not part of the
1406 Xlib standard. It is intended to support clients in the Xorg distribution;
1407 vendors may choose not to distribute this library if they wish. Therefore,
1408 applications developers who depend on this library should be prepared to
1409 treat it as part of their software base when porting.")
1410 (license license:x11)))
1413 (define-public libxpm
1421 "mirror://xorg/individual/lib/libXpm-"
1426 "1v5xaiw4zlhxspvx76y3hq4wpxv7mpj6parqnwdqvpj8vbinsspx"))))
1427 (build-system gnu-build-system)
1429 `(("gettext" ,gettext-minimal)
1431 ("xorgproto" ,xorgproto)
1432 ("libxext" ,libxext)))
1434 `(("pkg-config" ,pkg-config)))
1435 (home-page "https://www.x.org/wiki/")
1436 (synopsis "Xorg XPM library")
1437 (description "XPM (X Pixmap) image file format library.")
1438 (license license:x11)))
1441 (define-public libxres
1449 "mirror://xorg/individual/lib/libXres-"
1454 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
1455 (build-system gnu-build-system)
1457 `(("xorgproto" ,xorgproto)
1458 ("libxext" ,libxext)
1459 ("libx11" ,libx11)))
1461 `(("pkg-config" ,pkg-config)))
1462 (home-page "https://www.x.org/wiki/")
1463 (synopsis "Xorg Resource extension library")
1464 (description "X Resource extension library.")
1465 (license license:x11)))
1468 (define-public libxscrnsaver
1470 (name "libxscrnsaver")
1476 "mirror://xorg/individual/lib/libXScrnSaver-"
1481 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
1482 (build-system gnu-build-system)
1484 `(("libxext" ,libxext)
1485 ("libx11" ,libx11)))
1487 `(("xorgproto" ,xorgproto)))
1489 `(("pkg-config" ,pkg-config)))
1490 (home-page "https://www.x.org/wiki/")
1491 (synopsis "Xorg Screen Saver library")
1492 (description "X11 Screen Saver extension client library.")
1493 (license license:x11)))
1496 (define-public libxxf86dga
1498 (name "libxxf86dga")
1503 (uri (string-append "mirror://xorg/individual/lib/"
1504 "libXxf86dga-" version ".tar.bz2"))
1506 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
1507 (build-system gnu-build-system)
1509 `(("xorgproto" ,xorgproto)))
1511 `(("libx11" ,libx11)
1512 ("libxext" ,libxext)))
1514 `(("pkg-config" ,pkg-config)))
1515 (home-page "https://www.x.org/wiki/")
1516 (synopsis "Xorg XFree86-DGA library")
1517 (description "Client library for the XFree86-DGA extension.")
1518 (license license:x11)))
1529 "mirror://xorg/individual/app/luit-"
1534 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1535 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1536 ;; should become obsolete with the next release.
1537 (patches (search-patches "luit-posix.patch"))))
1538 (build-system gnu-build-system)
1540 `(("libfontenc" ,libfontenc)))
1542 `(("pkg-config" ,pkg-config)))
1543 (home-page "https://www.x.org/wiki/")
1544 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1546 "Luit is a filter that can be run between an arbitrary application and
1547 a UTF-8 terminal emulator such as xterm. It will convert application
1548 output from the locale's encoding into UTF-8, and convert terminal
1549 input from UTF-8 into the locale's encoding.")
1550 (license license:x11)))
1553 (define-public makedepend
1561 "mirror://xorg/individual/util/makedepend-"
1566 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
1567 (build-system gnu-build-system)
1569 `(("xorgproto" ,xorgproto)))
1570 (native-inputs `(("pkg-config" ,pkg-config)))
1571 (home-page "https://www.x.org/wiki/")
1572 (synopsis "Xorg makedepend utility")
1574 "Makedepend is an utility for creating dependencies in makefiles.")
1575 (license license:x11)))
1578 (define-public mkfontscale
1580 (name "mkfontscale")
1586 "mirror://xorg/individual/app/mkfontscale-"
1590 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
1591 (build-system gnu-build-system)
1594 ("xorgproto" ,xorgproto)
1595 ("freetype" ,freetype)
1596 ("libfontenc" ,libfontenc)))
1598 `(("pkg-config" ,pkg-config)))
1599 (home-page "https://www.x.org/wiki/")
1600 (synopsis "Create an index of scalable font files for X server")
1602 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1603 files used by the legacy X11 font system.")
1604 (license license:x11)))
1607 (define-public presentproto
1609 (name "presentproto")
1615 "mirror://xorg/individual/proto/presentproto-"
1620 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
1621 (build-system gnu-build-system)
1622 (home-page "https://www.x.org/wiki/")
1623 (synopsis "Xorg PresentProto protocol headers")
1625 "Present Extension provides a way for applications to update their
1626 window contents from a pixmap in a well defined fashion, synchronizing
1627 with the display refresh and potentially using a more efficient
1628 mechanism than copying the contents of the source pixmap.")
1629 (license (license:x11-style "file://presentproto.h"
1630 "See 'presentproto.h' in the distribution."))
1631 (properties `((superseded . ,xorgproto)))))
1633 (define-public printproto
1641 "mirror://xorg/individual/proto/printproto-"
1646 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1647 (build-system gnu-build-system)
1648 (native-inputs `(("pkg-config" ,pkg-config)))
1649 (home-page "https://www.x.org/wiki/")
1650 (synopsis "Xorg PrintProto protocol headers")
1652 "Print Extension defines a protocol for a portable,
1653 network-transparent printing system.")
1654 (license license:x11)))
1657 (define-public randrproto
1665 "mirror://xorg/individual/proto/randrproto-"
1670 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
1671 (build-system gnu-build-system)
1672 (native-inputs `(("pkg-config" ,pkg-config)))
1673 (home-page "https://www.x.org/wiki/")
1674 (synopsis "Xorg RandRProto protocol headers")
1676 "Resize and Rotate Extension defines a protocol for clients to
1677 dynamically change X screens, so as to resize, rotate and reflect the root
1678 window of a screen.")
1679 (license license:x11)
1680 (properties `((superseded . ,xorgproto)))))
1683 (define-public recordproto
1685 (name "recordproto")
1691 "mirror://xorg/individual/proto/recordproto-"
1696 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1697 (build-system gnu-build-system)
1698 (native-inputs `(("pkg-config" ,pkg-config)))
1699 (home-page "https://www.x.org/wiki/")
1700 (synopsis "Xorg RecordProto protocol headers")
1702 "Record Extension defines a protocol for the recording and playback
1703 of user actions in the X Window System.")
1704 (license license:x11)
1705 (properties `((superseded . ,xorgproto)))))
1707 (define-public renderproto
1709 (name "renderproto")
1715 "mirror://xorg/individual/proto/renderproto-"
1720 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1721 (build-system gnu-build-system)
1722 (native-inputs `(("pkg-config" ,pkg-config)))
1723 (home-page "https://www.x.org/wiki/")
1724 (synopsis "Xorg RenderProto protocol headers")
1726 "Rendering Extension defines a protocol for a digital image composition
1727 as the foundation of a new rendering model within the X Window System.")
1728 (license license:x11)
1729 (properties `((superseded . ,xorgproto)))))
1731 (define-public resourceproto
1733 (name "resourceproto")
1739 "mirror://xorg/individual/proto/resourceproto-"
1744 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1745 (build-system gnu-build-system)
1746 (native-inputs `(("pkg-config" ,pkg-config)))
1747 (home-page "https://www.x.org/wiki/")
1748 (synopsis "Xorg ResourceProto protocol headers")
1750 "Resource Extension defines a protocol that allows a client to
1751 query the X server about its usage of various resources.")
1752 (license license:x11)
1753 (properties `((superseded . ,xorgproto)))))
1755 (define-public scrnsaverproto
1757 (name "scrnsaverproto")
1763 "mirror://xorg/individual/proto/scrnsaverproto-"
1768 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1769 (build-system gnu-build-system)
1770 (native-inputs `(("pkg-config" ,pkg-config)))
1771 (home-page "https://www.x.org/wiki/")
1772 (synopsis "Xorg ScrnSaverProto protocol headers")
1774 "Screen Saver Extension defines a protocol to control screensaver
1775 features and to query screensaver info on specific windows.")
1776 (license license:x11)
1777 (properties `((superseded . ,xorgproto)))))
1779 (define-public sessreg
1787 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1789 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
1790 (build-system gnu-build-system)
1792 `(("xorgproto" ,xorgproto)))
1794 `(("pkg-config" ,pkg-config)))
1795 (home-page "https://www.x.org/wiki/")
1796 (synopsis "Register X sessions in system utmp/utmpx databases")
1798 "SessReg is a simple program for managing utmp/wtmp entries for X
1799 sessions. It was originally written for use with xdm, but may also be
1800 used with other display managers such as gdm or kdm.")
1801 (license license:x11)))
1804 (define-public setxkbmap
1812 "mirror://xorg/individual/app/setxkbmap-"
1817 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
1818 (build-system gnu-build-system)
1820 `(("libxkbfile" ,libxkbfile)
1821 ("xkeyboard-config" ,xkeyboard-config)
1822 ("libx11" ,libx11)))
1824 `(("pkg-config" ,pkg-config)))
1827 (list (string-append "--with-xkb-config-root="
1828 (assoc-ref %build-inputs "xkeyboard-config")
1829 "/share/X11/xkb"))))
1830 (home-page "https://www.x.org/wiki/")
1831 (synopsis "Set the keyboard using the X Keyboard Extension")
1833 "Setxkbmap is an X11 client to change the keymaps in the X server
1834 for a specified keyboard to use the layout determined by the options
1835 listed on the command line.")
1836 (license license:x11)))
1839 (define-public smproxy
1847 "mirror://xorg/individual/app/smproxy-"
1852 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
1853 (build-system gnu-build-system)
1856 ("libxmu" ,libxmu)))
1858 `(("pkg-config" ,pkg-config)))
1859 (home-page "https://www.x.org/wiki/")
1860 (synopsis "Session Manager Proxy")
1862 "SMProxy allows X applications that do not support X11R6 session
1863 management to participate in an X11R6 session.")
1864 (license license:x11)))
1867 (define-public util-macros
1869 (name "util-macros")
1875 "mirror://xorg/individual/util/util-macros-"
1880 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
1881 (build-system gnu-build-system)
1882 (native-inputs `(("pkg-config" ,pkg-config)))
1885 (modify-phases %standard-phases
1886 (add-after 'unpack 'fix-makefile-in
1888 (substitute* "Makefile.in"
1889 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1890 ;; not PREFIX/share/pkgconfig.
1891 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1893 (add-after 'install 'post-install-cleanup
1894 (lambda* (#:key outputs #:allow-other-keys)
1895 (let ((out (assoc-ref outputs "out")))
1896 (with-directory-excursion out
1897 (delete-file "share/util-macros/INSTALL")
1898 (rmdir "share/util-macros"))
1900 (home-page "https://www.x.org/wiki/")
1901 (synopsis "Xorg autoconf macros")
1903 "This package provides a set of autoconf macros used by the
1904 configure.ac scripts in other Xorg modular packages, and is needed to
1905 generate new versions of their configure scripts with autoconf.")
1906 (license license:x11)))
1909 (define-public videoproto
1917 "mirror://xorg/individual/proto/videoproto-"
1922 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
1923 (build-system gnu-build-system)
1924 (native-inputs `(("pkg-config" ,pkg-config)))
1925 (home-page "https://www.x.org/wiki/")
1926 (synopsis "Xorg VideoProto protocol headers")
1928 "Video Extension provides a protocol for a video output mechanism,
1929 mainly to rescale video playback in the video controller hardware.")
1930 (license license:x11)
1931 (properties `((superseded . ,xorgproto)))))
1933 (define-public windowswmproto
1935 (name "windowswmproto")
1941 "mirror://xorg/individual/proto/windowswmproto-"
1946 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
1947 (build-system gnu-build-system)
1948 (native-inputs `(("pkg-config" ,pkg-config)))
1949 (home-page "https://www.x.org/wiki/")
1950 (synopsis "Xorg WindowsWMProto protocol headers")
1952 "WindowsWM Extension defines a protocol, used for coordination between
1953 an X11 server and the Microsoft Windows native window manager. WindowsWM
1954 is only intended to be used on Cygwin when running a rootless XWin
1956 (license license:x11)
1957 (properties `((superseded . ,xorgproto)))))
1959 (define-public x11perf
1967 "mirror://xorg/individual/app/x11perf-"
1972 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
1973 (build-system gnu-build-system)
1975 `(("libx11" ,libx11)
1978 ("libxrender" ,libxrender)))
1980 `(("pkg-config" ,pkg-config)))
1981 (home-page "https://www.x.org/wiki/")
1982 (synopsis "X server performance benchmarker")
1984 "X11Perf is a simple performance benchmarker for the Xorg X server.")
1985 (license license:x11)))
1988 (define-public xauth
1995 (uri (string-append "mirror://xorg/individual/app/xauth-" version
1998 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
1999 (build-system gnu-build-system)
2001 `(("libxmu" ,libxmu)
2002 ("libxext" ,libxext)
2004 ("libx11" ,libx11)))
2006 `(("cmdtest" ,cmdtest)
2007 ("pkg-config" ,pkg-config)))
2008 (home-page "https://www.x.org/wiki/")
2009 (synopsis "X authority file utility")
2011 "XAuth program is used to edit and display the authorization
2012 information used in connecting to the X server.")
2013 (license license:x11)))
2016 (define-public xbacklight
2024 "mirror://xorg/individual/app/xbacklight-"
2029 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
2030 (build-system gnu-build-system)
2032 `(("libxcb" ,libxcb)
2033 ("xcb-util" ,xcb-util)))
2035 `(("pkg-config" ,pkg-config)))
2036 (home-page "https://www.x.org/wiki/")
2037 (synopsis "Control display backlight")
2039 "Xbacklight is used to adjust the backlight brightness where
2040 supported. It uses the RandR extension to find all outputs on the X
2041 server supporting backlight brightness control and changes them all in
2043 (license license:x11)))
2046 (define-public xbitmaps
2054 "mirror://xorg/individual/data/xbitmaps-"
2059 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
2060 (build-system gnu-build-system)
2061 (native-inputs `(("pkg-config" ,pkg-config)))
2062 (home-page "https://www.x.org/wiki/")
2063 (synopsis "X bitmaps")
2065 "xbitmaps provides basic bitmaps (little pictures) used by some
2067 (license license:x11)))
2069 (define-public xcalc
2076 (uri (string-append "mirror://xorg/individual/app/"
2077 "xcalc-" version ".tar.gz"))
2079 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
2080 (build-system gnu-build-system)
2082 `(#:phases (modify-phases %standard-phases
2084 'configure 'mutate-makefile
2086 (substitute* "Makefile"
2087 (("^appdefaultdir = .*$")
2088 (string-append "appdefaultdir = " %output
2089 ,%app-defaults-dir "\n")))
2092 `(("libxaw" ,libxaw)))
2094 `(("pkg-config" ,pkg-config)))
2095 (home-page "https://www.x.org/wiki/")
2096 (synopsis "Hand calculator for the X Window system")
2097 (description "Xcalc is a scientific calculator desktop accessory that can
2098 emulate a TI-30 or an HP-10C.")
2099 (license license:x11)))
2102 (define-public xcb-proto
2110 "https://xcb.freedesktop.org/dist/xcb-proto-"
2115 "1qdxw9syhbvswiqj5dvj278lrmfhs81apzmvx6205s4vcqg7563v"))))
2116 (build-system gnu-build-system)
2118 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
2119 (home-page "https://xcb.freedesktop.org/")
2120 (synopsis "XML-XCB protocol descriptions")
2122 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2123 uses to generate the majority of its code and API. XCB-Proto is
2124 separated from libxcb to allow reuse by other projects, such as
2125 additional language bindings, protocol dissectors, or documentation
2128 XCB-Proto also contains language-independent Python libraries that are
2129 used to parse an XML description and create objects used by Python code
2130 generators in individual language bindings.")
2131 (license license:x11)))
2134 (define-public xcmiscproto
2136 (name "xcmiscproto")
2142 "mirror://xorg/individual/proto/xcmiscproto-"
2147 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2148 (build-system gnu-build-system)
2149 (native-inputs `(("pkg-config" ,pkg-config)))
2150 (home-page "https://www.x.org/wiki/")
2151 (synopsis "Xorg XCMiscProto protocol headers")
2153 "XC-MISC Extension defines a protocol that provides Xlib two ways
2154 to query the server for available resource IDs.")
2155 (license license:x11)
2156 (properties `((superseded . ,xorgproto)))))
2158 (define-public xcmsdb
2166 "mirror://xorg/individual/app/xcmsdb-"
2171 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
2172 (build-system gnu-build-system)
2174 `(("libx11" ,libx11)))
2176 `(("pkg-config" ,pkg-config)))
2177 (home-page "https://www.x.org/wiki/")
2178 (synopsis "Device Color Characterization utility")
2180 "XCMSDB is used to load, query, or remove Device Color
2181 Characterization data stored in properties on the root window of the
2182 screen as specified in section 7, Device Color Characterization, of the
2183 X11 Inter-Client Communication Conventions Manual (ICCCM).")
2184 (license license:x11)))
2187 (define-public xcursor-themes
2189 (name "xcursor-themes")
2195 "mirror://xorg/individual/data/xcursor-themes-"
2200 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
2201 (build-system gnu-build-system)
2203 `(("libxcursor" ,libxcursor)
2204 ("xcursorgen" ,xcursorgen)))
2206 `(("pkg-config" ,pkg-config)))
2209 (list (string-append "--with-cursordir="
2210 (assoc-ref %outputs "out")
2212 (home-page "https://www.x.org/wiki/")
2213 (synopsis "Default Xorg cursors")
2215 "This package provides a default set of cursor themes for the Xorg
2216 X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
2217 (license license:x11)))
2220 (define-public xcursorgen
2228 "mirror://xorg/individual/app/xcursorgen-"
2233 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
2234 (build-system gnu-build-system)
2236 `(("libxcursor" ,libxcursor)
2237 ("libpng" ,libpng)))
2239 `(("pkg-config" ,pkg-config)))
2240 (home-page "https://www.x.org/wiki/")
2241 (synopsis "Create an X cursor file from PNG images")
2243 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
2244 (license license:x11)))
2247 (define-public xdpyinfo
2255 "mirror://xorg/individual/app/xdpyinfo-"
2260 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
2261 (build-system gnu-build-system)
2263 `(("xorgproto" ,xorgproto)
2265 ("libxxf86vm" ,libxxf86vm)
2266 ("libxxf86dga" ,libxxf86dga)
2267 ("libxtst" ,libxtst)
2268 ("libxrender" ,libxrender)
2269 ("libxinerama" ,libxinerama)
2271 ("libxcomposite" ,libxcomposite)
2272 ("libdmx" ,libdmx)))
2274 `(("pkg-config" ,pkg-config)))
2275 (home-page "https://www.x.org/wiki/")
2276 (synopsis "Xorg display information utility")
2278 "Xdpyinfo is used to display information about an X server: the
2279 capabilities of a server, the predefined values for various parameters
2280 used in communicating between clients and the server, and the different
2281 types of screens, visuals, and X11 protocol extensions that are
2283 (license license:x11)))
2286 (define-public xdriinfo
2294 "mirror://xorg/individual/app/xdriinfo-"
2299 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
2300 (build-system gnu-build-system)
2303 ("libx11" ,libx11)))
2305 `(("pkg-config" ,pkg-config)))
2306 (home-page "https://www.x.org/wiki/")
2307 (synopsis "Query DRI configuration information")
2309 "XDRIInfo is used to query configuration information of X11
2310 DRI (Direct Rendering Infrastructure) drivers.")
2311 (license license:x11)))
2322 "mirror://xorg/individual/app/xev-"
2327 "02ddsdx138g7szhwklpbzi0cxr34871iay3k28kdcihrz8f4zg36"))))
2328 (build-system gnu-build-system)
2330 `(("libxrender" ,libxrender)
2331 ("libxrandr" ,libxrandr)
2332 ("xorgproto" ,xorgproto)
2333 ("libx11" ,libx11)))
2335 `(("pkg-config" ,pkg-config)))
2336 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
2337 (synopsis "Print contents of X events")
2339 "XEv creates a window and then asks the X server to send it X11
2340 events whenever anything happens to the window (such as it being moved,
2341 resized, typed in, clicked in, etc.). You can also attach it to an
2342 existing window. It is useful for seeing what causes events to occur
2343 and to display the information that they contain; it is essentially a
2344 debugging and development tool, and should not be needed in normal
2346 (license license:x11)))
2349 (define-public xextproto
2357 "mirror://xorg/individual/proto/xextproto-"
2362 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
2363 (build-system gnu-build-system)
2364 (native-inputs `(("pkg-config" ,pkg-config)))
2365 (home-page "https://www.x.org/wiki/")
2366 (synopsis "Xorg XExtProto protocol headers")
2368 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2369 Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2370 MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2371 XC-APPGROUP, XTEST.")
2372 (license license:x11)
2373 (properties `((superseded . ,xorgproto)))))
2375 (define-public libevdev
2382 (uri (string-append "https://www.freedesktop.org/software/" name "/"
2383 name "-" version ".tar.xz"))
2386 "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1"))))
2387 (build-system gnu-build-system)
2389 `(#:phases (modify-phases %standard-phases
2390 (add-before 'configure 'pedantry
2392 ;; XXX: libevdev includes kernel headers, which causes this
2393 ;; compile test to fail with:
2394 ;; ...-headers-4.14.67/include/asm-generic/posix_types.h:88:14:
2395 ;;error: ISO C90 does not support ‘long long’ [-Werror=long-long]
2396 (substitute* "test/Makefile.in"
2397 (("-pedantic -Werror -std=c89")
2398 "-pedantic -Werror -std=c99"))
2400 (native-inputs `(("python" ,python)))
2401 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
2402 (synopsis "Wrapper library for evdev devices")
2404 "libevdev is a wrapper library for evdev devices. it moves the common
2405 tasks when dealing with evdev devices into a library and provides a library
2406 interface to the callers, thus avoiding erroneous ioctls, etc.
2408 The eventual goal is that libevdev wraps all ioctls available to evdev
2409 devices, thus making direct access unnecessary.")
2410 (license (license:x11-style "file://COPYING"))))
2413 (define-public xf86-input-evdev
2415 (name "xf86-input-evdev")
2421 "mirror://xorg/individual/driver/xf86-input-evdev-"
2426 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
2427 (build-system gnu-build-system)
2430 ("libevdev" ,libevdev)
2432 ("xorg-server" ,xorg-server)))
2433 (native-inputs `(("pkg-config" ,pkg-config)))
2436 (list (string-append "--with-sdkdir="
2437 (assoc-ref %outputs "out")
2439 (home-page "https://www.x.org/wiki/")
2440 (synopsis "Generic input driver for X server")
2442 "xf86-input-evdev is a generic input driver for the Xorg X server.
2443 This driver supports all input devices that the kernel knows about,
2444 including most mice, keyboards, tablets and touchscreens.")
2445 (license license:x11)))
2447 (define-public xf86-input-libinput
2449 (name "xf86-input-libinput")
2454 "mirror://xorg/individual/driver/"
2455 name "-" version ".tar.bz2"))
2458 "0818vr0yhk9j1y1wcbxzcd458vrvp06rrhi8k43bhqkb5jb4dcxq"))))
2459 (build-system gnu-build-system)
2462 (list (string-append "--with-sdkdir="
2463 %output "/include/xorg"))))
2465 `(("pkg-config" ,pkg-config)))
2467 `(("libinput" ,libinput)
2468 ("xorg-server" ,xorg-server)))
2469 (home-page "https://www.x.org/wiki/")
2470 (synopsis "Input driver for X server based on libinput")
2472 "xf86-input-libinput is an input driver for the Xorg X server based
2473 on libinput. It is a thin wrapper around libinput, so while it does
2474 provide all features that libinput supports it does little beyond.")
2475 (license license:x11)))
2477 (define-public xf86-input-joystick
2479 (name "xf86-input-joystick")
2485 "mirror://xorg/individual/driver/xf86-input-joystick-"
2490 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
2491 (build-system gnu-build-system)
2492 (inputs `(("xorg-server" ,xorg-server)))
2493 (native-inputs `(("pkg-config" ,pkg-config)))
2496 (list (string-append "--with-sdkdir="
2497 (assoc-ref %outputs "out")
2499 (home-page "https://www.x.org/wiki/")
2500 (synopsis "Joystick input driver for X server")
2502 "xf86-input-joystick is a joystick input driver for the Xorg X server.
2503 It is used to control the pointer with a joystick device.")
2504 (license license:x11)))
2507 (define-public xf86-input-keyboard
2509 (name "xf86-input-keyboard")
2515 "mirror://xorg/individual/driver/xf86-input-keyboard-"
2520 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
2521 (build-system gnu-build-system)
2522 (inputs `(("xorg-server" ,xorg-server)))
2523 (native-inputs `(("pkg-config" ,pkg-config)))
2524 (home-page "https://www.x.org/wiki/")
2525 (synopsis "Keyboard input driver for X server")
2527 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
2528 (license license:x11)))
2531 (define-public xf86-input-mouse
2533 (name "xf86-input-mouse")
2539 "mirror://xorg/individual/driver/xf86-input-mouse-"
2544 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
2545 (build-system gnu-build-system)
2546 (inputs `(("xorg-server" ,xorg-server)))
2547 (native-inputs `(("pkg-config" ,pkg-config)))
2550 (list (string-append "--with-sdkdir="
2551 (assoc-ref %outputs "out")
2553 (home-page "https://www.x.org/wiki/")
2554 (synopsis "Mouse input driver for X server")
2556 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2557 This driver supports four classes of mice: serial, bus and PS/2 mice,
2558 and additional mouse types supported by specific operating systems, such
2560 (license license:x11)))
2563 (define-public xf86-input-synaptics
2565 (name "xf86-input-synaptics")
2571 "mirror://xorg/individual/driver/xf86-input-synaptics-"
2576 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
2577 (build-system gnu-build-system)
2578 (inputs `(("libx11" ,libx11)
2580 ("libevdev" ,libevdev)
2582 ("xorg-server" ,xorg-server)))
2583 (native-inputs `(("pkg-config" ,pkg-config)))
2586 (list (string-append "--with-sdkdir="
2587 (assoc-ref %outputs "out")
2589 (string-append "--with-xorg-conf-dir="
2590 (assoc-ref %outputs "out")
2591 "/share/X11/xorg.conf.d"))))
2592 (home-page "https://www.x.org/wiki/")
2593 (synopsis "Touchpad input driver for X server")
2595 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
2596 (license license:x11)))
2599 (define-public xf86-input-void
2601 (name "xf86-input-void")
2607 "mirror://xorg/individual/driver/xf86-input-void-"
2612 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
2613 (build-system gnu-build-system)
2614 (inputs `(("xorg-server" ,xorg-server)))
2615 (native-inputs `(("pkg-config" ,pkg-config)))
2616 (home-page "https://www.x.org/wiki/")
2617 (synopsis "Void (null) input driver for X server")
2619 "xf86-input-void is a null input driver for the Xorg X server.")
2620 (license license:x11)))
2622 (define-public xf86-video-amdgpu
2624 (name "xf86-video-amdgpu")
2629 (uri (string-append "mirror://xorg/individual/driver/"
2630 "xf86-video-amdgpu-" version ".tar.bz2"))
2632 (base32 "1mf6s7i423b2xyl469kwnakrpp5fr41sm8hh7vli5jxdd8crg8da"))))
2633 (build-system gnu-build-system)
2634 (inputs `(("xorg-server" ,xorg-server)))
2635 (native-inputs `(("pkg-config" ,pkg-config)))
2636 (home-page "https://www.x.org/wiki/")
2637 (synopsis "AMD Radeon video driver for X server")
2639 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2641 (license license:x11)))
2643 (define-public xf86-video-ark
2645 (name "xf86-video-ark")
2651 "mirror://xorg/individual/driver/xf86-video-ark-"
2656 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
2657 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
2658 (build-system gnu-build-system)
2659 (inputs `(("xorg-server" ,xorg-server)))
2660 (native-inputs `(("pkg-config" ,pkg-config)))
2661 (home-page "https://www.x.org/wiki/")
2662 (synopsis "Ark Logic video driver for X server")
2664 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
2665 (license license:x11)))
2667 (define-public xf86-video-ast
2669 (name "xf86-video-ast")
2671 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2675 "mirror://xorg/individual/driver/xf86-video-ast-"
2676 version ".tar.bz2"))
2679 "1pm2cy81ma7ldsw0yfk28b33h9z2hcj5rccrxhfxfgvxsiavrnqy"))))
2680 (build-system gnu-build-system)
2681 (inputs `(("xorg-server" ,xorg-server)))
2682 (native-inputs `(("pkg-config" ,pkg-config)))
2683 (synopsis "ASpeed Technologies video driver for X server")
2685 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2687 (license license:x11)))
2689 (define-public xf86-video-ati
2691 (name "xf86-video-ati")
2696 (uri (string-append "mirror://xorg/individual/driver/"
2697 "xf86-video-ati-" version ".tar.bz2"))
2699 (base32 "1c31g5q5p3nk9nscwikh1vvfnhdwsxiw7j8v678nlm34hrfh3djw"))))
2700 (build-system gnu-build-system)
2701 (inputs `(("mesa" ,mesa)
2702 ("xorgproto" ,xorgproto)
2703 ("xorg-server" ,xorg-server)))
2704 (native-inputs `(("pkg-config" ,pkg-config)))
2705 (arguments `(#:configure-flags `("--disable-glamor"))) ; TODO: Enable glamor
2706 (home-page "https://www.x.org/wiki/")
2707 (synopsis "ATI Radeon video driver for X server")
2709 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2711 (license license:x11)))
2714 (define-public xf86-video-cirrus
2716 (name "xf86-video-cirrus")
2722 "mirror://xorg/individual/driver/xf86-video-cirrus-"
2727 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
2728 (build-system gnu-build-system)
2729 (inputs `(("xorg-server" ,xorg-server)))
2730 (native-inputs `(("pkg-config" ,pkg-config)))
2731 (home-page "https://www.x.org/wiki/")
2732 (synopsis "Cirrus Logic video driver for X server")
2734 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2736 (license license:x11)))
2740 ;; (define-public xf86-video-dummy
2743 (define-public xf86-video-fbdev
2745 (name "xf86-video-fbdev")
2751 "mirror://xorg/individual/driver/xf86-video-fbdev-"
2756 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
2757 (build-system gnu-build-system)
2758 (inputs `(("xorg-server" ,xorg-server)))
2759 (native-inputs `(("pkg-config" ,pkg-config)))
2760 (home-page "https://www.x.org/wiki/")
2761 (synopsis "Framebuffer device video driver for X server")
2763 "xf86-video-fbdev is a video driver for the Xorg X server for
2764 framebuffer device.")
2765 (license license:x11)))
2768 (define-public xf86-video-freedreno
2769 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2771 (name "xf86-video-freedreno")
2772 (version (string-append "1.4.0-1-" (string-take commit 7)))
2775 ;; there's no current tarball
2778 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2779 "driver/xf86-video-freedreno.git"))
2783 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2784 (file-name (string-append name "-" version))))
2785 (build-system gnu-build-system)
2787 `(("libdrm" ,libdrm)
2790 ("xorg-server" ,xorg-server)
2793 `(("pkg-config" ,pkg-config)
2794 ("autoconf" ,autoconf)
2795 ("automake" ,automake)
2796 ("libtool" ,libtool)))
2797 ;; This driver is only supported on ARM systems.
2798 (supported-systems '("armhf-linux" "aarch64-linux"))
2801 (list (string-append "--with-xorg-conf-dir="
2802 (assoc-ref %outputs "out")
2803 "/share/X11/xorg.conf.d"))))
2804 (home-page "https://www.x.org/wiki/")
2805 (synopsis "Adreno video driver for X server")
2807 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2808 It supports a variety of Adreno graphics chipsets.")
2809 (license license:x11))))
2812 (define-public xf86-video-geode
2814 (name "xf86-video-geode")
2820 "mirror://xorg/individual/driver/xf86-video-geode-"
2825 "0zn9gb49grds5mcs1dlrx241k2w1sgqmx4i5x7v6159xxqhlqsf6"))
2826 (patches (search-patches "xf86-video-geode-glibc-2.20.patch"))))
2827 (build-system gnu-build-system)
2828 (inputs `(("xorg-server" ,xorg-server)))
2829 (native-inputs `(("pkg-config" ,pkg-config)))
2831 ;; This driver is only supported on i686 systems.
2832 (filter (lambda (system) (string-prefix? "i686-" system))
2833 %supported-systems))
2834 (home-page "https://www.x.org/wiki/")
2835 (synopsis "AMD Geode GX/LX video driver for X server")
2837 "xf86-video-geode is an Xorg X server video driver for the AMD
2838 Geode GX and LX processors. The GX component supports both XAA and EXA
2839 for graphics acceleration. The LX component supports EXA, including
2840 compositing. Both support Xv overlay and dynamic rotation with XRandR.")
2841 (license license:x11)))
2844 ;; Driver for obsolete graphics cards, depends on libglide:
2845 ;; http://sourceforge.net/projects/glide/ ,
2846 ;; last updated in 2003, and which does not compile out of the box any more.
2847 ;; (define-public xf86-video-glide
2849 ;; (name "xf86-video-glide")
2850 ;; (version "1.2.0")
2853 ;; (method url-fetch)
2854 ;; (uri (string-append
2855 ;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2860 ;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2861 ;; (build-system gnu-build-system)
2862 ;; (inputs `(("pkg-config" ,pkg-config)
2863 ;; ("xorg-server" ,xorg-server)))
2864 ;; (home-page "https://www.x.org/wiki/")
2865 ;; (synopsis "Glide video driver for X server")
2867 ;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
2868 ;; (license license:x11)))
2871 (define-public xf86-video-glint
2873 (name "xf86-video-glint")
2879 "mirror://xorg/individual/driver/xf86-video-glint-"
2884 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
2885 (build-system gnu-build-system)
2886 (inputs `(("xorgproto" ,xorgproto)
2887 ("xorg-server" ,xorg-server)))
2888 (native-inputs `(("pkg-config" ,pkg-config)))
2889 (home-page "https://www.x.org/wiki/")
2890 (synopsis "GLINT/Permedia video driver for X server")
2892 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2894 (license license:x11)))
2897 (define-public xf86-video-i128
2899 (name "xf86-video-i128")
2905 "mirror://xorg/individual/driver/xf86-video-i128-"
2910 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
2911 (build-system gnu-build-system)
2912 (inputs `(("xorg-server" ,xorg-server)))
2913 (native-inputs `(("pkg-config" ,pkg-config)))
2914 (home-page "https://www.x.org/wiki/")
2915 (synopsis "I128 video driver for X server")
2917 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2919 (license license:x11)))
2922 (define-public xf86-video-intel
2923 (let ((commit "f66d39544bb8339130c96d282a80f87ca1606caf")
2926 (name "xf86-video-intel")
2927 (version (git-version "2.99.917" revision commit))
2930 ;; there's no current tarball
2933 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
2937 "14rwbbn06l8qpx7s5crxghn80vgcx8jmfc7qvivh72d81r0kvywl"))
2938 (file-name (git-file-name name version))))
2939 (build-system gnu-build-system)
2940 (inputs `(("mesa" ,mesa)
2943 ("libxfont" ,libxfont2)
2944 ("xorg-server" ,xorg-server)))
2946 `(("pkg-config" ,pkg-config)
2947 ("autoconf" ,autoconf)
2948 ("automake" ,automake)
2949 ("libtool" ,libtool)))
2951 ;; This driver is only supported on Intel systems.
2952 (filter (lambda (system) (or (string-prefix? "i686-" system)
2953 (string-prefix? "x86_64-" system)))
2954 %supported-systems))
2956 '(#:configure-flags '("--with-default-accel=uxa")
2957 #:phases (modify-phases %standard-phases
2958 (add-before 'bootstrap 'pre-bootstrap
2960 ;; Inhibit autogen.sh from running configure.
2961 (setenv "NOCONFIGURE" "1")
2963 (home-page "https://www.x.org/wiki/")
2964 (synopsis "Intel video driver for X server")
2966 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
2967 It supports a variety of Intel graphics chipsets.")
2968 (license license:x11))))
2971 (define-public xf86-video-mach64
2973 (name "xf86-video-mach64")
2979 "mirror://xorg/individual/driver/xf86-video-mach64-"
2984 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
2985 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
2986 (build-system gnu-build-system)
2987 (inputs `(("mesa" ,mesa)
2988 ("xorgproto" ,xorgproto)
2989 ("xorg-server" ,xorg-server)))
2991 `(("pkg-config" ,pkg-config)))
2992 (home-page "https://www.x.org/wiki/")
2993 (synopsis "Mach64 video driver for X server")
2995 "xf86-video-mach64 is a video driver for the Xorg X server.
2996 This driver is intended for all ATI video adapters based on the Mach64
2997 series or older chipsets, providing maximum video function within
2998 hardware limitations. The driver is also intended to optionally provide
2999 the same level of support for generic VGA or 8514/A adapters.")
3000 (license license:x11)))
3003 (define-public xf86-video-mga
3005 (name "xf86-video-mga")
3011 "mirror://xorg/individual/driver/xf86-video-mga-"
3016 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
3017 (build-system gnu-build-system)
3018 (inputs `(("mesa" ,mesa)
3019 ("xorgproto" ,xorgproto)
3020 ("xorg-server" ,xorg-server)))
3021 (native-inputs `(("pkg-config" ,pkg-config)))
3022 (home-page "https://www.x.org/wiki/")
3023 (synopsis "Matrox video driver for X server")
3025 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
3026 (license license:x11)))
3028 (define-public xf86-video-neomagic
3030 (name "xf86-video-neomagic")
3036 "mirror://xorg/individual/driver/xf86-video-neomagic-"
3041 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
3042 (build-system gnu-build-system)
3043 (inputs `(("xorgproto" ,xorgproto)
3044 ("xorg-server" ,xorg-server)))
3045 (native-inputs `(("pkg-config" ,pkg-config)))
3046 (home-page "https://www.x.org/wiki/")
3047 (synopsis "NeoMagic video driver for X server")
3049 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
3050 (license license:x11)))
3053 ;; This driver depends on XAA which has been removed from xorg-server.
3055 ;; (define-public xf86-video-newport
3057 ;; (name "xf86-video-newport")
3058 ;; (version "0.2.4")
3061 ;; (method url-fetch)
3062 ;; (uri (string-append
3063 ;; "mirror://xorg/individual/driver/xf86-video-newport-"
3068 ;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3069 ;; (build-system gnu-build-system)
3070 ;; (inputs `(("xorg-server" ,xorg-server)))
3071 ;; (native-inputs `(("pkg-config" ,pkg-config)))
3072 ;; (home-page "https://www.x.org/wiki/")
3073 ;; (synopsis "Newport video driver for X server")
3075 ;; "xf86-video-newport is an Xorg X server video driver for the SGI
3077 ;; (license license:x11)))
3080 (define-public xf86-video-nv
3082 (name "xf86-video-nv")
3088 "mirror://xorg/individual/driver/xf86-video-nv-"
3093 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
3094 (build-system gnu-build-system)
3095 (inputs `(("xorg-server" ,xorg-server)))
3096 (native-inputs `(("pkg-config" ,pkg-config)))
3097 (home-page "https://www.x.org/wiki/")
3098 (synopsis "NVIDIA video driver for X server")
3100 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3101 graphics processors.
3103 There are a few caveats of which to be aware: the XVideo extension is not
3104 supported, and the RENDER extension is not accelerated by this driver.")
3105 (license license:x11)))
3107 (define-public xf86-video-nouveau
3109 (name "xf86-video-nouveau")
3115 "mirror://xorg/individual/driver/xf86-video-nouveau-"
3120 "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"))))
3121 (build-system gnu-build-system)
3122 (inputs `(("xorg-server" ,xorg-server)))
3123 (native-inputs `(("pkg-config" ,pkg-config)))
3124 (home-page "https://nouveau.freedesktop.org")
3125 (synopsis "NVIDIA video driver for X server")
3127 "This package provides modern, high-quality Xorg drivers for NVIDIA
3129 (license license:x11)))
3131 (define-public xf86-video-openchrome
3133 (name "xf86-video-openchrome")
3139 "mirror://xorg/individual/driver/xf86-video-openchrome-"
3144 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
3145 (build-system gnu-build-system)
3146 (inputs `(("libx11" ,libx11)
3147 ("libxext" ,libxext)
3148 ("libxvmc" ,libxvmc)
3150 ("xorgproto" ,xorgproto)
3151 ("xorg-server" ,xorg-server)))
3153 `(("pkg-config" ,pkg-config)))
3154 (home-page "https://www.x.org/wiki/")
3155 (synopsis "Openchrome video driver for X server")
3157 "xf86-video-openchrome is a video driver for the Xorg X server.
3158 This driver is intended for VIA chipsets featuring the VIA UniChrome,
3159 UniChrome Pro and Chrome9 integrated graphics processors.")
3160 (license license:x11)))
3163 (define-public xf86-video-qxl
3165 (name "xf86-video-qxl")
3170 "mirror://xorg/individual/driver/"
3171 "xf86-video-qxl-" version ".tar.bz2"))
3174 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
3175 (build-system gnu-build-system)
3177 `(("libxfont" ,libxfont2)
3178 ("spice-protocol" ,spice-protocol)
3179 ("xorg-server" ,xorg-server)
3180 ("xorgproto" ,xorgproto)))
3182 `(("pkg-config" ,pkg-config)))
3183 (synopsis "Qxl video driver for X server")
3184 (description "xf86-video-qxl is a video driver for the Xorg X server.
3185 This driver is intended for the spice qxl virtio device.")
3186 (home-page "http://www.spice-space.org")
3187 (license license:x11)))
3189 (define-public xf86-video-r128
3191 (name "xf86-video-r128")
3195 (uri (string-append "mirror://xorg/individual/driver/"
3196 name "-" version ".tar.bz2"))
3199 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
3200 (build-system gnu-build-system)
3201 (inputs `(("mesa" ,mesa)
3202 ("xorgproto" ,xorgproto)
3203 ("xorg-server" ,xorg-server)))
3205 `(("pkg-config" ,pkg-config)))
3206 (home-page "https://www.x.org/wiki/")
3207 (synopsis "ATI Rage 128 video driver for X server")
3209 "xf86-video-r128 is a video driver for the Xorg X server.
3210 This driver is intended for ATI Rage 128 based cards.")
3211 (license license:x11)))
3213 (define-public xf86-video-savage
3215 (name "xf86-video-savage")
3221 "mirror://xorg/individual/driver/xf86-video-savage-"
3224 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
3227 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
3228 (build-system gnu-build-system)
3229 (inputs `(("mesa" ,mesa)
3230 ("xorgproto" ,xorgproto)
3231 ("xorg-server" ,xorg-server)))
3232 (native-inputs `(("pkg-config" ,pkg-config)))
3233 (home-page "https://www.x.org/wiki/")
3234 (synopsis "Savage video driver for X server")
3236 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
3237 (license license:x11)))
3240 (define-public xf86-video-siliconmotion
3242 (name "xf86-video-siliconmotion")
3248 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
3253 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3254 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
3255 (build-system gnu-build-system)
3256 (inputs `(("xorg-server" ,xorg-server)))
3257 (native-inputs `(("pkg-config" ,pkg-config)))
3258 (home-page "https://www.x.org/wiki/")
3259 (synopsis "Silicon Motion video driver for X server")
3261 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3263 (license license:x11)))
3266 (define-public xf86-video-sis
3268 (name "xf86-video-sis")
3274 "mirror://xorg/individual/driver/xf86-video-sis-"
3277 (patches (search-patches "xf86-video-sis-xorg-compat.patch"))
3280 "03f1abjjf68y8y1iz768rn95va9d33wmbwfbsqrgl6k0gi0bf9jj"))))
3281 (build-system gnu-build-system)
3282 (inputs `(("mesa" ,mesa)
3283 ("xorgproto" ,xorgproto)
3284 ("xorg-server" ,xorg-server)))
3286 `(("pkg-config" ,pkg-config)))
3287 (home-page "https://www.x.org/wiki/")
3288 (synopsis "Sis video driver for X server")
3290 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3291 This driver supports SiS chipsets of 300/315/330/340 series.")
3292 (license license:bsd-3)))
3295 (define-public xf86-video-suncg6
3297 (name "xf86-video-suncg6")
3303 "mirror://xorg/individual/driver/xf86-video-suncg6-"
3308 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
3309 (build-system gnu-build-system)
3310 (inputs `(("xorg-server" ,xorg-server)))
3311 (native-inputs `(("pkg-config" ,pkg-config)))
3312 (home-page "https://www.x.org/wiki/")
3313 (synopsis "GX/TurboGX video driver for X server")
3315 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
3316 (license license:x11)))
3319 (define-public xf86-video-sunffb
3321 (name "xf86-video-sunffb")
3327 "mirror://xorg/individual/driver/xf86-video-sunffb-"
3332 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
3333 (build-system gnu-build-system)
3334 (inputs `(("xorg-server" ,xorg-server)))
3335 (native-inputs `(("pkg-config" ,pkg-config)))
3336 (home-page "https://www.x.org/wiki/")
3337 (synopsis "SUNFFB video driver for X server")
3339 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
3340 (license license:x11)))
3343 (define-public xf86-video-tdfx
3345 (name "xf86-video-tdfx")
3351 "mirror://xorg/individual/driver/xf86-video-tdfx-"
3356 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
3357 (build-system gnu-build-system)
3358 (inputs `(("mesa" ,mesa)
3359 ("xorgproto" ,xorgproto)
3360 ("xorg-server" ,xorg-server)))
3361 (native-inputs `(("pkg-config" ,pkg-config)))
3362 (home-page "https://www.x.org/wiki/")
3363 (synopsis "3Dfx video driver for X server")
3365 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
3366 (license license:x11)))
3369 (define-public xf86-video-tga
3371 (name "xf86-video-tga")
3377 "mirror://xorg/individual/driver/xf86-video-tga-"
3382 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
3383 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
3384 (build-system gnu-build-system)
3385 (inputs `(("xorgproto" ,xorgproto)
3386 ("xorg-server" ,xorg-server)))
3387 (native-inputs `(("pkg-config" ,pkg-config)))
3388 (home-page "https://www.x.org/wiki/")
3389 (synopsis "TGA video driver for X server")
3391 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3393 (license license:x11)))
3396 (define-public xf86-video-trident
3398 (name "xf86-video-trident")
3404 "mirror://xorg/individual/driver/xf86-video-trident-"
3409 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
3410 (build-system gnu-build-system)
3411 (inputs `(("xorgproto" ,xorgproto)
3412 ("xorg-server" ,xorg-server)))
3413 (native-inputs `(("pkg-config" ,pkg-config)))
3414 (home-page "https://www.x.org/wiki/")
3415 (synopsis "Trident video driver for X server")
3417 "xf86-video-trident is a Trident video driver for the Xorg X server.")
3418 (license license:x11)))
3422 ;; (define-public xf86-video-v4l
3425 (define-public xf86-video-vesa
3427 (name "xf86-video-vesa")
3433 "mirror://xorg/individual/driver/xf86-video-vesa-"
3438 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
3439 (build-system gnu-build-system)
3440 (inputs `(("xorg-server" ,xorg-server)))
3441 (native-inputs `(("pkg-config" ,pkg-config)))
3442 (home-page "https://www.x.org/wiki/")
3443 (synopsis "VESA video driver for X server")
3445 "xf86-video-vesa is a generic VESA video driver for the Xorg
3447 (license license:x11)))
3450 (define-public xf86-video-vmware
3452 (name "xf86-video-vmware")
3458 "mirror://xorg/individual/driver/xf86-video-vmware-"
3463 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
3464 (build-system gnu-build-system)
3466 `(("libx11" ,libx11)
3467 ("libxext" ,libxext)
3469 ("mesa" ,mesa) ; for xatracker
3470 ("xorg-server" ,xorg-server)))
3473 ("pkg-config" ,pkg-config)))
3474 (home-page "https://www.x.org/wiki/")
3475 (synopsis "VMware SVGA video driver for X server")
3477 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
3478 (license license:x11)))
3481 (define-public xf86-video-voodoo
3483 (name "xf86-video-voodoo")
3489 "mirror://xorg/individual/driver/xf86-video-voodoo-"
3494 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3496 (search-patches "xf86-video-voodoo-pcitag.patch"))))
3497 (build-system gnu-build-system)
3498 (inputs `(("xorgproto" ,xorgproto)
3499 ("xorg-server" ,xorg-server)))
3500 (native-inputs `(("pkg-config" ,pkg-config)))
3501 (home-page "https://www.x.org/wiki/")
3502 (synopsis "Voodoo/Voodoo2 video driver for X server")
3504 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
3505 (license license:x11)))
3508 ;; Only relevant for the frame buffer on BSD systems.
3509 ;; (define-public xf86-video-wsfb
3512 (define-public xf86bigfontproto
3514 (name "xf86bigfontproto")
3520 "mirror://xorg/individual/proto/xf86bigfontproto-"
3525 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3526 (build-system gnu-build-system)
3527 (home-page "https://www.x.org/wiki/")
3528 (synopsis "Xorg XF86BigFontProto protocol headers")
3530 "XFree86 Bigfont Extension contains header files and documentation
3531 for the XF86BigFontProto protocol.")
3532 (license license:x11)
3533 (properties `((superseded . ,xorgproto)))))
3535 (define-public xf86dgaproto
3537 (name "xf86dgaproto")
3543 "mirror://xorg/individual/proto/xf86dgaproto-"
3548 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3549 (build-system gnu-build-system)
3550 (home-page "https://www.x.org/wiki/")
3551 (synopsis "Xorg XF86DGAProto protocol headers")
3553 "XFree86 Direct Graphic Access Extension defines a protocol for
3554 direct linear framebuffer access.")
3555 (license license:x11)
3556 (properties `((superseded . ,xorgproto)))))
3558 (define-public xf86driproto
3560 (name "xf86driproto")
3566 "mirror://xorg/individual/proto/xf86driproto-"
3571 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3572 (build-system gnu-build-system)
3573 (home-page "https://www.x.org/wiki/")
3574 (synopsis "Xorg XF86DRIProto protocol headers")
3576 "XFree86 Direct Rendering Infrastructure Extension defines a
3577 protocol to allow user applications to access the video hardware without
3578 requiring data to be passed through the X server.")
3579 (license license:x11)
3580 (properties `((superseded . ,xorgproto)))))
3582 (define-public xf86vidmodeproto
3584 (name "xf86vidmodeproto")
3590 "mirror://xorg/individual/proto/xf86vidmodeproto-"
3595 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3596 (build-system gnu-build-system)
3597 (home-page "https://www.x.org/wiki/")
3598 (synopsis "Xorg XF86VidModeProto protocol headers")
3600 "XFree86 Video Mode Extension defines a protocol for dynamically
3601 configuring modelines and gamma.")
3602 (license license:x11)
3603 (properties `((superseded . ,xorgproto)))))
3605 (define-public xgamma
3613 "mirror://xorg/individual/app/xgamma-"
3618 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
3619 (build-system gnu-build-system)
3621 `(("libxxf86vm" ,libxxf86vm)
3622 ("libx11" ,libx11)))
3624 `(("pkg-config" ,pkg-config)))
3625 (home-page "https://www.x.org/wiki/")
3626 (synopsis "Alter a monitor's gamma correction")
3628 "XGamma is used to query and alter the gamma correction of a
3629 monitor via the X video mode extension.")
3630 (license license:x11)))
3633 (define-public xhost
3641 "mirror://xorg/individual/app/xhost-"
3646 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
3647 (build-system gnu-build-system)
3649 `(("libxmu" ,libxmu)
3651 ("libx11" ,libx11)))
3653 `(("pkg-config" ,pkg-config)))
3654 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
3655 (synopsis "Xorg server access control utility")
3657 "XHost is used to manage the list of host names or user names
3658 allowed to make connections to the X server.")
3659 (license license:x11)))
3662 (define-public xineramaproto
3664 (name "xineramaproto")
3670 "mirror://xorg/individual/proto/xineramaproto-"
3675 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3676 (build-system gnu-build-system)
3677 (native-inputs `(("pkg-config" ,pkg-config)))
3678 (home-page "https://www.x.org/wiki/")
3679 (synopsis "Xorg XineramaProto protocol headers")
3681 "Xinerama Extension allows clients to query information about multiple
3682 physical screens controlled by a single X server that appear as a single
3683 screen to core X11 protocol operations.
3685 This extension provides a common network protocol for querying information
3686 which may be provided by different underlying screen combination
3687 technologies in the X server, such as the original Xinerama multiplexer, or
3688 alternative implementations like XRandR or TwinView.")
3689 (license license:x11)
3690 (properties `((superseded . ,xorgproto)))))
3692 (define-public xinput
3700 "mirror://xorg/individual/app/xinput-"
3705 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
3706 (build-system gnu-build-system)
3708 `(("libxrender" ,libxrender)
3709 ("libxrandr" ,libxrandr)
3710 ("libxinerama" ,libxinerama)
3711 ("libxext" ,libxext)
3714 ("xorgproto" ,xorgproto)))
3716 `(("pkg-config" ,pkg-config)))
3717 (home-page "https://www.x.org/wiki/")
3718 (synopsis "Configure input devices for X server")
3720 "XInput is used to configure and test XInput devices.")
3721 (license license:x11)))
3724 (define xkbcomp-intermediate ; used as input for xkeyboard-config
3726 (name "xkbcomp-intermediate")
3732 "mirror://xorg/individual/app/xkbcomp-"
3737 "0944rrkkf0dxp07vhh9yr4prslxhqyw63qmbjirbv1bypswvrn3d"))))
3738 (build-system gnu-build-system)
3740 `(("xorgproto" ,xorgproto)
3741 ("libxkbfile" ,libxkbfile)
3742 ("libx11" ,libx11)))
3744 `(("pkg-config" ,pkg-config)))
3745 (home-page "https://www.x.org/wiki/")
3746 (synopsis "Compile XKB keyboard description")
3748 "xkbcomp keymap compiler converts a description of an XKB keymap
3749 into one of several output formats. The most common use for xkbcomp is
3750 to create a compiled keymap file (.xkm extension) which can be read
3751 directly by XKB- capable X servers or utilities.
3753 X Keyboard (XKB) Extension essentially replaces the core protocol
3754 definition of keyboard. The extension makes possible to clearly and
3755 explicitly specify most aspects of keyboard behaviour on per-key basis
3756 and to more closely track the logical and physical state of the
3757 keyboard. It also includes a number of keyboard controls designed to
3758 make keyboards more accessible to people with physical impairments.")
3759 (license license:x11)))
3761 (define-public xkbcomp ; using xkeyboard-config as input
3762 (package (inherit xkbcomp-intermediate)
3765 `(,@(package-inputs xkbcomp-intermediate)
3766 ("xkeyboard-config" ,xkeyboard-config)))
3769 (list (string-append "--with-xkb-config-root="
3770 (assoc-ref %build-inputs "xkeyboard-config")
3771 "/share/X11/xkb"))))))
3774 (define-public xkbevd
3782 "mirror://xorg/individual/app/xkbevd-"
3787 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
3788 (build-system gnu-build-system)
3790 `(("libxkbfile" ,libxkbfile)
3791 ("libx11" ,libx11)))
3793 `(("pkg-config" ,pkg-config)))
3794 (home-page "https://www.x.org/wiki/")
3795 (synopsis "XKB event daemon demo")
3797 "XKB event daemon listens for the specified XKB events and executes
3798 requested commands if they occur.")
3799 (license license:x11)))
3802 (define-public xkbutils
3810 "mirror://xorg/individual/app/xkbutils-"
3815 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
3816 (build-system gnu-build-system)
3820 ("xorgproto" ,xorgproto)))
3822 `(("pkg-config" ,pkg-config)))
3823 (home-page "https://www.x.org/wiki/")
3824 (synopsis "XKB utilities")
3826 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3827 extension to the X11 protocol. It includes:
3829 - xkbbell: generate XKB bell events;
3831 - xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3833 - xkbwatch: reports changes in the XKB keyboard state.")
3834 (license license:x11)))
3837 (define-public xkeyboard-config
3839 (name "xkeyboard-config")
3845 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
3850 "1kmxc8hdw4qpvdlzp4ag8ygl34lqhs6sn3pcz1sl0kn61xdv5bb9"))))
3851 (build-system gnu-build-system)
3853 `(("gettext" ,gettext-minimal)
3855 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
3857 `(("intltool" ,intltool)
3858 ("pkg-config" ,pkg-config)))
3859 (home-page "https://www.x.org/wiki/")
3860 (synopsis "Xorg XKB configuration files")
3862 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
3863 There are five components that define a complete keyboard mapping:
3864 symbols, geometry, keycodes, compat, and types; these five components
3865 can be combined together using the @code{rules} component of this database.")
3866 (license license:x11)))
3869 (define-public xkill
3877 "mirror://xorg/individual/app/xkill-"
3882 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
3883 (build-system gnu-build-system)
3885 `(("libxmu" ,libxmu)
3886 ("libx11" ,libx11)))
3888 `(("pkg-config" ,pkg-config)))
3889 (home-page "https://www.x.org/wiki/")
3890 (synopsis "Kill a client by its X resource")
3892 "XKill is used to force the X server to close connections to
3893 clients. This program is very dangerous, but is useful for aborting
3894 programs that have displayed undesired windows on a user's screen.")
3895 (license license:x11)))
3898 (define-public xlsatoms
3906 "mirror://xorg/individual/app/xlsatoms-"
3911 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
3912 (build-system gnu-build-system)
3914 `(("libxcb" ,libxcb)))
3916 `(("pkg-config" ,pkg-config)))
3917 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
3918 (synopsis "List interned X server atoms")
3920 "XLsAtoms is used to list the interned atoms defined on X server.")
3921 (license license:x11)))
3924 (define-public xlsclients
3932 "mirror://xorg/individual/app/xlsclients-"
3937 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
3938 (build-system gnu-build-system)
3940 `(("libxcb" ,libxcb)))
3942 `(("pkg-config" ,pkg-config)))
3943 (home-page "https://www.x.org/wiki/")
3944 (synopsis "List client applications running on a display")
3946 "XLsClients is used to list information about the client programs
3947 running on X server.")
3948 (license license:x11)))
3951 (define-public xlsfonts
3959 "mirror://xorg/individual/app/xlsfonts-"
3964 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
3965 (build-system gnu-build-system)
3967 `(("xorgproto" ,xorgproto)
3968 ("libx11" ,libx11)))
3970 `(("pkg-config" ,pkg-config)))
3971 (home-page "https://www.x.org/wiki/")
3972 (synopsis "List fonts available from an X server")
3974 "xlsfonts lists fonts available from an X server via the X11 core
3976 (license license:x11)))
3978 (define-public xfontsel
3985 "mirror://xorg/individual/app/xfontsel-"
3986 version ".tar.bz2"))
3989 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
3990 (build-system gnu-build-system)
3993 (list (string-append "--with-appdefaultdir="
3994 %output ,%app-defaults-dir))))
3996 `(("libx11" ,libx11)
4001 `(("pkg-config" ,pkg-config)))
4002 (home-page "https://www.x.org/wiki/")
4003 (synopsis "Browse and select X font names")
4005 "XFontSel provides a simple way to display the X11 core protocol fonts
4006 known to your X server, examine samples of each, and retrieve the X Logical
4007 Font Description (XLFD) full name for a font.")
4008 (license license:x11)))
4017 "mirror://xorg/individual/app/xfd-"
4018 version ".tar.bz2"))
4021 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
4022 (build-system gnu-build-system)
4025 (list (string-append "--with-appdefaultdir="
4026 %output ,%app-defaults-dir))))
4028 `(("fontconfig" ,fontconfig)
4033 ("libxrender" ,libxrender)
4034 ("libxkbfile" ,libxkbfile)))
4036 `(("gettext" ,gettext-minimal)
4037 ("pkg-config" ,pkg-config)))
4038 (home-page "https://www.x.org/wiki/")
4039 (synopsis "Display all the characters in an X font")
4041 "XFD (X Font Display) package provides an utility that displays a
4042 window containing the name of the font being displayed, a row of command
4043 buttons, several lines of text for displaying character metrics, and a grid
4044 containing one glyph per cell.")
4045 (license license:x11)))
4047 (define-public xmodmap
4055 "mirror://xorg/individual/app/xmodmap-"
4060 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
4061 (build-system gnu-build-system)
4063 `(("xorgproto" ,xorgproto)
4064 ("libx11" ,libx11)))
4066 `(("pkg-config" ,pkg-config)))
4067 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
4068 (synopsis "Modify keymaps and button mappings on X server")
4070 "Xmodmap is used to display and edit the keyboard modifier map and
4071 keymap table that are used by client programs running on X server to
4072 convert event keycodes into keysyms. It is usually run from the user's
4073 session startup script to configure the keyboard according to personal
4075 (license license:x11)))
4079 ;; (define-public xorg-docs
4082 (define-public xorg-sgml-doctools
4084 (name "xorg-sgml-doctools")
4090 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
4095 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
4096 (build-system gnu-build-system)
4097 (native-inputs `(("pkg-config" ,pkg-config)))
4098 (home-page "https://www.x.org/wiki/")
4099 (synopsis "Xorg SGML documentation tools")
4101 "This package provides a common set of SGML entities and XML/CSS style
4102 sheets used in building/formatting the documentation provided in other
4103 Xorg packages. It's typically only needed by people building from
4104 source who want to produce formatted documentation from their builds, or
4105 those who have installed the HTML version of the documentation, which
4106 refers to the included common xorg.css stylesheet.")
4107 (license license:x11)))
4118 "mirror://xorg/individual/app/xpr-"
4123 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
4124 (build-system gnu-build-system)
4126 `(("xorgproto" ,xorgproto)
4128 ("libx11" ,libx11)))
4130 `(("pkg-config" ,pkg-config)))
4131 (home-page "https://www.x.org/wiki/")
4132 (synopsis "Print an X window dump from xwd")
4134 "XPr takes as input a window dump file produced by xwd and formats
4135 it for output on various types of printers.")
4136 (license license:x11)))
4139 (define-public xprop
4147 "mirror://xorg/individual/app/xprop-"
4152 "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc"))))
4153 (build-system gnu-build-system)
4155 `(("xorgproto" ,xorgproto)
4156 ("libx11" ,libx11)))
4158 `(("pkg-config" ,pkg-config)))
4159 (home-page "https://www.x.org/wiki/")
4160 (synopsis "Display X server properties")
4162 "xprop is used to display and/or set window and font properties of
4164 (license license:x11)))
4167 (define-public xrandr
4175 "mirror://xorg/individual/app/xrandr-"
4179 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
4180 (build-system gnu-build-system)
4182 `(("libxrender" ,libxrender)
4183 ("libxrandr" ,libxrandr)
4184 ("xorgproto" ,xorgproto)
4185 ("libx11" ,libx11)))
4187 `(("pkg-config" ,pkg-config)))
4188 (home-page "https://www.x.org/wiki/")
4189 (synopsis "Command line interface to X RandR extension")
4191 "xrandr - primitive command line interface to X11 Resize, Rotate,
4192 and Reflect (RandR) extension.")
4193 (license license:x11)))
4204 "mirror://xorg/individual/app/xrdb-"
4209 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
4210 (build-system gnu-build-system)
4212 `(("libxmu" ,libxmu)
4213 ("libx11" ,libx11)))
4215 `(("pkg-config" ,pkg-config)))
4216 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
4217 (synopsis "X server resource database utility")
4219 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4220 property on the root window of screen 0, or the SCREEN_RESOURCES
4221 property on the root window of any or all screens, or everything
4222 combined. You would normally run this program from your X startup
4224 (license license:x11)))
4227 (define-public xrefresh
4235 "mirror://xorg/individual/app/xrefresh-"
4240 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
4241 (build-system gnu-build-system)
4243 `(("libx11" ,libx11)))
4245 `(("pkg-config" ,pkg-config)))
4246 (home-page "https://www.x.org/wiki/")
4247 (synopsis "Refresh all or part of an X screen")
4249 "Xrefresh is a simple X program that causes all or part of your
4250 screen to be repainted. This is useful when system messages have messed
4252 (license license:x11)))
4263 "mirror://xorg/individual/app/xset-"
4268 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
4269 (build-system gnu-build-system)
4271 `(("xorgproto" ,xorgproto)
4273 ("libxext" ,libxext)
4274 ("libx11" ,libx11)))
4276 `(("pkg-config" ,pkg-config)))
4277 (home-page "https://www.x.org/wiki/")
4278 (synopsis "User preference utility for X server")
4280 "XSet is used to set various user preference options of the display.")
4281 (license license:x11)))
4284 (define-public xsetroot
4292 "mirror://xorg/individual/app/xsetroot-"
4297 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
4298 (build-system gnu-build-system)
4300 `(("libxmu" ,libxmu)
4301 ("libxcursor" ,libxcursor)
4302 ("xbitmaps" ,xbitmaps)))
4304 `(("pkg-config" ,pkg-config)))
4305 (home-page "https://www.x.org/wiki/")
4306 (synopsis "Root window parameter setting utility for X server")
4308 "XSetRoot allows you to tailor the appearance of the root window on
4309 a display running X server.")
4310 (license license:x11)))
4313 (define-public xtrans
4321 "mirror://xorg/individual/lib/xtrans-"
4326 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
4327 (build-system gnu-build-system)
4328 (native-inputs `(("pkg-config" ,pkg-config)))
4329 (home-page "https://www.x.org/wiki/")
4330 (synopsis "Xorg Network Transport layer library")
4332 "Xtrans is a library of code that is shared among various X packages to
4333 handle network protocol transport in a modular fashion, allowing a single
4334 place to add new transport types. It is used by the X server, libX11,
4335 libICE, the X font server, and related components.")
4336 (license license:x11)))
4339 (define-public xvinfo
4347 "mirror://xorg/individual/app/xvinfo-"
4352 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
4353 (build-system gnu-build-system)
4355 `(("libxext" ,libxext)
4357 ("libx11" ,libx11)))
4359 `(("pkg-config" ,pkg-config)))
4360 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
4361 (synopsis "Print out X-Video extension adaptor information")
4363 "XVInfo is used to print out the capabilities of any video adaptors
4364 associated with the display that are accessible through the X-Video
4366 (license license:x11)))
4377 "mirror://xorg/individual/app/xwd-"
4382 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
4383 (build-system gnu-build-system)
4386 ("libxkbfile" ,libxkbfile)
4387 ("xorgproto" ,xorgproto)))
4389 `(("pkg-config" ,pkg-config)))
4390 (home-page "https://www.x.org/wiki/")
4391 (synopsis "Dump current contents of X window or screen to file")
4393 "Xwd is used to store window images in a specially formatted dump
4394 file. This file can then be read by various other X utilities for
4395 redisplay, printing, editing, formatting, archiving, image processing,
4396 etc. The target window is selected by clicking the pointer in the
4397 desired window. The keyboard bell is rung once at the beginning of the
4398 dump and twice when the dump is completed.")
4399 (license license:x11)))
4402 (define-public xwininfo
4410 "mirror://xorg/individual/app/xwininfo-"
4415 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
4416 (build-system gnu-build-system)
4418 `(("libx11" ,libx11)
4419 ("xorgproto" ,xorgproto)))
4421 `(("pkg-config" ,pkg-config)))
4422 (home-page "https://www.x.org/wiki/")
4423 (synopsis "Window information utility for X server")
4425 "XWinInfo is used to print out information about windows on an X server.
4426 Various information is displayed depending on which options are selected.")
4427 (license license:x11)))
4438 "mirror://xorg/individual/app/xwud-"
4443 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
4444 (build-system gnu-build-system)
4446 `(("xorgproto" ,xorgproto)
4447 ("libx11" ,libx11)))
4449 `(("pkg-config" ,pkg-config)))
4450 (home-page "https://www.x.org/wiki/")
4451 (synopsis "Display an X window dump from xwd")
4453 "Xwud is used to display in a window an image saved in a specially
4454 formatted dump file, such as produced by xwd.")
4455 (license license:x11)))
4457 (define-public xorg-rgb
4465 "mirror://xorg/individual/app/rgb-"
4470 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4471 (build-system gnu-build-system)
4473 `(("xorgproto" ,xorgproto)))
4475 `(("pkg-config" ,pkg-config)))
4476 (home-page "https://www.x.org/wiki/")
4477 (synopsis "X color name database")
4479 "This package provides the X color name database.")
4480 (license license:x11)))
4482 ;; packages of height 1 in the propagated-inputs tree
4484 (define-public fixesproto
4492 "mirror://xorg/individual/proto/fixesproto-"
4497 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4498 (build-system gnu-build-system)
4500 `(("xorgproto" ,xorgproto)))
4502 `(("pkg-config" ,pkg-config)))
4503 (home-page "https://www.x.org/wiki/")
4504 (synopsis "Xorg FixesProto protocol headers")
4506 "Fixes Extension makes changes to many areas of the protocol to resolve
4507 issues raised by application interaction with core protocol mechanisms that
4508 cannot be adequately worked around on the client side of the wire.")
4509 (license license:x11)
4510 (properties `((superseded . ,xorgproto)))))
4512 (define-public libxdamage
4520 "mirror://xorg/individual/lib/libXdamage-"
4525 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
4526 (build-system gnu-build-system)
4528 ;; These are all in the Requires or Requires.private field of xdamage.pc
4529 `(("libxfixes" ,libxfixes)
4530 ("xorgproto" ,xorgproto)
4531 ("libx11" ,libx11)))
4533 `(("pkg-config" ,pkg-config)))
4534 (home-page "https://www.x.org/wiki/")
4535 (synopsis "Xorg Damage Extension library")
4536 (description "Xorg library for the XDamage extension.")
4537 (license license:x11)))
4540 (define-public libxext
4548 "mirror://xorg/individual/lib/libXext-"
4553 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
4554 (build-system gnu-build-system)
4556 `(("xorgproto" ,xorgproto)))
4558 `(("libxau" ,libxau)
4559 ("libx11" ,libx11)))
4561 `(("pkg-config" ,pkg-config)))
4562 (home-page "https://www.x.org/wiki/")
4563 (synopsis "Xorg Common extensions library")
4565 "Library for common extensions to the X11 protocol.")
4566 (license license:x11)))
4569 (define-public libxinerama
4571 (name "libxinerama")
4577 "mirror://xorg/individual/lib/libXinerama-"
4582 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
4583 (build-system gnu-build-system)
4585 `(("xorgproto" ,xorgproto)))
4587 `(("libxext" ,libxext)
4588 ("libx11" ,libx11)))
4590 `(("pkg-config" ,pkg-config)))
4591 (home-page "https://www.x.org/wiki/")
4592 (synopsis "Xorg Xinerama protocol library")
4593 (description "API for Xinerama extension to X11 protocol.")
4594 (license license:x11)))
4597 (define-public libxp
4605 "mirror://xorg/individual/lib/libXp-"
4610 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
4611 (build-system gnu-build-system)
4613 `(("printproto" ,printproto)))
4615 `(("libx11" ,libx11)
4616 ("libxext" ,libxext)))
4618 `(("pkg-config" ,pkg-config)))
4619 (home-page "https://www.x.org/wiki/")
4620 (synopsis "Xorg Print Client library")
4621 (description "Xorg Print Client library.")
4622 (license license:x11)))
4625 (define-public libxrender
4633 "mirror://xorg/individual/lib/libXrender-"
4638 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
4639 (build-system gnu-build-system)
4641 `(("xorgproto" ,xorgproto)))
4643 `(("libx11" ,libx11)))
4645 `(("pkg-config" ,pkg-config)))
4646 (home-page "https://www.x.org/wiki/")
4647 (synopsis "Xorg Render Extension library")
4648 (description "Library for the Render Extension to the X11 protocol.")
4649 (license license:x11)))
4651 (define-public libxtst
4659 "mirror://xorg/individual/lib/libXtst-"
4664 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
4665 (build-system gnu-build-system)
4668 ("xorgproto" ,xorgproto)))
4670 `(("libx11" ,libx11)))
4672 `(("pkg-config" ,pkg-config)))
4673 (home-page "https://www.x.org/wiki/")
4674 (synopsis "Xorg library for Xtest and Record extensions")
4676 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4679 The XTEST extension is a minimal set of client and server extensions
4680 required to completely test the X11 server with no user intervention. This
4681 extension is not intended to support general journaling and playback of user
4684 The RECORD extension supports the recording and reporting of all core X
4685 protocol and arbitrary X extension protocol.")
4686 (license license:x11)))
4688 (define-public libxv
4696 "mirror://xorg/individual/lib/libXv-"
4701 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
4702 (build-system gnu-build-system)
4704 `(("xorgproto" ,xorgproto)))
4706 `(("libxext" ,libxext)
4707 ("libx11" ,libx11)))
4709 `(("pkg-config" ,pkg-config)))
4710 (home-page "https://www.x.org/wiki/")
4711 (synopsis "Xorg XVideo Extension library")
4712 (description "Library for the X Video Extension to the X11 protocol.")
4713 (license license:x11)))
4715 (define-public mkfontdir
4723 "mirror://xorg/individual/app/mkfontdir-"
4728 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4729 (build-system gnu-build-system)
4732 (modify-phases %standard-phases
4733 (add-after 'install 'wrap-mkfontdir
4734 (lambda* (#:key inputs outputs #:allow-other-keys)
4735 (wrap-program (string-append (assoc-ref outputs "out")
4738 (,(string-append (assoc-ref inputs "mkfontscale")
4742 `(("mkfontscale" ,mkfontscale)))
4744 `(("pkg-config" ,pkg-config)))
4745 (home-page "https://www.x.org/wiki/")
4746 (synopsis "Create an index of X font files in a directory")
4748 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
4749 server core font system. The current implementation is a simple wrapper
4750 script around the mkfontscale program.")
4751 (license license:x11)))
4753 (define-public xproto
4761 "mirror://xorg/individual/proto/xproto-"
4766 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
4767 (build-system gnu-build-system)
4769 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
4771 `(("pkg-config" ,pkg-config)))
4772 (home-page "https://www.x.org/wiki/")
4773 (synopsis "Xorg X11Proto protocol headers")
4775 "XProto provides the headers and specification documents defining
4776 the X Window System Core Protocol, Version 11.
4778 It also includes a number of headers that aren't purely protocol related,
4779 but are depended upon by many other X Window System packages to provide
4780 common definitions and porting layer.")
4781 (license license:x11)
4782 (properties `((superseded . ,xorgproto)))))
4784 ;; packages of height 2 in the propagated-inputs tree
4786 (define-public libice
4794 "mirror://xorg/individual/lib/libICE-"
4799 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
4800 (build-system gnu-build-system)
4802 `(("xorgproto" ,xorgproto)))
4804 `(("libbsd" ,libbsd)
4805 ("xtrans" ,xtrans)))
4807 `(("pkg-config" ,pkg-config)))
4808 (home-page "https://www.x.org/wiki/")
4809 (synopsis "Xorg Inter-Client Exchange library")
4810 (description "Xorg Inter-Client Exchange library.")
4811 (license license:x11)))
4814 (define-public libxau
4822 "mirror://xorg/individual/lib/libXau-"
4827 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
4828 (build-system gnu-build-system)
4830 `(("xorgproto" ,xorgproto)))
4832 `(("pkg-config" ,pkg-config)))
4833 (home-page "https://www.x.org/wiki/")
4834 (synopsis "Xorg Authorization library")
4836 "libXau provides an authorization library for individual access to
4837 an X Window System display.")
4838 (license license:x11)))
4840 (define-public libxfixes
4848 "mirror://xorg/individual/lib/libXfixes-"
4853 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
4854 (build-system gnu-build-system)
4856 `(("xorgproto" ,xorgproto)))
4858 `(("libx11" ,libx11)))
4860 `(("pkg-config" ,pkg-config)))
4861 (home-page "https://www.x.org/wiki/")
4862 (synopsis "Xorg Fixes Extension library")
4863 (description "Library for the XFixes Extension to the X11 protocol.")
4864 (license license:x11)))
4866 (define-public libxfont
4874 "mirror://xorg/individual/lib/libXfont-"
4879 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
4880 (build-system gnu-build-system)
4882 `(("freetype" ,freetype)
4883 ("libfontenc" ,libfontenc)
4884 ("xorgproto" ,xorgproto)))
4887 ("xtrans" ,xtrans)))
4889 `(("pkg-config" ,pkg-config)))
4890 (home-page "https://www.x.org/wiki/")
4891 (synopsis "Xorg Font handling library")
4893 "libXfont provides the core of the legacy X11 font system, handling the
4894 index files (fonts.dir, fonts.alias, fonts.scale), the various font file
4895 formats, and rasterizing them. It is used by the X servers, the X Font
4896 Server (xfs), and some font utilities (bdftopcf for instance), but should
4897 not be used by normal X11 clients. X11 clients access fonts via either the
4898 new API's in libXft, or the legacy API's in libX11.")
4899 (license license:x11)))
4901 (define-public libxfont2
4907 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
4908 version ".tar.bz2"))
4911 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
4913 (define-public libxi
4921 "mirror://xorg/individual/lib/libXi-"
4926 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
4927 (build-system gnu-build-system)
4929 `(("xorgproto" ,xorgproto)
4931 ("libxext" ,libxext)
4932 ("libxfixes" ,libxfixes)))
4934 `(("pkg-config" ,pkg-config)))
4935 (home-page "https://www.x.org/wiki/")
4936 (synopsis "Xorg Input Extension library")
4937 (description "Library for the XInput Extension to the X11 protocol.")
4938 (license license:x11)))
4940 (define-public libxrandr
4948 "mirror://xorg/individual/lib/libXrandr-"
4953 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
4954 (build-system gnu-build-system)
4956 ;; In accordance with xrandr.pc.
4957 `(("libx11" ,libx11)
4958 ("libxext" ,libxext)
4959 ("libxrender" ,libxrender)
4960 ("xorgproto" ,xorgproto)))
4962 `(("pkg-config" ,pkg-config)))
4963 (home-page "https://www.x.org/wiki/")
4964 (synopsis "Xorg Resize and Rotate Extension library")
4966 "Library for the Resize and Rotate Extension to the X11 protocol.")
4967 (license license:x11)))
4969 (define-public libxvmc
4977 "mirror://xorg/individual/lib/libXvMC-"
4982 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
4983 (build-system gnu-build-system)
4985 `(("libxv" ,libxv)))
4987 `(("xorgproto" ,xorgproto)
4988 ("libxext" ,libxext)
4989 ("libx11" ,libx11)))
4991 `(("pkg-config" ,pkg-config)))
4992 (home-page "https://www.x.org/wiki/")
4993 (synopsis "Xorg XvMC library")
4994 (description "Xorg XvMC library.")
4995 (license license:x11)))
4997 (define-public libxxf86vm
5005 "mirror://xorg/individual/lib/libXxf86vm-"
5010 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
5011 (build-system gnu-build-system)
5013 `(("libxext" ,libxext)
5014 ("xorgproto" ,xorgproto)))
5016 `(("libx11" ,libx11)))
5018 `(("pkg-config" ,pkg-config)))
5019 (home-page "https://www.x.org/wiki/")
5020 (synopsis "Xorg XF86 Video Mode Extension library")
5022 "Library for the XFree86 Video Mode Extension Extension to the X11
5024 (license license:x11)))
5027 ;; packages of height 3 in the propagated-inputs tree
5029 (define-public libxcb
5036 (uri (string-append "https://xcb.freedesktop.org/dist/"
5037 "libxcb-" version ".tar.bz2"))
5040 "1ahxhmdqp4bhb90zmc275rmf5wixqra4bnw9pqnzyl1w3598g30q"))))
5041 (build-system gnu-build-system)
5043 `(("libpthread-stubs" ,libpthread-stubs)
5045 ("libxdmcp" ,libxdmcp)))
5047 `(("xcb-proto" ,xcb-proto)
5048 ("libxslt" ,libxslt)))
5050 `(("pkg-config" ,pkg-config)
5051 ("python" ,python-minimal-wrapper)))
5053 `(#:configure-flags '("--enable-xkb")))
5054 (home-page "https://xcb.freedesktop.org/")
5055 (synopsis "The X C Binding (XCB) library")
5057 "libxcb provides an interface to the X Window System protocol,
5058 which replaces the current Xlib interface. It has several advantages
5059 over Xlib, including:
5061 - size: small, simple library, and lower memory footprint;
5063 - latency hiding: batch several requests and wait for the replies later;
5065 - direct protocol access: interface and protocol correspond exactly;
5067 - proven thread support: transparently access XCB from multiple threads;
5069 - easy extension implementation: interfaces auto-generated from XML-XCB.")
5070 (license license:x11)))
5073 (define-public xorg-server
5075 (name "xorg-server")
5081 "mirror://xorg/individual/xserver/"
5082 "xorg-server-" version ".tar.bz2"))
5085 "18bfl04ihw1jr3h0fs522nnxxq5ixjay77y9dcymnkzk23q8cndx"))
5089 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5090 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5094 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5095 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5098 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
5099 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
5100 (build-system gnu-build-system)
5102 `(("libpciaccess" ,libpciaccess)
5105 ("xorgproto" ,xorgproto)))
5110 ("libepoxy" ,libepoxy)
5111 ("libgcrypt" ,libgcrypt)
5114 ("libxdmcp" ,libxdmcp)
5115 ("libxfixes" ,libxfixes)
5116 ("libxfont2" ,libxfont2)
5117 ("libxkbfile" ,libxkbfile)
5118 ("libxrender" ,libxrender)
5119 ("libxres" ,libxres)
5120 ("libxshmfence" ,libxshmfence)
5123 ("xkbcomp" ,xkbcomp)
5124 ("xkeyboard-config" ,xkeyboard-config)
5127 ;; Inputs for Xephyr
5128 ("xcb-util" ,xcb-util)
5129 ("xcb-util-image" ,xcb-util-image)
5130 ("xcb-util-keysyms" ,xcb-util-keysyms)
5131 ("xcb-util-renderutil" ,xcb-util-renderutil)
5132 ("xcb-util-wm" ,xcb-util-wm)))
5134 `(("python" ,python-wrapper)
5135 ("pkg-config" ,pkg-config)))
5137 `(#:parallel-tests? #f
5139 (list (string-append "--with-xkb-path="
5140 (assoc-ref %build-inputs "xkeyboard-config")
5142 (string-append "--with-xkb-output="
5143 "/tmp") ; FIXME: This is a bit doubtful; where should
5144 ; the compiled keyboard maps go?
5145 (string-append "--with-xkb-bin-directory="
5146 (assoc-ref %build-inputs "xkbcomp")
5148 ;; By default, it ends up with invalid '${prefix}/...', causes:
5149 ;; _FontTransOpen: Unable to Parse address ${prefix}/share/...
5150 ;; It's not used anyway, so set it to empty.
5151 "--with-default-font-path="
5153 ;; The default is to use "uname -srm", which captures the kernel
5154 ;; version and makes builds non-reproducible.
5155 "--with-os-name=GNU"
5157 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5160 ;; For the log file, etc.
5161 "--localstatedir=/var"
5167 (modify-phases %standard-phases
5168 (add-before 'configure 'pre-configure
5170 (substitute* (find-files "." "\\.c$")
5171 (("/bin/sh") (which "sh")))
5173 ;; Don't try to 'mkdir /var'.
5174 (substitute* "hw/xfree86/Makefile.in"
5175 (("\\$\\(MKDIR_P\\).*logdir.*")
5178 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5180 (substitute* "configure"
5181 (("^BUILD_DATE=.*$")
5182 "BUILD_DATE=19700101\n")
5183 (("^BUILD_TIME=.*$")
5184 "BUILD_TIME=000001\n"))
5187 (home-page "https://www.x.org/wiki/")
5188 (synopsis "Xorg implementation of the X Window System")
5190 "This package provides the Xorg X server itself.
5191 The X server accepts requests from client programs to create windows, which
5192 are (normally rectangular) 'virtual screens' that the client program can
5195 Windows are then composed on the actual screen by the X server (or by a
5196 separate composite manager) as directed by the window manager, which usually
5197 communicates with the user via graphical controls such as buttons and
5198 draggable titlebars and borders.")
5199 (license license:x11)))
5201 ;; This package is intended to be used when building GTK+.
5202 ;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5203 ;; packages with the same name and version.
5204 (define-public xorg-server-for-tests
5207 (inherit xorg-server)
5210 (inherit (package-source xorg-server))
5212 "mirror://xorg/individual/xserver/"
5213 "xorg-server-" version ".tar.bz2"))
5216 "17dc3g8cc55nbkx3np64dsz04n621dnzjmcc9wys0xbyyd1q47d8")))))))
5218 (define-public xorg-server-xwayland
5220 (inherit xorg-server)
5221 (name "xorg-server-xwayland")
5223 `(("wayland" ,wayland)
5224 ("wayland-protocols" ,wayland-protocols)
5225 ,@(package-inputs xorg-server)))
5227 (substitute-keyword-arguments (package-arguments xorg-server)
5228 ((#:configure-flags flags)
5229 `(cons* "--enable-xwayland" "--disable-xorg"
5230 "--disable-docs" "--disable-devel-docs"
5231 "--disable-xvfb" "--disable-xnest"
5232 "--disable-xquartz" "--disable-xwin"
5234 (synopsis "Xorg server with wayland backend")))
5237 ;; packages of height 4 in the propagated-inputs tree
5239 (define-public libx11
5247 "mirror://xorg/individual/lib/libX11-"
5252 "1mbkwhhprhf49s2iwx7kiliprsdvd690zk44x3h53ql9q52si2dj"))))
5253 (build-system gnu-build-system)
5255 "doc")) ;8 MiB of man pages + XML
5257 '(#:configure-flags (list (string-append "--mandir="
5258 (assoc-ref %outputs "doc")
5261 `(("xorgproto" ,xorgproto)
5262 ("libxcb" ,libxcb)))
5264 `(("xtrans" ,xtrans)))
5266 `(("pkg-config" ,pkg-config)))
5267 (home-page "https://www.x.org/wiki/")
5268 (synopsis "Xorg Core X11 protocol client library")
5269 (description "Xorg Core X11 protocol client library.")
5270 (license license:x11)))
5272 ;; packages of height 5 in the propagated-inputs tree
5274 (define-public libxcursor
5282 "mirror://xorg/individual/lib/libXcursor-"
5287 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
5288 (build-system gnu-build-system)
5290 `(("libx11" ,libx11)
5291 ("libxrender" ,libxrender)
5292 ("libxfixes" ,libxfixes)
5293 ("xorgproto" ,xorgproto)))
5295 `(("pkg-config" ,pkg-config)))
5296 ;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so
5297 ;; libXcursor finds cursors installed into a profile. If we solve bugs
5298 ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix
5299 ;; this with a search-path as follows:
5301 ;; (native-search-paths
5302 ;; (list (search-path-specification
5303 ;; (variable "XCURSOR_PATH")
5304 ;; (files '("share/icons")))))
5305 (home-page "https://www.x.org/wiki/")
5306 (synopsis "Xorg Cursor management library")
5307 (description "Xorg Cursor management library.")
5308 (license license:x11)))
5310 (define-public libxt
5318 "mirror://xorg/individual/lib/libXt-"
5323 "0cbqlyssr8aia88c8i7z59z9d0kp3p2hp6683xhz9ndyv8qza7dk"))
5324 (patches (search-patches "libxt-guix-search-paths.patch"))))
5325 (build-system gnu-build-system)
5327 "doc")) ;2 MiB of man pages + XML
5329 '(#:configure-flags (list (string-append "--mandir="
5330 (assoc-ref %outputs "doc")
5333 `(("libx11" ,libx11)
5337 `(("libx11" ,libx11)))
5339 `(("pkg-config" ,pkg-config)))
5340 (home-page "https://www.x.org/wiki/")
5341 (synopsis "Xorg XToolkit Intrinsics library")
5342 (description "Xorg XToolkit Intrinsics library.")
5343 (license license:x11)))
5346 (define-public libxaw
5354 "mirror://xorg/individual/lib/libXaw-"
5359 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
5360 (build-system gnu-build-system)
5362 `(("libxext" ,libxext)
5367 `(("xorgproto" ,xorgproto)))
5369 `(("pkg-config" ,pkg-config)))
5370 (home-page "https://www.x.org/wiki/")
5371 (synopsis "Xorg Xaw library")
5373 "Xaw is the X Athena Widget Set based on the X Toolkit
5374 Intrinsics (Xt) Library.")
5375 (license license:x11)))
5385 "mirror://xorg/individual/app/" name "-"
5390 "1ms5cj1w3g26zg6bxdv1j9hl0pxr4300qnv003cz1q3cl7ffljb4"))))
5391 (build-system gnu-build-system)
5395 ("libxext" ,libxext)
5396 ("xorgproto" ,xorgproto)))
5399 ("pkg-config" ,pkg-config)))
5400 (home-page "https://www.x.org/wiki/")
5401 (synopsis "Tab Window Manager for the X Window System")
5402 (description "Twm is a window manager for the X Window System.
5403 It provides titlebars, shaped windows, several forms of icon management,
5404 user-defined macro functions, click-to-type and pointer-driven
5405 keyboard focus, and user-specified key and pointer button bindings.")
5406 (license license:x11)))
5408 (define-public xcb-util
5414 (uri (string-append "mirror://xorg/individual/xcb/"
5415 name "-" version ".tar.bz2"))
5418 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
5419 (build-system gnu-build-system)
5421 `(("libxcb" ,libxcb)))
5423 `(("pkg-config" ,pkg-config)))
5424 (home-page "https://cgit.freedesktop.org/xcb/util/")
5425 (synopsis "Core XCB utility functions")
5427 "The XCB util module provides a number of libraries which sit on
5428 top of libxcb, the core X protocol library, and some of the extension
5429 libraries. These experimental libraries provide convenience functions
5430 and interfaces which make the raw X protocol more usable. Some of the
5431 libraries also provide client-side code which is not strictly part of
5432 the X protocol but which has traditionally been provided by Xlib.
5434 The XCB util module provides the following libraries:
5436 - aux: Convenient access to connection setup and some core requests.
5438 - atom: Standard core X atom constants and atom caching.
5440 - event: Some utilities that have little to do with events any more.")
5441 (license license:x11)))
5444 (define-public xcb-util-cursor
5446 (name "xcb-util-cursor")
5450 (uri (string-append "https://xcb.freedesktop.org/dist/"
5451 "xcb-util-cursor-" version ".tar.bz2"))
5454 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
5455 (build-system gnu-build-system)
5458 ("pkg-config" ,pkg-config)))
5460 `(("libxcb" ,libxcb)))
5462 `(("xcb-util-renderutil" ,xcb-util-renderutil)
5463 ("xcb-util-image" ,xcb-util-image)))
5464 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
5465 (synopsis "Port of libxcursor")
5466 (description "XCB-util-cursor is a port of libxcursor.")
5468 ; expat license with added clause regarding advertising
5469 (license:non-copyleft
5471 "See COPYING in the distribution."))))
5473 (define-public xcb-util-errors
5474 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5477 (name "xcb-util-errors")
5478 (version (git-version "1.0" revision commit))
5482 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5485 (file-name (git-file-name name version))
5488 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5489 (build-system gnu-build-system)
5492 `(("util-macros" ,util-macros)
5493 ("xcb-proto" ,xcb-proto)))
5495 `(("libxcb" ,libxcb)))
5497 `(("autoconf" ,autoconf)
5498 ("automake" ,automake)
5499 ("libtool" ,libtool)
5500 ("python-2" ,python-2)
5501 ("pkg-config" ,pkg-config)))
5504 (modify-phases %standard-phases
5507 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5508 ;; would try to run ./configure and fail due to unpatched
5510 (invoke "autoreconf" "-v" "--install"))))))
5511 (home-page "https://cgit.freedesktop.org/xcb/util-errors/")
5512 (synopsis "XCB helper library for printing information about X11 errors")
5514 "The XCB util module provides a number of libraries which sit on
5515 top of libxcb, the core X protocol library, and some of the extension
5516 libraries. These experimental libraries provide convenience functions
5517 and interfaces which make the raw X protocol more usable. Some of the
5518 libraries also provide client-side code which is not strictly part of
5519 the X protocol but which has traditionally been provided by Xlib.
5521 The XCB util-errors module provides a utility library that gives human
5522 readable names to error codes, event codes, and also to major and minor
5524 (license license:x11))))
5526 (define-public xcb-util-image
5528 (name "xcb-util-image")
5532 (uri (string-append "mirror://xorg/individual/xcb/"
5533 name "-" version ".tar.bz2"))
5536 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
5537 (build-system gnu-build-system)
5539 `(("libxcb" ,libxcb)))
5541 `(("xcb-util" ,xcb-util)))
5543 `(("pkg-config" ,pkg-config)))
5544 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
5545 (synopsis "XCB port of Xlib's XImage and XShmImage")
5547 "The XCB util module provides a number of libraries which sit on
5548 top of libxcb, the core X protocol library, and some of the extension
5549 libraries. These experimental libraries provide convenience functions
5550 and interfaces which make the raw X protocol more usable. Some of the
5551 libraries also provide client-side code which is not strictly part of
5552 the X protocol but which has traditionally been provided by Xlib.
5554 The XCB util-image module provides the following library:
5556 - image: Port of Xlib's XImage and XShmImage functions.")
5557 (license license:x11)))
5560 (define-public xcb-util-keysyms
5562 (name "xcb-util-keysyms")
5566 (uri (string-append "mirror://xorg/individual/xcb/"
5567 name "-" version ".tar.bz2"))
5570 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
5571 (build-system gnu-build-system)
5573 `(("libxcb" ,libxcb)))
5575 `(("pkg-config" ,pkg-config)))
5576 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
5577 (synopsis "Standard X constants and conversion to/from keycodes")
5579 "The XCB util module provides a number of libraries which sit on
5580 top of libxcb, the core X protocol library, and some of the extension
5581 libraries. These experimental libraries provide convenience functions
5582 and interfaces which make the raw X protocol more usable. Some of the
5583 libraries also provide client-side code which is not strictly part of
5584 the X protocol but which has traditionally been provided by Xlib.
5586 The XCB util-keysyms module provides the following library:
5588 - keysyms: Standard X key constants and conversion to/from keycodes.")
5589 (license license:x11)))
5592 (define-public xcb-util-renderutil
5594 (name "xcb-util-renderutil")
5598 (uri (string-append "mirror://xorg/individual/xcb/"
5599 name "-" version ".tar.bz2"))
5602 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
5603 (build-system gnu-build-system)
5605 `(("libxcb" ,libxcb)))
5607 `(("pkg-config" ,pkg-config)))
5608 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
5609 (synopsis "Convenience functions for the Render extension")
5611 "The XCB util module provides a number of libraries which sit on
5612 top of libxcb, the core X protocol library, and some of the extension
5613 libraries. These experimental libraries provide convenience functions
5614 and interfaces which make the raw X protocol more usable. Some of the
5615 libraries also provide client-side code which is not strictly part of
5616 the X protocol but which has traditionally been provided by Xlib.
5618 The XCB util-renderutil module provides the following library:
5620 - renderutil: Convenience functions for the Render extension.")
5621 (license license:x11)))
5624 (define-public xcb-util-wm
5626 (name "xcb-util-wm")
5630 (uri (string-append "mirror://xorg/individual/xcb/"
5631 name "-" version ".tar.bz2"))
5634 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
5635 (build-system gnu-build-system)
5637 `(("libxcb" ,libxcb)))
5640 ("pkg-config" ,pkg-config)))
5641 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
5642 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
5644 "The XCB util modules provides a number of libraries which sit on
5645 top of libxcb, the core X protocol library, and some of the extension
5646 libraries. These experimental libraries provide convenience functions
5647 and interfaces which make the raw X protocol more usable. Some of the
5648 libraries also provide client-side code which is not strictly part of
5649 the X protocol but which has traditionally been provided by Xlib.
5651 The XCB util-wm module provides the following libraries:
5653 - ewmh: Both client and window-manager helpers for EWMH.
5655 - icccm: Both client and window-manager helpers for ICCCM.")
5656 (license license:x11)))
5658 (define-public xinit
5664 (uri (string-append "mirror://xorg/individual/app/xinit-"
5665 version ".tar.bz2"))
5668 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
5669 (build-system gnu-build-system)
5671 `(("xorgproto" ,xorgproto)
5672 ("libx11" ,libx11)))
5674 `(("pkg-config" ,pkg-config)))
5676 `(("xauth" ,xauth)))
5677 (home-page "https://www.x.org/")
5678 (synopsis "Commands to start the X Window server")
5680 "The xinit program is used to start the X Window System server and a
5681 first client program on systems that are not using a display manager such as
5682 xdm. This package also provides the @code{startx} command, which provides a
5683 user-friendly mechanism to start the X server.")
5684 (license license:x11)))
5686 ;; package outside the x.org system proper of height 5
5688 (define-public libxaw3d
5696 "mirror://xorg/individual/lib/libXaw3d-"
5701 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
5702 (build-system gnu-build-system)
5704 `(("libxext" ,libxext)
5708 `(("libx11" ,libx11)))
5710 `(("pkg-config" ,pkg-config)))
5711 (home-page "https://www.x.org/wiki/")
5712 (synopsis "Xorg Xaw3d library")
5714 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5715 Intrinsics (Xt) Library.")
5716 (license license:x11)))
5718 (define-public xclock
5725 (uri (string-append "https://www.x.org/releases/individual/app/"
5726 "xclock-" version ".tar.bz2"))
5728 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
5729 (build-system gnu-build-system)
5732 (list (string-append "--with-appdefaultdir="
5733 %output ,%app-defaults-dir))))
5735 `(("libxmu" ,libxmu)
5738 ("libxrender" ,libxrender)
5740 ("libxkbfile" ,libxkbfile)))
5742 `(("pkg-config" ,pkg-config)))
5743 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
5744 (synopsis "Analog / digital clock for X")
5745 (description "The xclock program displays the time in analog or digital
5747 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
5757 "mirror://xorg/individual/app/" name "-"
5762 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
5763 (build-system gnu-build-system)
5766 (list (string-append "--with-appdefaultdir="
5767 %output ,%app-defaults-dir))))
5769 `(("libxaw" ,libxaw)))
5771 `(("pkg-config" ,pkg-config)))
5772 (home-page "https://www.x.org/wiki/")
5773 (synopsis "Display or capture a magnified part of a X11 screen")
5774 (description "Xmag displays and captures a magnified snapshot of a portion
5776 (license license:x11)))
5778 (define-public xmessage
5786 "mirror://xorg/individual/app/" name "-"
5791 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
5792 (build-system gnu-build-system)
5795 (list (string-append "--with-appdefaultdir="
5796 %output ,%app-defaults-dir))))
5798 `(("libxaw" ,libxaw)))
5800 `(("pkg-config" ,pkg-config)))
5801 (home-page "https://www.x.org/wiki/")
5802 (synopsis "Displays a message or query in a window")
5804 "Xmessage displays a message or query in a window. The user can click
5805 on a button to dismiss it or can select one of several buttons
5806 to answer a question. Xmessage can also exit after a specified time.")
5807 (license license:x11)))
5809 (define-public xterm
5816 (string-append "http://invisible-mirror.net/archives/xterm/"
5817 "xterm-" version ".tgz")
5818 (string-append "ftp://ftp.invisible-island.net/xterm/"
5819 "xterm-" version ".tgz")))
5822 "05kf586my4irrzz2bxgmwjdvynyrg9ybhvfqmx29g70w4888l2kn"))))
5823 (build-system gnu-build-system)
5825 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
5826 "--enable-i18n" "--enable-doublechars"
5827 "--enable-luit" "--enable-mini-luit")
5830 `(("pkg-config" ,pkg-config)))
5834 ("fontconfig" ,fontconfig)
5835 ("freetype" ,freetype)
5836 ("ncurses" ,ncurses)
5840 ("libXext" ,libxext)
5842 ("xorgproto" ,xorgproto)
5843 ("libXaw" ,libxaw)))
5844 (home-page "https://invisible-island.net/xterm/")
5845 (synopsis "Terminal emulator for the X Window System")
5847 "The xterm program is a terminal emulator for the X Window System. It
5848 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
5849 programs that cannot use the window system directly.")
5850 (license license:x11)))
5852 (define-public perl-x11-xcb
5854 (name "perl-x11-xcb")
5859 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
5860 "X11-XCB-" version ".tar.gz"))
5863 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
5864 (build-system perl-build-system)
5866 '(;; Disable parallel build to prevent a race condition.
5867 #:parallel-build? #f
5869 (modify-phases %standard-phases
5870 (add-before 'configure 'set-perl-search-path
5873 (string-append (getcwd) ":"
5874 (getenv "PERL5LIB")))
5876 (add-before 'build 'patch-Makefile
5877 (lambda* (#:key inputs #:allow-other-keys)
5878 (substitute* "Makefile"
5879 ;; XXX: Without this hack, attempts at using XCB.so fails with
5880 ;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
5882 (string-append "LDDLFLAGS = "
5883 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
5885 ;; Tests require a running X11 server.
5888 `(("perl-extutils-depends" ,perl-extutils-depends)
5889 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
5890 ("perl-module-install" ,perl-module-install)
5891 ("perl-test-deep" ,perl-test-deep)
5892 ("perl-test-exception" ,perl-test-exception)))
5894 `(("perl-data-dump" ,perl-data-dump)
5895 ("perl-mouse" ,perl-mouse)
5896 ("perl-mousex-nativetraits" ,perl-mousex-nativetraits)
5897 ("perl-try-tiny" ,perl-try-tiny)
5898 ("perl-xml-descent" ,perl-xml-descent)
5899 ("perl-xml-simple" ,perl-xml-simple)
5900 ("perl-xs-object-magic" ,perl-xs-object-magic)))
5902 `(("libxcb" ,libxcb)
5903 ("xcb-proto" ,xcb-proto)
5904 ("xcb-util" ,xcb-util)
5905 ("xcb-util-wm" ,xcb-util-wm)))
5906 (home-page "https://metacpan.org/release/X11-XCB")
5907 (synopsis "Perl bindings for libxcb")
5909 "These bindings wrap @code{libxcb} (a C library to speak with X11,
5910 in many cases better than @code{Xlib}), and provides an object oriented
5911 interface to its methods (using @code{Mouse}).")
5912 (license license:perl-license)))
5914 (define-public perl-x11-protocol
5916 (name "perl-x11-protocol")
5921 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
5925 "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny"))))
5926 (build-system perl-build-system)
5927 (arguments '(#:tests? #f)) ;tests require a running x server
5928 (synopsis "Raw interface to X Window System servers")
5930 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
5931 perl programs to display windows and graphics on X11 servers.")
5932 (home-page "https://metacpan.org/release/X11-Protocol")
5933 ;; From the package README: "you can redistribute and/or modify it under
5934 ;; the same terms as Perl itself. (As an exception, the file
5935 ;; Keysyms.pm,which is derived from a file in the standard X11
5936 ;; distribution, has another, less restrictive copying policy, as do some
5937 ;; of the extension modules in the directory Protocol/Ext: see those files
5939 (license license:perl-license)))
5941 (define-public perl-x11-protocol-other
5943 (name "perl-x11-protocol-other")
5949 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
5952 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
5953 (build-system perl-build-system)
5955 `(("perl-encode-hanextra" ,perl-encode-hanextra)
5956 ("perl-module-util" ,perl-module-util)))
5958 `(("perl-x11-protocol" ,perl-x11-protocol)))
5959 (home-page "https://metacpan.org/release/X11-Protocol-Other")
5960 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
5962 "@code{X11::Protocol::Other} contains window manager related functions for
5963 use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
5964 Conventions Manual) and some of the @dfn{EWMH}
5965 (Extended Window Manager Hints).")
5966 (license license:gpl3+)))
5968 (define-public xcompmgr
5974 ;; There's no current tarball.
5977 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
5978 (commit (string-append "xcompmgr-" version))))
5980 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
5981 (file-name (git-file-name name version))))
5982 (build-system gnu-build-system)
5984 `(#:phases (modify-phases %standard-phases
5985 (add-after 'unpack 'autogen
5987 (setenv "NOCONFIGURE" "t")
5988 (invoke "sh" "autogen.sh"))))))
5990 `(("pkg-config" ,pkg-config)
5991 ("autoconf" ,autoconf)
5992 ("automake" ,automake)))
5994 `(("libX11" ,libx11)
5995 ("libXext" ,libxext)
5996 ("libXcomposite" ,libxcomposite)
5997 ("libXfixes" ,libxfixes)
5998 ("libXdamage" ,libxdamage)
5999 ("libXrender" ,libxrender)))
6000 (synopsis "X Compositing manager using RENDER")
6001 (description "xcompmgr is a sample compositing manager for X servers
6002 supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6003 basic eye-candy effects.")
6004 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
6005 (license (license:x11-style
6006 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
6015 (uri (string-append "https://www.xpra.org/src/xpra-"
6019 "1ys35lj28903alccks9p055psy1fsk1nxi8ncchvw8bfxkkkvbys"))))
6020 (build-system python-build-system)
6021 (inputs `(("ffmpeg" ,ffmpeg)
6023 ("gtk+-2" ,gtk+-2) ;; no full GTK3 support yet
6024 ("libjpeg" ,libjpeg)
6027 ("libx264" ,libx264)
6028 ("libxcomposite" ,libxcomposite)
6029 ("libxdamage" ,libxdamage)
6031 ("libxkbfile" ,libxkbfile)
6032 ("libxrandr" ,libxrandr)
6033 ("libxtst" ,libxtst)
6035 ("python2-cryptography" ,python2-cryptography)
6036 ("python2-dbus" ,python2-dbus)
6037 ("python2-lz4" ,python2-lz4)
6038 ("python2-lzo" ,python2-lzo)
6039 ("python2-netifaces" ,python2-netifaces)
6040 ("python2-numpy" ,python2-numpy)
6041 ("python2-pillow" ,python2-pillow)
6042 ("python2-pycairo" ,python2-pycairo)
6043 ("python2-pycrypto" ,python2-pycrypto)
6044 ("python2-pygobject" ,python2-pygobject)
6045 ("python2-pyopengl" ,python2-pyopengl)
6046 ("python2-pyopengl-accelerate" ,python2-pyopengl-accelerate)
6047 ("python2-pygtk" ,python2-pygtk)
6048 ("python2-rencode" ,python2-rencode)
6049 ("xorg-server" ,xorg-server)))
6050 (native-inputs `(("pkg-config" ,pkg-config)
6051 ("python2-cython" ,python2-cython)))
6053 `(#:python ,python-2 ;; no full Python 3 support yet
6054 #:configure-flags '("--with-tests"
6055 "--with-bundle_tests"
6056 "--without-Xdummy" ;; We use Xvfb instead.
6057 "--without-Xdummy_wrapper"
6059 #:modules ((guix build python-build-system)
6063 (modify-phases %standard-phases
6065 (delete 'check) ;; There's no test suite at the moment.
6067 ;; Remove BUILD_CPU, BUILD_DATE, BUILD_TIME from build info to
6068 ;; prevent deterministic issues. Also correct some directories and
6069 ;; use the xvfb binary instead of xorg-server (which doesn't seem to
6071 (add-before 'install 'remove-timestamps&set-file-names
6072 (lambda* (#:key inputs outputs #:allow-other-keys)
6073 (substitute* "add_build_info.py"
6074 ((".*\"BUILD_CPU\", get_cpuinfo.*") ""))
6075 (substitute* "add_build_info.py"
6076 ((".*\"BUILD_DATE\", datetime.*") ""))
6077 (substitute* "add_build_info.py"
6078 ((".*\"BUILD_TIME\", datetime.*") ""))
6079 (substitute* "setup.py"
6081 (string-append (assoc-ref outputs "out")
6083 (substitute* "setup.py"
6085 (string-append (assoc-ref outputs "out") "/lib/")))
6086 ;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
6087 (substitute* "./xpra/scripts/config.py"
6088 ((":.*join.*xvfb.*")
6089 (string-append ": \"" (assoc-ref inputs "xorg-server")
6090 "/bin/Xvfb +extension Composite"
6091 " -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
6092 " tcp -nolisten local -noreset -auth"
6093 " $XAUTHORITY\",\n")))
6094 (substitute* "./xpra/scripts/config.py"
6095 (("socket-dir.*: \"\",")
6096 "socket-dir\" : \"~/.xpra\","))
6098 (home-page "https://www.xpra.org/")
6099 (synopsis "Remote access to individual applications or full desktops")
6100 (description "Xpra is a persistent remote display server and client for
6101 forwarding applications and desktop screens. It gives you remote access to
6102 individual applications or full desktops. On X11, it is also known as
6103 ``@command{screen} for X11'': it allows you to run programs, usually on a
6104 remote host, direct their display to your local machine, and then to
6105 disconnect from these programs and reconnect from the same or another machine,
6106 without losing any state. It can also be used to forward full desktops from
6107 X11 servers, Windows, or macOS.")
6108 (license license:gpl2+)))
6117 (uri (string-append "https://github.com/uim/uim/releases/download/"
6118 version "/uim-" version ".tar.bz2"))
6121 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
6122 (build-system gnu-build-system)
6125 ("libedit" ,libedit)
6127 ("m17n-lib" ,m17n-lib)))
6129 `(("emacs" ,emacs-minimal)
6130 ("intltool" ,intltool)
6131 ("pkg-config" ,pkg-config)))
6133 `(#:modules ((guix build gnu-build-system)
6135 (guix build emacs-utils))
6136 #:imported-modules (,@%gnu-build-system-modules
6137 (guix build emacs-utils))
6139 (list "--with-anthy-utf8"
6140 (string-append "--with-lispdir=" %output
6141 "/share/emacs/site-lisp/guix.d")
6142 ;; Set proper runpath
6143 (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
6145 (modify-phases %standard-phases
6146 ;; Set path of uim-el-agent and uim-el-helper-agent executables
6147 (add-after 'configure 'configure-uim-el
6148 (lambda* (#:key outputs #:allow-other-keys)
6149 (substitute* "emacs/uim-var.el"
6150 (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable)
6151 (string-append "\"" (assoc-ref outputs "out")
6152 "/bin/" executable "\"")))
6154 ;; Generate emacs autoloads for uim.el
6155 (add-after 'install 'make-autoloads
6156 (lambda* (#:key outputs #:allow-other-keys)
6157 (emacs-generate-autoloads
6158 ,name (string-append (assoc-ref outputs "out")
6159 "/share/emacs/site-lisp"))
6161 (home-page "https://github.com/uim/uim")
6162 (synopsis "Multilingual input method framework")
6163 (description "Uim is a multilingual input method library and environment.
6164 It provides a simple, easily extensible and high code-quality input method
6165 development platform, and useful input method environment for users of desktop
6166 and embedded platforms.")
6167 (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README)
6168 license:gpl2+ ; scm/pinyin-big5.scm
6169 license:gpl3+ ; scm/elatin-rules.cm
6170 license:public-domain ; scm/input-parse.scm, scm/match.scm
6171 ;; gtk2/toolbar/eggtrayicon.{ch},
6172 ;; qt3/chardict/kseparator.{cpp,h},
6173 ;; qt3/pref/kseparator.{cpp,h}
6175 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6179 (define-public uim-gtk
6186 ,@(package-inputs uim)))
6187 (synopsis "Multilingual input method framework (GTK+ support)")))
6189 (define-public uim-qt
6195 ("qtx11extras" ,qtx11extras)
6196 ,@(package-inputs uim)))
6198 (substitute-keyword-arguments (package-arguments uim)
6199 ((#:configure-flags configure-flags)
6200 (append configure-flags (list "--with-qt5-immodule"
6202 (synopsis "Multilingual input method framework (Qt support)")))
6204 (define-public keynav
6207 (version "0.20110708.0")
6212 "http://http.debian.net/debian/pool/main/k/keynav/keynav_"
6213 version ".orig.tar.gz"))
6214 (file-name (string-append name "-" version ".tar.gz"))
6217 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6218 (build-system gnu-build-system)
6223 ("libxext" ,libxext)
6224 ("libxinerama" ,libxinerama)
6225 ("libxtst" ,libxtst)
6226 ("xdotool" ,xdotool)))
6228 `(("pkg-config" ,pkg-config)))
6230 `(#:tests? #f ;No tests.
6232 (modify-phases %standard-phases
6233 (add-after 'unpack 'setenv
6235 (setenv "CC" (which "gcc"))
6237 (add-after 'unpack 'patch-keynav
6239 (substitute* "keynav.c"
6240 (("xdo_symbol_map") "xdo_get_symbol_map")
6241 (("xdo_window_setclass") "xdo_set_window_class")
6242 (("xdo_window_get_active") "xdo_get_window_at_mouse")
6243 (("xdo_click") "xdo_click_window")
6244 (("xdo_mouseup") "xdo_mouse_up")
6245 (("xdo_mousedown") "xdo_mouse_down")
6246 (("xdo_mousemove") "xdo_move_mouse")
6247 (("xdo_mousemove_relative") "xdo_move_mouse_relative")
6248 (("xdo_mouselocation") "xdo_get_mouse_location")
6249 (("xdo_mouse_wait_for_move_to") "xdo_wait_for_mouse_move_to")
6250 (("xdo_keysequence_up") "xdo_send_keysequence_window_up")
6251 (("xdo_keysequence_down") "xdo_send_keysequence_window_down"))
6255 (lambda* (#:key outputs #:allow-other-keys)
6256 (let ((out (assoc-ref outputs "out")))
6257 (install-file "keynav" (string-append out "/bin"))
6258 (install-file "keynavrc" (string-append out "/etc")))
6260 (home-page "https://www.semicomplete.com/projects/keynav/")
6261 (synopsis "Keyboard-driven mouse cursor mover")
6263 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6264 cursor to any point on the screen with a few key strokes. It also simulates
6265 mouse click. You can do everything mouse can do with a keyboard.")
6266 (license license:bsd-3)))
6268 (define-public transset-df
6270 (name "transset-df")
6274 (uri (string-append "http://forchheimer.se/" name "/" name "-" version
6278 "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
6279 (build-system gnu-build-system)
6282 (modify-phases %standard-phases
6283 (add-after 'unpack 'setenv
6285 (setenv "CC" (which "gcc"))
6290 (lambda* (#:key outputs #:allow-other-keys)
6291 (let* ((out (assoc-ref outputs "out"))
6292 (bin (string-append out "/bin")))
6293 (install-file "transset-df" bin)
6296 `(("pkg-config" ,pkg-config)))
6297 (inputs `(("libxcomposite" ,libxcomposite)
6298 ("libxdamager" ,libxdamage)
6299 ("libxrender" ,libxrender)))
6300 (synopsis "Set the transparency of X11 windows")
6301 (description "The @command{transset-df} command allows you to set the
6302 opacity of X11 windows. This patched version of X.Org's @command{transset}
6303 adds functionality, including: selecting window by clicking (as transset),
6304 selecting windows by pointing select actual focused X11 window, selecting by
6305 window name or id, forcing toggle, increase or decrease opacity.")
6306 (home-page "http://forchheimer.se/transset-df/")
6307 (license license:x11)))
6309 (define-public bdfresize
6314 ;; Former upstream at
6315 ;; <http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/>
6316 ;; vanished so use Debian, which in practice is the new
6320 (url "https://salsa.debian.org/debian/bdfresize.git")
6321 (commit (string-append "debian/" version))))
6324 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6325 (modules '((guix build utils)))
6328 (for-each make-file-writable (find-files "."))
6330 ;; Remove broken declaration.
6331 (substitute* "charresize.c"
6332 (("char\t\\*malloc\\(\\);")
6335 ;; Remove old configury that doesn't support modern
6336 ;; command-line options, new architectures, etc.
6337 (for-each delete-file
6338 '("configure" "install-sh"
6339 "missing" "mkinstalldirs"))
6341 (file-name (git-file-name name version))))
6342 (build-system gnu-build-system)
6344 `(("pkg-config" ,pkg-config)
6345 ("autoconf" ,autoconf)
6346 ("automake" ,automake)))
6347 (synopsis "Resize fonts in the BDF format")
6349 "This package provides @command{bdfresize}, a command to magnify or
6350 reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6352 (home-page "https://tracker.debian.org/pkg/bdfresize")
6353 (license license:gpl2+)) )
6355 (define-public console-setup
6357 (name "console-setup")
6363 (url "https://salsa.debian.org/installer-team/console-setup.git")
6366 (base32 "0fkabv05j5dj10mfrpjyvv7lnxl9qaqkbjhwj72r18i9i4019vgh"))
6367 (file-name (git-file-name name version))))
6368 (build-system gnu-build-system)
6371 (let ((bash (assoc-ref %build-inputs "bash"))
6372 (out (assoc-ref %outputs "out")))
6373 (list (string-append "SHELL=" bash "/bin/bash")))
6374 #:tests? #f ;no tests
6376 (modify-phases %standard-phases
6378 (add-after 'unpack 'patch-file-names
6380 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6382 (substitute* '("Keyboard/ckbcomp")
6384 (string-append "\"" (which "cat")
6387 (add-before 'build 'make-doubled-bdfs
6388 (lambda* (#:key inputs #:allow-other-keys)
6389 (invoke "make" "-C" "Fonts"
6391 (string-append "SHELL="
6392 (assoc-ref inputs "bash")
6395 (lambda* (#:key inputs outputs #:allow-other-keys)
6396 (let ((out (assoc-ref %outputs "out")))
6397 (invoke "make" "install-linux"
6398 (string-append "prefix=" out)
6399 (string-append "SHELL="
6400 (assoc-ref inputs "bash")
6403 `(("pkg-config" ,pkg-config)
6404 ("bdftopcf" ,bdftopcf)
6405 ("bdfresize" ,bdfresize)
6406 ("sharutils" ,sharutils))) ;for 'uuencode'
6408 `(("perl" ,perl))) ;used by 'ckbcomp'
6409 (synopsis "Set up the Linux console font and keyboard")
6411 "console-setup provides the console with the same keyboard
6412 configuration scheme that X Window System has. In particular, the
6413 @command{ckbcomp} program compiles an XKB keyboard description to a keymap
6414 suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6415 is no need to duplicate or change the console keyboard files just to make
6416 simple customizations.
6418 Besides the keyboard, the package also configures the font on the console. It
6419 includes a rich collection of fonts and supports several languages that would
6420 otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6422 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6424 ;; Most of the code is GPLv2+; the Expat license applies to 'setupcon' and
6425 ;; 'ckbcomp-mini'. The installed precompiled keyboard files are covered
6426 ;; by simple permissive licenses. See the 'COPYRIGHT' file.
6427 (license (list license:gpl2+
6430 (define-public xcur2png
6438 (url "https://github.com/eworm-de/xcur2png.git")
6440 (file-name (git-file-name name version))
6442 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6443 (build-system gnu-build-system)
6445 `(("pkg-config" ,pkg-config)))
6447 `(("libpng" ,libpng)
6448 ("libxcursor" ,libxcursor)))
6449 (synopsis "Decode X cursors")
6451 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6452 a configuration file reusable by xcursorgen.")
6453 (home-page "https://github.com/eworm-de/xcur2png")
6454 (license license:gpl3+)))