Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Steffen Moeller
Tue, 03 Nov 2026 20:50
Bug#1152972: swayosd: build-dep blight updated to 0.8
Author: Steffen Moeller
Date: Tue, 03 Nov 2026 20:50
Date: Tue, 03 Nov 2026 20:50
55 lines
3241 bytes
3241 bytes
Source: swayosd
Version: 0.3.0-4
Severity: normal
X-Debbugs-Cc: moeller@debian.org
Dear Maintainer,
We have just updated a new version of the Rust library "blight" to
Debian unstable.
The following patch of your Debian package shall be compatible with
either version of blight:
Description: Support both blight 0.7 and 0.8 brightness APIs
blight 0.8 moves Device operations to the Light trait. Import the crate's
exports so that trait is in scope on 0.8 without requiring it on 0.7.
Existing mutable backend methods support both versions. Admit the two API
series in Cargo; no brightness operation or error propagation is changed.
Forwarded: no
Last-Update: 2026-11-03
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,7 +41,7 @@
evdev-rs = "0.6.2"
async-std = "1.13.1"
nix = { version = "0.30", features = ["poll"] }
-blight = "0.7.1"
+blight = ">=0.7.1, <0.9"
anyhow = "1.0.98"
thiserror = "2.0.12"
async-channel = "2.5.0"
--- a/src/brightness_backend/blight.rs
+++ b/src/brightness_backend/blight.rs
@@ -1,4 +1,5 @@
-use blight::{Device, Direction};
+// Import Light when provided by blight 0.8; 0.7 has inherent Device methods.
+use blight::*;
use super::{BrightnessBackend, BrightnessBackendConstructor};
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.2.12+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads