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