Path to this page:
Subject: CVS commit: pkgsrc/x11/dunst
From: Paolo Vincenzo Olivo
Date: 2023-01-09 19:44:18
Message id: 20230109184418.34194FA90@cvs.NetBSD.org
Log Message:
x11/dunst: update to dunst-1.9.0
Disable Wayland support by default (alongside systemd).
Fix building on systems w/o evdev.
Enable running regressions tests and replace interpreters in test
scripts.
CHANGELOG (since version 1.5.0):
# Dunst v1.9.0
This release marks the point for a few big features to be useable. The
recursive icon lookup is marked stable and is used by default for new users. It
is now also possible to add gaps between notifications, although it is not done
with separate windows, so clicks in between notification will not register to
the below window. You'll also need a compositor for the transparancy to take
effect.
Added
* override_dbus_timeout setting to override the notification timeout set via
dbus. (#1035)
* Support notification gaps via the gap_size setting. Note that since the
notifications are not separate windows, you cannot click in between the
notifications. (#1053)
* Make min_icon_size and max_icon_size a rule for even more flexibility
(#1069)
Changed
* The window offset is now scaled according to scale as well. This way
notification stay visually in the same place on higher DPI screens. (#1039)
* For the recursive icon lookup, revert to using min_icon_size and
max_icon_size instead of icon_size. min_icon_size is used as the size to
look for in icon themes. This way of defining icon size is more flexible and
compatible with the old icon lookup. The new icon lookup should now be
superior for all use cases. (#1069)
* Recursive icon lookup is no longer experimental.
* Recursive icon lookup is enabled in the default dunstrc. This does not change
your settings when you have a custom dunstrc.
Fixed
* Added back the action_name setting that was accidentally dropped. (#1051)
* Broken dunstctl history. (#1060)
* Merged a few wayland fixes from mako (https://github.com/emersion/mako)
(#1067)
* follow=keyboard: Fix regression where we don't fall back to mouse (#1062)
* Raw icons not being scaled according to icon size (#1043)
* Notifications not disappearing. For some people notifications would sometimes
stay on screen until a new notification appeared. This should not happen
anymore (#1073).
Merged pull requests
* Rule attribute to override timeout set by dbus by @rpbranco in #1038
* Scale offset according to DPI by @livanh in #1039
* Fixes dunstctl history command by @stremlenye in #1060
* Add support for notification gaps by @paddyw2 in #1053
* Mako wayland fixes by @fwsmit in #1067
* follow=keyboard: Fix regression where we don't fall back to mouse by @cdown \
in #1062
* Recursive icons: Use min_icon_size and max_icon_size instead of icon_size. \
by @fwsmit in #1069
* Fix notifications sometimes not disappearing by @fwsmit in #1073
# Dunst v1.8.1
Fixed
* Dunst sometimes not using the right config file, sometimes falling back to the
internal defaults by @alebastr in #1042
# Dunst v1.8.0
Added
* Implemented progress_bar_min_width. Before it was an unused setting. (#1006)
progress_bar_horizontal_alignment for changing the alignment of the progress
bar. (#1021)
* Support for config drop-ins. You can add as many configuration files as you
want in dunstrc.d. See the man page dunst(1) for more information. This was
done with help from @WhitePeter. (#997)
* Thanks to @m-barlett you can place your icons at the center of your
notifications with icon_position = top.
* icon_position is now a rule (also by @m-barlett).
* hide_text for hiding all text of a notification. This also removes all
padding that would be present for a notification without text. (also by
@m-barlett) (#985)
* The previously removed keyboard shortcuts have been added again, but now they
are in the [global] section of the config. Not everything that was possible
with the keyboard shortcuts was possible with dunstctl on X11. Mainly
activating a keyboard shortcut only when notifications are on screen. Thanks
to @wgmayer0 for testing. (#1033).
Changed
* Improved the man page regarding transitioning from the old geometry.
* The default alignment of the progress bar is now center instead of left.
* Better regex matching for rules. When you set enable_posix_regex. Take a
look at
\
https://en.m.wikibooks.org/wiki/Regular_Expressions/POSIX-Extended_Regular_Expressions
for how the new regex syntax works. Note that you cannot do inverse matching
yet, I'm working on that in #1040. (#1017)
* Thanks to @kurogetsusai you can once again use negative offsets to put a
notification window slightly off-screen if you so like. (#1027)
* As mentioned above, the keyboard shortcuts have been moved to the [global]
section. Please move your settings there.
Fixed
* Crash when open_url was used without URL's. (#1000)
* Icons sometimes being incorrectly sized with the new icon lookup. (#1003)
* Incorrect defaults mentioned in the documentation. (#1004, #1029 and more)
* Crash when icon could not be read by glib. (#1023)
* Not being able to override anymore raw icons with new_icon (#1009)
* High cpu usage when selecting an action in dmenu or similar. This was caused
by dunst not going to sleep when waiting for a response. (#898)
* Updated default values documentation (with help from @profpatch) (#1004 and
more)
# Dunst v1.7.3
Changed
* follow is now none again by default. This was the case before v1.7.0 as \
well. (#990).
Fixed
* dunstctl action is now working again.
* Segfault in experimental icon lookup when an inherited theme doesn't exist.
* icon_position = off not being respected (#996).
# Dunst v1.7.2
Added
* Experimental recursive icon lookup. This is not enabled by default and can be
enabled by setting enable_recursive_icon_lookup=true. Setting icon sizes
still doesn't work entirely as it's supposed to and will be improved in future
releases. (#965)
* You can now enable or disable rules on the fly with dunstctl rule $name$ \
enable/disable. (#981)
dunstctl history lists your notification history in JSON format for
processing by scripts. (#970)
* You can now pop specific notifications from history by passing a notification
ID to dunstctl history-pop. (#970)
* default_icon setting for setting the icon when no icons are given (#984)
* Implemented display size detection in Wayland. (#973)
Fixed
* Text being cut off on X11 when using fractional scaling. (#975)
* Incorrect hitbox for notification on X11 with scaling. (#980)
* Improved warning messages for deprecated sections. (#974)
* icon being interpreted as a filter and not being allowed in the special
urgency sections. This is a compatibility fix, but it's recommended to replace
all usages of icon in these sections with default_icon to prevent
confusion with the icon rule in other sections. (#984)
* new_icon being used in the default dunstrc where default_icon is the
intended settings. This was commented by default, so it doesn't affect any
default behaviour. (#984)
* Notifications bleeding to other screens when the width was big enough. Now the
notification's width is lowered when it would otherwise leave the display.
# Dunst v1.7.1
Added
* Script environment variable DUNST_DESKTOP_ENTRY. (#874)
* Rule set_category for change a notifications category with rules. (1b72b2a)
Fixed
* Dunst not building with WAYLAND=0. (#938)
* Wrong icon being shown in chromium-based browsers. (#939)
* set_stack_tag not working anymore. (#942)
* Outdated documentation. (#943, #944 and more)
* Empty strings not being allowed in settings. (#946)
* Dunst crashing when compositor doesn't support zwlr_foreign_toplevel_v1. (#948)
* Xmore notifications showing a progress bar and icon. (#915)
* Markup is now a rule again. Before this was undocumented behaviour. (#955)
* Double free when setting XDG_CONFIG_DIR. (#957)
* Dunst crashing on some compositors. (#948)
* Dunst not exiting when wayland compositor quits. (#961)
* Now the separators are not responsive to mouse clicks anymore. (#960)
* Mouse action stopping the rest of the actions. (bf58928)
# Dunst v1.7.0
Added
* context and context_all mouse actions for opening the context menu (#848)
open_url mouse action for opening url's in a notification (#848)
* action_name rule for setting a default action to perform when using
do_action (#848)
* HiDPI support for both Wayland and X11. On wayland the scale can be set from
your compositor's settings and is automatically picked up by dunst. On X11
dunst will guess the scale based on the DPI of the screen. If that isn't good,
you can set the scale variable in the settings. (#854 and #890)
highlight can now also be set through dbus hints with the key hlcolor
(#862)
* Your dunstrc is now being checked by dunst. Dunst will print a warning when
coming across an non-existing/invalid setting. (#803)
* Wayland fullscreen detection (#814)
* Wayland touch support (#814)
* Cursor is now being changed to left_ptr when hovering over dunst (Wayland)
(#903)
Changed
* startup_notification and verbosity are now only available as a command
line arguments. (#803)
* Rule settings can now also be used in the [global] section. They will then
apply to all the notifications. (#803)
* fullscreen, ellpsize and word_wrap are now rules. They can still be used
in the [global] section as well (see above). (#937 and #803)
* The appid's now also need to match when stacking notifications. (#886)
* xdg-open is now being used by default for opening URL's. (#889)
* geometry has been replaced by origin, width, height, offset and
notification_height. This allows for more flexible geometry settings. (#855)
* For quickly transitioning to the new syntax, you can take the numbers from your
old geometry config as follows:
geometry = <width>x<height>+<offset>
* In the new config you can then set the following variables (make sure to remove
any negative signs)
width = <width>
height = <height>
offset = <offset>
origin = top-right # or top-left, or any other direction you prefer
* There were a bunch of changes in the installation and default locations. See
the release notes for more information.
Upon seeing invalid markup, dunst is a bit smarter in stripping the markup.
Fixed
* Lots of debug messages when idle_timeout=0 (#814)
follow=none not working on Wayland (#814)
* Incorrect sorting when sort is false
NULL pointer dereference on Wayland
* Dunst not redrawing after close_all action.
Dunst not announcing icon-static capability over dbus (#867)
* Dunst not falling back to X11 output when it can't initialize the Wayland
output. (#834)
* Improve stability on Wayland. (#930 and more)
Removed
* The [shortcuts] section with all it's settings. Use your WM/DE's shortcut
manager and dunstctl to replace it. (#803)
* Setting settings via command line arguments. (#803)
* Setting settings via config.h. (#803)
# Dunst v1.6.0
Added
* Wayland support. Dunst now runs natively on wayland. This fixes several bugs
with dunst on wayland and allows idle detection. (#781)
* A progress bar, useful for showing volume or brightness in notifications (#775)
A script in contrib for using the progress bar (#791)
dunstctl count for showing the number of notifications (#793)
* Expose environment variables info about the notification to scripts (#802)
text_icon_padding for adding padding between the notification icon and text
(#810)
Changed
* Dunst now installs a system-wide config in /etc/dunst/dunstrc (#798)
* Move part of the man page to dunst(5) (#799)
Fixed
* history_ignore flag broken when using multiple rules (#747)
* Divide by zero in radius calculation (#750)
* Monitor setting overriding follow_mode (#755)
* Incorrect monitor usage when using multiple X11 screens (#762)
* Emit signal when paused property changes (#766)
* dunstify can pass empty appname to libnotify (#768)
* Incorrect handling of 'do_action, close' mouse action (#778)
Files: