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>
|
2021-03-06 16:00:49 -05:00
|
|
|
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
2021-11-09 11:38:54 -05:00
|
|
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
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)
|
2021-03-06 16:00:49 -05:00
|
|
|
#:use-module (guix utils)
|
2015-07-08 14:03:49 -04:00
|
|
|
#: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")
|
2021-12-11 08:51:07 -05:00
|
|
|
(version "1.7.3")
|
2015-07-08 14:03:49 -04:00
|
|
|
(source (origin
|
2019-12-24 08:25:18 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
2021-10-26 06:42:35 -04:00
|
|
|
(url "https://github.com/dunst-project/dunst")
|
|
|
|
(commit (string-append "v" version))))
|
2019-12-24 08:25:18 -05:00
|
|
|
(file-name (git-file-name name version))
|
2015-07-08 14:03:49 -04:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-12-11 08:51:07 -05:00
|
|
|
"1ra0ii805w3rrs0qqbjxzl6i79ksz42lnvbglw18h4igkza21kzj"))))
|
2015-07-08 14:03:49 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2021-03-06 16:00:49 -05:00
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2018-03-17 15:56:45 -04:00
|
|
|
(string-append "PREFIX=" %output)
|
2021-03-06 16:00:49 -05:00
|
|
|
(string-append "SYSCONFDIR=" %output "/etc")
|
2018-03-17 15:56:45 -04:00
|
|
|
;; 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
|
2021-03-06 16:00:49 -05:00
|
|
|
(delete 'configure))))
|
2015-07-08 14:03:49 -04:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list pkg-config perl ; for pod2man
|
|
|
|
which))
|
2015-07-08 14:03:49 -04:00
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list dbus
|
|
|
|
librsvg ; for svg support
|
|
|
|
glib
|
|
|
|
cairo
|
|
|
|
pango
|
|
|
|
libnotify ; for dunstify
|
|
|
|
libx11
|
|
|
|
libxscrnsaver
|
|
|
|
libxinerama
|
|
|
|
libxrandr
|
|
|
|
libxdg-basedir
|
|
|
|
wayland)) ; for wayland support
|
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)))
|