Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wayshot for openSUSE:Factory checked 
in at 2025-07-17 17:19:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wayshot (Old)
 and      /work/SRC/openSUSE:Factory/.wayshot.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wayshot"

Thu Jul 17 17:19:23 2025 rev:16 rq:1294064 
version:1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf

Changes:
--------
--- /work/SRC/openSUSE:Factory/wayshot/wayshot.changes  2025-06-26 
11:39:19.849802395 +0200
+++ /work/SRC/openSUSE:Factory/.wayshot.new.8875/wayshot.changes        
2025-07-17 17:20:55.761158237 +0200
@@ -1,0 +2,10 @@
+Thu Jul 17 02:24:13 UTC 2025 - Soc Virnyl Estela 
<uncomfyhaloma...@opensuse.org>
+
+- Update to version 1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf:
+  * fix: not work on niri
+  * chore: fmt fix
+  * refactor: update to new waysip api
+  * Revert "refactor: update code to match new API from libwaysip 0.4"
+  * refactor: update code to match new API from libwaysip 0.4
+
+-------------------------------------------------------------------
@@ -267,2 +276,0 @@
-
-

Old:
----
  wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5.tar.zst

New:
----
  wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf.tar.zst

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

Other differences:
------------------
++++++ wayshot.spec ++++++
--- /var/tmp/diff_new_pack.8yH8me/_old  2025-07-17 17:20:56.933207081 +0200
+++ /var/tmp/diff_new_pack.8yH8me/_new  2025-07-17 17:20:56.937207247 +0200
@@ -19,7 +19,7 @@
 %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 
 Name:           wayshot
-Version:        1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5
+Version:        1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf
 Release:        0
 Summary:        Screenshot tool for wlroots based compositors
 License:        (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND 
(Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND 
(Apache-2.0 OR Zlib OR MIT) AND BSD-3-Clause AND ISC AND MIT AND Zlib AND 
BSD-2-Clause

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/wayshot/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.wayshot.new.8875/vendor.tar.zst differ: char 7, 
line 1

++++++ wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5.tar.zst -> 
wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/Cargo.lock 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/Cargo.lock
--- 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/Cargo.lock    
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/Cargo.lock    
    1970-01-01 01:00:00.000000000 +0100
@@ -949,9 +949,9 @@
 
 [[package]]
 name = "libwaysip"
-version = "0.3.0"
+version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "04c500526d9e9bf4ed4cfedc5bcc73e48bf4bbe4b4a832275eb71a67fd4027d6"
+checksum = "f5eef61a9d82cfed0d0897c3b629c9085799c5819e0eea1ab3abc3127535400f"
 dependencies = [
  "cairo-rs",
  "memmap2",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/libwayshot/src/lib.rs
 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/libwayshot/src/lib.rs
--- 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/libwayshot/src/lib.rs
     1970-01-01 01:00:00.000000000 +0100
+++ 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/libwayshot/src/lib.rs
     1970-01-01 01:00:00.000000000 +0100
@@ -863,7 +863,7 @@
 
         let mut layer_shell_surfaces = Vec::with_capacity(frames.len());
 
-        for (frame_copy, frame_guard, output_info) in frames {
+        for (_, frame_guard, output_info) in frames {
             tracing::span!(
                 tracing::Level::DEBUG,
                 "overlay_frames::surface",
@@ -882,11 +882,7 @@
                 );
 
                 layer_surface.set_exclusive_zone(-1);
-                layer_surface.set_anchor(Anchor::Top | Anchor::Left);
-                layer_surface.set_size(
-                    frame_copy.frame_format.size.width,
-                    frame_copy.frame_format.size.height,
-                );
+                layer_surface.set_anchor(Anchor::all());
 
                 debug!("Committing surface creation changes.");
                 surface.commit();
@@ -911,7 +907,7 @@
                 debug!("Committing surface with attached buffer.");
                 surface.commit();
                 layer_shell_surfaces.push((surface, layer_surface));
-                event_queue.blocking_dispatch(&mut state)?;
+                event_queue.roundtrip(&mut state)?;
 
                 Ok(())
             })?;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/wayshot/Cargo.toml
 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/wayshot/Cargo.toml
--- 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/wayshot/Cargo.toml
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/wayshot/Cargo.toml
        1970-01-01 01:00:00.000000000 +0100
@@ -43,7 +43,7 @@
 toml = { version = "0.8.23", default-features = false, features = ["parse"] }
 serde = { version = "1.0.219", features = ["derive"] }
 dirs = "6.0.0"
-libwaysip = "0.3.0"
+libwaysip = "0.4"
 
 [[bin]]
 name = "wayshot"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/wayshot/src/utils.rs
 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/wayshot/src/utils.rs
--- 
old/wayshot-1.3.1+git50.gf7dee21c16980eaabd1394b79ec42710e00bf6e5/wayshot/src/utils.rs
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/wayshot-1.3.1+git56.g28331dcc3886f8b9e6bc09f9951fe59744c16acf/wayshot/src/utils.rs
      1970-01-01 01:00:00.000000000 +0100
@@ -13,7 +13,10 @@
 use libwayshot::Result;
 use libwayshot::region::{LogicalRegion, Position, Region, Size};
 
-pub fn waysip_to_region(size: libwaysip::Size, point: libwaysip::Point) -> 
Result<LogicalRegion> {
+pub fn waysip_to_region(
+    size: libwaysip::Size,
+    position: libwaysip::Position,
+) -> Result<LogicalRegion> {
     let size: Size = Size {
         width: size.width.try_into().map_err(|_| {
             libwayshot::Error::FreezeCallbackError("width cannot be 
negative".to_string())
@@ -23,8 +26,8 @@
         })?,
     };
     let position: Position = Position {
-        x: point.x,
-        y: point.y,
+        x: position.x,
+        y: position.y,
     };
 
     Ok(LogicalRegion {

Reply via email to