Commit | Line | Data |
---|---|---|
3c156c8a JD |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr> | |
18ad5bff | 3 | ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> |
3c156c8a | 4 | ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> |
11447a79 | 5 | ;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com> |
ab69d9ac | 6 | ;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org> |
76212b57 | 7 | ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org> |
42f2c2b9 | 8 | ;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com> |
f1f7049e | 9 | ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com> |
998b8c07 | 10 | ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com> |
6645753b | 11 | ;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net> |
3c156c8a JD |
12 | ;;; |
13 | ;;; This file is part of GNU Guix. | |
14 | ;;; | |
15 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
16 | ;;; under the terms of the GNU General Public License as published by | |
17 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
18 | ;;; your option) any later version. | |
19 | ;;; | |
20 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
21 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | ;;; GNU General Public License for more details. | |
24 | ;;; | |
25 | ;;; You should have received a copy of the GNU General Public License | |
26 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
27 | ||
28 | (define-module (gnu packages xdisorg) | |
29 | #:use-module ((guix licenses) #:prefix license:) | |
30 | #:use-module (guix packages) | |
31 | #:use-module (guix download) | |
18ad5bff | 32 | #:use-module (guix utils) |
3c156c8a | 33 | #:use-module (guix build-system gnu) |
f1f7049e | 34 | #:use-module (guix build-system glib-or-gtk) |
ae05b185 | 35 | #:use-module (guix build-system python) |
3c156c8a | 36 | #:use-module (gnu packages) |
998b8c07 | 37 | #:use-module (gnu packages asciidoc) |
3c156c8a JD |
38 | #:use-module (gnu packages compression) |
39 | #:use-module (gnu packages image) | |
40 | #:use-module (gnu packages pkg-config) | |
ae05b185 | 41 | #:use-module (gnu packages gettext) |
2e88e089 | 42 | #:use-module (gnu packages glib) |
b9cbe316 | 43 | #:use-module (gnu packages gnome) ;for libgudev |
1ef3f91a | 44 | #:use-module (gnu packages ncurses) |
de51bf58 | 45 | #:use-module (gnu packages perl) |
ae05b185 | 46 | #:use-module (gnu packages python) |
ab69d9ac | 47 | #:use-module (gnu packages linux) |
76212b57 | 48 | #:use-module (gnu packages guile) |
f1f7049e AW |
49 | #:use-module (gnu packages xml) |
50 | #:use-module (gnu packages gtk) | |
3c156c8a JD |
51 | #:use-module (gnu packages xorg)) |
52 | ||
3c156c8a JD |
53 | ;; packages outside the x.org system proper |
54 | ||
ae05b185 ML |
55 | (define-public arandr |
56 | (package | |
57 | (name "arandr") | |
58 | (version "0.1.8") | |
59 | (source (origin | |
60 | (method url-fetch) | |
61 | (uri (string-append "http://christian.amsuess.com/tools/" name | |
62 | "/files/" name "-" version ".tar.gz")) | |
63 | (sha256 | |
64 | (base32 | |
65 | "0d574mbmhaqmh7kivaryj2hpghz6xkvic9ah43s1hf385y7c33kd")))) | |
66 | (build-system python-build-system) | |
67 | (arguments `(#:python ,python-2 ;incompatible with python 3 | |
68 | #:tests? #f)) ;no tests | |
69 | (inputs `(("pygtk" ,python2-pygtk))) | |
70 | (native-inputs `(("gettext" ,gnu-gettext) | |
71 | ("python-docutils" ,python2-docutils) | |
72 | ("python-setuptools" ,python2-setuptools))) | |
73 | (home-page "https://christian.amsuess.com/tools/arandr/") | |
74 | (synopsis "Another RandR graphical user interface") | |
75 | ;; TRANSLATORS: "X11 resize-and-rotate" should not be translated. | |
76 | (description "ARandR is designed to provide a simple visual front end for | |
77 | the X11 resize-and-rotate (RandR) extension. Relative monitor positions are | |
78 | shown graphically and can be changed in a drag-and-drop way. Configurations | |
79 | are saved as executable shell scripts which can be loaded without using this | |
80 | program.") | |
81 | (license license:gpl3+))) | |
82 | ||
de878f1b JD |
83 | (define-public xclip |
84 | (package | |
85 | (name "xclip") | |
86 | (version "0.12") | |
87 | (source | |
88 | (origin | |
89 | (method url-fetch) | |
90 | (uri (string-append | |
91 | "mirror://sourceforge/" name "/" name "-" version ".tar.gz")) | |
92 | (sha256 | |
93 | (base32 | |
94 | "0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp")))) | |
95 | (build-system gnu-build-system) | |
96 | (arguments | |
97 | '(#:tests? #f)) ; There is no test suite | |
98 | (inputs `(("libxmu" ,libxmu) | |
99 | ("libxt" ,libxt))) | |
100 | (home-page "http://xclip.sourceforge.net/") | |
101 | (synopsis "Command line interface to X11 clipboard") | |
102 | (description "Xclip is a command line interface to the X11 clipboard. It | |
103 | can also be used for copying files, as an alternative to sftp/scp, thus | |
104 | avoiding password prompts when X11 forwarding has already been setup.") | |
105 | (license license:gpl2+))) | |
106 | ||
de51bf58 JD |
107 | (define-public xdotool |
108 | (package | |
109 | (name "xdotool") | |
110 | (version "2.20110530.1") | |
111 | (source | |
112 | (origin | |
113 | (method url-fetch) | |
114 | (uri (string-append | |
115 | "http://semicomplete.googlecode.com/files/" name "-" | |
116 | version ".tar.gz")) | |
117 | (sha256 | |
118 | (base32 | |
119 | "0rxggg1cy7nnkwidx8x2w3c5f3pk6dh2b6q0q7hp069r3n5jrd77")))) | |
120 | (build-system gnu-build-system) | |
121 | (arguments | |
122 | '(#:tests? #f ; Test suite requires a lot of black magic | |
ca0d2a63 AG |
123 | #:phases |
124 | (alist-replace 'configure | |
de51bf58 JD |
125 | (lambda* (#:key outputs #:allow-other-keys #:rest args) |
126 | (setenv "PREFIX" (assoc-ref outputs "out")) | |
127 | (setenv "LDFLAGS" (string-append "-Wl,-rpath=" | |
128 | (assoc-ref | |
129 | %outputs "out") "/lib")) | |
130 | (setenv "CC" "gcc")) | |
131 | %standard-phases))) | |
132 | (native-inputs `(("perl" ,perl))) ; for pod2man | |
133 | (inputs `(("libx11" ,libx11) | |
134 | ("libxext" ,libxext) | |
135 | ("libxi" ,libxi) | |
136 | ("libxinerama" ,libxinerama) | |
137 | ("libxtst" ,libxtst))) | |
138 | (home-page "http://www.semicomplete.com/projects/xdotool") | |
139 | (synopsis "Fake keyboard/mouse input, window management, and more") | |
140 | (description "Xdotool lets you simulate keyboard input and mouse activity, | |
141 | move and resize windows, etc. It does this using X11's XTEST extension and | |
142 | other Xlib functions. Additionally, you can search for windows and move, | |
143 | resize, hide, and modify window properties like the title. If your window | |
144 | manager supports it, you can use xdotool to switch desktops, move windows | |
145 | between desktops, and change the number of desktops.") | |
146 | (license license:bsd-3))) | |
147 | ||
3c156c8a JD |
148 | (define-public xeyes |
149 | (package | |
150 | (name "xeyes") | |
151 | (version "1.0.1") | |
152 | (source | |
153 | (origin | |
154 | (method url-fetch) | |
155 | (uri (string-append | |
156 | "http://xeyes.sourcearchive.com/downloads/1.0.1/xeyes_" | |
157 | version | |
158 | ".orig.tar.gz")) | |
159 | (sha256 | |
160 | (base32 | |
161 | "04c3md570j67g55h3bix1qbngcslnq91skli51k3g1avki88zkm9")))) | |
162 | (build-system gnu-build-system) | |
163 | (inputs | |
164 | `(("libxext" ,libxext) | |
165 | ("libxmu" ,libxmu) | |
166 | ("libxt" ,libxt))) | |
167 | (native-inputs | |
168 | `(("pkg-config" ,pkg-config))) | |
169 | (home-page "http://xeyes.sourcearchive.com/") | |
170 | (synopsis "Follow-the-mouse X demo") | |
171 | (description "Xeyes is a demo program for x.org. It shows eyes | |
172 | following the mouse.") | |
173 | (license license:x11))) | |
174 | ||
175 | ||
176 | (define-public pixman | |
177 | (package | |
178 | (name "pixman") | |
997f86e9 LC |
179 | (version "0.32.8") |
180 | (source (origin | |
181 | (method url-fetch) | |
182 | (uri (string-append | |
183 | "http://cairographics.org/releases/pixman-" | |
184 | version ".tar.gz")) | |
185 | (sha256 | |
186 | (base32 | |
187 | "0pfn0247sjsi95kwjih0wwqpp28wadihqk1bn28x6iqbqhbxwnjp")))) | |
3c156c8a JD |
188 | (build-system gnu-build-system) |
189 | (inputs | |
997f86e9 LC |
190 | `(("libpng" ,libpng) |
191 | ("zlib" ,zlib))) | |
3c156c8a | 192 | (native-inputs |
997f86e9 | 193 | `(("pkg-config" ,pkg-config))) |
3c156c8a JD |
194 | (home-page "http://www.pixman.org/") |
195 | (synopsis "Low-level pixel manipulation library") | |
196 | (description "Pixman is a low-level software library for pixel | |
197 | manipulation, providing features such as image compositing and trapezoid | |
198 | rasterisation.") | |
199 | (license license:x11))) | |
200 | ||
201 | ||
202 | (define-public libdrm | |
203 | (package | |
204 | (name "libdrm") | |
3b54548f | 205 | (version "2.4.65") |
3c156c8a JD |
206 | (source |
207 | (origin | |
208 | (method url-fetch) | |
209 | (uri (string-append | |
210 | "http://dri.freedesktop.org/libdrm/libdrm-" | |
211 | version | |
212 | ".tar.bz2")) | |
213 | (sha256 | |
214 | (base32 | |
b2aab72c MW |
215 | "1i4n7mz49l0j4kr0dg9n1j3hlc786ncqgj0v5fci1mz7pp40m5ki")) |
216 | (patches (list (search-patch "libdrm-symbol-check.patch"))))) | |
3c156c8a JD |
217 | (build-system gnu-build-system) |
218 | (inputs | |
219 | `(("libpciaccess" ,libpciaccess) | |
220 | ("libpthread-stubs" ,libpthread-stubs))) | |
221 | (native-inputs | |
222 | `(("pkg-config" ,pkg-config))) | |
223 | (home-page "http://dri.freedesktop.org/wiki/") | |
224 | (synopsis "Direct rendering userspace library") | |
225 | (description "The Direct Rendering Infrastructure, also known as the DRI, | |
226 | is a framework for allowing direct access to graphics hardware under the | |
227 | X Window System in a safe and efficient manner. It includes changes to the | |
228 | X server, to several client libraries, and to the kernel (DRM, Direct | |
229 | Rendering Manager). The most important use for the DRI is to create fast | |
230 | OpenGL implementations providing hardware acceleration for Mesa. | |
231 | Several 3D accelerated drivers have been written to the DRI specification, | |
232 | including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel | |
233 | and Matrox.") | |
234 | (license license:x11))) | |
235 | ||
236 | ||
3c156c8a JD |
237 | (define-public mtdev |
238 | (package | |
239 | (name "mtdev") | |
240 | (version "1.1.3") | |
241 | (source | |
242 | (origin | |
243 | (method url-fetch) | |
244 | (uri (string-append | |
245 | "http://bitmath.org/code/mtdev/mtdev-" | |
246 | version ".tar.bz2")) | |
247 | (sha256 | |
248 | (base32 | |
249 | "159ndzwfpw0xr8mw4lhl47w9c2krshlfrscs7k6n186vknv2hk3d")))) | |
250 | (build-system gnu-build-system) | |
251 | (home-page "http://bitmath.org/code/mtdev/") | |
252 | (synopsis "Multitouch protocol translation library") | |
253 | (description "Mtdev is a stand-alone library which transforms all | |
254 | variants of kernel MT events to the slotted type B protocol. The events | |
255 | put into mtdev may be from any MT device, specifically type A without | |
256 | contact tracking, type A with contact tracking, or type B with contact | |
257 | tracking.") | |
258 | (license license:x11))) | |
a693bba1 SB |
259 | |
260 | (define-public startup-notification | |
261 | (package | |
262 | (name "startup-notification") | |
263 | (version "0.12") | |
264 | (source | |
265 | (origin | |
266 | (method url-fetch) | |
267 | (uri (string-append "http://www.freedesktop.org/software/" name | |
268 | "/releases/" name "-" version ".tar.gz")) | |
269 | (sha256 | |
270 | (base32 | |
271 | "0jmyryrpqb35y9hd5sgxqy2z0r1snw7d3ljw0jak0n0cjdz1yf9w")))) | |
272 | (build-system gnu-build-system) | |
273 | (native-inputs `(("pkg-config" ,pkg-config))) | |
274 | (inputs | |
275 | `(("libx11" ,libx11) | |
276 | ("xcb-util" ,xcb-util))) | |
277 | (home-page "http://www.freedesktop.org/wiki/Software/startup-notification/") | |
278 | (synopsis "Application startup notification and feedback library") | |
279 | (description | |
280 | "Startup-notification contains a reference implementation of the startup | |
281 | notification protocol. The reference implementation is mostly under an X Window | |
282 | System style license, and has no special dependencies.") | |
283 | ;; Most of the code is provided under x11 license. | |
284 | (license license:lgpl2.0+))) | |
2e88e089 AK |
285 | |
286 | (define-public wmctrl | |
287 | (package | |
288 | (name "wmctrl") | |
289 | (version "1.07") | |
290 | (source (origin | |
291 | (method url-fetch) | |
292 | (uri (string-append | |
293 | "http://tomas.styblo.name/wmctrl/dist/wmctrl-" | |
294 | version ".tar.gz")) | |
295 | (sha256 | |
296 | (base32 | |
297 | "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np")) | |
298 | (patches (list (search-patch "wmctrl-64-fix.patch"))))) | |
299 | (build-system gnu-build-system) | |
300 | (arguments | |
301 | '(#:configure-flags | |
302 | (list (string-append "--mandir=" | |
303 | (assoc-ref %outputs "out") | |
304 | "/share/man")))) | |
305 | (native-inputs | |
306 | `(("pkg-config" ,pkg-config))) | |
307 | (inputs | |
308 | `(("libx11" ,libx11) | |
309 | ("libxmu" ,libxmu) | |
310 | ("glib" ,glib))) | |
311 | (home-page "http://tomas.styblo.name/wmctrl/") | |
312 | (synopsis "Command-line tool to control X window managers") | |
313 | (description | |
314 | "Wmctrl allows to interact with an X window manager that is compatible | |
315 | with the EWMH/NetWM specification. It can query the window manager for | |
316 | information, and request for certain window management actions (resize and | |
e881752c | 317 | move windows, switch between desktops, etc.).") |
2e88e089 | 318 | (license license:gpl2+))) |
1410f342 AK |
319 | |
320 | (define-public scrot | |
321 | (package | |
322 | (name "scrot") | |
323 | (version "0.8") | |
324 | (source (origin | |
325 | (method url-fetch) | |
326 | (uri (string-append | |
327 | "http://linuxbrit.co.uk/downloads/scrot-" | |
328 | version ".tar.gz")) | |
329 | (sha256 | |
330 | (base32 | |
331 | "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1")))) | |
332 | (build-system gnu-build-system) | |
333 | (arguments | |
334 | ;; By default, man and doc are put in PREFIX/{man,doc} instead of | |
335 | ;; PREFIX/share/{man,doc}. | |
336 | '(#:configure-flags | |
337 | (list (string-append "--mandir=" | |
338 | (assoc-ref %outputs "out") | |
339 | "/share/man")) | |
340 | #:phases (alist-replace | |
341 | 'install | |
342 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
343 | (let* ((out (assoc-ref outputs "out")) | |
344 | (doc (string-append out "/share/doc/scrot"))) | |
345 | (mkdir-p doc) | |
346 | (zero? | |
347 | (system* "make" "install" | |
348 | (string-append "docsdir=" doc))))) | |
349 | %standard-phases))) | |
350 | (inputs | |
351 | `(("libx11" ,libx11) | |
352 | ("giblib" ,giblib))) | |
353 | (home-page "http://linuxbrit.co.uk/software/") | |
354 | (synopsis "Command-line screen capture utility for X Window System") | |
355 | (description | |
356 | "Scrot allows to save a screenshot of a full screen, a window or a part | |
357 | of the screen selected by mouse.") | |
358 | ;; This license removes a clause about X Consortium from the original | |
359 | ;; X11 license. | |
360 | (license (license:x11-style "file://COPYING" | |
361 | "See 'COPYING' in the distribution.")))) | |
4a01b30b AK |
362 | |
363 | (define-public unclutter | |
364 | (package | |
365 | (name "unclutter") | |
366 | (version "8") | |
367 | (source (origin | |
368 | (method url-fetch) | |
369 | (uri (string-append | |
370 | "http://ftp.x.org/contrib/utilities/unclutter-" | |
371 | version ".tar.Z")) | |
372 | (sha256 | |
373 | (base32 | |
374 | "0ahrr5z6wxqqfyihm112hnq0859zlxisrb3y5232zav58j6sfmdq")))) | |
375 | (build-system gnu-build-system) | |
376 | (arguments | |
377 | '(#:tests? #f ; no check target | |
378 | #:phases (alist-delete | |
379 | 'configure | |
380 | (alist-replace | |
381 | 'install | |
382 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
383 | (let* ((out (assoc-ref outputs "out")) | |
384 | (bin (string-append out "/bin")) | |
385 | (man1 (string-append out "/share/man/man1"))) | |
386 | (mkdir-p bin) | |
387 | (mkdir-p man1) | |
388 | (zero? | |
389 | (system* "make" "install" "install.man" | |
390 | (string-append "BINDIR=" bin) | |
391 | (string-append "MANDIR=" man1))))) | |
392 | %standard-phases)))) | |
393 | (inputs `(("libx11" ,libx11))) | |
394 | (home-page "http://ftp.x.org/contrib/utilities/") | |
395 | (synopsis "Hide idle mouse cursor") | |
396 | (description | |
397 | "Unclutter is a program which runs permanently in the background of an | |
398 | X11 session. It checks on the X11 pointer (cursor) position every few | |
399 | seconds, and when it finds it has not moved (and no buttons are pressed | |
400 | on the mouse, and the cursor is not in the root window) it creates a | |
401 | small sub-window as a child of the window the cursor is in. The new | |
402 | window installs a cursor of size 1x1 but a mask of all 0, i.e. an | |
403 | invisible cursor. This allows you to see all the text in an xterm or | |
404 | xedit, for example. The human factors crowd would agree it should make | |
405 | things less distracting.") | |
406 | (license license:public-domain))) | |
ab69d9ac LC |
407 | |
408 | (define-public xlockmore | |
409 | (package | |
410 | (name "xlockmore") | |
411 | (version "5.45") | |
412 | (source (origin | |
413 | (method url-fetch) | |
414 | (uri (string-append "http://www.tux.org/~bagleyd/xlock/xlockmore-" | |
415 | version "/xlockmore-" version ".tar.bz2")) | |
416 | (sha256 | |
417 | (base32 | |
418 | "1xqm61bbfn5q056w57vp16gvai8nqpcw570ysxlm5h46nh6ai0bz")))) | |
419 | (build-system gnu-build-system) | |
420 | (arguments | |
421 | '(#:configure-flags (list (string-append "--enable-appdefaultdir=" | |
422 | (assoc-ref %outputs "out") | |
423 | "/lib/X11/app-defaults")) | |
424 | #:tests? #f)) ;no such thing as a test suite | |
425 | (inputs | |
426 | `(("libX11" ,libx11) | |
427 | ("libXext" ,libxext) | |
428 | ("libXt" ,libxt) | |
429 | ("linux-pam" ,linux-pam))) | |
430 | (home-page "http://www.tux.org/~bagleyd/xlockmore.html") | |
431 | (synopsis "Screen locker for the X Window System") | |
432 | (description | |
433 | "XLockMore is a classic screen locker and screen saver for the | |
434 | X Window System.") | |
166191b3 | 435 | (license (license:non-copyleft #f "See xlock.c.") |
ab69d9ac LC |
436 | ;; + GPLv2 in modes/glx/biof.c. |
437 | ))) | |
11447a79 AK |
438 | |
439 | (define-public xosd | |
440 | (package | |
441 | (name "xosd") | |
442 | (version "2.2.14") | |
443 | (source (origin | |
444 | (method url-fetch) | |
445 | (uri (string-append | |
446 | "mirror://sourceforge/libxosd/xosd-" | |
447 | version ".tar.gz")) | |
448 | (sha256 | |
449 | (base32 | |
450 | "025m7ha89q29swkc7s38knnbn8ysl24g2h5s7imfxflm91psj7sg")))) | |
451 | (build-system gnu-build-system) | |
452 | (arguments | |
453 | '(#:configure-flags | |
454 | (list (string-append "--mandir=" %output "/share/man")))) | |
455 | (inputs | |
456 | `(("libx11" ,libx11) | |
457 | ("libxt" ,libxt) | |
458 | ("libxext" ,libxext) | |
459 | ("libxinerama" ,libxinerama))) | |
460 | (home-page "http://sourceforge.net/projects/libxosd/") | |
461 | (synopsis "X On Screen Display") | |
462 | (description | |
463 | "XOSD provides a C library and a simple utility (osd_cat) for displaying | |
464 | transparent text on your screen.") | |
465 | (license license:gpl2+))) | |
76212b57 ML |
466 | |
467 | (define-public xbindkeys | |
468 | (package | |
469 | (name "xbindkeys") | |
470 | (version "1.8.6") | |
471 | (source (origin | |
472 | (method url-fetch) | |
473 | ;; Download from the savannah mirror list fails | |
474 | (uri (string-append | |
475 | "http://www.nongnu.org/xbindkeys/xbindkeys-" | |
476 | version | |
477 | ".tar.gz")) | |
478 | (sha256 | |
479 | (base32 | |
480 | "060df6d8y727jp1inp7blp44cs8a7jig7vcm8ndsn6gw36z1h3bc")))) | |
481 | (build-system gnu-build-system) | |
482 | (inputs | |
483 | `(("libx11" ,libx11) | |
484 | ("guile" ,guile-2.0))) | |
485 | (home-page "http://www.nongnu.org/xbindkeys/") | |
486 | (synopsis "Associate a combination of keys with a shell command") | |
487 | (description | |
488 | "XBindKeys is a program that allows you to launch shell commands with | |
489 | your keyboard or your mouse under the X Window System. It links commands to | |
490 | keys or mouse buttons, using a configuration file. It's independent of the | |
491 | window manager and can capture all keyboard keys (ex: Power, Wake...). It | |
492 | optionally supports a Guile-based configuration file layout, which enables you | |
493 | to access all XBindKeys internals, so you can have key combinations, double | |
494 | clicks or timed double clicks take actions. Also all functions that work in | |
495 | Guile will work for XBindKeys.") | |
496 | (license license:gpl2+))) | |
42f2c2b9 | 497 | |
998b8c07 | 498 | (define-public sxhkd |
499 | (package | |
500 | (name "sxhkd") | |
501 | (version "0.5.5") | |
502 | (source | |
503 | (origin | |
504 | (file-name (string-append name "-" version ".tar.gz")) | |
505 | (method url-fetch) | |
506 | (uri (string-append | |
507 | "https://github.com/baskerville/sxhkd/archive/" | |
508 | version ".tar.gz")) | |
509 | (sha256 | |
510 | (base32 | |
511 | "04s3y2bq9502gw72jj3y2zsh96yj3qg2av3zsa8ahd2farvrysg6")))) | |
512 | (build-system gnu-build-system) | |
513 | (inputs | |
514 | `(("asciidoc" ,asciidoc) | |
515 | ("libxcb" ,libxcb) | |
516 | ("xcb-util" ,xcb-util) | |
517 | ("xcb-util-keysyms" ,xcb-util-keysyms) | |
518 | ("xcb-util-wm" ,xcb-util-wm))) | |
519 | (arguments | |
520 | '(#:phases (alist-delete 'configure %standard-phases) | |
521 | #:tests? #f ; no check target | |
522 | #:make-flags (list "CC=gcc" | |
523 | (string-append "PREFIX=" %output)))) | |
524 | (home-page "https://github.com/baskerville/sxhkd") | |
525 | (synopsis "Simple X hotkey daemon") | |
526 | (description "sxhkd is a simple X hotkey daemon with a powerful and | |
527 | compact configuration syntax.") | |
528 | (license license:bsd-2))) | |
529 | ||
42f2c2b9 AG |
530 | (define-public rxvt-unicode |
531 | (package | |
532 | (name "rxvt-unicode") | |
533 | (version "9.21") | |
1ef3f91a ML |
534 | (source (origin |
535 | (method url-fetch) | |
536 | (uri (string-append "http://dist.schmorp.de/rxvt-unicode/" | |
537 | name "-" version ".tar.bz2")) | |
538 | (sha256 | |
539 | (base32 | |
540 | "0swmi308v5yxsddrdhvi4cch88k2bbs2nffpl5j5m2f55gbhw9vm")))) | |
42f2c2b9 | 541 | (build-system gnu-build-system) |
1ef3f91a ML |
542 | (arguments |
543 | ;; This sets the destination when installing the necessary terminal | |
544 | ;; capability data, which are not provided by 'ncurses'. See | |
545 | ;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html | |
546 | '(#:make-flags (list (string-append "TERMINFO=" | |
547 | (assoc-ref %outputs "out") | |
548 | "/share/terminfo")))) | |
42f2c2b9 AG |
549 | (inputs |
550 | `(("libXft" ,libxft) | |
551 | ("libX11" ,libx11))) | |
552 | (native-inputs | |
1ef3f91a ML |
553 | `(("ncurses" ,ncurses) ;trigger the installation of terminfo data |
554 | ("perl" ,perl) | |
42f2c2b9 | 555 | ("pkg-config" ,pkg-config))) |
1ef3f91a ML |
556 | ;; FIXME: This should only be located in 'ncurses'. Nonetheless it is |
557 | ;; provided for usability reasons. See <https://bugs.gnu.org/22138>. | |
558 | (native-search-paths | |
559 | (list (search-path-specification | |
560 | (variable "TERMINFO_DIRS") | |
561 | (files '("share/terminfo"))))) | |
42f2c2b9 AG |
562 | (home-page "http://software.schmorp.de/pkg/rxvt-unicode.html") |
563 | (synopsis "Rxvt clone with XFT and unicode support") | |
564 | (description "Rxvt-unicode (urxvt) is a colour vt102 terminal emulator | |
565 | intended as an xterm replacement for users who do not require features such as | |
566 | Tektronix 4014 emulation and toolkit-style configurability. It supports | |
567 | unicode, XFT and may be extended with Perl plugins. It also comes with a | |
568 | client/daemon pair that lets you open any number of terminal windows from | |
569 | within a single process.") | |
570 | (license license:gpl3+))) | |
ca0d2a63 AG |
571 | |
572 | (define-public xcape | |
573 | (package | |
574 | (name "xcape") | |
575 | (version "1.1") | |
576 | (source | |
577 | (origin | |
578 | (method url-fetch) | |
579 | (uri (string-append "https://github.com/alols/" name | |
580 | "/archive/v" version ".tar.gz")) | |
581 | (file-name (string-append name "-" version ".tar.gz")) | |
582 | (sha256 | |
583 | (base32 | |
584 | "0jkdiaxc6sryrbibdgi2y1c48n4l9xyazhxr16l6h4ibddx95bk9")))) | |
585 | (build-system gnu-build-system) | |
586 | (arguments | |
587 | `(#:tests? #f ; no check target | |
588 | #:phases (alist-delete 'configure %standard-phases) ; no configure script | |
589 | #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
590 | "MANDIR=/share/man/man1" | |
591 | "CC=gcc"))) | |
592 | (inputs | |
593 | `(("libxtst" ,libxtst) | |
594 | ("libx11" ,libx11))) | |
595 | (native-inputs | |
596 | `(("pkg-config" ,pkg-config))) | |
597 | (home-page "http://github.com/alols/xcape") | |
598 | (synopsis "Use a modifier key in X.org as another key") | |
599 | (description | |
600 | "This utility for X.org allows to use modifier key as another key when | |
601 | pressed and released on its own. The default behaviour is to generate the | |
602 | Escape key when Left Control is pressed and released on its own.") | |
603 | (license license:gpl3+))) | |
f1f7049e AW |
604 | |
605 | (define-public libwacom | |
606 | (package | |
607 | (name "libwacom") | |
608 | (version "0.12") | |
609 | (source (origin | |
610 | (method url-fetch) | |
611 | (uri (string-append "mirror://sourceforge/linuxwacom/libwacom/" | |
612 | name "-" version ".tar.bz2")) | |
613 | (sha256 | |
614 | (base32 | |
615 | "022d0097dk2glgb6772zpcsqm1w42sbsbr3i72pdhzq6naqawys8")))) | |
616 | (build-system glib-or-gtk-build-system) | |
617 | (native-inputs | |
618 | `(("pkg-config" ,pkg-config))) | |
619 | (inputs | |
620 | `(("glib" ,glib) | |
621 | ("gtk+" ,gtk+) | |
b9cbe316 | 622 | ("libgudev" ,libgudev) |
f1f7049e AW |
623 | ("eudev" ,eudev) |
624 | ("libxml2" ,libxml2))) | |
625 | (home-page "http://linuxwacom.sourceforge.net/") | |
626 | (synopsis "Helper library for Wacom tablet settings") | |
627 | (description | |
628 | "Libwacom is a library to help implement Wacom tablet settings. It | |
629 | is intended to be used by client-programs that need model identification. It | |
630 | is already being used by the gnome-settings-daemon and the GNOME 3.4 Control | |
631 | Center Wacom tablet applet. In the future, the xf86-input-wacom driver may | |
632 | use it as well.") | |
633 | (license license:x11))) | |
ab42a2a7 AW |
634 | |
635 | (define-public xf86-input-wacom | |
636 | (package | |
637 | (name "xf86-input-wacom") | |
638 | (version "0.29.0") | |
639 | (source (origin | |
640 | (method url-fetch) | |
641 | (uri (string-append | |
642 | "mirror://sourceforge/linuxwacom/xf86-input-wacom/" | |
643 | name "-" version ".tar.bz2")) | |
644 | (sha256 | |
645 | (base32 | |
646 | "15lbzjkaf690i69qy0n0ibwczbclqq1nx0418c6a567by5v7wl48")))) | |
647 | (arguments | |
648 | `(#:configure-flags | |
649 | (list (string-append "--with-sdkdir=" | |
650 | (assoc-ref %outputs "out") | |
651 | "/include/xorg") | |
652 | (string-append "--with-xorg-conf-dir=" | |
653 | (assoc-ref %outputs "out") | |
654 | "/share/X11/xorg.conf.d")))) | |
655 | (build-system gnu-build-system) | |
656 | (native-inputs | |
657 | `(("pkg-config" ,pkg-config))) | |
658 | (inputs | |
659 | `(("xorg-server" ,xorg-server) | |
660 | ("libxrandr" ,libxrandr) | |
661 | ("libxinerama" ,libxinerama) | |
662 | ("libxi" ,libxi) | |
663 | ("eudev" ,eudev))) | |
664 | (home-page "http://linuxwacom.sourceforge.net/") | |
665 | (synopsis "Wacom input driver for X") | |
666 | (description | |
667 | "The xf86-input-wacom driver is the wacom-specific X11 input driver for | |
668 | the X.Org X Server version 1.7 and later (X11R7.5 or later).") | |
669 | (license license:x11))) | |
6645753b FPS |
670 | |
671 | (define-public redshift | |
672 | (package | |
673 | (name "redshift") | |
674 | (version "1.10") | |
675 | (source | |
676 | (origin | |
677 | (method url-fetch) | |
678 | (uri | |
679 | (string-append "https://github.com/jonls/redshift/" | |
680 | "releases/download/v" version | |
681 | "/redshift-" version ".tar.xz")) | |
682 | (sha256 | |
683 | (base32 | |
684 | "19pfk9il5x2g2ivqix4a555psz8mj3m0cvjwnjpjvx0llh5fghjv")))) | |
685 | (build-system gnu-build-system) | |
686 | (native-inputs | |
687 | `(("pkg-config" ,pkg-config) | |
688 | ("intltool" ,intltool))) | |
689 | (inputs | |
690 | `(("libdrm" ,libdrm) | |
691 | ("libx11" ,libx11) | |
692 | ("libxcb" ,libxcb) | |
693 | ("libxxf86vm", libxxf86vm) | |
694 | ("glib" ,glib))) ;for Geoclue2 support | |
695 | (home-page "https://github.com/jonls/redshift") | |
696 | (synopsis "Adjust the color temperature of your screen") | |
697 | (description | |
698 | "Redshift adjusts the color temperature according to the position of the | |
699 | sun. A different color temperature is set during night and daytime. During | |
700 | twilight and early morning, the color temperature transitions smoothly from | |
701 | night to daytime temperature to allow your eyes to slowly adapt. At night the | |
702 | color temperature should be set to match the lamps in your room.") | |
703 | (license license:gpl3+))) |