2015-07-08 14:03:49 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-03-17 15:56:45 -04:00
|
|
|
;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
|
2018-05-15 09:58:34 -04:00
|
|
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-12-24 08:25:18 -05:00
|
|
|
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
|
2020-02-10 03:51:48 -05:00
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2015-07-08 14:03:49 -04: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 dunst)
|
|
|
|
#:use-module (guix packages)
|
2019-12-24 08:25:18 -05:00
|
|
|
#:use-module (guix git-download)
|
2015-07-08 14:03:49 -04:00
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
#:use-module (gnu packages freedesktop)
|
|
|
|
#:use-module (gnu packages glib)
|
2020-02-10 03:51:48 -05:00
|
|
|
#:use-module (gnu packages gnome)
|
2015-07-08 14:03:49 -04:00
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages xorg))
|
|
|
|
|
|
|
|
(define-public dunst
|
|
|
|
(package
|
|
|
|
(name "dunst")
|
2020-09-05 11:34:28 -04:00
|
|
|
(version "1.5.0")
|
2015-07-08 14:03:49 -04:00
|
|
|
(source (origin
|
2019-12-24 08:25:18 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/dunst-project/dunst")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2015-07-08 14:03:49 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-09-05 11:34:28 -04:00
|
|
|
"0irwkqcgwkqaylcpvqgh25gn2ysbdm2kydipxfzcq1ddj9ns6f9c"))))
|
2015-07-08 14:03:49 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
#:make-flags (list "CC=gcc"
|
2018-03-17 15:56:45 -04:00
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
;; Otherwise it tries to install service file
|
|
|
|
;; to "dbus" store directory.
|
|
|
|
(string-append "SERVICEDIR_DBUS=" %output
|
2020-02-10 03:51:48 -05:00
|
|
|
"/share/dbus-1/services")
|
|
|
|
"dunstify")
|
2015-07-08 14:03:49 -04:00
|
|
|
#:phases (modify-phases %standard-phases
|
2020-02-10 03:51:48 -05:00
|
|
|
(delete 'configure)
|
|
|
|
(add-after 'install 'install-dunstify
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(install-file "dunstify"
|
|
|
|
(string-append out "/bin")))
|
|
|
|
#t)))))
|
2015-07-08 14:03:49 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("perl" ,perl) ; for pod2man
|
|
|
|
("which" ,which)))
|
|
|
|
(inputs
|
|
|
|
`(("dbus" ,dbus)
|
2018-07-05 06:58:37 -04:00
|
|
|
("gdk-pixbuf" ,gdk-pixbuf+svg) ; for svg support
|
2015-07-08 14:03:49 -04:00
|
|
|
("glib" ,glib)
|
|
|
|
("cairo" ,cairo)
|
|
|
|
("pango" ,pango)
|
2020-02-10 03:51:48 -05:00
|
|
|
("libnotify" ,libnotify) ; for dunstify
|
2015-07-08 14:03:49 -04:00
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxscrnsaver" ,libxscrnsaver)
|
|
|
|
("libxinerama" ,libxinerama)
|
2017-09-22 05:28:01 -04:00
|
|
|
("libxrandr" ,libxrandr)
|
2015-07-08 14:03:49 -04:00
|
|
|
("libxdg-basedir" ,libxdg-basedir)))
|
2017-09-22 05:28:01 -04:00
|
|
|
(home-page "https://dunst-project.org/")
|
2015-07-08 14:03:49 -04:00
|
|
|
(synopsis "Customizable and lightweight notification daemon")
|
|
|
|
(description
|
|
|
|
"Dunst is a highly configurable and minimalistic notification daemon.
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 09:39:43 -04:00
|
|
|
It provides @code{org.freedesktop.Notifications} D-Bus service, so it is
|
2015-07-08 14:03:49 -04:00
|
|
|
started automatically on the first call via D-Bus.")
|
|
|
|
(license license:bsd-3)))
|