Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dunst for openSUSE:Factory checked in at 2023-10-11 23:56:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dunst (Old) and /work/SRC/openSUSE:Factory/.dunst.new.1807 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dunst" Wed Oct 11 23:56:12 2023 rev:15 rq:1116890 version:1.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dunst/dunst.changes 2023-04-03 17:45:47.919789399 +0200 +++ /work/SRC/openSUSE:Factory/.dunst.new.1807/dunst.changes 2023-10-12 11:39:40.779777777 +0200 @@ -1,0 +2,8 @@ +Wed Oct 11 08:19:34 UTC 2023 - Tomas Cech <[email protected]> + +- update to 1.9.2: + * Fixed various documentation issues + * Fixed high cpu when `show_age_treshold` = -1 + * High cpu usage in some situation, often correlated with being idle + +------------------------------------------------------------------- Old: ---- dunst-1.9.1.tar.gz New: ---- dunst-1.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dunst.spec ++++++ --- /var/tmp/diff_new_pack.qSXvul/_old 2023-10-12 11:39:41.651809470 +0200 +++ /var/tmp/diff_new_pack.qSXvul/_new 2023-10-12 11:39:41.651809470 +0200 @@ -18,7 +18,7 @@ %{!?_userunitdir:%define _userunitdir %{_prefix}/lib/systemd/user} Name: dunst -Version: 1.9.1 +Version: 1.9.2 Release: 0 Summary: A customizable notification daemon License: BSD-3-Clause ++++++ dunst-1.9.1.tar.gz -> dunst-1.9.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/CHANGELOG.md new/dunst-1.9.2/CHANGELOG.md --- old/dunst-1.9.1/CHANGELOG.md 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/CHANGELOG.md 2023-04-20 18:55:58.000000000 +0200 @@ -1,5 +1,12 @@ # Dunst changelog +## 1.9.2 -- 2023-04-20 + +### Fixed +- Various documentation issues (#1151, #1154, #1162) +- High cpu usage when `show_age_treshold = -1` (#1164) +- High cpu usage in some situation. This is often correlated with being idle. (#1158) + ## 1.9.1 -- 2023-03-08 ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/Makefile new/dunst-1.9.2/Makefile --- old/dunst-1.9.1/Makefile 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/Makefile 2023-04-20 18:55:58.000000000 +0200 @@ -3,7 +3,7 @@ include config.mk -VERSION := "1.9.1 (2023-03-08)" +VERSION := "1.9.2 (2023-04-20)" ifneq ($(wildcard ./.git/),) VERSION := $(shell ${GIT} describe --tags) endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/RELEASE_NOTES new/dunst-1.9.2/RELEASE_NOTES --- old/dunst-1.9.1/RELEASE_NOTES 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/RELEASE_NOTES 2023-04-20 18:55:58.000000000 +0200 @@ -1,13 +1,28 @@ =================================================================================== +Release Notes For v1.9.2 +=================================================================================== + +This release fixes two issues with high cpu usage one of which was introduced +when trying to fix another cpu usage issue. So if you have experienced dunst +making your fans spin harder than usual that should be fixed with this release. + +=================================================================================== Release Notes For v1.9.1 =================================================================================== +For users: + If you like rounded corners, this release is for you. You can now add rounded corners to your progress bar and notification icons. Dunstctl added more options for changing the notification history, so I'm excited for what you can build with that. Dunst also is even more stable now with a crash being fixed and not using 100% of your cpu anymore in some situations. +For maintainers: + +Libnotify and dunst are now optional to build by setting the `DUNSTIFY` make +flag to 0. (enabled by default) + Take a look at the changelog for a more detailed change description. =================================================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/docs/dunst.5.pod new/dunst-1.9.2/docs/dunst.5.pod --- old/dunst-1.9.1/docs/dunst.5.pod 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/docs/dunst.5.pod 2023-04-20 18:55:58.000000000 +0200 @@ -108,7 +108,7 @@ The maximum height of a single notification. -=item B<notification_limit> (default: 0) +=item B<notification_limit> (default: 20) The number of notifications that can appear at one time. When this limit is reached any additional notifications will be queued and displayed when diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/docs/internal/release-checklist.md new/dunst-1.9.2/docs/internal/release-checklist.md --- old/dunst-1.9.1/docs/internal/release-checklist.md 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/docs/internal/release-checklist.md 2023-04-20 18:55:58.000000000 +0200 @@ -1,16 +1,14 @@ # Main repo - [ ] Update the changelog - [ ] Write release notes (Only if non-patch release) - - [ ] Verify that the working directory is clean and on the master branch - - [ ] Change the version in the Makefile to "x.x.x (iso-date)" + - [ ] Change the version in the Makefile to "x.x.x (iso-date)" (ex. "1.9.0 (2022-06-27)") - [ ] Commit changes (Commit title: `Dunst vX.X.X`) - [ ] Tag commit, make sure it's an annotated tag (`git tag -a "vX.X.X" -m "Dunst vX.X.X"`) - - [ ] Push commits - - [ ] Push tags + - [ ] Push commits and tags # Dunst-project.org - - [ ] Run the update script (`REPO=../dunst ./update_new_release.sh OLDVER NEWVER`) + - [ ] Run the update script (`REPO=../dunst ./update_new_release.sh OLDVER NEWVER`, ex. `REPO=../dunst ./update_new_release.sh 1.9.0 1.9.1` - [ ] Verify that they look fine when rendered (`hugo serve`) - [ ] Commit changes - [ ] Run deploy script and push (`./deploy.sh -p`) @@ -18,7 +16,6 @@ # Main repo - [ ] Copy release notes to githubs release feature - [ ] Publish release on github - - [ ] Update maint branch to point to master - [ ] Update Makefile version to "x.x.x-non-git" - [ ] Commit & push diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/dunstctl new/dunst-1.9.2/dunstctl --- old/dunst-1.9.1/dunstctl 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/dunstctl 2023-04-20 18:55:58.000000000 +0200 @@ -13,7 +13,7 @@ show_help() { # Below, each line starts with a tab character cat <<-EOH - Usage: dunstctl <command> [parameters]" + Usage: dunstctl <command> [parameters] Commands: action Perform the default action, or open the context menu of the notification at the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/dunstify.c new/dunst-1.9.2/dunstify.c --- old/dunst-1.9.1/dunstify.c 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/dunstify.c 2023-04-20 18:55:58.000000000 +0200 @@ -108,7 +108,7 @@ GError *error = NULL; GOptionContext *context; - context = g_option_context_new("- Dunstify"); + context = g_option_context_new("SUMMARY BODY"); g_option_context_add_main_entries(context, entries, NULL); if (!g_option_context_parse(context, &argc, &argv, &error)){ g_printerr("Invalid commandline: %s\n", error->message); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/src/dunst.c new/dunst-1.9.2/src/dunst.c --- old/dunst-1.9.1/src/dunst.c 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/src/dunst.c 2023-04-20 18:55:58.000000000 +0200 @@ -82,18 +82,17 @@ queues_update(status, now); - bool active = queues_length_displayed() > 0; - - if (active) { - // Call draw before showing the window to avoid flickering - draw(); - output->win_show(win); - } else { + if (!queues_length_displayed()) { output->win_hide(win); + return G_SOURCE_REMOVE; } - if (active) { - gint64 timeout_at = queues_get_next_datachange(now); + // Call draw before showing the window to avoid flickering + draw(); + output->win_show(win); + + gint64 timeout_at = queues_get_next_datachange(now); + if (timeout_at != -1) { // Previous computations may have taken time, update `now` // This might mean that `timeout_at` is now before `now`, so // we have to make sure that `sleep` is still positive. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunst-1.9.1/src/queues.c new/dunst-1.9.2/src/queues.c --- old/dunst-1.9.1/src/queues.c 2023-03-08 13:18:14.000000000 +0100 +++ new/dunst-1.9.2/src/queues.c 2023-04-20 18:55:58.000000000 +0200 @@ -503,7 +503,7 @@ continue; } - n->start = time_monotonic_now(); + n->start = time; notification_run_script(n); if (n->skip_display && !n->redisplayed) { @@ -538,7 +538,7 @@ if (i_waiting && notification_cmp(i_displayed->data, i_waiting->data) > 0) { struct notification *todisp = i_waiting->data; - todisp->start = time_monotonic_now(); + todisp->start = time; notification_run_script(todisp); queues_swap_notifications(displayed, i_displayed, waiting, i_waiting); @@ -559,7 +559,7 @@ for (GList *iter = g_queue_peek_head_link(displayed); iter; iter = iter->next) { struct notification *n = iter->data; - gint64 timeout_ts = n->timestamp + n->timeout; + gint64 timeout_ts = n->start + n->timeout; if (n->timeout > 0 && n->locked == 0) { if (timeout_ts > time)
