1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
8 ;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
11 ;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
12 ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
13 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
14 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
16 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
17 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
18 ;;; Copyright © 2016 Petter <petter@mykolab.ch>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 (define-module (gnu packages xdisorg)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (guix packages)
38 #:use-module (guix download)
39 #:use-module (guix utils)
40 #:use-module (guix build-system cmake)
41 #:use-module (guix build-system gnu)
42 #:use-module (guix build-system glib-or-gtk)
43 #:use-module (guix build-system python)
44 #:use-module (gnu packages)
45 #:use-module (gnu packages documentation)
46 #:use-module (gnu packages algebra)
47 #:use-module (gnu packages compression)
48 #:use-module (gnu packages image)
49 #:use-module (gnu packages pkg-config)
50 #:use-module (gnu packages gettext)
51 #:use-module (gnu packages gl)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages gnome)
54 #:use-module (gnu packages m4)
55 #:use-module (gnu packages ncurses)
56 #:use-module (gnu packages perl)
57 #:use-module (gnu packages python)
58 #:use-module (gnu packages linux)
59 #:use-module (gnu packages gl)
60 #:use-module (gnu packages guile)
61 #:use-module (gnu packages xml)
62 #:use-module (gnu packages gtk)
63 #:use-module (gnu packages xorg)
64 #:use-module (gnu packages bison))
66 ;; packages outside the x.org system proper
74 (uri (string-append "http://christian.amsuess.com/tools/" name
75 "/files/" name "-" version ".tar.gz"))
78 "1i3f1agixxbfy4kxikb2b241p7c2lg73cl9wqfvlwz3q6zf5faxv"))))
79 (build-system python-build-system)
81 `(#:python ,python-2 ;incompatible with python 3
84 (modify-phases %standard-phases
85 (add-after 'install 'make-xrandr-available
86 (lambda* (#:key inputs outputs #:allow-other-keys)
87 (wrap-program (string-append (assoc-ref outputs "out")
89 `("PATH" ":" prefix (,(string-append (assoc-ref inputs "xrandr")
92 (inputs `(("pygtk" ,python2-pygtk)
94 (native-inputs `(("gettext" ,gettext-minimal)
95 ("python-docutils" ,python2-docutils)))
96 (home-page "https://christian.amsuess.com/tools/arandr/")
97 (synopsis "Another RandR graphical user interface")
98 ;; TRANSLATORS: "X11 resize-and-rotate" should not be translated.
99 (description "ARandR is designed to provide a simple visual front end for
100 the X11 resize-and-rotate (RandR) extension. Relative monitor positions are
101 shown graphically and can be changed in a drag-and-drop way. Configurations
102 are saved as executable shell scripts which can be loaded without using this
104 (license license:gpl3+)))
114 "mirror://sourceforge/" name "/" name "/" version "/"
115 name "-" version ".tar.gz"))
118 "0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp"))))
119 (build-system gnu-build-system)
121 '(#:tests? #f)) ; There is no test suite
122 (inputs `(("libxmu" ,libxmu)
124 (home-page "http://xclip.sourceforge.net/")
125 (synopsis "Command line interface to X11 clipboard")
126 (description "Xclip is a command line interface to the X11 clipboard. It
127 can also be used for copying files, as an alternative to sftp/scp, thus
128 avoiding password prompts when X11 forwarding has already been setup.")
129 (license license:gpl2+)))
131 (define-public libxkbcommon
133 (name "libxkbcommon")
137 (uri (string-append "http://xkbcommon.org/download/" name "-"
141 "0q47xa1szlxwgvwmhv4b7xwawnykz1hnc431d84nj8dlh2q8f22v"))))
142 (build-system gnu-build-system)
146 ("xkeyboard-config" ,xkeyboard-config)))
149 ("pkg-config" ,pkg-config)))
152 (list (string-append "--with-xkb-config-root="
153 (assoc-ref %build-inputs "xkeyboard-config")
155 (string-append "--with-x-locale-root="
156 (assoc-ref %build-inputs "libx11")
157 "/share/X11/locale"))))
158 (home-page "http://xkbcommon.org/")
159 (synopsis "Library to handle keyboard descriptions")
160 (description "Xkbcommon is a library to handle keyboard descriptions,
161 including loading them from disk, parsing them and handling their
162 state. It is mainly meant for client toolkits, window systems, and other
163 system applications; currently that includes Wayland, kmscon, GTK+, Qt,
164 Clutter, and more. Despite the name, it is not currently used by anything
166 (license (license:x11-style "file://COPYING"
167 "See 'COPYING' in the distribution."))))
169 (define-public xdotool
172 (version "3.20150503.1")
177 "https://github.com/jordansissel/xdotool/releases/download/v"
178 version "/xdotool-" version ".tar.gz"))
181 "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8"))
182 (patches (search-patches "xdotool-fix-makefile.patch"))))
183 (build-system gnu-build-system)
185 '(#:tests? #f ; Test suite requires a lot of black magic
187 (modify-phases %standard-phases
189 (lambda* (#:key outputs #:allow-other-keys #:rest args)
190 (setenv "PREFIX" (assoc-ref outputs "out"))
192 (string-append "-Wl,-rpath="
193 (assoc-ref %outputs "out") "/lib"))
194 (setenv "CC" "gcc"))))))
195 (native-inputs `(("perl" ,perl))) ; for pod2man
196 (inputs `(("libx11" ,libx11)
199 ("libxinerama" ,libxinerama)
201 ("libxkbcommon" ,libxkbcommon)))
202 (home-page "http://www.semicomplete.com/projects/xdotool")
203 (synopsis "Fake keyboard/mouse input, window management, and more")
204 (description "Xdotool lets you simulate keyboard input and mouse activity,
205 move and resize windows, etc. It does this using X11's XTEST extension and
206 other Xlib functions. Additionally, you can search for windows and move,
207 resize, hide, and modify window properties like the title. If your window
208 manager supports it, you can use xdotool to switch desktops, move windows
209 between desktops, and change the number of desktops.")
210 (license license:bsd-3)))
220 "http://xeyes.sourcearchive.com/downloads/1.0.1/xeyes_"
225 "04c3md570j67g55h3bix1qbngcslnq91skli51k3g1avki88zkm9"))))
226 (build-system gnu-build-system)
228 `(("libxext" ,libxext)
232 `(("pkg-config" ,pkg-config)))
233 (home-page "http://xeyes.sourcearchive.com/")
234 (synopsis "Follow-the-mouse X demo")
235 (description "Xeyes is a demo program for x.org. It shows eyes
236 following the mouse.")
237 (license license:x11)))
240 (define-public pixman
247 "http://cairographics.org/releases/pixman-"
251 "13m842m9ffac3m9r0b4lvwjhwzg3w4353djkjpf00s0wnm4v5di1"))
252 (patches (search-patches "pixman-CVE-2016-5296.patch"))))
253 (build-system gnu-build-system)
258 `(("pkg-config" ,pkg-config)))
259 (home-page "http://www.pixman.org/")
260 (synopsis "Low-level pixel manipulation library")
261 (description "Pixman is a low-level software library for pixel
262 manipulation, providing features such as image compositing and trapezoid
264 (license license:x11)))
266 (define-public libdrm
274 "https://dri.freedesktop.org/libdrm/libdrm-"
279 "1px91j6imaaq2fy8ksvgldmv0cdz3w379jqiciqvqa99jajxjjsv"))
280 (patches (search-patches "libdrm-symbol-check.patch"))))
281 (build-system gnu-build-system)
283 `(("libpciaccess" ,libpciaccess)
284 ("libpthread-stubs" ,libpthread-stubs)))
286 `(("pkg-config" ,pkg-config)))
287 (home-page "http://dri.freedesktop.org/wiki/")
288 (synopsis "Direct rendering userspace library")
289 (description "The Direct Rendering Infrastructure, also known as the DRI,
290 is a framework for allowing direct access to graphics hardware under the
291 X Window System in a safe and efficient manner. It includes changes to the
292 X server, to several client libraries, and to the kernel (DRM, Direct
293 Rendering Manager). The most important use for the DRI is to create fast
294 OpenGL implementations providing hardware acceleration for Mesa.
295 Several 3D accelerated drivers have been written to the DRI specification,
296 including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
298 (license license:x11)))
309 "http://bitmath.org/code/mtdev/mtdev-"
313 "0zxs7shzgbalkvlaiibi25bd902rbmkv9n1lww6q8j3ri9qdaxv6"))))
314 (build-system gnu-build-system)
315 (home-page "http://bitmath.org/code/mtdev/")
316 (synopsis "Multitouch protocol translation library")
317 (description "Mtdev is a stand-alone library which transforms all
318 variants of kernel MT events to the slotted type B protocol. The events
319 put into mtdev may be from any MT device, specifically type A without
320 contact tracking, type A with contact tracking, or type B with contact
322 (license license:x11)))
324 (define-public startup-notification
326 (name "startup-notification")
331 (uri (string-append "https://www.freedesktop.org/software/" name
332 "/releases/" name "-" version ".tar.gz"))
335 "0jmyryrpqb35y9hd5sgxqy2z0r1snw7d3ljw0jak0n0cjdz1yf9w"))))
336 (build-system gnu-build-system)
337 (native-inputs `(("pkg-config" ,pkg-config)))
340 ("xcb-util" ,xcb-util)))
341 (home-page "http://www.freedesktop.org/wiki/Software/startup-notification/")
342 (synopsis "Application startup notification and feedback library")
344 "Startup-notification contains a reference implementation of the startup
345 notification protocol. The reference implementation is mostly under an X Window
346 System style license, and has no special dependencies.")
347 ;; Most of the code is provided under x11 license.
348 (license license:lgpl2.0+)))
350 (define-public wmctrl
357 "https://sites.google.com/site/tstyblo/wmctrl/wmctrl-"
361 "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"))
362 (patches (search-patches "wmctrl-64-fix.patch"))))
363 (build-system gnu-build-system)
366 (list (string-append "--mandir="
367 (assoc-ref %outputs "out")
370 `(("pkg-config" ,pkg-config)))
375 (home-page "http://tomas.styblo.name/wmctrl/")
376 (synopsis "Command-line tool to control X window managers")
378 "Wmctrl allows to interact with an X window manager that is compatible
379 with the EWMH/NetWM specification. It can query the window manager for
380 information, and request for certain window management actions (resize and
381 move windows, switch between desktops, etc.).")
382 (license license:gpl2+)))
390 (uri (list (string-append
391 "http://linuxbrit.co.uk/downloads/scrot-"
394 "https://fossies.org/linux/privat/old/scrot-"
398 "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1"))))
399 (build-system gnu-build-system)
401 ;; By default, man and doc are put in PREFIX/{man,doc} instead of
402 ;; PREFIX/share/{man,doc}.
404 (list (string-append "--mandir="
405 (assoc-ref %outputs "out")
408 (modify-phases %standard-phases
410 (lambda* (#:key inputs outputs #:allow-other-keys)
411 (let* ((out (assoc-ref outputs "out"))
412 (doc (string-append out "/share/doc/scrot")))
415 (system* "make" "install"
416 (string-append "docsdir=" doc)))))))))
420 (home-page "http://linuxbrit.co.uk/software/")
421 (synopsis "Command-line screen capture utility for X Window System")
423 "Scrot allows to save a screenshot of a full screen, a window or a part
424 of the screen selected by mouse.")
425 ;; This license removes a clause about X Consortium from the original
427 (license (license:x11-style "file://COPYING"
428 "See 'COPYING' in the distribution."))))
437 "https://github.com/naelstrof/slop/archive/v"
439 (file-name (string-append name "-" version ".tar.gz"))
442 "0z0p4a3p5mc6fjh5f8js9ppb0maxyvfxpiw2n6nqc5nim1kv6bim"))))
443 (build-system cmake-build-system)
444 (arguments '(#:tests? #f)) ; no "check" target
447 ("libxrandr" ,libxrandr)
452 (home-page "https://github.com/naelstrof/slop")
453 (synopsis "Select a region and print its bounds to stdout")
455 "slop (Select Operation) is a tool that queries for a selection from a
456 user and prints the region to stdout. It grabs the mouse and turns it into a
457 crosshair, lets the user click and drag to make a selection (or click on a
458 window) while drawing a pretty box around it, then finally prints the
459 selection's dimensions to stdout.")
460 (license license:gpl3+)))
469 "https://github.com/naelstrof/maim/archive/v"
471 (file-name (string-append name "-" version ".tar.gz"))
474 "0kfp7k55bxc5h6h0wv8bwmsc5ny66h9ra2z4dzs4yzszq16544pv"))))
475 (build-system cmake-build-system)
477 '(#:tests? #f ; no "check" target
479 (modify-phases %standard-phases
480 (add-after 'unpack 'patch-source
481 (lambda* (#:key inputs #:allow-other-keys)
482 (let ((slop (string-append (assoc-ref inputs "slop")
484 ;; "slop" command is hardcoded in the source; replace it
485 ;; with the full file name.
486 (substitute* "src/main.cpp"
487 (("^( +slopcommand.*)\"slop\"" all front)
488 (string-append front "\"" slop "\"")))))))))
491 ("libxrandr" ,libxrandr)
492 ("libxfixes" ,libxfixes)
495 (home-page "https://github.com/naelstrof/maim")
496 (synopsis "Screenshot utility for X Window System")
498 "maim (Make Image) is a tool that takes screenshots of your desktop and
499 saves it in any format. Along with a full screen, it allows you to capture a
500 predefined region or a particular window. Also, it makes it possible to
501 include cursor in the resulting image.")
502 (license license:gpl3+)))
504 (define-public unclutter
511 "http://ftp.x.org/contrib/utilities/unclutter-"
515 "0ahrr5z6wxqqfyihm112hnq0859zlxisrb3y5232zav58j6sfmdq"))))
516 (build-system gnu-build-system)
518 '(#:tests? #f ; no check target
520 (modify-phases %standard-phases
523 (lambda* (#:key inputs outputs #:allow-other-keys)
524 (let* ((out (assoc-ref outputs "out"))
525 (bin (string-append out "/bin"))
526 (man1 (string-append out "/share/man/man1")))
530 (system* "make" "install" "install.man"
531 (string-append "BINDIR=" bin)
532 (string-append "MANDIR=" man1)))))))))
533 (inputs `(("libx11" ,libx11)))
534 (home-page "http://ftp.x.org/contrib/utilities/")
535 (synopsis "Hide idle mouse cursor")
537 "Unclutter is a program which runs permanently in the background of an
538 X11 session. It checks on the X11 pointer (cursor) position every few
539 seconds, and when it finds it has not moved (and no buttons are pressed
540 on the mouse, and the cursor is not in the root window) it creates a
541 small sub-window as a child of the window the cursor is in. The new
542 window installs a cursor of size 1x1 but a mask of all 0, i.e. an
543 invisible cursor. This allows you to see all the text in an xterm or
544 xedit, for example. The human factors crowd would agree it should make
545 things less distracting.")
546 (license license:public-domain)))
548 (define-public xlockmore
554 (uri (list (string-append
555 "http://www.tux.org/~bagleyd/xlock/xlockmore-"
558 "http://www.tux.org/~bagleyd/xlock/xlockmore-old"
559 "/xlockmore-" version
560 "/xlockmore-" version ".tar.xz")))
563 "138d79b8zc2hambbr9fnxp3fhihlcljgqns04zf0kv2f53pavqwl"))))
564 (build-system gnu-build-system)
566 '(#:configure-flags (list (string-append "--enable-appdefaultdir="
567 (assoc-ref %outputs "out")
568 "/lib/X11/app-defaults"))
569 #:tests? #f)) ;no such thing as a test suite
574 ("linux-pam" ,linux-pam)))
575 (home-page "http://www.tux.org/~bagleyd/xlockmore.html")
576 (synopsis "Screen locker for the X Window System")
578 "XLockMore is a classic screen locker and screen saver for the
580 (license (license:non-copyleft #f "See xlock.c.")
581 ))) ; + GPLv2 in modes/glx/biof.c.
590 "mirror://sourceforge/libxosd/libxosd/xosd-" version "/"
591 name "-" version ".tar.gz"))
594 "025m7ha89q29swkc7s38knnbn8ysl24g2h5s7imfxflm91psj7sg"))))
595 (build-system gnu-build-system)
598 (list (string-append "--mandir=" %output "/share/man"))))
603 ("libxinerama" ,libxinerama)))
604 (home-page "https://sourceforge.net/projects/libxosd/")
605 (synopsis "X On Screen Display")
607 "XOSD provides a C library and a simple utility (osd_cat) for displaying
608 transparent text on your screen.")
609 (license license:gpl2+)))
611 (define-public xbindkeys
617 ;; Download from the savannah mirror list fails
619 "http://www.nongnu.org/xbindkeys/xbindkeys-"
624 "060df6d8y727jp1inp7blp44cs8a7jig7vcm8ndsn6gw36z1h3bc"))))
625 (build-system gnu-build-system)
628 ("guile" ,guile-2.0)))
629 (home-page "http://www.nongnu.org/xbindkeys/")
630 (synopsis "Associate a combination of keys with a shell command")
632 "XBindKeys is a program that allows you to launch shell commands with
633 your keyboard or your mouse under the X Window System. It links commands to
634 keys or mouse buttons, using a configuration file. It's independent of the
635 window manager and can capture all keyboard keys (ex: Power, Wake...). It
636 optionally supports a Guile-based configuration file layout, which enables you
637 to access all XBindKeys internals, so you can have key combinations, double
638 clicks or timed double clicks take actions. Also all functions that work in
639 Guile will work for XBindKeys.")
640 (license license:gpl2+)))
648 (file-name (string-append name "-" version ".tar.gz"))
651 "https://github.com/baskerville/sxhkd/archive/"
655 "15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj"))))
656 (build-system gnu-build-system)
658 `(("asciidoc" ,asciidoc)
660 ("xcb-util" ,xcb-util)
661 ("xcb-util-keysyms" ,xcb-util-keysyms)
662 ("xcb-util-wm" ,xcb-util-wm)))
664 '(#:phases (alist-delete 'configure %standard-phases)
665 #:tests? #f ; no check target
666 #:make-flags (list "CC=gcc"
667 (string-append "PREFIX=" %output))))
668 (home-page "https://github.com/baskerville/sxhkd")
669 (synopsis "Simple X hotkey daemon")
670 (description "sxhkd is a simple X hotkey daemon with a powerful and
671 compact configuration syntax.")
672 (license license:bsd-2)))
674 (define-public rxvt-unicode
676 (name "rxvt-unicode")
680 (uri (string-append "http://dist.schmorp.de/rxvt-unicode/Attic/"
681 name "-" version ".tar.bz2"))
684 "1pddjn5ynblwfrdmskylrsxb9vfnk3w4jdnq2l8xn2pspkljhip9"))))
685 (build-system gnu-build-system)
687 ;; This sets the destination when installing the necessary terminal
688 ;; capability data, which are not provided by 'ncurses'. See
689 ;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
690 '(#:make-flags (list (string-append "TERMINFO="
691 (assoc-ref %outputs "out")
692 "/share/terminfo"))))
697 `(("ncurses" ,ncurses) ;trigger the installation of terminfo data
699 ("pkg-config" ,pkg-config)))
700 ;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
701 ;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
703 (list (search-path-specification
704 (variable "TERMINFO_DIRS")
705 (files '("share/terminfo")))))
706 (home-page "http://software.schmorp.de/pkg/rxvt-unicode.html")
707 (synopsis "Rxvt clone with XFT and unicode support")
708 (description "Rxvt-unicode (urxvt) is a colour vt102 terminal emulator
709 intended as an xterm replacement for users who do not require features such as
710 Tektronix 4014 emulation and toolkit-style configurability. It supports
711 unicode, XFT and may be extended with Perl plugins. It also comes with a
712 client/daemon pair that lets you open any number of terminal windows from
713 within a single process.")
714 (license license:gpl3+)))
723 (uri (string-append "https://github.com/alols/" name
724 "/archive/v" version ".tar.gz"))
725 (file-name (string-append name "-" version ".tar.gz"))
728 "0898zc3vwxia00h9kfknpf7jygxgwggrx8v5mxc31w4lzn2dhzm2"))))
729 (build-system gnu-build-system)
731 `(#:tests? #f ; no check target
732 #:phases (alist-delete 'configure %standard-phases) ; no configure script
733 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
734 "MANDIR=/share/man/man1"
737 `(("libxtst" ,libxtst)
740 `(("pkg-config" ,pkg-config)))
741 (home-page "http://github.com/alols/xcape")
742 (synopsis "Use a modifier key in X.org as another key")
744 "This utility for X.org allows to use modifier key as another key when
745 pressed and released on its own. The default behaviour is to generate the
746 Escape key when Left Control is pressed and released on its own.")
747 (license license:gpl3+)))
749 (define-public libwacom
755 (uri (string-append "mirror://sourceforge/linuxwacom/libwacom/"
756 name "-" version ".tar.bz2"))
759 "022d0097dk2glgb6772zpcsqm1w42sbsbr3i72pdhzq6naqawys8"))))
760 (build-system glib-or-gtk-build-system)
762 `(("pkg-config" ,pkg-config)))
765 ("libgudev" ,libgudev)
767 ("libxml2" ,libxml2)))
769 ;; libwacom includes header files that include GLib, and libinput uses
770 ;; those header files.
772 (home-page "http://linuxwacom.sourceforge.net/")
773 (synopsis "Helper library for Wacom tablet settings")
775 "Libwacom is a library to help implement Wacom tablet settings. It is
776 intended to be used by client-programs that need model identification. It is
777 already being used by the gnome-settings-daemon and the GNOME Control Center
778 Wacom tablet applet.")
779 (license license:x11)))
781 (define-public xf86-input-wacom
783 (name "xf86-input-wacom")
788 "mirror://sourceforge/linuxwacom/xf86-input-wacom/"
789 name "-" version ".tar.bz2"))
792 "15lbzjkaf690i69qy0n0ibwczbclqq1nx0418c6a567by5v7wl48"))))
795 (list (string-append "--with-sdkdir="
796 (assoc-ref %outputs "out")
798 (string-append "--with-xorg-conf-dir="
799 (assoc-ref %outputs "out")
800 "/share/X11/xorg.conf.d"))))
801 (build-system gnu-build-system)
803 `(("pkg-config" ,pkg-config)))
805 `(("xorg-server" ,xorg-server)
806 ("libxrandr" ,libxrandr)
807 ("libxinerama" ,libxinerama)
810 (home-page "http://linuxwacom.sourceforge.net/")
811 (synopsis "Wacom input driver for X")
813 "The xf86-input-wacom driver is the wacom-specific X11 input driver for
814 the X.Org X Server version 1.7 and later (X11R7.5 or later).")
815 (license license:x11)))
817 (define-public redshift
825 (string-append "https://github.com/jonls/redshift/"
826 "releases/download/v" version
827 "/redshift-" version ".tar.xz"))
830 "0ngkwj7rg8nfk806w0sg443w6wjr91xdc0zisqfm5h2i77wm1qqh"))))
831 (build-system gnu-build-system)
833 `(("pkg-config" ,pkg-config)
834 ("intltool" ,intltool)))
839 ("libxxf86vm" ,libxxf86vm)
841 ("glib" ,glib))) ;for Geoclue2 support
842 (home-page "https://github.com/jonls/redshift")
843 (synopsis "Adjust the color temperature of your screen")
845 "Redshift adjusts the color temperature according to the position of the
846 sun. A different color temperature is set during night and daytime. During
847 twilight and early morning, the color temperature transitions smoothly from
848 night to daytime temperature to allow your eyes to slowly adapt. At night the
849 color temperature should be set to match the lamps in your room.")
850 (license license:gpl3+)))
852 (define-public xscreensaver
854 (name "xscreensaver")
860 (string-append "https://www.jwz.org/xscreensaver/xscreensaver-"
864 "08kbb0ry7ih436ab4i5g6lnhaaz13zkcdmbdibrn4j5gm5qq8v0y"))))
865 (build-system gnu-build-system)
867 `(#:tests? #f ; no check target
869 (modify-phases %standard-phases
870 (add-before 'configure 'adjust-gtk-resource-paths
872 (substitute* '("driver/Makefile.in" "po/Makefile.in.in")
873 (("@GTK_DATADIR@") "@datadir@")
874 (("@PO_DATADIR@") "@datadir@")))))
875 #:configure-flags '("--with-pam" "--with-proc-interrupts"
876 "--without-readdisplay")
877 #:make-flags (list (string-append "AD_DIR="
878 (assoc-ref %outputs "out")
879 "/usr/lib/X11/app-defaults"))))
881 `(("pkg-config" ,pkg-config)
882 ("intltool" ,intltool)))
891 ("libglade" ,libglade)
895 ("linux-pam" ,linux-pam)
901 ("libxrandr" ,libxrandr)
904 (home-page "https://www.jwz.org/xscreensaver/")
905 (synopsis "Classic screen saver suite supporting screen locking")
907 "xscreensaver is a popular screen saver collection with many entertaining
908 demos. It also acts as a nice screen locker.")
909 ;; xscreensaver doesn't have a single copyright file and instead relies on
910 ;; source comment headers, though most files have the same lax
911 ;; permissions. To reduce complexity, we're pointing at Debian's
912 ;; breakdown of the copyright information.
913 (license (license:non-copyleft
915 "http://metadata.ftp-master.debian.org/changelogs/"
916 "/main/x/xscreensaver/xscreensaver_5.34-2_copyright")))))
918 (define-public xdpyprobe
924 (uri (string-append "https://github.com/alezost/" name
925 "/releases/download/v" version
926 "/" name "-" version ".tar.gz"))
929 "1h09wd2qcg08rj5hcakvdh9q01hkrj8vxly94ax3ch2x06lm0zq8"))))
930 (build-system gnu-build-system)
932 `(("libx11" ,libx11)))
933 (home-page "https://github.com/alezost/xdpyprobe")
934 (synopsis "Probe X server for connectivity")
936 "Xdpyprobe is a tiny C program whose only purpose is to probe a
937 connectivity of the X server running on a particular @code{DISPLAY}.")
938 (license license:gpl3+)))
946 (uri (string-append "https://github.com/DaveDavenport/rofi/"
948 version "/rofi-" version ".tar.xz"))
951 "1a65ai93ygras5bi7wc0s5i3zqslzqlnw3klq3sdnp2p0d6hjjqn"))))
952 (build-system gnu-build-system)
957 ("startup-notification" ,startup-notification)
958 ("libxkbcommon" ,libxkbcommon)
960 ("xcb-util" ,xcb-util)
961 ("xcb-util-xrm" ,xcb-util-xrm)
962 ("xcb-util-wm" ,xcb-util-wm)))
964 `(("pkg-config" ,pkg-config)))
967 (modify-phases %standard-phases
968 (add-before 'configure 'adjust-tests
970 (substitute* '("test/helper-expand.c")
973 (("g_get_home_dir \\(\\)") "\"/\"")))))))
974 (home-page "https://davedavenport.github.io/rofi/")
975 (synopsis "Application Launcher")
976 (description "Rofi is a minimalist Application Launcher. It memorizes which
977 applications you regularily use and also allows you to search for an application
979 (license license:expat)))
987 (uri (string-append "https://gitlab.com/o9000/" name
988 "/repository/archive.tar.gz?ref=" version))
989 (file-name (string-append name "-" version ".tar.gz"))
992 "0dv7zaj2ahnfclnwnwcz9arrvzxn65yy29z7fqdgifdh3jk1kl2h"))))
993 (build-system cmake-build-system)
995 '(#:tests? #f ;no test target
997 (modify-phases %standard-phases
998 (add-after 'unpack 'fix-installation-prefix
1000 (substitute* "CMakeLists.txt"
1001 (("/etc") "${CMAKE_INSTALL_PREFIX}/etc")))))))
1005 ("librsvg" ,librsvg)
1006 ("libxcomposite" ,libxcomposite)
1007 ("libxdamage" ,libxdamage)
1009 ("libxinerama" ,libxinerama)
1010 ("libxrandr" ,libxrandr)
1011 ("startup-notification" ,startup-notification)))
1013 `(("gettext" ,gettext-minimal)
1014 ("pkg-config" ,pkg-config)))
1015 (home-page "https://gitlab.com/o9000/tint2")
1016 (synopsis "Lightweight task bar")
1018 "Tint2 is a simple task bar made for modern X window managers. It was
1019 specifically made for Openbox but it should also work with other window
1020 managers (GNOME, KDE, XFCE etc.).
1022 The taskbar includes transparency and color settings for the font, icons,
1023 border, and background. It also supports multihead setups, customized mouse
1024 actions, a built-in clock, a battery monitor and a system tray.")
1025 (license license:gpl2)))
1027 (define-public xcb-util-xrm
1029 (name "xcb-util-xrm")
1034 "https://github.com/Airblader/xcb-util-xrm/releases"
1035 "/download/v" version "/xcb-util-xrm-" version ".tar.bz2"))
1038 "0vbqhag51i0njc8d5fc8c6aa12496cwrc3s6s7sa5kfc17cwhppp"))
1039 (modules '((guix build utils)))
1042 '(delete-file-recursively "m4"))))
1043 (build-system gnu-build-system)
1045 `(("pkg-config" ,pkg-config)
1047 ("libx11" ,libx11))) ; for tests
1049 `(("libxcb" ,libxcb)
1050 ("xcb-util" ,xcb-util)))
1051 (home-page "https://github.com/Airblader/xcb-util-xrm")
1052 (synopsis "XCB utility functions for the X resource manager")
1054 "The XCB util module provides a number of libraries which sit on
1055 top of libxcb, the core X protocol library, and some of the extension
1056 libraries. These experimental libraries provide convenience functions
1057 and interfaces which make the raw X protocol more usable. Some of the
1058 libraries also provide client-side code which is not strictly part of
1059 the X protocol but which has traditionally been provided by Xlib.
1061 XCB util-xrm module provides the following libraries:
1063 - xrm: utility functions for the X resource manager.")
1064 (license license:x11)))
1066 (define-public xcalib
1072 (uri (string-append "mirror://sourceforge/xcalib/xcalib/" version
1073 "/xcalib-source-" version ".tar.gz"))
1076 "1rh6xb51c5xz926dnn82a2fn643g0sr4a8z66rn6yi7523kjw4ca"))))
1077 (build-system gnu-build-system)
1079 '(#:make-flags '("CC=gcc")
1080 #:tests? #f ; No test suite
1081 #:phases (modify-phases %standard-phases
1084 (lambda* (#:key outputs #:allow-other-keys)
1085 (let* ((out (assoc-ref outputs "out"))
1086 (bin (string-append out "/bin")))
1087 (install-file "xcalib" bin))))
1088 (add-after 'install 'install-doc
1089 (lambda* (#:key outputs #:allow-other-keys)
1090 (let ((doc (string-append(assoc-ref outputs "out")
1091 "/share/doc/xcalib")))
1092 (install-file "README" doc)
1093 ;; Avoid unspecified return value.
1095 (inputs `(("libx11", libx11)
1096 ("libxext", libxext)
1097 ("libxxf86vm", libxxf86vm)))
1098 (synopsis "Tiny monitor calibration loader for XFree86 (or X.org)")
1099 (description "xcalib is a tiny tool to load the content of vcgt-Tags in ICC
1100 profiles to the video card's gamma ramp. It does work with most video card
1101 drivers except the generic VESA driver. Alter brightness, contrast, RGB, and
1102 invert colors on a specific display/screen.")
1103 (home-page "http://xcalib.sourceforge.net/")
1104 (license license:gpl2)))