gnu: guile-squee: Add "guile3.0-squee" variant.
[jackhill/guix/guix.git] / gnu / packages / xorg.scm
CommitLineData
9aea24b6 1;;; GNU Guix --- Functional package management for GNU
8c0519bf 2;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
859e8873 3;;; Copyright © 2014, 2015, 2017, 2018 Mark H Weaver <mhw@netris.org>
0f21557c 4;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
fe77ede7 5;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
94a3d8fd 6;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
9ef824c1 7;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
7dae1f43 8;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
36a4366d 9;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
47956fa0 10;;; Copyright © 2016 ng0 <ng0@n0.is>
f225ae75 11;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
dfe05a51 12;;; Copyright © 2016 David Craven <david@craven.ch>
5dc8dd07 13;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
248f651e 14;;; Copyright © 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
97da6161 15;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
8fd92e03 16;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
7469b98d 17;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
f82fe68f 18;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
a6a2ef27 19;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
185948b8 20;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
41a54622 21;;; Copyright © 2019 nee <nee@cock.li>
ff75441f 22;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
fe068686 23;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
9aea24b6
AE
24;;;
25;;; This file is part of GNU Guix.
26;;;
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.
31;;;
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.
36;;;
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/>.
39
40(define-module (gnu packages xorg)
b5b73a82 41 #:use-module ((guix licenses) #:prefix license:)
9aea24b6
AE
42 #:use-module (guix packages)
43 #:use-module (guix download)
0d5212e8 44 #:use-module (guix git-download)
9aea24b6 45 #:use-module (guix build-system gnu)
6c472741 46 #:use-module (guix build-system perl)
4b34d603 47 #:use-module (guix build-system python)
dfe05a51 48 #:use-module (guix utils)
a8300ef9 49 #:use-module (gnu packages)
8fd92e03 50 #:use-module (gnu packages anthy)
0d5212e8 51 #:use-module (gnu packages autotools)
9aea24b6 52 #:use-module (gnu packages bison)
ab115637 53 #:use-module (gnu packages check)
9aea24b6 54 #:use-module (gnu packages compression)
8fd92e03 55 #:use-module (gnu packages emacs)
9aea24b6
AE
56 #:use-module (gnu packages flex)
57 #:use-module (gnu packages fontutils)
6799ed76 58 #:use-module (gnu packages freedesktop)
1dba6407 59 #:use-module (gnu packages gettext)
200726ed 60 #:use-module (gnu packages gl)
9aea24b6 61 #:use-module (gnu packages glib)
2365338b 62 #:use-module (gnu packages gnupg)
9aea24b6 63 #:use-module (gnu packages gperf)
4b34d603 64 #:use-module (gnu packages gtk)
e55354b8 65 #:use-module (gnu packages image)
fe6db6ec 66 #:use-module (gnu packages libbsd)
8fd92e03 67 #:use-module (gnu packages libedit)
9aea24b6 68 #:use-module (gnu packages linux)
8e4b7b75 69 #:use-module (gnu packages llvm)
9aea24b6 70 #:use-module (gnu packages m4)
6799ed76 71 #:use-module (gnu packages ncurses)
ab2a8cac 72 #:use-module (gnu packages pciutils)
9aea24b6 73 #:use-module (gnu packages perl)
5ccde207 74 #:use-module (gnu packages perl-check)
9aea24b6 75 #:use-module (gnu packages pkg-config)
5f1d0fb0 76 #:use-module (gnu packages python)
4fec042b 77 #:use-module (gnu packages python-compression)
cc6f4912 78 #:use-module (gnu packages python-crypto)
44d10b1f 79 #:use-module (gnu packages python-xyz)
8fd92e03 80 #:use-module (gnu packages qt)
6799ed76 81 #:use-module (gnu packages spice)
4b34d603
RH
82 #:use-module (gnu packages video)
83 #:use-module (gnu packages xiph)
ba6f8e42 84 #:use-module (gnu packages xml)
6799ed76 85 #:use-module (gnu packages xdisorg))
9aea24b6 86
6eb126c5
AE
87
88
84419dfd 89
dcc9053a 90;; packages without propagated input
6eb126c5
AE
91;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
92;; be defined first, the split makes book-keeping easier.)
93
94
d92083ad
AE
95;; compiles only on macos
96;; (define-public applewmproto
50d74f39
EB
97
98
99(define xorg-cf-files
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.
104 ;;
105 ;; License: x11, see COPYING
106 (origin
107 (method url-fetch)
e9543cf7 108 (uri "mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2")
50d74f39 109 (sha256
e9543cf7 110 (base32 "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd"))))
50d74f39
EB
111
112(define-public imake
113 (package
114 (name "imake")
4a07463e 115 (version "1.0.8")
50d74f39
EB
116 (source
117 (origin
118 (method url-fetch)
119 (uri (string-append "mirror://xorg/individual/util/imake-"
120 version ".tar.bz2"))
121 (sha256
4a07463e 122 (base32 "00m7l90ws72k1qm101sd2rx92ckd50cszyng5d4dd77jncbf9lmq"))))
50d74f39
EB
123 (build-system gnu-build-system)
124 (native-inputs
125 `(("pkg-config" ,pkg-config)))
126 (inputs
127 `(("xorg-cf-files" ,xorg-cf-files)
6a6db57f 128 ("xorgproto" ,xorgproto)))
50d74f39
EB
129 (arguments
130 `(#:phases
dc1d3cde
KK
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")))
859e8873
MW
146 (invoke "./configure"
147 (string-append "SHELL=" (which "bash"))
148 (string-append "--prefix=" out))
149 (invoke "make" "install"))))))))
9f9c36f5 150 (home-page "https://www.x.org/")
50d74f39
EB
151 (synopsis "Source code configuration and build system")
152 (description
153 "Imake is a deprecated source code configuration and build system which
154has traditionally been supplied by and used to build the X Window System in
155X11R6 and previous releases. As of the X Window System X11R7 release, the X
156Window system has switched to using GNU autotools as the primary build system,
157and the Imake system is now deprecated, and should not be used by new software
158projects. Software developers are encouraged to migrate software to the GNU
159autotools system.")
160 (license license:x11)))
161
c4818593
DC
162(define-public lndir
163 (package
164 (name "lndir")
165 (version "1.0.3")
166 (source (origin
167 (method url-fetch)
168 (uri (string-append
169 "mirror://xorg/individual/util/"
170 "lndir-" version ".tar.bz2"))
171 (sha256
172 (base32
173 "0pdngiy8zdhsiqx2am75yfcl36l7kd7d7nl0rss8shcdvsqgmx29"))))
174 (build-system gnu-build-system)
175 (native-inputs
176 `(("pkg-config" ,pkg-config)))
177 (inputs
6a6db57f 178 `(("xorgproto" ,xorgproto)))
9f9c36f5 179 (home-page "https://www.x.org/")
c4818593
DC
180 (synopsis "Symlink directory into tree")
181 (description "Create a shadow directory of symbolic links to another
182directory tree.")
183 (license license:x11)))
184
9aea24b6
AE
185(define-public bdftopcf
186 (package
187 (name "bdftopcf")
cd215877 188 (version "1.1")
9aea24b6
AE
189 (source
190 (origin
191 (method url-fetch)
192 (uri (string-append
95b7bafe 193 "mirror://xorg/individual/app/bdftopcf-"
9aea24b6
AE
194 version
195 ".tar.bz2"))
196 (sha256
197 (base32
cd215877 198 "18hiscgljrz10zjcws25bis32nyrg3hzgmiq6scrh7izqmgz0kab"))))
9aea24b6
AE
199 (build-system gnu-build-system)
200 (inputs
cd215877 201 `(("libxfont" ,libxfont2)))
c4c4cc05
JD
202 (native-inputs
203 `(("pkg-config" ,pkg-config)))
01497dfe 204 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
205 (synopsis "Convert X font from BDF to PCF")
206 (description
207 "BDFtoPCF is a font compiler for the X server and font server. It
208converts X font from Bitmap Distribution Format to Portable Compiled Format
209which can be read by any architecture.")
d385b835 210 (license license:x11)))
5f1d0fb0 211
6a6db57f
MB
212(define-public xorgproto
213 (package
214 (name "xorgproto")
d0828b07 215 (version "2019.1")
6a6db57f
MB
216 (source (origin
217 (method url-fetch)
218 (uri (string-append "mirror://xorg/individual/proto/"
0a4f9445 219 "xorgproto-" version ".tar.bz2"))
6a6db57f
MB
220 (sha256
221 (base32
d0828b07 222 "16yll1kaffnslik5sizlw3qrigj1gpsgfgyq6903g3mwdixamnm6"))))
6a6db57f
MB
223 (build-system gnu-build-system)
224 (propagated-inputs
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")
229 (description
230 "This package provides the headers and specification documents defining
231the core protocol and (many) extensions for the X Window System.")
232 (license license:x11)))
5f1d0fb0 233
9aea24b6
AE
234(define-public bigreqsproto
235 (package
236 (name "bigreqsproto")
237 (version "1.1.2")
238 (source
239 (origin
240 (method url-fetch)
241 (uri (string-append
d2611ffb 242 "mirror://xorg/individual/proto/bigreqsproto-"
9aea24b6
AE
243 version
244 ".tar.bz2"))
245 (sha256
246 (base32
247 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
248 (build-system gnu-build-system)
c4c4cc05 249 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 250 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
251 (synopsis "Xorg BigReqsProto protocol headers")
252 (description
253 "Big Requests Extension defines a protocol to enable the use of
254requests that exceed 262140 bytes in length.")
727f076f
MB
255 (license license:x11)
256 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 257
9aea24b6
AE
258(define-public compositeproto
259 (package
260 (name "compositeproto")
261 (version "0.4.2")
262 (source
263 (origin
264 (method url-fetch)
265 (uri (string-append
d2611ffb 266 "mirror://xorg/individual/proto/compositeproto-"
9aea24b6
AE
267 version
268 ".tar.bz2"))
269 (sha256
270 (base32
271 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
272 (build-system gnu-build-system)
88ee93f9 273 (inputs
89ad4fc6 274 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
275 (native-inputs
276 `(("pkg-config" ,pkg-config)))
01497dfe 277 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
278 (synopsis "Xorg CompositeProto protocol headers")
279 (description
280 "Composite Extension contains header files and documentation for
281the damage protocol.")
3bad0d84
MB
282 (license license:x11)
283 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 284
9aea24b6
AE
285(define-public damageproto
286 (package
287 (name "damageproto")
288 (version "1.2.1")
289 (source
290 (origin
291 (method url-fetch)
292 (uri (string-append
d2611ffb 293 "mirror://xorg/individual/proto/damageproto-"
9aea24b6
AE
294 version
295 ".tar.bz2"))
296 (sha256
297 (base32
298 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
299 (build-system gnu-build-system)
c4c4cc05 300 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 301 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
302 (synopsis "Xorg DamageProto protocol headers")
303 (description
304 "Damage Extension contains header files and documentation for
305the damage protocol.")
be56161d
MB
306 (license license:x11)
307 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 308
9aea24b6
AE
309(define-public dmxproto
310 (package
311 (name "dmxproto")
312 (version "2.3.1")
313 (source
314 (origin
315 (method url-fetch)
316 (uri (string-append
d2611ffb 317 "mirror://xorg/individual/proto/dmxproto-"
9aea24b6
AE
318 version
319 ".tar.bz2"))
320 (sha256
321 (base32
322 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
323 (build-system gnu-build-system)
c4c4cc05 324 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 325 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
326 (synopsis "Xorg DMXProto protocol headers")
327 (description
328 "DMX (Distributed Multihead X) Extension defines a protocol for clients
329to access a front-end proxy X server that controls multiple back-end X
330servers making up a large display.")
245ce0cd
MB
331 (license license:x11)
332 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
333
334(define-public dri2proto
335 (package
336 (name "dri2proto")
3097d65e 337 (version "2.8")
5f1d0fb0
AE
338 (source
339 (origin
340 (method url-fetch)
341 (uri (string-append
3097d65e 342 "mirror://xorg/individual/proto/dri2proto-"
5f1d0fb0
AE
343 version
344 ".tar.bz2"))
345 (sha256
346 (base32
3097d65e 347 "015az1vfdqmil1yay5nlsmpf6cf7vcbpslxjb72cfkzlvrv59dgr"))))
5f1d0fb0 348 (build-system gnu-build-system)
01497dfe 349 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
350 (synopsis "Xorg DRI2Proto protocol headers")
351 (description
352 "Direct Rendering Infrastructure 2 Extension defines a protocol to
353securely allow user applications to access the video hardware without
354requiring data to be passed through the X server.")
3993a28a
MB
355 (license license:x11)
356 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 357
43dd1cf3
AE
358(define-public dri3proto
359 (package
360 (name "dri3proto")
361 (version "1.0")
362 (source
363 (origin
364 (method url-fetch)
365 (uri (string-append
366 "mirror://xorg/individual/proto/dri3proto-"
367 version
368 ".tar.bz2"))
369 (sha256
370 (base32
371 "0x609xvnl8jky5m8jdklw4nymx3irkv32w99dfd8nl800bblkgh1"))))
372 (build-system gnu-build-system)
01497dfe 373 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
374 (synopsis "Xorg DRI3Proto protocol headers")
375 (description
376 "Direct Rendering Infrastructure 3 Extension provides mechanisms to
377translate between direct rendered buffers and X pixmaps. When combined with
378the Present extension, a complete direct rendering solution for OpenGL is
379provided.")
43dd1cf3 380 (license (license:x11-style "file://dri3proto.h"
0e540ac1
MB
381 "See 'dri3proto.h' in the distribution."))
382 (properties `((superseded . ,xorgproto)))))
43dd1cf3 383
97fedab1 384(define-public %app-defaults-dir "/lib/X11/app-defaults")
43dd1cf3 385
f0ddc5e5
JD
386(define-public editres
387 (package
388 (name "editres")
437e5fae 389 (version "1.0.7")
f0ddc5e5
JD
390 (source
391 (origin
392 (method url-fetch)
393 (uri (string-append
394 "mirror://xorg/individual/app/" name "-"
395 version
396 ".tar.bz2"))
397 (sha256
398 (base32
437e5fae 399 "04awfwmy3f9f0bchidc4ssbgrbicn5gzasg3jydpfnp5513d76h8"))))
f0ddc5e5
JD
400 (build-system gnu-build-system)
401 (arguments
402 `(#:configure-flags
403 (list (string-append "--with-appdefaultdir="
73ae4e69 404 %output ,%app-defaults-dir))))
f0ddc5e5
JD
405 (inputs
406 `(("libxaw" ,libxaw)
407 ("libxmu" ,libxmu)
408 ("libxt" ,libxt)))
409 (native-inputs
410 `(("pkg-config" ,pkg-config)))
411 (home-page "https://www.x.org/wiki/")
412 (synopsis "Tool to browse and edit X Toolkit resource specifications")
413 (description
414 "Editres is a tool that allows users and application developers to view
415the full widget hierarchy of any X Toolkit application that speaks the Editres
416protocol. In addition, editres will help the user construct resource
417specifications, allow the user to apply the resource to the application and
418view the results dynamically. Once the user is happy with a resource
419specification editres will append the resource string to the user's X
420Resources file.")
421 (license license:x11)))
422
423
9aea24b6
AE
424(define-public encodings
425 (package
426 (name "encodings")
5dfdab05 427 (version "1.0.5")
9aea24b6
AE
428 (source
429 (origin
430 (method url-fetch)
431 (uri (string-append
d2611ffb 432 "mirror://xorg/individual/font/encodings-"
9aea24b6
AE
433 version
434 ".tar.bz2"))
435 (sha256
5dfdab05 436 (base32 "0caafx0yqqnqyvbalxhh3mb0r9v36xmcy5zjhygb2i508dhy35mx"))))
9aea24b6 437 (build-system gnu-build-system)
9aea24b6 438 (inputs
c4c4cc05
JD
439 `(("mkfontscale" ,mkfontscale)))
440 (native-inputs
441 `(("pkg-config" ,pkg-config)))
01497dfe 442 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
443 (synopsis "Xorg font encoding files")
444 (description "Xorg font encoding files.")
6eb126c5 445 (license license:public-domain)))
5f1d0fb0 446
58d222ed
LC
447(define (%xorg-font-origin font version hash)
448 (origin
449 (method url-fetch)
450 (uri (string-append "mirror://xorg/individual/font/" font "-"
451 version ".tar.bz2"))
ed824a36
LC
452 (sha256 hash)
453 (modules '((guix build utils)))
454 (snippet
455 ;; Do not include timestamps in '.pcf.gz' files.
6cbee49d
MW
456 '(begin
457 (substitute* "Makefile.in"
458 (("^COMPRESS = (.*)$" _ rest)
459 (string-append "COMPRESS = " (string-trim-right rest)
460 " --no-name\n")))
461 #t))))
58d222ed
LC
462
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)))
5f1d0fb0 466
6eb126c5 467(define-public font-adobe100dpi
9aea24b6 468 (package
6eb126c5 469 (name "font-adobe100dpi")
9aea24b6 470 (version "1.0.3")
58d222ed
LC
471 (source (xorg-font-origin
472 "font-adobe-100dpi" version
473 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))
9aea24b6 474 (build-system gnu-build-system)
bc3073c8
AE
475 (inputs
476 `(("bdftopcf" ,bdftopcf)
b3546174 477 ("font-util" ,font-util)
c4c4cc05
JD
478 ("mkfontdir" ,mkfontdir)))
479 (native-inputs
480 `(("pkg-config" ,pkg-config)))
755693a4
AE
481 (arguments
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"))))
01497dfe 486 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
487 (synopsis "Xorg adobe-100dpi fonts")
488 (description "Xorg adobe-100dpi fonts.")
d385b835 489 (license license:x11)))
5f1d0fb0
AE
490
491
6eb126c5 492(define-public font-adobe75dpi
9aea24b6 493 (package
6eb126c5 494 (name "font-adobe75dpi")
9aea24b6 495 (version "1.0.3")
58d222ed
LC
496 (source (xorg-font-origin
497 "font-adobe-75dpi" version
498 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))
9aea24b6 499 (build-system gnu-build-system)
bc3073c8
AE
500 (inputs
501 `(("bdftopcf" ,bdftopcf)
b3546174 502 ("font-util" ,font-util)
c4c4cc05
JD
503 ("mkfontdir" ,mkfontdir)))
504 (native-inputs
505 `(("pkg-config" ,pkg-config)))
755693a4
AE
506 (arguments
507 `(#:configure-flags (list
508 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 509 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
510 (synopsis "Xorg adobe-75dpi fonts")
511 (description "Xorg adobe-75dpi fonts.")
d385b835
AE
512 (license license:x11)))
513
514
124b7f1e 515;; non-free license
6eb126c5 516;; (define-public font-adobe-utopia100dpi
6eb126c5 517;; (define-public font-adobe-utopia75dpi
d385b835 518;; (define-public font-adobe-utopia-type1
5f1d0fb0
AE
519
520
521(define-public font-alias
9aea24b6 522 (package
5f1d0fb0 523 (name "font-alias")
9aea24b6 524 (version "1.0.3")
58d222ed
LC
525 (source (xorg-font-origin
526 name version
527 "16ic8wfwwr3jicaml7b5a0sk6plcgc1kg84w02881yhwmqm3nicb"))
9aea24b6 528 (build-system gnu-build-system)
c4c4cc05 529 (native-inputs `(("pkg-config" ,pkg-config)))
bf9655f5
EB
530 (arguments
531 `(#:phases (modify-phases %standard-phases
532 (add-after
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
536 ;; dummy files.
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"
542 "/" d "/fonts.dir")
543 (lambda (p)
544 (format p "0~%"))))
545 '("75dpi" "100dpi" "misc" "cyrillic"))
546 #t))))))
01497dfe 547 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
548 (synopsis "Xorg font aliases")
549 (description
550 "This package provides some common aliases for Xorg fonts.
36a4366d 551For example: @code{6x10}, @code{9x15bold}, etc.")
d385b835 552 (license license:x11)))
5f1d0fb0
AE
553
554
555(define-public font-arabic-misc
9aea24b6 556 (package
5f1d0fb0 557 (name "font-arabic-misc")
9aea24b6 558 (version "1.0.3")
58d222ed
LC
559 (source (xorg-font-origin
560 name version
561 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))
9aea24b6
AE
562 (build-system gnu-build-system)
563 (inputs
564 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
565 ("bdftopcf" ,bdftopcf)))
566 (native-inputs
567 `(("pkg-config" ,pkg-config)))
01497dfe 568 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
569 (synopsis "Xorg arabic-misc font")
570 (description "Xorg arabic-misc font.")
d385b835
AE
571 (license license:x11)))
572
573
124b7f1e 574;; non-free license
6eb126c5 575;; (define-public font-bh100dpi
6eb126c5 576;; (define-public font-bh75dpi
6eb126c5 577;; (define-public font-bh-lucidatypewriter100dpi
6eb126c5 578;; (define-public font-bh-lucidatypewriter75dpi
45f0ae82 579;; (define-public font-bh-ttf
d385b835 580;; (define-public font-bh-type1
6eb126c5 581;; (define-public font-bitstream100dpi
6eb126c5 582;; (define-public font-bitstream75dpi
5f1d0fb0
AE
583
584
5f1d0fb0 585(define-public font-cronyx-cyrillic
9aea24b6 586 (package
5f1d0fb0
AE
587 (name "font-cronyx-cyrillic")
588 (version "1.0.3")
58d222ed
LC
589 (source (xorg-font-origin
590 name version
591 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))
9aea24b6
AE
592 (build-system gnu-build-system)
593 (inputs
5f1d0fb0 594 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
595 ("bdftopcf" ,bdftopcf)))
596 (native-inputs
597 `(("pkg-config" ,pkg-config)))
01497dfe 598 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
599 (synopsis "Xorg cronyx-cyrillic font")
600 (description "Xorg cronyx-cyrillic font.")
d385b835
AE
601 (license license:x11)))
602
603
124b7f1e 604;; no license
d385b835 605;; (define-public font-cursor-misc
124b7f1e
AE
606
607;; non-free license
d385b835 608;; (define-public font-daewoo-misc
5f1d0fb0
AE
609
610
611(define-public font-dec-misc
9aea24b6 612 (package
5f1d0fb0
AE
613 (name "font-dec-misc")
614 (version "1.0.3")
58d222ed
LC
615 (source (xorg-font-origin
616 name version
617 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))
9aea24b6 618 (build-system gnu-build-system)
5f1d0fb0
AE
619 (inputs
620 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
621 ("bdftopcf" ,bdftopcf)))
622 (native-inputs
623 `(("pkg-config" ,pkg-config)))
01497dfe 624 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
625 (synopsis "Xorg dec-misc font")
626 (description "Xorg dec-misc font.")
d385b835 627 (license license:x11)))
5f1d0fb0
AE
628
629
124b7f1e 630;; non-free license
d385b835 631;; (define-public font-ibm-type1
5f1d0fb0
AE
632
633(define-public font-isas-misc
9aea24b6 634 (package
5f1d0fb0
AE
635 (name "font-isas-misc")
636 (version "1.0.3")
58d222ed
LC
637 (source (xorg-font-origin
638 name version
639 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))
9aea24b6 640 (build-system gnu-build-system)
5f1d0fb0
AE
641 (inputs
642 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
643 ("bdftopcf" ,bdftopcf)))
644 (native-inputs
645 `(("pkg-config" ,pkg-config)))
01497dfe 646 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
647 (synopsis "Xorg isas-misc font")
648 (description "Xorg isas-misc font.")
d385b835 649 (license license:x11)))
5f1d0fb0
AE
650
651
124b7f1e 652;; non-free license
d385b835 653;; (define-public font-jis-misc
5f1d0fb0
AE
654
655
656(define-public font-micro-misc
9aea24b6 657 (package
5f1d0fb0
AE
658 (name "font-micro-misc")
659 (version "1.0.3")
58d222ed
LC
660 (source (xorg-font-origin
661 name version
662 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))
9aea24b6 663 (build-system gnu-build-system)
5f1d0fb0
AE
664 (inputs
665 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
666 ("bdftopcf" ,bdftopcf)))
667 (native-inputs
668 `(("pkg-config" ,pkg-config)))
01497dfe 669 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
670 (synopsis "Xorg micro-misc font")
671 (description "Xorg micro-misc font.")
d385b835 672 (license license:public-domain)))
5f1d0fb0
AE
673
674
675(define-public font-misc-cyrillic
9aea24b6 676 (package
5f1d0fb0
AE
677 (name "font-misc-cyrillic")
678 (version "1.0.3")
58d222ed
LC
679 (source (xorg-font-origin
680 name version
681 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))
9aea24b6 682 (build-system gnu-build-system)
5f1d0fb0
AE
683 (inputs
684 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
685 ("bdftopcf" ,bdftopcf)))
686 (native-inputs
687 `(("pkg-config" ,pkg-config)))
01497dfe 688 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
689 (synopsis "Xorg misc-cyrillic fonts")
690 (description "Xorg misc-cyrillic fonts.")
d385b835 691 (license license:x11)))
5f1d0fb0
AE
692
693
694(define-public font-misc-ethiopic
9aea24b6 695 (package
5f1d0fb0
AE
696 (name "font-misc-ethiopic")
697 (version "1.0.3")
58d222ed
LC
698 (source (xorg-font-origin
699 name version
700 "19cq7iq0pfad0nc2v28n681fdq3fcw1l1hzaq0wpkgpx7bc1zjsk"))
9aea24b6
AE
701 (build-system gnu-build-system)
702 (inputs
881d8631
EF
703 `(("mkfontdir" ,mkfontdir)
704 ("mkfontscale" ,mkfontscale)))
c4c4cc05
JD
705 (native-inputs
706 `(("pkg-config" ,pkg-config)))
01497dfe 707 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
708 (synopsis "Xorg misc-ethiopic fonts")
709 (description "Xorg misc-ethiopic fonts.")
d385b835 710 (license license:x11)))
5f1d0fb0
AE
711
712
124b7f1e 713;; non-free license
d385b835 714;; (define-public font-misc-meltho
5f1d0fb0
AE
715
716
717(define-public font-misc-misc
9aea24b6 718 (package
5f1d0fb0
AE
719 (name "font-misc-misc")
720 (version "1.1.2")
58d222ed
LC
721 (source (xorg-font-origin
722 name version
723 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))
9aea24b6 724 (build-system gnu-build-system)
5f1d0fb0 725 (inputs
c7f99931 726 `(("mkfontdir" ,mkfontdir)
5f1d0fb0 727 ("font-util" ,font-util)
c4c4cc05
JD
728 ("bdftopcf" ,bdftopcf)))
729 (native-inputs
730 `(("pkg-config" ,pkg-config)))
755693a4
AE
731 (arguments
732 `(#:configure-flags (list
733 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 734 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
735 (synopsis "Xorg misc-misc fonts")
736 (description "Xorg misc-misc fixed fonts.")
d385b835 737 (license license:public-domain)))
5f1d0fb0
AE
738
739
740(define-public font-mutt-misc
9aea24b6 741 (package
5f1d0fb0
AE
742 (name "font-mutt-misc")
743 (version "1.0.3")
58d222ed
LC
744 (source (xorg-font-origin
745 name version
746 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))
9aea24b6 747 (build-system gnu-build-system)
5f1d0fb0
AE
748 (inputs
749 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
750 ("bdftopcf" ,bdftopcf)))
751 (native-inputs
752 `(("pkg-config" ,pkg-config)))
01497dfe 753 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
754 (synopsis "Xorg mutt-misc fonts")
755 (description "Xorg mutt-misc fonts.")
d385b835 756 (license license:x11)))
5f1d0fb0
AE
757
758
759(define-public font-schumacher-misc
9aea24b6 760 (package
5f1d0fb0
AE
761 (name "font-schumacher-misc")
762 (version "1.1.2")
58d222ed
LC
763 (source (xorg-font-origin
764 name version
765 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))
9aea24b6
AE
766 (build-system gnu-build-system)
767 (inputs
c7f99931 768 `(("mkfontdir" ,mkfontdir)
5f1d0fb0 769 ("font-util" ,font-util)
c4c4cc05
JD
770 ("bdftopcf" ,bdftopcf)))
771 (native-inputs
772 `(("pkg-config" ,pkg-config)))
755693a4
AE
773 (arguments
774 `(#:configure-flags (list
775 (string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
01497dfe 776 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
777 (synopsis "Xorg schumacher-misc fonts")
778 (description "Xorg schumacher-misc fonts.")
d385b835 779 (license license:x11)))
5f1d0fb0
AE
780
781
782(define-public font-screen-cyrillic
9aea24b6 783 (package
5f1d0fb0 784 (name "font-screen-cyrillic")
9aea24b6 785 (version "1.0.4")
58d222ed
LC
786 (source (xorg-font-origin
787 name version
788 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))
9aea24b6
AE
789 (build-system gnu-build-system)
790 (inputs
5f1d0fb0 791 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
792 ("bdftopcf" ,bdftopcf)))
793 (native-inputs
794 `(("pkg-config" ,pkg-config)))
01497dfe 795 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
796 (synopsis "Xorg screen-cyrillic fonts")
797 (description "Xorg screen-cyrillic fonts.")
d385b835 798 (license license:x11)))
5f1d0fb0
AE
799
800
801(define-public font-sony-misc
9aea24b6 802 (package
5f1d0fb0
AE
803 (name "font-sony-misc")
804 (version "1.0.3")
58d222ed
LC
805 (source (xorg-font-origin
806 name version
807 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))
9aea24b6
AE
808 (build-system gnu-build-system)
809 (inputs
5f1d0fb0 810 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
811 ("bdftopcf" ,bdftopcf)))
812 (native-inputs
813 `(("pkg-config" ,pkg-config)))
01497dfe 814 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
815 (synopsis "Xorg sony-misc fonts")
816 (description "Xorg sony-misc fonts.")
d385b835 817 (license license:x11)))
5f1d0fb0
AE
818
819
820(define-public font-sun-misc
9aea24b6 821 (package
5f1d0fb0
AE
822 (name "font-sun-misc")
823 (version "1.0.3")
58d222ed
LC
824 (source (xorg-font-origin
825 name version
826 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))
9aea24b6
AE
827 (build-system gnu-build-system)
828 (inputs
5f1d0fb0 829 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
830 ("bdftopcf" ,bdftopcf)))
831 (native-inputs
832 `(("pkg-config" ,pkg-config)))
01497dfe 833 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
834 (synopsis "Xorg sun-misc fonts")
835 (description "Xorg sun-misc fonts.")
d385b835 836 (license license:x11)))
5f1d0fb0
AE
837
838
839(define-public font-util
9aea24b6 840 (package
5f1d0fb0 841 (name "font-util")
9e4a244b 842 (version "1.3.2")
9aea24b6
AE
843 (source
844 (origin
845 (method url-fetch)
846 (uri (string-append
d2611ffb 847 "mirror://xorg/individual/font/font-util-"
9aea24b6
AE
848 version
849 ".tar.bz2"))
850 (sha256
9e4a244b 851 (base32 "10i2a8b3d1h3w7klsqf31iz7zbd6l8wglil54fkhdb1385281n1s"))))
9aea24b6 852 (build-system gnu-build-system)
c4c4cc05 853 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 854 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
855 (synopsis "Xorg font utilities")
856 (description
857 "Xorg font package creation/installation utilities.")
d385b835 858 (license license:x11)))
5f1d0fb0
AE
859
860
861(define-public font-winitzki-cyrillic
9aea24b6 862 (package
5f1d0fb0
AE
863 (name "font-winitzki-cyrillic")
864 (version "1.0.3")
58d222ed
LC
865 (source (xorg-font-origin
866 name version
867 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))
9aea24b6
AE
868 (build-system gnu-build-system)
869 (inputs
5f1d0fb0 870 `(("mkfontdir" ,mkfontdir)
c4c4cc05
JD
871 ("bdftopcf" ,bdftopcf)))
872 (native-inputs
873 `(("pkg-config" ,pkg-config)))
01497dfe 874 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
875 (synopsis "Xorg winitzki-cyrillic font")
876 (description "Xorg winitzki-cyrillic font.")
d385b835 877 (license license:public-domain)))
5f1d0fb0
AE
878
879
880(define-public font-xfree86-type1
9aea24b6 881 (package
5f1d0fb0
AE
882 (name "font-xfree86-type1")
883 (version "1.0.4")
58d222ed
LC
884 (source (xorg-font-origin
885 name version
886 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))
9aea24b6 887 (build-system gnu-build-system)
6eb126c5 888 (inputs
5d923b4f
EF
889 `(("mkfontdir" ,mkfontdir)
890 ("mkfontscale" ,mkfontscale)))
c4c4cc05
JD
891 (native-inputs
892 `(("pkg-config" ,pkg-config)))
01497dfe 893 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
894 (synopsis "Xorg xfree86-type1 font")
895 (description "Xorg xfree86-type1 font.")
d385b835 896 (license license:x11)))
5f1d0fb0
AE
897
898
899(define-public fontsproto
9aea24b6 900 (package
5f1d0fb0 901 (name "fontsproto")
8fc8c1ee 902 (version "2.1.3")
9aea24b6
AE
903 (source
904 (origin
905 (method url-fetch)
906 (uri (string-append
8fc8c1ee 907 "mirror://xorg/individual/proto/fontsproto-"
9aea24b6
AE
908 version
909 ".tar.bz2"))
910 (sha256
911 (base32
8fc8c1ee 912 "1f2sdsd74y34nnaf4m1zlcbhyv8xb6irnisc99f84c4ivnq4d415"))))
9aea24b6 913 (build-system gnu-build-system)
c4c4cc05 914 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 915 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
916 (synopsis "Xorg FontsProto protocol headers")
917 (description
918 "Fonts Extension contains header files and documentation for
919the fonts protocol.")
b4d7aef5
MB
920 (license license:x11)
921 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
922
923(define-public glproto
9aea24b6 924 (package
5f1d0fb0 925 (name "glproto")
cc28048d 926 (version "1.4.17")
9aea24b6
AE
927 (source
928 (origin
929 (method url-fetch)
930 (uri (string-append
cc28048d 931 "mirror://xorg/individual/proto/glproto-"
9aea24b6
AE
932 version
933 ".tar.bz2"))
934 (sha256
935 (base32
cc28048d 936 "0h5ykmcddwid5qj6sbrszgkcypwn3mslvswxpgy2n2iixnyr9amd"))))
9aea24b6 937 (build-system gnu-build-system)
c4c4cc05 938 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 939 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
940 (synopsis "Xorg GLProto protocol headers")
941 (description
942 "OpenGL Extension defines a protocol for the client to send 3D
943rendering commands to the X server.")
70b02a6a
MB
944 (license license:x11)
945 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
946
947(define-public iceauth
9aea24b6 948 (package
5f1d0fb0 949 (name "iceauth")
6836c228 950 (version "1.0.8")
9aea24b6
AE
951 (source
952 (origin
953 (method url-fetch)
954 (uri (string-append
d220d152 955 "mirror://xorg/individual/app/iceauth-"
9aea24b6
AE
956 version
957 ".tar.bz2"))
958 (sha256
959 (base32
6836c228 960 "1ik0mdidmyvy48hn8p2hwvf3535rf3m96hhf0mvcqrbj44x23vp6"))))
9aea24b6
AE
961 (build-system gnu-build-system)
962 (inputs
c4c4cc05
JD
963 `(("libice" ,libice)))
964 (native-inputs
965 `(("pkg-config" ,pkg-config)))
01497dfe 966 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
967 (synopsis "ICE authority file utility")
968 (description
969 "ICEAuth program is used to edit and display the authorization
970information used in connecting with ICE (Inter-Client Exchange). It
971operates very much like the xauth program for X11 connection
972authentication records.")
d385b835 973 (license license:x11)))
5f1d0fb0
AE
974
975
976(define-public inputproto
9aea24b6 977 (package
5f1d0fb0 978 (name "inputproto")
ee86a59e 979 (version "2.3.2")
9aea24b6
AE
980 (source
981 (origin
982 (method url-fetch)
983 (uri (string-append
7f65303d 984 "mirror://xorg/individual/proto/inputproto-"
9aea24b6
AE
985 version
986 ".tar.bz2"))
987 (sha256
988 (base32
ee86a59e 989 "07gk7v006zqn3dcfh16l06gnccy7xnqywf3vl9c209ikazsnlfl9"))))
9aea24b6 990 (build-system gnu-build-system)
c4c4cc05 991 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 992 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
993 (synopsis "Xorg InputProto protocol headers")
994 (description
995 "Input Extension defines a protocol to provide additional input
996devices management such as graphic tablets.")
82b4d9ec
MB
997 (license license:x11)
998 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
999
1000(define-public kbproto
9aea24b6 1001 (package
5f1d0fb0 1002 (name "kbproto")
d6c6dde8 1003 (version "1.0.7")
9aea24b6
AE
1004 (source
1005 (origin
1006 (method url-fetch)
1007 (uri (string-append
d2611ffb 1008 "mirror://xorg/individual/proto/kbproto-"
9aea24b6
AE
1009 version
1010 ".tar.bz2"))
1011 (sha256
1012 (base32
d6c6dde8 1013 "0mxqj1pzhjpz9495vrjnpi10kv2n1s4vs7di0sh3yvipfq5j30pq"))))
9aea24b6 1014 (build-system gnu-build-system)
c4c4cc05 1015 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1016 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1017 (synopsis "Xorg KBProto protocol headers")
1018 (description
1019 "X Keyboard (XKB) Extension defines a protocol to provide a number
1020of new capabilities and controls for text keyboards.")
2d030098
MB
1021 (license license:x11)
1022 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1023
d92083ad
AE
1024;; requires applewmproto, which compiles only on macos
1025;; (define-public libapplewm
d385b835
AE
1026
1027
1028(define-public libdmx
1029 (package
1030 (name "libdmx")
4bbd9207 1031 (version "1.1.4")
d385b835
AE
1032 (source
1033 (origin
1034 (method url-fetch)
1035 (uri (string-append
eb2a0e11 1036 "mirror://xorg/individual/lib/libdmx-"
d385b835
AE
1037 version
1038 ".tar.bz2"))
1039 (sha256
1040 (base32
4bbd9207 1041 "0hvjfhrcym770cr0zpqajdy3cda30aiwbjzv16iafkqkbl090gr5"))))
d385b835
AE
1042 (build-system gnu-build-system)
1043 (inputs
caf90259 1044 `(("xorgproto" ,xorgproto)
d385b835 1045 ("libxext" ,libxext)
245ce0cd 1046 ("libx11" ,libx11)))
c4c4cc05
JD
1047 (native-inputs
1048 `(("pkg-config" ,pkg-config)))
01497dfe 1049 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1050 (synopsis "Xorg DMX library")
1051 (description
1052 "DMX (Distributed Multihead X) extension library.")
d385b835
AE
1053 (license license:x11)))
1054
1055
f0b6c5d8
MW
1056(define-public libxshmfence
1057 (package
1058 (name "libxshmfence")
a270ba9e 1059 (version "1.3")
f0b6c5d8
MW
1060 (source (origin
1061 (method url-fetch)
1062 (uri (string-append
1063 "mirror://xorg/individual/lib/"
1064 name "-" version ".tar.bz2"))
1065 (sha256
1066 (base32
a270ba9e 1067 "1ir0j92mnd1nk37mrv9bz5swnccqldicgszvfsh62jd14q6k115q"))))
f0b6c5d8
MW
1068 (build-system gnu-build-system)
1069 (native-inputs `(("pkg-config" ,pkg-config)))
6a6db57f 1070 (inputs `(("xorgproto" ,xorgproto)))
9f9c36f5 1071 (home-page "https://www.x.org/")
01bec8a6 1072 (synopsis "Xorg shared memory fences library")
f0b6c5d8
MW
1073 (description
1074 "This library provides an interface to shared-memory fences for
1075synchronization between the X server and direct-rendering clients.")
8f501ac8
LC
1076
1077 ;; Same license as libevdev.
1078 (license (license:x11-style "file://COPYING"))))
f0b6c5d8
MW
1079
1080
d385b835
AE
1081(define-public libfontenc
1082 (package
1083 (name "libfontenc")
ce325754 1084 (version "1.1.4")
d385b835
AE
1085 (source
1086 (origin
1087 (method url-fetch)
1088 (uri (string-append
7d7a47c6 1089 "mirror://xorg/individual/lib/libfontenc-"
d385b835
AE
1090 version
1091 ".tar.bz2"))
1092 (sha256
1093 (base32
ce325754 1094 "0y90170dp8wsidr1dzza0grxr1lfh30ji3b5vkjz4j6x1n0wxz1c"))))
d385b835
AE
1095 (build-system gnu-build-system)
1096 (inputs
1097 `(("zlib" ,zlib)
6a6db57f 1098 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1099 (native-inputs
1100 `(("pkg-config" ,pkg-config)))
ce325754 1101 (home-page "https://gitlab.freedesktop.org/xorg/lib/libfontenc")
01bec8a6
AK
1102 (synopsis "Xorg font encoding library")
1103 (description "Xorg font encoding library.")
d385b835 1104 (license license:x11)))
5f1d0fb0
AE
1105
1106
1107(define-public libfs
9aea24b6 1108 (package
5f1d0fb0 1109 (name "libfs")
77ad8a65 1110 (version "1.0.8")
9aea24b6
AE
1111 (source
1112 (origin
1113 (method url-fetch)
1114 (uri (string-append
cbc4f50c 1115 "mirror://xorg/individual/lib/libFS-"
9aea24b6
AE
1116 version
1117 ".tar.bz2"))
1118 (sha256
77ad8a65 1119 (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8"))))
9aea24b6
AE
1120 (build-system gnu-build-system)
1121 (inputs
5f1d0fb0 1122 `(("xtrans" ,xtrans)
b4d7aef5 1123 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1124 (native-inputs
1125 `(("pkg-config" ,pkg-config)))
01497dfe 1126 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1127 (synopsis "Xorg Font Service client library")
1128 (description
1129 "Font Service client library is used by clients of X Font
1130Servers (xfs), such as xfsinfo, fslsfonts, and the X servers
1131themselves.")
d385b835 1132 (license license:x11)))
5f1d0fb0
AE
1133
1134
d385b835
AE
1135(define-public libpciaccess
1136 (package
1137 (name "libpciaccess")
3082280c 1138 (version "0.16")
d385b835
AE
1139 (source
1140 (origin
1141 (method url-fetch)
1142 (uri (string-append
b54eab02 1143 "mirror://xorg/individual/lib/libpciaccess-"
d385b835
AE
1144 version
1145 ".tar.bz2"))
1146 (sha256
1147 (base32
3082280c 1148 "12glp4w1kgvmqn89lk19cgr6jccd3awxra4dxisp7pagi06rsk11"))))
d385b835 1149 (build-system gnu-build-system)
ab2a8cac
LC
1150 (arguments
1151 '(;; Make sure libpciaccess can read compressed 'pci.ids' files as
1152 ;; provided by pciutils.
1153 #:configure-flags
1154 (list "--with-zlib"
1155 (string-append "--with-pciids-path="
1156 (assoc-ref %build-inputs "pciutils")
1157 "/share/hwdata"))
1158
1159 #:phases
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")
1167 (("-lz")
1168 (string-append "-L" zlib "/lib -lz")))
1169 #t))))))
d385b835 1170 (inputs
ab2a8cac
LC
1171 `(("zlib" ,zlib)
1172 ("pciutils" ,pciutils))) ;for 'pci.ids.gz'
c4c4cc05
JD
1173 (native-inputs
1174 `(("pkg-config" ,pkg-config)))
01497dfe 1175 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1176 (synopsis "Xorg PCI access library")
1177 (description "Xorg Generic PCI access library.")
d385b835
AE
1178 (license license:x11)))
1179
1180
0820a58b
AE
1181(define-public libpthread-stubs
1182 (package
1183 (name "libpthread-stubs")
7134ac4c 1184 (version "0.4")
0820a58b
AE
1185 (source
1186 (origin
1187 (method url-fetch)
1188 (uri (string-append
d2611ffb 1189 "mirror://xorg/individual/xcb/libpthread-stubs-"
0820a58b
AE
1190 version
1191 ".tar.bz2"))
1192 (sha256
1193 (base32
7134ac4c 1194 "0cz7s9w8lqgzinicd4g36rjg08zhsbyngh0w68c3np8nlc8mkl74"))))
0820a58b 1195 (build-system gnu-build-system)
c4c4cc05 1196 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1197 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1198 (synopsis "Library with pthread stubs")
1199 (description
1200 "This library provides weak aliases for pthread functions not
1201provided in libc or otherwise available by default. Libraries like
1202libxcb rely on pthread stubs to use pthreads optionally, becoming
1203thread-safe when linked to libpthread, while avoiding any performance
1204hit when running single-threaded.")
0820a58b 1205 (license license:x11)))
5f1d0fb0
AE
1206
1207
1208(define-public libsm
9aea24b6 1209 (package
5f1d0fb0 1210 (name "libsm")
709fdfc2 1211 (version "1.2.3")
9aea24b6
AE
1212 (source
1213 (origin
1214 (method url-fetch)
1215 (uri (string-append
d8dde296 1216 "mirror://xorg/individual/lib/libSM-"
9aea24b6
AE
1217 version
1218 ".tar.bz2"))
1219 (sha256
1220 (base32
709fdfc2 1221 "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
9aea24b6 1222 (build-system gnu-build-system)
211345b3
AE
1223 (propagated-inputs
1224 `(("libice" ,libice))) ; SMlib.h includes ICElib.h
9aea24b6 1225 (inputs
5f1d0fb0 1226 `(("xtrans" ,xtrans)
211345b3 1227 ("util-linux" ,util-linux)))
c4c4cc05
JD
1228 (native-inputs
1229 `(("pkg-config" ,pkg-config)))
01497dfe 1230 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1231 (synopsis "Xorg Session Management library")
1232 (description "Xorg Session Management library.")
d385b835 1233 (license license:x11)))
5f1d0fb0
AE
1234
1235
1236(define-public libwindowswm
9aea24b6 1237 (package
5f1d0fb0
AE
1238 (name "libwindowswm")
1239 (version "1.0.1")
9aea24b6
AE
1240 (source
1241 (origin
1242 (method url-fetch)
1243 (uri (string-append
d2611ffb 1244 "mirror://xorg/individual/lib/libWindowsWM-"
9aea24b6
AE
1245 version
1246 ".tar.bz2"))
1247 (sha256
1248 (base32
5f1d0fb0 1249 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
9aea24b6
AE
1250 (build-system gnu-build-system)
1251 (inputs
caf90259 1252 `(("xorgproto" ,xorgproto)
9aea24b6 1253 ("libxext" ,libxext)
196abe4d 1254 ("libx11" ,libx11)))
c4c4cc05
JD
1255 (native-inputs
1256 `(("pkg-config" ,pkg-config)))
01497dfe 1257 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1258 (synopsis "Xorg WindowsWM library")
1259 (description
1260 "Cygwin/X rootless window management extension.
1261WindowsWM is a simple library designed to interface with the Windows-WM
1262extension. This extension allows X window managers to better interact
1263with the Cygwin XWin server when running X11 in a rootless mode.")
d385b835 1264 (license license:x11)))
5f1d0fb0
AE
1265
1266
6eb126c5 1267(define-public libxcomposite
9aea24b6 1268 (package
6eb126c5 1269 (name "libxcomposite")
e440a756 1270 (version "0.4.5")
9aea24b6
AE
1271 (source
1272 (origin
1273 (method url-fetch)
1274 (uri (string-append
4c573e69 1275 "mirror://xorg/individual/lib/libXcomposite-"
9aea24b6
AE
1276 version
1277 ".tar.bz2"))
1278 (sha256
1279 (base32
e440a756 1280 "13sfcglvz87vl58hd9rszwr73z0z4nwga3c12rfh7f5s2ln8l8dk"))))
9aea24b6 1281 (build-system gnu-build-system)
4281d1b6
SB
1282 (propagated-inputs
1283 ;; xcomposite.pc refers to all these.
6a6db57f 1284 `(("xorgproto" ,xorgproto)
6eb126c5 1285 ("libxfixes" ,libxfixes)
3bad0d84 1286 ("libx11" ,libx11)))
c4c4cc05
JD
1287 (native-inputs
1288 `(("pkg-config" ,pkg-config)))
01497dfe 1289 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1290 (synopsis "Xorg Composite library")
1291 (description
1292 "Client library for the Composite extension to the X11 protocol.")
d385b835 1293 (license license:x11)))
5f1d0fb0
AE
1294
1295
6eb126c5 1296(define-public libxdmcp
9aea24b6 1297 (package
6eb126c5 1298 (name "libxdmcp")
e2bf462b 1299 (version "1.1.3")
9aea24b6
AE
1300 (source
1301 (origin
1302 (method url-fetch)
1303 (uri (string-append
d2611ffb 1304 "mirror://xorg/individual/lib/libXdmcp-"
9aea24b6
AE
1305 version
1306 ".tar.bz2"))
1307 (sha256
1308 (base32
e2bf462b 1309 "0ab53h0rkq721ihk5hi469x500f3pgbkm1wy01yf24x5m923nli0"))))
9aea24b6
AE
1310 (build-system gnu-build-system)
1311 (inputs
fe6db6ec 1312 `(("libbsd" ,libbsd)
6a6db57f 1313 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1314 (native-inputs
1315 `(("pkg-config" ,pkg-config)))
01497dfe 1316 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1317 (synopsis "Xorg Display Manager Control Protocol library")
1318 (description "Xorg Display Manager Control Protocol library.")
d385b835
AE
1319 (license license:x11)))
1320
1321
6eb126c5 1322(define-public libxft
0820a58b 1323 (package
6eb126c5 1324 (name "libxft")
df37df52 1325 (version "2.3.3")
0820a58b
AE
1326 (source
1327 (origin
1328 (method url-fetch)
1329 (uri (string-append
140a0793 1330 "mirror://xorg/individual/lib/libXft-"
0820a58b
AE
1331 version
1332 ".tar.bz2"))
1333 (sha256
1334 (base32
df37df52 1335 "05lja9s54090xwh31r0bqms4v3pimng5xr09g2rdnafx2vk6hp12"))))
0820a58b 1336 (build-system gnu-build-system)
3c9aa5c1 1337 (propagated-inputs
7305f2f1
LC
1338 ;; xft.pc refers to all these.
1339 `(("libxrender" ,libxrender)
6eb126c5 1340 ("freetype" ,freetype)
c4c4cc05 1341 ("fontconfig" ,fontconfig)))
7305f2f1
LC
1342 (inputs
1343 `(("libx11" ,libx11)
6a6db57f 1344 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
1345 (native-inputs
1346 `(("pkg-config" ,pkg-config)))
01497dfe 1347 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1348 (synopsis "Xorg FreeType library")
1349 (description
1350 "Xorg FreeType library connects X applications with the FreeType font
1351rasterization library. Xft uses fontconfig to locate fonts so it has no
1352configuration files.")
0820a58b 1353 (license license:x11)))
5f1d0fb0
AE
1354
1355
6eb126c5 1356(define-public libxkbfile
5f1d0fb0 1357 (package
6eb126c5 1358 (name "libxkbfile")
2e6508d8 1359 (version "1.1.0")
5f1d0fb0
AE
1360 (source
1361 (origin
1362 (method url-fetch)
1363 (uri (string-append
d2611ffb 1364 "mirror://xorg/individual/lib/libxkbfile-"
5f1d0fb0
AE
1365 version
1366 ".tar.bz2"))
1367 (sha256
1368 (base32
2e6508d8 1369 "1irq9crvscd3yb8sr802dhvvfr35jdy1n2yz094xplmd42mbv3bm"))))
9aea24b6
AE
1370 (build-system gnu-build-system)
1371 (inputs
c4c4cc05
JD
1372 `(("libx11" ,libx11)))
1373 (native-inputs
1374 `(("pkg-config" ,pkg-config)))
01497dfe 1375 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1376 (synopsis "Xorg XKB file handling library")
1377 (description "Xorg XKB file handling library.")
d385b835 1378 (license license:x11)))
5f1d0fb0
AE
1379
1380
6eb126c5 1381(define-public libxmu
9aea24b6 1382 (package
6eb126c5 1383 (name "libxmu")
cb7fd8d0 1384 (version "1.1.3")
9aea24b6
AE
1385 (source
1386 (origin
1387 (method url-fetch)
1388 (uri (string-append
788093dd 1389 "mirror://xorg/individual/lib/libXmu-"
9aea24b6
AE
1390 version
1391 ".tar.bz2"))
1392 (sha256
1393 (base32
cb7fd8d0 1394 "0cdpqnx6258i4l6qhphvkdiyspysg0i5caqjy820kp63wwjk4d4w"))))
9aea24b6
AE
1395 (build-system gnu-build-system)
1396 (inputs
6eb126c5 1397 `(("libxt" ,libxt)
6a6db57f 1398 ("xorgproto" ,xorgproto)
c4c4cc05
JD
1399 ("libxext" ,libxext)))
1400 (native-inputs
1401 `(("pkg-config" ,pkg-config)))
01497dfe 1402 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1403 (synopsis "Xorg Xmu library")
1404 (description
1405 "Xmu library contains miscellaneous utilities and is not part of the
1406Xlib standard. It is intended to support clients in the Xorg distribution;
1407vendors may choose not to distribute this library if they wish. Therefore,
1408applications developers who depend on this library should be prepared to
1409treat it as part of their software base when porting.")
d385b835 1410 (license license:x11)))
5f1d0fb0
AE
1411
1412
6eb126c5 1413(define-public libxpm
9aea24b6 1414 (package
6eb126c5 1415 (name "libxpm")
5e107b22 1416 (version "3.5.12")
9aea24b6
AE
1417 (source
1418 (origin
1419 (method url-fetch)
1420 (uri (string-append
15bcd5b7 1421 "mirror://xorg/individual/lib/libXpm-"
9aea24b6
AE
1422 version
1423 ".tar.bz2"))
1424 (sha256
1425 (base32
5e107b22 1426 "1v5xaiw4zlhxspvx76y3hq4wpxv7mpj6parqnwdqvpj8vbinsspx"))))
9aea24b6
AE
1427 (build-system gnu-build-system)
1428 (inputs
b94a6ca0 1429 `(("gettext" ,gettext-minimal)
6eb126c5 1430 ("libxt" ,libxt)
6a6db57f 1431 ("xorgproto" ,xorgproto)
c4c4cc05
JD
1432 ("libxext" ,libxext)))
1433 (native-inputs
1434 `(("pkg-config" ,pkg-config)))
01497dfe 1435 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1436 (synopsis "Xorg XPM library")
1437 (description "XPM (X Pixmap) image file format library.")
d385b835 1438 (license license:x11)))
5f1d0fb0
AE
1439
1440
6eb126c5 1441(define-public libxres
5f1d0fb0 1442 (package
6eb126c5 1443 (name "libxres")
fe953dde 1444 (version "1.2.0")
5f1d0fb0
AE
1445 (source
1446 (origin
1447 (method url-fetch)
1448 (uri (string-append
07c6af48 1449 "mirror://xorg/individual/lib/libXres-"
5f1d0fb0
AE
1450 version
1451 ".tar.bz2"))
1452 (sha256
1453 (base32
fe953dde 1454 "1m0jr0lbz9ixpp9ihk68349q0i7ry2379lnfzdy4mrl86ijc2xgz"))))
5f1d0fb0
AE
1455 (build-system gnu-build-system)
1456 (inputs
6a6db57f 1457 `(("xorgproto" ,xorgproto)
6eb126c5 1458 ("libxext" ,libxext)
2bf1fa98 1459 ("libx11" ,libx11)))
c4c4cc05
JD
1460 (native-inputs
1461 `(("pkg-config" ,pkg-config)))
01497dfe 1462 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1463 (synopsis "Xorg Resource extension library")
1464 (description "X Resource extension library.")
d385b835 1465 (license license:x11)))
5f1d0fb0
AE
1466
1467
6eb126c5 1468(define-public libxscrnsaver
9aea24b6 1469 (package
6eb126c5 1470 (name "libxscrnsaver")
3334cdc3 1471 (version "1.2.3")
9aea24b6
AE
1472 (source
1473 (origin
1474 (method url-fetch)
1475 (uri (string-append
d2611ffb 1476 "mirror://xorg/individual/lib/libXScrnSaver-"
9aea24b6
AE
1477 version
1478 ".tar.bz2"))
1479 (sha256
1480 (base32
3334cdc3 1481 "1y4vx1vabg7j9hamp0vrfrax5b0lmgm3h0lbgbb3hnkv3dd0f5zr"))))
9aea24b6
AE
1482 (build-system gnu-build-system)
1483 (inputs
c7f99931 1484 `(("libxext" ,libxext)
17b9d16f
AE
1485 ("libx11" ,libx11)))
1486 (propagated-inputs
e399d6ca 1487 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
1488 (native-inputs
1489 `(("pkg-config" ,pkg-config)))
01497dfe 1490 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1491 (synopsis "Xorg Screen Saver library")
1492 (description "X11 Screen Saver extension client library.")
d385b835 1493 (license license:x11)))
5f1d0fb0
AE
1494
1495
6eb126c5 1496(define-public libxxf86dga
9aea24b6 1497 (package
6eb126c5 1498 (name "libxxf86dga")
65f91295 1499 (version "1.1.5")
9aea24b6 1500 (source
65f91295
TGR
1501 (origin
1502 (method url-fetch)
1503 (uri (string-append "mirror://xorg/individual/lib/"
1504 "libXxf86dga-" version ".tar.bz2"))
1505 (sha256
1506 (base32 "00vjvcdlc1sga251jkxn6gkxmx9h5n290ffxxpa40qbca1gvr61b"))))
9aea24b6 1507 (build-system gnu-build-system)
8c0519bf 1508 (propagated-inputs
65f91295 1509 `(("xorgproto" ,xorgproto)))
9aea24b6 1510 (inputs
65f91295
TGR
1511 `(("libx11" ,libx11)
1512 ("libxext" ,libxext)))
c4c4cc05 1513 (native-inputs
65f91295 1514 `(("pkg-config" ,pkg-config)))
01497dfe 1515 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1516 (synopsis "Xorg XFree86-DGA library")
1517 (description "Client library for the XFree86-DGA extension.")
d385b835 1518 (license license:x11)))
5f1d0fb0
AE
1519
1520
6eb126c5 1521(define-public luit
5f1d0fb0 1522 (package
6eb126c5
AE
1523 (name "luit")
1524 (version "1.1.1")
5f1d0fb0
AE
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (string-append
d2611ffb 1529 "mirror://xorg/individual/app/luit-"
5f1d0fb0
AE
1530 version
1531 ".tar.bz2"))
1532 (sha256
1533 (base32
c1897890
AE
1534 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))
1535 ;; See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
1536 ;; should become obsolete with the next release.
fc1adab1 1537 (patches (search-patches "luit-posix.patch"))))
5f1d0fb0
AE
1538 (build-system gnu-build-system)
1539 (inputs
c4c4cc05
JD
1540 `(("libfontenc" ,libfontenc)))
1541 (native-inputs
1542 `(("pkg-config" ,pkg-config)))
01497dfe 1543 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1544 (synopsis "Convert terminal I/O from legacy encodings to UTF-8")
1545 (description
1546 "Luit is a filter that can be run between an arbitrary application and
1547a UTF-8 terminal emulator such as xterm. It will convert application
1548output from the locale's encoding into UTF-8, and convert terminal
1549input from UTF-8 into the locale's encoding.")
d385b835 1550 (license license:x11)))
5f1d0fb0
AE
1551
1552
6eb126c5 1553(define-public makedepend
5f1d0fb0 1554 (package
6eb126c5 1555 (name "makedepend")
d0649b47 1556 (version "1.0.6")
5f1d0fb0
AE
1557 (source
1558 (origin
1559 (method url-fetch)
1560 (uri (string-append
3ae74dfd 1561 "mirror://xorg/individual/util/makedepend-"
5f1d0fb0
AE
1562 version
1563 ".tar.bz2"))
1564 (sha256
1565 (base32
d0649b47 1566 "072h9nzh8s5vqfz35dli4fba36fnr219asjrb7p89n8ph0paan6m"))))
5f1d0fb0
AE
1567 (build-system gnu-build-system)
1568 (inputs
6a6db57f 1569 `(("xorgproto" ,xorgproto)))
c4c4cc05 1570 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1571 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1572 (synopsis "Xorg makedepend utility")
1573 (description
1574 "Makedepend is an utility for creating dependencies in makefiles.")
d385b835 1575 (license license:x11)))
5f1d0fb0
AE
1576
1577
6eb126c5 1578(define-public mkfontscale
5f1d0fb0 1579 (package
6eb126c5 1580 (name "mkfontscale")
42e00f63 1581 (version "1.2.1")
5f1d0fb0
AE
1582 (source
1583 (origin
1584 (method url-fetch)
1585 (uri (string-append
acba78a1 1586 "mirror://xorg/individual/app/mkfontscale-"
5f1d0fb0
AE
1587 version
1588 ".tar.bz2"))
1589 (sha256
42e00f63 1590 (base32 "1ixsnsm2mn0zy9ksdid0lj6irnhvasfik9mz8bbrs5sajzmra16a"))))
5f1d0fb0
AE
1591 (build-system gnu-build-system)
1592 (inputs
6eb126c5 1593 `(("zlib" ,zlib)
6a6db57f 1594 ("xorgproto" ,xorgproto)
6eb126c5 1595 ("freetype" ,freetype)
c4c4cc05
JD
1596 ("libfontenc" ,libfontenc)))
1597 (native-inputs
1598 `(("pkg-config" ,pkg-config)))
01497dfe 1599 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1600 (synopsis "Create an index of scalable font files for X server")
1601 (description
36a4366d
EF
1602 "MkFontScale creates the @code{fonts.scale} and @code{fonts.dir} index
1603files used by the legacy X11 font system.")
d385b835 1604 (license license:x11)))
5f1d0fb0
AE
1605
1606
35536412
AE
1607(define-public presentproto
1608 (package
1609 (name "presentproto")
48d78a2e 1610 (version "1.1")
35536412
AE
1611 (source
1612 (origin
1613 (method url-fetch)
1614 (uri (string-append
1615 "mirror://xorg/individual/proto/presentproto-"
1616 version
1617 ".tar.bz2"))
1618 (sha256
1619 (base32
48d78a2e 1620 "1f96dlgfwhsd0834z8ydjzjnb0cwha5r6lxgia4say4zhsl276zn"))))
35536412 1621 (build-system gnu-build-system)
01497dfe 1622 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1623 (synopsis "Xorg PresentProto protocol headers")
1624 (description
1625 "Present Extension provides a way for applications to update their
1626window contents from a pixmap in a well defined fashion, synchronizing
1627with the display refresh and potentially using a more efficient
1628mechanism than copying the contents of the source pixmap.")
35536412 1629 (license (license:x11-style "file://presentproto.h"
314144d2
MB
1630 "See 'presentproto.h' in the distribution."))
1631 (properties `((superseded . ,xorgproto)))))
35536412 1632
bd8c5d5b
AE
1633(define-public printproto
1634 (package
1635 (name "printproto")
1636 (version "1.0.5")
1637 (source
1638 (origin
1639 (method url-fetch)
1640 (uri (string-append
1641 "mirror://xorg/individual/proto/printproto-"
1642 version
1643 ".tar.bz2"))
1644 (sha256
1645 (base32
1646 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1647 (build-system gnu-build-system)
c4c4cc05 1648 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1649 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1650 (synopsis "Xorg PrintProto protocol headers")
1651 (description
1652 "Print Extension defines a protocol for a portable,
1653network-transparent printing system.")
bd8c5d5b
AE
1654 (license license:x11)))
1655
1656
6eb126c5 1657(define-public randrproto
5f1d0fb0 1658 (package
6eb126c5 1659 (name "randrproto")
2c26245b 1660 (version "1.5.0")
5f1d0fb0
AE
1661 (source
1662 (origin
1663 (method url-fetch)
1664 (uri (string-append
9643cff1 1665 "mirror://xorg/individual/proto/randrproto-"
5f1d0fb0
AE
1666 version
1667 ".tar.bz2"))
1668 (sha256
1669 (base32
2c26245b 1670 "0s4496z61y5q45q20gldwpf788b9nsa8hb13gnck1mwwwwrmarsc"))))
5f1d0fb0 1671 (build-system gnu-build-system)
c4c4cc05 1672 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1673 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1674 (synopsis "Xorg RandRProto protocol headers")
1675 (description
1676 "Resize and Rotate Extension defines a protocol for clients to
1677dynamically change X screens, so as to resize, rotate and reflect the root
1678window of a screen.")
bea5239a
MB
1679 (license license:x11)
1680 (properties `((superseded . ,xorgproto)))))
5f1d0fb0
AE
1681
1682
6eb126c5 1683(define-public recordproto
5f1d0fb0 1684 (package
6eb126c5
AE
1685 (name "recordproto")
1686 (version "1.14.2")
5f1d0fb0
AE
1687 (source
1688 (origin
1689 (method url-fetch)
1690 (uri (string-append
d2611ffb 1691 "mirror://xorg/individual/proto/recordproto-"
5f1d0fb0
AE
1692 version
1693 ".tar.bz2"))
1694 (sha256
1695 (base32
6eb126c5 1696 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
5f1d0fb0 1697 (build-system gnu-build-system)
c4c4cc05 1698 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1699 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1700 (synopsis "Xorg RecordProto protocol headers")
1701 (description
1702 "Record Extension defines a protocol for the recording and playback
1703of user actions in the X Window System.")
ec89471d
MB
1704 (license license:x11)
1705 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1706
6eb126c5 1707(define-public renderproto
5f1d0fb0 1708 (package
6eb126c5
AE
1709 (name "renderproto")
1710 (version "0.11.1")
5f1d0fb0
AE
1711 (source
1712 (origin
1713 (method url-fetch)
1714 (uri (string-append
d2611ffb 1715 "mirror://xorg/individual/proto/renderproto-"
5f1d0fb0
AE
1716 version
1717 ".tar.bz2"))
1718 (sha256
1719 (base32
6eb126c5 1720 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
5f1d0fb0 1721 (build-system gnu-build-system)
c4c4cc05 1722 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1723 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1724 (synopsis "Xorg RenderProto protocol headers")
1725 (description
c284dffc 1726 "Rendering Extension defines a protocol for a digital image composition
01bec8a6 1727as the foundation of a new rendering model within the X Window System.")
f579a1d2
MB
1728 (license license:x11)
1729 (properties `((superseded . ,xorgproto)))))
d385b835 1730
6eb126c5 1731(define-public resourceproto
d385b835 1732 (package
6eb126c5
AE
1733 (name "resourceproto")
1734 (version "1.2.0")
d385b835
AE
1735 (source
1736 (origin
1737 (method url-fetch)
1738 (uri (string-append
d2611ffb 1739 "mirror://xorg/individual/proto/resourceproto-"
d385b835
AE
1740 version
1741 ".tar.bz2"))
1742 (sha256
1743 (base32
6eb126c5 1744 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
d385b835 1745 (build-system gnu-build-system)
c4c4cc05 1746 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1747 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1748 (synopsis "Xorg ResourceProto protocol headers")
1749 (description
1750 "Resource Extension defines a protocol that allows a client to
1751query the X server about its usage of various resources.")
2bf1fa98
MB
1752 (license license:x11)
1753 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1754
6eb126c5 1755(define-public scrnsaverproto
5f1d0fb0 1756 (package
6eb126c5
AE
1757 (name "scrnsaverproto")
1758 (version "1.2.2")
5f1d0fb0
AE
1759 (source
1760 (origin
1761 (method url-fetch)
1762 (uri (string-append
d2611ffb 1763 "mirror://xorg/individual/proto/scrnsaverproto-"
5f1d0fb0
AE
1764 version
1765 ".tar.bz2"))
1766 (sha256
1767 (base32
6eb126c5 1768 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
5f1d0fb0 1769 (build-system gnu-build-system)
c4c4cc05 1770 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1771 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1772 (synopsis "Xorg ScrnSaverProto protocol headers")
1773 (description
1774 "Screen Saver Extension defines a protocol to control screensaver
1775features and to query screensaver info on specific windows.")
e399d6ca
MB
1776 (license license:x11)
1777 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1778
6eb126c5 1779(define-public sessreg
5f1d0fb0 1780 (package
6eb126c5 1781 (name "sessreg")
535fc987 1782 (version "1.1.2")
5f1d0fb0 1783 (source
535fc987
TGR
1784 (origin
1785 (method url-fetch)
1786 (uri (string-append
1787 "mirror://xorg/individual/app/sessreg-" version ".tar.bz2"))
1788 (sha256
1789 (base32 "0crczl25zynkrslmm8sjaxszhrh4i33m7h5fg4wfdb3k8aarxjyz"))))
5f1d0fb0
AE
1790 (build-system gnu-build-system)
1791 (inputs
6a6db57f 1792 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
1793 (native-inputs
1794 `(("pkg-config" ,pkg-config)))
01497dfe 1795 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1796 (synopsis "Register X sessions in system utmp/utmpx databases")
1797 (description
1798 "SessReg is a simple program for managing utmp/wtmp entries for X
1799sessions. It was originally written for use with xdm, but may also be
1800used with other display managers such as gdm or kdm.")
d385b835 1801 (license license:x11)))
5f1d0fb0
AE
1802
1803
6eb126c5 1804(define-public setxkbmap
5f1d0fb0 1805 (package
6eb126c5 1806 (name "setxkbmap")
beeeb261 1807 (version "1.3.2")
5f1d0fb0
AE
1808 (source
1809 (origin
1810 (method url-fetch)
1811 (uri (string-append
d2611ffb 1812 "mirror://xorg/individual/app/setxkbmap-"
5f1d0fb0
AE
1813 version
1814 ".tar.bz2"))
1815 (sha256
1816 (base32
beeeb261 1817 "1xdrxs65v7d0rw1yaz0vsz55w4hxym99216p085ya9978j379wlg"))))
5f1d0fb0
AE
1818 (build-system gnu-build-system)
1819 (inputs
6eb126c5 1820 `(("libxkbfile" ,libxkbfile)
ac995eaf 1821 ("xkeyboard-config" ,xkeyboard-config)
c4c4cc05
JD
1822 ("libx11" ,libx11)))
1823 (native-inputs
1824 `(("pkg-config" ,pkg-config)))
ac995eaf
MW
1825 (arguments
1826 `(#:configure-flags
1827 (list (string-append "--with-xkb-config-root="
1828 (assoc-ref %build-inputs "xkeyboard-config")
1829 "/share/X11/xkb"))))
01497dfe 1830 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1831 (synopsis "Set the keyboard using the X Keyboard Extension")
1832 (description
1833 "Setxkbmap is an X11 client to change the keymaps in the X server
1834for a specified keyboard to use the layout determined by the options
1835listed on the command line.")
d385b835 1836 (license license:x11)))
5f1d0fb0
AE
1837
1838
6eb126c5 1839(define-public smproxy
5f1d0fb0 1840 (package
6eb126c5 1841 (name "smproxy")
10814b66 1842 (version "1.0.6")
5f1d0fb0
AE
1843 (source
1844 (origin
1845 (method url-fetch)
1846 (uri (string-append
d2611ffb 1847 "mirror://xorg/individual/app/smproxy-"
5f1d0fb0
AE
1848 version
1849 ".tar.bz2"))
1850 (sha256
1851 (base32
10814b66 1852 "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc"))))
5f1d0fb0
AE
1853 (build-system gnu-build-system)
1854 (inputs
6eb126c5 1855 `(("libxt" ,libxt)
c4c4cc05
JD
1856 ("libxmu" ,libxmu)))
1857 (native-inputs
1858 `(("pkg-config" ,pkg-config)))
01497dfe 1859 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1860 (synopsis "Session Manager Proxy")
1861 (description
1862 "SMProxy allows X applications that do not support X11R6 session
1863management to participate in an X11R6 session.")
d385b835 1864 (license license:x11)))
5f1d0fb0
AE
1865
1866
6eb126c5 1867(define-public util-macros
5f1d0fb0 1868 (package
6eb126c5 1869 (name "util-macros")
9cc46c57 1870 (version "1.19.2")
5f1d0fb0
AE
1871 (source
1872 (origin
1873 (method url-fetch)
1874 (uri (string-append
0a761f1e 1875 "mirror://xorg/individual/util/util-macros-"
5f1d0fb0
AE
1876 version
1877 ".tar.bz2"))
1878 (sha256
1879 (base32
9cc46c57 1880 "04p7ydqxgq37jklnfj18b70zsifiz4h50wvrk94i2112mmv37r6p"))))
5f1d0fb0 1881 (build-system gnu-build-system)
c4c4cc05 1882 (native-inputs `(("pkg-config" ,pkg-config)))
12fa800d 1883 (arguments
0dc61806
TGR
1884 `(#:phases
1885 (modify-phases %standard-phases
1886 (add-after 'unpack 'fix-makefile-in
1887 (lambda _
1888 (substitute* "Makefile.in"
1889 ;; Install xorg-macros.pc in PREFIX/lib/pkgconfig,
1890 ;; not PREFIX/share/pkgconfig.
1891 (("\\$\\(datadir\\)/pkgconfig") "$(libdir)/pkgconfig"))
1892 #t))
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"))
1899 #t))))))
01497dfe 1900 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1901 (synopsis "Xorg autoconf macros")
1902 (description
1903 "This package provides a set of autoconf macros used by the
1904configure.ac scripts in other Xorg modular packages, and is needed to
1905generate new versions of their configure scripts with autoconf.")
d385b835 1906 (license license:x11)))
5f1d0fb0
AE
1907
1908
6eb126c5 1909(define-public videoproto
5f1d0fb0 1910 (package
6eb126c5 1911 (name "videoproto")
6a016375 1912 (version "2.3.3")
5f1d0fb0
AE
1913 (source
1914 (origin
1915 (method url-fetch)
1916 (uri (string-append
0b271d2b 1917 "mirror://xorg/individual/proto/videoproto-"
5f1d0fb0
AE
1918 version
1919 ".tar.bz2"))
1920 (sha256
1921 (base32
6a016375 1922 "00m7rh3pwmsld4d5fpii3xfk5ciqn17kkk38gfpzrrh8zn4ki067"))))
5f1d0fb0 1923 (build-system gnu-build-system)
c4c4cc05 1924 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1925 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1926 (synopsis "Xorg VideoProto protocol headers")
1927 (description
1928 "Video Extension provides a protocol for a video output mechanism,
1929mainly to rescale video playback in the video controller hardware.")
205b83ad
MB
1930 (license license:x11)
1931 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1932
6eb126c5 1933(define-public windowswmproto
5f1d0fb0 1934 (package
6eb126c5
AE
1935 (name "windowswmproto")
1936 (version "1.0.4")
5f1d0fb0
AE
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri (string-append
d2611ffb 1941 "mirror://xorg/individual/proto/windowswmproto-"
5f1d0fb0
AE
1942 version
1943 ".tar.bz2"))
1944 (sha256
1945 (base32
6eb126c5 1946 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
5f1d0fb0 1947 (build-system gnu-build-system)
c4c4cc05 1948 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 1949 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1950 (synopsis "Xorg WindowsWMProto protocol headers")
1951 (description
1952 "WindowsWM Extension defines a protocol, used for coordination between
1953an X11 server and the Microsoft Windows native window manager. WindowsWM
1954is only intended to be used on Cygwin when running a rootless XWin
1955server.")
196abe4d
MB
1956 (license license:x11)
1957 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 1958
6eb126c5 1959(define-public x11perf
5f1d0fb0 1960 (package
6eb126c5 1961 (name "x11perf")
a5c6a752 1962 (version "1.6.1")
5f1d0fb0
AE
1963 (source
1964 (origin
1965 (method url-fetch)
1966 (uri (string-append
d2611ffb 1967 "mirror://xorg/individual/app/x11perf-"
5f1d0fb0
AE
1968 version
1969 ".tar.bz2"))
1970 (sha256
1971 (base32
a5c6a752 1972 "0d3wh6z6znwhfdiv0zaggfj0xgish98xa10yy76b9517zj7hnzhw"))))
5f1d0fb0
AE
1973 (build-system gnu-build-system)
1974 (inputs
6eb126c5
AE
1975 `(("libx11" ,libx11)
1976 ("libxft" ,libxft)
1977 ("libxmu" ,libxmu)
c4c4cc05
JD
1978 ("libxrender" ,libxrender)))
1979 (native-inputs
1980 `(("pkg-config" ,pkg-config)))
01497dfe 1981 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
1982 (synopsis "X server performance benchmarker")
1983 (description
1984 "X11Perf is a simple performance benchmarker for the Xorg X server.")
d385b835 1985 (license license:x11)))
5f1d0fb0
AE
1986
1987
6eb126c5 1988(define-public xauth
5f1d0fb0 1989 (package
6eb126c5 1990 (name "xauth")
45dbc1b2 1991 (version "1.1")
5f1d0fb0 1992 (source
45dbc1b2
TGR
1993 (origin
1994 (method url-fetch)
1995 (uri (string-append "mirror://xorg/individual/app/xauth-" version
1996 ".tar.bz2"))
1997 (sha256
1998 (base32 "032klzzw8r09z36x1272ssd79bcisz8j5p8gbdy111fiknvx27bd"))))
5f1d0fb0 1999 (build-system gnu-build-system)
6eb126c5 2000 (inputs
45dbc1b2
TGR
2001 `(("libxmu" ,libxmu)
2002 ("libxext" ,libxext)
2003 ("libxau" ,libxau)
2004 ("libx11" ,libx11)))
c4c4cc05 2005 (native-inputs
ab115637
KK
2006 `(("cmdtest" ,cmdtest)
2007 ("pkg-config" ,pkg-config)))
01497dfe 2008 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2009 (synopsis "X authority file utility")
2010 (description
2011 "XAuth program is used to edit and display the authorization
2012information used in connecting to the X server.")
d385b835 2013 (license license:x11)))
5f1d0fb0
AE
2014
2015
6eb126c5 2016(define-public xbacklight
5f1d0fb0 2017 (package
6eb126c5 2018 (name "xbacklight")
36cc160e 2019 (version "1.2.3")
5f1d0fb0
AE
2020 (source
2021 (origin
2022 (method url-fetch)
2023 (uri (string-append
da1a6bb3 2024 "mirror://xorg/individual/app/xbacklight-"
5f1d0fb0
AE
2025 version
2026 ".tar.bz2"))
2027 (sha256
2028 (base32
36cc160e 2029 "1plssg0s3pbslg6rfzxp9sx8ryvn8l32zyvc8zp9zsbsfwjg69rs"))))
5f1d0fb0
AE
2030 (build-system gnu-build-system)
2031 (inputs
da1a6bb3
MW
2032 `(("libxcb" ,libxcb)
2033 ("xcb-util" ,xcb-util)))
c4c4cc05 2034 (native-inputs
da1a6bb3 2035 `(("pkg-config" ,pkg-config)))
01497dfe 2036 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2037 (synopsis "Control display backlight")
2038 (description
2039 "Xbacklight is used to adjust the backlight brightness where
2040supported. It uses the RandR extension to find all outputs on the X
2041server supporting backlight brightness control and changes them all in
2042the same way.")
d385b835 2043 (license license:x11)))
5f1d0fb0
AE
2044
2045
6eb126c5 2046(define-public xbitmaps
5f1d0fb0 2047 (package
6eb126c5 2048 (name "xbitmaps")
fd2ebe1e 2049 (version "1.1.2")
5f1d0fb0
AE
2050 (source
2051 (origin
2052 (method url-fetch)
2053 (uri (string-append
d2611ffb 2054 "mirror://xorg/individual/data/xbitmaps-"
5f1d0fb0
AE
2055 version
2056 ".tar.bz2"))
2057 (sha256
2058 (base32
fd2ebe1e 2059 "1vh73sc13s7w5r6gnc6irca56s7998bja7wgdivkfn8jccawgw5r"))))
5f1d0fb0 2060 (build-system gnu-build-system)
c4c4cc05 2061 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2062 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2063 (synopsis "X bitmaps")
2064 (description
2065 "xbitmaps provides basic bitmaps (little pictures) used by some
2066legacy X clients.")
d385b835 2067 (license license:x11)))
5f1d0fb0 2068
fc12bc30
JD
2069(define-public xcalc
2070 (package
2071 (name "xcalc")
10a303a4 2072 (version "1.1.0")
fc12bc30
JD
2073 (source
2074 (origin
2075 (method url-fetch)
e28f3cd9
TGR
2076 (uri (string-append "mirror://xorg/individual/app/"
2077 "xcalc-" version ".tar.gz"))
fc12bc30 2078 (sha256
10a303a4 2079 (base32 "0c768lh0nh28ram9ldldhaf51024fngc589v4pjmf3lxmzcihr58"))))
fc12bc30
JD
2080 (build-system gnu-build-system)
2081 (arguments
2082 `(#:phases (modify-phases %standard-phases
2083 (add-after
2084 'configure 'mutate-makefile
2085 (lambda _
2086 (substitute* "Makefile"
2087 (("^appdefaultdir = .*$")
2088 (string-append "appdefaultdir = " %output
2089 ,%app-defaults-dir "\n")))
2090 #t)))))
2091 (inputs
2092 `(("libxaw" ,libxaw)))
2093 (native-inputs
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
2098emulate a TI-30 or an HP-10C.")
2099 (license license:x11)))
2100
5f1d0fb0 2101
6eb126c5 2102(define-public xcb-proto
5f1d0fb0 2103 (package
6eb126c5 2104 (name "xcb-proto")
460d07b4 2105 (version "1.13")
5f1d0fb0
AE
2106 (source
2107 (origin
2108 (method url-fetch)
2109 (uri (string-append
ba5e23d6 2110 "https://xcb.freedesktop.org/dist/xcb-proto-"
5f1d0fb0
AE
2111 version
2112 ".tar.bz2"))
2113 (sha256
2114 (base32
460d07b4 2115 "1qdxw9syhbvswiqj5dvj278lrmfhs81apzmvx6205s4vcqg7563v"))))
5f1d0fb0 2116 (build-system gnu-build-system)
c4c4cc05 2117 (native-inputs
95288fcc 2118 `(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
ba5e23d6 2119 (home-page "https://xcb.freedesktop.org/")
01bec8a6
AK
2120 (synopsis "XML-XCB protocol descriptions")
2121 (description
2122 "XCB-Proto provides the XML-XCB protocol descriptions that libxcb
2123uses to generate the majority of its code and API. XCB-Proto is
2124separated from libxcb to allow reuse by other projects, such as
2125additional language bindings, protocol dissectors, or documentation
2126generators.
2127
2128XCB-Proto also contains language-independent Python libraries that are
2129used to parse an XML description and create objects used by Python code
2130generators in individual language bindings.")
d385b835 2131 (license license:x11)))
5f1d0fb0
AE
2132
2133
6eb126c5 2134(define-public xcmiscproto
5f1d0fb0 2135 (package
6eb126c5
AE
2136 (name "xcmiscproto")
2137 (version "1.2.2")
5f1d0fb0
AE
2138 (source
2139 (origin
2140 (method url-fetch)
2141 (uri (string-append
d2611ffb 2142 "mirror://xorg/individual/proto/xcmiscproto-"
5f1d0fb0
AE
2143 version
2144 ".tar.bz2"))
2145 (sha256
2146 (base32
6eb126c5 2147 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
5f1d0fb0 2148 (build-system gnu-build-system)
c4c4cc05 2149 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2150 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2151 (synopsis "Xorg XCMiscProto protocol headers")
2152 (description
2153 "XC-MISC Extension defines a protocol that provides Xlib two ways
2154to query the server for available resource IDs.")
b9469160
MB
2155 (license license:x11)
2156 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 2157
6eb126c5 2158(define-public xcmsdb
5f1d0fb0 2159 (package
6eb126c5 2160 (name "xcmsdb")
b1b3ab34 2161 (version "1.0.5")
5f1d0fb0
AE
2162 (source
2163 (origin
2164 (method url-fetch)
2165 (uri (string-append
d2611ffb 2166 "mirror://xorg/individual/app/xcmsdb-"
5f1d0fb0
AE
2167 version
2168 ".tar.bz2"))
2169 (sha256
2170 (base32
b1b3ab34 2171 "1ik7gzlp2igz183x70883000ygp99r20x3aah6xhaslbpdhm6n75"))))
5f1d0fb0 2172 (build-system gnu-build-system)
6eb126c5 2173 (inputs
c4c4cc05
JD
2174 `(("libx11" ,libx11)))
2175 (native-inputs
2176 `(("pkg-config" ,pkg-config)))
01497dfe 2177 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2178 (synopsis "Device Color Characterization utility")
2179 (description
2180 "XCMSDB is used to load, query, or remove Device Color
2181Characterization data stored in properties on the root window of the
2182screen as specified in section 7, Device Color Characterization, of the
2183X11 Inter-Client Communication Conventions Manual (ICCCM).")
d385b835 2184 (license license:x11)))
5f1d0fb0
AE
2185
2186
6eb126c5 2187(define-public xcursor-themes
5f1d0fb0 2188 (package
6eb126c5 2189 (name "xcursor-themes")
93fee74a 2190 (version "1.0.6")
5f1d0fb0
AE
2191 (source
2192 (origin
2193 (method url-fetch)
2194 (uri (string-append
73e122be 2195 "mirror://xorg/individual/data/xcursor-themes-"
5f1d0fb0
AE
2196 version
2197 ".tar.bz2"))
2198 (sha256
2199 (base32
93fee74a 2200 "16a96li0s0ggg60v7f6ywxmsrmxdfizcw55ccv7sp4qjfisca7pf"))))
5f1d0fb0 2201 (build-system gnu-build-system)
6eb126c5
AE
2202 (inputs
2203 `(("libxcursor" ,libxcursor)
6eb126c5 2204 ("xcursorgen" ,xcursorgen)))
c4c4cc05
JD
2205 (native-inputs
2206 `(("pkg-config" ,pkg-config)))
93be8dc4
AE
2207 (arguments
2208 `(#:configure-flags
2209 (list (string-append "--with-cursordir="
2210 (assoc-ref %outputs "out")
2211 "/share/icons"))))
01497dfe 2212 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2213 (synopsis "Default Xorg cursors")
2214 (description
2215 "This package provides a default set of cursor themes for the Xorg
36a4366d 2216X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
d385b835 2217 (license license:x11)))
5f1d0fb0
AE
2218
2219
6eb126c5 2220(define-public xcursorgen
5f1d0fb0 2221 (package
6eb126c5 2222 (name "xcursorgen")
7469b98d 2223 (version "1.0.7")
5f1d0fb0
AE
2224 (source
2225 (origin
2226 (method url-fetch)
2227 (uri (string-append
125d405f 2228 "mirror://xorg/individual/app/xcursorgen-"
5f1d0fb0
AE
2229 version
2230 ".tar.bz2"))
2231 (sha256
2232 (base32
7469b98d 2233 "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim"))))
5f1d0fb0
AE
2234 (build-system gnu-build-system)
2235 (inputs
6eb126c5 2236 `(("libxcursor" ,libxcursor)
c4c4cc05
JD
2237 ("libpng" ,libpng)))
2238 (native-inputs
2239 `(("pkg-config" ,pkg-config)))
01497dfe 2240 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2241 (synopsis "Create an X cursor file from PNG images")
2242 (description
2243 "XCursorGen prepares X11 cursor sets for use with libXcursor.")
d385b835 2244 (license license:x11)))
5f1d0fb0
AE
2245
2246
6eb126c5 2247(define-public xdpyinfo
5f1d0fb0 2248 (package
6eb126c5 2249 (name "xdpyinfo")
c6be2454 2250 (version "1.3.2")
5f1d0fb0
AE
2251 (source
2252 (origin
2253 (method url-fetch)
2254 (uri (string-append
39deb4b1 2255 "mirror://xorg/individual/app/xdpyinfo-"
5f1d0fb0
AE
2256 version
2257 ".tar.bz2"))
2258 (sha256
2259 (base32
c6be2454 2260 "0ldgrj4w2fa8jng4b3f3biaj0wyn8zvya88pnk70d7k12pcqw8rh"))))
5f1d0fb0
AE
2261 (build-system gnu-build-system)
2262 (inputs
82b4d9ec 2263 `(("xorgproto" ,xorgproto)
c7f99931 2264 ("libx11" ,libx11)
6eb126c5 2265 ("libxxf86vm" ,libxxf86vm)
6eb126c5
AE
2266 ("libxxf86dga" ,libxxf86dga)
2267 ("libxtst" ,libxtst)
2268 ("libxrender" ,libxrender)
2269 ("libxinerama" ,libxinerama)
2270 ("libxi" ,libxi)
6eb126c5 2271 ("libxcomposite" ,libxcomposite)
c4c4cc05
JD
2272 ("libdmx" ,libdmx)))
2273 (native-inputs
2274 `(("pkg-config" ,pkg-config)))
01497dfe 2275 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2276 (synopsis "Xorg display information utility")
2277 (description
2278 "Xdpyinfo is used to display information about an X server: the
2279capabilities of a server, the predefined values for various parameters
2280used in communicating between clients and the server, and the different
2281types of screens, visuals, and X11 protocol extensions that are
2282available.")
d385b835 2283 (license license:x11)))
5f1d0fb0
AE
2284
2285
6eb126c5 2286(define-public xdriinfo
5f1d0fb0 2287 (package
6eb126c5 2288 (name "xdriinfo")
9dda6dad 2289 (version "1.0.6")
5f1d0fb0
AE
2290 (source
2291 (origin
2292 (method url-fetch)
2293 (uri (string-append
d2611ffb 2294 "mirror://xorg/individual/app/xdriinfo-"
5f1d0fb0
AE
2295 version
2296 ".tar.bz2"))
2297 (sha256
2298 (base32
9dda6dad 2299 "0lcx8h3zd11m4w8wf7dyp89826d437iz78cyrix436bqx31x5k6r"))))
5f1d0fb0
AE
2300 (build-system gnu-build-system)
2301 (inputs
d539646a 2302 `(("mesa" ,mesa)
c4c4cc05
JD
2303 ("libx11" ,libx11)))
2304 (native-inputs
2305 `(("pkg-config" ,pkg-config)))
01497dfe 2306 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2307 (synopsis "Query DRI configuration information")
2308 (description
2309 "XDRIInfo is used to query configuration information of X11
2310DRI (Direct Rendering Infrastructure) drivers.")
d385b835 2311 (license license:x11)))
5f1d0fb0
AE
2312
2313
6eb126c5 2314(define-public xev
5f1d0fb0 2315 (package
6eb126c5 2316 (name "xev")
bcc39dad 2317 (version "1.2.3")
5f1d0fb0
AE
2318 (source
2319 (origin
2320 (method url-fetch)
2321 (uri (string-append
edc2ad8e 2322 "mirror://xorg/individual/app/xev-"
5f1d0fb0
AE
2323 version
2324 ".tar.bz2"))
2325 (sha256
2326 (base32
bcc39dad 2327 "02ddsdx138g7szhwklpbzi0cxr34871iay3k28kdcihrz8f4zg36"))))
5f1d0fb0 2328 (build-system gnu-build-system)
6eb126c5
AE
2329 (inputs
2330 `(("libxrender" ,libxrender)
2331 ("libxrandr" ,libxrandr)
6a6db57f 2332 ("xorgproto" ,xorgproto)
c4c4cc05
JD
2333 ("libx11" ,libx11)))
2334 (native-inputs
2335 `(("pkg-config" ,pkg-config)))
bcc39dad 2336 (home-page "https://gitlab.freedesktop.org/xorg/app/xev")
01bec8a6
AK
2337 (synopsis "Print contents of X events")
2338 (description
2339 "XEv creates a window and then asks the X server to send it X11
2340events whenever anything happens to the window (such as it being moved,
2341resized, typed in, clicked in, etc.). You can also attach it to an
2342existing window. It is useful for seeing what causes events to occur
2343and to display the information that they contain; it is essentially a
2344debugging and development tool, and should not be needed in normal
2345usage.")
d385b835 2346 (license license:x11)))
5f1d0fb0
AE
2347
2348
6eb126c5 2349(define-public xextproto
5f1d0fb0 2350 (package
6eb126c5 2351 (name "xextproto")
e8453d7b 2352 (version "7.3.0")
5f1d0fb0
AE
2353 (source
2354 (origin
2355 (method url-fetch)
2356 (uri (string-append
e8453d7b 2357 "mirror://xorg/individual/proto/xextproto-"
5f1d0fb0
AE
2358 version
2359 ".tar.bz2"))
2360 (sha256
2361 (base32
e8453d7b 2362 "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k"))))
5f1d0fb0 2363 (build-system gnu-build-system)
c4c4cc05 2364 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2365 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2366 (synopsis "Xorg XExtProto protocol headers")
2367 (description
2368 "XExtProto provides the following extensions: DOUBLE-BUFFER, DPMS,
2369Extended-Visual-Information, Generic Event Extension, LBX, MIT-SHM,
2370MIT-SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP,
2371XC-APPGROUP, XTEST.")
caf90259
MB
2372 (license license:x11)
2373 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 2374
ab9d06be
MW
2375(define-public libevdev
2376 (package
2377 (name "libevdev")
573b0733 2378 (version "1.5.9")
ab9d06be
MW
2379 (source
2380 (origin
2381 (method url-fetch)
5cc3096c 2382 (uri (string-append "https://www.freedesktop.org/software/" name "/"
ab9d06be
MW
2383 name "-" version ".tar.xz"))
2384 (sha256
2385 (base32
573b0733 2386 "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1"))))
ab9d06be 2387 (build-system gnu-build-system)
43d4c229
MB
2388 (arguments
2389 `(#:phases (modify-phases %standard-phases
2390 (add-before 'configure 'pedantry
2391 (lambda _
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"))
2399 #t)))))
ab9d06be 2400 (native-inputs `(("python" ,python)))
f077aa2b 2401 (home-page "https://www.freedesktop.org/wiki/Software/libevdev/")
ab9d06be
MW
2402 (synopsis "Wrapper library for evdev devices")
2403 (description
2404 "libevdev is a wrapper library for evdev devices. it moves the common
2405tasks when dealing with evdev devices into a library and provides a library
2406interface to the callers, thus avoiding erroneous ioctls, etc.
2407
2408The eventual goal is that libevdev wraps all ioctls available to evdev
2409devices, thus making direct access unnecessary.")
8f501ac8 2410 (license (license:x11-style "file://COPYING"))))
ab9d06be
MW
2411
2412
6eb126c5 2413(define-public xf86-input-evdev
5f1d0fb0 2414 (package
6eb126c5 2415 (name "xf86-input-evdev")
4276b0dc 2416 (version "2.10.6")
5f1d0fb0
AE
2417 (source
2418 (origin
2419 (method url-fetch)
2420 (uri (string-append
04074a95 2421 "mirror://xorg/individual/driver/xf86-input-evdev-"
5f1d0fb0
AE
2422 version
2423 ".tar.bz2"))
2424 (sha256
2425 (base32
4276b0dc 2426 "1h1y0fwnawlp4yc5llr1l7hwfcxxpln2fxhy6arcf6w6h4z0f9l7"))))
5f1d0fb0 2427 (build-system gnu-build-system)
4e3a820b 2428 (inputs
04074a95
MW
2429 `(("udev" ,eudev)
2430 ("libevdev" ,libevdev)
d44d7249 2431 ("mtdev" ,mtdev)
4e3a820b 2432 ("xorg-server" ,xorg-server)))
c4c4cc05 2433 (native-inputs `(("pkg-config" ,pkg-config)))
4e3a820b
AE
2434 (arguments
2435 `(#:configure-flags
2436 (list (string-append "--with-sdkdir="
2437 (assoc-ref %outputs "out")
2438 "/include/xorg"))))
01497dfe 2439 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2440 (synopsis "Generic input driver for X server")
2441 (description
2442 "xf86-input-evdev is a generic input driver for the Xorg X server.
2443This driver supports all input devices that the kernel knows about,
2444including most mice, keyboards, tablets and touchscreens.")
d385b835 2445 (license license:x11)))
5f1d0fb0 2446
e3cadeba
SB
2447(define-public xf86-input-libinput
2448 (package
2449 (name "xf86-input-libinput")
67d6df5c 2450 (version "0.28.2")
e3cadeba
SB
2451 (source (origin
2452 (method url-fetch)
2453 (uri (string-append
2454 "mirror://xorg/individual/driver/"
2455 name "-" version ".tar.bz2"))
2456 (sha256
2457 (base32
67d6df5c 2458 "0818vr0yhk9j1y1wcbxzcd458vrvp06rrhi8k43bhqkb5jb4dcxq"))))
e3cadeba
SB
2459 (build-system gnu-build-system)
2460 (arguments
2461 '(#:configure-flags
2462 (list (string-append "--with-sdkdir="
2463 %output "/include/xorg"))))
2464 (native-inputs
2465 `(("pkg-config" ,pkg-config)))
2466 (inputs
2467 `(("libinput" ,libinput)
2468 ("xorg-server" ,xorg-server)))
01497dfe 2469 (home-page "https://www.x.org/wiki/")
01bec8a6 2470 (synopsis "Input driver for X server based on libinput")
e3cadeba 2471 (description
01bec8a6
AK
2472 "xf86-input-libinput is an input driver for the Xorg X server based
2473on libinput. It is a thin wrapper around libinput, so while it does
2474provide all features that libinput supports it does little beyond.")
e3cadeba 2475 (license license:x11)))
5f1d0fb0 2476
6eb126c5 2477(define-public xf86-input-joystick
5f1d0fb0 2478 (package
6eb126c5 2479 (name "xf86-input-joystick")
5de2ec6d 2480 (version "1.6.3")
5f1d0fb0
AE
2481 (source
2482 (origin
2483 (method url-fetch)
2484 (uri (string-append
aa868f6d 2485 "mirror://xorg/individual/driver/xf86-input-joystick-"
5f1d0fb0
AE
2486 version
2487 ".tar.bz2"))
2488 (sha256
2489 (base32
5de2ec6d 2490 "1awfq496d082brgjbr60lhm6jvr9537rflwxqdfqwfzjy3n6jxly"))))
5f1d0fb0 2491 (build-system gnu-build-system)
c4c4cc05
JD
2492 (inputs `(("xorg-server" ,xorg-server)))
2493 (native-inputs `(("pkg-config" ,pkg-config)))
c9cb0825
AE
2494 (arguments
2495 `(#:configure-flags
2496 (list (string-append "--with-sdkdir="
2497 (assoc-ref %outputs "out")
2498 "/include/xorg"))))
01497dfe 2499 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2500 (synopsis "Joystick input driver for X server")
2501 (description
2502 "xf86-input-joystick is a joystick input driver for the Xorg X server.
dcdafc6e 2503It is used to control the pointer with a joystick device.")
d385b835 2504 (license license:x11)))
5f1d0fb0
AE
2505
2506
6eb126c5 2507(define-public xf86-input-keyboard
5f1d0fb0 2508 (package
6eb126c5 2509 (name "xf86-input-keyboard")
3f1b4bc3 2510 (version "1.9.0")
5f1d0fb0
AE
2511 (source
2512 (origin
2513 (method url-fetch)
2514 (uri (string-append
02c9f9ca 2515 "mirror://xorg/individual/driver/xf86-input-keyboard-"
5f1d0fb0
AE
2516 version
2517 ".tar.bz2"))
2518 (sha256
2519 (base32
3f1b4bc3 2520 "12032yg412kyvnmc5fha1in7mpi651d8sa1bk4138s2j2zr01jgp"))))
5f1d0fb0 2521 (build-system gnu-build-system)
c4c4cc05
JD
2522 (inputs `(("xorg-server" ,xorg-server)))
2523 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2524 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2525 (synopsis "Keyboard input driver for X server")
2526 (description
2527 "xf86-input-keyboard is a keyboard input driver for the Xorg X server.")
d385b835 2528 (license license:x11)))
5f1d0fb0
AE
2529
2530
6eb126c5 2531(define-public xf86-input-mouse
5f1d0fb0 2532 (package
6eb126c5 2533 (name "xf86-input-mouse")
641e387a 2534 (version "1.9.3")
5f1d0fb0
AE
2535 (source
2536 (origin
2537 (method url-fetch)
2538 (uri (string-append
9b1cd1e5 2539 "mirror://xorg/individual/driver/xf86-input-mouse-"
5f1d0fb0
AE
2540 version
2541 ".tar.bz2"))
2542 (sha256
2543 (base32
641e387a 2544 "1iawr1wyl2qch1mqszcs0s84i92mh4xxprflnycbw1adc18b7v4k"))))
5f1d0fb0 2545 (build-system gnu-build-system)
c4c4cc05
JD
2546 (inputs `(("xorg-server" ,xorg-server)))
2547 (native-inputs `(("pkg-config" ,pkg-config)))
9b1cd1e5
MW
2548 (arguments
2549 `(#:configure-flags
2550 (list (string-append "--with-sdkdir="
2551 (assoc-ref %outputs "out")
2552 "/include/xorg"))))
01497dfe 2553 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2554 (synopsis "Mouse input driver for X server")
2555 (description
2556 "xf86-input-mouse is a mouse input driver for the Xorg X server.
2557This driver supports four classes of mice: serial, bus and PS/2 mice,
2558and additional mouse types supported by specific operating systems, such
2559as USB mice.")
d385b835 2560 (license license:x11)))
5f1d0fb0
AE
2561
2562
6eb126c5 2563(define-public xf86-input-synaptics
5f1d0fb0 2564 (package
6eb126c5 2565 (name "xf86-input-synaptics")
7b7e30ca 2566 (version "1.9.1")
5f1d0fb0
AE
2567 (source
2568 (origin
2569 (method url-fetch)
2570 (uri (string-append
2750ee5b 2571 "mirror://xorg/individual/driver/xf86-input-synaptics-"
5f1d0fb0
AE
2572 version
2573 ".tar.bz2"))
2574 (sha256
2575 (base32
7b7e30ca 2576 "0xhm03qywwfgkpfl904d08lx00y28m1b6lqmks5nxizixwk3by3s"))))
5f1d0fb0 2577 (build-system gnu-build-system)
84419dfd
AE
2578 (inputs `(("libx11" ,libx11)
2579 ("libxi" ,libxi)
2750ee5b 2580 ("libevdev" ,libevdev)
84419dfd 2581 ("mtdev" ,mtdev)
917748dd 2582 ("xorg-server" ,xorg-server)))
c4c4cc05 2583 (native-inputs `(("pkg-config" ,pkg-config)))
de9c5046
AE
2584 (arguments
2585 `(#:configure-flags
2586 (list (string-append "--with-sdkdir="
2587 (assoc-ref %outputs "out")
2588 "/include/xorg")
2589 (string-append "--with-xorg-conf-dir="
2590 (assoc-ref %outputs "out")
2591 "/share/X11/xorg.conf.d"))))
01497dfe 2592 (home-page "https://www.x.org/wiki/")
01bec8a6 2593 (synopsis "Touchpad input driver for X server")
b5d9beaa 2594 (description
01bec8a6 2595 "xf86-input-synaptics is a touchpad driver for the Xorg X server.")
d385b835 2596 (license license:x11)))
5f1d0fb0
AE
2597
2598
6eb126c5 2599(define-public xf86-input-void
5f1d0fb0 2600 (package
6eb126c5 2601 (name "xf86-input-void")
746e6710 2602 (version "1.4.1")
5f1d0fb0
AE
2603 (source
2604 (origin
2605 (method url-fetch)
2606 (uri (string-append
d2611ffb 2607 "mirror://xorg/individual/driver/xf86-input-void-"
5f1d0fb0
AE
2608 version
2609 ".tar.bz2"))
2610 (sha256
2611 (base32
746e6710 2612 "171k8b8s42s3w73l7ln9jqwk88w4l7r1km2blx1vy898c854yvpr"))))
5f1d0fb0 2613 (build-system gnu-build-system)
c4c4cc05
JD
2614 (inputs `(("xorg-server" ,xorg-server)))
2615 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2616 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2617 (synopsis "Void (null) input driver for X server")
2618 (description
2619 "xf86-input-void is a null input driver for the Xorg X server.")
d385b835 2620 (license license:x11)))
5f1d0fb0 2621
562d13e1
PN
2622(define-public xf86-video-amdgpu
2623 (package
2624 (name "xf86-video-amdgpu")
cbea3313 2625 (version "19.0.1")
562d13e1 2626 (source
77ad8ec4
TGR
2627 (origin
2628 (method url-fetch)
2629 (uri (string-append "mirror://xorg/individual/driver/"
2630 "xf86-video-amdgpu-" version ".tar.bz2"))
2631 (sha256
cbea3313 2632 (base32 "1mf6s7i423b2xyl469kwnakrpp5fr41sm8hh7vli5jxdd8crg8da"))))
562d13e1
PN
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")
2638 (description
2639 "xf86-video-amdgpu is an AMD Radeon video driver for the Xorg
2640X server.")
2641 (license license:x11)))
5f1d0fb0 2642
6eb126c5 2643(define-public xf86-video-ark
5f1d0fb0 2644 (package
6eb126c5 2645 (name "xf86-video-ark")
ea73576b 2646 (version "0.7.5")
5f1d0fb0
AE
2647 (source
2648 (origin
2649 (method url-fetch)
2650 (uri (string-append
ea73576b 2651 "mirror://xorg/individual/driver/xf86-video-ark-"
5f1d0fb0
AE
2652 version
2653 ".tar.bz2"))
2654 (sha256
2655 (base32
ea73576b 2656 "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
fc1adab1 2657 (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
5f1d0fb0 2658 (build-system gnu-build-system)
c4c4cc05
JD
2659 (inputs `(("xorg-server" ,xorg-server)))
2660 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2661 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2662 (synopsis "Ark Logic video driver for X server")
2663 (description
2664 "xf86-video-ark is an Ark Logic video driver for the Xorg X server.")
d385b835 2665 (license license:x11)))
5f1d0fb0 2666
c5c1e410
MB
2667(define-public xf86-video-ast
2668 (package
2669 (name "xf86-video-ast")
2670 (version "1.1.5")
2671 (home-page "https://cgit.freedesktop.org/xorg/driver/xf86-video-ast/")
2672 (source (origin
2673 (method url-fetch)
2674 (uri (string-append
2675 "mirror://xorg/individual/driver/xf86-video-ast-"
2676 version ".tar.bz2"))
2677 (sha256
2678 (base32
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")
2684 (description
2685 "xf86-video-ast is an ASpeed Technologies video driver for the Xorg
2686X server.")
2687 (license license:x11)))
5f1d0fb0 2688
6eb126c5 2689(define-public xf86-video-ati
9aea24b6 2690 (package
6eb126c5 2691 (name "xf86-video-ati")
bcc27a65 2692 (version "19.0.1")
9aea24b6 2693 (source
0330d6b2
TGR
2694 (origin
2695 (method url-fetch)
2696 (uri (string-append "mirror://xorg/individual/driver/"
2697 "xf86-video-ati-" version ".tar.bz2"))
2698 (sha256
bcc27a65 2699 (base32 "1c31g5q5p3nk9nscwikh1vvfnhdwsxiw7j8v678nlm34hrfh3djw"))))
9aea24b6 2700 (build-system gnu-build-system)
917748dd 2701 (inputs `(("mesa" ,mesa)
a1f78b42 2702 ("xorgproto" ,xorgproto)
917748dd 2703 ("xorg-server" ,xorg-server)))
c4c4cc05 2704 (native-inputs `(("pkg-config" ,pkg-config)))
316fdeb2 2705 (arguments `(#:configure-flags `("--disable-glamor"))) ; TODO: Enable glamor
01497dfe 2706 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2707 (synopsis "ATI Radeon video driver for X server")
2708 (description
2709 "xf86-video-ati is an ATI Radeon video driver for the Xorg
2710X server.")
d385b835 2711 (license license:x11)))
5f1d0fb0
AE
2712
2713
6eb126c5 2714(define-public xf86-video-cirrus
9aea24b6 2715 (package
6eb126c5 2716 (name "xf86-video-cirrus")
6bc2fa7c 2717 (version "1.5.3")
9aea24b6
AE
2718 (source
2719 (origin
2720 (method url-fetch)
2721 (uri (string-append
102e8fc0 2722 "mirror://xorg/individual/driver/xf86-video-cirrus-"
9aea24b6
AE
2723 version
2724 ".tar.bz2"))
2725 (sha256
2726 (base32
6bc2fa7c 2727 "1asifc6ld2g9kap15vfhvsvyl69lj7pw3d9ra9mi4najllh7pj7d"))))
9aea24b6 2728 (build-system gnu-build-system)
c4c4cc05
JD
2729 (inputs `(("xorg-server" ,xorg-server)))
2730 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2731 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2732 (synopsis "Cirrus Logic video driver for X server")
2733 (description
2734 "xf86-video-cirrus is a Cirrus Logic video driver for the Xorg
2735X server.")
d385b835 2736 (license license:x11)))
5f1d0fb0
AE
2737
2738
124b7f1e 2739;; non-free license
6eb126c5 2740;; (define-public xf86-video-dummy
6eb126c5
AE
2741
2742
2743(define-public xf86-video-fbdev
9aea24b6 2744 (package
6eb126c5 2745 (name "xf86-video-fbdev")
8cfcb6ba 2746 (version "0.5.0")
9aea24b6
AE
2747 (source
2748 (origin
2749 (method url-fetch)
2750 (uri (string-append
2c0a2d7a 2751 "mirror://xorg/individual/driver/xf86-video-fbdev-"
9aea24b6
AE
2752 version
2753 ".tar.bz2"))
2754 (sha256
2755 (base32
8cfcb6ba 2756 "16a66zr0l1lmssa07i3rzy07djxnb45c17ks8c71h8l06xgxihyw"))))
9aea24b6 2757 (build-system gnu-build-system)
c4c4cc05
JD
2758 (inputs `(("xorg-server" ,xorg-server)))
2759 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2760 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2761 (synopsis "Framebuffer device video driver for X server")
2762 (description
2763 "xf86-video-fbdev is a video driver for the Xorg X server for
2764framebuffer device.")
d385b835 2765 (license license:x11)))
5f1d0fb0
AE
2766
2767
826adfdb
EF
2768(define-public xf86-video-freedreno
2769 (let ((commit "ccba8f89995de7d5e1b216e580b789c4cda05035"))
2770 (package
2771 (name "xf86-video-freedreno")
2772 (version (string-append "1.4.0-1-" (string-take commit 7)))
2773 (source
2774 (origin
2775 ;; there's no current tarball
2776 (method git-fetch)
2777 (uri (git-reference
2778 (url (string-append "https://anongit.freedesktop.org/git/xorg/"
2779 "driver/xf86-video-freedreno.git"))
2780 (commit commit)))
2781 (sha256
2782 (base32
2783 "0bl9m1agi793lcddv94j8afzw1xc9w810q91mbq0n3dscbbcr9nh"))
2784 (file-name (string-append name "-" version))))
2785 (build-system gnu-build-system)
2786 (inputs
2787 `(("libdrm" ,libdrm)
2788 ("mesa" ,mesa)
2789 ("udev" ,eudev)
15d61488
EF
2790 ("xorg-server" ,xorg-server)
2791 ("zlib" ,zlib)))
826adfdb
EF
2792 (native-inputs
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"))
2799 (arguments
2800 `(#:configure-flags
2801 (list (string-append "--with-xorg-conf-dir="
2802 (assoc-ref %outputs "out")
189be331 2803 "/share/X11/xorg.conf.d"))))
826adfdb
EF
2804 (home-page "https://www.x.org/wiki/")
2805 (synopsis "Adreno video driver for X server")
2806 (description
2807 "xf86-video-freedreno is a 2D graphics driver for the Xorg X server.
2808It supports a variety of Adreno graphics chipsets.")
2809 (license license:x11))))
2810
2811
232af79e
MW
2812(define-public xf86-video-geode
2813 (package
2814 (name "xf86-video-geode")
eed214ef 2815 (version "2.11.19")
232af79e
MW
2816 (source
2817 (origin
2818 (method url-fetch)
2819 (uri (string-append
2820 "mirror://xorg/individual/driver/xf86-video-geode-"
2821 version
2822 ".tar.bz2"))
2823 (sha256
2824 (base32
eed214ef 2825 "0zn9gb49grds5mcs1dlrx241k2w1sgqmx4i5x7v6159xxqhlqsf6"))
fc1adab1 2826 (patches (search-patches "xf86-video-geode-glibc-2.20.patch"))))
232af79e 2827 (build-system gnu-build-system)
d4fe27fe
ML
2828 (inputs `(("xorg-server" ,xorg-server)))
2829 (native-inputs `(("pkg-config" ,pkg-config)))
a884ad0b
MW
2830 (supported-systems
2831 ;; This driver is only supported on i686 systems.
2832 (filter (lambda (system) (string-prefix? "i686-" system))
2833 %supported-systems))
01497dfe 2834 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2835 (synopsis "AMD Geode GX/LX video driver for X server")
2836 (description
2837 "xf86-video-geode is an Xorg X server video driver for the AMD
2838Geode GX and LX processors. The GX component supports both XAA and EXA
2839for graphics acceleration. The LX component supports EXA, including
2840compositing. Both support Xv overlay and dynamic rotation with XRandR.")
232af79e 2841 (license license:x11)))
5f1d0fb0
AE
2842
2843
1f44111f
AE
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
2848;; (package
2849;; (name "xf86-video-glide")
2850;; (version "1.2.0")
2851;; (source
2852;; (origin
2853;; (method url-fetch)
2854;; (uri (string-append
2855;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2856;; version
2857;; ".tar.bz2"))
2858;; (sha256
2859;; (base32
2860;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2861;; (build-system gnu-build-system)
2862;; (inputs `(("pkg-config" ,pkg-config)
2863;; ("xorg-server" ,xorg-server)))
01497dfe 2864;; (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2865;; (synopsis "Glide video driver for X server")
2866;; (description
2867;; "xf86-video-glide is a Glide video driver for the Xorg X server.")
1f44111f 2868;; (license license:x11)))
5f1d0fb0
AE
2869
2870
6eb126c5 2871(define-public xf86-video-glint
9aea24b6 2872 (package
6eb126c5 2873 (name "xf86-video-glint")
a0029fda 2874 (version "1.2.9")
9aea24b6
AE
2875 (source
2876 (origin
2877 (method url-fetch)
2878 (uri (string-append
becb7c99 2879 "mirror://xorg/individual/driver/xf86-video-glint-"
9aea24b6
AE
2880 version
2881 ".tar.bz2"))
2882 (sha256
2883 (base32
a0029fda 2884 "1lkpspvrvrp9s539bhfdjfh4andaqyk63l6zjn8m3km95smk6a45"))))
9aea24b6 2885 (build-system gnu-build-system)
ab667712 2886 (inputs `(("xorgproto" ,xorgproto)
917748dd 2887 ("xorg-server" ,xorg-server)))
c4c4cc05 2888 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2889 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2890 (synopsis "GLINT/Permedia video driver for X server")
2891 (description
2892 "xf86-video-glint is a GLINT/Permedia video driver for the Xorg
2893X server.")
d385b835 2894 (license license:x11)))
5f1d0fb0
AE
2895
2896
6eb126c5 2897(define-public xf86-video-i128
9aea24b6 2898 (package
6eb126c5 2899 (name "xf86-video-i128")
9fd6f2a7 2900 (version "1.4.0")
9aea24b6
AE
2901 (source
2902 (origin
2903 (method url-fetch)
2904 (uri (string-append
75040072 2905 "mirror://xorg/individual/driver/xf86-video-i128-"
9aea24b6
AE
2906 version
2907 ".tar.bz2"))
2908 (sha256
2909 (base32
9fd6f2a7 2910 "1snhpv1igrhifcls3r498kjd14ml6x2xvih7zk9xlsd1ymmhlb4g"))))
9aea24b6 2911 (build-system gnu-build-system)
c4c4cc05
JD
2912 (inputs `(("xorg-server" ,xorg-server)))
2913 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 2914 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2915 (synopsis "I128 video driver for X server")
2916 (description
2917 "xf86-video-i128 is an I128 (Imagine 128) video driver for the Xorg
2918X server.")
d385b835 2919 (license license:x11)))
5f1d0fb0
AE
2920
2921
6eb126c5 2922(define-public xf86-video-intel
615d8c89
MB
2923 (let ((commit "f66d39544bb8339130c96d282a80f87ca1606caf")
2924 (revision "15"))
6cc328b4
AW
2925 (package
2926 (name "xf86-video-intel")
3dafde0d 2927 (version (git-version "2.99.917" revision commit))
6cc328b4
AW
2928 (source
2929 (origin
2930 ;; there's no current tarball
2931 (method git-fetch)
2932 (uri (git-reference
01497dfe 2933 (url "https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel.git")
6cc328b4
AW
2934 (commit commit)))
2935 (sha256
2936 (base32
615d8c89 2937 "14rwbbn06l8qpx7s5crxghn80vgcx8jmfc7qvivh72d81r0kvywl"))
3dafde0d 2938 (file-name (git-file-name name version))))
6cc328b4
AW
2939 (build-system gnu-build-system)
2940 (inputs `(("mesa" ,mesa)
2941 ("udev" ,eudev)
2942 ("libx11" ,libx11)
008dfa23 2943 ("libxfont" ,libxfont2)
6cc328b4
AW
2944 ("xorg-server" ,xorg-server)))
2945 (native-inputs
2946 `(("pkg-config" ,pkg-config)
2947 ("autoconf" ,autoconf)
2948 ("automake" ,automake)
2949 ("libtool" ,libtool)))
2950 (supported-systems
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))
2955 (arguments
b049ae2f
MW
2956 '(#:configure-flags '("--with-default-accel=uxa")
2957 #:phases (modify-phases %standard-phases
5cdad3ee 2958 (add-before 'bootstrap 'pre-bootstrap
6cc328b4 2959 (lambda _
5cdad3ee
MW
2960 ;; Inhibit autogen.sh from running configure.
2961 (setenv "NOCONFIGURE" "1")
2962 #t)))))
01497dfe 2963 (home-page "https://www.x.org/wiki/")
6cc328b4
AW
2964 (synopsis "Intel video driver for X server")
2965 (description
2966 "xf86-video-intel is a 2D graphics driver for the Xorg X server.
01bec8a6 2967It supports a variety of Intel graphics chipsets.")
6cc328b4 2968 (license license:x11))))
5f1d0fb0
AE
2969
2970
6eb126c5 2971(define-public xf86-video-mach64
9aea24b6 2972 (package
6eb126c5 2973 (name "xf86-video-mach64")
77c74789 2974 (version "6.9.6")
9aea24b6
AE
2975 (source
2976 (origin
2977 (method url-fetch)
2978 (uri (string-append
e7908a24 2979 "mirror://xorg/individual/driver/xf86-video-mach64-"
9aea24b6
AE
2980 version
2981 ".tar.bz2"))
2982 (sha256
2983 (base32
77c74789 2984 "171wg8r6py1l138s58rlapin3rlpwsg9spmvhc7l68mm3g3hf1vs"))
fc1adab1 2985 (patches (search-patches "xf86-video-mach64-glibc-2.20.patch"))))
9aea24b6 2986 (build-system gnu-build-system)
917748dd 2987 (inputs `(("mesa" ,mesa)
a1f78b42 2988 ("xorgproto" ,xorgproto)
917748dd 2989 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
2990 (native-inputs
2991 `(("pkg-config" ,pkg-config)))
01497dfe 2992 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
2993 (synopsis "Mach64 video driver for X server")
2994 (description
2995 "xf86-video-mach64 is a video driver for the Xorg X server.
2996This driver is intended for all ATI video adapters based on the Mach64
2997series or older chipsets, providing maximum video function within
2998hardware limitations. The driver is also intended to optionally provide
2999the same level of support for generic VGA or 8514/A adapters.")
d385b835 3000 (license license:x11)))
5f1d0fb0
AE
3001
3002
6eb126c5 3003(define-public xf86-video-mga
9aea24b6 3004 (package
6eb126c5 3005 (name "xf86-video-mga")
c69fafde 3006 (version "2.0.0")
9aea24b6
AE
3007 (source
3008 (origin
3009 (method url-fetch)
3010 (uri (string-append
e6eeff18 3011 "mirror://xorg/individual/driver/xf86-video-mga-"
9aea24b6
AE
3012 version
3013 ".tar.bz2"))
3014 (sha256
3015 (base32
c69fafde 3016 "0yaxpgyyj9398nzzr5vnsfxcis76z46p9814yzj8179yl7hld296"))))
9aea24b6 3017 (build-system gnu-build-system)
917748dd 3018 (inputs `(("mesa" ,mesa)
a1f78b42 3019 ("xorgproto" ,xorgproto)
917748dd 3020 ("xorg-server" ,xorg-server)))
c4c4cc05 3021 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3022 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3023 (synopsis "Matrox video driver for X server")
3024 (description
3025 "xf86-video-mga is a Matrox video driver for the Xorg X server.")
d385b835 3026 (license license:x11)))
5f1d0fb0 3027
6eb126c5 3028(define-public xf86-video-neomagic
9aea24b6 3029 (package
6eb126c5 3030 (name "xf86-video-neomagic")
33d7c5b0 3031 (version "1.3.0")
9aea24b6
AE
3032 (source
3033 (origin
3034 (method url-fetch)
3035 (uri (string-append
caabecf0 3036 "mirror://xorg/individual/driver/xf86-video-neomagic-"
9aea24b6
AE
3037 version
3038 ".tar.bz2"))
3039 (sha256
3040 (base32
33d7c5b0 3041 "0r4h673kw8fl7afc30anwbjlbhp82mg15fvaxf470xg7z983k0wk"))))
9aea24b6 3042 (build-system gnu-build-system)
ab667712 3043 (inputs `(("xorgproto" ,xorgproto)
917748dd 3044 ("xorg-server" ,xorg-server)))
c4c4cc05 3045 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3046 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3047 (synopsis "NeoMagic video driver for X server")
3048 (description
3049 "xf86-video-neomagic is a NeoMagic video driver for the Xorg X server.")
d385b835 3050 (license license:x11)))
5f1d0fb0
AE
3051
3052
893046ff 3053;; This driver depends on XAA which has been removed from xorg-server.
01bec8a6 3054
893046ff
MW
3055;; (define-public xf86-video-newport
3056;; (package
3057;; (name "xf86-video-newport")
3058;; (version "0.2.4")
3059;; (source
3060;; (origin
3061;; (method url-fetch)
3062;; (uri (string-append
3063;; "mirror://xorg/individual/driver/xf86-video-newport-"
3064;; version
3065;; ".tar.bz2"))
3066;; (sha256
3067;; (base32
3068;; "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
3069;; (build-system gnu-build-system)
3070;; (inputs `(("xorg-server" ,xorg-server)))
3071;; (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3072;; (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3073;; (synopsis "Newport video driver for X server")
3074;; (description
3075;; "xf86-video-newport is an Xorg X server video driver for the SGI
3076;; newport cards.")
893046ff 3077;; (license license:x11)))
5f1d0fb0
AE
3078
3079
6eb126c5 3080(define-public xf86-video-nv
9aea24b6 3081 (package
6eb126c5 3082 (name "xf86-video-nv")
f733e603 3083 (version "2.1.21")
9aea24b6
AE
3084 (source
3085 (origin
3086 (method url-fetch)
3087 (uri (string-append
fc7a0cf6 3088 "mirror://xorg/individual/driver/xf86-video-nv-"
9aea24b6
AE
3089 version
3090 ".tar.bz2"))
3091 (sha256
3092 (base32
f733e603 3093 "0bdk3pc5y0n7p53q4gc2ff7bw16hy5hwdjjxkm5j3s7hdyg6960z"))))
9aea24b6 3094 (build-system gnu-build-system)
c4c4cc05
JD
3095 (inputs `(("xorg-server" ,xorg-server)))
3096 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3097 (home-page "https://www.x.org/wiki/")
01bec8a6 3098 (synopsis "NVIDIA video driver for X server")
2e50aa76
LC
3099 (description
3100 "This package contains Xorg support for the NVIDIA GeForce 8 series of
3101graphics processors.
3102
3103There are a few caveats of which to be aware: the XVideo extension is not
3104supported, and the RENDER extension is not accelerated by this driver.")
d385b835 3105 (license license:x11)))
5f1d0fb0 3106
0d5212e8
LC
3107(define-public xf86-video-nouveau
3108 (package
3109 (name "xf86-video-nouveau")
3752d53d 3110 (version "1.0.16")
9f9b89bc
AW
3111 (source
3112 (origin
3113 (method url-fetch)
3114 (uri (string-append
3115 "mirror://xorg/individual/driver/xf86-video-nouveau-"
3116 version
3117 ".tar.bz2"))
3118 (sha256
3119 (base32
3752d53d 3120 "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"))))
0d5212e8 3121 (build-system gnu-build-system)
0d5212e8 3122 (inputs `(("xorg-server" ,xorg-server)))
9f9b89bc 3123 (native-inputs `(("pkg-config" ,pkg-config)))
611924eb 3124 (home-page "https://nouveau.freedesktop.org")
01bec8a6 3125 (synopsis "NVIDIA video driver for X server")
0d5212e8
LC
3126 (description
3127 "This package provides modern, high-quality Xorg drivers for NVIDIA
3128graphics cards.")
3129 (license license:x11)))
5f1d0fb0 3130
6eb126c5 3131(define-public xf86-video-openchrome
9aea24b6 3132 (package
6eb126c5 3133 (name "xf86-video-openchrome")
8caf5bac 3134 (version "0.6.0")
9aea24b6
AE
3135 (source
3136 (origin
3137 (method url-fetch)
3138 (uri (string-append
3d7d909c 3139 "mirror://xorg/individual/driver/xf86-video-openchrome-"
9aea24b6
AE
3140 version
3141 ".tar.bz2"))
3142 (sha256
7ca3ce6b 3143 (base32
8caf5bac 3144 "0x9gq3hw6k661k82ikd1y2kkk4dmgv310xr5q59dwn4k6z37aafs"))))
9aea24b6 3145 (build-system gnu-build-system)
917748dd
AE
3146 (inputs `(("libx11" ,libx11)
3147 ("libxext" ,libxext)
3148 ("libxvmc" ,libxvmc)
3149 ("mesa" ,mesa)
a1f78b42 3150 ("xorgproto" ,xorgproto)
917748dd 3151 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
3152 (native-inputs
3153 `(("pkg-config" ,pkg-config)))
01497dfe 3154 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3155 (synopsis "Openchrome video driver for X server")
3156 (description
3157 "xf86-video-openchrome is a video driver for the Xorg X server.
3158This driver is intended for VIA chipsets featuring the VIA UniChrome,
3159UniChrome Pro and Chrome9 integrated graphics processors.")
d385b835 3160 (license license:x11)))
5f1d0fb0
AE
3161
3162
6799ed76
DC
3163(define-public xf86-video-qxl
3164 (package
3165 (name "xf86-video-qxl")
9f74424f 3166 (version "0.1.5")
6799ed76
DC
3167 (source (origin
3168 (method url-fetch)
3169 (uri (string-append
3170 "mirror://xorg/individual/driver/"
3171 "xf86-video-qxl-" version ".tar.bz2"))
3172 (sha256
3173 (base32
9f74424f 3174 "14jc24znnahhmz4kqalafmllsg8awlz0y6gpgdpk5ih38ph851mi"))))
6799ed76
DC
3175 (build-system gnu-build-system)
3176 (inputs
b4d7aef5 3177 `(("libxfont" ,libxfont2)
6799ed76 3178 ("spice-protocol" ,spice-protocol)
6799ed76 3179 ("xorg-server" ,xorg-server)
6a6db57f 3180 ("xorgproto" ,xorgproto)))
6799ed76
DC
3181 (native-inputs
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.
3185This driver is intended for the spice qxl virtio device.")
3186 (home-page "http://www.spice-space.org")
3187 (license license:x11)))
3188
6eb126c5 3189(define-public xf86-video-r128
df3f99af
MB
3190 (package
3191 (name "xf86-video-r128")
e921993c 3192 (version "6.12.0")
df3f99af
MB
3193 (source (origin
3194 (method url-fetch)
3195 (uri (string-append "mirror://xorg/individual/driver/"
3196 name "-" version ".tar.bz2"))
3197 (sha256
3198 (base32
e921993c 3199 "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740"))))
df3f99af
MB
3200 (build-system gnu-build-system)
3201 (inputs `(("mesa" ,mesa)
3202 ("xorgproto" ,xorgproto)
3203 ("xorg-server" ,xorg-server)))
3204 (native-inputs
3205 `(("pkg-config" ,pkg-config)))
3206 (home-page "https://www.x.org/wiki/")
3207 (synopsis "ATI Rage 128 video driver for X server")
3208 (description
3209 "xf86-video-r128 is a video driver for the Xorg X server.
01bec8a6 3210This driver is intended for ATI Rage 128 based cards.")
df3f99af 3211 (license license:x11)))
5f1d0fb0 3212
6eb126c5 3213(define-public xf86-video-savage
9aea24b6 3214 (package
6eb126c5 3215 (name "xf86-video-savage")
a354c7d8 3216 (version "2.3.9")
9aea24b6
AE
3217 (source
3218 (origin
3219 (method url-fetch)
3220 (uri (string-append
1a783045 3221 "mirror://xorg/individual/driver/xf86-video-savage-"
9aea24b6
AE
3222 version
3223 ".tar.bz2"))
a4edd9ad 3224 (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
9aea24b6
AE
3225 (sha256
3226 (base32
a354c7d8 3227 "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
9aea24b6 3228 (build-system gnu-build-system)
917748dd 3229 (inputs `(("mesa" ,mesa)
a1f78b42 3230 ("xorgproto" ,xorgproto)
917748dd 3231 ("xorg-server" ,xorg-server)))
c4c4cc05 3232 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3233 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3234 (synopsis "Savage video driver for X server")
3235 (description
3236 "xf86-video-savage is an S3 Savage video driver for the Xorg X server.")
d385b835 3237 (license license:x11)))
5f1d0fb0
AE
3238
3239
6eb126c5 3240(define-public xf86-video-siliconmotion
9aea24b6 3241 (package
6eb126c5 3242 (name "xf86-video-siliconmotion")
3a50b712 3243 (version "1.7.9")
9aea24b6
AE
3244 (source
3245 (origin
3246 (method url-fetch)
3247 (uri (string-append
a5bea0a7 3248 "mirror://xorg/individual/driver/xf86-video-siliconmotion-"
9aea24b6
AE
3249 version
3250 ".tar.bz2"))
3251 (sha256
3252 (base32
c5a856d5
EF
3253 "1g2r6gxqrmjdff95d42msxdw6vmkg2zn5sqv0rxd420iwy8wdwyh"))
3254 (patches (search-patches "xf86-video-siliconmotion-fix-ftbfs.patch"))))
9aea24b6 3255 (build-system gnu-build-system)
c4c4cc05
JD
3256 (inputs `(("xorg-server" ,xorg-server)))
3257 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3258 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3259 (synopsis "Silicon Motion video driver for X server")
3260 (description
3261 "xf86-video-siliconmotion is a Silicon Motion video driver for the
3262Xorg X server.")
d385b835 3263 (license license:x11)))
5f1d0fb0
AE
3264
3265
6eb126c5 3266(define-public xf86-video-sis
9aea24b6 3267 (package
6eb126c5 3268 (name "xf86-video-sis")
798dd616 3269 (version "0.10.9")
9aea24b6
AE
3270 (source
3271 (origin
3272 (method url-fetch)
3273 (uri (string-append
7007aeb2 3274 "mirror://xorg/individual/driver/xf86-video-sis-"
9aea24b6
AE
3275 version
3276 ".tar.bz2"))
c67f603d 3277 (patches (search-patches "xf86-video-sis-xorg-compat.patch"))
9aea24b6
AE
3278 (sha256
3279 (base32
798dd616 3280 "03f1abjjf68y8y1iz768rn95va9d33wmbwfbsqrgl6k0gi0bf9jj"))))
9aea24b6 3281 (build-system gnu-build-system)
917748dd 3282 (inputs `(("mesa" ,mesa)
a1f78b42 3283 ("xorgproto" ,xorgproto)
917748dd 3284 ("xorg-server" ,xorg-server)))
c4c4cc05
JD
3285 (native-inputs
3286 `(("pkg-config" ,pkg-config)))
01497dfe 3287 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3288 (synopsis "Sis video driver for X server")
3289 (description
3290 "xf86-video-SiS is a SiS video driver for the Xorg X server.
3291This driver supports SiS chipsets of 300/315/330/340 series.")
6eb126c5 3292 (license license:bsd-3)))
5f1d0fb0
AE
3293
3294
6eb126c5 3295(define-public xf86-video-suncg6
9aea24b6 3296 (package
6eb126c5 3297 (name "xf86-video-suncg6")
c4bce93f 3298 (version "1.1.2")
9aea24b6
AE
3299 (source
3300 (origin
3301 (method url-fetch)
3302 (uri (string-append
c4bce93f 3303 "mirror://xorg/individual/driver/xf86-video-suncg6-"
9aea24b6
AE
3304 version
3305 ".tar.bz2"))
3306 (sha256
3307 (base32
c4bce93f 3308 "04fgwgk02m4nimlv67rrg1wnyahgymrn6rb2cjj1l8bmzkii4glr"))))
9aea24b6 3309 (build-system gnu-build-system)
c4c4cc05
JD
3310 (inputs `(("xorg-server" ,xorg-server)))
3311 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3312 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3313 (synopsis "GX/TurboGX video driver for X server")
3314 (description
3315 "xf86-video-suncg6 is a GX/TurboGX video driver for the Xorg X server.")
d385b835 3316 (license license:x11)))
5f1d0fb0
AE
3317
3318
6eb126c5 3319(define-public xf86-video-sunffb
9aea24b6 3320 (package
6eb126c5 3321 (name "xf86-video-sunffb")
a1d80a04 3322 (version "1.2.2")
9aea24b6
AE
3323 (source
3324 (origin
3325 (method url-fetch)
3326 (uri (string-append
a1d80a04 3327 "mirror://xorg/individual/driver/xf86-video-sunffb-"
9aea24b6
AE
3328 version
3329 ".tar.bz2"))
3330 (sha256
3331 (base32
a1d80a04 3332 "07z3ngifwg2d4jgq8pms47n5lr2yn0ai72g86xxjnb3k20n5ym7s"))))
9aea24b6 3333 (build-system gnu-build-system)
c4c4cc05
JD
3334 (inputs `(("xorg-server" ,xorg-server)))
3335 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3336 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3337 (synopsis "SUNFFB video driver for X server")
3338 (description
3339 "xf86-video-sunffb is a SUNFFB video driver for the Xorg X server.")
d385b835 3340 (license license:x11)))
5f1d0fb0
AE
3341
3342
6eb126c5 3343(define-public xf86-video-tdfx
9aea24b6 3344 (package
6eb126c5 3345 (name "xf86-video-tdfx")
7741bdb6 3346 (version "1.5.0")
9aea24b6
AE
3347 (source
3348 (origin
3349 (method url-fetch)
3350 (uri (string-append
83664334 3351 "mirror://xorg/individual/driver/xf86-video-tdfx-"
9aea24b6
AE
3352 version
3353 ".tar.bz2"))
3354 (sha256
3355 (base32
7741bdb6 3356 "0qc5wzwf1n65si9rc37bh224pzahh7gp67vfimbxs0b9yvhq0i9g"))))
9aea24b6 3357 (build-system gnu-build-system)
917748dd 3358 (inputs `(("mesa" ,mesa)
a1f78b42 3359 ("xorgproto" ,xorgproto)
917748dd 3360 ("xorg-server" ,xorg-server)))
c4c4cc05 3361 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3362 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3363 (synopsis "3Dfx video driver for X server")
3364 (description
3365 "xf86-video-tdfx is a 3Dfx video driver for the Xorg X server.")
d385b835 3366 (license license:x11)))
5f1d0fb0
AE
3367
3368
6eb126c5 3369(define-public xf86-video-tga
9aea24b6 3370 (package
6eb126c5 3371 (name "xf86-video-tga")
af339a48 3372 (version "1.2.2")
9aea24b6
AE
3373 (source
3374 (origin
3375 (method url-fetch)
3376 (uri (string-append
af339a48 3377 "mirror://xorg/individual/driver/xf86-video-tga-"
9aea24b6
AE
3378 version
3379 ".tar.bz2"))
3380 (sha256
3381 (base32
af339a48 3382 "0cb161lvdgi6qnf1sfz722qn38q7kgakcvj7b45ba3i0020828r0"))
fc1adab1 3383 (patches (search-patches "xf86-video-tga-remove-mibstore.patch"))))
9aea24b6 3384 (build-system gnu-build-system)
ab667712 3385 (inputs `(("xorgproto" ,xorgproto)
917748dd 3386 ("xorg-server" ,xorg-server)))
c4c4cc05 3387 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3388 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3389 (synopsis "TGA video driver for X server")
3390 (description
3391 "xf86-video-tga is a TGA (DEC 21030) video driver for the Xorg
3392X server.")
d385b835 3393 (license license:x11)))
5f1d0fb0
AE
3394
3395
6eb126c5 3396(define-public xf86-video-trident
9aea24b6 3397 (package
6eb126c5 3398 (name "xf86-video-trident")
619ff932 3399 (version "1.3.8")
9aea24b6
AE
3400 (source
3401 (origin
3402 (method url-fetch)
3403 (uri (string-append
d0088ad8 3404 "mirror://xorg/individual/driver/xf86-video-trident-"
9aea24b6
AE
3405 version
3406 ".tar.bz2"))
3407 (sha256
3408 (base32
619ff932 3409 "0gxcar434kx813fxdpb93126lhmkl3ikabaljhcj5qn3fkcijlcy"))))
9aea24b6 3410 (build-system gnu-build-system)
ab667712 3411 (inputs `(("xorgproto" ,xorgproto)
917748dd 3412 ("xorg-server" ,xorg-server)))
c4c4cc05 3413 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3414 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3415 (synopsis "Trident video driver for X server")
3416 (description
3417 "xf86-video-trident is a Trident video driver for the Xorg X server.")
d385b835 3418 (license license:x11)))
5f1d0fb0
AE
3419
3420
124b7f1e 3421;; no license
6eb126c5 3422;; (define-public xf86-video-v4l
6eb126c5
AE
3423
3424
3425(define-public xf86-video-vesa
9aea24b6 3426 (package
6eb126c5 3427 (name "xf86-video-vesa")
294ae4d7 3428 (version "2.4.0")
9aea24b6
AE
3429 (source
3430 (origin
3431 (method url-fetch)
3432 (uri (string-append
7dd17c76 3433 "mirror://xorg/individual/driver/xf86-video-vesa-"
9aea24b6
AE
3434 version
3435 ".tar.bz2"))
3436 (sha256
3437 (base32
294ae4d7 3438 "1373vsxn6qh00na0s9c09kf09gj78rzi98zq93id8v5zsya3qi5z"))))
9aea24b6 3439 (build-system gnu-build-system)
c4c4cc05
JD
3440 (inputs `(("xorg-server" ,xorg-server)))
3441 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3442 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3443 (synopsis "VESA video driver for X server")
3444 (description
3445 "xf86-video-vesa is a generic VESA video driver for the Xorg
3446X server.")
d385b835 3447 (license license:x11)))
5f1d0fb0
AE
3448
3449
6eb126c5 3450(define-public xf86-video-vmware
9aea24b6 3451 (package
6eb126c5 3452 (name "xf86-video-vmware")
6321ce42 3453 (version "13.3.0")
9aea24b6
AE
3454 (source
3455 (origin
3456 (method url-fetch)
3457 (uri (string-append
bd6863c2 3458 "mirror://xorg/individual/driver/xf86-video-vmware-"
9aea24b6
AE
3459 version
3460 ".tar.bz2"))
3461 (sha256
3462 (base32
6321ce42 3463 "0v06qhm059klq40m2yx4wypzb7h53aaassbjfmm6clcyclj1k5s7"))))
9aea24b6 3464 (build-system gnu-build-system)
e177f819
TGR
3465 (inputs
3466 `(("libx11" ,libx11)
3467 ("libxext" ,libxext)
8e4b7b75 3468 ("llvm" ,llvm)
e177f819
TGR
3469 ("mesa" ,mesa) ; for xatracker
3470 ("xorg-server" ,xorg-server)))
c4c4cc05 3471 (native-inputs
e177f819
TGR
3472 `(("eudev" ,eudev)
3473 ("pkg-config" ,pkg-config)))
01497dfe 3474 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3475 (synopsis "VMware SVGA video driver for X server")
3476 (description
3477 "xf86-video-vmware is a VMware SVGA video driver for the Xorg X server.")
d385b835 3478 (license license:x11)))
5f1d0fb0
AE
3479
3480
6eb126c5 3481(define-public xf86-video-voodoo
9aea24b6 3482 (package
6eb126c5 3483 (name "xf86-video-voodoo")
c0e40804 3484 (version "1.2.5")
9aea24b6
AE
3485 (source
3486 (origin
3487 (method url-fetch)
3488 (uri (string-append
c0e40804 3489 "mirror://xorg/individual/driver/xf86-video-voodoo-"
9aea24b6
AE
3490 version
3491 ".tar.bz2"))
3492 (sha256
3493 (base32
9177dbeb
AW
3494 "1s6p7yxmi12q4y05va53rljwyzd6ry492r1pgi7wwq6cznivhgly"))
3495 (patches
0f469c17 3496 (search-patches "xf86-video-voodoo-pcitag.patch"))))
9aea24b6 3497 (build-system gnu-build-system)
ab667712 3498 (inputs `(("xorgproto" ,xorgproto)
917748dd 3499 ("xorg-server" ,xorg-server)))
c4c4cc05 3500 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3501 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3502 (synopsis "Voodoo/Voodoo2 video driver for X server")
3503 (description
3504 "xf86-video-voodoo is a Voodoo video driver for the Xorg X server.")
d385b835 3505 (license license:x11)))
5f1d0fb0
AE
3506
3507
6706269e
AE
3508;; Only relevant for the frame buffer on BSD systems.
3509;; (define-public xf86-video-wsfb
5f1d0fb0
AE
3510
3511
6eb126c5 3512(define-public xf86bigfontproto
9aea24b6 3513 (package
6eb126c5
AE
3514 (name "xf86bigfontproto")
3515 (version "1.2.0")
9aea24b6
AE
3516 (source
3517 (origin
3518 (method url-fetch)
3519 (uri (string-append
d2611ffb 3520 "mirror://xorg/individual/proto/xf86bigfontproto-"
9aea24b6
AE
3521 version
3522 ".tar.bz2"))
3523 (sha256
3524 (base32
6eb126c5 3525 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
9aea24b6 3526 (build-system gnu-build-system)
01497dfe 3527 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3528 (synopsis "Xorg XF86BigFontProto protocol headers")
3529 (description
3530 "XFree86 Bigfont Extension contains header files and documentation
3531for the XF86BigFontProto protocol.")
d7f37691
MB
3532 (license license:x11)
3533 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3534
6eb126c5 3535(define-public xf86dgaproto
9aea24b6 3536 (package
6eb126c5
AE
3537 (name "xf86dgaproto")
3538 (version "2.1")
9aea24b6
AE
3539 (source
3540 (origin
3541 (method url-fetch)
3542 (uri (string-append
d2611ffb 3543 "mirror://xorg/individual/proto/xf86dgaproto-"
9aea24b6
AE
3544 version
3545 ".tar.bz2"))
3546 (sha256
3547 (base32
6eb126c5 3548 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
9aea24b6 3549 (build-system gnu-build-system)
01497dfe 3550 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3551 (synopsis "Xorg XF86DGAProto protocol headers")
3552 (description
3553 "XFree86 Direct Graphic Access Extension defines a protocol for
3554direct linear framebuffer access.")
ab667712
MB
3555 (license license:x11)
3556 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3557
6eb126c5 3558(define-public xf86driproto
9aea24b6 3559 (package
6eb126c5
AE
3560 (name "xf86driproto")
3561 (version "2.1.1")
9aea24b6
AE
3562 (source
3563 (origin
3564 (method url-fetch)
3565 (uri (string-append
d2611ffb 3566 "mirror://xorg/individual/proto/xf86driproto-"
9aea24b6
AE
3567 version
3568 ".tar.bz2"))
3569 (sha256
3570 (base32
6eb126c5 3571 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
9aea24b6 3572 (build-system gnu-build-system)
01497dfe 3573 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3574 (synopsis "Xorg XF86DRIProto protocol headers")
3575 (description
3576 "XFree86 Direct Rendering Infrastructure Extension defines a
3577protocol to allow user applications to access the video hardware without
3578requiring data to be passed through the X server.")
a1f78b42
MB
3579 (license license:x11)
3580 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3581
6eb126c5 3582(define-public xf86vidmodeproto
9aea24b6 3583 (package
6eb126c5
AE
3584 (name "xf86vidmodeproto")
3585 (version "2.3.1")
9aea24b6
AE
3586 (source
3587 (origin
3588 (method url-fetch)
3589 (uri (string-append
d2611ffb 3590 "mirror://xorg/individual/proto/xf86vidmodeproto-"
9aea24b6
AE
3591 version
3592 ".tar.bz2"))
3593 (sha256
3594 (base32
6eb126c5 3595 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
9aea24b6 3596 (build-system gnu-build-system)
01497dfe 3597 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3598 (synopsis "Xorg XF86VidModeProto protocol headers")
3599 (description
3600 "XFree86 Video Mode Extension defines a protocol for dynamically
3601configuring modelines and gamma.")
5b6f1be7
MB
3602 (license license:x11)
3603 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3604
6eb126c5 3605(define-public xgamma
9aea24b6 3606 (package
6eb126c5 3607 (name "xgamma")
033a1ba3 3608 (version "1.0.6")
9aea24b6
AE
3609 (source
3610 (origin
3611 (method url-fetch)
3612 (uri (string-append
d2611ffb 3613 "mirror://xorg/individual/app/xgamma-"
9aea24b6
AE
3614 version
3615 ".tar.bz2"))
3616 (sha256
3617 (base32
033a1ba3 3618 "1lr2nb1fhg5fk2fchqxdxyl739602ggwhmgl2wiv5c8qbidw7w8f"))))
9aea24b6 3619 (build-system gnu-build-system)
6eb126c5
AE
3620 (inputs
3621 `(("libxxf86vm" ,libxxf86vm)
c4c4cc05
JD
3622 ("libx11" ,libx11)))
3623 (native-inputs
3624 `(("pkg-config" ,pkg-config)))
01497dfe 3625 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3626 (synopsis "Alter a monitor's gamma correction")
3627 (description
3628 "XGamma is used to query and alter the gamma correction of a
3629monitor via the X video mode extension.")
6eb126c5 3630 (license license:x11)))
5f1d0fb0
AE
3631
3632
6eb126c5 3633(define-public xhost
9aea24b6 3634 (package
6eb126c5 3635 (name "xhost")
afee35bc 3636 (version "1.0.8")
9aea24b6
AE
3637 (source
3638 (origin
3639 (method url-fetch)
3640 (uri (string-append
9248fd7f 3641 "mirror://xorg/individual/app/xhost-"
9aea24b6
AE
3642 version
3643 ".tar.bz2"))
3644 (sha256
3645 (base32
afee35bc 3646 "15n3mnd4i5kh4z32qv11580qjgvnng0wry2y753ljrqkkrbkrp52"))))
9aea24b6 3647 (build-system gnu-build-system)
6eb126c5
AE
3648 (inputs
3649 `(("libxmu" ,libxmu)
3650 ("libxau" ,libxau)
c4c4cc05
JD
3651 ("libx11" ,libx11)))
3652 (native-inputs
3653 `(("pkg-config" ,pkg-config)))
afee35bc 3654 (home-page "https://gitlab.freedesktop.org/xorg/app/xhost")
01bec8a6
AK
3655 (synopsis "Xorg server access control utility")
3656 (description
3657 "XHost is used to manage the list of host names or user names
3658allowed to make connections to the X server.")
d385b835 3659 (license license:x11)))
5f1d0fb0
AE
3660
3661
6eb126c5 3662(define-public xineramaproto
9aea24b6 3663 (package
6eb126c5 3664 (name "xineramaproto")
5f1d0fb0 3665 (version "1.2.1")
9aea24b6
AE
3666 (source
3667 (origin
3668 (method url-fetch)
3669 (uri (string-append
d2611ffb 3670 "mirror://xorg/individual/proto/xineramaproto-"
9aea24b6
AE
3671 version
3672 ".tar.bz2"))
3673 (sha256
3674 (base32
6eb126c5 3675 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
9aea24b6 3676 (build-system gnu-build-system)
c4c4cc05 3677 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 3678 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3679 (synopsis "Xorg XineramaProto protocol headers")
3680 (description
3681 "Xinerama Extension allows clients to query information about multiple
3682physical screens controlled by a single X server that appear as a single
3683screen to core X11 protocol operations.
3684
3685This extension provides a common network protocol for querying information
3686which may be provided by different underlying screen combination
3687technologies in the X server, such as the original Xinerama multiplexer, or
3688alternative implementations like XRandR or TwinView.")
ba57d602
MB
3689 (license license:x11)
3690 (properties `((superseded . ,xorgproto)))))
5f1d0fb0 3691
6eb126c5 3692(define-public xinput
9aea24b6 3693 (package
6eb126c5 3694 (name "xinput")
5cd1a056 3695 (version "1.6.3")
9aea24b6
AE
3696 (source
3697 (origin
3698 (method url-fetch)
3699 (uri (string-append
e2a712ca 3700 "mirror://xorg/individual/app/xinput-"
9aea24b6
AE
3701 version
3702 ".tar.bz2"))
3703 (sha256
3704 (base32
5cd1a056 3705 "1vb6xdd1xmk5f7pwc5zcbxfray5sf1vbnscqwf2yl8lv7gfq38im"))))
9aea24b6 3706 (build-system gnu-build-system)
6eb126c5
AE
3707 (inputs
3708 `(("libxrender" ,libxrender)
3709 ("libxrandr" ,libxrandr)
3710 ("libxinerama" ,libxinerama)
e2a712ca 3711 ("libxext" ,libxext)
6eb126c5 3712 ("libxi" ,libxi)
6eb126c5 3713 ("libx11" ,libx11)
82b4d9ec 3714 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
3715 (native-inputs
3716 `(("pkg-config" ,pkg-config)))
01497dfe 3717 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3718 (synopsis "Configure input devices for X server")
3719 (description
3720 "XInput is used to configure and test XInput devices.")
d385b835 3721 (license license:x11)))
5f1d0fb0
AE
3722
3723
2365338b 3724(define xkbcomp-intermediate ; used as input for xkeyboard-config
9aea24b6 3725 (package
2365338b 3726 (name "xkbcomp-intermediate")
bd1efded 3727 (version "1.4.2")
9aea24b6
AE
3728 (source
3729 (origin
3730 (method url-fetch)
3731 (uri (string-append
6bd87b76 3732 "mirror://xorg/individual/app/xkbcomp-"
9aea24b6
AE
3733 version
3734 ".tar.bz2"))
3735 (sha256
38282229 3736 (base32
bd1efded 3737 "0944rrkkf0dxp07vhh9yr4prslxhqyw63qmbjirbv1bypswvrn3d"))))
9aea24b6 3738 (build-system gnu-build-system)
6eb126c5 3739 (inputs
6a6db57f 3740 `(("xorgproto" ,xorgproto)
6eb126c5 3741 ("libxkbfile" ,libxkbfile)
c4c4cc05
JD
3742 ("libx11" ,libx11)))
3743 (native-inputs
3744 `(("pkg-config" ,pkg-config)))
01497dfe 3745 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3746 (synopsis "Compile XKB keyboard description")
3747 (description
3748 "xkbcomp keymap compiler converts a description of an XKB keymap
3749into one of several output formats. The most common use for xkbcomp is
3750to create a compiled keymap file (.xkm extension) which can be read
3751directly by XKB- capable X servers or utilities.
3752
3753X Keyboard (XKB) Extension essentially replaces the core protocol
3754definition of keyboard. The extension makes possible to clearly and
3755explicitly specify most aspects of keyboard behaviour on per-key basis
3756and to more closely track the logical and physical state of the
3757keyboard. It also includes a number of keyboard controls designed to
3758make keyboards more accessible to people with physical impairments.")
d385b835 3759 (license license:x11)))
5f1d0fb0 3760
2365338b
AE
3761(define-public xkbcomp ; using xkeyboard-config as input
3762 (package (inherit xkbcomp-intermediate)
3763 (name "xkbcomp")
3764 (inputs
3765 `(,@(package-inputs xkbcomp-intermediate)
3766 ("xkeyboard-config" ,xkeyboard-config)))
3767 (arguments
3768 `(#:configure-flags
3769 (list (string-append "--with-xkb-config-root="
3770 (assoc-ref %build-inputs "xkeyboard-config")
3771 "/share/X11/xkb"))))))
3772
5f1d0fb0 3773
6eb126c5 3774(define-public xkbevd
9aea24b6 3775 (package
6eb126c5 3776 (name "xkbevd")
ed7abe52 3777 (version "1.1.4")
9aea24b6
AE
3778 (source
3779 (origin
3780 (method url-fetch)
3781 (uri (string-append
d2611ffb 3782 "mirror://xorg/individual/app/xkbevd-"
9aea24b6
AE
3783 version
3784 ".tar.bz2"))
3785 (sha256
3786 (base32
ed7abe52 3787 "0sprjx8i86ljk0l7ldzbz2xlk8916z5zh78cafjv8k1a63js4c14"))))
9aea24b6 3788 (build-system gnu-build-system)
6eb126c5
AE
3789 (inputs
3790 `(("libxkbfile" ,libxkbfile)
c4c4cc05
JD
3791 ("libx11" ,libx11)))
3792 (native-inputs
3793 `(("pkg-config" ,pkg-config)))
01497dfe 3794 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3795 (synopsis "XKB event daemon demo")
3796 (description
3797 "XKB event daemon listens for the specified XKB events and executes
3798requested commands if they occur.")
d385b835 3799 (license license:x11)))
5f1d0fb0
AE
3800
3801
6eb126c5 3802(define-public xkbutils
9aea24b6 3803 (package
6eb126c5 3804 (name "xkbutils")
c9ad1f97 3805 (version "1.0.4")
9aea24b6
AE
3806 (source
3807 (origin
3808 (method url-fetch)
3809 (uri (string-append
c9ad1f97 3810 "mirror://xorg/individual/app/xkbutils-"
9aea24b6
AE
3811 version
3812 ".tar.bz2"))
3813 (sha256
3814 (base32
c9ad1f97 3815 "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj"))))
9aea24b6 3816 (build-system gnu-build-system)
6eb126c5
AE
3817 (inputs
3818 `(("libxt" ,libxt)
6eb126c5 3819 ("libxaw" ,libxaw)
82b4d9ec 3820 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
3821 (native-inputs
3822 `(("pkg-config" ,pkg-config)))
01497dfe 3823 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3824 (synopsis "XKB utilities")
3825 (description
3826 "XKBUtils is a collection of small utilities for X Keyboard (XKB)
3827extension to the X11 protocol. It includes:
3828
3829- xkbbell: generate XKB bell events;
3830
3831- xkbvleds: display the state of LEDs on an XKB keyboard in a window;
3832
3833- xkbwatch: reports changes in the XKB keyboard state.")
d385b835 3834 (license license:x11)))
5f1d0fb0
AE
3835
3836
6eb126c5 3837(define-public xkeyboard-config
9aea24b6 3838 (package
6eb126c5 3839 (name "xkeyboard-config")
6d5811ef 3840 (version "2.28")
9aea24b6
AE
3841 (source
3842 (origin
3843 (method url-fetch)
3844 (uri (string-append
d6f7ee72
MW
3845 "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-"
3846 version
3847 ".tar.bz2"))
9aea24b6
AE
3848 (sha256
3849 (base32
6d5811ef 3850 "1kmxc8hdw4qpvdlzp4ag8ygl34lqhs6sn3pcz1sl0kn61xdv5bb9"))))
5f1d0fb0 3851 (build-system gnu-build-system)
6eb126c5 3852 (inputs
b94a6ca0 3853 `(("gettext" ,gettext-minimal)
42ed9985 3854 ("libx11" ,libx11)
2365338b 3855 ("xkbcomp-intermediate" ,xkbcomp-intermediate)))
c4c4cc05
JD
3856 (native-inputs
3857 `(("intltool" ,intltool)
3858 ("pkg-config" ,pkg-config)))
01497dfe 3859 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3860 (synopsis "Xorg XKB configuration files")
3861 (description
3862 "xkeyboard-config provides a database for X Keyboard (XKB) Extension.
3863There are five components that define a complete keyboard mapping:
3864symbols, geometry, keycodes, compat, and types; these five components
36a4366d 3865can be combined together using the @code{rules} component of this database.")
d385b835 3866 (license license:x11)))
5f1d0fb0
AE
3867
3868
6eb126c5 3869(define-public xkill
9aea24b6 3870 (package
6eb126c5 3871 (name "xkill")
060c82c1 3872 (version "1.0.5")
9aea24b6
AE
3873 (source
3874 (origin
3875 (method url-fetch)
3876 (uri (string-append
f61bfb34 3877 "mirror://xorg/individual/app/xkill-"
9aea24b6
AE
3878 version
3879 ".tar.bz2"))
3880 (sha256
3881 (base32
060c82c1 3882 "0szzd9nzn0ybkhnfyizb876irwnjsnb78rcaxx6prb71jmmbpw65"))))
9aea24b6 3883 (build-system gnu-build-system)
6eb126c5
AE
3884 (inputs
3885 `(("libxmu" ,libxmu)
c4c4cc05
JD
3886 ("libx11" ,libx11)))
3887 (native-inputs
3888 `(("pkg-config" ,pkg-config)))
01497dfe 3889 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3890 (synopsis "Kill a client by its X resource")
3891 (description
3892 "XKill is used to force the X server to close connections to
3893clients. This program is very dangerous, but is useful for aborting
3894programs that have displayed undesired windows on a user's screen.")
d385b835 3895 (license license:x11)))
5f1d0fb0
AE
3896
3897
6eb126c5 3898(define-public xlsatoms
9aea24b6 3899 (package
6eb126c5 3900 (name "xlsatoms")
f73fb79c 3901 (version "1.1.3")
9aea24b6
AE
3902 (source
3903 (origin
3904 (method url-fetch)
3905 (uri (string-append
d2611ffb 3906 "mirror://xorg/individual/app/xlsatoms-"
9aea24b6
AE
3907 version
3908 ".tar.bz2"))
3909 (sha256
3910 (base32
f73fb79c 3911 "10m3a046jvaw5ywx4y65kl84lsxqan70gww1g1r7cf96ijaqz1jp"))))
9aea24b6 3912 (build-system gnu-build-system)
6eb126c5 3913 (inputs
c4c4cc05
JD
3914 `(("libxcb" ,libxcb)))
3915 (native-inputs
3916 `(("pkg-config" ,pkg-config)))
f73fb79c 3917 (home-page "https://gitlab.freedesktop.org/xorg/app/xlsatoms")
01bec8a6
AK
3918 (synopsis "List interned X server atoms")
3919 (description
3920 "XLsAtoms is used to list the interned atoms defined on X server.")
6eb126c5 3921 (license license:x11)))
5f1d0fb0
AE
3922
3923
6eb126c5 3924(define-public xlsclients
9aea24b6 3925 (package
6eb126c5 3926 (name "xlsclients")
f2034854 3927 (version "1.1.4")
9aea24b6
AE
3928 (source
3929 (origin
3930 (method url-fetch)
3931 (uri (string-append
cdacad71 3932 "mirror://xorg/individual/app/xlsclients-"
9aea24b6
AE
3933 version
3934 ".tar.bz2"))
3935 (sha256
3936 (base32
f2034854 3937 "1h8931sn34mcip6vpi4v7hdmr1r58gkbw4s2p97w98kykks2lgvp"))))
9aea24b6 3938 (build-system gnu-build-system)
6eb126c5 3939 (inputs
c4c4cc05
JD
3940 `(("libxcb" ,libxcb)))
3941 (native-inputs
3942 `(("pkg-config" ,pkg-config)))
01497dfe 3943 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
3944 (synopsis "List client applications running on a display")
3945 (description
3946 "XLsClients is used to list information about the client programs
3947running on X server.")
d385b835 3948 (license license:x11)))
5f1d0fb0
AE
3949
3950
0f21557c
EB
3951(define-public xlsfonts
3952 (package
3953 (name "xlsfonts")
cafda73f 3954 (version "1.0.6")
0f21557c
EB
3955 (source
3956 (origin
3957 (method url-fetch)
3958 (uri (string-append
3959 "mirror://xorg/individual/app/xlsfonts-"
3960 version
3961 ".tar.bz2"))
3962 (sha256
3963 (base32
cafda73f 3964 "0s6kxgv78chkwsqmhw929f4pf91gq63f4yvixxnan1h00cx0pf49"))))
0f21557c
EB
3965 (build-system gnu-build-system)
3966 (inputs
6a6db57f 3967 `(("xorgproto" ,xorgproto)
0f21557c
EB
3968 ("libx11" ,libx11)))
3969 (native-inputs
3970 `(("pkg-config" ,pkg-config)))
01497dfe 3971 (home-page "https://www.x.org/wiki/")
0f21557c
EB
3972 (synopsis "List fonts available from an X server")
3973 (description
3974 "xlsfonts lists fonts available from an X server via the X11 core
3975protocol.")
3976 (license license:x11)))
3977
f225ae75
AK
3978(define-public xfontsel
3979 (package
3980 (name "xfontsel")
7c1119aa 3981 (version "1.0.6")
f225ae75
AK
3982 (source (origin
3983 (method url-fetch)
3984 (uri (string-append
3985 "mirror://xorg/individual/app/xfontsel-"
3986 version ".tar.bz2"))
3987 (sha256
3988 (base32
7c1119aa 3989 "0700lf6hx7dg88wq1yll7zjvf9gbwh06xff20yffkxb289y0pai5"))))
f225ae75
AK
3990 (build-system gnu-build-system)
3991 (arguments
5dc8dd07
JD
3992 `(#:configure-flags
3993 (list (string-append "--with-appdefaultdir="
3994 %output ,%app-defaults-dir))))
f225ae75
AK
3995 (inputs
3996 `(("libx11" ,libx11)
3997 ("libxaw" ,libxaw)
3998 ("libxmu" ,libxmu)
3999 ("libxt" ,libxt)))
4000 (native-inputs
4001 `(("pkg-config" ,pkg-config)))
4002 (home-page "https://www.x.org/wiki/")
4003 (synopsis "Browse and select X font names")
4004 (description
4005 "XFontSel provides a simple way to display the X11 core protocol fonts
4006known to your X server, examine samples of each, and retrieve the X Logical
4007Font Description (XLFD) full name for a font.")
4008 (license license:x11)))
0f21557c 4009
e48e31bc
AK
4010(define-public xfd
4011 (package
4012 (name "xfd")
41ce9250 4013 (version "1.1.3")
e48e31bc
AK
4014 (source (origin
4015 (method url-fetch)
4016 (uri (string-append
4017 "mirror://xorg/individual/app/xfd-"
4018 version ".tar.bz2"))
4019 (sha256
4020 (base32
41ce9250 4021 "0n6r1v8sm0z0ycqch035xpm46nv5v4mav3kxh36883l3ln5r6bqr"))))
e48e31bc
AK
4022 (build-system gnu-build-system)
4023 (arguments
e48e31bc
AK
4024 `(#:configure-flags
4025 (list (string-append "--with-appdefaultdir="
5aae77e4 4026 %output ,%app-defaults-dir))))
e48e31bc
AK
4027 (inputs
4028 `(("fontconfig" ,fontconfig)
4029 ("libx11" ,libx11)
4030 ("libxaw" ,libxaw)
4031 ("libxft" ,libxft)
4032 ("libxmu" ,libxmu)
baf1d4e8
BD
4033 ("libxrender" ,libxrender)
4034 ("libxkbfile" ,libxkbfile)))
e48e31bc 4035 (native-inputs
b94a6ca0 4036 `(("gettext" ,gettext-minimal)
e48e31bc
AK
4037 ("pkg-config" ,pkg-config)))
4038 (home-page "https://www.x.org/wiki/")
4039 (synopsis "Display all the characters in an X font")
4040 (description
4041 "XFD (X Font Display) package provides an utility that displays a
4042window containing the name of the font being displayed, a row of command
4043buttons, several lines of text for displaying character metrics, and a grid
4044containing one glyph per cell.")
4045 (license license:x11)))
0f21557c 4046
6eb126c5 4047(define-public xmodmap
9aea24b6 4048 (package
6eb126c5 4049 (name "xmodmap")
2bf50977 4050 (version "1.0.10")
9aea24b6
AE
4051 (source
4052 (origin
4053 (method url-fetch)
4054 (uri (string-append
467ac76d 4055 "mirror://xorg/individual/app/xmodmap-"
9aea24b6
AE
4056 version
4057 ".tar.bz2"))
4058 (sha256
4059 (base32
2bf50977 4060 "0z28331i2pm16x671fa9qwsfqdmr6a43bzwmp0dm17a3sx0hjgs7"))))
9aea24b6 4061 (build-system gnu-build-system)
6eb126c5 4062 (inputs
6a6db57f 4063 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4064 ("libx11" ,libx11)))
4065 (native-inputs
4066 `(("pkg-config" ,pkg-config)))
2bf50977 4067 (home-page "https://gitlab.freedesktop.org/xorg/app/xmodmap")
01bec8a6
AK
4068 (synopsis "Modify keymaps and button mappings on X server")
4069 (description
4070 "Xmodmap is used to display and edit the keyboard modifier map and
4071keymap table that are used by client programs running on X server to
4072convert event keycodes into keysyms. It is usually run from the user's
4073session startup script to configure the keyboard according to personal
4074tastes.")
d385b835 4075 (license license:x11)))
5f1d0fb0
AE
4076
4077
124b7f1e 4078;; no license
6eb126c5 4079;; (define-public xorg-docs
6eb126c5
AE
4080
4081
6eb126c5 4082(define-public xorg-sgml-doctools
9aea24b6 4083 (package
6eb126c5
AE
4084 (name "xorg-sgml-doctools")
4085 (version "1.11")
9aea24b6
AE
4086 (source
4087 (origin
4088 (method url-fetch)
4089 (uri (string-append
d2611ffb 4090 "mirror://xorg/individual/doc/xorg-sgml-doctools-"
9aea24b6
AE
4091 version
4092 ".tar.bz2"))
4093 (sha256
4094 (base32
6eb126c5 4095 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
9aea24b6 4096 (build-system gnu-build-system)
c4c4cc05 4097 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 4098 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4099 (synopsis "Xorg SGML documentation tools")
4100 (description
4101 "This package provides a common set of SGML entities and XML/CSS style
4102sheets used in building/formatting the documentation provided in other
4103Xorg packages. It's typically only needed by people building from
4104source who want to produce formatted documentation from their builds, or
4105those who have installed the HTML version of the documentation, which
4106refers to the included common xorg.css stylesheet.")
d385b835 4107 (license license:x11)))
5f1d0fb0
AE
4108
4109
6eb126c5 4110(define-public xpr
9aea24b6 4111 (package
6eb126c5 4112 (name "xpr")
505a65dc 4113 (version "1.0.5")
9aea24b6
AE
4114 (source
4115 (origin
4116 (method url-fetch)
4117 (uri (string-append
d2611ffb 4118 "mirror://xorg/individual/app/xpr-"
9aea24b6
AE
4119 version
4120 ".tar.bz2"))
4121 (sha256
4122 (base32
505a65dc 4123 "07qy9lwjvxighcmg6qvjkgagad3wwvidrfx0jz85lgynz3qy0dmr"))))
9aea24b6
AE
4124 (build-system gnu-build-system)
4125 (inputs
6a6db57f 4126 `(("xorgproto" ,xorgproto)
6eb126c5 4127 ("libxmu" ,libxmu)
c4c4cc05
JD
4128 ("libx11" ,libx11)))
4129 (native-inputs
4130 `(("pkg-config" ,pkg-config)))
01497dfe 4131 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4132 (synopsis "Print an X window dump from xwd")
4133 (description
4134 "XPr takes as input a window dump file produced by xwd and formats
4135it for output on various types of printers.")
d385b835 4136 (license license:x11)))
5f1d0fb0
AE
4137
4138
6eb126c5 4139(define-public xprop
9aea24b6 4140 (package
6eb126c5 4141 (name "xprop")
06e3ed5d 4142 (version "1.2.4")
9aea24b6
AE
4143 (source
4144 (origin
4145 (method url-fetch)
4146 (uri (string-append
a1d537b0 4147 "mirror://xorg/individual/app/xprop-"
9aea24b6
AE
4148 version
4149 ".tar.bz2"))
4150 (sha256
4151 (base32
06e3ed5d 4152 "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc"))))
9aea24b6
AE
4153 (build-system gnu-build-system)
4154 (inputs
6a6db57f 4155 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4156 ("libx11" ,libx11)))
4157 (native-inputs
4158 `(("pkg-config" ,pkg-config)))
01497dfe 4159 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4160 (synopsis "Display X server properties")
4161 (description
4162 "xprop is used to display and/or set window and font properties of
4163an X server.")
d385b835 4164 (license license:x11)))
5f1d0fb0
AE
4165
4166
6eb126c5 4167(define-public xrandr
9aea24b6 4168 (package
6eb126c5 4169 (name "xrandr")
1b1c1621 4170 (version "1.5.1")
9aea24b6
AE
4171 (source
4172 (origin
4173 (method url-fetch)
4174 (uri (string-append
eafd33e8 4175 "mirror://xorg/individual/app/xrandr-"
1b1c1621 4176 version ".tar.xz"))
9aea24b6
AE
4177 (sha256
4178 (base32
1b1c1621 4179 "0ql75s1n3dm2m3g1ilb9l6hqh15r0v709bgghpwazy3jknpnvivv"))))
9aea24b6 4180 (build-system gnu-build-system)
6eb126c5
AE
4181 (inputs
4182 `(("libxrender" ,libxrender)
4183 ("libxrandr" ,libxrandr)
6a6db57f 4184 ("xorgproto" ,xorgproto)
c4c4cc05
JD
4185 ("libx11" ,libx11)))
4186 (native-inputs
4187 `(("pkg-config" ,pkg-config)))
01497dfe 4188 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4189 (synopsis "Command line interface to X RandR extension")
4190 (description
4191 "xrandr - primitive command line interface to X11 Resize, Rotate,
4192and Reflect (RandR) extension.")
d385b835 4193 (license license:x11)))
5f1d0fb0
AE
4194
4195
6eb126c5 4196(define-public xrdb
9aea24b6 4197 (package
6eb126c5 4198 (name "xrdb")
ca1d735c 4199 (version "1.2.0")
9aea24b6
AE
4200 (source
4201 (origin
4202 (method url-fetch)
4203 (uri (string-append
45852503 4204 "mirror://xorg/individual/app/xrdb-"
9aea24b6
AE
4205 version
4206 ".tar.bz2"))
4207 (sha256
4208 (base32
ca1d735c 4209 "0ik9gh6363c47pr0dp7q22nfs8vmavjg2v4bsr0604ppl77nafpj"))))
9aea24b6
AE
4210 (build-system gnu-build-system)
4211 (inputs
6eb126c5 4212 `(("libxmu" ,libxmu)
c4c4cc05
JD
4213 ("libx11" ,libx11)))
4214 (native-inputs
4215 `(("pkg-config" ,pkg-config)))
ca1d735c 4216 (home-page "https://gitlab.freedesktop.org/xorg/app/xrdb")
01bec8a6
AK
4217 (synopsis "X server resource database utility")
4218 (description
4219 "XRDB is used to get or set the contents of the RESOURCE_MANAGER
4220property on the root window of screen 0, or the SCREEN_RESOURCES
4221property on the root window of any or all screens, or everything
4222combined. You would normally run this program from your X startup
4223file.")
d385b835 4224 (license license:x11)))
5f1d0fb0
AE
4225
4226
6eb126c5 4227(define-public xrefresh
9aea24b6 4228 (package
6eb126c5 4229 (name "xrefresh")
c609ee9f 4230 (version "1.0.6")
9aea24b6
AE
4231 (source
4232 (origin
4233 (method url-fetch)
4234 (uri (string-append
eae74117 4235 "mirror://xorg/individual/app/xrefresh-"
9aea24b6
AE
4236 version
4237 ".tar.bz2"))
4238 (sha256
4239 (base32
c609ee9f 4240 "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98"))))
9aea24b6
AE
4241 (build-system gnu-build-system)
4242 (inputs
c4c4cc05
JD
4243 `(("libx11" ,libx11)))
4244 (native-inputs
4245 `(("pkg-config" ,pkg-config)))
01497dfe 4246 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4247 (synopsis "Refresh all or part of an X screen")
4248 (description
4249 "Xrefresh is a simple X program that causes all or part of your
4250screen to be repainted. This is useful when system messages have messed
4251up your screen.")
d385b835 4252 (license license:x11)))
5f1d0fb0
AE
4253
4254
6eb126c5 4255(define-public xset
9aea24b6 4256 (package
6eb126c5 4257 (name "xset")
61c70e54 4258 (version "1.2.4")
9aea24b6
AE
4259 (source
4260 (origin
4261 (method url-fetch)
4262 (uri (string-append
0ef700db 4263 "mirror://xorg/individual/app/xset-"
9aea24b6
AE
4264 version
4265 ".tar.bz2"))
4266 (sha256
4267 (base32
61c70e54 4268 "0my987wjvra7l92ry6q44ky383yg3phzxhdbn3lqhapm1ll9bzg4"))))
9aea24b6
AE
4269 (build-system gnu-build-system)
4270 (inputs
6a6db57f 4271 `(("xorgproto" ,xorgproto)
6eb126c5
AE
4272 ("libxmu" ,libxmu)
4273 ("libxext" ,libxext)
c4c4cc05
JD
4274 ("libx11" ,libx11)))
4275 (native-inputs
4276 `(("pkg-config" ,pkg-config)))
01497dfe 4277 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4278 (synopsis "User preference utility for X server")
4279 (description
4280 "XSet is used to set various user preference options of the display.")
d385b835 4281 (license license:x11)))
5f1d0fb0
AE
4282
4283
6eb126c5 4284(define-public xsetroot
9aea24b6 4285 (package
6eb126c5 4286 (name "xsetroot")
fdf5257e 4287 (version "1.1.2")
9aea24b6
AE
4288 (source
4289 (origin
4290 (method url-fetch)
4291 (uri (string-append
61ba0bbf 4292 "mirror://xorg/individual/app/xsetroot-"
9aea24b6
AE
4293 version
4294 ".tar.bz2"))
4295 (sha256
4296 (base32
fdf5257e 4297 "0z21mqvmdl6rl63q77479wgkfygnll57liza1i3va7sr4fx45i0h"))))
9aea24b6
AE
4298 (build-system gnu-build-system)
4299 (inputs
6eb126c5
AE
4300 `(("libxmu" ,libxmu)
4301 ("libxcursor" ,libxcursor)
c4c4cc05
JD
4302 ("xbitmaps" ,xbitmaps)))
4303 (native-inputs
4304 `(("pkg-config" ,pkg-config)))
01497dfe 4305 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4306 (synopsis "Root window parameter setting utility for X server")
4307 (description
4308 "XSetRoot allows you to tailor the appearance of the root window on
4309a display running X server.")
d385b835 4310 (license license:x11)))
5f1d0fb0
AE
4311
4312
6eb126c5 4313(define-public xtrans
9aea24b6 4314 (package
6eb126c5 4315 (name "xtrans")
165d7c01 4316 (version "1.4.0")
9aea24b6
AE
4317 (source
4318 (origin
4319 (method url-fetch)
4320 (uri (string-append
75dc8b22 4321 "mirror://xorg/individual/lib/xtrans-"
9aea24b6
AE
4322 version
4323 ".tar.bz2"))
4324 (sha256
4325 (base32
165d7c01 4326 "0wyp0yc6gi72hwc3kjmvm3vkj9p6s407cb6dxx37jh9wb68l8z1p"))))
9aea24b6 4327 (build-system gnu-build-system)
c4c4cc05 4328 (native-inputs `(("pkg-config" ,pkg-config)))
01497dfe 4329 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4330 (synopsis "Xorg Network Transport layer library")
4331 (description
4332 "Xtrans is a library of code that is shared among various X packages to
4333handle network protocol transport in a modular fashion, allowing a single
4334place to add new transport types. It is used by the X server, libX11,
4335libICE, the X font server, and related components.")
d385b835 4336 (license license:x11)))
5f1d0fb0
AE
4337
4338
6eb126c5 4339(define-public xvinfo
9aea24b6 4340 (package
6eb126c5 4341 (name "xvinfo")
7bc7eda4 4342 (version "1.1.4")
9aea24b6
AE
4343 (source
4344 (origin
4345 (method url-fetch)
4346 (uri (string-append
9489b6ea 4347 "mirror://xorg/individual/app/xvinfo-"
9aea24b6
AE
4348 version
4349 ".tar.bz2"))
4350 (sha256
4351 (base32
7bc7eda4 4352 "0gz7fvxavqlrqynpfbrm2nc9yx8h0ksnbnv34fj7n1q6cq6j4lq3"))))
9aea24b6
AE
4353 (build-system gnu-build-system)
4354 (inputs
6eb126c5
AE
4355 `(("libxext" ,libxext)
4356 ("libxv" ,libxv)
c4c4cc05
JD
4357 ("libx11" ,libx11)))
4358 (native-inputs
4359 `(("pkg-config" ,pkg-config)))
7bc7eda4 4360 (home-page "https://gitlab.freedesktop.org/xorg/app/xvinfo")
01bec8a6
AK
4361 (synopsis "Print out X-Video extension adaptor information")
4362 (description
4363 "XVInfo is used to print out the capabilities of any video adaptors
4364associated with the display that are accessible through the X-Video
4365extension.")
d385b835 4366 (license license:x11)))
5f1d0fb0
AE
4367
4368
6eb126c5 4369(define-public xwd
9aea24b6 4370 (package
6eb126c5 4371 (name "xwd")
a4f48cc5 4372 (version "1.0.7")
9aea24b6
AE
4373 (source
4374 (origin
4375 (method url-fetch)
4376 (uri (string-append
b3ba0379 4377 "mirror://xorg/individual/app/xwd-"
9aea24b6
AE
4378 version
4379 ".tar.bz2"))
4380 (sha256
4381 (base32
a4f48cc5 4382 "1537i8q8pgf0sjklakzfvjwrq5b246qjywrx9ll8xfg0p6w1as6d"))))
9aea24b6
AE
4383 (build-system gnu-build-system)
4384 (inputs
6eb126c5 4385 `(("libxt" ,libxt)
b3ba0379 4386 ("libxkbfile" ,libxkbfile)
6a6db57f 4387 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
4388 (native-inputs
4389 `(("pkg-config" ,pkg-config)))
01497dfe 4390 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4391 (synopsis "Dump current contents of X window or screen to file")
4392 (description
4393 "Xwd is used to store window images in a specially formatted dump
4394file. This file can then be read by various other X utilities for
4395redisplay, printing, editing, formatting, archiving, image processing,
4396etc. The target window is selected by clicking the pointer in the
4397desired window. The keyboard bell is rung once at the beginning of the
217f22d1 4398dump and twice when the dump is completed.")
d385b835 4399 (license license:x11)))
5f1d0fb0
AE
4400
4401
6eb126c5 4402(define-public xwininfo
9aea24b6 4403 (package
6eb126c5 4404 (name "xwininfo")
509551c2 4405 (version "1.1.5")
9aea24b6
AE
4406 (source
4407 (origin
4408 (method url-fetch)
4409 (uri (string-append
5c28dce0 4410 "mirror://xorg/individual/app/xwininfo-"
9aea24b6
AE
4411 version
4412 ".tar.bz2"))
4413 (sha256
4414 (base32
509551c2 4415 "03h8clirhw5ki1xxp18xbf5vynm7r0dwspsgfin6cxn4vx0m8h3s"))))
9aea24b6
AE
4416 (build-system gnu-build-system)
4417 (inputs
c7f99931 4418 `(("libx11" ,libx11)
6a6db57f 4419 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
4420 (native-inputs
4421 `(("pkg-config" ,pkg-config)))
01497dfe 4422 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4423 (synopsis "Window information utility for X server")
4424 (description
4425 "XWinInfo is used to print out information about windows on an X server.
4426Various information is displayed depending on which options are selected.")
d385b835 4427 (license license:x11)))
5f1d0fb0
AE
4428
4429
6eb126c5 4430(define-public xwud
9aea24b6 4431 (package
6eb126c5 4432 (name "xwud")
873ee8a7 4433 (version "1.0.5")
9aea24b6
AE
4434 (source
4435 (origin
4436 (method url-fetch)
4437 (uri (string-append
d2611ffb 4438 "mirror://xorg/individual/app/xwud-"
9aea24b6
AE
4439 version
4440 ".tar.bz2"))
4441 (sha256
4442 (base32
873ee8a7 4443 "1a8hdgy40smvblnh3s9f0vkqckl68nmivx7d48zk34m8z18p16cr"))))
9aea24b6
AE
4444 (build-system gnu-build-system)
4445 (inputs
6a6db57f 4446 `(("xorgproto" ,xorgproto)
c4c4cc05
JD
4447 ("libx11" ,libx11)))
4448 (native-inputs
4449 `(("pkg-config" ,pkg-config)))
01497dfe 4450 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4451 (synopsis "Display an X window dump from xwd")
4452 (description
4453 "Xwud is used to display in a window an image saved in a specially
4454formatted dump file, such as produced by xwd.")
d385b835 4455 (license license:x11)))
5f1d0fb0 4456
5fdd1420
FB
4457(define-public xorg-rgb
4458 (package
4459 (name "xorg-rgb")
4460 (version "1.0.6")
4461 (source
4462 (origin
4463 (method url-fetch)
4464 (uri (string-append
4465 "mirror://xorg/individual/app/rgb-"
4466 version
4467 ".tar.bz2"))
4468 (sha256
4469 (base32
4470 "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"))))
4471 (build-system gnu-build-system)
4472 (inputs
6a6db57f 4473 `(("xorgproto" ,xorgproto)))
5fdd1420
FB
4474 (native-inputs
4475 `(("pkg-config" ,pkg-config)))
9f9c36f5 4476 (home-page "https://www.x.org/wiki/")
5fdd1420
FB
4477 (synopsis "X color name database")
4478 (description
4479 "This package provides the X color name database.")
4480 (license license:x11)))
5f1d0fb0 4481
6eb126c5 4482;; packages of height 1 in the propagated-inputs tree
5f1d0fb0 4483
6eb126c5 4484(define-public fixesproto
9aea24b6 4485 (package
6eb126c5
AE
4486 (name "fixesproto")
4487 (version "5.0")
9aea24b6
AE
4488 (source
4489 (origin
4490 (method url-fetch)
4491 (uri (string-append
d2611ffb 4492 "mirror://xorg/individual/proto/fixesproto-"
9aea24b6
AE
4493 version
4494 ".tar.bz2"))
4495 (sha256
4496 (base32
6eb126c5 4497 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
9aea24b6 4498 (build-system gnu-build-system)
6eb126c5 4499 (propagated-inputs
caf90259 4500 `(("xorgproto" ,xorgproto)))
c4c4cc05 4501 (native-inputs
6eb126c5 4502 `(("pkg-config" ,pkg-config)))
01497dfe 4503 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4504 (synopsis "Xorg FixesProto protocol headers")
4505 (description
4506 "Fixes Extension makes changes to many areas of the protocol to resolve
4507issues raised by application interaction with core protocol mechanisms that
4508cannot be adequately worked around on the client side of the wire.")
89ad4fc6
MB
4509 (license license:x11)
4510 (properties `((superseded . ,xorgproto)))))
6eb126c5 4511
6f52fb63
AE
4512(define-public libxdamage
4513 (package
4514 (name "libxdamage")
b0c1c9b3 4515 (version "1.1.5")
6f52fb63
AE
4516 (source
4517 (origin
4518 (method url-fetch)
4519 (uri (string-append
e18bb480 4520 "mirror://xorg/individual/lib/libXdamage-"
6f52fb63
AE
4521 version
4522 ".tar.bz2"))
4523 (sha256
4524 (base32
b0c1c9b3 4525 "0igaw2akjf712y3rv7lx473jigxmcv9rs9y8sbrvbhya8f30cd5p"))))
6f52fb63 4526 (build-system gnu-build-system)
01bec8a6 4527 (propagated-inputs
475992f2 4528 ;; These are all in the Requires or Requires.private field of xdamage.pc
be56161d 4529 `(("libxfixes" ,libxfixes)
6a6db57f 4530 ("xorgproto" ,xorgproto)
c4c4cc05
JD
4531 ("libx11" ,libx11)))
4532 (native-inputs
4533 `(("pkg-config" ,pkg-config)))
01497dfe 4534 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4535 (synopsis "Xorg Damage Extension library")
4536 (description "Xorg library for the XDamage extension.")
6f52fb63
AE
4537 (license license:x11)))
4538
4539
6eb126c5
AE
4540(define-public libxext
4541 (package
4542 (name "libxext")
40916d63 4543 (version "1.3.4")
6eb126c5
AE
4544 (source
4545 (origin
4546 (method url-fetch)
4547 (uri (string-append
ccffa91c 4548 "mirror://xorg/individual/lib/libXext-"
6eb126c5
AE
4549 version
4550 ".tar.bz2"))
4551 (sha256
4552 (base32
40916d63 4553 "0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
6eb126c5
AE
4554 (build-system gnu-build-system)
4555 (propagated-inputs
caf90259 4556 `(("xorgproto" ,xorgproto)))
6eb126c5
AE
4557 (inputs
4558 `(("libxau" ,libxau)
c4c4cc05
JD
4559 ("libx11" ,libx11)))
4560 (native-inputs
4561 `(("pkg-config" ,pkg-config)))
01497dfe 4562 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4563 (synopsis "Xorg Common extensions library")
4564 (description
4565 "Library for common extensions to the X11 protocol.")
d385b835 4566 (license license:x11)))
5f1d0fb0
AE
4567
4568
6eb126c5 4569(define-public libxinerama
9aea24b6 4570 (package
6eb126c5 4571 (name "libxinerama")
c148559f 4572 (version "1.1.4")
9aea24b6
AE
4573 (source
4574 (origin
4575 (method url-fetch)
4576 (uri (string-append
90466b59 4577 "mirror://xorg/individual/lib/libXinerama-"
9aea24b6
AE
4578 version
4579 ".tar.bz2"))
4580 (sha256
4581 (base32
c148559f 4582 "086p0axqj57nvkaqa6r00dnr9kyrn1m8blgf0zjy25zpxkbxn200"))))
9aea24b6 4583 (build-system gnu-build-system)
6eb126c5 4584 (propagated-inputs
ba57d602 4585 `(("xorgproto" ,xorgproto)))
6eb126c5 4586 (inputs
c7f99931 4587 `(("libxext" ,libxext)
c4c4cc05
JD
4588 ("libx11" ,libx11)))
4589 (native-inputs
4590 `(("pkg-config" ,pkg-config)))
01497dfe 4591 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4592 (synopsis "Xorg Xinerama protocol library")
4593 (description "API for Xinerama extension to X11 protocol.")
d385b835 4594 (license license:x11)))
5f1d0fb0
AE
4595
4596
bd8c5d5b
AE
4597(define-public libxp
4598 (package
4599 (name "libxp")
42ca6c85 4600 (version "1.0.3")
bd8c5d5b
AE
4601 (source
4602 (origin
4603 (method url-fetch)
4604 (uri (string-append
4605 "mirror://xorg/individual/lib/libXp-"
4606 version
4607 ".tar.bz2"))
4608 (sha256
4609 (base32
42ca6c85 4610 "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz"))))
bd8c5d5b
AE
4611 (build-system gnu-build-system)
4612 (propagated-inputs
4613 `(("printproto" ,printproto)))
4614 (inputs
4615 `(("libx11" ,libx11)
c4c4cc05
JD
4616 ("libxext" ,libxext)))
4617 (native-inputs
4618 `(("pkg-config" ,pkg-config)))
01497dfe 4619 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4620 (synopsis "Xorg Print Client library")
4621 (description "Xorg Print Client library.")
bd8c5d5b
AE
4622 (license license:x11)))
4623
4624
6eb126c5 4625(define-public libxrender
9aea24b6 4626 (package
6eb126c5 4627 (name "libxrender")
9eb76bd3 4628 (version "0.9.10")
9aea24b6
AE
4629 (source
4630 (origin
4631 (method url-fetch)
4632 (uri (string-append
59f9bd70 4633 "mirror://xorg/individual/lib/libXrender-"
9aea24b6
AE
4634 version
4635 ".tar.bz2"))
4636 (sha256
4637 (base32
9eb76bd3 4638 "0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
9aea24b6 4639 (build-system gnu-build-system)
6eb126c5 4640 (propagated-inputs
f579a1d2 4641 `(("xorgproto" ,xorgproto)))
9aea24b6 4642 (inputs
f579a1d2 4643 `(("libx11" ,libx11)))
c4c4cc05
JD
4644 (native-inputs
4645 `(("pkg-config" ,pkg-config)))
01497dfe 4646 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4647 (synopsis "Xorg Render Extension library")
4648 (description "Library for the Render Extension to the X11 protocol.")
d385b835 4649 (license license:x11)))
5f1d0fb0 4650
6eb126c5 4651(define-public libxtst
9aea24b6 4652 (package
6eb126c5 4653 (name "libxtst")
82e6a434 4654 (version "1.2.3")
9aea24b6
AE
4655 (source
4656 (origin
4657 (method url-fetch)
4658 (uri (string-append
223681e7 4659 "mirror://xorg/individual/lib/libXtst-"
9aea24b6
AE
4660 version
4661 ".tar.bz2"))
4662 (sha256
4663 (base32
82e6a434 4664 "012jpyj7xfm653a9jcfqbzxyywdmwb2b5wr1dwylx14f3f54jma6"))))
9aea24b6 4665 (build-system gnu-build-system)
6eb126c5 4666 (propagated-inputs
ec89471d
MB
4667 `(("libxi" ,libxi)
4668 ("xorgproto" ,xorgproto)))
9aea24b6 4669 (inputs
ec89471d 4670 `(("libx11" ,libx11)))
c4c4cc05
JD
4671 (native-inputs
4672 `(("pkg-config" ,pkg-config)))
01497dfe 4673 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4674 (synopsis "Xorg library for Xtest and Record extensions")
4675 (description
4676 "libXtst provides the Xlib-based client API for the XTEST & RECORD
4677extensions.
4678
4679The XTEST extension is a minimal set of client and server extensions
4680required to completely test the X11 server with no user intervention. This
4681extension is not intended to support general journaling and playback of user
4682actions.
4683
4684The RECORD extension supports the recording and reporting of all core X
4685protocol and arbitrary X extension protocol.")
d385b835 4686 (license license:x11)))
5f1d0fb0 4687
979bc0f4 4688(define-public libxv
917748dd 4689 (package
979bc0f4 4690 (name "libxv")
62ad5056 4691 (version "1.0.11")
917748dd
AE
4692 (source
4693 (origin
4694 (method url-fetch)
4695 (uri (string-append
88e86ee9 4696 "mirror://xorg/individual/lib/libXv-"
917748dd
AE
4697 version
4698 ".tar.bz2"))
4699 (sha256
4700 (base32
62ad5056 4701 "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
917748dd
AE
4702 (build-system gnu-build-system)
4703 (propagated-inputs
205b83ad 4704 `(("xorgproto" ,xorgproto)))
917748dd 4705 (inputs
205b83ad 4706 `(("libxext" ,libxext)
c4c4cc05
JD
4707 ("libx11" ,libx11)))
4708 (native-inputs
4709 `(("pkg-config" ,pkg-config)))
01497dfe 4710 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4711 (synopsis "Xorg XVideo Extension library")
4712 (description "Library for the X Video Extension to the X11 protocol.")
917748dd
AE
4713 (license license:x11)))
4714
6eb126c5
AE
4715(define-public mkfontdir
4716 (package
4717 (name "mkfontdir")
4718 (version "1.0.7")
4719 (source
4720 (origin
4721 (method url-fetch)
4722 (uri (string-append
d2611ffb 4723 "mirror://xorg/individual/app/mkfontdir-"
6eb126c5
AE
4724 version
4725 ".tar.bz2"))
4726 (sha256
4727 (base32
4728 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4729 (build-system gnu-build-system)
84b5d907
AK
4730 (arguments
4731 '(#:phases
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")
4736 "/bin/mkfontdir")
4737 `("PATH" ":" prefix
4738 (,(string-append (assoc-ref inputs "mkfontscale")
fa6b87f1
MW
4739 "/bin"))))
4740 #t)))))
84b5d907 4741 (inputs
6eb126c5 4742 `(("mkfontscale" ,mkfontscale)))
c4c4cc05 4743 (native-inputs
6eb126c5 4744 `(("pkg-config" ,pkg-config)))
01497dfe 4745 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4746 (synopsis "Create an index of X font files in a directory")
4747 (description
36a4366d 4748 "MkFontDir creates the @code{fonts.dir} files needed by the legacy X
01bec8a6
AK
4749server core font system. The current implementation is a simple wrapper
4750script around the mkfontscale program.")
6eb126c5
AE
4751 (license license:x11)))
4752
9aea24b6
AE
4753(define-public xproto
4754 (package
4755 (name "xproto")
673c0390 4756 (version "7.0.31")
9aea24b6
AE
4757 (source
4758 (origin
4759 (method url-fetch)
4760 (uri (string-append
e876456a 4761 "mirror://xorg/individual/proto/xproto-"
9aea24b6
AE
4762 version
4763 ".tar.bz2"))
4764 (sha256
4765 (base32
673c0390 4766 "0ivpxz0rx2a7nahkpkhfgymz7j0pwzaqvyqpdgw9afmxl1yp9yf6"))))
9aea24b6 4767 (build-system gnu-build-system)
6eb126c5
AE
4768 (propagated-inputs
4769 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
c4c4cc05 4770 (native-inputs
6eb126c5 4771 `(("pkg-config" ,pkg-config)))
01497dfe 4772 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4773 (synopsis "Xorg X11Proto protocol headers")
4774 (description
4775 "XProto provides the headers and specification documents defining
4776the X Window System Core Protocol, Version 11.
4777
4778It also includes a number of headers that aren't purely protocol related,
4779but are depended upon by many other X Window System packages to provide
4780common definitions and porting layer.")
6a6db57f
MB
4781 (license license:x11)
4782 (properties `((superseded . ,xorgproto)))))
6eb126c5
AE
4783
4784;; packages of height 2 in the propagated-inputs tree
4785
4786(define-public libice
9aea24b6 4787 (package
6eb126c5 4788 (name "libice")
014d4c14 4789 (version "1.0.10")
9aea24b6
AE
4790 (source
4791 (origin
4792 (method url-fetch)
4793 (uri (string-append
5c2168c8 4794 "mirror://xorg/individual/lib/libICE-"
9aea24b6
AE
4795 version
4796 ".tar.bz2"))
4797 (sha256
4798 (base32
014d4c14 4799 "0j638yvmyna2k4mz465jywgdybgdchdqppfx6xfazg7l5khxr1kg"))))
9aea24b6 4800 (build-system gnu-build-system)
6eb126c5 4801 (propagated-inputs
6a6db57f 4802 `(("xorgproto" ,xorgproto)))
9aea24b6 4803 (inputs
5eda3d82
LF
4804 `(("libbsd" ,libbsd)
4805 ("xtrans" ,xtrans)))
c4c4cc05
JD
4806 (native-inputs
4807 `(("pkg-config" ,pkg-config)))
01497dfe 4808 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4809 (synopsis "Xorg Inter-Client Exchange library")
4810 (description "Xorg Inter-Client Exchange library.")
d385b835 4811 (license license:x11)))
5f1d0fb0
AE
4812
4813
6eb126c5 4814(define-public libxau
9aea24b6 4815 (package
6eb126c5 4816 (name "libxau")
4e546e54 4817 (version "1.0.9")
9aea24b6
AE
4818 (source
4819 (origin
4820 (method url-fetch)
4821 (uri (string-append
fda2ebe7 4822 "mirror://xorg/individual/lib/libXau-"
9aea24b6
AE
4823 version
4824 ".tar.bz2"))
4825 (sha256
4826 (base32
4e546e54 4827 "1v3krc6x0zliaa66qq1bf9j60x5nqfy68v8axaiglxpnvgqcpy6c"))))
9aea24b6 4828 (build-system gnu-build-system)
6eb126c5 4829 (propagated-inputs
6a6db57f 4830 `(("xorgproto" ,xorgproto)))
c4c4cc05 4831 (native-inputs
6eb126c5 4832 `(("pkg-config" ,pkg-config)))
01497dfe 4833 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4834 (synopsis "Xorg Authorization library")
4835 (description
4836 "libXau provides an authorization library for individual access to
4837an X Window System display.")
d385b835 4838 (license license:x11)))
5f1d0fb0 4839
6eb126c5 4840(define-public libxfixes
9aea24b6 4841 (package
6eb126c5 4842 (name "libxfixes")
3e1ed70f 4843 (version "5.0.3")
9aea24b6
AE
4844 (source
4845 (origin
4846 (method url-fetch)
4847 (uri (string-append
b05752db 4848 "mirror://xorg/individual/lib/libXfixes-"
9aea24b6
AE
4849 version
4850 ".tar.bz2"))
4851 (sha256
4852 (base32
3e1ed70f 4853 "1miana3y4hwdqdparsccmygqr3ic3hs5jrqfzp70hvi2zwxd676y"))))
9aea24b6 4854 (build-system gnu-build-system)
6eb126c5 4855 (propagated-inputs
89ad4fc6 4856 `(("xorgproto" ,xorgproto)))
9aea24b6 4857 (inputs
89ad4fc6 4858 `(("libx11" ,libx11)))
c4c4cc05
JD
4859 (native-inputs
4860 `(("pkg-config" ,pkg-config)))
01497dfe 4861 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4862 (synopsis "Xorg Fixes Extension library")
4863 (description "Library for the XFixes Extension to the X11 protocol.")
d385b835 4864 (license license:x11)))
5f1d0fb0 4865
6eb126c5 4866(define-public libxfont
9aea24b6 4867 (package
6eb126c5 4868 (name "libxfont")
b3e53aae 4869 (version "1.5.4")
9aea24b6
AE
4870 (source
4871 (origin
4872 (method url-fetch)
4873 (uri (string-append
e5392784 4874 "mirror://xorg/individual/lib/libXfont-"
9aea24b6
AE
4875 version
4876 ".tar.bz2"))
4877 (sha256
4878 (base32
b3e53aae 4879 "0hiji1bvpl78aj3a3141hkk353aich71wv8l5l2z51scfy878zqs"))))
9aea24b6 4880 (build-system gnu-build-system)
6eb126c5 4881 (propagated-inputs
b4d7aef5 4882 `(("freetype" ,freetype)
6eb126c5 4883 ("libfontenc" ,libfontenc)
6a6db57f 4884 ("xorgproto" ,xorgproto)))
9aea24b6 4885 (inputs
6eb126c5 4886 `(("zlib" ,zlib)
c4c4cc05
JD
4887 ("xtrans" ,xtrans)))
4888 (native-inputs
4889 `(("pkg-config" ,pkg-config)))
01497dfe 4890 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4891 (synopsis "Xorg Font handling library")
4892 (description
4893 "libXfont provides the core of the legacy X11 font system, handling the
4894index files (fonts.dir, fonts.alias, fonts.scale), the various font file
4895formats, and rasterizing them. It is used by the X servers, the X Font
4896Server (xfs), and some font utilities (bdftopcf for instance), but should
4897not be used by normal X11 clients. X11 clients access fonts via either the
4898new API's in libXft, or the legacy API's in libX11.")
84419dfd
AE
4899 (license license:x11)))
4900
404e48c4
MB
4901(define-public libxfont2
4902 (package
4903 (inherit libxfont)
e3fa0981 4904 (version "2.0.4")
404e48c4
MB
4905 (source (origin
4906 (method url-fetch)
4907 (uri (string-append "mirror://xorg/individual/lib/libXfont2-"
4908 version ".tar.bz2"))
4909 (sha256
4910 (base32
e3fa0981 4911 "1rk9pjxcm01lbr1dxhnvk4f2qrn6zp068qjbvvz5w0z5d0rin5bd"))))))
565e24c4 4912
84419dfd
AE
4913(define-public libxi
4914 (package
4915 (name "libxi")
78b036dd 4916 (version "1.7.10")
84419dfd
AE
4917 (source
4918 (origin
4919 (method url-fetch)
4920 (uri (string-append
2b8172c4 4921 "mirror://xorg/individual/lib/libXi-"
84419dfd
AE
4922 version
4923 ".tar.bz2"))
4924 (sha256
4925 (base32
78b036dd 4926 "0q8hz3slga3w3ch8wp0k7ay9ilhz315qnab0w1y2x9w3cf7hv8rn"))))
84419dfd
AE
4927 (build-system gnu-build-system)
4928 (propagated-inputs
82b4d9ec 4929 `(("xorgproto" ,xorgproto)
a459697e 4930 ("libx11" ,libx11)
2b8172c4
MW
4931 ("libxext" ,libxext)
4932 ("libxfixes" ,libxfixes)))
c4c4cc05
JD
4933 (native-inputs
4934 `(("pkg-config" ,pkg-config)))
01497dfe 4935 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4936 (synopsis "Xorg Input Extension library")
4937 (description "Library for the XInput Extension to the X11 protocol.")
d385b835 4938 (license license:x11)))
5f1d0fb0 4939
6eb126c5 4940(define-public libxrandr
9aea24b6 4941 (package
6eb126c5 4942 (name "libxrandr")
7dad1cce 4943 (version "1.5.2")
9aea24b6
AE
4944 (source
4945 (origin
4946 (method url-fetch)
4947 (uri (string-append
728a4f20 4948 "mirror://xorg/individual/lib/libXrandr-"
9aea24b6
AE
4949 version
4950 ".tar.bz2"))
4951 (sha256
4952 (base32
7dad1cce 4953 "08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
9aea24b6 4954 (build-system gnu-build-system)
6eb126c5 4955 (propagated-inputs
0ff5e9e2
TUBK
4956 ;; In accordance with xrandr.pc.
4957 `(("libx11" ,libx11)
4958 ("libxext" ,libxext)
4959 ("libxrender" ,libxrender)
6a6db57f 4960 ("xorgproto" ,xorgproto)))
c4c4cc05
JD
4961 (native-inputs
4962 `(("pkg-config" ,pkg-config)))
01497dfe 4963 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4964 (synopsis "Xorg Resize and Rotate Extension library")
4965 (description
4966 "Library for the Resize and Rotate Extension to the X11 protocol.")
979bc0f4
AE
4967 (license license:x11)))
4968
979bc0f4
AE
4969(define-public libxvmc
4970 (package
4971 (name "libxvmc")
c4220afb 4972 (version "1.0.12")
979bc0f4
AE
4973 (source
4974 (origin
4975 (method url-fetch)
4976 (uri (string-append
8dc29fd1 4977 "mirror://xorg/individual/lib/libXvMC-"
979bc0f4
AE
4978 version
4979 ".tar.bz2"))
4980 (sha256
4981 (base32
c4220afb 4982 "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
979bc0f4
AE
4983 (build-system gnu-build-system)
4984 (propagated-inputs
4985 `(("libxv" ,libxv)))
4986 (inputs
6a6db57f 4987 `(("xorgproto" ,xorgproto)
979bc0f4 4988 ("libxext" ,libxext)
c4c4cc05
JD
4989 ("libx11" ,libx11)))
4990 (native-inputs
4991 `(("pkg-config" ,pkg-config)))
01497dfe 4992 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
4993 (synopsis "Xorg XvMC library")
4994 (description "Xorg XvMC library.")
47038b76
AE
4995 (license license:x11)))
4996
47038b76
AE
4997(define-public libxxf86vm
4998 (package
4999 (name "libxxf86vm")
7606baa8 5000 (version "1.1.4")
47038b76
AE
5001 (source
5002 (origin
5003 (method url-fetch)
5004 (uri (string-append
81f7096b 5005 "mirror://xorg/individual/lib/libXxf86vm-"
47038b76
AE
5006 version
5007 ".tar.bz2"))
5008 (sha256
5009 (base32
7606baa8 5010 "0mydhlyn72i7brjwypsqrpkls3nm6vxw0li8b2nw0caz7kwjgvmg"))))
47038b76
AE
5011 (build-system gnu-build-system)
5012 (propagated-inputs
5013 `(("libxext" ,libxext)
5b6f1be7 5014 ("xorgproto" ,xorgproto)))
47038b76 5015 (inputs
c4c4cc05
JD
5016 `(("libx11" ,libx11)))
5017 (native-inputs
5018 `(("pkg-config" ,pkg-config)))
01497dfe 5019 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5020 (synopsis "Xorg XF86 Video Mode Extension library")
5021 (description
5022 "Library for the XFree86 Video Mode Extension Extension to the X11
5023protocol.")
d385b835 5024 (license license:x11)))
5f1d0fb0
AE
5025
5026
3a5d9585
AE
5027;; packages of height 3 in the propagated-inputs tree
5028
5029(define-public libxcb
5030 (package
5031 (name "libxcb")
236b7aed 5032 (version "1.13")
3a5d9585
AE
5033 (source
5034 (origin
5035 (method url-fetch)
2f7b4749 5036 (uri (string-append "https://xcb.freedesktop.org/dist/"
4a51d759 5037 "libxcb-" version ".tar.bz2"))
3a5d9585
AE
5038 (sha256
5039 (base32
236b7aed 5040 "1ahxhmdqp4bhb90zmc275rmf5wixqra4bnw9pqnzyl1w3598g30q"))))
3a5d9585
AE
5041 (build-system gnu-build-system)
5042 (propagated-inputs
5043 `(("libpthread-stubs" ,libpthread-stubs)
5044 ("libxau" ,libxau)
5045 ("libxdmcp" ,libxdmcp)))
5046 (inputs
5047 `(("xcb-proto" ,xcb-proto)
c4c4cc05
JD
5048 ("libxslt" ,libxslt)))
5049 (native-inputs
5050 `(("pkg-config" ,pkg-config)
95288fcc 5051 ("python" ,python-minimal-wrapper)))
c8957c77
AE
5052 (arguments
5053 `(#:configure-flags '("--enable-xkb")))
2f7b4749 5054 (home-page "https://xcb.freedesktop.org/")
01bec8a6
AK
5055 (synopsis "The X C Binding (XCB) library")
5056 (description
5057 "libxcb provides an interface to the X Window System protocol,
5058which replaces the current Xlib interface. It has several advantages
5059over Xlib, including:
5060
5061- size: small, simple library, and lower memory footprint;
5062
5063- latency hiding: batch several requests and wait for the replies later;
5064
5065- direct protocol access: interface and protocol correspond exactly;
5066
5067- proven thread support: transparently access XCB from multiple threads;
5068
5069- easy extension implementation: interfaces auto-generated from XML-XCB.")
3a5d9585
AE
5070 (license license:x11)))
5071
5072
b04ac5a1
AE
5073(define-public xorg-server
5074 (package
5075 (name "xorg-server")
37f44547 5076 (version "1.20.7")
b04ac5a1
AE
5077 (source
5078 (origin
5079 (method url-fetch)
5080 (uri (string-append
073cd609 5081 "mirror://xorg/individual/xserver/"
cb505b27 5082 "xorg-server-" version ".tar.bz2"))
b04ac5a1 5083 (sha256
073cd609 5084 (base32
37f44547 5085 "18bfl04ihw1jr3h0fs522nnxxq5ixjay77y9dcymnkzk23q8cndx"))
ab104672 5086 (patches
a35532f5 5087 (list
c68c201f
AW
5088 ;; See:
5089 ;; https://lists.fedoraproject.org/archives/list/devel@lists.
5090 ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
5091 (origin
5092 (method url-fetch)
5093 (uri (string-append
5094 "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
5095 "/plain/06_use-intel-only-on-pre-gen4.diff"))
5096 (sha256
5097 (base32
5098 "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
88c54b1b 5099 (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))))))
b04ac5a1
AE
5100 (build-system gnu-build-system)
5101 (propagated-inputs
0e540ac1 5102 `(("libpciaccess" ,libpciaccess)
073cd609 5103 ("mesa" ,mesa)
b04ac5a1 5104 ("pixman" ,pixman)
6a6db57f 5105 ("xorgproto" ,xorgproto)))
b04ac5a1 5106 (inputs
be56161d 5107 `(("udev" ,eudev)
b04ac5a1 5108 ("dbus" ,dbus)
b04ac5a1 5109 ("libdmx" ,libdmx)
27e982e0 5110 ("libepoxy" ,libepoxy)
2365338b 5111 ("libgcrypt" ,libgcrypt)
b04ac5a1
AE
5112 ("libxau" ,libxau)
5113 ("libxaw" ,libxaw)
5114 ("libxdmcp" ,libxdmcp)
b04ac5a1 5115 ("libxfixes" ,libxfixes)
27e982e0 5116 ("libxfont2" ,libxfont2)
b04ac5a1 5117 ("libxkbfile" ,libxkbfile)
b04ac5a1
AE
5118 ("libxrender" ,libxrender)
5119 ("libxres" ,libxres)
073cd609 5120 ("libxshmfence" ,libxshmfence)
b04ac5a1
AE
5121 ("libxt" ,libxt)
5122 ("libxv" ,libxv)
2365338b
AE
5123 ("xkbcomp" ,xkbcomp)
5124 ("xkeyboard-config" ,xkeyboard-config)
b04ac5a1 5125 ("xtrans" ,xtrans)
324caeb1
DC
5126 ("zlib" ,zlib)
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)))
c4c4cc05 5133 (native-inputs
636fb7cb
MB
5134 `(("python" ,python-wrapper)
5135 ("pkg-config" ,pkg-config)))
2365338b 5136 (arguments
13c9acbf
FB
5137 `(#:parallel-tests? #f
5138 #:configure-flags
2365338b
AE
5139 (list (string-append "--with-xkb-path="
5140 (assoc-ref %build-inputs "xkeyboard-config")
5141 "/share/X11/xkb")
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")
e420308f 5147 "/bin")
b5b5105c
SB
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="
5152
c2eb8cd9
LC
5153 ;; The default is to use "uname -srm", which captures the kernel
5154 ;; version and makes builds non-reproducible.
5155 "--with-os-name=GNU"
5156
5157 "--with-os-vendor=GuixSD" ;not strictly needed, but looks nice
5158
e420308f
LC
5159
5160 ;; For the log file, etc.
324caeb1
DC
5161 "--localstatedir=/var"
5162 ;; For sddm
5163 "--enable-kdrive"
5164 "--enable-xephyr")
073cd609 5165
10cd39d1
MB
5166 #:phases
5167 (modify-phases %standard-phases
c2eb8cd9
LC
5168 (add-before 'configure 'pre-configure
5169 (lambda _
5170 (substitute* (find-files "." "\\.c$")
5171 (("/bin/sh") (which "sh")))
5172
5173 ;; Don't try to 'mkdir /var'.
5174 (substitute* "hw/xfree86/Makefile.in"
5175 (("\\$\\(MKDIR_P\\).*logdir.*")
5176 "true\n"))
5177
5178 ;; Strip timestamps that would otherwise end up in the 'Xorg'
5179 ;; binary.
5180 (substitute* "configure"
5181 (("^BUILD_DATE=.*$")
5182 "BUILD_DATE=19700101\n")
5183 (("^BUILD_TIME=.*$")
5184 "BUILD_TIME=000001\n"))
5185
5186 #t)))))
01497dfe 5187 (home-page "https://www.x.org/wiki/")
35b9e423 5188 (synopsis "Xorg implementation of the X Window System")
01bec8a6
AK
5189 (description
5190 "This package provides the Xorg X server itself.
5191The X server accepts requests from client programs to create windows, which
5192are (normally rectangular) 'virtual screens' that the client program can
5193draw into.
5194
5195Windows are then composed on the actual screen by the X server (or by a
5196separate composite manager) as directed by the window manager, which usually
5197communicates with the user via graphical controls such as buttons and
5198draggable titlebars and borders.")
b04ac5a1
AE
5199 (license license:x11)))
5200
1f49cd54 5201;; This package is intended to be used when building GTK+.
fc0ed8c9
MB
5202;; Note: It's currently marked as "hidden" to avoid having two non-eq?
5203;; packages with the same name and version.
60ecc10f 5204(define-public xorg-server-for-tests
fc0ed8c9
MB
5205 (hidden-package
5206 (package
38ae96e9
MB
5207 (inherit xorg-server)
5208 (version "1.20.5")
5209 (source (origin
5210 (inherit (package-source xorg-server))
5211 (uri (string-append
5212 "mirror://xorg/individual/xserver/"
5213 "xorg-server-" version ".tar.bz2"))
5214 (sha256
5215 (base32
5216 "17dc3g8cc55nbkx3np64dsz04n621dnzjmcc9wys0xbyyd1q47d8")))))))
da79e82b 5217
dfe05a51
DC
5218(define-public xorg-server-xwayland
5219 (package
5220 (inherit xorg-server)
5221 (name "xorg-server-xwayland")
5222 (inputs
ac7a8f1f
EF
5223 `(("wayland" ,wayland)
5224 ("wayland-protocols" ,wayland-protocols)
dfe05a51
DC
5225 ,@(package-inputs xorg-server)))
5226 (arguments
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"
5233 ,flags))))
5234 (synopsis "Xorg server with wayland backend")))
b04ac5a1 5235
6eb126c5 5236
6eb126c5
AE
5237;; packages of height 4 in the propagated-inputs tree
5238
5239(define-public libx11
9aea24b6 5240 (package
6eb126c5 5241 (name "libx11")
74c1c8da 5242 (version "1.6.8")
9aea24b6
AE
5243 (source
5244 (origin
5245 (method url-fetch)
5246 (uri (string-append
075e9a11 5247 "mirror://xorg/individual/lib/libX11-"
9aea24b6
AE
5248 version
5249 ".tar.bz2"))
5250 (sha256
5251 (base32
74c1c8da 5252 "1mbkwhhprhf49s2iwx7kiliprsdvd690zk44x3h53ql9q52si2dj"))))
9aea24b6 5253 (build-system gnu-build-system)
bac48184
LC
5254 (outputs '("out"
5255 "doc")) ;8 MiB of man pages + XML
5256 (arguments
5257 '(#:configure-flags (list (string-append "--mandir="
5258 (assoc-ref %outputs "doc")
5259 "/share/man"))))
6eb126c5 5260 (propagated-inputs
2d030098 5261 `(("xorgproto" ,xorgproto)
6eb126c5 5262 ("libxcb" ,libxcb)))
9aea24b6 5263 (inputs
82b4d9ec 5264 `(("xtrans" ,xtrans)))
c4c4cc05
JD
5265 (native-inputs
5266 `(("pkg-config" ,pkg-config)))
01497dfe 5267 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5268 (synopsis "Xorg Core X11 protocol client library")
5269 (description "Xorg Core X11 protocol client library.")
d385b835 5270 (license license:x11)))
5f1d0fb0 5271
6eb126c5
AE
5272;; packages of height 5 in the propagated-inputs tree
5273
5274(define-public libxcursor
9aea24b6 5275 (package
6eb126c5 5276 (name "libxcursor")
e1c61029 5277 (version "1.2.0")
9aea24b6
AE
5278 (source
5279 (origin
5280 (method url-fetch)
5281 (uri (string-append
cec79ce6 5282 "mirror://xorg/individual/lib/libXcursor-"
9aea24b6
AE
5283 version
5284 ".tar.bz2"))
5285 (sha256
5286 (base32
e1c61029 5287 "10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
9aea24b6 5288 (build-system gnu-build-system)
6eb126c5
AE
5289 (propagated-inputs
5290 `(("libx11" ,libx11)
5291 ("libxrender" ,libxrender)
5292 ("libxfixes" ,libxfixes)
6a6db57f 5293 ("xorgproto" ,xorgproto)))
c4c4cc05 5294 (native-inputs
c7f99931 5295 `(("pkg-config" ,pkg-config)))
ce380150
TD
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:
5300;;
5301;; (native-search-paths
5302;; (list (search-path-specification
5303;; (variable "XCURSOR_PATH")
5304;; (files '("share/icons")))))
01497dfe 5305 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5306 (synopsis "Xorg Cursor management library")
5307 (description "Xorg Cursor management library.")
d385b835 5308 (license license:x11)))
5f1d0fb0 5309
6eb126c5 5310(define-public libxt
9aea24b6 5311 (package
6eb126c5 5312 (name "libxt")
5ab605b9 5313 (version "1.2.0")
9aea24b6
AE
5314 (source
5315 (origin
5316 (method url-fetch)
5317 (uri (string-append
4fde7d34 5318 "mirror://xorg/individual/lib/libXt-"
9aea24b6
AE
5319 version
5320 ".tar.bz2"))
5321 (sha256
5322 (base32
5ab605b9 5323 "0cbqlyssr8aia88c8i7z59z9d0kp3p2hp6683xhz9ndyv8qza7dk"))
54d8d0fe 5324 (patches (search-patches "libxt-guix-search-paths.patch"))))
9aea24b6 5325 (build-system gnu-build-system)
a1d5a6f9
LC
5326 (outputs '("out"
5327 "doc")) ;2 MiB of man pages + XML
5328 (arguments
5329 '(#:configure-flags (list (string-append "--mandir="
5330 (assoc-ref %outputs "doc")
5331 "/share/man"))))
6eb126c5
AE
5332 (propagated-inputs
5333 `(("libx11" ,libx11)
5334 ("libice" ,libice)
5335 ("libsm" ,libsm)))
9aea24b6 5336 (inputs
c4c4cc05
JD
5337 `(("libx11" ,libx11)))
5338 (native-inputs
5339 `(("pkg-config" ,pkg-config)))
01497dfe 5340 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5341 (synopsis "Xorg XToolkit Intrinsics library")
5342 (description "Xorg XToolkit Intrinsics library.")
d385b835 5343 (license license:x11)))
6eb126c5
AE
5344
5345
baa0d82a
LC
5346(define-public libxaw
5347 (package
5348 (name "libxaw")
d0a6437f 5349 (version "1.0.13")
baa0d82a
LC
5350 (source
5351 (origin
5352 (method url-fetch)
5353 (uri (string-append
66e0147e 5354 "mirror://xorg/individual/lib/libXaw-"
baa0d82a
LC
5355 version
5356 ".tar.bz2"))
5357 (sha256
5358 (base32
d0a6437f 5359 "1kdhxplwrn43d9jp3v54llp05kwx210lrsdvqb6944jp29rhdy4f"))))
baa0d82a
LC
5360 (build-system gnu-build-system)
5361 (propagated-inputs
5362 `(("libxext" ,libxext)
5363 ("libxmu" ,libxmu)
5364 ("libxpm" ,libxpm)
5365 ("libxt" ,libxt)))
5366 (inputs
6a6db57f 5367 `(("xorgproto" ,xorgproto)))
c4c4cc05
JD
5368 (native-inputs
5369 `(("pkg-config" ,pkg-config)))
01497dfe 5370 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5371 (synopsis "Xorg Xaw library")
5372 (description
5373 "Xaw is the X Athena Widget Set based on the X Toolkit
5374Intrinsics (Xt) Library.")
baa0d82a 5375 (license license:x11)))
dcc9053a 5376
60bc3006
JD
5377(define-public twm
5378 (package
5379 (name "twm")
b5ebc1bf 5380 (version "1.0.10")
60bc3006
JD
5381 (source
5382 (origin
5383 (method url-fetch)
5384 (uri (string-append
5385 "mirror://xorg/individual/app/" name "-"
5386 version
b5ebc1bf 5387 ".tar.bz2"))
60bc3006
JD
5388 (sha256
5389 (base32
b5ebc1bf 5390 "1ms5cj1w3g26zg6bxdv1j9hl0pxr4300qnv003cz1q3cl7ffljb4"))))
60bc3006
JD
5391 (build-system gnu-build-system)
5392 (inputs
5393 `(("libxt" ,libxt)
5394 ("libxmu" ,libxmu)
5395 ("libxext" ,libxext)
6a6db57f 5396 ("xorgproto" ,xorgproto)))
60bc3006
JD
5397 (native-inputs
5398 `(("bison" ,bison)
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.
5403It provides titlebars, shaped windows, several forms of icon management,
5404user-defined macro functions, click-to-type and pointer-driven
5405keyboard focus, and user-specified key and pointer button bindings.")
5406 (license license:x11)))
dcc9053a 5407
458b2a76
AE
5408(define-public xcb-util
5409 (package
5410 (name "xcb-util")
01400dd6 5411 (version "0.4.0")
458b2a76
AE
5412 (source (origin
5413 (method url-fetch)
d2611ffb
MW
5414 (uri (string-append "mirror://xorg/individual/xcb/"
5415 name "-" version ".tar.bz2"))
458b2a76
AE
5416 (sha256
5417 (base32
01400dd6 5418 "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"))))
458b2a76
AE
5419 (build-system gnu-build-system)
5420 (propagated-inputs
5421 `(("libxcb" ,libxcb)))
c4c4cc05 5422 (native-inputs
458b2a76 5423 `(("pkg-config" ,pkg-config)))
01497dfe 5424 (home-page "https://cgit.freedesktop.org/xcb/util/")
458b2a76 5425 (synopsis "Core XCB utility functions")
01bec8a6
AK
5426 (description
5427 "The XCB util module provides a number of libraries which sit on
5428top of libxcb, the core X protocol library, and some of the extension
5429libraries. These experimental libraries provide convenience functions
5430and interfaces which make the raw X protocol more usable. Some of the
5431libraries also provide client-side code which is not strictly part of
458b2a76
AE
5432the X protocol but which has traditionally been provided by Xlib.
5433
5434The XCB util module provides the following libraries:
01bec8a6
AK
5435
5436- aux: Convenient access to connection setup and some core requests.
5437
5438- atom: Standard core X atom constants and atom caching.
5439
5440- event: Some utilities that have little to do with events any more.")
458b2a76
AE
5441 (license license:x11)))
5442
5443
94a3d8fd
ED
5444(define-public xcb-util-cursor
5445 (package
5446 (name "xcb-util-cursor")
2657fb63 5447 (version "0.1.3")
94a3d8fd
ED
5448 (source (origin
5449 (method url-fetch)
5cc3096c 5450 (uri (string-append "https://xcb.freedesktop.org/dist/"
2657fb63 5451 "xcb-util-cursor-" version ".tar.bz2"))
94a3d8fd
ED
5452 (sha256
5453 (base32
2657fb63 5454 "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885"))))
94a3d8fd
ED
5455 (build-system gnu-build-system)
5456 (native-inputs
5457 `(("m4" ,m4)
5458 ("pkg-config" ,pkg-config)))
5459 (inputs
81f4f105
LF
5460 `(("libxcb" ,libxcb)))
5461 (propagated-inputs
5462 `(("xcb-util-renderutil" ,xcb-util-renderutil)
94a3d8fd 5463 ("xcb-util-image" ,xcb-util-image)))
01497dfe 5464 (home-page "https://cgit.freedesktop.org/xcb/util-cursor/")
94a3d8fd
ED
5465 (synopsis "Port of libxcursor")
5466 (description "XCB-util-cursor is a port of libxcursor.")
5467 (license
5468 ; expat license with added clause regarding advertising
5469 (license:non-copyleft
5470 "file://COPYING"
5471 "See COPYING in the distribution."))))
5472
158c02df
SS
5473(define-public xcb-util-errors
5474 (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030")
5475 (revision "1"))
5476 (package
5477 (name "xcb-util-errors")
5478 (version (git-version "1.0" revision commit))
5479 (source (origin
5480 (method git-fetch)
5481 (uri (git-reference
5482 (url "https://anongit.freedesktop.org/git/xcb/util-errors.git")
5483 (commit commit)
5484 (recursive? #t)))
5485 (file-name (git-file-name name version))
5486 (sha256
5487 (base32
5488 "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg"))))
5489 (build-system gnu-build-system)
5490 (outputs '("out"))
5491 (inputs
5492 `(("util-macros" ,util-macros)
5493 ("xcb-proto" ,xcb-proto)))
5494 (propagated-inputs
5495 `(("libxcb" ,libxcb)))
5496 (native-inputs
5497 `(("autoconf" ,autoconf)
5498 ("automake" ,automake)
5499 ("libtool" ,libtool)
5500 ("python-2" ,python-2)
5501 ("pkg-config" ,pkg-config)))
5502 (arguments
5503 `(#:phases
5504 (modify-phases %standard-phases
5505 (replace 'bootstrap
5506 (lambda _
5507 ;; The default 'bootstrap' phase would run 'autogen.sh', which
5508 ;; would try to run ./configure and fail due to unpatched
5509 ;; shebangs.
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")
5513 (description
5514 "The XCB util module provides a number of libraries which sit on
5515top of libxcb, the core X protocol library, and some of the extension
5516libraries. These experimental libraries provide convenience functions
5517and interfaces which make the raw X protocol more usable. Some of the
5518libraries also provide client-side code which is not strictly part of
5519the X protocol but which has traditionally been provided by Xlib.
5520
5521The XCB util-errors module provides a utility library that gives human
5522readable names to error codes, event codes, and also to major and minor
5523numbers.")
5524 (license license:x11))))
94a3d8fd 5525
dfba4055
AE
5526(define-public xcb-util-image
5527 (package
5528 (name "xcb-util-image")
6639292d 5529 (version "0.4.0")
dfba4055
AE
5530 (source (origin
5531 (method url-fetch)
d2611ffb
MW
5532 (uri (string-append "mirror://xorg/individual/xcb/"
5533 name "-" version ".tar.bz2"))
dfba4055
AE
5534 (sha256
5535 (base32
6639292d 5536 "1z1gxacg7q4cw6jrd26gvi5y04npsyavblcdad1xccc8swvnmf9d"))))
dfba4055
AE
5537 (build-system gnu-build-system)
5538 (propagated-inputs
5539 `(("libxcb" ,libxcb)))
5540 (inputs
c4c4cc05
JD
5541 `(("xcb-util" ,xcb-util)))
5542 (native-inputs
5543 `(("pkg-config" ,pkg-config)))
01497dfe 5544 (home-page "https://cgit.freedesktop.org/xcb/util-image/")
dfba4055 5545 (synopsis "XCB port of Xlib's XImage and XShmImage")
01bec8a6
AK
5546 (description
5547 "The XCB util module provides a number of libraries which sit on
5548top of libxcb, the core X protocol library, and some of the extension
5549libraries. These experimental libraries provide convenience functions
5550and interfaces which make the raw X protocol more usable. Some of the
5551libraries also provide client-side code which is not strictly part of
dfba4055
AE
5552the X protocol but which has traditionally been provided by Xlib.
5553
5554The XCB util-image module provides the following library:
01bec8a6
AK
5555
5556- image: Port of Xlib's XImage and XShmImage functions.")
dfba4055
AE
5557 (license license:x11)))
5558
5559
f5bf403c
AE
5560(define-public xcb-util-keysyms
5561 (package
5562 (name "xcb-util-keysyms")
60ac75cd 5563 (version "0.4.0")
f5bf403c
AE
5564 (source (origin
5565 (method url-fetch)
d2611ffb
MW
5566 (uri (string-append "mirror://xorg/individual/xcb/"
5567 name "-" version ".tar.bz2"))
f5bf403c
AE
5568 (sha256
5569 (base32
60ac75cd 5570 "1nbd45pzc1wm6v5drr5338j4nicbgxa5hcakvsvm5pnyy47lky0f"))))
f5bf403c
AE
5571 (build-system gnu-build-system)
5572 (propagated-inputs
5573 `(("libxcb" ,libxcb)))
c4c4cc05 5574 (native-inputs
f5bf403c 5575 `(("pkg-config" ,pkg-config)))
01497dfe 5576 (home-page "https://cgit.freedesktop.org/xcb/util-keysyms/")
f5bf403c 5577 (synopsis "Standard X constants and conversion to/from keycodes")
01bec8a6
AK
5578 (description
5579 "The XCB util module provides a number of libraries which sit on
5580top of libxcb, the core X protocol library, and some of the extension
5581libraries. These experimental libraries provide convenience functions
5582and interfaces which make the raw X protocol more usable. Some of the
5583libraries also provide client-side code which is not strictly part of
f5bf403c
AE
5584the X protocol but which has traditionally been provided by Xlib.
5585
5586The XCB util-keysyms module provides the following library:
01bec8a6
AK
5587
5588- keysyms: Standard X key constants and conversion to/from keycodes.")
f5bf403c
AE
5589 (license license:x11)))
5590
5591
1fd96c6a
AE
5592(define-public xcb-util-renderutil
5593 (package
5594 (name "xcb-util-renderutil")
c736bc94 5595 (version "0.3.9")
1fd96c6a
AE
5596 (source (origin
5597 (method url-fetch)
d2611ffb
MW
5598 (uri (string-append "mirror://xorg/individual/xcb/"
5599 name "-" version ".tar.bz2"))
1fd96c6a
AE
5600 (sha256
5601 (base32
c736bc94 5602 "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6"))))
1fd96c6a
AE
5603 (build-system gnu-build-system)
5604 (propagated-inputs
5605 `(("libxcb" ,libxcb)))
c4c4cc05 5606 (native-inputs
1fd96c6a 5607 `(("pkg-config" ,pkg-config)))
01497dfe 5608 (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/")
01bec8a6
AK
5609 (synopsis "Convenience functions for the Render extension")
5610 (description
5611 "The XCB util module provides a number of libraries which sit on
5612top of libxcb, the core X protocol library, and some of the extension
5613libraries. These experimental libraries provide convenience functions
5614and interfaces which make the raw X protocol more usable. Some of the
5615libraries also provide client-side code which is not strictly part of
1fd96c6a
AE
5616the X protocol but which has traditionally been provided by Xlib.
5617
5618The XCB util-renderutil module provides the following library:
01bec8a6
AK
5619
5620- renderutil: Convenience functions for the Render extension.")
1fd96c6a
AE
5621 (license license:x11)))
5622
5623
6ff104d5
AE
5624(define-public xcb-util-wm
5625 (package
5626 (name "xcb-util-wm")
b3cbd61a 5627 (version "0.4.1")
6ff104d5
AE
5628 (source (origin
5629 (method url-fetch)
b3cbd61a
MW
5630 (uri (string-append "mirror://xorg/individual/xcb/"
5631 name "-" version ".tar.bz2"))
6ff104d5
AE
5632 (sha256
5633 (base32
b3cbd61a 5634 "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
6ff104d5
AE
5635 (build-system gnu-build-system)
5636 (propagated-inputs
5637 `(("libxcb" ,libxcb)))
c4c4cc05 5638 (native-inputs
6ff104d5
AE
5639 `(("m4" ,m4)
5640 ("pkg-config" ,pkg-config)))
01497dfe 5641 (home-page "https://cgit.freedesktop.org/xcb/util-wm/")
6ff104d5 5642 (synopsis "Client and window-manager helpers for ICCCM and EWMH")
01bec8a6
AK
5643 (description
5644 "The XCB util modules provides a number of libraries which sit on
5645top of libxcb, the core X protocol library, and some of the extension
5646libraries. These experimental libraries provide convenience functions
5647and interfaces which make the raw X protocol more usable. Some of the
5648libraries also provide client-side code which is not strictly part of
458b2a76
AE
5649the X protocol but which has traditionally been provided by Xlib.
5650
5651The XCB util-wm module provides the following libraries:
01bec8a6
AK
5652
5653- ewmh: Both client and window-manager helpers for EWMH.
5654
5655- icccm: Both client and window-manager helpers for ICCCM.")
6ff104d5
AE
5656 (license license:x11)))
5657
6bc64f41
LC
5658(define-public xinit
5659 (package
5660 (name "xinit")
28308020 5661 (version "1.4.1")
6bc64f41
LC
5662 (source (origin
5663 (method url-fetch)
5664 (uri (string-append "mirror://xorg/individual/app/xinit-"
5665 version ".tar.bz2"))
5666 (sha256
5667 (base32
28308020 5668 "1fdbakx59vyh474skjydj1bbglpby3y03nl7mxn0z9v8gdhqz6yy"))))
6bc64f41
LC
5669 (build-system gnu-build-system)
5670 (inputs
6a6db57f 5671 `(("xorgproto" ,xorgproto)
6bc64f41
LC
5672 ("libx11" ,libx11)))
5673 (native-inputs
5674 `(("pkg-config" ,pkg-config)))
5675 (propagated-inputs
5676 `(("xauth" ,xauth)))
9f9c36f5 5677 (home-page "https://www.x.org/")
6bc64f41
LC
5678 (synopsis "Commands to start the X Window server")
5679 (description
5680 "The xinit program is used to start the X Window System server and a
5681first client program on systems that are not using a display manager such as
36a4366d 5682xdm. This package also provides the @code{startx} command, which provides a
6bc64f41
LC
5683user-friendly mechanism to start the X server.")
5684 (license license:x11)))
6ff104d5 5685
dcc9053a
AE
5686;; package outside the x.org system proper of height 5
5687
5688(define-public libxaw3d
5689 (package
5690 (name "libxaw3d")
80a1dfac 5691 (version "1.6.3")
dcc9053a
AE
5692 (source
5693 (origin
5694 (method url-fetch)
5695 (uri (string-append
5696 "mirror://xorg/individual/lib/libXaw3d-"
5697 version
5698 ".tar.bz2"))
5699 (sha256
5700 (base32
80a1dfac 5701 "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"))))
dcc9053a
AE
5702 (build-system gnu-build-system)
5703 (propagated-inputs
5704 `(("libxext" ,libxext)
5705 ("libxmu" ,libxmu)
5706 ("libxt" ,libxt)))
5707 (inputs
c4c4cc05
JD
5708 `(("libx11" ,libx11)))
5709 (native-inputs
5710 `(("pkg-config" ,pkg-config)))
01497dfe 5711 (home-page "https://www.x.org/wiki/")
01bec8a6
AK
5712 (synopsis "Xorg Xaw3d library")
5713 (description
5714 "Xaw is the X 3D Athena Widget Set based on the X Toolkit
5715Intrinsics (Xt) Library.")
dcc9053a 5716 (license license:x11)))
ba6f8e42 5717
ff75441f
YA
5718(define-public xclock
5719 (package
5720 (name "xclock")
fb0f4ab8 5721 (version "1.0.9")
ff75441f
YA
5722 (source
5723 (origin
5724 (method url-fetch)
5725 (uri (string-append "https://www.x.org/releases/individual/app/"
c6df2f58 5726 "xclock-" version ".tar.bz2"))
ff75441f 5727 (sha256
fb0f4ab8 5728 (base32 "1fr3q4rszgx7x2zxy2ip592a3fgx20hfwac49p2l5b7jqsr1ying"))))
ff75441f
YA
5729 (build-system gnu-build-system)
5730 (arguments
5731 `(#:configure-flags
5732 (list (string-append "--with-appdefaultdir="
5733 %output ,%app-defaults-dir))))
5734 (inputs
5735 `(("libxmu" ,libxmu)
5736 ("libx11" ,libx11)
5737 ("libxaw" ,libxaw)
5738 ("libxrender" ,libxrender)
5739 ("libxft" ,libxft)
5740 ("libxkbfile" ,libxkbfile)))
5741 (native-inputs
5742 `(("pkg-config" ,pkg-config)))
78b2eb1a 5743 (home-page "https://gitlab.freedesktop.org/xorg/app/xclock")
ff75441f
YA
5744 (synopsis "Analog / digital clock for X")
5745 (description "The xclock program displays the time in analog or digital
5746form.")
5747 (license (license:x11-style "file://COPYING" "See COPYING for details."))))
5748
6ea1523a
JD
5749(define-public xmag
5750 (package
5751 (name "xmag")
5752 (version "1.0.6")
5753 (source
5754 (origin
5755 (method url-fetch)
5756 (uri (string-append
5757 "mirror://xorg/individual/app/" name "-"
5758 version
5759 ".tar.gz"))
5760 (sha256
5761 (base32
5762 "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87"))))
5763 (build-system gnu-build-system)
5764 (arguments
5765 `(#:configure-flags
5766 (list (string-append "--with-appdefaultdir="
5767 %output ,%app-defaults-dir))))
5768 (inputs
5769 `(("libxaw" ,libxaw)))
5770 (native-inputs
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
5775of an X11 screen.")
5776 (license license:x11)))
5777
f50fff69
JD
5778(define-public xmessage
5779 (package
5780 (name "xmessage")
dde360ec 5781 (version "1.0.5")
f50fff69
JD
5782 (source
5783 (origin
5784 (method url-fetch)
5785 (uri (string-append
5786 "mirror://xorg/individual/app/" name "-"
5787 version
5788 ".tar.gz"))
5789 (sha256
5790 (base32
dde360ec 5791 "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr"))))
f50fff69
JD
5792 (build-system gnu-build-system)
5793 (arguments
5794 `(#:configure-flags
5795 (list (string-append "--with-appdefaultdir="
5796 %output ,%app-defaults-dir))))
5797 (inputs
5798 `(("libxaw" ,libxaw)))
5799 (native-inputs
5800 `(("pkg-config" ,pkg-config)))
5801 (home-page "https://www.x.org/wiki/")
5802 (synopsis "Displays a message or query in a window")
5803 (description
5804 "Xmessage displays a message or query in a window. The user can click
5805on a button to dismiss it or can select one of several buttons
5806to answer a question. Xmessage can also exit after a specified time.")
5807 (license license:x11)))
5808
ba6f8e42
LC
5809(define-public xterm
5810 (package
5811 (name "xterm")
f02fc042 5812 (version "351")
ba6f8e42
LC
5813 (source (origin
5814 (method url-fetch)
7e71d566
TGR
5815 (uri (list
5816 (string-append "http://invisible-mirror.net/archives/xterm/"
757f01fa 5817 "xterm-" version ".tgz")
7e71d566 5818 (string-append "ftp://ftp.invisible-island.net/xterm/"
757f01fa 5819 "xterm-" version ".tgz")))
ba6f8e42
LC
5820 (sha256
5821 (base32
f02fc042 5822 "05kf586my4irrzz2bxgmwjdvynyrg9ybhvfqmx29g70w4888l2kn"))))
ba6f8e42
LC
5823 (build-system gnu-build-system)
5824 (arguments
85afaceb
TGR
5825 '(#:configure-flags '("--enable-wide-chars" "--enable-load-vt-fonts"
5826 "--enable-i18n" "--enable-doublechars"
5827 "--enable-luit" "--enable-mini-luit")
ba6f8e42
LC
5828 #:tests? #f))
5829 (native-inputs
5830 `(("pkg-config" ,pkg-config)))
5831 (inputs
5832 `(("luit" ,luit)
5833 ("libXft" ,libxft)
5834 ("fontconfig" ,fontconfig)
5835 ("freetype" ,freetype)
5836 ("ncurses" ,ncurses)
5837 ("libICE" ,libice)
5838 ("libSM" ,libsm)
5839 ("libX11" ,libx11)
5840 ("libXext" ,libxext)
5841 ("libXt" ,libxt)
6a6db57f 5842 ("xorgproto" ,xorgproto)
ba6f8e42 5843 ("libXaw" ,libxaw)))
432fd269 5844 (home-page "https://invisible-island.net/xterm/")
ba6f8e42
LC
5845 (synopsis "Terminal emulator for the X Window System")
5846 (description
5847 "The xterm program is a terminal emulator for the X Window System. It
5848provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible terminals for
5849programs that cannot use the window system directly.")
5850 (license license:x11)))
6c472741 5851
e17dc739
MB
5852(define-public perl-x11-xcb
5853 (package
5854 (name "perl-x11-xcb")
b106b78c 5855 (version "0.18")
e17dc739
MB
5856 (source (origin
5857 (method url-fetch)
5858 (uri (string-append
5859 "mirror://cpan/authors/id/M/MS/MSTPLBG/"
5860 "X11-XCB-" version ".tar.gz"))
5861 (sha256
5862 (base32
b106b78c 5863 "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
e17dc739
MB
5864 (build-system perl-build-system)
5865 (arguments
5866 '(;; Disable parallel build to prevent a race condition.
5867 #:parallel-build? #f
5868 #:phases
5869 (modify-phases %standard-phases
ebd18113
MB
5870 (add-before 'configure 'set-perl-search-path
5871 (lambda _
5872 (setenv "PERL5LIB"
5873 (string-append (getcwd) ":"
5874 (getenv "PERL5LIB")))
5875 #t))
e17dc739
MB
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"
5881 (("^LDDLFLAGS = ")
5882 (string-append "LDDLFLAGS = "
5883 "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
5884 #t)))
5885 ;; Tests require a running X11 server.
5886 #:tests? #f))
5887 (native-inputs
5888 `(("perl-extutils-depends" ,perl-extutils-depends)
5889 ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
2f837cf7 5890 ("perl-module-install" ,perl-module-install)
e17dc739
MB
5891 ("perl-test-deep" ,perl-test-deep)
5892 ("perl-test-exception" ,perl-test-exception)))
5893 (propagated-inputs
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)))
5901 (inputs
5902 `(("libxcb" ,libxcb)
5903 ("xcb-proto" ,xcb-proto)
5904 ("xcb-util" ,xcb-util)
5905 ("xcb-util-wm" ,xcb-util-wm)))
3adacb49 5906 (home-page "https://metacpan.org/release/X11-XCB")
e17dc739
MB
5907 (synopsis "Perl bindings for libxcb")
5908 (description
5909 "These bindings wrap @code{libxcb} (a C library to speak with X11,
5910in many cases better than @code{Xlib}), and provides an object oriented
5911interface to its methods (using @code{Mouse}).")
2f3108ad 5912 (license license:perl-license)))
e17dc739 5913
6c472741
EB
5914(define-public perl-x11-protocol
5915 (package
5916 (name "perl-x11-protocol")
5917 (version "0.56")
5918 (source (origin
5919 (method url-fetch)
5920 (uri (string-append
5921 "mirror://cpan/authors/id/S/SM/SMCCAM/X11-Protocol-"
5922 version ".tar.gz"))
5923 (sha256
5924 (base32
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")
5929 (description
5930 "X11::Protocol is a client-side interface to the X11 Protocol, allowing
5931perl programs to display windows and graphics on X11 servers.")
ab45b38f 5932 (home-page "https://metacpan.org/release/X11-Protocol")
6c472741
EB
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
5938 ;; for details)."
2f3108ad 5939 (license license:perl-license)))
7dae1f43 5940
f82fe68f
KK
5941(define-public perl-x11-protocol-other
5942 (package
5943 (name "perl-x11-protocol-other")
280189d7 5944 (version "31")
f82fe68f
KK
5945 (source
5946 (origin
5947 (method url-fetch)
5948 (uri (string-append
5949 "mirror://cpan/authors/id/K/KR/KRYDE/X11-Protocol-Other-"
5950 version ".tar.gz"))
5951 (sha256
280189d7 5952 (base32 "1x3kvic52jgp2mvd5wzrqrprqi82cdk8l4075v8b33ksvj9mjqiw"))))
f82fe68f
KK
5953 (build-system perl-build-system)
5954 (native-inputs
5955 `(("perl-encode-hanextra" ,perl-encode-hanextra)
5956 ("perl-module-util" ,perl-module-util)))
5957 (propagated-inputs
5958 `(("perl-x11-protocol" ,perl-x11-protocol)))
3adacb49 5959 (home-page "https://metacpan.org/release/X11-Protocol-Other")
f82fe68f
KK
5960 (synopsis "Miscellaneous helpers for @code{X11::Protocol} connections")
5961 (description
5962 "@code{X11::Protocol::Other} contains window manager related functions for
5963use by client programs, as per the @dfn{ICCCM} (Inter-Client Communication
5964Conventions Manual) and some of the @dfn{EWMH}
5965(Extended Window Manager Hints).")
5966 (license license:gpl3+)))
5967
7dae1f43
CS
5968(define-public xcompmgr
5969 (package
5970 (name "xcompmgr")
5b6a159a 5971 (version "1.1.8")
7dae1f43
CS
5972 (source
5973 (origin
5b6a159a 5974 ;; There's no current tarball.
7dae1f43
CS
5975 (method git-fetch)
5976 (uri (git-reference
01497dfe 5977 (url "https://anongit.freedesktop.org/git/xorg/app/xcompmgr.git")
a35003c2 5978 (commit (string-append "xcompmgr-" version))))
7dae1f43 5979 (sha256
5b6a159a 5980 (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
d514bb13 5981 (file-name (git-file-name name version))))
7dae1f43
CS
5982 (build-system gnu-build-system)
5983 (arguments
5984 `(#:phases (modify-phases %standard-phases
5985 (add-after 'unpack 'autogen
5986 (lambda _
5987 (setenv "NOCONFIGURE" "t")
c6bf07d1 5988 (invoke "sh" "autogen.sh"))))))
7dae1f43
CS
5989 (native-inputs
5990 `(("pkg-config" ,pkg-config)
5991 ("autoconf" ,autoconf)
5992 ("automake" ,automake)))
5993 (inputs
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
6002supporting the XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables
6003basic eye-candy effects.")
01497dfe 6004 (home-page "https://cgit.freedesktop.org/xorg/app/xcompmgr/")
7dae1f43 6005 (license (license:x11-style
01497dfe 6006 "https://cgit.freedesktop.org/xorg/app/xcompmgr/tree/COPYING"))))
4b34d603
RH
6007
6008(define-public xpra
6009 (package
6010 (name "xpra")
15027b89 6011 (version "2.5.3")
4b34d603
RH
6012 (source
6013 (origin
6014 (method url-fetch)
6015 (uri (string-append "https://www.xpra.org/src/xpra-"
6016 version ".tar.xz"))
6017 (sha256
6018 (base32
15027b89 6019 "1ys35lj28903alccks9p055psy1fsk1nxi8ncchvw8bfxkkkvbys"))))
4b34d603 6020 (build-system python-build-system)
a0ec2d25
RH
6021 (inputs `(("ffmpeg" ,ffmpeg)
6022 ("flac" ,flac)
4b34d603 6023 ("gtk+-2" ,gtk+-2) ;; no full GTK3 support yet
a0ec2d25
RH
6024 ("libjpeg" ,libjpeg)
6025 ("libpng" ,libpng)
6026 ("libvpx" ,libvpx)
6027 ("libx264" ,libx264)
6028 ("libxcomposite" ,libxcomposite)
6029 ("libxdamage" ,libxdamage)
bfc25e01 6030 ("libxi" ,libxi)
a0ec2d25
RH
6031 ("libxkbfile" ,libxkbfile)
6032 ("libxrandr" ,libxrandr)
6033 ("libxtst" ,libxtst)
6034 ("lzo" ,lzo)
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)
4b34d603 6041 ("python2-pillow" ,python2-pillow)
a0ec2d25
RH
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)))
4b34d603 6050 (native-inputs `(("pkg-config" ,pkg-config)
c695fb76 6051 ("python2-cython" ,python2-cython)))
4b34d603
RH
6052 (arguments
6053 `(#:python ,python-2 ;; no full Python 3 support yet
6054 #:configure-flags '("--with-tests"
6055 "--with-bundle_tests"
42e52605
RH
6056 "--without-Xdummy" ;; We use Xvfb instead.
6057 "--without-Xdummy_wrapper"
4b34d603
RH
6058 "--without-strict")
6059 #:modules ((guix build python-build-system)
6060 (guix build utils))
6061
6062 #:phases
6063 (modify-phases %standard-phases
6064 (delete 'build)
6065 (delete 'check) ;; There's no test suite at the moment.
6066
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
6070 ;; work).
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"
6080 (("/etc/init.d/")
6081 (string-append (assoc-ref outputs "out")
6082 "/etc/init.d/")))
6083 (substitute* "setup.py"
6084 (("/usr/lib/")
6085 (string-append (assoc-ref outputs "out") "/lib/")))
4ecfc168 6086 ;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
42e52605
RH
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"
4ecfc168
RH
6092 " tcp -nolisten local -noreset -auth"
6093 " $XAUTHORITY\",\n")))
42e52605
RH
6094 (substitute* "./xpra/scripts/config.py"
6095 (("socket-dir.*: \"\",")
6096 "socket-dir\" : \"~/.xpra\","))
4b34d603
RH
6097 #t)))))
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
6101forwarding applications and desktop screens. It gives you remote access to
6102individual 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
6104remote host, direct their display to your local machine, and then to
6105disconnect from these programs and reconnect from the same or another machine,
6106without losing any state. It can also be used to forward full desktops from
6107X11 servers, Windows, or macOS.")
6108 (license license:gpl2+)))
8fd92e03
AI
6109
6110(define-public uim
6111 (package
6112 (name "uim")
ebbc0fea 6113 (version "1.8.8")
8fd92e03
AI
6114 (source
6115 (origin
6116 (method url-fetch)
ebbc0fea 6117 (uri (string-append "https://github.com/uim/uim/releases/download/"
8fd92e03
AI
6118 version "/uim-" version ".tar.bz2"))
6119 (sha256
6120 (base32
ebbc0fea 6121 "1p7sl0js47ja4glmax93ci59h02ipqw3wxkh4f1qgaz5qjy9nn9l"))))
8fd92e03
AI
6122 (build-system gnu-build-system)
6123 (inputs
6124 `(("anthy" ,anthy)
6125 ("libedit" ,libedit)
6126 ("libxft" ,libxft)
6127 ("m17n-lib" ,m17n-lib)))
6128 (native-inputs
6129 `(("emacs" ,emacs-minimal)
6130 ("intltool" ,intltool)
6131 ("pkg-config" ,pkg-config)))
6132 (arguments
6133 `(#:modules ((guix build gnu-build-system)
6134 (guix build utils)
6135 (guix build emacs-utils))
6136 #:imported-modules (,@%gnu-build-system-modules
6137 (guix build emacs-utils))
6138 #:configure-flags
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"))
6144 #:phases
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 "\"")))
6153 #t))
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"))
6160 #t)))))
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.
6164It provides a simple, easily extensible and high code-quality input method
6165development platform, and useful input method environment for users of desktop
6166and 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}
6174 license:lgpl2.0+
6175 ;; pixmaps/*.{svg,png} (see pixmaps/README),
6176 ;; all other files
6177 license:bsd-3))))
6178
6179(define-public uim-gtk
6180 (package
6181 (inherit uim)
6182 (name "uim-gtk")
6183 (inputs
6184 `(("gtk" ,gtk+)
6185 ("gtk" ,gtk+-2)
6186 ,@(package-inputs uim)))
6187 (synopsis "Multilingual input method framework (GTK+ support)")))
6188
6189(define-public uim-qt
6190 (package
6191 (inherit uim)
6192 (name "uim-qt")
6193 (inputs
9db2cad6
EF
6194 `(("qt" ,qtbase)
6195 ("qtx11extras" ,qtx11extras)
8fd92e03
AI
6196 ,@(package-inputs uim)))
6197 (arguments
6198 (substitute-keyword-arguments (package-arguments uim)
6199 ((#:configure-flags configure-flags)
9db2cad6
EF
6200 (append configure-flags (list "--with-qt5-immodule"
6201 "--with-qt5")))))
8fd92e03 6202 (synopsis "Multilingual input method framework (Qt support)")))
a6a2ef27
OP
6203
6204(define-public keynav
6205 (package
6206 (name "keynav")
6207 (version "0.20110708.0")
6208 (source
6209 (origin
6210 (method url-fetch)
6211 (uri (string-append
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"))
6215 (sha256
6216 (base32
6217 "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"))))
6218 (build-system gnu-build-system)
6219 (inputs
6220 `(("cairo" ,cairo)
6221 ("glib" ,glib)
6222 ("libx11" ,libx11)
6223 ("libxext" ,libxext)
6224 ("libxinerama" ,libxinerama)
6225 ("libxtst" ,libxtst)
6226 ("xdotool" ,xdotool)))
6227 (native-inputs
6228 `(("pkg-config" ,pkg-config)))
6229 (arguments
6230 `(#:tests? #f ;No tests.
6231 #:phases
6232 (modify-phases %standard-phases
6233 (add-after 'unpack 'setenv
6234 (lambda _
6235 (setenv "CC" (which "gcc"))
6236 #t))
6237 (add-after 'unpack 'patch-keynav
6238 (lambda _
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"))
6252 #t))
6253 (delete 'configure)
6254 (replace 'install
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")))
6259 #t)))))
6260 (home-page "https://www.semicomplete.com/projects/keynav/")
6261 (synopsis "Keyboard-driven mouse cursor mover")
6262 (description
6263 "Keynav makes your keyboard a fast mouse cursor mover. You can move the
6264cursor to any point on the screen with a few key strokes. It also simulates
6265mouse click. You can do everything mouse can do with a keyboard.")
6266 (license license:bsd-3)))
38fe6449
BS
6267
6268(define-public transset-df
6269 (package
6270 (name "transset-df")
6271 (version "6")
6272 (source (origin
6273 (method url-fetch)
6274 (uri (string-append "http://forchheimer.se/" name "/" name "-" version
6275 ".tar.gz"))
6276 (sha256
6277 (base32
6278 "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
6279 (build-system gnu-build-system)
6280 (arguments
6281 '(#:phases
6282 (modify-phases %standard-phases
6283 (add-after 'unpack 'setenv
6284 (lambda _
6285 (setenv "CC" (which "gcc"))
6286 #t))
6287 (delete 'configure)
6288 (delete 'check)
6289 (replace 'install
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)
6294 #t))))))
6295 (native-inputs
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
6302opacity of X11 windows. This patched version of X.Org's @command{transset}
6303adds functionality, including: selecting window by clicking (as transset),
6304selecting windows by pointing select actual focused X11 window, selecting by
6305window name or id, forcing toggle, increase or decrease opacity.")
1dc184b4 6306 (home-page "https://forchheimer.se/transset-df/")
38fe6449 6307 (license license:x11)))
fe77ede7
LC
6308
6309(define-public bdfresize
6310 (package
6311 (name "bdfresize")
6312 (version "1.5-11")
6313 (source (origin
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
6317 ;; upstream.
6318 (method git-fetch)
6319 (uri (git-reference
6320 (url "https://salsa.debian.org/debian/bdfresize.git")
6321 (commit (string-append "debian/" version))))
6322 (sha256
6323 (base32
6324 "0n3i29wicak8n10vkkippym8yw4ir8f7a263a8rwb8q16wqrxx85"))
6325 (modules '((guix build utils)))
6326 (snippet
6327 '(begin
6328 (for-each make-file-writable (find-files "."))
6329
6330 ;; Remove broken declaration.
6331 (substitute* "charresize.c"
6332 (("char\t\\*malloc\\(\\);")
6333 ""))
6334
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"))
6340 #t))
6341 (file-name (git-file-name name version))))
6342 (build-system gnu-build-system)
6343 (native-inputs
6344 `(("pkg-config" ,pkg-config)
6345 ("autoconf" ,autoconf)
6346 ("automake" ,automake)))
6347 (synopsis "Resize fonts in the BDF format")
6348 (description
222eb114 6349 "This package provides @command{bdfresize}, a command to magnify or
fe77ede7
LC
6350reduce fonts in the Glyph Bitmap Distribution Format (BDF). It produces BDF
6351output.")
6352 (home-page "https://tracker.debian.org/pkg/bdfresize")
6353 (license license:gpl2+)) )
41a54622 6354
6355(define-public console-setup
6356 (package
6357 (name "console-setup")
468c2402 6358 (version "1.194")
90325cf7
TGR
6359 (source
6360 (origin
6361 (method git-fetch)
6362 (uri (git-reference
6363 (url "https://salsa.debian.org/installer-team/console-setup.git")
6364 (commit version)))
6365 (sha256
468c2402 6366 (base32 "0fkabv05j5dj10mfrpjyvv7lnxl9qaqkbjhwj72r18i9i4019vgh"))
90325cf7 6367 (file-name (git-file-name name version))))
41a54622 6368 (build-system gnu-build-system)
6369 (arguments
6370 '(#:make-flags
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
6375 #:phases
6376 (modify-phases %standard-phases
6377 (delete 'configure)
38220030
LC
6378 (add-after 'unpack 'patch-file-names
6379 (lambda _
6380 ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
6381 ;; name.
6382 (substitute* '("Keyboard/ckbcomp")
6383 (("\"cat ")
6384 (string-append "\"" (which "cat")
6385 " ")))
6386 #t))
41a54622 6387 (add-before 'build 'make-doubled-bdfs
6388 (lambda* (#:key inputs #:allow-other-keys)
6389 (invoke "make" "-C" "Fonts"
6390 "doubled_bdfs"
6391 (string-append "SHELL="
6392 (assoc-ref inputs "bash")
6393 "/bin/bash"))))
6394 (replace 'install
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")
6401 "/bin/bash"))))))))
6402 (native-inputs
6403 `(("pkg-config" ,pkg-config)
6404 ("bdftopcf" ,bdftopcf)
6405 ("bdfresize" ,bdfresize)
6406 ("sharutils" ,sharutils))) ;for 'uuencode'
6407 (inputs
6408 `(("perl" ,perl))) ;used by 'ckbcomp'
6409 (synopsis "Set up the Linux console font and keyboard")
6410 (description
6411 "console-setup provides the console with the same keyboard
6412configuration scheme that X Window System has. In particular, the
6413@command{ckbcomp} program compiles an XKB keyboard description to a keymap
6414suitable for @command{loadkeys} or @command{kbdcontrol}. As a result, there
6415is no need to duplicate or change the console keyboard files just to make
6416simple customizations.
6417
6418Besides the keyboard, the package also configures the font on the console. It
6419includes a rich collection of fonts and supports several languages that would
6420otherwise be unsupported on the console (such as Armenian, Georgian, Lao, and
6421Thai).")
6422 (home-page "https://salsa.debian.org/installer-team/console-setup/")
6423
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+
6428 license:expat))))
fe068686
LP
6429
6430(define-public xcur2png
6431 (package
6432 (name "xcur2png")
6433 (version "0.7.1")
6434 (source
6435 (origin
6436 (method git-fetch)
6437 (uri (git-reference
6438 (url "https://github.com/eworm-de/xcur2png.git")
6439 (commit version)))
6440 (file-name (git-file-name name version))
6441 (sha256
6442 (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
6443 (build-system gnu-build-system)
6444 (native-inputs
6445 `(("pkg-config" ,pkg-config)))
6446 (inputs
6447 `(("libpng" ,libpng)
6448 ("libxcursor" ,libxcursor)))
6449 (synopsis "Decode X cursors")
6450 (description
6451 "xcur2png is a program decomposes an X cursor into a set of PNG images and
6452a configuration file reusable by xcursorgen.")
6453 (home-page "https://github.com/eworm-de/xcur2png")
6454 (license license:gpl3+)))