openSUSE Commits
Threads by month
- ----- 2024 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2024
- 1 participants
- 1521 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ktop for openSUSE:Factory checked in at 2024-07-26 16:15:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktop (Old)
and /work/SRC/openSUSE:Factory/.ktop.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ktop"
Fri Jul 26 16:15:57 2024 rev:5 rq:1189698 version:0.3.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/ktop/ktop.changes 2024-07-11 20:30:24.530772331 +0200
+++ /work/SRC/openSUSE:Factory/.ktop.new.1882/ktop.changes 2024-07-26 16:16:23.731868086 +0200
@@ -1,0 +2,6 @@
+Fri Jul 26 05:02:08 UTC 2024 - opensuse_buildservice(a)ojkastl.de
+
+- Update to version 0.3.7:
+ * Fixes/updates to goreleaser and github actions
+
+-------------------------------------------------------------------
Old:
----
ktop-0.3.6.obscpio
New:
----
ktop-0.3.7.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ktop.spec ++++++
--- /var/tmp/diff_new_pack.BPdU74/_old 2024-07-26 16:16:24.471897866 +0200
+++ /var/tmp/diff_new_pack.BPdU74/_new 2024-07-26 16:16:24.471897866 +0200
@@ -19,7 +19,7 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: ktop
-Version: 0.3.6
+Version: 0.3.7
Release: 0
Summary: A top-like tool for your Kubernetes clusters
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.BPdU74/_old 2024-07-26 16:16:24.503899154 +0200
+++ /var/tmp/diff_new_pack.BPdU74/_new 2024-07-26 16:16:24.507899315 +0200
@@ -3,7 +3,7 @@
<param name="url">https://github.com/vladimirvivien/ktop</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
- <param name="revision">v0.3.6</param>
+ <param name="revision">v0.3.7</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.BPdU74/_old 2024-07-26 16:16:24.527900120 +0200
+++ /var/tmp/diff_new_pack.BPdU74/_new 2024-07-26 16:16:24.531900281 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/vladimirvivien/ktop</param>
- <param name="changesrevision">3b6ffec77428dfbce5750194d01d8fbe25ab96d9</param></service></servicedata>
+ <param name="changesrevision">9ade4f20ee7a48f3c8ad871fb9db5a02519b65f5</param></service></servicedata>
(No newline at EOF)
++++++ ktop-0.3.6.obscpio -> ktop-0.3.7.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ktop-0.3.6/.github/workflows/release.yaml new/ktop-0.3.7/.github/workflows/release.yaml
--- old/ktop-0.3.6/.github/workflows/release.yaml 2024-07-08 17:47:18.000000000 +0200
+++ new/ktop-0.3.7/.github/workflows/release.yaml 2024-07-26 01:48:40.000000000 +0200
@@ -11,17 +11,17 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Go
- uses: actions/setup-go@v4
+ uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Binary release
- uses: goreleaser/goreleaser-action@v4
+ uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASER_SECRET }}
- name: Update new version in krew-index
- uses: rajatjindal/krew-release-bot(a)v0.0.43
\ No newline at end of file
+ uses: rajatjindal/krew-release-bot(a)v0.0.46
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ktop-0.3.6/.goreleaser.yml new/ktop-0.3.7/.goreleaser.yml
--- old/ktop-0.3.6/.goreleaser.yml 2024-07-08 17:47:18.000000000 +0200
+++ new/ktop-0.3.7/.goreleaser.yml 2024-07-26 01:48:40.000000000 +0200
@@ -1,3 +1,5 @@
+version: 2
+
project_name: ktop
release:
@@ -99,9 +101,10 @@
- name: ktop
ids:
- ktop
- tap:
+ repository:
owner: vladimirvivien
name: homebrew-oss-tools
+ branch: main
commit_author:
name: vladimirvivien
email: vladimir.vivien(a)gmail.com
++++++ ktop.obsinfo ++++++
--- /var/tmp/diff_new_pack.BPdU74/_old 2024-07-26 16:16:24.727908169 +0200
+++ /var/tmp/diff_new_pack.BPdU74/_new 2024-07-26 16:16:24.731908330 +0200
@@ -1,5 +1,5 @@
name: ktop
-version: 0.3.6
-mtime: 1720453638
-commit: 3b6ffec77428dfbce5750194d01d8fbe25ab96d9
+version: 0.3.7
+mtime: 1721951320
+commit: 9ade4f20ee7a48f3c8ad871fb9db5a02519b65f5
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/ktop/vendor.tar.gz /work/SRC/openSUSE:Factory/.ktop.new.1882/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package river for openSUSE:Factory checked in at 2024-07-26 16:15:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/river (Old)
and /work/SRC/openSUSE:Factory/.river.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "river"
Fri Jul 26 16:15:52 2024 rev:24 rq:1189688 version:0.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/river/river.changes 2024-07-16 22:05:37.876890922 +0200
+++ /work/SRC/openSUSE:Factory/.river.new.1882/river.changes 2024-07-26 16:16:20.219726749 +0200
@@ -1,0 +2,39 @@
+Fri Jul 26 02:18:31 UTC 2024 - Soc Virnyl Estela <obs(a)uncomfyhalomacro.pl>
+
+- Update README-suse-maintenance.md. Point to Zig page in openSUSE wiki.
+
+-------------------------------------------------------------------
+Fri Jul 26 02:14:14 UTC 2024 - Soc Virnyl Estela <obs(a)uncomfyhalomacro.pl>
+
+- Fix contrib file list in %prep. Contrib are not part of river's sources
+ from upstream so it makes sense to put it here.
+ * include vendor.tar.zst (so users can see what's inside)
+ * include river-run.sh (so users know if they want to edit this)
+ * include river-portals.conf
+
+-------------------------------------------------------------------
+Fri Jul 26 02:08:30 UTC 2024 - Soc Virnyl Estela <obs(a)uncomfyhalomacro.pl>
+
+- Update to version 0.3.5:
+ * completions: zsh click-method option fix
+ * build: bump version to 0.3.5-dev
+ * build: update to wlroots 0.18.0
+ * LayerSurface: minor style/naming tweaks
+ * river: attempt to recover from GPU resets
+ * build: bump version to 0.3.5
+ * LayerSurface: focus on_demand-interactive surfaces on map
+
+-------------------------------------------------------------------
+Mon Jul 22 02:51:37 UTC 2024 - Soc Virnyl Estela <obs(a)uncomfyhalomacro.pl>
+
+- Revert change. Viewed wrong page. Requirements was still 0.17.2
+
+-------------------------------------------------------------------
+Mon Jul 22 02:21:36 UTC 2024 - Soc Virnyl Estela <obs(a)uncomfyhalomacro.pl>
+
+- Restrict wlroots requirement to >= 0.18.x. This
+ should fail if this was not met. But seems upstream has no
+ code to detect wlroots version. Allow this failure for now
+ until 0.18.0 is merged to Factory.
+
+-------------------------------------------------------------------
Old:
----
river-0.3.4.tar.gz
river-0.3.4.tar.gz.sig
New:
----
river-0.3.5.tar.gz
river-0.3.5.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ river.spec ++++++
--- /var/tmp/diff_new_pack.y439J7/_old 2024-07-26 16:16:20.823751056 +0200
+++ /var/tmp/diff_new_pack.y439J7/_new 2024-07-26 16:16:20.827751217 +0200
@@ -17,7 +17,7 @@
Name: river
-Version: 0.3.4
+Version: 0.3.5
Release: 0
Summary: A dynamic tiling Wayland compositor
License: GPL-3.0-only
@@ -50,7 +50,7 @@
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols) >= 1.24
BuildRequires: pkgconfig(wayland-server) >= 1.20.0
-BuildRequires: pkgconfig(wlroots) >= 0.17.2
+BuildRequires: pkgconfig(wlroots-0.18) >= 0.18.0
BuildRequires: pkgconfig(xkbcommon)
Recommends: xorg-x11-server-wayland
# To make Qt apps work somewhat okay on Wayland and auto use it
@@ -174,6 +174,8 @@
install -Dpm 0644 contrib/river.desktop %{buildroot}%{_datadir}/wayland-sessions
cp -rv contrib %{buildroot}%{_datadir}/river/contrib
cp -v %{SOURCE2} %{buildroot}%{_datadir}/river/contrib/
+cp -v %{SOURCE3} %{buildroot}%{_datadir}/river/contrib/
+cp -v %{SOURCE4} %{buildroot}%{_datadir}/river/contrib/
# Install convenient script to run river
install -Dpm 0755 %{SOURCE3} %{buildroot}%{_bindir}
++++++ README-suse-maintenance.md ++++++
--- /var/tmp/diff_new_pack.y439J7/_old 2024-07-26 16:16:20.863752666 +0200
+++ /var/tmp/diff_new_pack.y439J7/_new 2024-07-26 16:16:20.867752827 +0200
@@ -1,17 +1,6 @@
-# VENDOR
+# Packaging
-1. Extract source tarball
-2. Read the PACKAGING.md file in the extracted source
-
-OR this hack
-
-```
-zig fetch . --global-cache-dir vendor/
-cd vendor
-rm -rfv z
-```
-
-Then create vendored tarball from vendor e.g. zstd compressed tarball
+See <https://en.opensuse.org/Zig#Packaging>.
# BUILD
++++++ river-0.3.4.tar.gz -> river-0.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/.builds/alpine.yml new/river-0.3.5/.builds/alpine.yml
--- old/river-0.3.4/.builds/alpine.yml 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/.builds/alpine.yml 2024-07-22 17:25:37.000000000 +0200
@@ -28,15 +28,17 @@
tasks:
- install_deps: |
cd wayland
- git checkout 1.22.0
+ git checkout 1.23.0
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
cd wlroots
- git checkout 0.17.2
- meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
- -Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr
+ git checkout 0.18.0
+ meson setup build --auto-features=enabled -Drenderers=gles2 \
+ -Dcolor-management=disabled -Dlibliftoff=disabled \
+ -Dexamples=false -Dwerror=false -Db_ndebug=false \
+ -Dxcb-errors=disabled --prefix /usr
sudo ninja -C build/ install
cd ..
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/.builds/archlinux.yml new/river-0.3.5/.builds/archlinux.yml
--- old/river-0.3.4/.builds/archlinux.yml 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/.builds/archlinux.yml 2024-07-22 17:25:37.000000000 +0200
@@ -26,15 +26,17 @@
tasks:
- install_deps: |
cd wayland
- git checkout 1.22.0
+ git checkout 1.23.0
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
cd wlroots
- git checkout 0.17.2
- meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
- -Dwerror=false -Db_ndebug=false --prefix /usr
+ git checkout 0.18.0
+ meson setup build --auto-features=enabled -Drenderers=gles2 \
+ -Dcolor-management=disabled -Dlibliftoff=disabled \
+ -Dexamples=false -Dwerror=false -Db_ndebug=false \
+ -Dxcb-errors=disabled --prefix /usr
sudo ninja -C build/ install
cd ..
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/.builds/freebsd.yml new/river-0.3.5/.builds/freebsd.yml
--- old/river-0.3.4/.builds/freebsd.yml 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/.builds/freebsd.yml 2024-07-22 17:25:37.000000000 +0200
@@ -31,15 +31,17 @@
tasks:
- install_deps: |
cd wayland
- git checkout 1.22.0
+ git checkout 1.23.0
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
cd wlroots
- git checkout 0.17.2
- meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
- -Dwerror=false -Db_ndebug=false --prefix /usr
+ git checkout 0.18.0
+ meson setup build --auto-features=enabled -Drenderers=gles2 \
+ -Dcolor-management=disabled -Dlibliftoff=disabled \
+ -Dexamples=false -Dwerror=false -Db_ndebug=false \
+ -Dxcb-errors=disabled --prefix /usr
sudo ninja -C build/ install
cd ..
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/README.md new/river-0.3.5/README.md
--- old/river-0.3.4/README.md 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/README.md 2024-07-22 17:25:37.000000000 +0200
@@ -60,7 +60,7 @@
- [zig](https://ziglang.org/download/) 0.13
- wayland
- wayland-protocols
-- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.17.2
+- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.18
- xkbcommon
- libevdev
- pixman
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/build.zig new/river-0.3.5/build.zig
--- old/river-0.3.4/build.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/build.zig 2024-07-22 17:25:37.000000000 +0200
@@ -10,7 +10,7 @@
/// with the "-dev" suffix.
/// When a release is tagged, the "-dev" suffix should be removed for the commit that gets tagged.
/// Directly after the tagged commit, the version should be bumped and the "-dev" suffix added.
-const version = "0.3.4";
+const version = "0.3.5";
pub fn build(b: *Build) !void {
const target = b.standardTargetOptions(.{});
@@ -146,7 +146,7 @@
// exposed to the wlroots module for @cImport() to work. This seems to be
// the best way to do so with the current std.Build API.
wlroots.resolved_target = target;
- wlroots.linkSystemLibrary("wlroots", .{});
+ wlroots.linkSystemLibrary("wlroots-0.18", .{});
const flags = b.createModule(.{ .root_source_file = b.path("common/flags.zig") });
const globber = b.createModule(.{ .root_source_file = b.path("common/globber.zig") });
@@ -167,7 +167,7 @@
river.linkSystemLibrary("libevdev");
river.linkSystemLibrary("libinput");
river.linkSystemLibrary("wayland-server");
- river.linkSystemLibrary("wlroots");
+ river.linkSystemLibrary("wlroots-0.18");
river.linkSystemLibrary("xkbcommon");
river.linkSystemLibrary("pixman-1");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/build.zig.zon new/river-0.3.5/build.zig.zon
--- old/river-0.3.4/build.zig.zon 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/build.zig.zon 2024-07-22 17:25:37.000000000 +0200
@@ -1,6 +1,6 @@
.{
.name = "river",
- .version = "0.3.4",
+ .version = "0.3.5",
.paths = .{""},
.dependencies = .{
.@"zig-pixman" = .{
@@ -12,8 +12,8 @@
.hash = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242",
},
.@"zig-wlroots" = .{
- .url = "https://codeberg.org/ifreund/zig-wlroots/archive/v0.17.2.tar.gz",
- .hash = "1220bb5e5c802c517425bc1d8d8d43d7b7fe5eb81ce4c46b15ce829d67ddadc55418",
+ .url = "https://codeberg.org/ifreund/zig-wlroots/archive/v0.18.0.tar.gz",
+ .hash = "12204d789e17c158971f69c7b900e8d8f288e7b9e42b2242f3adfbca57e8266d848f",
},
.@"zig-xkbcommon" = .{
.url = "https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.2.0.tar.gz",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/completions/zsh/_riverctl new/river-0.3.5/completions/zsh/_riverctl
--- old/river-0.3.4/completions/zsh/_riverctl 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/completions/zsh/_riverctl 2024-07-22 17:25:37.000000000 +0200
@@ -135,7 +135,7 @@
case "$line[2]" in
events) _alternative 'input-cmds:args:(enabled disabled disabled-on-external-mouse)' ;;
accel-profile) _alternative 'input-cmds:args:(none flat adaptive)' ;;
- click-method) _alternative 'input-cmds:args:(none button-area clickfinger)' ;;
+ click-method) _alternative 'input-cmds:args:(none button-areas clickfinger)' ;;
drag) _alternative 'input-cmds:args:(enabled disabled)' ;;
drag-lock) _alternative 'input-cmds:args:(enabled disabled)' ;;
disable-while-typing) _alternative 'input-cmds:args:(enabled disabled)' ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Cursor.zig new/river-0.3.5/river/Cursor.zig
--- old/river-0.3.4/river/Cursor.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Cursor.zig 2024-07-22 17:25:37.000000000 +0200
@@ -324,6 +324,7 @@
math.maxInt(i32) / 2,
)),
event.source,
+ event.relative_direction,
);
}
@@ -568,7 +569,7 @@
cursor.seat.handleActivity();
if (cursor.touch_points.remove(event.touch_id)) {
- cursor.seat.wlr_seat.touchNotifyUp(event.time_msec, event.touch_id);
+ _ = cursor.seat.wlr_seat.touchNotifyUp(event.time_msec, event.touch_id);
}
}
@@ -582,32 +583,9 @@
cursor.touch_points.clearRetainingCapacity();
- // We can't call touchNotifyCancel() from inside the loop over touch points as it also loops
- // over touch points and may destroy multiple touch points in a single call.
- //
- // What we should do here is `while (touch_points.first()) |point| cancel()` but since the
- // surface may be null we can't rely on the fact tha all touch points will be destroyed
- // and risk an infinite loop if the surface of any wlr_touch_point is null.
- //
- // This is all really silly and totally unnecessary since all touchNotifyCancel() does with
- // the surface argument is obtain a seat client and touch_point.seat_client is never null.
- // TODO(wlroots) clean this up after the wlroots MR fixing this is merged:
- // https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4613
-
- // The upper bound of 32 comes from an implementation detail of libinput which uses
- // a 32-bit integer as a map to keep track of touch points.
- var surfaces: std.BoundedArray(*wlr.Surface, 32) = .{};
- {
- var it = cursor.seat.wlr_seat.touch_state.touch_points.iterator(.forward);
- while (it.next()) |touch_point| {
- if (touch_point.surface) |surface| {
- surfaces.append(surface) catch break;
- }
- }
- }
-
- for (surfaces.slice()) |surface| {
- cursor.seat.wlr_seat.touchNotifyCancel(surface);
+ const wlr_seat = cursor.seat.wlr_seat;
+ while (wlr_seat.touch_state.touch_points.first()) |touch_point| {
+ wlr_seat.touchNotifyCancel(touch_point.client);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/InputConfig.zig new/river-0.3.5/river/InputConfig.zig
--- old/river-0.3.4/river/InputConfig.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/InputConfig.zig 2024-07-22 17:25:37.000000000 +0200
@@ -232,7 +232,7 @@
};
switch (device.wlr_device.type) {
- .pointer, .touch, .tablet_tool => {
+ .pointer, .touch, .tablet => {
log.debug("mapping input '{s}' -> '{s}'", .{
device.identifier,
if (wlr_output) |o| o.name else "<no output>",
@@ -240,14 +240,14 @@
device.seat.cursor.wlr_cursor.mapInputToOutput(device.wlr_device, wlr_output);
- if (device.wlr_device.type == .tablet_tool) {
+ if (device.wlr_device.type == .tablet) {
const tablet: *Tablet = @fieldParentPtr("device", device);
tablet.output_mapping = wlr_output;
}
},
// These devices do not support being mapped to outputs.
- .keyboard, .tablet_pad, .switch_device => {},
+ .keyboard, .tablet_pad, .@"switch" => {},
}
}
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/InputDevice.zig new/river-0.3.5/river/InputDevice.zig
--- old/river-0.3.4/river/InputDevice.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/InputDevice.zig 2024-07-22 17:25:37.000000000 +0200
@@ -24,6 +24,7 @@
const globber = @import("globber");
+const c = @import("c.zig");
const server = &@import("main.zig").server;
const util = @import("util.zig");
@@ -52,19 +53,21 @@
link: wl.list.Link,
pub fn init(device: *InputDevice, seat: *Seat, wlr_device: *wlr.InputDevice) !void {
- const device_type: []const u8 = switch (wlr_device.type) {
- .switch_device => "switch",
- .tablet_tool => "tablet",
- else => @tagName(wlr_device.type),
- };
+ var vendor: c_uint = 0;
+ var product: c_uint = 0;
+
+ if (wlr_device.getLibinputDevice()) |d| {
+ vendor = c.libinput_device_get_id_vendor(@ptrCast(d));
+ product = c.libinput_device_get_id_product(@ptrCast(d));
+ }
const identifier = try std.fmt.allocPrint(
util.gpa,
"{s}-{}-{}-{s}",
.{
- device_type,
- wlr_device.vendor,
- wlr_device.product,
+ @tagName(wlr_device.type),
+ vendor,
+ product,
mem.trim(u8, mem.sliceTo(wlr_device.name orelse "unknown", 0), &ascii.whitespace),
},
);
@@ -139,11 +142,11 @@
device.deinit();
util.gpa.destroy(device);
},
- .tablet_tool => {
+ .tablet => {
const tablet: *Tablet = @fieldParentPtr("device", device);
tablet.destroy();
},
- .switch_device => {
+ .@"switch" => {
const switch_device: *Switch = @fieldParentPtr("device", device);
switch_device.deinit();
util.gpa.destroy(switch_device);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/LayerSurface.zig new/river-0.3.5/river/LayerSurface.zig
--- old/river-0.3.4/river/LayerSurface.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/LayerSurface.zig 2024-07-22 17:25:37.000000000 +0200
@@ -66,11 +66,6 @@
wlr_layer_surface.surface.events.unmap.add(&layer_surface.unmap);
wlr_layer_surface.surface.events.commit.add(&layer_surface.commit);
wlr_layer_surface.events.new_popup.add(&layer_surface.new_popup);
-
- // wlroots only informs us of the new surface after the first commit,
- // so our listener does not get called for this first commit. However,
- // we do want our listener called in order to send the initial configure.
- handleCommit(&layer_surface.commit, wlr_layer_surface.surface);
}
pub fn destroyPopups(layer_surface: *LayerSurface) void {
@@ -100,11 +95,19 @@
fn handleMap(listener: *wl.Listener(void)) void {
const layer_surface: *LayerSurface = @fieldParentPtr("map", listener);
+ const wlr_surface = layer_surface.wlr_layer_surface;
- log.debug("layer surface '{s}' mapped", .{layer_surface.wlr_layer_surface.namespace});
+ log.debug("layer surface '{s}' mapped", .{wlr_surface.namespace});
layer_surface.output.arrangeLayers();
- handleKeyboardInteractiveExclusive(layer_surface.output);
+
+ const consider = wlr_surface.current.keyboard_interactive == .on_demand and
+ (wlr_surface.current.layer == .top or wlr_surface.current.layer == .overlay);
+ handleKeyboardInteractiveExclusive(
+ layer_surface.output,
+ if (consider) layer_surface else null,
+ );
+
server.root.applyPending();
}
@@ -114,7 +117,7 @@
log.debug("layer surface '{s}' unmapped", .{layer_surface.wlr_layer_surface.namespace});
layer_surface.output.arrangeLayers();
- handleKeyboardInteractiveExclusive(layer_surface.output);
+ handleKeyboardInteractiveExclusive(layer_surface.output, null);
server.root.applyPending();
}
@@ -134,18 +137,20 @@
@as(u32, @bitCast(wlr_layer_surface.current.committed)) != 0)
{
layer_surface.output.arrangeLayers();
- handleKeyboardInteractiveExclusive(layer_surface.output);
+ handleKeyboardInteractiveExclusive(layer_surface.output, null);
server.root.applyPending();
}
}
+/// Focus topmost keyboard-interactivity-exclusive layer surface above normal
+/// content, or if none found, focus the surface given as `consider`.
/// Requires a call to Root.applyPending()
-fn handleKeyboardInteractiveExclusive(output: *Output) void {
+fn handleKeyboardInteractiveExclusive(output: *Output, consider: ?*LayerSurface) void {
if (server.lock_manager.state != .unlocked) return;
- // Find the topmost layer surface in the top or overlay layers which
- // requests keyboard interactivity if any.
- const topmost_surface = outer: for ([_]zwlr.LayerShellV1.Layer{ .overlay, .top }) |layer| {
+ // Find the topmost layer surface (if any) in the top or overlay layers which
+ // requests exclusive keyboard interactivity.
+ const to_focus = outer: for ([_]zwlr.LayerShellV1.Layer{ .overlay, .top }) |layer| {
const tree = output.layerSurfaceTree(layer);
// Iterate in reverse to match rendering order.
var it = tree.children.iterator(.reverse);
@@ -161,17 +166,21 @@
}
}
}
- } else null;
+ } else consider;
+
+ if (to_focus) |s| {
+ assert(s.wlr_layer_surface.current.keyboard_interactive != .none);
+ }
var it = server.input_manager.seats.first;
while (it) |node| : (it = node.next) {
const seat = &node.data;
if (seat.focused_output == output) {
- if (topmost_surface) |to_focus| {
+ if (to_focus) |s| {
// If we found a surface on the output that requires focus, grab the focus of all
// seats that are focusing that output.
- seat.setFocusRaw(.{ .layer = to_focus });
+ seat.setFocusRaw(.{ .layer = s });
continue;
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Output.zig new/river-0.3.5/river/Output.zig
--- old/river-0.3.4/river/Output.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Output.zig 2024-07-22 17:25:37.000000000 +0200
@@ -556,8 +556,6 @@
if (!output.wlr_output.commitState(&state)) return error.CommitFailed;
- // TODO(wlroots) remove this rotate() call when updating to wlroots 0.18
- scene_output.damage_ring.rotate();
output.gamma_dirty = false;
} else {
if (!scene_output.commit(null)) return error.CommitFailed;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/PointerConstraint.zig new/river-0.3.5/river/PointerConstraint.zig
--- old/river-0.3.4/river/PointerConstraint.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/PointerConstraint.zig 2024-07-22 17:25:37.000000000 +0200
@@ -169,7 +169,7 @@
fn warpToHintIfSet(constraint: *PointerConstraint) void {
const seat: *Seat = @ptrFromInt(constraint.wlr_constraint.seat.data);
- if (constraint.wlr_constraint.current.committed.cursor_hint) {
+ if (constraint.wlr_constraint.current.cursor_hint.enabled) {
var lx: i32 = undefined;
var ly: i32 = undefined;
_ = constraint.state.active.node.coords(&lx, &ly);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Root.zig new/river-0.3.5/river/Root.zig
--- old/river-0.3.4/river/Root.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Root.zig 2024-07-22 17:25:37.000000000 +0200
@@ -117,7 +117,7 @@
pending_state_dirty: bool = false,
pub fn init(root: *Root) !void {
- const output_layout = try wlr.OutputLayout.create();
+ const output_layout = try wlr.OutputLayout.create(server.wl_server);
errdefer output_layout.destroy();
const scene = try wlr.Scene.create();
@@ -131,9 +131,6 @@
const outputs = try interactive_content.createSceneTree();
const override_redirect = if (build_options.xwayland) try interactive_content.createSceneTree();
- const presentation = try wlr.Presentation.create(server.wl_server, server.backend);
- scene.setPresentation(presentation);
-
const event_loop = server.wl_server.getEventLoop();
const transaction_timeout = try event_loop.addTimer(*Root, handleTransactionTimeout, root);
errdefer transaction_timeout.remove();
@@ -166,7 +163,7 @@
.all_outputs = undefined,
.active_outputs = undefined,
- .presentation = presentation,
+ .presentation = try wlr.Presentation.create(server.wl_server, server.backend),
.xdg_output_manager = try wlr.XdgOutputManagerV1.create(server.wl_server, output_layout),
.output_manager = try wlr.OutputManagerV1.create(server.wl_server),
.power_manager = try wlr.OutputPowerManagerV1.create(server.wl_server),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Seat.zig new/river-0.3.5/river/Seat.zig
--- old/river-0.3.4/river/Seat.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Seat.zig 2024-07-22 17:25:37.000000000 +0200
@@ -507,11 +507,11 @@
seat.cursor.wlr_cursor.attachInputDevice(wlr_device);
},
- .tablet_tool => {
+ .tablet => {
try Tablet.create(seat, wlr_device);
seat.cursor.wlr_cursor.attachInputDevice(wlr_device);
},
- .switch_device => {
+ .@"switch" => {
const switch_device = try util.gpa.create(Switch);
errdefer util.gpa.destroy(switch_device);
@@ -534,7 +534,7 @@
switch (device.wlr_device.type) {
.keyboard => capabilities.keyboard = true,
.touch => capabilities.touch = true,
- .pointer, .switch_device, .tablet_tool => {},
+ .pointer, .@"switch", .tablet => {},
.tablet_pad => unreachable,
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Server.zig new/river-0.3.5/river/Server.zig
--- old/river-0.3.4/river/Server.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Server.zig 2024-07-22 17:25:37.000000000 +0200
@@ -38,6 +38,7 @@
const Seat = @import("Seat.zig");
const SceneNodeData = @import("SceneNodeData.zig");
const StatusManager = @import("StatusManager.zig");
+const TabletTool = @import("TabletTool.zig");
const XdgDecoration = @import("XdgDecoration.zig");
const XdgToplevel = @import("XdgToplevel.zig");
const XwaylandOverrideRedirect = @import("XwaylandOverrideRedirect.zig");
@@ -96,8 +97,10 @@
new_xwayland_surface: if (build_options.xwayland) wl.Listener(*wlr.XwaylandSurface) else void =
if (build_options.xwayland) wl.Listener(*wlr.XwaylandSurface).init(handleNewXwaylandSurface),
-new_xdg_surface: wl.Listener(*wlr.XdgSurface) =
- wl.Listener(*wlr.XdgSurface).init(handleNewXdgSurface),
+renderer_lost: wl.Listener(void) = wl.Listener(void).init(handleRendererLost),
+
+new_xdg_toplevel: wl.Listener(*wlr.XdgToplevel) =
+ wl.Listener(*wlr.XdgToplevel).init(handleNewXdgToplevel),
new_toplevel_decoration: wl.Listener(*wlr.XdgToplevelDecorationV1) =
wl.Listener(*wlr.XdgToplevelDecorationV1).init(handleNewToplevelDecoration),
new_layer_surface: wl.Listener(*wlr.LayerSurfaceV1) =
@@ -113,14 +116,14 @@
// This keeps the code simpler and more readable.
const wl_server = try wl.Server.create();
+ const loop = wl_server.getEventLoop();
var session: ?*wlr.Session = undefined;
- const backend = try wlr.Backend.autocreate(wl_server, &session);
+ const backend = try wlr.Backend.autocreate(loop, &session);
const renderer = try wlr.Renderer.autocreate(backend);
const compositor = try wlr.Compositor.create(wl_server, 6, renderer);
- const loop = wl_server.getEventLoop();
server.* = .{
.wl_server = wl_server,
.sigint_source = try loop.addSignal(*wl.Server, posix.SIG.INT, terminate, wl_server),
@@ -167,7 +170,7 @@
.lock_manager = undefined,
};
- if (renderer.getDmabufFormats() != null and renderer.getDrmFd() >= 0) {
+ if (renderer.getTextureFormats((a)intFromEnum(wlr.BufferCap.dmabuf)) != null) {
// wl_drm is a legacy interface and all clients should switch to linux_dmabuf.
// However, enough widely used clients still rely on wl_drm that the pragmatic option
// is to keep it around for the near future.
@@ -190,7 +193,8 @@
try server.idle_inhibit_manager.init();
try server.lock_manager.init();
- server.xdg_shell.events.new_surface.add(&server.new_xdg_surface);
+ server.renderer.events.lost.add(&server.renderer_lost);
+ server.xdg_shell.events.new_toplevel.add(&server.new_xdg_toplevel);
server.xdg_decoration_manager.events.new_toplevel_decoration.add(&server.new_toplevel_decoration);
server.layer_shell.events.new_surface.add(&server.new_layer_surface);
server.xdg_activation.events.request_activate.add(&server.request_activate);
@@ -204,7 +208,8 @@
server.sigint_source.remove();
server.sigterm_source.remove();
- server.new_xdg_surface.link.remove();
+ server.renderer_lost.link.remove();
+ server.new_xdg_toplevel.link.remove();
server.new_toplevel_decoration.link.remove();
server.new_layer_surface.link.remove();
server.request_activate.link.remove();
@@ -277,14 +282,6 @@
}
}
-fn hackGlobal(ptr: *anyopaque) *wl.Global {
- // TODO(wlroots) MR that eliminates the need for this hack:
- // https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4612
- if (wlr.version.major != 0 or wlr.version.minor != 17) @compileError("FIXME");
-
- return @as(*extern struct { global: *wl.Global }, @alignCast(@ptrCast(ptr))).global;
-}
-
/// Returns true if the global is allowlisted for security contexts
fn allowlist(server: *Server, global: *const wl.Global) bool {
if (server.drm) |drm| if (global == drm.global) return true;
@@ -300,8 +297,8 @@
// with an assertion failure.
return global.getInterface() == wl.Output.getInterface() or
global.getInterface() == wl.Seat.getInterface() or
- global == hackGlobal(server.shm) or
- global == hackGlobal(server.single_pixel_buffer_manager) or
+ global == server.shm.global or
+ global == server.single_pixel_buffer_manager.global or
global == server.viewporter.global or
global == server.fractional_scale_manager.global or
global == server.compositor.global or
@@ -336,7 +333,7 @@
global == server.root.output_manager.global or
global == server.root.power_manager.global or
global == server.root.gamma_control_manager.global or
- global == hackGlobal(server.input_manager.idle_notifier) or
+ global == server.input_manager.idle_notifier.global or
global == server.input_manager.virtual_pointer_manager.global or
global == server.input_manager.virtual_keyboard_manager.global or
global == server.input_manager.input_method_manager.global or
@@ -349,17 +346,55 @@
return 0;
}
-fn handleNewXdgSurface(_: *wl.Listener(*wlr.XdgSurface), xdg_surface: *wlr.XdgSurface) void {
- if (xdg_surface.role == .popup) {
- log.debug("new xdg_popup", .{});
- return;
+fn handleRendererLost(listener: *wl.Listener(void)) void {
+ const server: *Server = @fieldParentPtr("renderer_lost", listener);
+
+ log.info("recovering from GPU reset", .{});
+
+ // There's not much that can be done if creating a new renderer or allocator fails.
+ // With luck there might be another GPU reset after which we try again and succeed.
+
+ server.recoverFromGpuReset() catch |err| switch (err) {
+ error.RendererCreateFailed => log.err("failed to create new renderer after GPU reset", .{}),
+ error.AllocatorCreateFailed => log.err("failed to create new allocator after GPU reset", .{}),
+ };
+}
+
+fn recoverFromGpuReset(server: *Server) !void {
+ const new_renderer = try wlr.Renderer.autocreate(server.backend);
+ errdefer new_renderer.destroy();
+
+ const new_allocator = try wlr.Allocator.autocreate(server.backend, new_renderer);
+ errdefer comptime unreachable; // no failure allowed after this point
+
+ server.renderer_lost.link.remove();
+ new_renderer.events.lost.add(&server.renderer_lost);
+
+ server.compositor.setRenderer(new_renderer);
+
+ {
+ var it = server.root.all_outputs.iterator(.forward);
+ while (it.next()) |output| {
+ // This should never fail here as failure with this combination of
+ // renderer, allocator, and backend should have prevented creating
+ // the output in the first place.
+ _ = output.wlr_output.initRender(new_allocator, new_renderer);
+ }
}
+ server.renderer.destroy();
+ server.renderer = new_renderer;
+
+ server.allocator.destroy();
+ server.allocator = new_allocator;
+}
+
+fn handleNewXdgToplevel(_: *wl.Listener(*wlr.XdgToplevel), xdg_toplevel: *wlr.XdgToplevel) void {
log.debug("new xdg_toplevel", .{});
- XdgToplevel.create(xdg_surface.role_data.toplevel.?) catch {
+ XdgToplevel.create(xdg_toplevel) catch {
log.err("out of memory", .{});
- xdg_surface.resource.postNoMemory();
+ xdg_toplevel.resource.postNoMemory();
return;
};
}
@@ -450,17 +485,27 @@
_: *wl.Listener(*wlr.CursorShapeManagerV1.event.RequestSetShape),
event: *wlr.CursorShapeManagerV1.event.RequestSetShape,
) void {
- // Ignore requests to set a tablet tool's cursor shape for now
- // TODO(wlroots): https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3821
- if (event.device_type == .tablet_tool) return;
-
- const focused_client = event.seat_client.seat.pointer_state.focused_client;
-
- // This can be sent by any client, so we check to make sure this one is
- // actually has pointer focus first.
- if (focused_client == event.seat_client) {
- const seat: *Seat = @ptrFromInt(event.seat_client.seat.data);
- const name = wlr.CursorShapeManagerV1.shapeName(event.shape);
- seat.cursor.setXcursor(name);
+ const seat: *Seat = @ptrFromInt(event.seat_client.seat.data);
+
+ if (event.tablet_tool) |wp_tool| {
+ assert(event.device_type == .tablet_tool);
+
+ const tool = TabletTool.get(event.seat_client.seat, wp_tool.wlr_tool) catch return;
+
+ if (tool.allowSetCursor(event.seat_client, event.serial)) {
+ const name = wlr.CursorShapeManagerV1.shapeName(event.shape);
+ tool.wlr_cursor.setXcursor(seat.cursor.xcursor_manager, name);
+ }
+ } else {
+ assert(event.device_type == .pointer);
+
+ const focused_client = event.seat_client.seat.pointer_state.focused_client;
+
+ // This can be sent by any client, so we check to make sure this one is
+ // actually has pointer focus first.
+ if (focused_client == event.seat_client) {
+ const name = wlr.CursorShapeManagerV1.shapeName(event.shape);
+ seat.cursor.setXcursor(name);
+ }
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/Tablet.zig new/river-0.3.5/river/Tablet.zig
--- old/river-0.3.4/river/Tablet.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/Tablet.zig 2024-07-22 17:25:37.000000000 +0200
@@ -33,7 +33,7 @@
output_mapping: ?*wlr.Output = null,
pub fn create(seat: *Seat, wlr_device: *wlr.InputDevice) !void {
- assert(wlr_device.type == .tablet_tool);
+ assert(wlr_device.type == .tablet);
const tablet = try util.gpa.create(Tablet);
errdefer util.gpa.destroy(tablet);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/TabletTool.zig new/river-0.3.5/river/TabletTool.zig
--- old/river-0.3.4/river/TabletTool.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/TabletTool.zig 2024-07-22 17:25:37.000000000 +0200
@@ -102,24 +102,29 @@
util.gpa.destroy(tool);
}
-fn handleSetCursor(
- listener: *wl.Listener(*wlr.TabletV2TabletTool.event.SetCursor),
- event: *wlr.TabletV2TabletTool.event.SetCursor,
-) void {
- const tool: *TabletTool = @fieldParentPtr("set_cursor", listener);
-
+pub fn allowSetCursor(tool: *TabletTool, seat_client: *wlr.Seat.Client, serial: u32) bool {
if (tool.wp_tool.focused_surface == null or
- tool.wp_tool.focused_surface.?.resource.getClient() != event.seat_client.client)
+ tool.wp_tool.focused_surface.?.resource.getClient() != seat_client.client)
{
log.debug("client tried to set cursor without focus", .{});
- return;
+ return false;
}
- if (event.serial != tool.wp_tool.proximity_serial) {
+ if (serial != tool.wp_tool.proximity_serial) {
log.debug("focused client tried to set cursor with incorrect serial", .{});
- return;
+ return false;
}
+ return true;
+}
- tool.wlr_cursor.setSurface(event.surface, event.hotspot_x, event.hotspot_y);
+fn handleSetCursor(
+ listener: *wl.Listener(*wlr.TabletV2TabletTool.event.SetCursor),
+ event: *wlr.TabletV2TabletTool.event.SetCursor,
+) void {
+ const tool: *TabletTool = @fieldParentPtr("set_cursor", listener);
+
+ if (tool.allowSetCursor(event.seat_client, event.serial)) {
+ tool.wlr_cursor.setSurface(event.surface, event.hotspot_x, event.hotspot_y);
+ }
}
pub fn axis(tool: *TabletTool, tablet: *Tablet, event: *wlr.Tablet.event.Axis) void {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/XdgDecoration.zig new/river-0.3.5/river/XdgDecoration.zig
--- old/river-0.3.4/river/XdgDecoration.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/XdgDecoration.zig 2024-07-22 17:25:37.000000000 +0200
@@ -42,14 +42,9 @@
wlr_decoration.events.destroy.add(&decoration.destroy);
wlr_decoration.events.request_mode.add(&decoration.request_mode);
- const ssd = server.config.rules.ssd.match(toplevel.view) orelse
- (decoration.wlr_decoration.requested_mode != .client_side);
-
- // TODO(wlroots): make sure this is properly batched in a single configure
- // with all other initial state when wlroots makes this possible.
- _ = wlr_decoration.setMode(if (ssd) .server_side else .client_side);
-
- toplevel.view.pending.ssd = ssd;
+ if (toplevel.wlr_toplevel.base.initialized) {
+ handleRequestMode(&decoration.request_mode, wlr_decoration);
+ }
}
pub fn deinit(decoration: *XdgDecoration) void {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/XdgPopup.zig new/river-0.3.5/river/XdgPopup.zig
--- old/river-0.3.4/river/XdgPopup.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/XdgPopup.zig 2024-07-22 17:25:37.000000000 +0200
@@ -54,7 +54,7 @@
.tree = try parent.createSceneXdgSurface(wlr_xdg_popup.base),
};
- wlr_xdg_popup.base.events.destroy.add(&xdg_popup.destroy);
+ wlr_xdg_popup.events.destroy.add(&xdg_popup.destroy);
wlr_xdg_popup.base.surface.events.commit.add(&xdg_popup.commit);
wlr_xdg_popup.base.events.new_popup.add(&xdg_popup.new_popup);
wlr_xdg_popup.events.reposition.add(&xdg_popup.reposition);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/XdgToplevel.zig new/river-0.3.5/river/XdgToplevel.zig
--- old/river-0.3.4/river/XdgToplevel.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/XdgToplevel.zig 2024-07-22 17:25:37.000000000 +0200
@@ -62,12 +62,12 @@
destroy: wl.Listener(void) = wl.Listener(void).init(handleDestroy),
map: wl.Listener(void) = wl.Listener(void).init(handleMap),
unmap: wl.Listener(void) = wl.Listener(void).init(handleUnmap),
+commit: wl.Listener(*wlr.Surface) = wl.Listener(*wlr.Surface).init(handleCommit),
new_popup: wl.Listener(*wlr.XdgPopup) = wl.Listener(*wlr.XdgPopup).init(handleNewPopup),
// Listeners that are only active while the view is mapped
ack_configure: wl.Listener(*wlr.XdgSurface.Configure) =
wl.Listener(*wlr.XdgSurface.Configure).init(handleAckConfigure),
-commit: wl.Listener(*wlr.Surface) = wl.Listener(*wlr.Surface).init(handleCommit),
request_fullscreen: wl.Listener(void) = wl.Listener(void).init(handleRequestFullscreen),
request_move: wl.Listener(*wlr.XdgToplevel.event.Move) =
wl.Listener(*wlr.XdgToplevel.event.Move).init(handleRequestMove),
@@ -104,11 +104,10 @@
wlr_toplevel.base.surface.data = @intFromPtr(&view.tree.node);
// Add listeners that are active over the toplevel's entire lifetime
- wlr_toplevel.base.events.destroy.add(&toplevel.destroy);
+ wlr_toplevel.events.destroy.add(&toplevel.destroy);
wlr_toplevel.base.surface.events.map.add(&toplevel.map);
+ wlr_toplevel.base.surface.events.commit.add(&toplevel.commit);
wlr_toplevel.base.events.new_popup.add(&toplevel.new_popup);
-
- _ = wlr_toplevel.setWmCapabilities(.{ .fullscreen = true });
}
/// Send a configure event, applying the inflight state of the view.
@@ -213,8 +212,10 @@
toplevel.destroy.link.remove();
toplevel.map.link.remove();
toplevel.unmap.link.remove();
+ toplevel.commit.link.remove();
+ toplevel.new_popup.link.remove();
- // The wlr_surface may outlive the wlr_xdg_surface so we must clean up the user data.
+ // The wlr_surface may outlive the wlr_xdg_toplevel so we must clean up the user data.
toplevel.wlr_toplevel.base.surface.data = 0;
const view = toplevel.view;
@@ -228,7 +229,6 @@
// Add listeners that are only active while mapped
toplevel.wlr_toplevel.base.events.ack_configure.add(&toplevel.ack_configure);
- toplevel.wlr_toplevel.base.surface.events.commit.add(&toplevel.commit);
toplevel.wlr_toplevel.events.request_fullscreen.add(&toplevel.request_fullscreen);
toplevel.wlr_toplevel.events.request_move.add(&toplevel.request_move);
toplevel.wlr_toplevel.events.request_resize.add(&toplevel.request_resize);
@@ -270,7 +270,6 @@
// Remove listeners that are only active while mapped
toplevel.ack_configure.link.remove();
- toplevel.commit.link.remove();
toplevel.request_fullscreen.link.remove();
toplevel.request_move.link.remove();
toplevel.request_resize.link.remove();
@@ -309,6 +308,23 @@
const toplevel: *XdgToplevel = @fieldParentPtr("commit", listener);
const view = toplevel.view;
+ if (toplevel.wlr_toplevel.base.initial_commit) {
+ _ = toplevel.wlr_toplevel.setWmCapabilities(.{ .fullscreen = true });
+
+ if (toplevel.decoration) |decoration| {
+ const ssd = server.config.rules.ssd.match(toplevel.view) orelse
+ (decoration.wlr_decoration.requested_mode != .client_side);
+ _ = decoration.wlr_decoration.setMode(if (ssd) .server_side else .client_side);
+ toplevel.view.pending.ssd = ssd;
+ }
+
+ return;
+ }
+
+ if (!view.mapped) {
+ return;
+ }
+
{
const state = &toplevel.wlr_toplevel.current;
view.constraints = .{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/river-0.3.4/river/main.zig new/river-0.3.5/river/main.zig
--- old/river-0.3.4/river/main.zig 2024-07-10 12:58:21.000000000 +0200
+++ new/river-0.3.5/river/main.zig 2024-07-22 17:25:37.000000000 +0200
@@ -31,12 +31,6 @@
const Server = @import("Server.zig");
-comptime {
- if (wlr.version.major != 0 or wlr.version.minor != 17 or wlr.version.micro < 2) {
- @compileError("river requires at least wlroots version 0.17.2 due to bugs in wlroots 0.17.0/0.17.1");
- }
-}
-
const usage: []const u8 =
\\usage: river [options]
\\
++++++ vendor.tar.zst ++++++
++++ 15453 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package powerman for openSUSE:Factory checked in at 2024-07-26 16:15:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powerman (Old)
and /work/SRC/openSUSE:Factory/.powerman.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerman"
Fri Jul 26 16:15:50 2024 rev:33 rq:1189659 version:2.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/powerman/powerman.changes 2024-05-21 18:36:10.409795112 +0200
+++ /work/SRC/openSUSE:Factory/.powerman.new.1882/powerman.changes 2024-07-26 16:16:17.251607305 +0200
@@ -1,0 +2,6 @@
+Thu Jul 25 20:02:41 UTC 2024 - Antonio Teixeira <antonio.teixeira(a)suse.com>
+
+- Update to version 2.4.3:
+ * powerman: increase maximum line length
+
+-------------------------------------------------------------------
Old:
----
powerman-2.4.2.tar.gz
New:
----
powerman-2.4.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ powerman.spec ++++++
--- /var/tmp/diff_new_pack.mSVKbV/_old 2024-07-26 16:16:17.803629519 +0200
+++ /var/tmp/diff_new_pack.mSVKbV/_new 2024-07-26 16:16:17.803629519 +0200
@@ -31,7 +31,7 @@
%endif
Name: powerman
-Version: 2.4.2
+Version: 2.4.3
Release: 0
Summary: Centralized Power Control for Clusters
License: GPL-2.0-or-later
@@ -83,8 +83,6 @@
%prep
%autosetup -p1
-# git is used to set package version in AC_INIT. That fails so we manually set the version.
-sed -i "s;m4_esyscmd(\[git describe --always.*\]);\[%{version}\];" configure.ac
%build
%configure \
++++++ powerman-2.4.2.tar.gz -> powerman-2.4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/NEWS.md new/powerman-2.4.3/NEWS.md
--- old/powerman-2.4.2/NEWS.md 2024-05-02 18:18:41.000000000 +0200
+++ new/powerman-2.4.3/NEWS.md 2024-07-12 01:16:16.000000000 +0200
@@ -1,3 +1,12 @@
+powerman-2.4.3 - 11 Jul 2024
+----------------------------
+
+Command lines can be very long on a big system.
+
+## Fixes
+
+ * powerman: increase maximum line length
+
powerman-2.4.2 - 02 May 2024
----------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/configure new/powerman-2.4.3/configure
--- old/powerman-2.4.2/configure 2024-05-02 18:20:16.000000000 +0200
+++ new/powerman-2.4.3/configure 2024-07-12 01:17:43.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for powerman 2.4.2.
+# Generated by GNU Autoconf 2.71 for powerman 2.4.3.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
# Identity of this package.
PACKAGE_NAME='powerman'
PACKAGE_TARNAME='powerman'
-PACKAGE_VERSION='2.4.2'
-PACKAGE_STRING='powerman 2.4.2'
+PACKAGE_VERSION='2.4.3'
+PACKAGE_STRING='powerman 2.4.3'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1416,7 +1416,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures powerman 2.4.2 to adapt to many kinds of systems.
+\`configure' configures powerman 2.4.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1488,7 +1488,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of powerman 2.4.2:";;
+ short | recursive ) echo "Configuration of powerman 2.4.3:";;
esac
cat <<\_ACEOF
@@ -1625,7 +1625,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-powerman configure 2.4.2
+powerman configure 2.4.3
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1981,7 +1981,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by powerman $as_me 2.4.2, which was
+It was created by powerman $as_me 2.4.3, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -12704,7 +12704,7 @@
# Define the identity of the package.
PACKAGE='powerman'
- VERSION='2.4.2'
+ VERSION='2.4.3'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16436,7 +16436,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by powerman $as_me 2.4.2, which was
+This file was extended by powerman $as_me 2.4.3, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16504,7 +16504,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-powerman config.status 2.4.2
+powerman config.status 2.4.3
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/examples/powerman_el72.spec new/powerman-2.4.3/examples/powerman_el72.spec
--- old/powerman-2.4.2/examples/powerman_el72.spec 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/examples/powerman_el72.spec 2024-07-12 01:17:47.000000000 +0200
@@ -1,5 +1,5 @@
Name: powerman
-Version: 2.4.2
+Version: 2.4.3
Release: 1%{?dist}
Summary: PowerMan - centralized power control for clusters
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/httppower.8 new/powerman-2.4.3/man/httppower.8
--- old/powerman-2.4.2/man/httppower.8 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/httppower.8 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH httppower 8 "1 December 2008" "powerman-2.4.2"
+.TH httppower 8 "1 December 2008" "powerman-2.4.3"
.SH NAME
httppower \- communicate with HTTP based power distribution units
.SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/libpowerman.3 new/powerman-2.4.3/man/libpowerman.3
--- old/powerman-2.4.2/man/libpowerman.3 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/libpowerman.3 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH libpowerman 3 "2 December 2008" "powerman-2.4.2"
+.TH libpowerman 3 "2 December 2008" "powerman-2.4.3"
.SH NAME
libpowerman \- PowerMan Client API
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/plmpower.8 new/powerman-2.4.3/man/plmpower.8
--- old/powerman-2.4.2/man/plmpower.8 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/plmpower.8 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH plmpower 8 "1 December 2008" "powerman-2.4.2"
+.TH plmpower 8 "1 December 2008" "powerman-2.4.3"
.SH NAME
plmpower \- control Insteon/X10 devices via SmartLabs PLM 2412S
.SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/powerman.1 new/powerman-2.4.3/man/powerman.1
--- old/powerman-2.4.2/man/powerman.1 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/powerman.1 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH powerman 1 "1 December 2008" "powerman-2.4.2"
+.TH powerman 1 "1 December 2008" "powerman-2.4.3"
.SH NAME
powerman \- power on/off nodes
.SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/powerman.conf.5 new/powerman-2.4.3/man/powerman.conf.5
--- old/powerman-2.4.2/man/powerman.conf.5 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/powerman.conf.5 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH powerman.conf 5 "13 January 2012" "powerman-2.4.2"
+.TH powerman.conf 5 "13 January 2012" "powerman-2.4.3"
.SH NAME
powerman.conf \- configuration file for PowerMan
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/powerman.dev.5 new/powerman-2.4.3/man/powerman.dev.5
--- old/powerman-2.4.2/man/powerman.dev.5 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/powerman.dev.5 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH powerman.dev 5 "13 January 2012" "powerman-2.4.2"
+.TH powerman.dev 5 "13 January 2012" "powerman-2.4.3"
.SH NAME
powerman.dev \- PowerMan device specification files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/man/powermand.8 new/powerman-2.4.3/man/powermand.8
--- old/powerman-2.4.2/man/powermand.8 2024-05-02 18:20:20.000000000 +0200
+++ new/powerman-2.4.3/man/powermand.8 2024-07-12 01:17:47.000000000 +0200
@@ -1,4 +1,4 @@
-.TH powermand 8 "13 January 2012" "powerman-2.4.2"
+.TH powermand 8 "13 January 2012" "powerman-2.4.3"
.SH NAME
powermand \- power control and monitoring daemon
.SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/src/powerman/client_proto.h new/powerman-2.4.3/src/powerman/client_proto.h
--- old/powerman-2.4.2/src/powerman/client_proto.h 2024-04-11 23:45:47.000000000 +0200
+++ new/powerman-2.4.3/src/powerman/client_proto.h 2024-07-12 01:05:22.000000000 +0200
@@ -21,7 +21,7 @@
* If not quit, goto 3
*/
-#define CP_LINEMAX 8192 /* max request/response line length */
+#define CP_LINEMAX 131072 /* max request/response line length */
#define CP_EOL "\r\n" /* line terminator */
#define CP_PROMPT "powerman> " /* prompt */
#define CP_VERSION "001 %s" CP_EOL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerman-2.4.2/t/t0039-llnl-el-capitan-cluster.t new/powerman-2.4.3/t/t0039-llnl-el-capitan-cluster.t
--- old/powerman-2.4.2/t/t0039-llnl-el-capitan-cluster.t 2024-04-12 03:45:04.000000000 +0200
+++ new/powerman-2.4.3/t/t0039-llnl-el-capitan-cluster.t 2024-07-12 01:05:22.000000000 +0200
@@ -106,6 +106,12 @@
makeoutput "" "$ALLSTR" "" >query5.exp &&
test_cmp query5.exp query5.out
'
+test_expect_success 'powerman -q works with giant input' '
+ nodes=$(echo elcap\[$(seq -s, 0 2 16382)\]) &&
+ $powerman -h $testaddr -q $nodes >query6.out &&
+ makeoutput "" "$nodes" "" >query6.exp &&
+ test_cmp query6.exp query6.out
+'
test_expect_success 'stop powerman daemon' '
kill -15 $(cat powermand.pid) &&
wait
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package pnpm for openSUSE:Factory checked in at 2024-07-26 16:15:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pnpm (Old)
and /work/SRC/openSUSE:Factory/.pnpm.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pnpm"
Fri Jul 26 16:15:49 2024 rev:2 rq:1189662 version:9.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/pnpm/pnpm.changes 2024-07-22 17:19:58.398013937 +0200
+++ /work/SRC/openSUSE:Factory/.pnpm.new.1882/pnpm.changes 2024-07-26 16:16:15.651542914 +0200
@@ -1,0 +2,15 @@
+Thu Jul 25 20:35:23 UTC 2024 - Avindra Goolcharan <avindra(a)opensuse.org>
+
+- update to version 9.6.0:
+ * Support specifying node version (via pnpm.executionEnv.nodeVersion
+ in package.json) for running lifecycle scripts per each package
+ in a workspace #6720
+ * Overrides now support the catalogs: protocol #8303
+ * The pnpm deploy command now supports the catalog: protocol #8298
+ * The pnpm outdated command now supports the catalog: protocol #8304
+ * Correct the error message when trying to run pnpm patch
+ without node_modules/.modules.yaml #8257
+ * Silent reporting fixed with the pnpm exec command #7608
+ * Add registries information to the calculation of dlx cache hash #8299
+
+-------------------------------------------------------------------
Old:
----
pnpm-9.5.0.tgz
New:
----
pnpm-9.6.0.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pnpm.spec ++++++
--- /var/tmp/diff_new_pack.jzz0ly/_old 2024-07-26 16:16:16.315569636 +0200
+++ /var/tmp/diff_new_pack.jzz0ly/_new 2024-07-26 16:16:16.319569797 +0200
@@ -23,7 +23,7 @@
%global __nodejs_provides %{nil}
%global __nodejs_requires %{nil}
Name: pnpm
-Version: 9.5.0
+Version: 9.6.0
Release: 0
Summary: Fast, disk space efficient package manager
License: MIT
@@ -97,7 +97,6 @@
find %{buildroot}%{nodejs_sitelib}/pnpm/dist/node_modules/node-gyp/gyp -type f \
-exec sed -i '1!b;\|#!/|d' {} \;
-
# SHELL COMPLETION
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
@@ -107,7 +106,6 @@
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
%{buildroot}%{_bindir}/pnpm completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
-
# CLEANUP
# Hidden files
@@ -127,7 +125,6 @@
%check
-
%files
%license LICENSE
%doc README.md
++++++ pnpm-9.5.0.tgz -> pnpm-9.6.0.tgz ++++++
++++ 7825 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xfce4-screenshooter for openSUSE:Factory checked in at 2024-07-26 16:15:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-screenshooter (Old)
and /work/SRC/openSUSE:Factory/.xfce4-screenshooter.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-screenshooter"
Fri Jul 26 16:15:45 2024 rev:45 rq:1189767 version:1.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-screenshooter/xfce4-screenshooter.changes 2024-05-29 19:37:05.895195935 +0200
+++ /work/SRC/openSUSE:Factory/.xfce4-screenshooter.new.1882/xfce4-screenshooter.changes 2024-07-26 16:16:06.723183615 +0200
@@ -1,0 +2,18 @@
+Fri Jul 26 09:52:49 UTC 2024 - Manfred Hollstein <manfred.h(a)gmx.net>
+
+- Add BuildRequires to enable Wayland support.
+
+-------------------------------------------------------------------
+Thu Jul 25 12:25:22 UTC 2024 - Manfred Hollstein <manfred.h(a)gmx.net>
+
+- Update to 1.11.0
+ * Drop built-in support for imgur
+ * Drop jobs-related code
+ * Drop libsoup dependency
+ * Use XDG_DATA_HOME in imgur-upload.sh
+ * Make sure screenshot is copied to clipboard before closing (!56)
+ * Add more tests
+ * build: clang: Silence -Wcast-align
+ * Translation Updates
+
+-------------------------------------------------------------------
Old:
----
xfce4-screenshooter-1.10.6.tar.bz2
New:
----
xfce4-screenshooter-1.11.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-screenshooter.spec ++++++
--- /var/tmp/diff_new_pack.DOKmKg/_old 2024-07-26 16:16:07.279205991 +0200
+++ /var/tmp/diff_new_pack.DOKmKg/_new 2024-07-26 16:16:07.279205991 +0200
@@ -22,7 +22,7 @@
%bcond_with git
Name: xfce4-screenshooter
-Version: 1.10.6
+Version: 1.11.0
Release: 0
Summary: Screenshot Tool for the Xfce Desktop
License: GPL-2.0-or-later
@@ -39,17 +39,20 @@
BuildRequires: pkgconfig(exo-2) >= 0.12.0
BuildRequires: pkgconfig(gdk-3.0) >= 3.24.0
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
+BuildRequires: pkgconfig(gdk-wayland-3.0) >= 3.24.0
BuildRequires: pkgconfig(gdk-x11-3.0) >= 3.24.0
BuildRequires: pkgconfig(glib-2.0) >= 2.66.0
BuildRequires: pkgconfig(gthread-2.0) >= 2.42.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
-BuildRequires: pkgconfig(libsoup-3.0) >= 3.0.0
BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{panel_version}
BuildRequires: pkgconfig(libxfce4ui-2) >= 4.16.0
BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.16.0
BuildRequires: pkgconfig(libxfconf-0) >= 4.16.0
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.0
BuildRequires: pkgconfig(pango) >= 1.44.0
+BuildRequires: pkgconfig(wayland-client) >= 1.15
+BuildRequires: pkgconfig(wayland-scanner) >= 1.15
+BuildRequires: pkgconfig(x11) >= 1.6.5
BuildRequires: pkgconfig(xext) >= 1.0.0
BuildRequires: pkgconfig(xfixes) >= 4.0.0
BuildRequires: pkgconfig(xi) >= 1.7.8
++++++ xfce4-screenshooter-1.10.6.tar.bz2 -> xfce4-screenshooter-1.11.0.tar.bz2 ++++++
++++ 32811 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package amanda for openSUSE:Factory checked in at 2024-07-26 16:15:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/amanda (Old)
and /work/SRC/openSUSE:Factory/.amanda.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "amanda"
Fri Jul 26 16:15:40 2024 rev:12 rq:1189651 version:3.5.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/amanda/amanda.changes 2024-02-20 21:15:54.437415380 +0100
+++ /work/SRC/openSUSE:Factory/.amanda.new.1882/amanda.changes 2024-07-26 16:15:57.102796468 +0200
@@ -1,0 +2,5 @@
+Thu Jul 25 08:37:48 UTC 2024 - Marcus Meissner <meissner(a)suse.com>
+
+- amanda-fix-proto.patch: fix build with gcc14
+
+-------------------------------------------------------------------
New:
----
amanda-fix-proto.patch
BETA DEBUG BEGIN:
New:
- amanda-fix-proto.patch: fix build with gcc14
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ amanda.spec ++++++
--- /var/tmp/diff_new_pack.gVP1ir/_old 2024-07-26 16:15:58.666859409 +0200
+++ /var/tmp/diff_new_pack.gVP1ir/_new 2024-07-26 16:15:58.670859571 +0200
@@ -34,6 +34,7 @@
Patch4: amanda-3.3.2-returnvalues.patch
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
Patch7: amanda-libnsl.patch
+Patch8: amanda-fix-proto.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@@ -92,6 +93,7 @@
%patch -P 4 -p1
%patch -P 6 -p1
%patch -P 7 -p1
+%patch -P 8 -p1
%build
./autogen
++++++ amanda-fix-proto.patch ++++++
Index: amanda-tag-community-3.5.4/client-src/runtar.c
===================================================================
--- amanda-tag-community-3.5.4.orig/client-src/runtar.c
+++ amanda-tag-community-3.5.4/client-src/runtar.c
@@ -54,7 +54,7 @@ main(
{
#ifdef GNUTAR
int i;
- char **j;
+ const char **j;
char *e;
char *dbf;
char *cmdline;
@@ -255,7 +255,7 @@ check_whitelist(
gchar* option)
{
bool result = TRUE;
- char** i;
+ const char** i;
for(i=whitelisted_args; *i; i++) {
if (g_str_has_prefix(option, *i)) {
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xpra-html5 for openSUSE:Factory checked in at 2024-07-26 16:15:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xpra-html5 (Old)
and /work/SRC/openSUSE:Factory/.xpra-html5.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xpra-html5"
Fri Jul 26 16:15:38 2024 rev:21 rq:1189641 version:15.0+git20240718.bebca92
Changes:
--------
--- /work/SRC/openSUSE:Factory/xpra-html5/xpra-html5.changes 2024-07-16 22:02:53.814904975 +0200
+++ /work/SRC/openSUSE:Factory/.xpra-html5.new.1882/xpra-html5.changes 2024-07-26 16:15:55.290723545 +0200
@@ -1,0 +2,17 @@
+Thu Jul 18 16:56:50 UTC 2024 - scott.bradnick(a)suse.com
+
+- Update to version 15.0+git20240718.bebca92:
+ * #315 also allow password input with 'insecure' option
+
+-------------------------------------------------------------------
+Wed Jul 17 14:20:58 UTC 2024 - Scott Bradnick <scott.bradnick(a)suse.com>
+
+- Updating UglifyJS from 3.18.0 -> 3.19.0
+
+-------------------------------------------------------------------
+Mon Jul 15 16:58:31 UTC 2024 - scott.bradnick(a)suse.com
+
+- Update to version 15.0+git20240715.5425c1a:
+ * try harder to prevent password input with insecure settings
+
+-------------------------------------------------------------------
Old:
----
uglify-js-3.18.0.tar.gz
xpra-html5-15.0+git20240709.bd65758.tar.gz
New:
----
uglify-js-3.19.0.tar.gz
xpra-html5-15.0+git20240718.bebca92.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xpra-html5.spec ++++++
--- /var/tmp/diff_new_pack.EHPOHc/_old 2024-07-26 16:15:56.350766205 +0200
+++ /var/tmp/diff_new_pack.EHPOHc/_new 2024-07-26 16:15:56.354766365 +0200
@@ -16,13 +16,13 @@
#
-%define uglifyjs_version 3.18.0
+%define uglifyjs_version 3.19.0
%define minifier uglifyjs
%define python python3
Name: xpra-html5
Release: 0
-Version: 15.0+git20240709.bd65758
+Version: 15.0+git20240718.bebca92
Summary: HTML5 client for Xpra
License: GPL-2.0+ AND BSD-3-Clause AND LGPL-3.0+ AND MIT
URL: https://xpra.org/
++++++ _service ++++++
--- /var/tmp/diff_new_pack.EHPOHc/_old 2024-07-26 16:15:56.386767653 +0200
+++ /var/tmp/diff_new_pack.EHPOHc/_new 2024-07-26 16:15:56.390767814 +0200
@@ -7,7 +7,7 @@
This comes from setup.py which defines
a 'VERSION = ' based off a tag; current
release is 'v9.0' (Tags) but master defines
- it as '12' (per `grep -r '^VERSION =' xpra-html5/setup.py`)
+ it as '15' (per `grep -r '^VERSION =' xpra-html5/setup.py`)
-->
<param name="versionrewrite-pattern">v9.0</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.EHPOHc/_old 2024-07-26 16:15:56.410768619 +0200
+++ /var/tmp/diff_new_pack.EHPOHc/_new 2024-07-26 16:15:56.414768780 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/Xpra-org/xpra-html5</param>
- <param name="changesrevision">bd657586d221670a5dcf6a894d1c39e970672b22</param></service></servicedata>
+ <param name="changesrevision">bebca925ef289342d5af44ef203fb3498b31c9ed</param></service></servicedata>
(No newline at EOF)
++++++ uglify-js-3.18.0.tar.gz -> uglify-js-3.19.0.tar.gz ++++++
++++ 2876 lines of diff (skipped)
++++++ xpra-html5-15.0+git20240709.bd65758.tar.gz -> xpra-html5-15.0+git20240718.bebca92.tar.gz ++++++
/work/SRC/openSUSE:Factory/xpra-html5/xpra-html5-15.0+git20240709.bd65758.tar.gz /work/SRC/openSUSE:Factory/.xpra-html5.new.1882/xpra-html5-15.0+git20240718.bebca92.tar.gz differ: char 12, line 1
++++++ xpra-html5.obsinfo ++++++
--- /var/tmp/diff_new_pack.EHPOHc/_old 2024-07-26 16:15:56.618776989 +0200
+++ /var/tmp/diff_new_pack.EHPOHc/_new 2024-07-26 16:15:56.622777151 +0200
@@ -1,5 +1,5 @@
name: xpra-html5
-version: 15.0+git20240709.bd65758
-mtime: 1720459175
-commit: bd657586d221670a5dcf6a894d1c39e970672b22
+version: 15.0+git20240718.bebca92
+mtime: 1721321354
+commit: bebca925ef289342d5af44ef203fb3498b31c9ed
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xpra for openSUSE:Factory checked in at 2024-07-26 16:15:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xpra (Old)
and /work/SRC/openSUSE:Factory/.xpra.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xpra"
Fri Jul 26 16:15:35 2024 rev:65 rq:1189630 version:6.2.0+git20240718.6fcb897e
Changes:
--------
--- /work/SRC/openSUSE:Factory/xpra/xpra.changes 2024-07-16 22:02:55.550968289 +0200
+++ /work/SRC/openSUSE:Factory/.xpra.new.1882/xpra.changes 2024-07-26 16:15:53.374646438 +0200
@@ -1,0 +2,76 @@
+Thu Jul 18 14:15:03 UTC 2024 - scott.bradnick(a)suse.com
+
+- Update to version 6.2.0+git20240718.6fcb897e:
+ * bump version
+ * more reliably detection of X11 servers
+ * update the release notes
+ * #4209 fix cairo scaling dimensions used for csc instantiation
+ * #4300 add ability to force freeze images
+ * try to stick to the same scaling value longer
+ * missing return value
+ * also handle 'screenshot' as a generic server request
+ * avoid 'unknown packet type' errors with screenshot requests
+ * refactor all hello request handlers
+ * better style and error messages
+ * forgot to send 'screenshot' request
+ * pandoc lua filters are back in Fedora
+ * cosmetic: group subcommands together
+ * speed is a signed int now
+ * cosmetic
+ * fix: Fix formatting
+ * always free images with an error context
+ * try to reduce how often quality swings cause scaling changes
+ * round score to nearest + type hint
+ * unsquash the values, so minor scoring differences still matter
+ * simplify
+ * allow negative speed score
+ * cosmetic
+ * match docstring: encoder speed is less important target speed is low
+ * remove: this term is constant for all calls
+ * simplify and use rounding
+ * add type hints
+ * function should always return a dict
+ * explicitly require RANDR and RENDER extensions
+ * missing line continuation backslash
+ * force rebuild
+ * #3376 more complete protocol close methods
+ * #3376 move websocket close to websocket connection handler
+ * #3376 quic fast open, aka 0-RTT data
+ * expose aioquic version
+ * I believe this was fixed in Python 3 a long time ago
+ * #4265 prefer keyval_to_unicode over event string
+ * #4299 make it possible to skip NM api
+ * #4265 only log warning if we don't get any key string
+ * #4299 match api change?
+ * link to the other security page
+ * more ruff warnings
+ * new ruff warnings
+ * aioquic 1.2.0
+ * #4265 add more details
+ * #4265 try to get the key string using the keyval
+ * zeroconf gives us 'text' records using byte strings
+ * add some type hints
+ * use the same spelling as the generated config
+ * simplify + hints
+ * minor type hints
+ * #4296 expand path before checking it
+ * remove redundant statement
+ * more type hints
+ * don't ask: why do we need wait longer?
+ * prefer our own icons, prevents missing icons with some themes
+ * prevent None deref
+ * #3514 hack around Gtk to get bigger window controls
+ * fix crashes on MS Windows
+ * re-use headerbar icon functions
+ * scale icons to match headerbar size
+ * ensure headerbar icons remain square
+ * add type hints
+ * simplify: index is always a number
+ * ignore win32 layouts without a valid x11 layout name
+ * don't show duplicate keyboard layout names
+ * add missing 'gdi' help text, ensure an option is selected
+ * #4294 update documentation to match new feature
+ * simplify: handle '--verbose' and '-v' debug command line options in one place
+ * #4294 add 'verify-username' authentication module option
+
+-------------------------------------------------------------------
Old:
----
xpra-6.1+git20240708.6cd739ab.tar.gz
New:
----
xpra-6.2.0+git20240718.6fcb897e.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xpra.spec ++++++
--- /var/tmp/diff_new_pack.hO1fRt/_old 2024-07-26 16:15:54.846705677 +0200
+++ /var/tmp/diff_new_pack.hO1fRt/_new 2024-07-26 16:15:54.850705838 +0200
@@ -21,9 +21,10 @@
%endif
%bcond_with pandoc
# -----
-# Comes from git tarball setup.py:
-# setup.py build --verbose ...
-%define xpra_ver 6.1
+### Comes from git tarball setup.py:
+### setup.py build --verbose ...
+%define xpra_ver %(echo %{version} | awk -F+ '{print $1}')
+#####
%define python_ver python311
%define python_short_ver 3.11
%define python_bin python3.11
@@ -37,7 +38,7 @@
# ----
%global __requires_exclude ^typelib\\(GtkosxApplication\\)|typelib\\(GdkGLExt\\)|typelib\\(GtkGLExt\\).*$
Name: xpra
-Version: 6.1+git20240708.6cd739ab
+Version: 6.2.0+git20240718.6fcb897e
Release: 0
Summary: Remote display server for applications and desktops
License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.hO1fRt/_old 2024-07-26 16:15:54.882707126 +0200
+++ /var/tmp/diff_new_pack.hO1fRt/_new 2024-07-26 16:15:54.886707287 +0200
@@ -20,8 +20,8 @@
-->
<!-- REPLACEMENT versionrewrite-pattern
-->
- <param name="versionrewrite-pattern">v6.0</param>
- <param name="versionrewrite-replacement">6.1</param>
+ <param name="versionrewrite-pattern">v6.1.0</param>
+ <param name="versionrewrite-replacement">6.2.0</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.hO1fRt/_old 2024-07-26 16:15:54.902707931 +0200
+++ /var/tmp/diff_new_pack.hO1fRt/_new 2024-07-26 16:15:54.906708092 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/Xpra-org/xpra</param>
- <param name="changesrevision">6cd739ab0b7037b906469f07d958708841e568ac</param></service></servicedata>
+ <param name="changesrevision">6fcb897e6d533e9a976d145522da055efb802520</param></service></servicedata>
(No newline at EOF)
++++++ xpra.obsinfo ++++++
--- /var/tmp/diff_new_pack.hO1fRt/_old 2024-07-26 16:15:54.950709863 +0200
+++ /var/tmp/diff_new_pack.hO1fRt/_new 2024-07-26 16:15:54.954710023 +0200
@@ -1,5 +1,5 @@
name: xpra
-version: 6.1+git20240708.6cd739ab
-mtime: 1720454032
-commit: 6cd739ab0b7037b906469f07d958708841e568ac
+version: 6.2.0+git20240718.6fcb897e
+mtime: 1721309274
+commit: 6fcb897e6d533e9a976d145522da055efb802520
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package racket for openSUSE:Factory checked in at 2024-07-26 16:15:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/racket (Old)
and /work/SRC/openSUSE:Factory/.racket.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "racket"
Fri Jul 26 16:15:33 2024 rev:32 rq:1189628 version:8.13
Changes:
--------
--- /work/SRC/openSUSE:Factory/racket/racket.changes 2024-05-29 19:36:10.941206701 +0200
+++ /work/SRC/openSUSE:Factory/.racket.new.1882/racket.changes 2024-07-26 16:15:51.798583014 +0200
@@ -1,0 +2,7 @@
+Fri Jun 21 07:17:41 UTC 2024 - Dr. Werner Fink <werner(a)suse.de>
+
+- Switch over to pb (Platform without native-code Backend) for
+ architectures which do not build
+- Add patch racket-fortify.patch to make it build with latest gcc
+
+-------------------------------------------------------------------
@@ -69,0 +77,5 @@
+Sun Apr 21 12:57:42 UTC 2024 - Christian Boltz <suse-beta(a)cboltz.de>
+
+- add mzdyn3m.o which gets built on s390x (possibly replacing mzdyn3m.lo)
+
+-------------------------------------------------------------------
@@ -680,5 +691,0 @@
-Sun Aug 11 20:59:59 UTC 2013 - schwab(a)suse.de
-
-- gc-aarch64.patch: add support for aarch64
-
--------------------------------------------------------------------
@@ -688,0 +696,5 @@
+
+-------------------------------------------------------------------
+Sun Aug 11 20:59:59 UTC 2013 - schwab(a)suse.de
+
+- gc-aarch64.patch: add support for aarch64
New:
----
racket-fortify.patch
BETA DEBUG BEGIN:
New: architectures which do not build
- Add patch racket-fortify.patch to make it build with latest gcc
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ racket.spec ++++++
--- /var/tmp/diff_new_pack.QC09K7/_old 2024-07-26 16:15:52.714619877 +0200
+++ /var/tmp/diff_new_pack.QC09K7/_new 2024-07-26 16:15:52.714619877 +0200
@@ -17,6 +17,7 @@
#
+%global _configure ../configure
Name: racket
Version: 8.13
Release: 0
@@ -28,6 +29,7 @@
Source2: racket-completion.bash
Source3: racket-rpmlintrc
Patch0: racket-doc.patch
+Patch1: racket-fortify.patch
BuildRequires: ImageMagick
BuildRequires: ca-certificates
BuildRequires: chrpath
@@ -126,16 +128,32 @@
%build
cd src/
-
+mkdir build
+pushd build
%add_optflags -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -fno-gcse -Wno-stringop-overread
+#
+# Overwrite stack size limit (hopefully a soft limit only)
+#
+for flag in s l m
+do
+ ulimit -H$flag unlimited || true
+ ulimit -S$flag unlimited || true
+done
+echo "int main () { return !(sizeof(void*) >= 8); }" | gcc -x c -o test64 -
+echo "int main () { return !(((union {unsigned int x; unsigned char c; }){1}).c); }" | gcc -x c -o testendianess -
+./test64 && wide=64 || wide=32
+./testendianess && endianess=l || endianess=b
+rm -f test64 testendianess
+mach=tpb${wide}${endianess}
+unset wide endianess
%configure \
--prefix="%{_prefix}" \
--exec-prefix="%{_prefix}" \
--libdir=%{_libdir} \
--docdir="%{_defaultdocdir}/%{name}" \
--enable-shared \
-%ifarch ppc64 ppc64le s390x
- --enable-bcdefault \
+%ifarch ppc64le s390x
+ --enable-pb --enable-mach=$mach \
%endif
--disable-static \
--disable-strip \
@@ -145,9 +163,12 @@
--enable-liblz4 \
--enable-pthread
%make_build
+popd
%install
+topdir=$(pwd)
cd src/
+pushd build
# use the following if setting extra plt_setup options
# export LD_LIBRARY_PATH=%%{buildroot}%%{_libdir}
@@ -157,6 +178,8 @@
%make_install
+popd
+
# we do not need *.la and *.a files
find %{buildroot}%{_libdir} -name "*.la" -delete
find %{buildroot}%{_libdir} -name "*.a" -delete
@@ -224,6 +247,14 @@
%fdupes %{buildroot}%{_prefix}
+#
+# Dynamically determine which files gets installed
+# bc, cs, and pb builds
+#
+pushd %{buildroot}%{_libdir}
+ find \( -name '*.boot' -o -name '*.so*' -o -name '*.lo' -o -name '*.o' -o -name bootinfo \) -printf '%{_libdir}/%%P\n' > ${topdir}/file.list
+popd
+
%post
/sbin/ldconfig
%desktop_database_post
@@ -232,7 +263,7 @@
/sbin/ldconfig
%desktop_database_postun
-%files
+%files -f file.list
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/README
%{_bindir}/drracket
@@ -263,18 +294,6 @@
%verify(not md5 size mtime) %{_libdir}/%{name}/*.rktd
%dir %{_libdir}/%{name}/compiled/
%{_libdir}/%{name}/compiled/*
-%ifnarch ppc64 ppc64le s390x
-%{_libdir}/%{name}/petite.boot
-%{_libdir}/%{name}/racket.boot
-%{_libdir}/%{name}/scheme.boot
-%endif
-%ifarch ppc64 ppc64le s390x
-%{_libdir}/libracket3m*
-%{_libdir}/%{name}/buildinfo
-%endif
-%ifarch ppc64 ppc64le
-%{_libdir}/%{name}/mzdyn3m.lo
-%endif
%{_mandir}/man1/mz*
%{_mandir}/man1/racket*
%{_mandir}/man1/raco*
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.QC09K7/_old 2024-07-26 16:15:52.742621003 +0200
+++ /var/tmp/diff_new_pack.QC09K7/_new 2024-07-26 16:15:52.746621165 +0200
@@ -28,5 +28,23 @@
</cpu>
</hardware>
</overwrite>
+ <overwrite>
+ <conditions>
+ <arch>ppc64le</arch>
+ <arch>s390x</arch>
+ </conditions>
+ <hardware>
+ <physicalmemory>
+ <size unit="G">8</size>
+ </physicalmemory>
+ <memory>
+ <size unit="G">12</size>
+ </memory>
+ <processors>8</processors>
+ <disk>
+ <size unit="G">4</size>
+ </disk>
+ </hardware>
+ </overwrite>
</constraints>
++++++ racket-fortify.patch ++++++
---
src/rktio/rktio_fs.c | 4 +++-
src/start/ustart.c | 5 +++--
2 files changed, 6 insertions(+), 3 deletions(-)
--- src/rktio/rktio_fs.c
+++ src/rktio/rktio_fs.c 2024-06-18 12:25:03.035413375 +0000
@@ -1,6 +1,7 @@
#include "rktio.h"
#include "rktio_private.h"
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
@@ -1092,7 +1093,8 @@ char *rktio_readlink(rktio_t *rktio, con
return NULL;
}
#else
- int len, buf_len = 256;
+ ssize_t len;
+ size_t buf_len = PATH_MAX;
char *buffer = malloc(buf_len);
while (1) {
--- src/start/ustart.c
+++ src/start/ustart.c 2024-06-18 12:25:13.635224103 +0000
@@ -10,6 +10,7 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#if defined(__GNUC__)
@@ -266,7 +267,7 @@ int main(int argc, char **argv)
char *exe_path, *lib_path, *dll_path;
int start, decl_end, prog_end, end, count, fd, v, en, x11;
int argpos, inpos, collcount = 1, fix_argv;
- int bufsize = 127;
+ size_t bufsize = PATH_MAX;
if (config[7] == '[') {
write_str(2, argv[0]);
@@ -280,7 +281,7 @@ int main(int argc, char **argv)
/* resolve soft links */
while (1) {
- int len;
+ ssize_t len;
char *buf;
buf = (char *)malloc(bufsize + 1);
len = readlink(me, buf, bufsize);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sequoia-octopus-librnp for openSUSE:Factory checked in at 2024-07-26 16:15:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sequoia-octopus-librnp (Old)
and /work/SRC/openSUSE:Factory/.sequoia-octopus-librnp.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sequoia-octopus-librnp"
Fri Jul 26 16:15:30 2024 rev:5 rq:1189619 version:1.9.0+git.13.03113af
Changes:
--------
--- /work/SRC/openSUSE:Factory/sequoia-octopus-librnp/sequoia-octopus-librnp.changes 2024-06-24 20:57:41.453926941 +0200
+++ /work/SRC/openSUSE:Factory/.sequoia-octopus-librnp.new.1882/sequoia-octopus-librnp.changes 2024-07-26 16:15:44.586292647 +0200
@@ -1,0 +2,6 @@
+Thu Jul 25 11:45:24 UTC 2024 - Adam Mizerski <adam(a)mizerski.pl>
+
+- update to 1.9.0+git.13.g03113af
+ - make it compatible with current Thunderbird
+
+-------------------------------------------------------------------
Old:
----
sequoia-octopus-librnp-1.9.0.tar.xz
New:
----
sequoia-octopus-librnp-1.9.0+git.13.03113af.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sequoia-octopus-librnp.spec ++++++
--- /var/tmp/diff_new_pack.bUkUGt/_old 2024-07-26 16:15:48.086433628 +0200
+++ /var/tmp/diff_new_pack.bUkUGt/_new 2024-07-26 16:15:48.086433628 +0200
@@ -16,7 +16,7 @@
#
Name: sequoia-octopus-librnp
-Version: 1.9.0
+Version: 1.9.0+git.13.03113af
Release: 0
Summary: librnp drop-in replacement using sequoia-pgp
License: LGPL-2.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.bUkUGt/_old 2024-07-26 16:15:48.118434916 +0200
+++ /var/tmp/diff_new_pack.bUkUGt/_new 2024-07-26 16:15:48.122435076 +0200
@@ -1,9 +1,9 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp.git</param>
- <param name="versionformat">@PARENT_TAG@</param>
+ <param name="versionformat">@PARENT_TAG@+git.@TAG_OFFSET@.%h</param>
<param name="scm">git</param>
- <param name="revision">v1.9.0</param>
+ <param name="revision">03113af7ad8fe821e97f569f5c9654a1bb65b90d</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/sequoia-octopus-librnp/vendor.tar.xz /work/SRC/openSUSE:Factory/.sequoia-octopus-librnp.new.1882/vendor.tar.xz differ: char 15, line 1
1
0