2015-07-08 18:03:49 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-03-17 19:56:45 +00:00
|
|
|
;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
|
2018-05-15 13:58:34 +00:00
|
|
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-12-24 13:25:18 +00:00
|
|
|
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
|
2020-02-10 08:51:48 +00:00
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2021-03-06 21:00:49 +00:00
|
|
|
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
2021-11-09 16:38:54 +00:00
|
|
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2022-03-05 13:22:40 +00:00
|
|
|
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
2015-07-08 18:03:49 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages dunst)
|
|
|
|
#:use-module (guix packages)
|
2019-12-24 13:25:18 +00:00
|
|
|
#:use-module (guix git-download)
|
2015-07-08 18:03:49 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2021-03-06 21:00:49 +00:00
|
|
|
#:use-module (guix utils)
|
2015-07-08 18:03:49 +00:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2022-02-04 21:27:17 +00:00
|
|
|
#:use-module (gnu packages)
|
2015-07-08 18:03:49 +00:00
|
|
|
#:use-module (gnu packages base)
|
|
|
|
#:use-module (gnu packages freedesktop)
|
|
|
|
#:use-module (gnu packages glib)
|
2020-02-10 08:51:48 +00:00
|
|
|
#:use-module (gnu packages gnome)
|
2015-07-08 18:03:49 +00: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")
|
2022-03-05 13:22:40 +00:00
|
|
|
(version "1.8.1")
|
2015-07-08 18:03:49 +00:00
|
|
|
(source (origin
|
2019-12-24 13:25:18 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
2021-10-26 10:42:35 +00:00
|
|
|
(url "https://github.com/dunst-project/dunst")
|
|
|
|
(commit (string-append "v" version))))
|
2019-12-24 13:25:18 +00:00
|
|
|
(file-name (git-file-name name version))
|
2015-07-08 18:03:49 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-03-05 13:22:40 +00:00
|
|
|
"19bh5789whlc0n5wbyx3yx8px93hccn42f1p6i1dz96hdkk5mjb8"))))
|
2015-07-08 18:03:49 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2021-03-06 21:00:49 +00:00
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2018-03-17 19:56:45 +00:00
|
|
|
(string-append "PREFIX=" %output)
|
2021-03-06 21:00:49 +00:00
|
|
|
(string-append "SYSCONFDIR=" %output "/etc")
|
2018-03-17 19:56:45 +00:00
|
|
|
;; Otherwise it tries to install service file
|
|
|
|
;; to "dbus" store directory.
|
|
|
|
(string-append "SERVICEDIR_DBUS=" %output
|
2020-02-10 08:51:48 +00:00
|
|
|
"/share/dbus-1/services")
|
|
|
|
"dunstify")
|
2015-07-08 18:03:49 +00:00
|
|
|
#:phases (modify-phases %standard-phases
|
2021-03-06 21:00:49 +00:00
|
|
|
(delete 'configure))))
|
2015-07-08 18:03:49 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list pkg-config perl ; for pod2man
|
|
|
|
which))
|
2015-07-08 18:03:49 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00: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 09:28:01 +00:00
|
|
|
(home-page "https://dunst-project.org/")
|
2015-07-08 18:03:49 +00: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 13:39:43 +00:00
|
|
|
It provides @code{org.freedesktop.Notifications} D-Bus service, so it is
|
2015-07-08 18:03:49 +00:00
|
|
|
started automatically on the first call via D-Bus.")
|
|
|
|
(license license:bsd-3)))
|