2014-12-02 08:29:01 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
2016-11-16 02:14:28 -05:00
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2014-12-02 08:29:01 -05:00
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2016-04-03 07:36:33 -04:00
|
|
|
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
|
2019-04-08 17:03:39 -04:00
|
|
|
;;; Copyright © 2013, 2015, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
2016-07-29 12:19:49 -04:00
|
|
|
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
|
2015-03-08 22:03:39 -04:00
|
|
|
;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
|
2015-04-18 16:42:00 -04:00
|
|
|
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
|
2015-10-10 07:06:39 -04:00
|
|
|
;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
|
2015-12-10 02:57:57 -05:00
|
|
|
;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
|
2016-02-05 18:24:01 -05:00
|
|
|
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
2018-11-10 17:41:30 -05:00
|
|
|
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2019-09-23 03:21:02 -04:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
2016-07-07 03:15:42 -04:00
|
|
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
2016-07-22 04:09:26 -04:00
|
|
|
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
2018-12-22 09:00:36 -05:00
|
|
|
;;; Copyright © 2016, 2017, 2019 Marius Bakke <mbakke@fastmail.com>
|
2016-11-15 19:14:36 -05:00
|
|
|
;;; Copyright © 2016 Petter <petter@mykolab.ch>
|
2017-03-02 18:22:47 -05:00
|
|
|
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm,
gnu/packages/language.scm, gnu/packages/libcanberra.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
Correct name and email address for ng0.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-14 05:33:38 -04:00
|
|
|
;;; Copyright © 2017 ng0 <ng0@n0.is>
|
2020-01-10 20:08:34 -05:00
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-11-09 14:36:31 -05:00
|
|
|
;;; Copyright © 2017 Marek Benc <dusxmt@gmx.com>
|
2017-11-27 21:45:11 -05:00
|
|
|
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
|
2018-03-29 05:38:11 -04:00
|
|
|
;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
|
2019-01-03 08:55:47 -05:00
|
|
|
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2019-03-07 16:23:01 -05:00
|
|
|
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
2018-12-16 16:25:11 -05:00
|
|
|
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
|
2019-09-16 12:15:49 -04:00
|
|
|
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
|
2019-09-29 10:06:49 -04:00
|
|
|
;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
|
2019-10-29 15:02:37 -04:00
|
|
|
;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
|
2019-10-31 12:51:41 -04:00
|
|
|
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
2020-01-04 11:16:41 -05:00
|
|
|
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2020-01-26 08:55:47 -05:00
|
|
|
;;; Copyright © 2020 David Wilson <david@daviwil.com>
|
2020-02-02 08:13:27 -05:00
|
|
|
;;; Copyright © 2020 Ivan Vilata i Balaguer <ivan@selidor.net>
|
2020-02-09 04:10:48 -05:00
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2020-03-04 10:31:51 -05:00
|
|
|
;;; Copyright © 2020 Damien Cassou <damien@cassou.me>
|
2014-12-02 08:29:01 -05: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)
|
2017-03-02 18:22:47 -05:00
|
|
|
#:use-module (guix git-download)
|
2015-03-29 21:34:02 -04:00
|
|
|
#:use-module (guix utils)
|
2016-04-03 07:36:33 -04:00
|
|
|
#:use-module (guix build-system cmake)
|
2014-12-02 08:29:01 -05:00
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-18 16:42:00 -04:00
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2019-01-03 09:25:06 -05:00
|
|
|
#:use-module (guix build-system meson)
|
2015-09-26 12:03:40 -04:00
|
|
|
#:use-module (guix build-system python)
|
2020-01-26 08:55:47 -05:00
|
|
|
#:use-module (guix build-system scons)
|
2014-12-02 08:29:01 -05:00
|
|
|
#:use-module (gnu packages)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-12 20:18:15 -04:00
|
|
|
#:use-module (gnu packages documentation)
|
2018-12-16 16:25:11 -05:00
|
|
|
#:use-module (gnu packages admin)
|
|
|
|
#:use-module (gnu packages base)
|
2016-04-08 11:36:05 -04:00
|
|
|
#:use-module (gnu packages algebra)
|
2017-06-09 19:06:40 -04:00
|
|
|
#:use-module (gnu packages autotools)
|
2017-10-08 08:18:26 -04:00
|
|
|
#:use-module (gnu packages check)
|
2014-12-02 08:29:01 -05:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages image)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-10-08 08:18:26 -04:00
|
|
|
#:use-module (gnu packages flex)
|
2019-01-03 08:55:47 -05:00
|
|
|
#:use-module (gnu packages freedesktop)
|
2015-09-26 12:03:40 -04:00
|
|
|
#:use-module (gnu packages gettext)
|
2016-04-03 07:36:33 -04:00
|
|
|
#:use-module (gnu packages gl)
|
2014-12-04 16:22:04 -05:00
|
|
|
#:use-module (gnu packages glib)
|
2016-07-29 12:19:49 -04:00
|
|
|
#:use-module (gnu packages gnome)
|
2019-12-31 17:07:45 -05:00
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2017-06-10 18:39:51 -04:00
|
|
|
#:use-module (gnu packages icu4c)
|
2019-03-07 16:23:01 -05:00
|
|
|
#:use-module (gnu packages man)
|
2017-02-23 07:47:03 -05:00
|
|
|
#:use-module (gnu packages maths)
|
2016-08-31 10:37:18 -04:00
|
|
|
#:use-module (gnu packages m4)
|
2015-12-06 15:58:03 -05:00
|
|
|
#:use-module (gnu packages ncurses)
|
2014-12-14 04:07:19 -05:00
|
|
|
#:use-module (gnu packages perl)
|
2015-09-26 12:03:40 -04:00
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2015-01-12 15:15:15 -05:00
|
|
|
#:use-module (gnu packages linux)
|
2016-04-08 11:36:05 -04:00
|
|
|
#:use-module (gnu packages gl)
|
2015-03-01 08:12:41 -05:00
|
|
|
#:use-module (gnu packages guile)
|
2015-04-18 16:42:00 -04:00
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
#:use-module (gnu packages gtk)
|
2019-12-26 14:15:44 -05:00
|
|
|
#:use-module (gnu packages qt)
|
2016-05-11 12:24:53 -04:00
|
|
|
#:use-module (gnu packages xorg)
|
2019-09-29 10:06:49 -04:00
|
|
|
#:use-module (gnu packages fontutils)
|
2017-09-05 13:34:54 -04:00
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
#:use-module (ice-9 match))
|
2014-12-02 08:29:01 -05:00
|
|
|
|
|
|
|
;; packages outside the x.org system proper
|
|
|
|
|
2015-09-26 12:03:40 -04:00
|
|
|
(define-public arandr
|
|
|
|
(package
|
|
|
|
(name "arandr")
|
2019-11-30 14:43:49 -05:00
|
|
|
(version "0.1.10")
|
2015-09-26 12:03:40 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2019-11-30 14:45:55 -05:00
|
|
|
(uri (string-append "https://christian.amsuess.com/tools/arandr"
|
2019-11-30 14:43:42 -05:00
|
|
|
"/files/arandr-" version ".tar.gz"))
|
2015-09-26 12:03:40 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-11-30 14:43:49 -05:00
|
|
|
"135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v"))
|
2017-01-24 16:53:43 -05:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
'(begin
|
|
|
|
;; Do not record a timestamp and file name in gzipped man
|
|
|
|
;; pages (this is equivalent to 'gzip --no-name'.)
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("gzip\\.open\\(gzfile, 'w', 9\\)")
|
|
|
|
"gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)"))
|
|
|
|
#t))))
|
2015-09-26 12:03:40 -04:00
|
|
|
(build-system python-build-system)
|
2016-02-27 06:00:20 -05:00
|
|
|
(arguments
|
2019-12-30 12:37:08 -05:00
|
|
|
`(#:phases
|
2017-08-13 10:48:54 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'configure
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "screenlayout/xrandr.py"
|
|
|
|
(("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
|
|
|
|
"/bin/xrandr\"")))
|
2019-12-30 12:37:08 -05:00
|
|
|
#t))
|
|
|
|
(add-after 'install 'wrap-gi-typelib
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
|
|
|
(wrap-program (string-append out "/bin/arandr")
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
|
2017-08-13 10:48:54 -04:00
|
|
|
#t)))
|
2017-07-28 05:17:16 -04:00
|
|
|
#:tests? #f)) ;no tests
|
2019-12-30 12:37:08 -05:00
|
|
|
(inputs `(("gtk+" ,gtk+)
|
|
|
|
("pycairo" ,python-pycairo)
|
|
|
|
("pygobject" ,python-pygobject)
|
2016-02-27 06:00:20 -05:00
|
|
|
("xrandr" ,xrandr)))
|
2016-09-25 03:33:02 -04:00
|
|
|
(native-inputs `(("gettext" ,gettext-minimal)
|
2019-12-30 12:37:08 -05:00
|
|
|
("python-docutils" ,python-docutils)))
|
2015-09-26 12:03:40 -04:00
|
|
|
(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+)))
|
|
|
|
|
2019-03-07 16:23:01 -05:00
|
|
|
(define-public autorandr
|
2020-02-09 04:10:48 -05:00
|
|
|
(package
|
|
|
|
(name "autorandr")
|
|
|
|
(version "1.9")
|
|
|
|
(home-page "https://github.com/phillipberndt/autorandr")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url home-page)
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1bb0l7fcm5lcx9y02zdxv7pfdqf4v4gsc5br3v1x9gzjvqj64l7n"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("xrandr" ,xrandr)
|
|
|
|
("libxcb" ,libxcb)))
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'configure
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((xrandr (string-append (assoc-ref inputs "xrandr")
|
|
|
|
"/bin/xrandr")))
|
|
|
|
(substitute* "contrib/etc/xdg/autostart/autorandr.desktop"
|
|
|
|
(("/usr") (assoc-ref outputs "out")))
|
2019-03-07 16:23:01 -05:00
|
|
|
(substitute* "autorandr.py"
|
2020-02-09 04:10:48 -05:00
|
|
|
(("popen\\(\"xrandr") (string-append "popen(\"" xrandr))
|
|
|
|
(("\\[\"xrandr") (string-append "[\"" xrandr))))
|
|
|
|
#t))
|
|
|
|
(add-after 'install 'install-contrib
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(invoke "make"
|
|
|
|
(string-append "DESTDIR=" (assoc-ref outputs "out"))
|
|
|
|
"PREFIX="
|
|
|
|
"BASH_COMPLETIONS_DIR=etc/bash_completiond.d"
|
|
|
|
"install_manpage"
|
|
|
|
"install_bash_completion"
|
|
|
|
"install_launcher"
|
|
|
|
"install_autostart_config"))))))
|
|
|
|
(synopsis "Auto-detect connected displays and load appropriate setup")
|
|
|
|
(description "Autorandr wraps around xrandr to help with X11
|
2019-03-07 16:23:01 -05:00
|
|
|
multi-screen configuration management. It allows the user to create profiles
|
|
|
|
for various multi-screen setups. Autorandr automatically detects the profiles
|
|
|
|
that can be activated based on the connected hardware. Hook scripts can be
|
|
|
|
used to further tweak the behaviour of the different profiles.")
|
2020-02-09 04:10:48 -05:00
|
|
|
(license license:gpl3+)))
|
2019-03-07 16:23:01 -05:00
|
|
|
|
2019-10-29 15:02:37 -04:00
|
|
|
(define-public bemenu
|
|
|
|
(package
|
|
|
|
(name "bemenu")
|
|
|
|
(version "0.2.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/Cloudef/bemenu.git")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0piax49az5kp96r1g6dcgj87fi6p4jl286wlkxsdvljzpkn8q6gv"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags '("-DBEMENU_WAYLAND_RENDERER=ON")))
|
|
|
|
(inputs
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxkbcomon" ,libxkbcommon)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
("pango" ,pango)
|
|
|
|
("wayland" ,wayland)
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
(native-inputs
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://github.com/Cloudef/bemenu")
|
|
|
|
(synopsis "Dynamic menu library and client program inspired by dmenu")
|
|
|
|
(description
|
|
|
|
"bemenu is a dynamic menu which allows the user to flexibly select from a
|
|
|
|
list of options (usually programs to launch). It renders the menu graphically
|
|
|
|
with X11 or Wayland, or in a text terminal with ncurses.")
|
|
|
|
(license (list license:gpl3+ ; client program[s] and other sources
|
|
|
|
license:lgpl3+)))) ; library and bindings
|
|
|
|
|
2019-12-26 14:15:44 -05:00
|
|
|
(define-public copyq
|
|
|
|
(package
|
|
|
|
(name "copyq")
|
|
|
|
(version "3.9.3")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/hluk/CopyQ.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0wlwq9xg8rzsbj0b29z358k4mbrqy04iraa8x0p26pa95yskgcma"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
|
|
|
|
#:tests? #f)) ; Test suite is a rather manual process.
|
|
|
|
(inputs
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
("qtscript" ,qtscript)
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
("qtx11extras" ,qtx11extras)))
|
|
|
|
(synopsis "Clipboard manager with advanced features")
|
|
|
|
(description "CopyQ is clipboard manager with editing and scripting
|
|
|
|
features. CopyQ monitors system clipboard and saves its content in customized
|
|
|
|
tabs. Saved clipboard can be later copied and pasted directly into any
|
|
|
|
application.")
|
|
|
|
(home-page "https://hluk.github.io/CopyQ/")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2014-12-02 09:06:51 -05:00
|
|
|
(define-public xclip
|
|
|
|
(package
|
|
|
|
(name "xclip")
|
2017-06-09 19:06:40 -04:00
|
|
|
(version "0.13")
|
2014-12-02 09:06:51 -05:00
|
|
|
(source
|
2018-11-29 16:13:13 -05:00
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/astrand/xclip.git")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
|
2014-12-02 09:06:51 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2018-03-11 16:46:30 -04:00
|
|
|
'(#:tests? #f)) ;there is no test suite
|
2017-06-09 19:06:40 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)))
|
2014-12-02 09:06:51 -05:00
|
|
|
(inputs `(("libxmu" ,libxmu)
|
|
|
|
("libxt" ,libxt)))
|
2017-06-09 19:06:40 -04:00
|
|
|
(home-page "https://github.com/astrand/xclip")
|
2014-12-02 09:06:51 -05:00
|
|
|
(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+)))
|
|
|
|
|
2016-05-11 12:24:53 -04:00
|
|
|
(define-public libxkbcommon
|
|
|
|
(package
|
|
|
|
(name "libxkbcommon")
|
2020-01-19 04:43:33 -05:00
|
|
|
(version "0.10.0")
|
2016-05-11 12:24:53 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2019-02-23 12:35:11 -05:00
|
|
|
(uri (string-append "https://xkbcommon.org/download/libxkbcommon-"
|
2016-05-11 12:24:53 -04:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-01-19 04:43:33 -05:00
|
|
|
"1wmnl0hngn6vrqrya4r8hvimlkr4jag39yjprls4gyrqvh667hsp"))))
|
2019-12-09 16:29:58 -05:00
|
|
|
(build-system meson-build-system)
|
2016-05-11 12:24:53 -04:00
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxcb" ,libxcb)
|
2019-12-09 16:29:58 -05:00
|
|
|
("wayland" ,wayland)
|
|
|
|
("wayland-protocols" ,wayland-protocols)
|
2016-05-11 12:24:53 -04:00
|
|
|
("xkeyboard-config" ,xkeyboard-config)))
|
|
|
|
(native-inputs
|
|
|
|
`(("bison" ,bison)
|
2019-12-09 16:29:58 -05:00
|
|
|
("doxygen" ,doxygen)
|
2016-05-11 12:24:53 -04:00
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
2019-12-09 16:29:58 -05:00
|
|
|
(list (string-append "-Dxkb-config-root="
|
2016-05-11 12:24:53 -04:00
|
|
|
(assoc-ref %build-inputs "xkeyboard-config")
|
|
|
|
"/share/X11/xkb")
|
2019-12-09 16:29:58 -05:00
|
|
|
(string-append "-Dx-locale-root="
|
2016-05-11 12:24:53 -04:00
|
|
|
(assoc-ref %build-inputs "libx11")
|
|
|
|
"/share/X11/locale"))))
|
2017-01-30 08:59:22 -05:00
|
|
|
(home-page "https://xkbcommon.org/")
|
2016-05-11 12:24:53 -04:00
|
|
|
(synopsis "Library to handle keyboard descriptions")
|
|
|
|
(description "Xkbcommon is a library to handle keyboard descriptions,
|
|
|
|
including loading them from disk, parsing them and handling their
|
|
|
|
state. It is mainly meant for client toolkits, window systems, and other
|
|
|
|
system applications; currently that includes Wayland, kmscon, GTK+, Qt,
|
|
|
|
Clutter, and more. Despite the name, it is not currently used by anything
|
|
|
|
X11 (yet).")
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
"See 'COPYING' in the distribution."))))
|
|
|
|
|
2017-12-30 16:47:32 -05:00
|
|
|
(define-public libfakekey
|
|
|
|
(package
|
|
|
|
(name "libfakekey")
|
2020-02-18 10:01:19 -05:00
|
|
|
(version "0.3")
|
2017-12-30 16:47:32 -05:00
|
|
|
(source
|
|
|
|
(origin
|
2020-02-18 10:01:19 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://git.yoctoproject.org/git/libfakekey")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-30 16:47:32 -05:00
|
|
|
(sha256
|
2020-02-18 10:01:19 -05:00
|
|
|
(base32 "1jw1d4wc1ysiijirc7apnz3sryrxbl9akgb92mh06dvfkz2nblj0"))))
|
2017-12-30 16:47:32 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2020-02-18 10:01:19 -05:00
|
|
|
`(#:make-flags (list "AM_LDFLAGS=-lX11")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'bootstrap
|
|
|
|
;; ./autogen.sh calls ./configure before shebangs have been patched.
|
|
|
|
(lambda _
|
|
|
|
(invoke "autoreconf" "-vfi"))))))
|
2017-12-30 16:47:32 -05:00
|
|
|
(native-inputs
|
2020-02-18 10:01:19 -05:00
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
;; For bootstrapping from git.
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)))
|
2017-12-30 16:47:32 -05:00
|
|
|
(inputs
|
|
|
|
`(("libxtst" ,libxtst)
|
|
|
|
("libx11" ,libx11)))
|
|
|
|
(home-page "https://www.yoctoproject.org/tools-resources/projects/matchbox")
|
|
|
|
(synopsis "X virtual keyboard library")
|
|
|
|
(description
|
|
|
|
"Libfakekey is a virtual keyboard library for X.")
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
2014-12-14 04:07:19 -05:00
|
|
|
(define-public xdotool
|
|
|
|
(package
|
|
|
|
(name "xdotool")
|
2018-08-01 06:32:16 -04:00
|
|
|
(version "3.20160805.1")
|
2014-12-14 04:07:19 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-02-05 18:24:01 -05:00
|
|
|
"https://github.com/jordansissel/xdotool/releases/download/v"
|
|
|
|
version "/xdotool-" version ".tar.gz"))
|
2014-12-14 04:07:19 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-08-01 06:32:16 -04:00
|
|
|
"1a6c1zr86zb53352yxv104l76l8x21gfl2bgw6h21iphxpv5zgim"))))
|
2014-12-14 04:07:19 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; Test suite requires a lot of black magic
|
2015-03-16 18:14:16 -04:00
|
|
|
#:phases
|
2016-08-19 16:15:37 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
2018-08-01 06:32:16 -04:00
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(mkdir-p (string-append out "/lib"))
|
|
|
|
(setenv "PREFIX" out)
|
|
|
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
|
2018-06-27 21:16:30 -04:00
|
|
|
(setenv "CC" "gcc")
|
|
|
|
#t))))))
|
2014-12-14 04:07:19 -05:00
|
|
|
(native-inputs `(("perl" ,perl))) ; for pod2man
|
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxinerama" ,libxinerama)
|
2016-02-05 18:24:01 -05:00
|
|
|
("libxtst" ,libxtst)
|
|
|
|
("libxkbcommon" ,libxkbcommon)))
|
2020-01-18 17:19:26 -05:00
|
|
|
(home-page "https://www.semicomplete.com/projects/xdotool/")
|
2014-12-14 04:07:19 -05:00
|
|
|
(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 08:29:01 -05:00
|
|
|
(define-public xeyes
|
|
|
|
(package
|
|
|
|
(name "xeyes")
|
2018-06-28 13:05:54 -04:00
|
|
|
(version "1.1.2")
|
2014-12-02 08:29:01 -05:00
|
|
|
(source
|
2018-06-28 13:05:54 -04:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.x.org/releases/individual/app/"
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32 "0lq5j7fryx1wn998jq6h3icz1h6pqrsbs3adskjzjyhn5l6yrg2p"))))
|
2014-12-02 08:29:01 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libxext" ,libxext)
|
|
|
|
("libxmu" ,libxmu)
|
2018-06-28 13:05:54 -04:00
|
|
|
("libxrender" ,libxrender)
|
2014-12-02 08:29:01 -05:00
|
|
|
("libxt" ,libxt)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2018-06-28 11:45:19 -04:00
|
|
|
(home-page "https://www.x.org/") ; no dedicated Xeyes page exists
|
2014-12-02 08:29:01 -05:00
|
|
|
(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")
|
2019-04-17 09:31:07 -04:00
|
|
|
(version "0.38.4")
|
2015-09-30 11:19:27 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2019-02-11 10:31:42 -05:00
|
|
|
"https://www.cairographics.org/releases/pixman-"
|
2015-09-30 11:19:27 -04:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-04-17 09:31:07 -04:00
|
|
|
"1ryxzdf048x7wsx4dlvrr1p00gzwfs7lybnhgc7ygbj0dvyxcrns"))
|
2016-11-30 11:58:22 -05:00
|
|
|
(patches (search-patches "pixman-CVE-2016-5296.patch"))))
|
2014-12-02 08:29:01 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2015-09-30 11:19:27 -04:00
|
|
|
`(("libpng" ,libpng)
|
|
|
|
("zlib" ,zlib)))
|
2014-12-02 08:29:01 -05:00
|
|
|
(native-inputs
|
2015-09-30 11:19:27 -04:00
|
|
|
`(("pkg-config" ,pkg-config)))
|
2014-12-02 08:29:01 -05: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")
|
2019-12-09 16:26:06 -05:00
|
|
|
(version "2.4.100")
|
2014-12-02 08:29:01 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-02-19 08:23:38 -05:00
|
|
|
"https://dri.freedesktop.org/libdrm/libdrm-"
|
2014-12-02 08:29:01 -05:00
|
|
|
version
|
|
|
|
".tar.bz2"))
|
|
|
|
(sha256
|
2016-07-09 08:11:53 -04:00
|
|
|
(base32
|
2019-12-09 16:26:06 -05:00
|
|
|
"0p8a1l3a3s40i81mawm8nhrbk7p97ss05qkawp1yx73c30lchz67"))
|
2016-04-08 08:18:13 -04:00
|
|
|
(patches (search-patches "libdrm-symbol-check.patch"))))
|
2019-03-12 07:16:38 -04:00
|
|
|
(build-system meson-build-system)
|
2017-09-05 13:34:54 -04:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
'(,@(match (%current-system)
|
2019-03-19 08:17:59 -04:00
|
|
|
((or "armhf-linux" "aarch64-linux")
|
|
|
|
'("-Dexynos=true"
|
|
|
|
"-Domap=true"
|
|
|
|
"-Detnaviv=true"
|
|
|
|
"-Dtegra=true"
|
2019-03-12 07:16:38 -04:00
|
|
|
"-Dfreedreno-kgsl=true"))
|
2019-03-19 08:31:54 -04:00
|
|
|
(_ '())))
|
2019-04-08 17:03:39 -04:00
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "meson" "test" "--timeout-multiplier" "5"))))))
|
2014-12-02 08:29:01 -05:00
|
|
|
(inputs
|
2017-09-02 08:03:26 -04:00
|
|
|
`(("libpciaccess" ,libpciaccess)))
|
2014-12-02 08:29:01 -05:00
|
|
|
(native-inputs
|
2017-09-02 08:03:26 -04:00
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://dri.freedesktop.org/wiki/")
|
2014-12-02 08:29:01 -05:00
|
|
|
(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")
|
2016-07-12 02:45:07 -04:00
|
|
|
(version "1.1.5")
|
2014-12-02 08:29:01 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://bitmath.org/code/mtdev/mtdev-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
2016-07-12 02:45:07 -04:00
|
|
|
(base32
|
|
|
|
"0zxs7shzgbalkvlaiibi25bd902rbmkv9n1lww6q8j3ri9qdaxv6"))))
|
2014-12-02 08:29:01 -05:00
|
|
|
(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 08:36:03 -05:00
|
|
|
|
|
|
|
(define-public startup-notification
|
|
|
|
(package
|
|
|
|
(name "startup-notification")
|
|
|
|
(version "0.12")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-02-19 08:23:38 -05:00
|
|
|
(uri (string-append "https://www.freedesktop.org/software/" name
|
2014-12-08 08:36:03 -05: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)))
|
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-24 07:44:26 -05:00
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/startup-notification/")
|
2014-12-08 08:36:03 -05:00
|
|
|
(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 16:22:04 -05:00
|
|
|
|
|
|
|
(define-public wmctrl
|
|
|
|
(package
|
|
|
|
(name "wmctrl")
|
|
|
|
(version "1.07")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2015-12-26 01:55:14 -05:00
|
|
|
"https://sites.google.com/site/tstyblo/wmctrl/wmctrl-"
|
2014-12-04 16:22:04 -05:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"))
|
2016-04-08 08:18:13 -04:00
|
|
|
(patches (search-patches "wmctrl-64-fix.patch"))))
|
2014-12-04 16:22:04 -05: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 08:16:07 -04:00
|
|
|
move windows, switch between desktops, etc.).")
|
2014-12-04 16:22:04 -05:00
|
|
|
(license license:gpl2+)))
|
2014-12-09 13:23:46 -05:00
|
|
|
|
|
|
|
(define-public scrot
|
|
|
|
(package
|
|
|
|
(name "scrot")
|
2019-10-31 12:51:41 -04:00
|
|
|
(version "1.2")
|
2019-02-18 10:28:54 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://github.com/resurrecting-open-source-projects/scrot.git")
|
|
|
|
(commit version)))
|
2019-06-21 18:36:34 -04:00
|
|
|
(file-name (git-file-name name version))
|
2019-02-18 10:28:54 -05:00
|
|
|
(sha256
|
2019-10-31 12:51:41 -04:00
|
|
|
(base32 "08gkdby0ysx2mki57z81zlm7vfnq9c1gq692xw67cg5vv2p3320w"))))
|
2014-12-09 13:23:46 -05:00
|
|
|
(build-system gnu-build-system)
|
2019-02-18 10:28:54 -05:00
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
2019-10-31 12:51:41 -04:00
|
|
|
("autoconf-archive" ,autoconf-archive)
|
2019-02-18 10:28:54 -05:00
|
|
|
("automake" ,automake)))
|
2014-12-09 13:23:46 -05:00
|
|
|
(inputs
|
2019-02-18 10:28:54 -05:00
|
|
|
`(("giblib" ,giblib)
|
2019-10-31 12:51:41 -04:00
|
|
|
("libx11" ,libx11)
|
|
|
|
("libXcursor" ,libxcursor)
|
|
|
|
("libXfixes" ,libxfixes)))
|
2019-02-18 10:28:54 -05:00
|
|
|
(home-page "https://github.com/resurrecting-open-source-projects/scrot")
|
2014-12-09 13:23:46 -05:00
|
|
|
(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 13:42:56 -05:00
|
|
|
|
2016-04-03 07:36:33 -04:00
|
|
|
(define-public slop
|
|
|
|
(package
|
|
|
|
(name "slop")
|
2018-04-23 12:25:27 -04:00
|
|
|
(version "7.4")
|
2016-04-03 07:36:33 -04:00
|
|
|
(source (origin
|
2018-11-29 16:12:57 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/naelstrof/slop.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2016-04-03 07:36:33 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-11-29 16:12:57 -05:00
|
|
|
"0fgd8a2dqkg64all0f96sca92sdss9r3pzmv5kck46b99z2325z6"))))
|
2016-04-03 07:36:33 -04:00
|
|
|
(build-system cmake-build-system)
|
2017-02-23 07:47:03 -05:00
|
|
|
(arguments
|
2017-02-24 05:19:18 -05:00
|
|
|
'(#:tests? #f)) ; no "check" target
|
2016-04-03 07:36:33 -04:00
|
|
|
(inputs
|
2017-07-22 07:26:50 -04:00
|
|
|
`(("glew" ,glew)
|
|
|
|
("glm" ,glm)
|
2017-06-10 18:39:51 -04:00
|
|
|
("icu4c" ,icu4c)
|
2016-04-03 07:36:33 -04:00
|
|
|
("libxext" ,libxext)
|
2017-02-24 05:19:18 -05:00
|
|
|
("libxrender" ,libxrender)
|
2016-04-03 07:36:33 -04:00
|
|
|
("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 12:53:37 -04:00
|
|
|
(define-public maim
|
|
|
|
(package
|
|
|
|
(name "maim")
|
2019-04-23 07:32:05 -04:00
|
|
|
(version "5.5.3")
|
2016-04-04 12:53:37 -04:00
|
|
|
(source (origin
|
2018-11-29 16:13:32 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/naelstrof/maim.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2016-04-04 12:53:37 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-04-23 07:32:05 -04:00
|
|
|
"1kbxsz8whfxl5blwsvpva2q95zwy72argwhi1cfqh5lrhzq5zrpp"))))
|
2016-04-04 12:53:37 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2017-02-23 08:06:19 -05:00
|
|
|
'(#:tests? #f)) ; no "check" target
|
2016-04-04 12:53:37 -04:00
|
|
|
(inputs
|
2017-02-23 08:06:19 -05:00
|
|
|
`(("glm" ,glm)
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libxcomposite" ,libxcomposite)
|
2016-04-04 12:53:37 -04:00
|
|
|
("libxfixes" ,libxfixes)
|
2017-02-23 08:06:19 -05:00
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("mesa" ,mesa)
|
|
|
|
("slop" ,slop)
|
|
|
|
("zlib" ,zlib)))
|
2016-04-04 12:53:37 -04:00
|
|
|
(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 13:42:56 -05: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
|
2016-08-19 16:17:48 -04:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(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)
|
2018-09-19 22:04:01 -04:00
|
|
|
(invoke "make" "install" "install.man"
|
|
|
|
(string-append "BINDIR=" bin)
|
|
|
|
(string-append "MANDIR=" man1))))))))
|
2014-12-09 13:42:56 -05:00
|
|
|
(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 15:15:15 -05:00
|
|
|
|
2017-09-01 05:11:12 -04:00
|
|
|
(define-public xautomation
|
|
|
|
(package
|
|
|
|
(name "xautomation")
|
|
|
|
(version "1.09")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.hoopajoo.net/static/projects/"
|
|
|
|
"xautomation-" version ".tar.gz"))
|
|
|
|
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxtst" ,libxtst)))
|
|
|
|
(native-inputs
|
2018-03-10 07:20:38 -05:00
|
|
|
`(("xorgproto" ,xorgproto)))
|
2017-09-01 05:11:12 -04:00
|
|
|
(synopsis "Tools to automate tasks in X such as detecting on screen images")
|
|
|
|
(description
|
|
|
|
"Xautomation can control X from the command line for scripts, and
|
|
|
|
do visual scraping to find things on the screen. The control interface
|
|
|
|
allows mouse movement, clicking, button up/down, key up/down, etc, and
|
|
|
|
uses the XTest extension so you don't have the annoying problems that
|
|
|
|
xse has when apps ignore sent events. The visgrep program can find
|
2019-05-22 20:45:53 -04:00
|
|
|
images inside of images and reports the coordinates, allowing programs
|
2017-09-01 05:11:12 -04:00
|
|
|
to find buttons, etc, on the screen to click on.")
|
|
|
|
(home-page "https://www.hoopajoo.net/projects/xautomation.html")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2018-12-22 09:00:36 -05:00
|
|
|
(define-public xbanish
|
|
|
|
(package
|
|
|
|
(name "xbanish")
|
|
|
|
(version "1.6")
|
|
|
|
(home-page "https://github.com/jcs/xbanish")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
(commit (string-append "v" version))))
|
gnu: Add 'file-name' where appropriate.
* gnu/packages/admin.scm (detox, neofetch),
gnu/packages/algebra.scm (python-fpylll),
gnu/packages/bioinformatics.scm (tbsp, genrich),
gnu/packages/crypto.scm (hpenc),
gnu/packages/digest.scm (xxhash),
gnu/packages/emacs-xyz.scm (emacs-tiny, emacs-ergoemacs-mode,
emacs-make-it-so, emacs-poet-theme, emacs-deft, emacs-scribble-mode,
emacs-helm-mu, emacs-unidecode, emacs-diff-hl, emacs-helm-exwm,
emacs-gif-screencast, emacs-exec-path-from-shell),
gnu/packages/engineering.scm (gpx),
gnu/packages/freedesktop.scm (waylandpp),
gnu/packages/golang.scm (go-github-com-sirupsen-logrus,
go-github-com-shirou-gopsutil),
gnu/packages/guile-xyz.scm (guile-studio, guile-picture-language,
jupyter-guile-kernel),
gnu/packages/image-viewers.scm (qview),
gnu/packages/java-maths.scm (java-jblas),
gnu/packages/llvm.scm (libclc),
gnu/packages/logging.scm (spdlog),
gnu/packages/ocaml.scm (ocaml-cstruct, ocaml-zarith),
gnu/packages/terminals.scm (libtsm),
gnu/packages/tigervnc.scm (tigervnc-client),
gnu/packages/xdisorg.scm (xcalib, xbanish) [source]: Add file-name.
2019-11-10 05:03:51 -05:00
|
|
|
(file-name (git-file-name name version))
|
2018-12-22 09:00:36 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vp8ja68hpmqkl61zyjar3czhmny1hbm74m8f393incfz1ymr3i8"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(delete 'configure))))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxt" ,libxt)))
|
|
|
|
(synopsis "Banish the mouse cursor")
|
|
|
|
(description
|
|
|
|
"@command{xbanish} hides the mouse cursor when you start typing, and
|
|
|
|
shows it again when the mouse cursor moves or a mouse button is pressed.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2015-01-12 15:15:15 -05:00
|
|
|
(define-public xlockmore
|
|
|
|
(package
|
|
|
|
(name "xlockmore")
|
2020-03-12 00:09:44 -04:00
|
|
|
(version "5.62")
|
2015-01-12 15:15:15 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-12-05 18:17:10 -05:00
|
|
|
(uri (list (string-append "http://sillycycle.com/xlock/"
|
2019-08-21 14:52:36 -04:00
|
|
|
"xlockmore-" version ".tar.xz")
|
2017-12-05 18:17:10 -05:00
|
|
|
;; Previous releases are moved to a subdirectory.
|
|
|
|
(string-append "http://sillycycle.com/xlock/"
|
|
|
|
"recent-releases/"
|
2019-08-21 14:52:36 -04:00
|
|
|
"xlockmore-" version ".tar.xz")))
|
2015-01-12 15:15:15 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-03-12 00:09:44 -04:00
|
|
|
"0b05wgj4mpssy4hd7km5c48i454dfg45p11mfmsr7xjd2gnz5gqi"))))
|
2015-01-12 15:15:15 -05: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)))
|
2020-01-18 17:15:16 -05:00
|
|
|
(home-page "https://sillycycle.com/xlockmore.html")
|
2015-01-12 15:15:15 -05:00
|
|
|
(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 14:26:34 -04:00
|
|
|
(license (license:non-copyleft #f "See xlock.c.")
|
2016-05-27 09:35:47 -04:00
|
|
|
))) ; + GPLv2 in modes/glx/biof.c.
|
2015-02-11 14:20:00 -05:00
|
|
|
|
|
|
|
(define-public xosd
|
|
|
|
(package
|
|
|
|
(name "xosd")
|
|
|
|
(version "2.2.14")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-07-21 02:35:30 -04:00
|
|
|
"mirror://sourceforge/libxosd/libxosd/xosd-" version "/"
|
|
|
|
name "-" version ".tar.gz"))
|
2015-02-11 14:20:00 -05:00
|
|
|
(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)))
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-03 19:30:46 -05:00
|
|
|
(home-page "https://sourceforge.net/projects/libxosd/")
|
2015-02-11 14:20:00 -05:00
|
|
|
(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 08:12:41 -05: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)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
(home-page "https://www.nongnu.org/xbindkeys/")
|
2015-03-01 08:12:41 -05:00
|
|
|
(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-08 22:03:39 -04:00
|
|
|
|
2015-10-10 07:06:39 -04:00
|
|
|
(define-public sxhkd
|
|
|
|
(package
|
|
|
|
(name "sxhkd")
|
2019-09-24 01:06:19 -04:00
|
|
|
(version "0.6.1")
|
2015-10-10 07:06:39 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2018-06-28 10:49:38 -04:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/baskerville/sxhkd")
|
|
|
|
(commit version)))
|
2019-09-24 01:09:14 -04:00
|
|
|
(file-name (git-file-name name version))
|
2015-10-10 07:06:39 -04:00
|
|
|
(sha256
|
2019-09-24 01:06:19 -04:00
|
|
|
(base32 "0j7bl2l06r0arrjzpz7al9j6cwzc730knbsijp7ixzz96pq7xa2h"))))
|
2015-10-10 07:06:39 -04:00
|
|
|
(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
|
2018-06-28 10:49:38 -04:00
|
|
|
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
2015-10-10 07:06:39 -04:00
|
|
|
#:tests? #f ; no check target
|
2018-06-28 10:49:38 -04:00
|
|
|
#:make-flags
|
|
|
|
(list "CC=gcc"
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
;; Keep the documentation where the build system installs LICENSE.
|
|
|
|
(string-append "DOCPREFIX=" %output
|
|
|
|
"/share/doc/" ,name "-" ,version))))
|
2015-10-10 07:06:39 -04:00
|
|
|
(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-08 22:03:39 -04:00
|
|
|
(define-public rxvt-unicode
|
|
|
|
(package
|
|
|
|
(name "rxvt-unicode")
|
2016-07-07 03:15:42 -04:00
|
|
|
(version "9.22")
|
2015-12-06 15:58:03 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-02-19 01:44:04 -05:00
|
|
|
(uri (string-append "http://dist.schmorp.de/rxvt-unicode/Attic/"
|
2015-12-06 15:58:03 -05:00
|
|
|
name "-" version ".tar.bz2"))
|
2017-05-27 11:01:25 -04:00
|
|
|
(patches (search-patches "rxvt-unicode-escape-sequences.patch"))
|
2015-12-06 15:58:03 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-07-07 03:15:42 -04:00
|
|
|
"1pddjn5ynblwfrdmskylrsxb9vfnk3w4jdnq2l8xn2pspkljhip9"))))
|
2015-03-08 22:03:39 -04:00
|
|
|
(build-system gnu-build-system)
|
2015-12-06 15:58:03 -05: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
|
2017-03-05 16:14:43 -05:00
|
|
|
`(#:make-flags (list (string-append "TERMINFO="
|
2015-12-06 15:58:03 -05:00
|
|
|
(assoc-ref %outputs "out")
|
2017-03-05 16:14:43 -05:00
|
|
|
"/share/terminfo"))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'install-desktop-urxvt
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((output (assoc-ref outputs "out"))
|
|
|
|
(desktop (string-append output "/share/applications")))
|
|
|
|
(mkdir-p desktop)
|
|
|
|
(with-output-to-file
|
|
|
|
(string-append desktop "/urxvt.desktop")
|
|
|
|
(lambda _
|
|
|
|
(format #t
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
Name=rxvt-unicode~@
|
|
|
|
Comment=~@
|
|
|
|
Exec=~a/bin/urxvt~@
|
|
|
|
TryExec=~@*~a/bin/urxvt~@
|
|
|
|
Icon=~@
|
|
|
|
Type=Application~%"
|
|
|
|
output)))
|
|
|
|
#t)))
|
|
|
|
(add-after 'install 'install-desktop-urxvtc
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((output (assoc-ref outputs "out"))
|
|
|
|
(desktop (string-append output "/share/applications")))
|
|
|
|
(mkdir-p desktop)
|
|
|
|
(with-output-to-file
|
|
|
|
(string-append desktop "/urxvtc.desktop")
|
|
|
|
(lambda _
|
|
|
|
(format #t
|
|
|
|
"[Desktop Entry]~@
|
2017-03-22 21:53:19 -04:00
|
|
|
Name=rxvt-unicode (client)~@
|
2017-03-05 16:14:43 -05:00
|
|
|
Comment=Rxvt clone with XFT and unicode support~@
|
|
|
|
Exec=~a/bin/urxvtc~@
|
|
|
|
TryExec=~@*~a/bin/urxvtc~@
|
|
|
|
Icon=~@
|
|
|
|
Type=Application~%"
|
|
|
|
output)))
|
|
|
|
#t))))))
|
2015-03-08 22:03:39 -04:00
|
|
|
(inputs
|
|
|
|
`(("libXft" ,libxft)
|
|
|
|
("libX11" ,libx11)))
|
|
|
|
(native-inputs
|
2015-12-06 15:58:03 -05:00
|
|
|
`(("ncurses" ,ncurses) ;trigger the installation of terminfo data
|
|
|
|
("perl" ,perl)
|
2015-03-08 22:03:39 -04:00
|
|
|
("pkg-config" ,pkg-config)))
|
2015-12-06 15:58:03 -05: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-08 22:03:39 -04: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 18:14:16 -04:00
|
|
|
|
|
|
|
(define-public xcape
|
|
|
|
(package
|
|
|
|
(name "xcape")
|
2016-12-19 21:56:15 -05:00
|
|
|
(version "1.2")
|
2018-11-29 16:12:27 -05:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/alols/xcape.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09a05cxgrip6nqy1qmwblamp2bhknqnqmxn7i2a1rgxa0nba95dm"))))
|
2015-03-16 18:14:16 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
;; no configure script
|
|
|
|
#:phases (modify-phases %standard-phases (delete 'configure))
|
2015-03-16 18:14:16 -04:00
|
|
|
#: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)))
|
gnu: Use HTTPS URLs for GitHub home-pages.
* gnu/packages/bioinformatics.scm, gnu/packages/emacs.scm,
gnu/packages/haskell.scm, gnu/packages/libffi.scm, gnu/packages/lisp.scm,
gnu/packages/ocaml.scm, gnu/packages/openstack.scm, gnu/packages/python.scm,
gnu/packages/ruby.scm, gnu/packages/shells.scm, gnu/packages/statistics.scm,
gnu/packages/xdisorg.scm: Use HTTPS URLs for all packages with a home-page on
GitHub.
2017-03-21 17:34:40 -04:00
|
|
|
(home-page "https://github.com/alols/xcape")
|
2015-03-16 18:14:16 -04:00
|
|
|
(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 16:42:00 -04:00
|
|
|
|
|
|
|
(define-public libwacom
|
|
|
|
(package
|
|
|
|
(name "libwacom")
|
2020-01-10 20:08:34 -05:00
|
|
|
(version "1.2")
|
2015-04-18 16:42:00 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2018-06-05 18:28:43 -04:00
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/linuxwacom/libwacom/releases/download/"
|
2019-02-25 07:51:04 -05:00
|
|
|
"libwacom-" version "/libwacom-" version ".tar.bz2"))
|
2015-04-18 16:42:00 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-01-10 20:08:34 -05:00
|
|
|
"1hv3z2qkvycqcyv99zfpbbgrlbyppdq8kk2y9x51578mwbgcy162"))))
|
2015-04-18 16:42:00 -04:00
|
|
|
(build-system glib-or-gtk-build-system)
|
2019-10-18 05:56:25 -04:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--disable-static")))
|
2015-04-18 16:42:00 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
2016-02-18 14:58:18 -05:00
|
|
|
`(("gtk+" ,gtk+)
|
2015-10-27 05:05:36 -04:00
|
|
|
("libgudev" ,libgudev)
|
2015-04-18 16:42:00 -04:00
|
|
|
("eudev" ,eudev)
|
|
|
|
("libxml2" ,libxml2)))
|
2016-02-18 14:58:18 -05:00
|
|
|
(propagated-inputs
|
|
|
|
;; libwacom includes header files that include GLib, and libinput uses
|
|
|
|
;; those header files.
|
|
|
|
`(("glib" ,glib)))
|
2018-06-05 18:26:35 -04:00
|
|
|
(home-page "https://linuxwacom.github.io/")
|
2015-04-18 16:42:00 -04:00
|
|
|
(synopsis "Helper library for Wacom tablet settings")
|
|
|
|
(description
|
2016-02-18 14:58:18 -05: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 16:42:00 -04:00
|
|
|
(license license:x11)))
|
2015-04-18 16:42:24 -04:00
|
|
|
|
|
|
|
(define-public xf86-input-wacom
|
|
|
|
(package
|
|
|
|
(name "xf86-input-wacom")
|
2020-01-10 20:08:53 -05:00
|
|
|
(version "0.39.0")
|
2018-06-05 18:29:20 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/linuxwacom/xf86-input-wacom/releases/download/"
|
2019-09-25 11:39:24 -04:00
|
|
|
"xf86-input-wacom-" version "/"
|
|
|
|
"xf86-input-wacom-" version ".tar.bz2"))
|
2018-06-05 18:29:20 -04:00
|
|
|
(sha256
|
2020-01-10 20:08:53 -05:00
|
|
|
(base32 "11qk58az6qwii774ga45h5yqzipwn56f0d74kdbajqdv45p85gqj"))))
|
2015-04-18 16:42:24 -04:00
|
|
|
(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)))
|
2018-06-05 18:26:35 -04:00
|
|
|
(home-page "https://linuxwacom.github.io/")
|
2015-04-18 16:42:24 -04:00
|
|
|
(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 02:57:57 -05:00
|
|
|
|
|
|
|
(define-public redshift
|
|
|
|
(package
|
|
|
|
(name "redshift")
|
2018-05-22 21:06:15 -04:00
|
|
|
(version "1.12")
|
2015-12-10 02:57:57 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://github.com/jonls/redshift/"
|
|
|
|
"releases/download/v" version
|
|
|
|
"/redshift-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-05-22 21:06:15 -04:00
|
|
|
"1fi27b73x85qqar526dbd33av7mahca2ykaqwr7siqiw1qqcby6j"))))
|
2015-12-10 02:57:57 -05: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 08:37:28 -05:00
|
|
|
("libxxf86vm" ,libxxf86vm)
|
2018-05-22 21:06:15 -04:00
|
|
|
("glib" ,glib))) ; for Geoclue2 support
|
2015-12-10 02:57:57 -05:00
|
|
|
(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 11:36:05 -04:00
|
|
|
|
2019-10-30 09:08:36 -04:00
|
|
|
(define-public redshift-wayland
|
|
|
|
(let ((commit "7da875d34854a6a34612d5ce4bd8718c32bec804")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "redshift-wayland")
|
|
|
|
(version (string-append "1.12-"
|
|
|
|
revision "." (string-take commit 7)))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/minus7/redshift.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0nbkcw3avmzjg1jr1g9yfpm80kzisy55idl09b6wvzv2sz27n957"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
(inputs
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
("glib" ,glib) ; for Geoclue2 support
|
|
|
|
("wayland" ,wayland)))
|
|
|
|
(home-page "https://github.com/minus7/redshift")
|
|
|
|
(synopsis "Adjust the color temperature of your screen (with Wayland support)")
|
|
|
|
(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.
|
|
|
|
|
|
|
|
This is a fork with added support for Wayland using the wlr-gamma-control
|
|
|
|
protocol.")
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
2016-04-08 11:36:05 -04:00
|
|
|
(define-public xscreensaver
|
|
|
|
(package
|
|
|
|
(name "xscreensaver")
|
2019-07-10 17:43:48 -04:00
|
|
|
(version "5.43")
|
2016-04-08 11:36:05 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://www.jwz.org/xscreensaver/xscreensaver-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
2019-07-10 17:43:48 -04:00
|
|
|
(base32 "1571pj1a9998sq14y9366s2rw9wd2kq3l3dvvsk610vyd0fki3qm"))))
|
2016-04-08 11:36:05 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2019-07-10 17:43:48 -04:00
|
|
|
`(#:tests? #f ; no check target
|
2016-04-08 11:36:05 -04:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'adjust-gtk-resource-paths
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("driver/Makefile.in" "po/Makefile.in.in")
|
|
|
|
(("@GTK_DATADIR@") "@datadir@")
|
2018-06-27 21:16:30 -04:00
|
|
|
(("@PO_DATADIR@") "@datadir@"))
|
|
|
|
#t)))
|
2016-04-08 11:36:05 -04:00
|
|
|
#:configure-flags '("--with-pam" "--with-proc-interrupts"
|
|
|
|
"--without-readdisplay")
|
2019-07-10 17:48:41 -04:00
|
|
|
#:make-flags (list (string-append "AD_DIR="
|
2016-04-08 11:36:05 -04:00
|
|
|
(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/"
|
2017-02-04 04:45:41 -05:00
|
|
|
"/main/x/xscreensaver/xscreensaver_5.36-1_copyright")))))
|
2016-05-25 20:56:19 -04:00
|
|
|
|
2017-05-30 08:46:41 -04:00
|
|
|
(define-public xsel
|
|
|
|
(package
|
|
|
|
(name "xsel")
|
|
|
|
(version "1.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://www.vergenet.net/~conrad/software"
|
|
|
|
"/xsel/download/xsel-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libxt" ,libxt)))
|
|
|
|
(home-page "http://www.vergenet.net/~conrad/software/xsel/")
|
|
|
|
(synopsis "Manipulate X selection")
|
|
|
|
(description
|
|
|
|
"XSel is a command-line program for getting and setting the contents of
|
|
|
|
the X selection. Normally this is only accessible by manually highlighting
|
|
|
|
information and pasting it with the middle mouse button.
|
|
|
|
|
|
|
|
XSel reads from standard input and writes to standard output by default,
|
|
|
|
but can also follow a growing file, display contents, delete entries and more.")
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))))
|
|
|
|
|
2016-07-22 04:09:26 -04:00
|
|
|
(define-public xdpyprobe
|
|
|
|
(package
|
|
|
|
(name "xdpyprobe")
|
|
|
|
(version "0.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/alezost/" name
|
|
|
|
"/releases/download/v" version
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1h09wd2qcg08rj5hcakvdh9q01hkrj8vxly94ax3ch2x06lm0zq8"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)))
|
|
|
|
(home-page "https://github.com/alezost/xdpyprobe")
|
|
|
|
(synopsis "Probe X server for connectivity")
|
|
|
|
(description
|
|
|
|
"Xdpyprobe is a tiny C program whose only purpose is to probe a
|
|
|
|
connectivity of the X server running on a particular @code{DISPLAY}.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2016-05-25 20:56:19 -04:00
|
|
|
(define-public rofi
|
|
|
|
(package
|
|
|
|
(name "rofi")
|
2019-09-25 10:26:20 -04:00
|
|
|
(version "1.5.4")
|
2016-05-25 20:56:19 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/DaveDavenport/rofi/"
|
|
|
|
"releases/download/"
|
|
|
|
version "/rofi-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-09-25 10:26:20 -04:00
|
|
|
"1nslmyqyzhfr4hxd4llqkkkb8ap8apkdna32rllvar7r576059ci"))))
|
2016-05-25 20:56:19 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2016-08-31 10:45:06 -04:00
|
|
|
`(("pango" ,pango)
|
2016-05-25 20:56:19 -04:00
|
|
|
("cairo" ,cairo)
|
|
|
|
("glib" ,glib)
|
|
|
|
("startup-notification" ,startup-notification)
|
2017-10-08 08:18:26 -04:00
|
|
|
("librsvg" ,librsvg)
|
2016-05-25 20:56:19 -04:00
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
("xcb-util" ,xcb-util)
|
2016-08-31 10:45:06 -04:00
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)
|
2016-05-25 20:56:19 -04:00
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
(native-inputs
|
2017-10-08 08:18:26 -04:00
|
|
|
`(("bison" ,bison)
|
2017-11-19 09:17:21 -05:00
|
|
|
("check" ,check)
|
2017-10-08 08:18:26 -04:00
|
|
|
("flex" ,flex)
|
2018-03-11 13:50:30 -04:00
|
|
|
("glib:bin" ,glib "bin")
|
2017-10-08 08:18:26 -04:00
|
|
|
("pkg-config" ,pkg-config)))
|
2016-05-25 20:56:19 -04:00
|
|
|
(arguments
|
2019-06-25 11:21:15 -04:00
|
|
|
`(#:parallel-tests? #f ; fails in some circumstances
|
2017-03-04 11:23:14 -05:00
|
|
|
#:phases
|
2016-05-25 20:56:19 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'adjust-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("test/helper-expand.c")
|
|
|
|
(("~root") "/root")
|
|
|
|
(("~") "")
|
2018-03-11 13:50:30 -04:00
|
|
|
(("g_get_home_dir \\(\\)") "\"/\""))
|
2018-03-20 14:23:34 -04:00
|
|
|
#t)))))
|
2018-03-11 22:13:52 -04:00
|
|
|
(home-page "https://github.com/DaveDavenport/rofi")
|
2017-06-21 19:24:16 -04:00
|
|
|
(synopsis "Application launcher")
|
|
|
|
(description "Rofi is a minimalist application launcher. It memorizes which
|
|
|
|
applications you regularly use and also allows you to search for an application
|
2016-05-25 20:56:19 -04:00
|
|
|
by name.")
|
|
|
|
(license license:expat)))
|
2016-07-29 12:19:49 -04:00
|
|
|
|
|
|
|
(define-public tint2
|
|
|
|
(package
|
|
|
|
(name "tint2")
|
2017-07-21 23:40:22 -04:00
|
|
|
(version "0.14.6")
|
2016-07-29 12:19:49 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://gitlab.com/o9000/" name
|
|
|
|
"/repository/archive.tar.gz?ref=" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-07-21 23:40:22 -04:00
|
|
|
"1kwzwxy4myagybm3rc7dgynfgp75742n348qibn1p2an9ggyivda"))))
|
2016-07-29 12:19:49 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ;no test target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-installation-prefix
|
|
|
|
(lambda _
|
|
|
|
(substitute* "CMakeLists.txt"
|
2018-06-27 21:16:30 -04:00
|
|
|
(("/etc") "${CMAKE_INSTALL_PREFIX}/etc"))
|
|
|
|
#t)))))
|
2016-07-29 12:19:49 -04:00
|
|
|
(inputs
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("startup-notification" ,startup-notification)))
|
|
|
|
(native-inputs
|
2016-09-25 03:33:02 -04:00
|
|
|
`(("gettext" ,gettext-minimal)
|
2016-07-29 12:19:49 -04:00
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://gitlab.com/o9000/tint2")
|
|
|
|
(synopsis "Lightweight task bar")
|
|
|
|
(description
|
|
|
|
"Tint2 is a simple task bar made for modern X window managers. It was
|
|
|
|
specifically made for Openbox but it should also work with other window
|
|
|
|
managers (GNOME, KDE, XFCE etc.).
|
|
|
|
|
|
|
|
The taskbar includes transparency and color settings for the font, icons,
|
|
|
|
border, and background. It also supports multihead setups, customized mouse
|
|
|
|
actions, a built-in clock, a battery monitor and a system tray.")
|
|
|
|
(license license:gpl2)))
|
2016-08-31 10:37:18 -04:00
|
|
|
|
2017-03-02 18:22:47 -05:00
|
|
|
(define-public dzen
|
|
|
|
(let ((commit "488ab66019f475e35e067646621827c18a879ba1")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "dzen")
|
|
|
|
(version (string-append "0.9.5-" ; Taken from `config.mk`.
|
|
|
|
revision "." (string-take commit 7)))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/robm/dzen.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0y47d6ii87vf4a517gi4fh0yl06f8b085sra77immnsasbq9pxnw"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; No test suite.
|
|
|
|
#:make-flags ; Replacement for `config.mk`.
|
|
|
|
(list
|
|
|
|
(string-append "VERSION = " ,version)
|
|
|
|
(string-append "PREFIX = " %output)
|
|
|
|
"MANPREFIX = ${PREFIX}/share/man"
|
|
|
|
"INCS = -I."
|
|
|
|
"LIBS = -lc -lX11 -lXinerama -lXpm $(shell pkg-config --libs xft)"
|
|
|
|
"CFLAGS = -Wall -Os ${INCS} -DVERSION=\\\"${VERSION}\\\"\
|
|
|
|
-DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT $(shell pkg-config --cflags xft)"
|
|
|
|
"LDFLAGS = ${LIBS}"
|
|
|
|
"CC = gcc"
|
|
|
|
"LD = ${CC}")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure) ; No configuration script.
|
|
|
|
;; Use own make-flags instead of `config.mk`.
|
|
|
|
(add-before 'build 'dont-include-config-mk
|
|
|
|
(lambda _
|
|
|
|
(substitute* "Makefile" (("include config.mk") ""))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
("libxinerama" ,libxinerama)))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(synopsis "General purpose messaging, notification and menuing program for X11")
|
|
|
|
(description "Dzen is a general purpose messaging, notification and menuing
|
|
|
|
program for X11. It was designed to be fast, tiny and scriptable in any language.")
|
|
|
|
(home-page "https://github.com/robm/dzen")
|
|
|
|
(license license:expat))))
|
|
|
|
|
2019-09-29 10:06:49 -04:00
|
|
|
(define-public xftwidth
|
|
|
|
(package
|
|
|
|
(name "xftwidth")
|
|
|
|
(version "20170402")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "http://github.com/vixus0/xftwidth")
|
|
|
|
(commit "35ff963908d41a8a6a7101c434c88255728025ee")))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jwl25785li24kbp0m1wxfwk4dgxkliynn03nsj813cjr34kq16h"))
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("freetype" ,freetype)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
("libxft" ,libxft)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-makefile ; /usr/bin doesn't show up in PATH
|
|
|
|
(lambda _ (substitute* "Makefile" (("usr/") "")) #t))
|
|
|
|
(delete 'check) ; no check included in Makefile
|
|
|
|
(delete 'configure))
|
|
|
|
#:make-flags
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
(list (string-append "DESTDIR=" out)))))
|
|
|
|
(synopsis "Calculator for determining pixel widths of displayed text using Xft fonts")
|
|
|
|
(description "xftwidth is a small C program for calculating the pixel
|
|
|
|
widths of displayed text using Xft fonts. It is especially useful in scripts
|
|
|
|
for displaying text in graphical panels, menus, popups, and notification
|
|
|
|
windows generated using dzen. These scripts are often used in conjunction with
|
|
|
|
minimalistic tiling window managers such as herbstluftwm and bspwm.")
|
|
|
|
(home-page "http://github.com/vixus0/xftwidth")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2016-08-31 10:37:18 -04:00
|
|
|
(define-public xcb-util-xrm
|
|
|
|
(package
|
|
|
|
(name "xcb-util-xrm")
|
2018-03-29 15:13:00 -04:00
|
|
|
(version "1.3")
|
2016-08-31 10:37:18 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/Airblader/xcb-util-xrm/releases"
|
|
|
|
"/download/v" version "/xcb-util-xrm-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-29 15:13:00 -04:00
|
|
|
"118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h"))
|
2016-08-31 10:37:18 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Drop bundled m4.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "m4")
|
|
|
|
#t))))
|
2016-08-31 10:37:18 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("m4" ,m4)
|
|
|
|
("libx11" ,libx11))) ; for tests
|
|
|
|
(inputs
|
|
|
|
`(("libxcb" ,libxcb)
|
|
|
|
("xcb-util" ,xcb-util)))
|
|
|
|
(home-page "https://github.com/Airblader/xcb-util-xrm")
|
|
|
|
(synopsis "XCB utility functions for the X resource manager")
|
|
|
|
(description
|
|
|
|
"The XCB util module provides a number of libraries which sit on
|
|
|
|
top of libxcb, the core X protocol library, and some of the extension
|
|
|
|
libraries. These experimental libraries provide convenience functions
|
|
|
|
and interfaces which make the raw X protocol more usable. Some of the
|
|
|
|
libraries also provide client-side code which is not strictly part of
|
|
|
|
the X protocol but which has traditionally been provided by Xlib.
|
|
|
|
|
|
|
|
XCB util-xrm module provides the following libraries:
|
|
|
|
|
|
|
|
- xrm: utility functions for the X resource manager.")
|
|
|
|
(license license:x11)))
|
2016-11-15 19:14:36 -05:00
|
|
|
|
|
|
|
(define-public xcalib
|
|
|
|
(package
|
|
|
|
(name "xcalib")
|
2018-06-06 15:25:45 -04:00
|
|
|
(version "0.10")
|
|
|
|
(home-page "https://github.com/OpenICC/xcalib")
|
2016-11-15 19:14:36 -05:00
|
|
|
(source (origin
|
2018-06-06 15:25:45 -04:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url home-page)
|
|
|
|
(commit version)))
|
gnu: Add 'file-name' where appropriate.
* gnu/packages/admin.scm (detox, neofetch),
gnu/packages/algebra.scm (python-fpylll),
gnu/packages/bioinformatics.scm (tbsp, genrich),
gnu/packages/crypto.scm (hpenc),
gnu/packages/digest.scm (xxhash),
gnu/packages/emacs-xyz.scm (emacs-tiny, emacs-ergoemacs-mode,
emacs-make-it-so, emacs-poet-theme, emacs-deft, emacs-scribble-mode,
emacs-helm-mu, emacs-unidecode, emacs-diff-hl, emacs-helm-exwm,
emacs-gif-screencast, emacs-exec-path-from-shell),
gnu/packages/engineering.scm (gpx),
gnu/packages/freedesktop.scm (waylandpp),
gnu/packages/golang.scm (go-github-com-sirupsen-logrus,
go-github-com-shirou-gopsutil),
gnu/packages/guile-xyz.scm (guile-studio, guile-picture-language,
jupyter-guile-kernel),
gnu/packages/image-viewers.scm (qview),
gnu/packages/java-maths.scm (java-jblas),
gnu/packages/llvm.scm (libclc),
gnu/packages/logging.scm (spdlog),
gnu/packages/ocaml.scm (ocaml-cstruct, ocaml-zarith),
gnu/packages/terminals.scm (libtsm),
gnu/packages/tigervnc.scm (tigervnc-client),
gnu/packages/xdisorg.scm (xcalib, xbanish) [source]: Add file-name.
2019-11-10 05:03:51 -05:00
|
|
|
(file-name (git-file-name name version))
|
2016-11-15 19:14:36 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-06-06 15:25:45 -04:00
|
|
|
"05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr"))
|
|
|
|
(patches
|
|
|
|
(list
|
|
|
|
;; Add missing documentation for the new --output option.
|
|
|
|
;; This upstream patch can be removed on the next update.
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
home-page "/commit/"
|
|
|
|
"ae03889b91fe984b18e925ad2b5e6f2f7354e058.patch"))
|
|
|
|
(file-name "xcalib-update-man-page.patch")
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0f7b4d5484x4b9n1bwhqmar0kcaa029ffff7bp3xpr734n1qgqb6")))))))
|
|
|
|
(build-system cmake-build-system)
|
2016-11-15 19:14:36 -05:00
|
|
|
(arguments
|
2018-06-06 15:25:45 -04:00
|
|
|
'(#:tests? #f)) ; no test suite
|
2018-03-16 11:50:14 -04:00
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
2018-06-06 15:25:45 -04:00
|
|
|
("libxrandr" ,libxrandr)
|
2018-03-16 11:50:14 -04:00
|
|
|
("libxxf86vm" ,libxxf86vm)))
|
2016-11-15 19:14:36 -05:00
|
|
|
(synopsis "Tiny monitor calibration loader for XFree86 (or X.org)")
|
|
|
|
(description "xcalib is a tiny tool to load the content of vcgt-Tags in ICC
|
|
|
|
profiles to the video card's gamma ramp. It does work with most video card
|
|
|
|
drivers except the generic VESA driver. Alter brightness, contrast, RGB, and
|
|
|
|
invert colors on a specific display/screen.")
|
|
|
|
(license license:gpl2)))
|
2017-11-09 14:36:31 -05:00
|
|
|
|
|
|
|
(define-public nxbelld
|
|
|
|
(package
|
|
|
|
(name "nxbelld")
|
|
|
|
(version "0.1.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/dusxmt/nxbelld.git")
|
|
|
|
(commit version)))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04qwhmjs51irinz5mjlxdb3dc6vr79dqmc5fkj80x1ll3ylh5n3z"))
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments '(#:configure-flags `("--enable-sound"
|
|
|
|
"--enable-wave"
|
2018-11-10 17:41:30 -05:00
|
|
|
"--enable-alsa")))
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("perl" ,perl)))
|
2017-11-09 14:36:31 -05:00
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
("alsa-lib" ,alsa-lib)))
|
|
|
|
(synopsis "Daemon that performs an action every time the X11 bell is rung")
|
|
|
|
(description "nxbelld is a tiny utility to aid people who either don't
|
|
|
|
like the default PC speaker beep, or use a sound driver that doesn't have
|
|
|
|
support for the PC speaker. The utility performs a given action every time
|
|
|
|
the X bell is rung. The actions nxbelld can currently perform include running
|
|
|
|
a specified program, emulating the PC speaker beep using the sound card (default),
|
|
|
|
or playing a PCM encoded WAVE file.")
|
|
|
|
(home-page "https://github.com/dusxmt/nxbelld")
|
|
|
|
(license license:gpl3+)))
|
2017-11-27 21:45:11 -05:00
|
|
|
|
|
|
|
(define-public xautolock
|
|
|
|
(package
|
|
|
|
(name "xautolock")
|
|
|
|
(version "2.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2020-01-18 22:00:31 -05:00
|
|
|
(uri (string-append "https://www.ibiblio.org/pub/linux/X11/"
|
|
|
|
"screensavers/xautolock-" version ".tgz"))
|
2017-11-27 21:45:11 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"18jd3k3pvlm5x1adyqw63z2b3f4ixh9mfvz9asvnskk3fm8jgw0i"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("imake" ,imake)))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxscrnsaver" ,libxscrnsaver)))
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((imake (assoc-ref inputs "imake"))
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
;; Generate Makefile
|
|
|
|
(invoke "xmkmf")
|
|
|
|
(substitute* "Makefile"
|
|
|
|
;; These imake variables somehow remain undefined
|
|
|
|
(("DefaultGcc2[[:graph:]]*Opt") "-O2")
|
|
|
|
;; Reset a few variable defaults that are set in imake templates
|
|
|
|
((imake) out)
|
|
|
|
(("(MANPATH = )[[:graph:]]*" _ front)
|
|
|
|
(string-append front out "/share/man")))
|
|
|
|
;; Old BSD-style 'union wait' is unneeded (defining
|
|
|
|
;; _USE_BSD did not seem to fix it)
|
|
|
|
(substitute* "src/engine.c"
|
|
|
|
(("union wait status") "int status = 0"))
|
|
|
|
#t)))
|
|
|
|
(add-after 'install 'install/man
|
|
|
|
(lambda _
|
2018-09-19 22:04:01 -04:00
|
|
|
(invoke "make" "install.man"))))))
|
2020-01-18 22:00:31 -05:00
|
|
|
(home-page "https://ibiblio.org/pub/Linux/X11/screensavers/")
|
2017-11-27 21:45:11 -05:00
|
|
|
(synopsis "Program launcher for idle X sessions")
|
|
|
|
(description "Xautolock monitors input devices under the X Window
|
|
|
|
System, and launches a program of your choice if there is no activity after
|
|
|
|
a user-configurable period of time.")
|
|
|
|
(license license:gpl2)))
|
2018-03-29 05:38:11 -04:00
|
|
|
|
|
|
|
(define-public screen-message
|
|
|
|
(package
|
|
|
|
(name "screen-message")
|
|
|
|
(version "0.25")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://www.joachim-breitner.de/archive/screen-message"
|
|
|
|
"/screen-message-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1lw955qq5pq010lzmaf32ylj2iprgsri9ih4hx672c3f794ilab0"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("gtk3" ,gtk+)
|
|
|
|
("gdk" ,gdk-pixbuf)
|
|
|
|
("pango" ,pango)))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(arguments
|
|
|
|
;; The default configure puts the 'sm' binary in games/ instead of bin/ -
|
|
|
|
;; this fixes it:
|
|
|
|
`(#:make-flags (list (string-append "execgamesdir=" %output "/bin"))))
|
|
|
|
(synopsis "Print messages on your screen")
|
|
|
|
(description "@code{screen-message} is a tool for displaying text on
|
|
|
|
your screen. It will make the text as large as possible and display it
|
|
|
|
with black color on a white background (colors are configurable on the
|
|
|
|
commandline).")
|
|
|
|
(home-page "https://www.joachim-breitner.de/projects#screen-message")
|
|
|
|
(license license:gpl2+)))
|
2018-05-18 09:15:28 -04:00
|
|
|
|
|
|
|
(define-public xss-lock
|
|
|
|
;; xss-lock does not seem to be maintained any longer, but the last commits
|
|
|
|
;; fix important issues so we package them.
|
|
|
|
(let ((version "0.3.0")
|
|
|
|
(revision "1")
|
|
|
|
(commit "1e158fb20108058dbd62bd51d8e8c003c0a48717"))
|
|
|
|
(package
|
|
|
|
(name "xss-lock")
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://bitbucket.org/raymonad/xss-lock.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs `(("glib" ,glib)
|
|
|
|
("xcb-util" ,xcb-util)))
|
|
|
|
(native-inputs
|
|
|
|
`(("python-docutils" ,python-docutils)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f))
|
|
|
|
(synopsis "Use external screen locker on events")
|
|
|
|
(description "@code{xss-lock} listens to X signals to fire up a
|
|
|
|
user-defined screensaver. In effect this allows to automatically lock the
|
|
|
|
screen when closing a laptop lid or after a period of user inactivity (as set
|
|
|
|
with @code{xset s TIMEOUT}). The notifier command, if specified, is executed
|
|
|
|
first. Additionally, xss-lock uses the inhibition logic to lock the screen
|
|
|
|
before the system goes to sleep.")
|
|
|
|
(home-page "https://bitbucket.org/raymonad/xss-lock")
|
|
|
|
(license license:expat))))
|
2018-07-24 10:19:02 -04:00
|
|
|
|
|
|
|
(define-public python-pyperclip
|
|
|
|
(package
|
|
|
|
(name "python-pyperclip")
|
|
|
|
(version "1.6.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "pyperclip" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1p505c23ji06r28k1y67siihsbdzdf1brhlqpyv9ams4gk9863pp"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; Not clear how to make tests pass.
|
|
|
|
(inputs
|
|
|
|
`(("xclip" ,xclip)
|
|
|
|
("xsel" ,xsel)))
|
|
|
|
(home-page "https://github.com/asweigart/pyperclip")
|
|
|
|
(synopsis "Python clipboard module")
|
|
|
|
(description
|
|
|
|
"Pyperclip is a clipboard module for Python, handling copy/pasting from
|
|
|
|
the X11 clipboard")
|
|
|
|
(license license:bsd-3)))
|
2018-10-10 11:32:53 -04:00
|
|
|
|
|
|
|
(define-public numlockx
|
|
|
|
(package
|
|
|
|
(name "numlockx")
|
|
|
|
(version "1.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
;; It seems that upstream is gone.
|
|
|
|
(url "https://github.com/rg3/numlockx")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("xorg-server" ,xorg-server)))
|
|
|
|
(home-page "https://github.com/rg3/numlockx")
|
|
|
|
(synopsis "Turns on the numlock key in X11")
|
|
|
|
(description "@command{numlockx} is a tiny program that lets you turn on
|
|
|
|
the numlock key in X11. It can be called from the user's initialization files
|
|
|
|
to automatically turn it on on login.")
|
|
|
|
(license license:expat)))
|
2018-10-27 10:33:26 -04:00
|
|
|
|
|
|
|
(define-public xrandr-invert-colors
|
|
|
|
(package
|
|
|
|
(name "xrandr-invert-colors")
|
|
|
|
(version "0.01")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/zoltanp/xrandr-invert-colors.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:make-flags (list "CC=gcc")
|
|
|
|
#:tests? #f ; there are none
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(install-file "xrandr-invert-colors.bin" bin)
|
|
|
|
#t))))))
|
|
|
|
(inputs
|
|
|
|
`(("libxrandr" ,libxrandr)))
|
|
|
|
(home-page "https://github.com/zoltanp/xrandr-invert-colors")
|
|
|
|
(synopsis "Invert display colors")
|
|
|
|
(description "This package provides a small utility for inverting the
|
|
|
|
colors on all monitors attached to an XRandR-capable X11 display server.")
|
|
|
|
(license license:gpl3+)))
|
2018-12-16 16:25:11 -05:00
|
|
|
|
|
|
|
(define-public sct
|
|
|
|
(package
|
|
|
|
(name "sct")
|
|
|
|
(version "0.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://www.umaxx.net/dl/sct-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0r57z9ki8pvxhawfxys0v5h85z2x211sqxki0xvk1bga88ryldlv"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:make-flags (list "CC=gcc")
|
|
|
|
#:tests? #f ; No tests exist.
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(add-after 'unpack 'fix-sctd-paths
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
(inetutils (assoc-ref inputs "inetutils"))
|
|
|
|
(sed (assoc-ref inputs "sed")))
|
|
|
|
(substitute* "sctd.sh"
|
|
|
|
(("\\$\\(which sct\\)") (string-append out "/bin/sct"))
|
|
|
|
(("date") (string-append coreutils "/bin/date"))
|
|
|
|
(("printf") (string-append coreutils "/bin/printf"))
|
|
|
|
(("sleep") (string-append coreutils "/bin/sleep"))
|
|
|
|
(("logger") (string-append inetutils "/bin/logger"))
|
|
|
|
(("sed") (string-append sed "/bin/sed"))))))
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(install-file "sct" (string-append out "/bin"))
|
|
|
|
(install-file "sctd.sh" (string-append out "/bin"))
|
|
|
|
(install-file "sct.1" (string-append out "/man/man1"))
|
|
|
|
(install-file "sctd.1" (string-append out "/man/man1"))
|
|
|
|
(rename-file (string-append out "/bin/sctd.sh")
|
|
|
|
(string-append out "/bin/sctd"))
|
|
|
|
#t))))))
|
|
|
|
(inputs
|
|
|
|
`(("coreutils" ,coreutils) ; sctd uses "date", "printf" and "sleep"
|
|
|
|
("inetutils" ,inetutils) ; sctd uses "logger"
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("sed" ,sed))) ; sctd uses "sed"
|
|
|
|
(home-page "https://www.umaxx.net")
|
|
|
|
(synopsis "Set the color temperature of the screen")
|
|
|
|
(description "@code{sct} is a lightweight utility to set the color
|
|
|
|
temperature of the screen.")
|
2019-01-06 23:56:22 -05:00
|
|
|
(license (license:non-copyleft "file://sct.c")))) ; "OpenBSD" license
|
2019-01-03 08:55:47 -05:00
|
|
|
|
2019-12-31 17:07:45 -05:00
|
|
|
(define-public xsecurelock
|
|
|
|
(package
|
|
|
|
(name "xsecurelock")
|
|
|
|
(version "1.6.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/google/xsecurelock/releases"
|
|
|
|
"/download/v" version "/xsecurelock-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "070gknyv0s5hz9hkc6v73m2v7ssyjwgl93b5hd4glayfqxqjbmdp"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags
|
|
|
|
'("--with-pam-service-name=login"
|
|
|
|
"--with-xkb"
|
|
|
|
"--with-default-authproto-module=/run/setuid-programs/authproto_pam")))
|
|
|
|
(native-inputs
|
|
|
|
`(("pandoc" ,ghc-pandoc)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
("libX11" ,libx11)
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("libxscrnsaver" ,libxscrnsaver)
|
|
|
|
("linux-pam" ,linux-pam)))
|
|
|
|
(home-page "https://github.com/google/xsecurelock")
|
|
|
|
(synopsis "X11 screen lock utility with the primary goal of security")
|
|
|
|
(description "@code{xsecurelock} is an X11 screen locker which uses
|
2020-01-23 04:49:35 -05:00
|
|
|
a modular design to avoid the usual pitfalls of screen locking utility design.
|
2019-12-31 17:07:45 -05:00
|
|
|
|
|
|
|
As a consequence of the modular design, the usual screen locker service
|
|
|
|
shouldn't be used with @code{xsecurelock}. Instead, you need to add a helper
|
|
|
|
binary to setuid-binaries:
|
|
|
|
@example
|
|
|
|
(setuid-programs (cons*
|
|
|
|
(file-append xsecurelock \"/libexec/xsecurelock/authproto_pam\")
|
|
|
|
%setuid-programs))
|
|
|
|
@end example")
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
2019-01-03 08:55:47 -05:00
|
|
|
(define-public wl-clipboard
|
|
|
|
(package
|
|
|
|
(name "wl-clipboard")
|
2019-09-23 03:21:02 -04:00
|
|
|
(version "2.0.0_beta2")
|
2019-01-03 08:55:47 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/bugaevc/wl-clipboard.git")
|
2019-09-23 03:21:02 -04:00
|
|
|
(commit version)))
|
2019-01-03 08:55:47 -05:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2019-09-23 03:21:02 -04:00
|
|
|
(base32 "0wyqbaph9v1v6lwfcjf8gjhdl70icpss4wapshzfxcz3l9m1p8hv"))))
|
2019-01-03 08:55:47 -05:00
|
|
|
(build-system meson-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("wayland" ,wayland)
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
(home-page "https://github.com/bugaevc/wl-clipboard")
|
|
|
|
(synopsis "Command-line copy/paste utilities for Wayland")
|
|
|
|
(description "Wl-clipboard is a set of command-line copy/paste utilities for
|
|
|
|
Wayland.")
|
|
|
|
(license license:gpl3+)))
|
2019-09-16 12:15:49 -04:00
|
|
|
|
|
|
|
(define-public autocutsel
|
|
|
|
(package
|
|
|
|
(name "autocutsel")
|
|
|
|
(version "0.10.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/sigmike/autocutsel"
|
|
|
|
"/releases/download/" version "/"
|
|
|
|
"autocutsel-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ; no "check" target
|
|
|
|
(native-inputs `(("libx11" ,libx11)
|
|
|
|
("libxaw" ,libxaw)))
|
|
|
|
(home-page "https://www.nongnu.org/autocutsel/")
|
|
|
|
(synopsis "Automated X11 clipboard and cutbuffer synchronization")
|
|
|
|
(description "@code{autocutsel} tracks changes in the server's cutbuffer
|
|
|
|
and clipboard selection. When the clipboard is changed, it updates the
|
|
|
|
cutbuffer. When the cutbuffer is changed, it owns the clipboard selection.
|
|
|
|
The cutbuffer and clipboard selection are always synchronized.")
|
|
|
|
(license license:gpl2+)))
|
2020-01-04 11:16:41 -05:00
|
|
|
|
|
|
|
(define-public jgmenu
|
|
|
|
(package
|
|
|
|
(name "jgmenu")
|
2020-01-23 05:19:21 -05:00
|
|
|
(version "4.0.1")
|
2020-01-04 11:16:41 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/johanmalm/jgmenu.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-01-23 05:19:21 -05:00
|
|
|
"1q0rpg2d96sn3rrdi8m7bngnxxqyxilpjxi7skiw4gvpiv1akxjp"))))
|
2020-01-04 11:16:41 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
2020-01-23 05:19:21 -05:00
|
|
|
`(("cppcheck" ,cppcheck)
|
|
|
|
("perl" ,perl)
|
2020-01-04 11:16:41 -05:00
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("cairo" ,cairo)
|
2020-01-23 05:19:21 -05:00
|
|
|
("glib" ,glib)
|
2020-01-04 11:16:41 -05:00
|
|
|
("librsvg" ,librsvg)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("libxrandr" ,libxrandr)
|
2020-01-23 05:19:21 -05:00
|
|
|
("pango" ,pango)))
|
2020-01-04 11:16:41 -05:00
|
|
|
(arguments
|
2020-01-23 05:19:21 -05:00
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* "scripts/cppcheck-wrapper.sh"
|
|
|
|
(("--library=/usr/share/cppcheck/cfg/gnu\\.cfg")
|
|
|
|
""))
|
|
|
|
#t))
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
(invoke "./configure"
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out")))
|
|
|
|
#t)))))
|
2020-01-04 11:16:41 -05:00
|
|
|
(synopsis "Simple X11 menu")
|
|
|
|
(description
|
|
|
|
"This is a simple menu for X11 designed for scripting and tweaking. It
|
|
|
|
can optionally use some appearance settings from XSettings, tint2 and GTK.")
|
|
|
|
(home-page "https://jgmenu.github.io/")
|
|
|
|
(license license:gpl2)))
|
2020-01-26 08:55:47 -05:00
|
|
|
|
2020-02-02 08:13:27 -05:00
|
|
|
(define-public xwrits
|
|
|
|
(package
|
|
|
|
(name "xwrits")
|
|
|
|
(version "2.26")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.lcdf.org/~eddietwo/xwrits/"
|
|
|
|
"xwrits-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1n7y0fqpcvmzznvbsn14hzy5ddaa3lilm8aw6ckscqndnh4lijma"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'install-docs
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (string-append out "/share/doc/xwrits")))
|
|
|
|
(install-file "GESTURES" doc)
|
|
|
|
(install-file "README" doc)
|
|
|
|
#t))))))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libxinerama" ,libxinerama)))
|
|
|
|
(home-page "https://www.lcdf.org/~eddietwo/xwrits/")
|
|
|
|
(synopsis "Reminds you to take wrist breaks")
|
|
|
|
(description "Xwrits reminds you to take wrist breaks for prevention or
|
|
|
|
management of repetitive stress injuries. When you should take a break, it
|
|
|
|
pops up an X window, the warning window. You click on the warning window,
|
|
|
|
then take a break. The window changes appearance while you take the break.
|
|
|
|
It changes again when your break is over. Then you just resume typing.
|
|
|
|
Xwrits hides itself until you should take another break.")
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
2020-01-26 08:55:47 -05:00
|
|
|
(define-public xsettingsd
|
|
|
|
(package
|
|
|
|
(name "xsettingsd")
|
|
|
|
(version "1.0.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/derat/xsettingsd.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v"))))
|
|
|
|
(build-system scons-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("googletest" ,googletest)
|
|
|
|
("googletest-source" ,(package-source googletest))))
|
|
|
|
(arguments
|
|
|
|
`(#:scons ,scons-python2
|
|
|
|
#:scons-flags
|
|
|
|
(list "CC=gcc")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'patch-sconstruct
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
;; scons doesn't pick up environment variables automatically
|
|
|
|
;; so it needs help to find path variables
|
|
|
|
(("env = Environment\\(")
|
|
|
|
"env = Environment(
|
|
|
|
ENV = {
|
|
|
|
'PATH': os.environ['PATH'],
|
|
|
|
'CPATH': os.environ['CPATH'],
|
|
|
|
'LIBRARY_PATH': os.environ['LIBRARY_PATH'],
|
|
|
|
'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH']
|
|
|
|
},")
|
|
|
|
;; Update path to gtest source files used in tests
|
|
|
|
(("/usr/src/gtest") (string-append
|
|
|
|
(assoc-ref inputs "googletest-source")
|
|
|
|
"/googletest"))
|
|
|
|
;; Exclude one warning that causes a build error
|
|
|
|
(("-Werror") "-Werror -Wno-error=sign-compare"))
|
|
|
|
#t))
|
|
|
|
;; The SConstruct script doesn't configure installation so
|
|
|
|
;; binaries must be copied to the output path directly
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(mkdir-p bin)
|
|
|
|
(install-file "xsettingsd" bin)
|
|
|
|
(install-file "dump_xsettings" bin)
|
|
|
|
#t))))))
|
|
|
|
(home-page "https://github.com/derat/xsettingsd")
|
|
|
|
(synopsis "Xorg settings daemon")
|
|
|
|
(description "@command{xsettingsd} is a lightweight daemon that provides settings to
|
|
|
|
Xorg applications via the XSETTINGS specification. It is used for defining
|
|
|
|
font and theme settings when a complete desktop environment (GNOME, KDE) is
|
|
|
|
not running. With a simple @file{.xsettingsd} configuration file one can avoid
|
|
|
|
configuring visual settings in different UI toolkits separately.")
|
|
|
|
(license license:bsd-3)))
|
2020-03-04 10:31:51 -05:00
|
|
|
|
|
|
|
(define-public clipnotify
|
|
|
|
(package
|
|
|
|
(name "clipnotify")
|
|
|
|
(version "1.0.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/cdown/clipnotify.git")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1v3ydm5ljy8z1savmdxrjyx7a5bm5013rzw80frp3qbbjaci0wbg"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(doc (string-append %output "/share/doc/" ,name "-" ,version)))
|
|
|
|
(install-file "clipnotify" bin)
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
#t))))
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
#:tests? #f))
|
|
|
|
(inputs
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
("libXfixes" ,libxfixes)))
|
|
|
|
(home-page "https://github.com/cdown/clipnotify")
|
|
|
|
(synopsis "Notify on new X clipboard events")
|
|
|
|
(description "@command{clipnotify} is a simple program that, using the
|
|
|
|
XFIXES extension to X11, waits until a new selection is available and then
|
|
|
|
exits.
|
|
|
|
|
|
|
|
It was primarily designed for clipmenu, to avoid polling for new selections.
|
|
|
|
|
|
|
|
@command{clipnotify} doesn't try to print anything about the contents of the
|
|
|
|
selection, it just exits when it changes. This is intentional -- X11's
|
|
|
|
selection API is verging on the insane, and there are plenty of others who
|
|
|
|
have already lost their sanity to bring us xclip/xsel/etc. Use one of those
|
|
|
|
tools to complement clipnotify.")
|
|
|
|
(license license:public-domain)))
|
2020-03-05 02:26:23 -05:00
|
|
|
|
|
|
|
(define-public clipmenu
|
|
|
|
(let ((commit "a495bcc7a4ab125182a661c5808364f66938a87c")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "clipmenu")
|
|
|
|
(version (string-append "5.6.0-"
|
|
|
|
revision "." (string-take commit 7)))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/cdown/clipnotify.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"12vvircdhl4psqi51cnfd6bqy85v2vwfcmdq1mimjgng727nwzys"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-hardcoded-paths
|
|
|
|
(lambda _
|
|
|
|
(substitute* "clipmenud"
|
|
|
|
(("has_clipnotify=0")
|
|
|
|
"has_clipnotify=1")
|
|
|
|
(("command -v clipnotify >/dev/null 2>&1 && has_clipnotify=1")
|
|
|
|
"")
|
|
|
|
(("clipnotify \\|\\| .*")
|
|
|
|
(string-append (which "clipnotify") "\n"))
|
|
|
|
(("xsel --logfile")
|
|
|
|
(string-append (which "xsel") " --logfile")))
|
|
|
|
(substitute* "clipmenu"
|
|
|
|
(("xsel --logfile")
|
|
|
|
(string-append (which "xsel") " --logfile")))
|
|
|
|
#t))
|
|
|
|
(delete 'configure)
|
|
|
|
(delete 'build)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(doc (string-append %output "/share/doc/"
|
|
|
|
,name "-" ,version)))
|
|
|
|
(install-file "clipdel" bin)
|
|
|
|
(install-file "clipmenu" bin)
|
|
|
|
(install-file "clipmenud" bin)
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
#t))))
|
|
|
|
#:tests? #f))
|
|
|
|
(inputs
|
|
|
|
`(("clipnotify" ,clipnotify)
|
|
|
|
("xsel" ,xsel)))
|
|
|
|
(home-page "https://github.com/cdown/clipmenu")
|
|
|
|
(synopsis "Simple clipboard manager using dmenu or rofi and xsel")
|
|
|
|
(description "Start @command{clipmenud}, then run @command{clipmenu} to
|
|
|
|
select something to put on the clipboard.
|
|
|
|
|
|
|
|
When @command{clipmenud} detects changes to the clipboard contents, it writes
|
|
|
|
them out to the cache directory. @command{clipmenu} reads the cache directory
|
|
|
|
to find all available clips and launches @command{dmenu} (or @command{rofi},
|
|
|
|
depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
|
|
|
|
After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
|
|
|
|
(license license:public-domain))))
|