Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package waylock for openSUSE:Factory checked 
in at 2024-04-21 20:26:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/waylock (Old)
 and      /work/SRC/openSUSE:Factory/.waylock.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "waylock"

Sun Apr 21 20:26:27 2024 rev:6 rq:1169298 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/waylock/waylock.changes  2024-03-18 
16:45:32.145120624 +0100
+++ /work/SRC/openSUSE:Factory/.waylock.new.26366/waylock.changes       
2024-04-21 20:27:35.430602598 +0200
@@ -1,0 +2,22 @@
+Thu Apr 18 01:33:22 UTC 2024 - Joshua Smith <smolsh...@opensuse.org>
+
+- Update to 1.0.0:
+  * Seat: don't set input color if no character input
+  * deps: update zig-wayland to fix aarch64 build
+  * Lock: ignore password submission before locked event
+  * auth: fix getting username on FreeBSD
+  * Lock: add -ignore-empty-password option
+  * docs: mention existence and usefulness of swayidle
+  * Output: don't destroy surface before role object
+  * docs: link mirrors in readme
+  * Lock: zero password buffer memory on backspace
+  * docs: resolve ambiguity in readme
+  * Lock: use an optional type for ready_fd
+  * build: update to Zig 0.11.0
+  * cli: fix -log-level since Zig 0.11.0
+  * Lock: delete last UTF-8 codepoint on backspace
+  * waylock: update help text
+  * Lock: add -ready-fd option
+  * docs: migrate to codeberg
+
+-------------------------------------------------------------------

Old:
----
  v0.6.5.tar.gz
  waylock-0.6.5.tar.gz.sig

New:
----
  waylock-1.0.0.tar.gz
  waylock-1.0.0.tar.gz.sig

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

Other differences:
------------------
++++++ waylock.spec ++++++
--- /var/tmp/diff_new_pack.08Y7ru/_old  2024-04-21 20:27:36.366636943 +0200
+++ /var/tmp/diff_new_pack.08Y7ru/_new  2024-04-21 20:27:36.366636943 +0200
@@ -16,15 +16,15 @@
 #
 
 
-%global _zig_wayland_ver   65475badb37fdfa06ac091554fdc81689a37a72a
-%global _zig_xkbcommon_ver 7b188de0ba794b52eb70340abf2469b858630816
+%global _zig_wayland_ver   73fed093301b2e5f58998aa4797ce952bd148676
+%global _zig_xkbcommon_ver 7e09b389373b060148c0ca050e0b525e118d91e7
 Name:           waylock
-Version:        0.6.5
+Version:        1.0.0
 Release:        0
 Summary:        Small screenlocker for Wayland compositors
 License:        ISC
 URL:            https://codeberg.org/ifreund/waylock
-Source0:        https://codeberg.org/ifreund/waylock/archive/v%{version}.tar.gz
+Source0:        
https://codeberg.org/ifreund/waylock/releases/download/v%{version}/waylock-%{version}.tar.gz
 Source1:        waylock.pamd
 Source2:        https://isaacfreund.com/public_key.txt#/%{name}.keyring
 Source3:        
https://codeberg.org/ifreund/waylock/releases/download/v%{version}/waylock-%{version}.tar.gz.sig
@@ -46,7 +46,7 @@
 cause the session to be unlocked.)
 
 %prep
-%setup -n %{name}
+%autosetup
 
 # Replace with configuration that works in openSUSE
 cp %{SOURCE1} ./pam.d/waylock

++++++ waylock.keyring ++++++
--- /var/tmp/diff_new_pack.08Y7ru/_old  2024-04-21 20:27:36.402638264 +0200
+++ /var/tmp/diff_new_pack.08Y7ru/_new  2024-04-21 20:27:36.406638410 +0200
@@ -49,4 +49,3 @@
 =wZyR
 -----END PGP PUBLIC KEY BLOCK-----
 
-

++++++ zig-wayland.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zig-wayland/.github/workflows/ci_build.yml 
new/zig-wayland/.github/workflows/ci_build.yml
--- old/zig-wayland/.github/workflows/ci_build.yml      2024-01-11 
03:18:02.000000000 +0100
+++ new/zig-wayland/.github/workflows/ci_build.yml      1970-01-01 
01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-# Build river and run the test suite every time a commit is pushed to master or
-# a pull request is opened against master.
-
-on:
-  push:
-    branches:
-      - master
-  pull_request:
-    branches:
-      - master
-
-name: voidlinux glibc
-
-jobs:
-  default_build:
-    name: build/test/fmt
-    runs-on: ubuntu-latest
-    container: voidlinux/voidlinux:latest
-
-    steps:
-      - name: install deps
-        run: |
-          xbps-install -Sy xbps
-          xbps-install -Suy
-          xbps-install -y wayland-devel wayland-protocols pkgconf git gcc wget 
tar xz
-
-          wget 
https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz
-          tar -xvf zig-linux-x86_64-0.11.0.tar.xz
-          mv zig-linux-x86_64-0.11.0/zig /usr/bin/
-          mv zig-linux-x86_64-0.11.0/lib /usr/lib/zig
-          zig env
-
-      - name: checkout
-        uses: actions/checkout@v2
-
-      - name: build
-        run: |
-          zig build
-
-      - name: test
-        run: |
-          zig build test
-
-      - name: fmt
-        run: |
-          zig fmt --check src/
-          zig fmt --check example/
-          zig fmt --check build.zig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zig-wayland/README.md new/zig-wayland/README.md
--- old/zig-wayland/README.md   2024-01-11 03:18:02.000000000 +0100
+++ new/zig-wayland/README.md   2024-03-15 18:21:22.000000000 +0100
@@ -2,6 +2,12 @@
 
 Zig 0.11 bindings and protocol scanner for libwayland.
 
+The main repository is on [codeberg](https://codeberg.org/ifreund/zig-wayland),
+which is where the issue tracker may be found and where contributions are 
accepted.
+
+Read-only mirrors exist on [sourcehut](https://git.sr.ht/~ifreund/zig-wayland)
+and [github](https://github.com/ifreund/zig-wayland).
+
 ## Usage
 
 A `Scanner` interface is provided which you may integrate with your 
`build.zig`:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zig-wayland/src/wayland_server_core.zig 
new/zig-wayland/src/wayland_server_core.zig
--- old/zig-wayland/src/wayland_server_core.zig 2024-01-11 03:18:02.000000000 
+0100
+++ new/zig-wayland/src/wayland_server_core.zig 2024-03-15 18:21:22.000000000 
+0100
@@ -94,8 +94,8 @@
         wl_display_set_global_filter(
             server,
             struct {
-                fn wrapper(_client: *const Client, _global: *const Global, 
_data: ?*anyopaque) callconv(.C) bool {
-                    filter(_client, _global, @ptrCast(@alignCast(_data)));
+                fn _wrapper(_client: *const Client, _global: *const Global, 
_data: ?*anyopaque) callconv(.C) bool {
+                    return filter(_client, _global, 
@ptrCast(@alignCast(_data)));
                 }
             }._wrapper,
             data,
@@ -132,7 +132,7 @@
                 fn _wrapper(_data: ?*anyopaque, _direction: 
ProtocolLogger.Type, _message: *const ProtocolLogger.LogMessage) callconv(.C) 
void {
                     func(@ptrCast(@alignCast(_data)), _direction, _message);
                 }
-            },
+            }._wrapper,
             data,
         );
     }
@@ -253,6 +253,9 @@
     extern fn wl_global_get_interface(global: *const Global) *const Interface;
     pub const getInterface = wl_global_get_interface;
 
+    extern fn wl_global_get_name(global: *const Global, client: *const Client) 
u32;
+    pub const getName = wl_global_get_name;
+
     extern fn wl_global_get_user_data(global: *const Global) ?*anyopaque;
     pub const getUserData = wl_global_get_user_data;
 };
@@ -438,13 +441,11 @@
             }
 
             pub fn prepend(head: *Self, elem: *T) void {
-                const link = if (link_field) |f| &@field(elem, @tagName(f)) 
else elem.getLink();
-                head.link.insert(link);
+                head.link.insert(linkFromElem(elem));
             }
 
             pub fn append(head: *Self, elem: *T) void {
-                const link = if (link_field) |f| &@field(elem, @tagName(f)) 
else elem.getLink();
-                head.link.prev.?.insert(link);
+                head.link.prev.?.insert(linkFromElem(elem));
             }
 
             pub fn prependList(head: *Self, other: *Self) void {
@@ -457,6 +458,22 @@
                 head.link.prev.?.insertList(&other.link);
             }
 
+            pub fn first(head: *Self) ?*T {
+                if (head.empty()) {
+                    return null;
+                } else {
+                    return elemFromLink(head.link.next.?);
+                }
+            }
+
+            pub fn last(head: *Self) ?*T {
+                if (head.empty()) {
+                    return null;
+                } else {
+                    return elemFromLink(head.link.prev.?);
+                }
+            }
+
             pub fn length(head: *const Self) usize {
                 var count: usize = 0;
                 var current = head.link.next.?;
@@ -482,7 +499,7 @@
                             .reverse => it.current.prev.?,
                         };
                         if (it.current == it.head) return null;
-                        return if (link_field) |f| @fieldParentPtr(T, 
@tagName(f), it.current) else T.fromLink(it.current);
+                        return elemFromLink(it.current);
                     }
                 };
             }
@@ -507,7 +524,7 @@
                             .reverse => it.future.prev.?,
                         };
                         if (it.current == it.head) return null;
-                        return if (link_field) |f| @fieldParentPtr(T, 
@tagName(f), it.current) else T.fromLink(it.current);
+                        return elemFromLink(it.current);
                     }
                 };
             }
@@ -524,6 +541,22 @@
                     },
                 };
             }
+
+            fn linkFromElem(elem: *T) *Link {
+                if (link_field) |f| {
+                    return &@field(elem, @tagName(f));
+                } else {
+                    return elem.getLink();
+                }
+            }
+
+            fn elemFromLink(link: *Link) *T {
+                if (link_field) |f| {
+                    return @fieldParentPtr(T, @tagName(f), link);
+                } else {
+                    return T.fromLink(link);
+                }
+            }
         };
     }
 };

++++++ zig-xkbcommon.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zig-xkbcommon/README.md new/zig-xkbcommon/README.md
--- old/zig-xkbcommon/README.md 2024-01-07 03:16:23.000000000 +0100
+++ new/zig-xkbcommon/README.md 2024-02-13 00:22:56.000000000 +0100
@@ -3,3 +3,9 @@
 [zig](https://ziglang.org/) 0.11 bindings for
 [xkbcommon](https://xkbcommon.org) that are a little
 nicer to use than the output of `zig translate-c`.
+
+The main repository is on 
[codeberg](https://codeberg.org/ifreund/zig-xkbcommon),
+which is where the issue tracker may be found and where contributions are 
accepted.
+
+Read-only mirrors exist on 
[sourcehut](https://git.sr.ht/~ifreund/zig-xkbcommon)
+and [github](https://github.com/ifreund/zig-xkbcommon).

Reply via email to