Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package swaylock for openSUSE:Factory checked in at 2025-11-09 21:08:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swaylock (Old) and /work/SRC/openSUSE:Factory/.swaylock.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swaylock" Sun Nov 9 21:08:21 2025 rev:14 rq:1316539 version:1.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/swaylock/swaylock.changes 2025-08-04 15:26:18.709746601 +0200 +++ /work/SRC/openSUSE:Factory/.swaylock.new.1980/swaylock.changes 2025-11-09 21:08:55.081695343 +0100 @@ -1,0 +2,9 @@ +Sat Nov 8 08:32:52 UTC 2025 - Michael Vetter <[email protected]> + +- Update to 1.8.4: + * Update layout indicator as soon as layout changes + * Check for pending callback on destroy_surface + * Clarify setup instructions without PAM + * Fix missing include for sigaction + +------------------------------------------------------------------- Old: ---- swaylock-1.8.3.obscpio New: ---- swaylock-1.8.4.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swaylock.spec ++++++ --- /var/tmp/diff_new_pack.qJMqM1/_old 2025-11-09 21:08:55.769724117 +0100 +++ /var/tmp/diff_new_pack.qJMqM1/_new 2025-11-09 21:08:55.773724284 +0100 @@ -1,7 +1,7 @@ # # spec file for package swaylock # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: swaylock -Version: 1.8.3 +Version: 1.8.4 Release: 0 Summary: Screen locker for Wayland License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.qJMqM1/_old 2025-11-09 21:08:55.809725790 +0100 +++ /var/tmp/diff_new_pack.qJMqM1/_new 2025-11-09 21:08:55.809725790 +0100 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/swaywm/swaylock.git</param> - <param name="revision">v1.8.3</param> + <param name="revision">v1.8.4</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">disable</param> ++++++ swaylock-1.8.3.obscpio -> swaylock-1.8.4.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swaylock-1.8.3/README.md new/swaylock-1.8.4/README.md --- old/swaylock-1.8.3/README.md 2025-08-03 13:46:57.000000000 +0200 +++ new/swaylock-1.8.4/README.md 2025-11-06 10:06:57.000000000 +0100 @@ -42,8 +42,24 @@ ninja -C build sudo ninja -C build install -On systems without PAM, you need to suid the swaylock binary: +##### Without PAM + +On systems without PAM, swaylock uses `shadow.h`. + +Systems which rely on a tcb-like setup (either via musl's native support or via +glibc+[tcb]), require no further action. + +[tcb]: https://www.openwall.com/tcb/ + +For most other systems, where passwords for all users are stored in `/etc/shadow`, +swaylock needs to be installed suid: sudo chmod a+s /usr/local/bin/swaylock +Optionally, on systems where the file `/etc/shadow` is owned by the `shadow` +group, the binary can be made sgid instead: + + sudo chgrp shadow /usr/local/bin/swaylock + sudo chmod g+s /usr/local/bin/swaylock + Swaylock will drop root permissions shortly after startup. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swaylock-1.8.3/comm.c new/swaylock-1.8.4/comm.c --- old/swaylock-1.8.3/comm.c 2025-08-03 13:46:57.000000000 +0200 +++ new/swaylock-1.8.4/comm.c 2025-11-06 10:06:57.000000000 +0100 @@ -1,4 +1,5 @@ #include <assert.h> +#include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <sys/types.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swaylock-1.8.3/main.c new/swaylock-1.8.4/main.c --- old/swaylock-1.8.3/main.c 2025-08-03 13:46:57.000000000 +0200 +++ new/swaylock-1.8.4/main.c 2025-11-06 10:06:57.000000000 +0100 @@ -92,6 +92,9 @@ } static void destroy_surface(struct swaylock_surface *surface) { + if (surface->frame != NULL) { + wl_callback_destroy(surface->frame); + } wl_list_remove(&surface->link); if (surface->ext_session_lock_surface_v1 != NULL) { ext_session_lock_surface_v1_destroy(surface->ext_session_lock_surface_v1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swaylock-1.8.3/meson.build new/swaylock-1.8.4/meson.build --- old/swaylock-1.8.3/meson.build 2025-08-03 13:46:57.000000000 +0200 +++ new/swaylock-1.8.4/meson.build 2025-11-06 10:06:57.000000000 +0100 @@ -1,7 +1,7 @@ project( 'swaylock', 'c', - version: '1.8.3', + version: '1.8.4', license: 'MIT', meson_version: '>=0.59.0', default_options: [ @@ -110,8 +110,9 @@ sources += ['pam.c'] dependencies += [libpam] else - warning('The swaylock binary must be setuid when compiled without libpam') + warning('The swaylock binary often needs to be setuid when compiled without libpam') warning('You must do this manually post-install: chmod a+s /path/to/swaylock') + warning('See the "Without PAM" section of the README for details.') sources += ['shadow.c'] dependencies += [crypt] endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swaylock-1.8.3/seat.c new/swaylock-1.8.4/seat.c --- old/swaylock-1.8.3/seat.c 2025-08-03 13:46:57.000000000 +0200 +++ new/swaylock-1.8.4/seat.c 2025-11-06 10:06:57.000000000 +0100 @@ -92,14 +92,11 @@ int layout_same = xkb_state_layout_index_is_active(state->xkb.state, group, XKB_STATE_LAYOUT_EFFECTIVE); - if (!layout_same) { - damage_state(state); - } xkb_state_update_mask(state->xkb.state, mods_depressed, mods_latched, mods_locked, 0, 0, group); int caps_lock = xkb_state_mod_name_is_active(state->xkb.state, XKB_MOD_NAME_CAPS, XKB_STATE_MODS_LOCKED); - if (caps_lock != state->xkb.caps_lock) { + if (caps_lock != state->xkb.caps_lock || !layout_same) { state->xkb.caps_lock = caps_lock; damage_state(state); } ++++++ swaylock.obsinfo ++++++ --- /var/tmp/diff_new_pack.qJMqM1/_old 2025-11-09 21:08:55.985733150 +0100 +++ /var/tmp/diff_new_pack.qJMqM1/_new 2025-11-09 21:08:55.985733150 +0100 @@ -1,5 +1,5 @@ name: swaylock -version: 1.8.3 -mtime: 1754221617 -commit: b0f417c488fd12b1ac9f7c3eea9b49d6221b761d +version: 1.8.4 +mtime: 1762420017 +commit: ed43580a1907ac86b5befb289fe5de03578a62e3
