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-07-26 13:23:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fnott (Old) and /work/SRC/openSUSE:Factory/.fnott.new.15225 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fnott" Wed Jul 26 13:23:59 2023 rev:6 rq:1100611 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/fnott/fnott.changes 2023-06-23 21:53:56.211072992 +0200 +++ /work/SRC/openSUSE:Factory/.fnott.new.15225/fnott.changes 2023-07-26 13:25:04.220407533 +0200 @@ -1,0 +2,14 @@ +Tue Jul 18 08:27:09 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com> + +- Remove the following patches as they are already part of the new release + * 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 +- Update to 1.4.1 + * Compilation errors with clang 15.x + * Notifications initially positioned outside the screen not being visible after being moved up in the notification stack. + +------------------------------------------------------------------- Old: ---- 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 1.4.0.tar.gz New: ---- 1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fnott.spec ++++++ --- /var/tmp/diff_new_pack.nbDDdP/_old 2023-07-26 13:25:04.852411347 +0200 +++ /var/tmp/diff_new_pack.nbDDdP/_new 2023-07-26 13:25:04.856411370 +0200 @@ -17,19 +17,13 @@ Name: fnott -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: Lightweight notification daemon for Wayland License: MIT 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 ++++++ 1.4.0.tar.gz -> 1.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/.woodpecker.yml new/fnott/.woodpecker.yml --- old/fnott/.woodpecker.yml 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/.woodpecker.yml 2023-07-14 08:41:24.000000000 +0200 @@ -33,7 +33,7 @@ image: alpine:latest commands: - apk update - - apk add musl-dev linux-headers meson ninja gcc scdoc + - apk add musl-dev linux-headers meson ninja gcc clang scdoc - apk add pixman-dev freetype-dev fontconfig-dev libpng-dev dbus-dev - apk add wayland-dev wayland-protocols wlroots-dev - apk add git @@ -44,12 +44,19 @@ - ninja -C bld/debug-x64 -v -k0 - bld/debug-x64/fnott --version - # Release + # Release (gcc) - mkdir -p bld/release-x64 - meson --buildtype=release . bld/release-x64 - ninja -C bld/release-x64 -v -k0 - bld/release-x64/fnott --version + # Release (clang) + - mkdir -p bld/release-x64-clang + - CC=clang meson --buildtype=release . bld/release-x64-clang + - ninja -C bld/release-x64-clang -v -k0 + - bld/release-x64-clang/fnott --version + + x86: when: branch: @@ -59,7 +66,7 @@ image: i386/alpine:latest commands: - apk update - - apk add musl-dev linux-headers meson ninja gcc scdoc + - apk add musl-dev linux-headers meson ninja gcc clang scdoc - apk add pixman-dev freetype-dev fontconfig-dev libpng-dev dbus-dev - apk add wayland-dev wayland-protocols wlroots-dev - apk add git @@ -70,8 +77,14 @@ - ninja -C bld/debug-x86 -v -k0 - bld/debug-x86/fnott --version - # Release + # Release (gcc) - mkdir -p bld/release-x86 - meson --buildtype=release . bld/release-x86 - ninja -C bld/release-x86 -v -k0 - bld/release-x86/fnott --version + + # Release (clang) + - mkdir -p bld/release-x86-clang + - CC=clang meson --buildtype=release . bld/release-x86-clang + - ninja -C bld/release-x86-clang -v -k0 + - bld/release-x86-clang/fnott --version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/CHANGELOG.md new/fnott/CHANGELOG.md --- old/fnott/CHANGELOG.md 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/CHANGELOG.md 2023-07-14 08:41:24.000000000 +0200 @@ -1,5 +1,6 @@ # Changelog +* [1.4.1](#1-4-1) * [1.4.0](#1-4-0) * [1.3.0](#1-3-0) * [1.2.1](#1-2-1) @@ -11,6 +12,17 @@ * [1.0.0](#1-0-0) +## 1.4.1 + +### 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 + + ## 1.4.0 ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/PKGBUILD new/fnott/PKGBUILD --- old/fnott/PKGBUILD 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/PKGBUILD 2023-07-14 08:41:24.000000000 +0200 @@ -1,5 +1,5 @@ pkgname=fnott -pkgver=1.4.0 +pkgver=1.4.1 pkgrel=1 pkgdesc="Lightweight notification daemon for Wayland" arch=('x86_64' 'aarch64') @@ -10,6 +10,7 @@ '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' || diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/char32.c new/fnott/char32.c --- old/fnott/char32.c 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/char32.c 2023-07-14 08:41:24.000000000 +0200 @@ -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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/meson.build new/fnott/meson.build --- old/fnott/meson.build 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/meson.build 2023-07-14 08:41:24.000000000 +0200 @@ -1,5 +1,5 @@ project('fnott', 'c', - version: '1.4.0', + version: '1.4.1', license: 'MIT', meson_version: '>=0.58.0', default_options: [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/notification.c new/fnott/notification.c --- old/fnott/notification.c 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/notification.c 2023-07-14 08:41:24.000000000 +0200 @@ -1836,6 +1836,9 @@ 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); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fnott/uri.c new/fnott/uri.c --- old/fnott/uri.c 2023-03-31 10:07:35.000000000 +0200 +++ new/fnott/uri.c 2023-07-14 08:41:24.000000000 +0200 @@ -178,7 +178,7 @@ 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 '%' */