2014-12-02 13:29:01 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
2015-03-30 01:34:02 +00:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2014-12-02 13:29:01 +00:00
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2016-04-03 11:36:33 +00:00
|
|
|
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
|
2015-01-12 20:15:15 +00:00
|
|
|
;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
|
2015-03-01 13:12:41 +00:00
|
|
|
;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
|
2015-03-09 02:03:39 +00:00
|
|
|
;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
|
2015-04-18 20:42:00 +00:00
|
|
|
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
|
2015-10-10 11:06:39 +00:00
|
|
|
;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
|
2015-12-10 07:57:57 +00:00
|
|
|
;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
|
2016-02-05 23:24:01 +00:00
|
|
|
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
2016-02-27 11:00:20 +00:00
|
|
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
2014-12-02 13:29:01 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages xdisorg)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-03-30 01:34:02 +00:00
|
|
|
#:use-module (guix utils)
|
2016-04-03 11:36:33 +00:00
|
|
|
#:use-module (guix build-system cmake)
|
2014-12-02 13:29:01 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-18 20:42:00 +00:00
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2015-09-26 16:03:40 +00:00
|
|
|
#:use-module (guix build-system python)
|
2014-12-02 13:29:01 +00:00
|
|
|
#:use-module (gnu packages)
|
2015-10-10 11:06:39 +00:00
|
|
|
#:use-module (gnu packages asciidoc)
|
2016-04-08 15:36:05 +00:00
|
|
|
#:use-module (gnu packages algebra)
|
2014-12-02 13:29:01 +00:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages image)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-09-26 16:03:40 +00:00
|
|
|
#:use-module (gnu packages gettext)
|
2016-04-03 11:36:33 +00:00
|
|
|
#:use-module (gnu packages gl)
|
2014-12-04 21:22:04 +00:00
|
|
|
#:use-module (gnu packages glib)
|
2015-10-27 09:05:36 +00:00
|
|
|
#:use-module (gnu packages gnome) ;for libgudev
|
2015-12-06 20:58:03 +00:00
|
|
|
#:use-module (gnu packages ncurses)
|
2014-12-14 09:07:19 +00:00
|
|
|
#:use-module (gnu packages perl)
|
2015-09-26 16:03:40 +00:00
|
|
|
#:use-module (gnu packages python)
|
2015-01-12 20:15:15 +00:00
|
|
|
#:use-module (gnu packages linux)
|
2016-04-08 15:36:05 +00:00
|
|
|
#:use-module (gnu packages gl)
|
2015-03-01 13:12:41 +00:00
|
|
|
#:use-module (gnu packages guile)
|
2015-04-18 20:42:00 +00:00
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
#:use-module (gnu packages gtk)
|
2016-02-05 23:24:01 +00:00
|
|
|
#:use-module (gnu packages qt)
|
2014-12-02 13:29:01 +00:00
|
|
|
#:use-module (gnu packages xorg))
|
|
|
|
|
|
|
|
;; packages outside the x.org system proper
|
|
|
|
|
2015-09-26 16:03:40 +00:00
|
|
|
(define-public arandr
|
|
|
|
(package
|
|
|
|
(name "arandr")
|
|
|
|
(version "0.1.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://christian.amsuess.com/tools/" name
|
|
|
|
"/files/" name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0d574mbmhaqmh7kivaryj2hpghz6xkvic9ah43s1hf385y7c33kd"))))
|
|
|
|
(build-system python-build-system)
|
2016-02-27 11:00:20 +00:00
|
|
|
(arguments
|
|
|
|
`(#:python ,python-2 ;incompatible with python 3
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'make-xrandr-available
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(wrap-program (string-append (assoc-ref outputs "out")
|
|
|
|
"/bin/arandr")
|
|
|
|
`("PATH" ":" prefix (,(string-append (assoc-ref inputs "xrandr")
|
|
|
|
"/bin"))))
|
|
|
|
#t)))))
|
|
|
|
(inputs `(("pygtk" ,python2-pygtk)
|
|
|
|
("xrandr" ,xrandr)))
|
2015-09-26 16:03:40 +00:00
|
|
|
(native-inputs `(("gettext" ,gnu-gettext)
|
|
|
|
("python-docutils" ,python2-docutils)
|
|
|
|
("python-setuptools" ,python2-setuptools)))
|
|
|
|
(home-page "https://christian.amsuess.com/tools/arandr/")
|
|
|
|
(synopsis "Another RandR graphical user interface")
|
|
|
|
;; TRANSLATORS: "X11 resize-and-rotate" should not be translated.
|
|
|
|
(description "ARandR is designed to provide a simple visual front end for
|
|
|
|
the X11 resize-and-rotate (RandR) extension. Relative monitor positions are
|
|
|
|
shown graphically and can be changed in a drag-and-drop way. Configurations
|
|
|
|
are saved as executable shell scripts which can be loaded without using this
|
|
|
|
program.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2014-12-02 14:06:51 +00:00
|
|
|
(define-public xclip
|
|
|
|
(package
|
|
|
|
(name "xclip")
|
|
|
|
(version "0.12")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://sourceforge/" name "/" name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; There is no test suite
|
|
|
|
(inputs `(("libxmu" ,libxmu)
|
|
|
|
("libxt" ,libxt)))
|
|
|
|
(home-page "http://xclip.sourceforge.net/")
|
|
|
|
(synopsis "Command line interface to X11 clipboard")
|
|
|
|
(description "Xclip is a command line interface to the X11 clipboard. It
|
|
|
|
can also be used for copying files, as an alternative to sftp/scp, thus
|
|
|
|
avoiding password prompts when X11 forwarding has already been setup.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2014-12-14 09:07:19 +00:00
|
|
|
(define-public xdotool
|
|
|
|
(package
|
|
|
|
(name "xdotool")
|
2016-02-05 23:24:01 +00:00
|
|
|
(version "3.20150503.1")
|
2014-12-14 09:07:19 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-02-05 23:24:01 +00:00
|
|
|
"https://github.com/jordansissel/xdotool/releases/download/v"
|
|
|
|
version "/xdotool-" version ".tar.gz"))
|
2014-12-14 09:07:19 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-02-05 23:24:01 +00:00
|
|
|
"1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "xdotool-fix-makefile.patch"))))
|
2014-12-14 09:07:19 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; Test suite requires a lot of black magic
|
2015-03-16 22:14:16 +00:00
|
|
|
#:phases
|
|
|
|
(alist-replace 'configure
|
2014-12-14 09:07:19 +00:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
|
|
|
(setenv "PREFIX" (assoc-ref outputs "out"))
|
|
|
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
|
|
|
(assoc-ref
|
|
|
|
%outputs "out") "/lib"))
|
|
|
|
(setenv "CC" "gcc"))
|
|
|
|
%standard-phases)))
|
|
|
|
(native-inputs `(("perl" ,perl))) ; for pod2man
|
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxinerama" ,libxinerama)
|
2016-02-05 23:24:01 +00:00
|
|
|
("libxtst" ,libxtst)
|
|
|
|
("libxkbcommon" ,libxkbcommon)))
|
2014-12-14 09:07:19 +00:00
|
|
|
(home-page "http://www.semicomplete.com/projects/xdotool")
|
|
|
|
(synopsis "Fake keyboard/mouse input, window management, and more")
|
|
|
|
(description "Xdotool lets you simulate keyboard input and mouse activity,
|
|
|
|
move and resize windows, etc. It does this using X11's XTEST extension and
|
|
|
|
other Xlib functions. Additionally, you can search for windows and move,
|
|
|
|
resize, hide, and modify window properties like the title. If your window
|
|
|
|
manager supports it, you can use xdotool to switch desktops, move windows
|
|
|
|
between desktops, and change the number of desktops.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2014-12-02 13:29:01 +00:00
|
|
|
(define-public xeyes
|
|
|
|
(package
|
|
|
|
(name "xeyes")
|
|
|
|
(version "1.0.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://xeyes.sourcearchive.com/downloads/1.0.1/xeyes_"
|
|
|
|
version
|
|
|
|
".orig.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04c3md570j67g55h3bix1qbngcslnq91skli51k3g1avki88zkm9"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libxext" ,libxext)
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
("libxt" ,libxt)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "http://xeyes.sourcearchive.com/")
|
|
|
|
(synopsis "Follow-the-mouse X demo")
|
|
|
|
(description "Xeyes is a demo program for x.org. It shows eyes
|
|
|
|
following the mouse.")
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public pixman
|
|
|
|
(package
|
|
|
|
(name "pixman")
|
2016-04-23 17:13:53 +00:00
|
|
|
(version "0.32.8")
|
2015-09-30 15:19:27 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://cairographics.org/releases/pixman-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-04-23 17:13:53 +00:00
|
|
|
"0pfn0247sjsi95kwjih0wwqpp28wadihqk1bn28x6iqbqhbxwnjp"))))
|
2014-12-02 13:29:01 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2015-09-30 15:19:27 +00:00
|
|
|
`(("libpng" ,libpng)
|
|
|
|
("zlib" ,zlib)))
|
2014-12-02 13:29:01 +00:00
|
|
|
(native-inputs
|
2015-09-30 15:19:27 +00:00
|
|
|
`(("pkg-config" ,pkg-config)))
|
2014-12-02 13:29:01 +00:00
|
|
|
(home-page "http://www.pixman.org/")
|
|
|
|
(synopsis "Low-level pixel manipulation library")
|
|
|
|
(description "Pixman is a low-level software library for pixel
|
|
|
|
manipulation, providing features such as image compositing and trapezoid
|
|
|
|
rasterisation.")
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public libdrm
|
|
|
|
(package
|
|
|
|
(name "libdrm")
|
2015-10-17 03:39:56 +00:00
|
|
|
(version "2.4.65")
|
2014-12-02 13:29:01 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-02-19 13:23:38 +00:00
|
|
|
"https://dri.freedesktop.org/libdrm/libdrm-"
|
2014-12-02 13:29:01 +00:00
|
|
|
version
|
|
|
|
".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-10-19 03:51:53 +00:00
|
|
|
"1i4n7mz49l0j4kr0dg9n1j3hlc786ncqgj0v5fci1mz7pp40m5ki"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "libdrm-symbol-check.patch"))))
|
2014-12-02 13:29:01 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libpciaccess" ,libpciaccess)
|
|
|
|
("libpthread-stubs" ,libpthread-stubs)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "http://dri.freedesktop.org/wiki/")
|
|
|
|
(synopsis "Direct rendering userspace library")
|
|
|
|
(description "The Direct Rendering Infrastructure, also known as the DRI,
|
|
|
|
is a framework for allowing direct access to graphics hardware under the
|
|
|
|
X Window System in a safe and efficient manner. It includes changes to the
|
|
|
|
X server, to several client libraries, and to the kernel (DRM, Direct
|
|
|
|
Rendering Manager). The most important use for the DRI is to create fast
|
|
|
|
OpenGL implementations providing hardware acceleration for Mesa.
|
|
|
|
Several 3D accelerated drivers have been written to the DRI specification,
|
|
|
|
including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
|
|
|
|
and Matrox.")
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public mtdev
|
|
|
|
(package
|
|
|
|
(name "mtdev")
|
|
|
|
(version "1.1.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://bitmath.org/code/mtdev/mtdev-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"159ndzwfpw0xr8mw4lhl47w9c2krshlfrscs7k6n186vknv2hk3d"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "http://bitmath.org/code/mtdev/")
|
|
|
|
(synopsis "Multitouch protocol translation library")
|
|
|
|
(description "Mtdev is a stand-alone library which transforms all
|
|
|
|
variants of kernel MT events to the slotted type B protocol. The events
|
|
|
|
put into mtdev may be from any MT device, specifically type A without
|
|
|
|
contact tracking, type A with contact tracking, or type B with contact
|
|
|
|
tracking.")
|
|
|
|
(license license:x11)))
|
2014-12-08 13:36:03 +00:00
|
|
|
|
|
|
|
(define-public startup-notification
|
|
|
|
(package
|
|
|
|
(name "startup-notification")
|
|
|
|
(version "0.12")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-02-19 13:23:38 +00:00
|
|
|
(uri (string-append "https://www.freedesktop.org/software/" name
|
2014-12-08 13:36:03 +00:00
|
|
|
"/releases/" name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jmyryrpqb35y9hd5sgxqy2z0r1snw7d3ljw0jak0n0cjdz1yf9w"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("xcb-util" ,xcb-util)))
|
|
|
|
(home-page "http://www.freedesktop.org/wiki/Software/startup-notification/")
|
|
|
|
(synopsis "Application startup notification and feedback library")
|
|
|
|
(description
|
|
|
|
"Startup-notification contains a reference implementation of the startup
|
|
|
|
notification protocol. The reference implementation is mostly under an X Window
|
|
|
|
System style license, and has no special dependencies.")
|
|
|
|
;; Most of the code is provided under x11 license.
|
|
|
|
(license license:lgpl2.0+)))
|
2014-12-04 21:22:04 +00:00
|
|
|
|
|
|
|
(define-public wmctrl
|
|
|
|
(package
|
|
|
|
(name "wmctrl")
|
|
|
|
(version "1.07")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2015-12-26 06:55:14 +00:00
|
|
|
"https://sites.google.com/site/tstyblo/wmctrl/wmctrl-"
|
2014-12-04 21:22:04 +00:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "wmctrl-64-fix.patch"))))
|
2014-12-04 21:22:04 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags
|
|
|
|
(list (string-append "--mandir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/share/man"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(home-page "http://tomas.styblo.name/wmctrl/")
|
|
|
|
(synopsis "Command-line tool to control X window managers")
|
|
|
|
(description
|
|
|
|
"Wmctrl allows to interact with an X window manager that is compatible
|
|
|
|
with the EWMH/NetWM specification. It can query the window manager for
|
|
|
|
information, and request for certain window management actions (resize and
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
move windows, switch between desktops, etc.).")
|
2014-12-04 21:22:04 +00:00
|
|
|
(license license:gpl2+)))
|
2014-12-09 18:23:46 +00:00
|
|
|
|
|
|
|
(define-public scrot
|
|
|
|
(package
|
|
|
|
(name "scrot")
|
|
|
|
(version "0.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://linuxbrit.co.uk/downloads/scrot-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
;; By default, man and doc are put in PREFIX/{man,doc} instead of
|
|
|
|
;; PREFIX/share/{man,doc}.
|
|
|
|
'(#:configure-flags
|
|
|
|
(list (string-append "--mandir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/share/man"))
|
|
|
|
#:phases (alist-replace
|
|
|
|
'install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (string-append out "/share/doc/scrot")))
|
|
|
|
(mkdir-p doc)
|
|
|
|
(zero?
|
|
|
|
(system* "make" "install"
|
|
|
|
(string-append "docsdir=" doc)))))
|
|
|
|
%standard-phases)))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("giblib" ,giblib)))
|
|
|
|
(home-page "http://linuxbrit.co.uk/software/")
|
|
|
|
(synopsis "Command-line screen capture utility for X Window System")
|
|
|
|
(description
|
|
|
|
"Scrot allows to save a screenshot of a full screen, a window or a part
|
|
|
|
of the screen selected by mouse.")
|
|
|
|
;; This license removes a clause about X Consortium from the original
|
|
|
|
;; X11 license.
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
"See 'COPYING' in the distribution."))))
|
2014-12-09 18:42:56 +00:00
|
|
|
|
2016-04-03 11:36:33 +00:00
|
|
|
(define-public slop
|
|
|
|
(package
|
|
|
|
(name "slop")
|
|
|
|
(version "4.3.21")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/naelstrof/slop/archive/v"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0z0p4a3p5mc6fjh5f8js9ppb0maxyvfxpiw2n6nqc5nim1kv6bim"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments '(#:tests? #f)) ; no "check" target
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
("glew" ,glew)
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
(home-page "https://github.com/naelstrof/slop")
|
|
|
|
(synopsis "Select a region and print its bounds to stdout")
|
|
|
|
(description
|
|
|
|
"slop (Select Operation) is a tool that queries for a selection from a
|
|
|
|
user and prints the region to stdout. It grabs the mouse and turns it into a
|
|
|
|
crosshair, lets the user click and drag to make a selection (or click on a
|
|
|
|
window) while drawing a pretty box around it, then finally prints the
|
|
|
|
selection's dimensions to stdout.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2016-04-04 16:53:37 +00:00
|
|
|
(define-public maim
|
|
|
|
(package
|
|
|
|
(name "maim")
|
|
|
|
(version "3.4.47")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/naelstrof/maim/archive/v"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0kfp7k55bxc5h6h0wv8bwmsc5ny66h9ra2z4dzs4yzszq16544pv"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; no "check" target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-source
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((slop (string-append (assoc-ref inputs "slop")
|
|
|
|
"/bin/slop")))
|
|
|
|
;; "slop" command is hardcoded in the source; replace it
|
|
|
|
;; with the full file name.
|
|
|
|
(substitute* "src/main.cpp"
|
|
|
|
(("^( +slopcommand.*)\"slop\"" all front)
|
|
|
|
(string-append front "\"" slop "\"")))))))))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
("slop" ,slop)))
|
|
|
|
(home-page "https://github.com/naelstrof/maim")
|
|
|
|
(synopsis "Screenshot utility for X Window System")
|
|
|
|
(description
|
|
|
|
"maim (Make Image) is a tool that takes screenshots of your desktop and
|
|
|
|
saves it in any format. Along with a full screen, it allows you to capture a
|
|
|
|
predefined region or a particular window. Also, it makes it possible to
|
|
|
|
include cursor in the resulting image.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2014-12-09 18:42:56 +00:00
|
|
|
(define-public unclutter
|
|
|
|
(package
|
|
|
|
(name "unclutter")
|
|
|
|
(version "8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://ftp.x.org/contrib/utilities/unclutter-"
|
|
|
|
version ".tar.Z"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0ahrr5z6wxqqfyihm112hnq0859zlxisrb3y5232zav58j6sfmdq"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
#:phases (alist-delete
|
|
|
|
'configure
|
|
|
|
(alist-replace
|
|
|
|
'install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
(mkdir-p bin)
|
|
|
|
(mkdir-p man1)
|
|
|
|
(zero?
|
|
|
|
(system* "make" "install" "install.man"
|
|
|
|
(string-append "BINDIR=" bin)
|
|
|
|
(string-append "MANDIR=" man1)))))
|
|
|
|
%standard-phases))))
|
|
|
|
(inputs `(("libx11" ,libx11)))
|
|
|
|
(home-page "http://ftp.x.org/contrib/utilities/")
|
|
|
|
(synopsis "Hide idle mouse cursor")
|
|
|
|
(description
|
|
|
|
"Unclutter is a program which runs permanently in the background of an
|
|
|
|
X11 session. It checks on the X11 pointer (cursor) position every few
|
|
|
|
seconds, and when it finds it has not moved (and no buttons are pressed
|
|
|
|
on the mouse, and the cursor is not in the root window) it creates a
|
|
|
|
small sub-window as a child of the window the cursor is in. The new
|
|
|
|
window installs a cursor of size 1x1 but a mask of all 0, i.e. an
|
|
|
|
invisible cursor. This allows you to see all the text in an xterm or
|
|
|
|
xedit, for example. The human factors crowd would agree it should make
|
|
|
|
things less distracting.")
|
|
|
|
(license license:public-domain)))
|
2015-01-12 20:15:15 +00:00
|
|
|
|
|
|
|
(define-public xlockmore
|
|
|
|
(package
|
|
|
|
(name "xlockmore")
|
2015-12-26 07:22:20 +00:00
|
|
|
(version "5.46")
|
2015-01-12 20:15:15 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2015-12-26 07:17:46 +00:00
|
|
|
(uri (list (string-append
|
|
|
|
"http://www.tux.org/~bagleyd/xlock/xlockmore-"
|
|
|
|
version ".tar.xz")
|
|
|
|
(string-append
|
|
|
|
"http://www.tux.org/~bagleyd/xlock/xlockmore-old"
|
|
|
|
"/xlockmore-" version
|
|
|
|
"/xlockmore-" version ".tar.bz2")))
|
2015-01-12 20:15:15 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-12-26 07:22:20 +00:00
|
|
|
"1ps0dmnh912x8mwns94y2607xk90rjxrjn5s1pkmmpjg5h9bxcrj"))))
|
2015-01-12 20:15:15 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags (list (string-append "--enable-appdefaultdir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/lib/X11/app-defaults"))
|
|
|
|
#:tests? #f)) ;no such thing as a test suite
|
|
|
|
(inputs
|
|
|
|
`(("libX11" ,libx11)
|
|
|
|
("libXext" ,libxext)
|
|
|
|
("libXt" ,libxt)
|
|
|
|
("linux-pam" ,linux-pam)))
|
|
|
|
(home-page "http://www.tux.org/~bagleyd/xlockmore.html")
|
|
|
|
(synopsis "Screen locker for the X Window System")
|
|
|
|
(description
|
|
|
|
"XLockMore is a classic screen locker and screen saver for the
|
|
|
|
X Window System.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 18:26:34 +00:00
|
|
|
(license (license:non-copyleft #f "See xlock.c.")
|
2015-01-12 20:15:15 +00:00
|
|
|
;; + GPLv2 in modes/glx/biof.c.
|
|
|
|
)))
|
2015-02-11 19:20:00 +00:00
|
|
|
|
|
|
|
(define-public xosd
|
|
|
|
(package
|
|
|
|
(name "xosd")
|
|
|
|
(version "2.2.14")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://sourceforge/libxosd/xosd-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"025m7ha89q29swkc7s38knnbn8ysl24g2h5s7imfxflm91psj7sg"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags
|
|
|
|
(list (string-append "--mandir=" %output "/share/man"))))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxt" ,libxt)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxinerama" ,libxinerama)))
|
|
|
|
(home-page "http://sourceforge.net/projects/libxosd/")
|
|
|
|
(synopsis "X On Screen Display")
|
|
|
|
(description
|
|
|
|
"XOSD provides a C library and a simple utility (osd_cat) for displaying
|
|
|
|
transparent text on your screen.")
|
|
|
|
(license license:gpl2+)))
|
2015-03-01 13:12:41 +00:00
|
|
|
|
|
|
|
(define-public xbindkeys
|
|
|
|
(package
|
|
|
|
(name "xbindkeys")
|
|
|
|
(version "1.8.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
;; Download from the savannah mirror list fails
|
|
|
|
(uri (string-append
|
|
|
|
"http://www.nongnu.org/xbindkeys/xbindkeys-"
|
|
|
|
version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"060df6d8y727jp1inp7blp44cs8a7jig7vcm8ndsn6gw36z1h3bc"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("guile" ,guile-2.0)))
|
|
|
|
(home-page "http://www.nongnu.org/xbindkeys/")
|
|
|
|
(synopsis "Associate a combination of keys with a shell command")
|
|
|
|
(description
|
|
|
|
"XBindKeys is a program that allows you to launch shell commands with
|
|
|
|
your keyboard or your mouse under the X Window System. It links commands to
|
|
|
|
keys or mouse buttons, using a configuration file. It's independent of the
|
|
|
|
window manager and can capture all keyboard keys (ex: Power, Wake...). It
|
|
|
|
optionally supports a Guile-based configuration file layout, which enables you
|
|
|
|
to access all XBindKeys internals, so you can have key combinations, double
|
|
|
|
clicks or timed double clicks take actions. Also all functions that work in
|
|
|
|
Guile will work for XBindKeys.")
|
|
|
|
(license license:gpl2+)))
|
2015-03-09 02:03:39 +00:00
|
|
|
|
2015-10-10 11:06:39 +00:00
|
|
|
(define-public sxhkd
|
|
|
|
(package
|
|
|
|
(name "sxhkd")
|
|
|
|
(version "0.5.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/baskerville/sxhkd/archive/"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04s3y2bq9502gw72jj3y2zsh96yj3qg2av3zsa8ahd2farvrysg6"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("asciidoc" ,asciidoc)
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
(arguments
|
|
|
|
'(#:phases (alist-delete 'configure %standard-phases)
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
(string-append "PREFIX=" %output))))
|
|
|
|
(home-page "https://github.com/baskerville/sxhkd")
|
|
|
|
(synopsis "Simple X hotkey daemon")
|
|
|
|
(description "sxhkd is a simple X hotkey daemon with a powerful and
|
|
|
|
compact configuration syntax.")
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
2015-03-09 02:03:39 +00:00
|
|
|
(define-public rxvt-unicode
|
|
|
|
(package
|
|
|
|
(name "rxvt-unicode")
|
|
|
|
(version "9.21")
|
2015-12-06 20:58:03 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-02-19 06:44:04 +00:00
|
|
|
(uri (string-append "http://dist.schmorp.de/rxvt-unicode/Attic/"
|
2015-12-06 20:58:03 +00:00
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0swmi308v5yxsddrdhvi4cch88k2bbs2nffpl5j5m2f55gbhw9vm"))))
|
2015-03-09 02:03:39 +00:00
|
|
|
(build-system gnu-build-system)
|
2015-12-06 20:58:03 +00:00
|
|
|
(arguments
|
|
|
|
;; This sets the destination when installing the necessary terminal
|
|
|
|
;; capability data, which are not provided by 'ncurses'. See
|
|
|
|
;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
|
|
|
|
'(#:make-flags (list (string-append "TERMINFO="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/share/terminfo"))))
|
2015-03-09 02:03:39 +00:00
|
|
|
(inputs
|
|
|
|
`(("libXft" ,libxft)
|
|
|
|
("libX11" ,libx11)))
|
|
|
|
(native-inputs
|
2015-12-06 20:58:03 +00:00
|
|
|
`(("ncurses" ,ncurses) ;trigger the installation of terminfo data
|
|
|
|
("perl" ,perl)
|
2015-03-09 02:03:39 +00:00
|
|
|
("pkg-config" ,pkg-config)))
|
2015-12-06 20:58:03 +00:00
|
|
|
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
|
|
|
|
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "TERMINFO_DIRS")
|
|
|
|
(files '("share/terminfo")))))
|
2015-03-09 02:03:39 +00:00
|
|
|
(home-page "http://software.schmorp.de/pkg/rxvt-unicode.html")
|
|
|
|
(synopsis "Rxvt clone with XFT and unicode support")
|
|
|
|
(description "Rxvt-unicode (urxvt) is a colour vt102 terminal emulator
|
|
|
|
intended as an xterm replacement for users who do not require features such as
|
|
|
|
Tektronix 4014 emulation and toolkit-style configurability. It supports
|
|
|
|
unicode, XFT and may be extended with Perl plugins. It also comes with a
|
|
|
|
client/daemon pair that lets you open any number of terminal windows from
|
|
|
|
within a single process.")
|
|
|
|
(license license:gpl3+)))
|
2015-03-16 22:14:16 +00:00
|
|
|
|
|
|
|
(define-public xcape
|
|
|
|
(package
|
|
|
|
(name "xcape")
|
|
|
|
(version "1.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/alols/" name
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jkdiaxc6sryrbibdgi2y1c48n4l9xyazhxr16l6h4ibddx95bk9"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:phases (alist-delete 'configure %standard-phases) ; no configure script
|
|
|
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
"MANDIR=/share/man/man1"
|
|
|
|
"CC=gcc")))
|
|
|
|
(inputs
|
|
|
|
`(("libxtst" ,libxtst)
|
|
|
|
("libx11" ,libx11)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "http://github.com/alols/xcape")
|
|
|
|
(synopsis "Use a modifier key in X.org as another key")
|
|
|
|
(description
|
|
|
|
"This utility for X.org allows to use modifier key as another key when
|
|
|
|
pressed and released on its own. The default behaviour is to generate the
|
|
|
|
Escape key when Left Control is pressed and released on its own.")
|
|
|
|
(license license:gpl3+)))
|
2015-04-18 20:42:00 +00:00
|
|
|
|
|
|
|
(define-public libwacom
|
|
|
|
(package
|
|
|
|
(name "libwacom")
|
|
|
|
(version "0.12")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/linuxwacom/libwacom/"
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"022d0097dk2glgb6772zpcsqm1w42sbsbr3i72pdhzq6naqawys8"))))
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
2016-02-18 19:58:18 +00:00
|
|
|
`(("gtk+" ,gtk+)
|
2015-10-27 09:05:36 +00:00
|
|
|
("libgudev" ,libgudev)
|
2015-04-18 20:42:00 +00:00
|
|
|
("eudev" ,eudev)
|
|
|
|
("libxml2" ,libxml2)))
|
2016-02-18 19:58:18 +00:00
|
|
|
(propagated-inputs
|
|
|
|
;; libwacom includes header files that include GLib, and libinput uses
|
|
|
|
;; those header files.
|
|
|
|
`(("glib" ,glib)))
|
2015-04-18 20:42:00 +00:00
|
|
|
(home-page "http://linuxwacom.sourceforge.net/")
|
|
|
|
(synopsis "Helper library for Wacom tablet settings")
|
|
|
|
(description
|
2016-02-18 19:58:18 +00:00
|
|
|
"Libwacom is a library to help implement Wacom tablet settings. It is
|
|
|
|
intended to be used by client-programs that need model identification. It is
|
|
|
|
already being used by the gnome-settings-daemon and the GNOME Control Center
|
|
|
|
Wacom tablet applet.")
|
2015-04-18 20:42:00 +00:00
|
|
|
(license license:x11)))
|
2015-04-18 20:42:24 +00:00
|
|
|
|
|
|
|
(define-public xf86-input-wacom
|
|
|
|
(package
|
|
|
|
(name "xf86-input-wacom")
|
|
|
|
(version "0.29.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://sourceforge/linuxwacom/xf86-input-wacom/"
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"15lbzjkaf690i69qy0n0ibwczbclqq1nx0418c6a567by5v7wl48"))))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-sdkdir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/include/xorg")
|
|
|
|
(string-append "--with-xorg-conf-dir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/share/X11/xorg.conf.d"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("xorg-server" ,xorg-server)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("eudev" ,eudev)))
|
|
|
|
(home-page "http://linuxwacom.sourceforge.net/")
|
|
|
|
(synopsis "Wacom input driver for X")
|
|
|
|
(description
|
|
|
|
"The xf86-input-wacom driver is the wacom-specific X11 input driver for
|
|
|
|
the X.Org X Server version 1.7 and later (X11R7.5 or later).")
|
|
|
|
(license license:x11)))
|
2015-12-10 07:57:57 +00:00
|
|
|
|
|
|
|
(define-public redshift
|
|
|
|
(package
|
|
|
|
(name "redshift")
|
2016-02-15 22:33:55 +00:00
|
|
|
(version "1.11")
|
2015-12-10 07:57:57 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://github.com/jonls/redshift/"
|
|
|
|
"releases/download/v" version
|
|
|
|
"/redshift-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-02-15 22:33:55 +00:00
|
|
|
"0ngkwj7rg8nfk806w0sg443w6wjr91xdc0zisqfm5h2i77wm1qqh"))))
|
2015-12-10 07:57:57 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
(inputs
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxcb" ,libxcb)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 13:37:28 +00:00
|
|
|
("libxxf86vm" ,libxxf86vm)
|
2016-04-08 15:36:05 +00:00
|
|
|
("libjpeg" ,libjpeg)
|
2015-12-10 07:57:57 +00:00
|
|
|
("glib" ,glib))) ;for Geoclue2 support
|
|
|
|
(home-page "https://github.com/jonls/redshift")
|
|
|
|
(synopsis "Adjust the color temperature of your screen")
|
|
|
|
(description
|
|
|
|
"Redshift adjusts the color temperature according to the position of the
|
|
|
|
sun. A different color temperature is set during night and daytime. During
|
|
|
|
twilight and early morning, the color temperature transitions smoothly from
|
|
|
|
night to daytime temperature to allow your eyes to slowly adapt. At night the
|
|
|
|
color temperature should be set to match the lamps in your room.")
|
|
|
|
(license license:gpl3+)))
|
2016-04-08 15:36:05 +00:00
|
|
|
|
|
|
|
(define-public xscreensaver
|
|
|
|
(package
|
|
|
|
(name "xscreensaver")
|
|
|
|
(version "5.34")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://www.jwz.org/xscreensaver/xscreensaver-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09sy5v8bn62hiq4ib3jyvp8lipqcvn3rdsj74q25qgklpv27xzvg"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'adjust-gtk-resource-paths
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("driver/Makefile.in" "po/Makefile.in.in")
|
|
|
|
(("@GTK_DATADIR@") "@datadir@")
|
|
|
|
(("@PO_DATADIR@") "@datadir@")))))
|
|
|
|
#:configure-flags '("--with-pam" "--with-proc-interrupts"
|
|
|
|
"--without-readdisplay")
|
|
|
|
#:make-flags (list (string-append "AD_DIR="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/usr/lib/X11/app-defaults"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxt" ,libxt)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
("libglade" ,libglade)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("libsm" ,libsm)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
("pango" ,pango)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("perl" ,perl)
|
|
|
|
("cairo" ,cairo)
|
|
|
|
("bc" ,bc)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("glu" ,glu)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(home-page "https://www.jwz.org/xscreensaver/")
|
|
|
|
(synopsis "Classic screen saver suite supporting screen locking")
|
|
|
|
(description
|
|
|
|
"xscreensaver is a popular screen saver collection with many entertaining
|
|
|
|
demos. It also acts as a nice screen locker.")
|
|
|
|
;; xscreensaver doesn't have a single copyright file and instead relies on
|
|
|
|
;; source comment headers, though most files have the same lax
|
|
|
|
;; permissions. To reduce complexity, we're pointing at Debian's
|
|
|
|
;; breakdown of the copyright information.
|
|
|
|
(license (license:non-copyleft
|
|
|
|
(string-append
|
|
|
|
"http://metadata.ftp-master.debian.org/changelogs/"
|
|
|
|
"/main/x/xscreensaver/xscreensaver_5.34-2_copyright")))))
|