Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package SwayNotificationCenter for
openSUSE:Factory checked in at 2022-11-29 13:23:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SwayNotificationCenter (Old)
and /work/SRC/openSUSE:Factory/.SwayNotificationCenter.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SwayNotificationCenter"
Tue Nov 29 13:23:31 2022 rev:2 rq:1038841 version:0.7.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/SwayNotificationCenter/SwayNotificationCenter.changes
2022-09-27 20:13:31.377773063 +0200
+++
/work/SRC/openSUSE:Factory/.SwayNotificationCenter.new.1597/SwayNotificationCenter.changes
2022-11-29 13:23:35.050054219 +0100
@@ -1,0 +2,14 @@
+Mon Nov 28 19:10:41 UTC 2022 - Filippo Bonazzi <[email protected]>
+
+- Update to version 0.7.3:
+ * Fixed segfault when reloading config
+ * Adds MPRIS widget arrows when multiple players are detected
+ * Fix not being able to interact with CC without first click
+ * Fix MPRIS image scaling when display is scaled
+ * Add cssPriority to config
+ * Add option to configure control center layer
+ * feat: transient notification visibility
+ * Add client flags to turn dnd on/off
+ * Add /usr/local/etc/xdg/swaync/ as default fallback path for config and CSS
files
+
+-------------------------------------------------------------------
Old:
----
SwayNotificationCenter-0.7.2.obscpio
New:
----
SwayNotificationCenter-0.7.3.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ SwayNotificationCenter.spec ++++++
--- /var/tmp/diff_new_pack.0zBM2P/_old 2022-11-29 13:23:35.734057603 +0100
+++ /var/tmp/diff_new_pack.0zBM2P/_new 2022-11-29 13:23:35.738057622 +0100
@@ -17,7 +17,7 @@
Name: SwayNotificationCenter
-Version: 0.7.2
+Version: 0.7.3
Release: 0
Summary: A simple GTK notification daemon
License: GPL-3.0-only
++++++ SwayNotificationCenter-0.7.2.obscpio ->
SwayNotificationCenter-0.7.3.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/.github/ISSUE_TEMPLATE/bug_report.md
new/SwayNotificationCenter-0.7.3/.github/ISSUE_TEMPLATE/bug_report.md
--- old/SwayNotificationCenter-0.7.2/.github/ISSUE_TEMPLATE/bug_report.md
1970-01-01 01:00:00.000000000 +0100
+++ new/SwayNotificationCenter-0.7.3/.github/ISSUE_TEMPLATE/bug_report.md
2022-11-28 18:57:05.000000000 +0100
@@ -0,0 +1,37 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: "[Bug]"
+labels: bug
+assignees: ''
+
+---
+
+**Please read through the README and the Man pages before submitting**
+**Please also make sure that there isn't any prior issue describing this bug**
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Please provide logs if you're experiencing notifiation errors / bugs**
+Attach Gists for swaync logs by running `G_MESSAGES_DEBUG=all swaync` and (if
applicable) application logs.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Desktop (please complete the following information):**
+ - OS: [e.g. Fedora 37]
+ - Version [e.g. 0.7]
+
+**Additional context**
+Add any other context about the problem here.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/.github/ISSUE_TEMPLATE/feature_request.md
new/SwayNotificationCenter-0.7.3/.github/ISSUE_TEMPLATE/feature_request.md
--- old/SwayNotificationCenter-0.7.2/.github/ISSUE_TEMPLATE/feature_request.md
1970-01-01 01:00:00.000000000 +0100
+++ new/SwayNotificationCenter-0.7.3/.github/ISSUE_TEMPLATE/feature_request.md
2022-11-28 18:57:05.000000000 +0100
@@ -0,0 +1,23 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: "[Feature]"
+labels: ''
+assignees: ''
+
+---
+
+**Please read through the README and the Man pages before submitting**
+**Please also make sure that there isn't any prior issue describing this
feature**
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features
you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/.github/workflows/fedora-build.yml
new/SwayNotificationCenter-0.7.3/.github/workflows/fedora-build.yml
--- old/SwayNotificationCenter-0.7.2/.github/workflows/fedora-build.yml
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/.github/workflows/fedora-build.yml
2022-11-28 18:57:05.000000000 +0100
@@ -28,6 +28,11 @@
fetch-depth: 0
path: swaync
+ - name: Copy spec into root dir
+ run: |
+ cd swaync
+ cp ./build-scripts/swaync.rpkg.spec ./
+
- name: Generate spec
run: |
cd swaync
@@ -44,9 +49,3 @@
cd swaync
mkdir -p out
rpkg local --out `pwd`/out
-
- # - name: Store RPMs
- # uses: actions/upload-artifact@v3
- # with:
- # name: rpms
- # path: swaync/out/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/.github/workflows/fedora-copr.yml
new/SwayNotificationCenter-0.7.3/.github/workflows/fedora-copr.yml
--- old/SwayNotificationCenter-0.7.2/.github/workflows/fedora-copr.yml
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/.github/workflows/fedora-copr.yml
2022-11-28 18:57:05.000000000 +0100
@@ -32,6 +32,11 @@
fetch-depth: 0
path: swaync
+ - name: Copy spec into root dir
+ run: |
+ cd swaync
+ cp ./build-scripts/swaync.rpkg.spec ./
+
- name: Submit the build to copr
run: |
cd swaync
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/README.md
new/SwayNotificationCenter-0.7.3/README.md
--- old/SwayNotificationCenter-0.7.2/README.md 2022-09-22 22:58:44.000000000
+0200
+++ new/SwayNotificationCenter-0.7.3/README.md 2022-11-28 18:57:05.000000000
+0100
@@ -1,6 +1,10 @@
# SwayNotificationCenter
-[](https://github.com/ErikReider/SwayNotificationCenter/actions/workflows/building.yml)
+[](https://github.com/ErikReider/SwayNotificationCenter/actions/workflows/arch-build.yml)
+
+[](https://github.com/ErikReider/SwayNotificationCenter/actions/workflows/fedora-build.yml)
+
+[](https://github.com/ErikReider/SwayNotificationCenter/actions/workflows/ubuntu-build.yml)
[](https://github.com/ErikReider/SwayNotificationCenter/actions/workflows/linting.yml)
@@ -9,6 +13,10 @@
*Note: Only supports Desktops / Window Managers that support
`wlr_layer_shell_unstable_v1` like Sway or anything wlroots based*
+## Want to show off your sick config?
+
+Post your setup here: [Config flex
ðª](https://github.com/ErikReider/SwayNotificationCenter/discussions/183)
+
## Features
- Keyboard shortcuts
@@ -34,7 +42,7 @@
- Do Not Disturb
- Notifications (Will always be visible)
- Label
-- Mpris
+- Mpris (Media player controls for Spotify, Firefox, Chrome, etc...)
## Planned Features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/build-scripts/PKGBUILD
new/SwayNotificationCenter-0.7.3/build-scripts/PKGBUILD
--- old/SwayNotificationCenter-0.7.2/build-scripts/PKGBUILD 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/build-scripts/PKGBUILD 2022-11-28
18:57:05.000000000 +0100
@@ -1,6 +1,6 @@
# Maintainer: Erik Reider <[email protected]>
pkgname=swaync
-pkgver=0.7.2
+pkgver=0.7.3
pkgrel=1
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous
notifications like other DEs"
_pkgfoldername=SwayNotificationCenter
@@ -16,7 +16,7 @@
provides=("swaync" "swaync-client")
makedepends=(vala meson git scdoc)
source=("${_pkgfoldername}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('6a19e48976ec1705f11f3932744a304044a4ab057cac6752ec5270546ec0b36e')
+sha256sums=('0b8e1d4b0f35a93d435b982f8076ad153b5e6504f46b9bc897085fcab2ce70a3')
build() {
arch-meson "${_pkgfoldername}-${pkgver}" build -Dscripting=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/build-scripts/PKGBUILD-git
new/SwayNotificationCenter-0.7.3/build-scripts/PKGBUILD-git
--- old/SwayNotificationCenter-0.7.2/build-scripts/PKGBUILD-git 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/build-scripts/PKGBUILD-git 2022-11-28
18:57:05.000000000 +0100
@@ -1,7 +1,7 @@
# Maintainer: Erik Reider <[email protected]>
pkgname=swaync-git
_pkgname=swaync
-pkgver=v0.7.2.r1.g06593e7
+pkgver=v0.7.3.r19.g3f35290
pkgrel=1
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous
notifications like other DEs"
url="https://github.com/ErikReider/SwayNotificationCenter"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/build-scripts/swaync.rpkg.spec
new/SwayNotificationCenter-0.7.3/build-scripts/swaync.rpkg.spec
--- old/SwayNotificationCenter-0.7.2/build-scripts/swaync.rpkg.spec
1970-01-01 01:00:00.000000000 +0100
+++ new/SwayNotificationCenter-0.7.3/build-scripts/swaync.rpkg.spec
2022-11-28 18:57:05.000000000 +0100
@@ -0,0 +1,76 @@
+# vim: syntax=spec
+Name: {{{ git_dir_name }}}
+Version: 0.7.3
+Release: 1%{?dist}
+Summary: Notification daemon with GTK GUI
+Provides: desktop-notification-daemon
+License: GPLv3
+URL: https://github.com/ErikReider/SwayNotificationCenter
+VCS: {{{ git_dir_vcs }}}
+Source: {{{ git_dir_pack }}}
+
+BuildRequires: meson >= 0.51.0
+BuildRequires: vala
+
+BuildRequires: gtk3-devel >= 3.22
+BuildRequires: gtk-layer-shell-devel >= 0.1
+Requires: dbus
+BuildRequires: glib2-devel >= 2.50
+BuildRequires: gobject-introspection-devel >= 1.68
+BuildRequires: libgee-devel >= 0.20
+BuildRequires: json-glib-devel >= 1.0
+BuildRequires: libhandy-devel >= 1.4.0
+BuildRequires: systemd-devel
+BuildRequires: systemd
+BuildRequires: scdoc
+%{?systemd_requires}
+
+%description
+A simple notification daemon with a GTK gui for notifications and the control
center
+
+%prep
+{{{ git_dir_setup_macro }}}
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%post
+%systemd_user_post swaync.service
+
+%preun
+%systemd_user_preun swaync.service
+
+%files
+%doc README.md
+%{_bindir}/swaync-client
+%{_bindir}/swaync
+%license COPYING
+%{_sysconfdir}/xdg/swaync/configSchema.json
+%{_sysconfdir}/xdg/swaync/config.json
+%{_sysconfdir}/xdg/swaync/style.css
+%{_userunitdir}/swaync.service
+%dir %{_datadir}/bash-completion
+%dir %{_datadir}/bash-completion/completions
+%{_datadir}/bash-completion/completions/swaync
+%{_datadir}/bash-completion/completions/swaync-client
+%{_datadir}/dbus-1/services/org.erikreider.swaync.service
+%dir %{_datadir}/fish
+%dir %{_datadir}/fish/vendor_completions.d
+%{_datadir}/fish/vendor_completions.d/swaync-client.fish
+%{_datadir}/fish/vendor_completions.d/swaync.fish
+%dir %{_datadir}/zsh
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_swaync
+%{_datadir}/zsh/site-functions/_swaync-client
+%{_datadir}/glib-2.0/schemas/org.erikreider.swaync.gschema.xml
+%{_mandir}/man1/swaync-client.1.gz
+%{_mandir}/man1/swaync.1.gz
+%{_mandir}/man5/swaync.5.gz
+
+# Changelog will be empty until you make first annotated Git tag.
+%changelog
+{{{ git_dir_changelog }}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/completions/bash/swaync-client
new/SwayNotificationCenter-0.7.3/completions/bash/swaync-client
--- old/SwayNotificationCenter-0.7.2/completions/bash/swaync-client
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/completions/bash/swaync-client
2022-11-28 18:57:05.000000000 +0100
@@ -12,6 +12,8 @@
-cp
-d
-D
+ -dn
+ -df
-c
-C
-sw
@@ -29,6 +31,8 @@
--close-panel
--toggle-dnd
--get-dnd
+ --dnd-on
+ --dnd-off
--count
--hide-latest
--close-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/completions/fish/swaync-client.fish
new/SwayNotificationCenter-0.7.3/completions/fish/swaync-client.fish
--- old/SwayNotificationCenter-0.7.2/completions/fish/swaync-client.fish
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/completions/fish/swaync-client.fish
2022-11-28 18:57:05.000000000 +0100
@@ -8,6 +8,8 @@
complete -c swaync-client -s cp -l close-panel --description "Closes the
notificaion panel" -r
complete -c swaync-client -s d -l toggle-dnd --description "Toggle and print
the current dnd state" -r
complete -c swaync-client -s D -l get-dnd --description "Print the current dnd
state" -r
+complete -c swaync-client -s dn -l dnd-on --description "Turn dnd on and print
the new dnd state" -r
+complete -c swaync-client -s df -l dnd-off --description "Turn dnd off and
print the new dnd state" -r
complete -c swaync-client -s c -l count --description "Print the current
notificaion count" -r
complete -c swaync-client -l hide-latest --description "Hides latest
notification. Still shown in Control Center" -r
complete -c swaync-client -l close-latest --description "Closes latest
notification" -r
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/completions/zsh/_swaync-client
new/SwayNotificationCenter-0.7.3/completions/zsh/_swaync-client
--- old/SwayNotificationCenter-0.7.2/completions/zsh/_swaync-client
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/completions/zsh/_swaync-client
2022-11-28 18:57:05.000000000 +0100
@@ -10,6 +10,8 @@
'(-cp --close-panel)'{-cp,--close-panel}'[Closes the notificaion panel]' \
'(-d --toggle-dnd)'{-d,--toggle-dnd}'[Toggle and print the current dnd
state]' \
'(-D --get-dnd)'{-D,--get-dnd}'[Print the current dnd state]' \
+ '(-dn --dnd-on)'{-dn,--dnd-on}'[Turn dnd on and print the new dnd state]' \
+ '(-df --dnd-off)'{-df,--dnd-off}'[Turn dnd off and print the new dnd
state]' \
'(-c --count)'{-c,--count}'[Print the current notificaion count]' \
'(--hide-latest)'--hide-latest'[Closes all notifications]' \
'(--close-latest)'--close-latest'[Hides latest notification. Still shown
in Control Center]' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/man/swaync-client.1.scd
new/SwayNotificationCenter-0.7.3/man/swaync-client.1.scd
--- old/SwayNotificationCenter-0.7.2/man/swaync-client.1.scd 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/man/swaync-client.1.scd 2022-11-28
18:57:05.000000000 +0100
@@ -37,6 +37,12 @@
*-D, --get-dnd*
Print the current dnd state
+*-dn, --dnd-on*
+ Turn dnd on and print the new dnd state
+
+*-df, --dnd-off*
+ Turn dnd off and print the new dnd state
+
*-c, --count*
Print the current notificaion count
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/man/swaync.5.scd
new/SwayNotificationCenter-0.7.3/man/swaync.5.scd
--- old/SwayNotificationCenter-0.7.2/man/swaync.5.scd 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/man/swaync.5.scd 2022-11-28
18:57:05.000000000 +0100
@@ -21,6 +21,19 @@
values: top, bottom ++
description: Vertical position of control center and notification window
+*layer* ++
+ type: string ++
+ default: top ++
+ values: background, bottom, top, overlay ++
+ description: Layer of control center window relative to normal windows.
background is below all windows, overlay is above all windows.
+
+*cssPriority* ++
+ type: string ++
+ default: application ++
+ values: application, user ++
+ description: Which GTK priority to use when loading the default and
user ++
+ CSS files. Pick "user" to override
*XDG_CONFIG_HOME/gtk-3.0/gtk.css*
+
*control-center-margin-top* ++
type: integer ++
default: 0 ++
@@ -110,7 +123,7 @@
type: string ++
optional: false ++
default: enabled ++
- values: ignored, muted, enabled ++
+ values: ignored, muted, transient, enabled ++
description: The notification visibility state. ++
*app-name*++
type: string ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/meson.build
new/SwayNotificationCenter-0.7.3/meson.build
--- old/SwayNotificationCenter-0.7.2/meson.build 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/meson.build 2022-11-28
18:57:05.000000000 +0100
@@ -1,5 +1,5 @@
project('sway-notificaton-center', ['c', 'vala'],
- version: '0.7.2',
+ version: '0.7.3',
meson_version: '>= 0.50.0',
default_options: [ 'warning_level=2' ],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/src/client.vala
new/SwayNotificationCenter-0.7.3/src/client.vala
--- old/SwayNotificationCenter-0.7.2/src/client.vala 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/client.vala 2022-11-28
18:57:05.000000000 +0100
@@ -19,6 +19,8 @@
public abstract bool get_dnd () throws DBusError, IOError;
+ public abstract void set_dnd (bool state) throws DBusError, IOError;
+
public abstract bool get_visibility () throws DBusError, IOError;
public abstract void toggle_visibility () throws DBusError, IOError;
@@ -49,6 +51,8 @@
print ("\t -cp, \t --close-panel \t\t Closes the notificaion panel\n");
print ("\t -d, \t --toggle-dnd \t\t Toggle and print the current dnd
state\n");
print ("\t -D, \t --get-dnd \t\t Print the current dnd state\n");
+ print ("\t -dn, \t --dnd-on \t\t Turn dnd on and print the new dnd
state\n");
+ print ("\t -df, \t --dnd-off \t\t Turn dnd off and print the new dnd
state\n");
print ("\t -c, \t --count \t\t Print the current notificaion count\n");
print ("\t \t --hide-latest \t\t Hides latest notification. Still
shown in Control Center\n");
print ("\t \t --close-latest \t Closes latest notification\n");
@@ -161,6 +165,16 @@
case "-D":
print (cc_daemon.get_dnd ().to_string ());
break;
+ case "--dnd-on":
+ case "-dn":
+ cc_daemon.set_dnd (true);
+ print (cc_daemon.get_dnd ().to_string ());
+ break;
+ case "--dnd-off":
+ case "-df":
+ cc_daemon.set_dnd (false);
+ print (cc_daemon.get_dnd ().to_string ());
+ break;
case "--subscribe":
case "-s":
cc_daemon.subscribe.connect (on_subscribe);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/src/config.json.in
new/SwayNotificationCenter-0.7.3/src/config.json.in
--- old/SwayNotificationCenter-0.7.2/src/config.json.in 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/config.json.in 2022-11-28
18:57:05.000000000 +0100
@@ -2,6 +2,8 @@
"$schema": @JSONPATH@,
"positionX": "right",
"positionY": "top",
+ "layer": "top",
+ "cssPriority": "application",
"control-center-margin-top": 0,
"control-center-margin-bottom": 0,
"control-center-margin-right": 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/configModel/configModel.vala
new/SwayNotificationCenter-0.7.3/src/configModel/configModel.vala
--- old/SwayNotificationCenter-0.7.2/src/configModel/configModel.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/configModel/configModel.vala
2022-11-28 18:57:05.000000000 +0100
@@ -42,6 +42,39 @@
}
}
+ public enum Layer {
+ BACKGROUND, BOTTOM, TOP, OVERLAY;
+
+ public string parse () {
+ switch (this) {
+ default:
+ return "top";
+ case BACKGROUND:
+ return "background";
+ case BOTTOM:
+ return "bottom";
+ case TOP:
+ return "top";
+ case OVERLAY:
+ return "overlay";
+ }
+ }
+ }
+
+ public enum CssPriority {
+ APPLICATION, USER;
+
+ public int get_priority () {
+ switch (this) {
+ case APPLICATION:
+ default:
+ return Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION;
+ case USER:
+ return Gtk.STYLE_PROVIDER_PRIORITY_USER;
+ }
+ }
+ }
+
public class Category : Object {
public string ? sound { get; set; default = null; }
public string ? icon { get; set; default = null; }
@@ -137,7 +170,8 @@
public enum NotificationStatusEnum {
ENABLED,
MUTED,
- IGNORED;
+ IGNORED,
+ TRANSIENT;
public string to_string () {
switch (this) {
@@ -147,6 +181,8 @@
return "muted";
case IGNORED:
return "ignored";
+ case TRANSIENT:
+ return "transient";
}
}
@@ -158,6 +194,8 @@
return MUTED;
case "ignored":
return IGNORED;
+ case "transient":
+ return TRANSIENT;
}
}
}
@@ -279,6 +317,16 @@
get; set; default = PositionY.TOP;
}
+ /** Layer of control center */
+ public Layer layer {
+ get; set; default = Layer.TOP;
+ }
+
+ /** The CSS loading priority */
+ public CssPriority cssPriority { // vala-lint=naming-convention
+ get; set; default = CssPriority.APPLICATION;
+ }
+
/** The timeout for notifications with NORMAL priority */
private const int TIMEOUT_DEFAULT = 10;
private int _timeout = TIMEOUT_DEFAULT;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/src/configSchema.json
new/SwayNotificationCenter-0.7.3/src/configSchema.json
--- old/SwayNotificationCenter-0.7.2/src/configSchema.json 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/configSchema.json 2022-11-28
18:57:05.000000000 +0100
@@ -14,6 +14,18 @@
"default": "right",
"enum": ["right", "left", "center"]
},
+ "layer": {
+ "type": "string",
+ "description": "Layer of control center window",
+ "default": "top",
+ "enum": ["background", "bottom", "top", "overlay"]
+ },
+ "cssPriority": {
+ "type": "string",
+ "description": "Which GTK priority to use when loading the default and
user CSS files. Pick \"user\" to override XDG_CONFIG_HOME/gtk-3.0/gtk.css",
+ "default": "application",
+ "enum": ["application", "user"]
+ },
"positionY": {
"type": "string",
"description": "Vertical position of control center and notification
window",
@@ -186,7 +198,7 @@
"type": "string",
"description": "The notification visibility state.",
"default": "enabled",
- "enum": ["ignored", "muted", "enabled"]
+ "enum": ["ignored", "muted", "enabled", "transient"]
},
"app-name": {
"type": "string",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/controlCenter.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/controlCenter.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/controlCenter.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/controlCenter.vala
2022-11-28 18:57:05.000000000 +0100
@@ -60,7 +60,7 @@
});
this.unmap.connect (swaync_daemon.hide_blank_windows);
- this.button_press_event.connect (blank_window_press);
+ this.button_release_event.connect (blank_window_press);
this.touch_event.connect (blank_window_press);
// Only use release for closing notifications due to Escape key
@@ -148,11 +148,10 @@
/** Adds all custom widgets. Removes previous widgets */
public void add_widgets () {
// Remove all widgets
- while (widgets.length > 0) {
- uint i = widgets.length - 1;
- widgets.index (i).destroy ();
- widgets.remove_index (i);
+ foreach (var widget in widgets.data) {
+ box.remove (widget);
}
+ widgets.remove_range (0, widgets.length);
string[] w = ConfigModel.instance.widgets.data;
if (w.length == 0) w = DEFAULT_WIDGETS;
@@ -212,7 +211,24 @@
#else
GtkLayerShell.set_keyboard_interactivity (this,
keyboard_shortcuts);
#endif
- GtkLayerShell.set_layer (this, GtkLayerShell.Layer.TOP);
+
+ // Set layer
+ GtkLayerShell.Layer layer = GtkLayerShell.Layer.TOP;
+ switch (ConfigModel.instance.layer) {
+ case Layer.BACKGROUND:
+ layer = GtkLayerShell.Layer.BACKGROUND;
+ break;
+ case Layer.BOTTOM:
+ layer = GtkLayerShell.Layer.BOTTOM;
+ break;
+ case Layer.TOP:
+ layer = GtkLayerShell.Layer.TOP;
+ break;
+ case Layer.OVERLAY:
+ layer = GtkLayerShell.Layer.OVERLAY;
+ break;
+ }
+ GtkLayerShell.set_layer (this, layer);
// Set the box margins
box.set_margin_top
(ConfigModel.instance.control_center_margin_top);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/baseWidget.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/baseWidget.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/baseWidget.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/baseWidget.vala
2022-11-28 18:57:05.000000000 +0100
@@ -39,10 +39,10 @@
public virtual void on_cc_visibility_change (bool value) {}
- protected void get_prop<T> (Json.Object config, string value_key, ref
T value) {
+ protected T? get_prop<T> (Json.Object config, string value_key) {
if (!config.has_member (value_key)) {
- warning ("%s: Config doesn't have key: %s!\n", key, value_key);
- return;
+ debug ("%s: Config doesn't have key: %s!\n", key, value_key);
+ return null;
}
var member = config.get_member (value_key);
@@ -57,18 +57,17 @@
key,
typeof (T).name (),
member.get_value_type ().name ());
- return;
+ return null;
}
switch (generic_base_type) {
case Type.STRING:
- value = member.get_string ();
- return;
+ return member.get_string ();
case Type.INT64:
- value = member.get_int ();
- return;
+ return (int) member.get_int ();
case Type.BOOLEAN:
- value = member.get_boolean ();
- return;
+ return member.get_boolean ();
+ default:
+ return null;
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/dnd/dnd.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/dnd/dnd.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/dnd/dnd.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/dnd/dnd.vala
2022-11-28 18:57:05.000000000 +0100
@@ -18,7 +18,8 @@
Json.Object ? config = get_config (this);
if (config != null) {
// Get title
- get_prop<string> (config, "text", ref title);
+ string? title = get_prop<string> (config, "text");
+ if (title != null) this.title = title;
}
// Title
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/label/label.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/label/label.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/label/label.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/label/label.vala
2022-11-28 18:57:05.000000000 +0100
@@ -18,9 +18,11 @@
Json.Object ? config = get_config (this);
if (config != null) {
// Get text
- get_prop<string> (config, "text", ref text);
+ string? text = get_prop<string> (config, "text");
+ if (text != null) this.text = text;
// Get max lines
- get_prop<int> (config, "max-lines", ref max_lines);
+ int? max_lines = get_prop<int> (config, "max-lines");
+ if (max_lines != null) this.max_lines = max_lines;
}
label_widget = new Gtk.Label (null);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/mpris/mpris.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/mpris/mpris.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/mpris/mpris.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/mpris/mpris.vala
2022-11-28 18:57:05.000000000 +0100
@@ -16,6 +16,9 @@
DBusInterface dbus_iface;
+ Gtk.Button button_prev;
+ Gtk.Button button_next;
+ Gtk.Box carousel_box;
Hdy.Carousel carousel;
Hdy.CarouselIndicatorDots carousel_dots;
@@ -31,11 +34,44 @@
set_valign (Gtk.Align.START);
set_vexpand (false);
- carousel = new Hdy.Carousel ();
+ carousel_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) {
+ visible = true,
+ };
+
+ button_prev = new Gtk.Button.from_icon_name ("go-previous",
Gtk.IconSize.BUTTON) {
+ relief = Gtk.ReliefStyle.NONE,
+ visible = false,
+ };
+ button_prev.clicked.connect (() => change_carousel_position (-1));
+
+ button_next = new Gtk.Button.from_icon_name ("go-next",
Gtk.IconSize.BUTTON) {
+ relief = Gtk.ReliefStyle.NONE,
+ visible = false,
+ };
+ button_next.clicked.connect (() => change_carousel_position (1));
+
+ carousel = new Hdy.Carousel () {
+ visible = true,
+ };
#if HAVE_LATEST_LIBHANDY
carousel.allow_scroll_wheel = true;
#endif
- add (carousel);
+ carousel.page_changed.connect ((index) => {
+ GLib.List<weak Gtk.Widget> children = carousel.get_children ();
+ int children_length = (int) children.length ();
+ if (children_length <= 1) {
+ button_prev.sensitive = false;
+ button_next.sensitive = false;
+ return;
+ }
+ button_prev.sensitive = index > 0;
+ button_next.sensitive = index < children_length - 1;
+ });
+
+ carousel_box.add (button_prev);
+ carousel_box.add (carousel);
+ carousel_box.add (button_next);
+ add (carousel_box);
carousel_dots = new Hdy.CarouselIndicatorDots ();
carousel_dots.set_carousel (carousel);
@@ -46,10 +82,12 @@
Json.Object ? config = get_config (this);
if (config != null) {
// Get image-size
- get_prop<int> (config, "image-size", ref
mpris_config.image_size);
+ int? image_size = get_prop<int> (config, "image-size");
+ if (image_size != null) mpris_config.image_size = image_size;
// Get image-border-radius
- get_prop<int> (config, "image-radius", ref
mpris_config.image_radius);
+ int? image_radius = get_prop<int> (config, "image-radius");
+ if (image_radius != null) mpris_config.image_radius =
image_radius;
// Clamp the radius
mpris_config.image_radius = mpris_config.image_radius.clamp (
0, (int) (mpris_config.image_size * 0.5));
@@ -118,6 +156,11 @@
// Scroll to the new player
carousel.scroll_to (player);
+ uint children_length = carousel.get_children ().length ();
+ if (children_length > 1) {
+ button_prev.show ();
+ button_next.show ();
+ }
}
private void remove_player (string name) {
@@ -129,7 +172,23 @@
player.destroy ();
players.remove (name);
- if (carousel.get_children ().length () == 0) hide ();
+ uint children_length = carousel.get_children ().length ();
+ if (children_length == 0) {
+ hide ();
+ }
+ if (children_length <= 1) {
+ button_prev.hide ();
+ button_next.hide ();
+ }
+ }
+
+ private void change_carousel_position (int delta) {
+ GLib.List<weak Gtk.Widget> children = carousel.get_children ();
+ int children_length = (int) children.length ();
+ if (children_length == 0) return;
+ int position = ((int) carousel.position + delta).clamp (
+ 0, children_length - 1);
+ carousel.scroll_to (children.nth_data (position));
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/title/title.vala
new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/title/title.vala
--- old/SwayNotificationCenter-0.7.2/src/controlCenter/widgets/title/title.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/controlCenter/widgets/title/title.vala
2022-11-28 18:57:05.000000000 +0100
@@ -20,10 +20,14 @@
Json.Object ? config = get_config (this);
if (config != null) {
// Get title
- get_prop<string> (config, "text", ref title);
+ string? title = get_prop<string> (config, "text");
+ if (title != null) this.title = title;
// Get has clear-all-button
- get_prop<bool> (config, "clear-all-button", ref
has_clear_all_button);
- get_prop<string> (config, "button-text", ref button_text);
+ bool? has_clear_all_button = get_prop<bool> (config,
"clear-all-button");
+ if (has_clear_all_button != null) this.has_clear_all_button =
has_clear_all_button;
+ // Get button text
+ string? button_text = get_prop<string> (config, "button-text");
+ if (button_text != null) this.button_text = button_text;
}
title_widget = new Gtk.Label (title);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/src/functions.vala
new/SwayNotificationCenter-0.7.3/src/functions.vala
--- old/SwayNotificationCenter-0.7.2/src/functions.vala 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/functions.vala 2022-11-28
18:57:05.000000000 +0100
@@ -70,6 +70,8 @@
* with default GTK style properties
*/
public static bool load_css (string ? style_path) {
+ int css_priority = ConfigModel.instance.cssPriority.get_priority
();
+
try {
// Load packaged CSS as backup
string system_css = get_style_path (null, true);
@@ -77,25 +79,33 @@
Gtk.StyleContext.add_provider_for_screen (
Gdk.Screen.get_default (),
system_css_provider,
- Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+ css_priority);
+ } catch (Error e) {
+ print ("Load packaged CSS Error: %s\n", e.message);
+ return false;
+ }
+ try {
// Load user CSS
string user_css = get_style_path (style_path);
user_css_provider.load_from_path (user_css);
Gtk.StyleContext.add_provider_for_screen (
Gdk.Screen.get_default (),
user_css_provider,
- Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+ css_priority);
return true;
} catch (Error e) {
- print ("Load CSS Error: %s\n", e.message);
+ print ("Load user CSS Error: %s\n", e.message);
return false;
}
}
public static string get_style_path (owned string ? custom_path,
bool only_system = false) {
- string[] paths = {};
+ string[] paths = {
+ // Fallback location. Specified in postinstall.py
+ "/usr/local/etc/xdg/swaync/style.css"
+ };
if (custom_path != null && custom_path.length > 0) {
// Replaces the home directory relative path with a absolute
path
if (custom_path.get (0) == '~') {
@@ -130,7 +140,10 @@
}
public static string get_config_path (owned string ? custom_path) {
- string[] paths = {};
+ string[] paths = {
+ // Fallback location. Specified in postinstall.py
+ "/usr/local/etc/xdg/swaync/config.json"
+ };
if (custom_path != null && custom_path.length > 0) {
// Replaces the home directory relative path with a absolute
path
if (custom_path.get (0) == '~') {
@@ -212,8 +225,8 @@
Cairo.Surface scale_surf = Gdk.cairo_surface_create_from_pixbuf
(pixbuf,
img_scale,
null);
- int width = pixbuf.width;
- int height = pixbuf.height;
+ int width = pixbuf.width / img_scale;
+ int height = pixbuf.height / img_scale;
double window_ratio = (double) buffer_width / buffer_height;
double bg_ratio = width / height;
if (window_ratio > bg_ratio) { // Taller wallpaper than monitor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/src/main.vala
new/SwayNotificationCenter-0.7.3/src/main.vala
--- old/SwayNotificationCenter-0.7.2/src/main.vala 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/main.vala 2022-11-28
18:57:05.000000000 +0100
@@ -37,8 +37,8 @@
}
}
- Functions.load_css (style_path);
ConfigModel.init (config_path);
+ Functions.load_css (style_path);
swaync_daemon = new SwayncDaemon ();
Bus.own_name (BusType.SESSION, "org.erikreider.swaync.cc",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/notiDaemon/notiDaemon.vala
new/SwayNotificationCenter-0.7.3/src/notiDaemon/notiDaemon.vala
--- old/SwayNotificationCenter-0.7.2/src/notiDaemon/notiDaemon.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/notiDaemon/notiDaemon.vala
2022-11-28 18:57:05.000000000 +0100
@@ -172,16 +172,18 @@
synchronous_ids.set (param.synchronous, id);
}
- // Only show popup notification if it is ENABLED
- if (state == NotificationStatusEnum.ENABLED
+ // Only show popup notification if it is ENABLED or TRANSIENT
+ if ((state == NotificationStatusEnum.ENABLED || state ==
NotificationStatusEnum.TRANSIENT)
&& !control_center.get_visibility ()) {
if (param.urgency == UrgencyLevels.CRITICAL ||
(!dnd && param.urgency != UrgencyLevels.CRITICAL)) {
NotificationWindow.instance.add_notification (param, this);
}
}
- // Only add notification to CC if it isn't IGNORED and not
transient
- if (state != NotificationStatusEnum.IGNORED && !param.transient) {
+ // Only add notification to CC if it isn't IGNORED and not
transient/TRANSIENT
+ if (state != NotificationStatusEnum.IGNORED
+ && state != NotificationStatusEnum.TRANSIENT
+ && !param.transient) {
control_center.add_notification (param, this);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/SwayNotificationCenter-0.7.2/src/swayncDaemon/swayncDaemon.vala
new/SwayNotificationCenter-0.7.3/src/swayncDaemon/swayncDaemon.vala
--- old/SwayNotificationCenter-0.7.2/src/swayncDaemon/swayncDaemon.vala
2022-09-22 22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/src/swayncDaemon/swayncDaemon.vala
2022-11-28 18:57:05.000000000 +0100
@@ -153,6 +153,8 @@
/** Reloads the config file */
public void reload_config () throws Error {
+ print ("\n");
+ message ("Reloading config\n");
ConfigModel.reload_config ();
noti_daemon.control_center.add_widgets ();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/SwayNotificationCenter-0.7.2/swaync.rpkg.spec
new/SwayNotificationCenter-0.7.3/swaync.rpkg.spec
--- old/SwayNotificationCenter-0.7.2/swaync.rpkg.spec 2022-09-22
22:58:44.000000000 +0200
+++ new/SwayNotificationCenter-0.7.3/swaync.rpkg.spec 1970-01-01
01:00:00.000000000 +0100
@@ -1,76 +0,0 @@
-# vim: syntax=spec
-Name: {{{ git_dir_name }}}
-Version: 0.7.2
-Release: 1%{?dist}
-Summary: Notification daemon with GTK GUI
-Provides: desktop-notification-daemon
-License: GPLv3
-URL: https://github.com/ErikReider/SwayNotificationCenter
-VCS: {{{ git_dir_vcs }}}
-Source: {{{ git_dir_pack }}}
-
-BuildRequires: meson >= 0.51.0
-BuildRequires: vala
-
-BuildRequires: gtk3-devel >= 3.22
-BuildRequires: gtk-layer-shell-devel >= 0.1
-Requires: dbus
-BuildRequires: glib2-devel >= 2.50
-BuildRequires: gobject-introspection-devel >= 1.68
-BuildRequires: libgee-devel >= 0.20
-BuildRequires: json-glib-devel >= 1.0
-BuildRequires: libhandy-devel >= 1.4.0
-BuildRequires: systemd-devel
-BuildRequires: systemd
-BuildRequires: scdoc
-%{?systemd_requires}
-
-%description
-A simple notification daemon with a GTK gui for notifications and the control
center
-
-%prep
-{{{ git_dir_setup_macro }}}
-
-%build
-%meson
-%meson_build
-
-%install
-%meson_install
-
-%post
-%systemd_user_post swaync.service
-
-%preun
-%systemd_user_preun swaync.service
-
-%files
-%doc README.md
-%{_bindir}/swaync-client
-%{_bindir}/swaync
-%license COPYING
-%{_sysconfdir}/xdg/swaync/configSchema.json
-%{_sysconfdir}/xdg/swaync/config.json
-%{_sysconfdir}/xdg/swaync/style.css
-%{_userunitdir}/swaync.service
-%dir %{_datadir}/bash-completion
-%dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/swaync
-%{_datadir}/bash-completion/completions/swaync-client
-%{_datadir}/dbus-1/services/org.erikreider.swaync.service
-%dir %{_datadir}/fish
-%dir %{_datadir}/fish/vendor_completions.d
-%{_datadir}/fish/vendor_completions.d/swaync-client.fish
-%{_datadir}/fish/vendor_completions.d/swaync.fish
-%dir %{_datadir}/zsh
-%dir %{_datadir}/zsh/site-functions
-%{_datadir}/zsh/site-functions/_swaync
-%{_datadir}/zsh/site-functions/_swaync-client
-%{_datadir}/glib-2.0/schemas/org.erikreider.swaync.gschema.xml
-%{_mandir}/man1/swaync-client.1.gz
-%{_mandir}/man1/swaync.1.gz
-%{_mandir}/man5/swaync.5.gz
-
-# Changelog will be empty until you make first annotated Git tag.
-%changelog
-{{{ git_dir_changelog }}}
++++++ SwayNotificationCenter.obsinfo ++++++
--- /var/tmp/diff_new_pack.0zBM2P/_old 2022-11-29 13:23:35.998058909 +0100
+++ /var/tmp/diff_new_pack.0zBM2P/_new 2022-11-29 13:23:36.002058928 +0100
@@ -1,5 +1,5 @@
name: SwayNotificationCenter
-version: 0.7.2
-mtime: 1663880324
-commit: 2663f6342c63fd3eaa32763224693ef590545c57
+version: 0.7.3
+mtime: 1669658225
+commit: 8371ace245c7403d563eb816975eab57829bd1a7
++++++ _service ++++++
--- /var/tmp/diff_new_pack.0zBM2P/_old 2022-11-29 13:23:36.026059047 +0100
+++ /var/tmp/diff_new_pack.0zBM2P/_new 2022-11-29 13:23:36.030059067 +0100
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param
name="url">https://github.com/ErikReider/SwayNotificationCenter.git</param>
- <param name="revision">v0.7.2</param>
+ <param name="revision">v0.7.3</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
@@ -12,6 +12,6 @@
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
- <service name="set_version" mode="buildtime"/>
+ <service name="set_version" mode="manual"/>
</services>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.0zBM2P/_old 2022-11-29 13:23:36.050059166 +0100
+++ /var/tmp/diff_new_pack.0zBM2P/_new 2022-11-29 13:23:36.054059186 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/ErikReider/SwayNotificationCenter.git</param>
- <param
name="changesrevision">2663f6342c63fd3eaa32763224693ef590545c57</param></service></servicedata>
+ <param
name="changesrevision">8371ace245c7403d563eb816975eab57829bd1a7</param></service></servicedata>
(No newline at EOF)