Package Details: dunst-git 1.3.0.r11.g8144a95-1

Git Clone URL: (read-only)
Package Base: dunst-git
Description: Lightweight and customizable notification daemon
Upstream URL:
Licenses: BSD
Conflicts: dunst, dunstify
Provides: dunst, dunstify, notification-daemon
Submitter: None
Maintainer: Foxboron
Last Packager: Foxboron
Votes: 51
Popularity: 0.304764
First Submitted: 2011-09-08 20:54
Last Updated: 2018-01-21 13:52

Required by (34)

Sources (1)

Latest Comments

jeremejevs commented on 2018-01-25 22:12

Had the same issue with /usr/local/bin/dunst being invoked instead of /usr/bin/dunst after an upgrade, fixed by running systemctl --user daemon-reload. Why was it /usr/local in the first place? No clue, probably some now-addressed problem in the Makefile, which was previously resulting in the PREFIX override being ignored, and now isn't.

Foxboron commented on 2018-01-22 07:54

It is correct. I don't know what package you are using but i have built this thrice with makepkg and chroots after the initial report and the path is correct.

johnchen902 commented on 2018-01-22 04:32

/usr/lib/systemd/user/dunst.service contains the line


which is clearly wrong. git show shows


so we should probably add PREFIX=/usr in build(), just like [community] dunst.

Eschwartz commented on 2018-01-17 15:25

Technically this is fixing an old mistake :p by correctly delimiting the revision count as "not part of the version tag".

But it is true that this (by design) is incompatible with the old version scheme. There are two (sic) solutions:

1) Use an epoch

2) Wait until a new release before adding the "r".

3) Expect users to attempt to rebuild the git package, and manually "downgrade" the package when a different (but not new) version is built.

I've opted elsewhere to remove the "r" again, until pacman-git 5.1.x comes out.

CyberShadow commented on 2018-01-17 15:18

Foxboron: please take the time to understand the problem. -git or no -git, your PKGBUILD still broke the versioning scheme, which is affecting pacman, not the AUR helper.

Foxboron commented on 2018-01-17 15:15

This is a -git package. A propper AUR helper should be checking the git repo for new revisions. If that isn't the case, the responsibility to update -git packages falls on the user. An epoch is not going to be added.

CyberShadow commented on 2018-01-11 03:03


I noticed that the pkgver scheme changed recently.


After : 1.2.0.r223.gf7cf5b6-1

Unfortunately, the new scheme seems to be "older" than the old one, as far as pacman's version comparison algorithm goes. So, AUR helpers will think that new packages are older than old ones.

You may want to address this by using a new epoch in the PKGBUILD:

TrialnError commented on 2018-01-06 21:07

Upstream repo contain tags, but the pkgver is chosen for tagless repos?

Nevertheless, the reason why I wanted to comment: Upstream dropped gtk3 hard dep and relies instead on gdk-pixbuf

Edit: Oh, and there seems now a libxrandr dependency

haawda commented on 2017-12-20 09:33

I fixed the pkgver, and I orphan this package. The guideline is too stupid.

Eschwartz commented on 2017-12-19 12:25

Hello, you're currently violating the AUR guidelines. Please turn off your "AUR Update Bot" and don't do anything like that again. :)

EDIT: Also please use a decent pkgver function like the one listed in the wiki:

Using the commit count twice, without properly marking it as r$rev anywhere, causes far too much trouble when calculating version comparison logic for no gain.

haawda commented on 2017-10-21 23:50

I removed the line deleting config.h.

TrialnError commented on 2017-10-21 18:26

With #371 merged the prepare function will need some adjustments, else the compilation failes because config.h is getting deleted :D

haawda commented on 2017-08-02 21:03

TrialnError, namcap told me, that dunstify still needs gtk2, but it was a leftover from the previous build. Indeed only gtk3 is needed.

hero, I chnaged the pkgver function in a way that the revlist comes before the git hash. I hope this has no bad side effects.

TrialnError commented on 2017-08-02 17:38

But as described in the upstream PR[0] this replaces gtk2 and isn't an additional dep


gregf commented on 2017-08-01 20:28

dunst now depends on gtk3

hero commented on 2017-07-12 16:29

@haadawa Could you update the pkgver variable to ""?
This is the format of the pkgver function.
Right now my AUR helper thinks that dunst-git is outdated.
This is, because it thinks, that version "" is smaller than version "".

WhyNotHugo commented on 2017-05-20 17:25

The systemd service file has been upstreamed, so no need to manually sed/install it any more (it's now done as part of make/make install).

rotsix commented on 2017-03-20 20:26

Hi, why not adding the armv7h in disponible architectures ? It works perfectly on my RPi3. Thx

Brottweiler commented on 2017-02-27 19:55

@haawda the systemd unit still does not work, as already requested, you need to install it as "dunst.service" not "dunst.systemd.service". I suppose this is also an upstream issue.

hero commented on 2017-02-19 12:58

@haawda Thank you for your fast changes, but the systemd service file not only needs to be moved, but also needs to be renamed to dunst.service, just as Stebalien suggested, otherwise systemctl will not recognize it.

Stebalien commented on 2017-02-18 22:07

@haawda Thanks but, FYI, the systemd service should be installed to "${pkgdir}"/usr/lib/systemd/user/dunst.service

haawda commented on 2017-02-18 20:22

Thanks, the contrib directory is honored now.

Stebalien commented on 2017-02-17 18:39

Please consider packaging the systemd service file (you can find it in the contrib directory of the source code).

johnchen902 commented on 2017-01-21 14:12

I get the same "/bin/sh: pod2man: command not found", which is
located at /usr/bin/core_perl/pod2man on my machine.

Changing to "env PATH=/usr/bin/core_perl/:/usr/bin make ..." works for me.

WhyNotHugo commented on 2017-01-14 23:47

Package conflicts with dunstify, so either don't include it, or add it con conflicts.

knopwob commented on 2017-01-09 15:30

The project moved to (cloning from the old url should still work, but you might want to update it).

I found a new maintainer (that's the reason for the move, to make it easier to have multiple maintainers) so this should bring back some live into this project.

frank604 commented on 2016-10-31 03:04

It seems knopwob github for dunst is unmaintained. Kingcody submitted a commit that adds svg icon support. I forked dunst and added the commit. Not sure if this is the right place to add such things but if you need svg, change source to ('git://') in pkgbuild. I am not looking to maintain the dunst project, just thought this might help some folks.

calrama commented on 2015-09-05 14:57

pkg-config is part of base-devel. It is thus not a valid dependency, as per
<Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.>[1]


calrama commented on 2015-09-05 14:55

pkg-config is part of base-devel. It is not a valid dependency.

bo0ts commented on 2015-08-10 15:11

Just orphan the package and maybe fix the makedepends before you do it...

calrama commented on 2015-08-07 18:59

Since I no longer intend to use distributions with systemd for personal use,
I will abandon this package no earlier than 2015-09-01.
Should someone be interested in maintaining this package afterwards,
he or she can contact me in the interim to become co-maintainer
and then sole maintainer once I leave, to ensure a smooth transition.

calrama commented on 2015-06-12 09:33

Initial AUR4 import.

bo0ts commented on 2015-06-01 13:26

Requires package pkg-config to build

Joel commented on 2015-05-20 15:00

I got error...

==> Iniciando build()...
/bin/sh: pod2man: no se encontró la orden
Makefile:63: fallo en las instrucciones para el objetivo 'dunst.1'
make: *** [dunst.1] Error 127

kingcody commented on 2015-04-21 06:08

A pkgver function like this will update the tags and commit hash as recommended by

pkgver() {
cd ${srcdir}/${_gitname}
# cutting off 'v' prefix that presents in the git tag
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

WhyNotHugo commented on 2014-07-07 22:07

"libnotify" is not an optdepends; it provides no additional functionality to the dunst.

calrama commented on 2014-03-17 14:53

Hspasta: Included now

Hspak commented on 2014-03-07 00:09

Could you install dunstify as well with this package? I don't think it's worth creating a new package just for dunstify.

jspencer commented on 2013-10-17 14:16

Minor point: the license field states dunst is under the MIT license but the license file (and dunst website) give it as the 3-clause BSD license.

calrama commented on 2013-08-14 19:27

I've adopted this package and changed the pkgver function to reflect the last released version instead of the build-date, as dunst uses tags to identify versions.

This has the problematic side effect that the (one time only) update from the previous pkgver naming to this one is counted by pacman as a downgrade, so update accordingly.

Anonymous comment on 2013-03-31 08:11

I will! I'm just waiting for pacman 4.1 to be released, then I'll go through all my packages and renew them.

gtmanfred commented on 2013-03-31 05:24

please use $SRCDEST instead of $startdir, $startdir should never be used

Anonymous comment on 2013-03-20 15:46

Like this?

Thanks for letting me know!

Ypnose commented on 2013-03-20 10:59

Hi Army, after my request knopwob changed "libxdg-basedir" as an optional dependency when you change config.h. Maybe you can modify"libxdg-basedir" to optdepends when config.h isn't missing.

Anonymous comment on 2013-02-26 08:57

And yet another change, pango was added as a dependency.

Anonymous comment on 2013-01-27 10:05

I changed the PKGBUILD a bit, now everything is up to date (url, describtion, dependencies) and there's a new command to make dunst if a config.h is used, like knobwob mentioned here

Ypnose commented on 2012-08-14 10:40

Really like custom config.h support. Now, we don't need additional dunstrc file.

Anonymous comment on 2012-08-10 20:11

Updated to support custom config.h for those who want to use it. Just put your config.h into the startdir and run makepkg.

Anonymous comment on 2012-07-28 21:57

Thanks, especially for the explanation.

Anonymous comment on 2012-07-28 16:20

Hi, the PKGBUILD needs an update:
package() {
cd "${srcdir}/${_gitname}-build"
make DESTDIR=${pkgdir} PREFIX=/usr install
install -Dm644 "${srcdir}/dunst-build/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

Note the DESTDIR/PREFIX change. I've added a service file so dunst can get started by dbus. That file contains the full path to the dunst binary, which would point to $pkddir, if PREFIX is set to it.

Anonymous comment on 2012-06-23 20:18

new dependency again: "libxdg-basedir"

Anonymous comment on 2012-06-22 06:42

Updated, thanks for reminding me.

But I still have to copy the license, because the BSD license isn't included in the license package.

Anonymous comment on 2012-06-21 21:41


there again happend a few changes that created the need to change the PKGBUILD. First of all the makedependency of 'iniparser' can be dropped [1] and the copying of the LICENSE.dmenu file isn't necessary anymore and dunst has now a clear license which is the bsd license.[2].

Thank you very much


Anonymous comment on 2012-06-14 09:04

Updated the url, since dunst now has a real homepage :)

Anonymous comment on 2012-06-13 15:02

Thanks knopwob, I also added libxft and libxss, namcap reported those as missing dependencies

Anonymous comment on 2012-06-13 13:41

Hi, there are a few changes, that created the need of a new PKGBUILD. A new makedepend (iniparser) and the config.h stuff is gone.

Here is an updated version of the PKGBUILD.

Anonymous comment on 2011-11-18 19:07

I changed the format of the readme to make use of githubs markup feature. And I auto-generate the manpage from the readme with pod2man which is part of the perl package. So perl should be added to makedepends (It's not needed at runtime).

Btw if I haven't said so already: thank you for packaging this ;-)

JokerBoy commented on 2011-11-17 19:09

It looks ok, but I prefer the old way.

Anonymous comment on 2011-11-17 19:00

Thanks JokerBoy! I prefer this way of dealing with config.h files. Please take a look at it and tell me what you think.

JokerBoy commented on 2011-11-17 18:38

Now dunst is using a config.h, just like dwm. :)

Anonymous comment on 2011-10-03 09:49

Ah ok, that's definitely a big improvement. Thanks a lot!

JokerBoy commented on 2011-10-03 09:19

Well, for using the compile flags from /etc/makepkg.conf. :)

Anonymous comment on 2011-10-03 09:15

Thanks! Just so I know, what exactly is improved with this sed line? I know what it does, but what's better about += than = ?

JokerBoy commented on 2011-10-03 09:04

With a few tweaks.

Anonymous comment on 2011-09-24 13:54

done, thank you.

fredmorcos commented on 2011-09-24 13:16

Could you please add 'notification-daemon' to the provides=() array?