Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fnott for openSUSE:Factory checked 
in at 2023-06-23 21:53:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fnott (Old)
 and      /work/SRC/openSUSE:Factory/.fnott.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fnott"

Fri Jun 23 21:53:46 2023 rev:5 rq:1094891 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/fnott/fnott.changes      2023-04-06 
15:57:47.864924703 +0200
+++ /work/SRC/openSUSE:Factory/.fnott.new.15902/fnott.changes   2023-06-23 
21:53:56.211072992 +0200
@@ -1,0 +2,20 @@
+Fri Jun 16 13:13:42 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Add the following patches:
+  * 0000-unreleased-changelog.patch
+  * 0001-decoded-len-unused.patch
+  * 0002-include-stdc-predef.patch
+  * 0003-clang-fixes-on-changelog.patch
+  * 0004-pkgbuild-on-changelog.patch
+  * 0005-clang-plus-notification-stack-fix.patch (originally as 
0000-clang-plus-notification-stack-fix.patch)
+
+- These patches bring some small improvements and fixes
+
+-------------------------------------------------------------------
+Fri Jun 16 12:37:10 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Add 0000-clang-plus-notification-stack-fix.patch
+  * Notifications initially positioned outside the screen not being
+  * visible after being moved up in the notification stack.
+
+-------------------------------------------------------------------

New:
----
  0000-unreleased-changelog.patch
  0001-decoded-len-unused.patch
  0002-include-stdc-predef.patch
  0003-clang-fixes-on-changelog.patch
  0004-pkgbuild-on-changelog.patch
  0005-clang-plus-notification-stack-fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fnott.spec ++++++
--- /var/tmp/diff_new_pack.dOR4PK/_old  2023-06-23 21:53:56.719075903 +0200
+++ /var/tmp/diff_new_pack.dOR4PK/_new  2023-06-23 21:53:56.723075926 +0200
@@ -24,6 +24,12 @@
 Group:          System/GUI/Other
 URL:            https://codeberg.org/dnkl/fnott
 Source0:        https://codeberg.org/dnkl/fnott/archive/%{version}.tar.gz
+Patch0:         
https://codeberg.org/dnkl/fnott/commit/54500cdbc82dd9e140e80c283180e4f28a7a1d9e.patch#/0000-unreleased-changelog.patch
+Patch1:         
https://codeberg.org/dnkl/fnott/commit/cee8e61a02ccd85112b819270f1f2afcf812e75c.patch#/0001-decoded-len-unused.patch
+Patch2:         
https://codeberg.org/dnkl/fnott/commit/543df54c54fbd0a40e4ce1003e1bcf45dbefdb63.patch#/0002-include-stdc-predef.patch
+Patch3:         
https://codeberg.org/dnkl/fnott/commit/059cdb6aa397de39e29273133a1300af490014fa.patch#/0003-clang-fixes-on-changelog.patch
+Patch4:         
https://codeberg.org/dnkl/fnott/commit/ef971871c4393feed13beb17a2dacf64fef2407c.patch#/0004-pkgbuild-on-changelog.patch
+Patch5:         
https://codeberg.org/dnkl/fnott/commit/e5843c62d7347842f40b1ca476e1709d60dda17e.patch#/0005-clang-plus-notification-stack-fix.patch
 BuildRequires:  meson >= 0.58
 BuildRequires:  pkgconfig
 BuildRequires:  python3
@@ -48,7 +54,7 @@
 Lightweight notification daemon for Wayland.
 
 %prep
-%autosetup -n %{name}
+%autosetup -p1 -n %{name}
 
 %package        zsh-completion
 Summary:        Zsh Completion for %{name}

++++++ 0000-unreleased-changelog.patch ++++++
>From 54500cdbc82dd9e140e80c283180e4f28a7a1d9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Fri, 31 Mar 2023 10:09:11 +0200
Subject: [PATCH] =?UTF-8?q?changelog:=20add=20a=20new=20=E2=80=98unrelease?=
 =?UTF-8?q?d=E2=80=99=20section?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 CHANGELOG.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 687aacb..b8f84f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
 # Changelog
 
+* [Unreleased](#unreleased)
 * [1.4.0](#1-4-0)
 * [1.3.0](#1-3-0)
 * [1.2.1](#1-2-1)
@@ -11,6 +12,16 @@
 * [1.0.0](#1-0-0)
 
 
+## Unreleased
+### Added
+### Changed
+### Deprecated
+### Removed
+### Fixed
+### Security
+### Contributors
+
+
 ## 1.4.0
 
 ### Added

++++++ 0001-decoded-len-unused.patch ++++++
>From cee8e61a02ccd85112b819270f1f2afcf812e75c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Fri, 31 Mar 2023 13:07:52 +0200
Subject: [PATCH] uri: deocoded_len is unused

---
 uri.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uri.c b/uri.c
index 7b35e70..53cee41 100644
--- a/uri.c
+++ b/uri.c
@@ -178,7 +178,7 @@ uri_parse(const char *uri, size_t len,
         char *p = decoded;
 
         size_t encoded_len = path_len;
-        size_t decoded_len = 0;
+        size_t decoded_len __attribute__((unused)) = 0;
 
         while (true) {
             /* Find next '%' */

++++++ 0002-include-stdc-predef.patch ++++++
>From 543df54c54fbd0a40e4ce1003e1bcf45dbefdb63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Fri, 31 Mar 2023 13:08:19 +0200
Subject: [PATCH] char32: include stdc-predef.h to ensure we pull in
 __STDC_ISO_10646__

---
 char32.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/char32.c b/char32.c
index b3eda5b..5d80d88 100644
--- a/char32.c
+++ b/char32.c
@@ -7,6 +7,11 @@
 #include <wctype.h>
 #include <wchar.h>
 
+#if defined __has_include
+ #if __has_include (<stdc-predef.h>)
+   #include <stdc-predef.h>
+ #endif
+#endif
 
 #define LOG_MODULE "char32"
 #define LOG_ENABLE_DBG 0

++++++ 0003-clang-fixes-on-changelog.patch ++++++
>From 059cdb6aa397de39e29273133a1300af490014fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Fri, 31 Mar 2023 13:12:31 +0200
Subject: [PATCH] changelog: clang 15.x compilation fixes

---
 CHANGELOG.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8f84f6..d7f0479 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,12 @@
 ### Deprecated
 ### Removed
 ### Fixed
+
+* Compilation errors with clang 15.x ([#96][96])
+
+[96]: https://codeberg.org/dnkl/fnott/issues/96
+
+
 ### Security
 ### Contributors
 

++++++ 0004-pkgbuild-on-changelog.patch ++++++
>From ef971871c4393feed13beb17a2dacf64fef2407c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Tue, 13 Jun 2023 17:08:46 +0200
Subject: [PATCH] pkgbuild: add changelog

---
 PKGBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PKGBUILD b/PKGBUILD
index 01810e0..55e038e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ depends=(
   'wayland' 'pixman' 'libpng' 'dbus'
   'fcft>=3.0.0' 'fcft<4.0.0')
 source=()
+changelog=CHANGELOG.md
 
 pkgver() {
   cd ../.git &> /dev/null && git describe --tags --long | sed 
's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||

++++++ 0005-clang-plus-notification-stack-fix.patch ++++++
>From e5843c62d7347842f40b1ca476e1709d60dda17e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <dan...@ekloef.se>
Date: Tue, 13 Jun 2023 17:08:53 +0200
Subject: [PATCH] =?UTF-8?q?notification:=20commit=20surface,=20even=20when?=
 =?UTF-8?q?=20there=E2=80=99s=20already=20a=20pending=20buffer?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This is necessary to push e.g. margin changes to the compositor.
---
 CHANGELOG.md   | 2 ++
 notification.c | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d7f0479..510208f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,8 @@
 ### Fixed
 
 * Compilation errors with clang 15.x ([#96][96])
+* Notifications initially positioned outside the screen not being
+  visible after being moved up in the notification stack.
 
 [96]: https://codeberg.org/dnkl/fnott/issues/96
 
diff --git a/notification.c b/notification.c
index 8c56ef2..d8e412a 100644
--- a/notification.c
+++ b/notification.c
@@ -1836,6 +1836,9 @@ notif_show(struct notif *notif, int y)
         if (notif->pending != NULL)
             notif->pending->busy = false;
         notif->pending = buf;
+
+        /* Commit size+margins, but not the new buffer */
+        wl_surface_commit(notif->surface);
     } else {
         assert(notif->pending == NULL);
         commit_buffer(notif, buf);

Reply via email to