Article View: linux.debian.bugs.dist
Article #3182Bug#1152972: swayosd: build-dep blight updated to 0.8
From: 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
Technical Details
Message-ID:
<NVtC9-9Fvq-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Steffen Moeller <moeller@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152972: swayosd: build-dep blight updated to 0.8 Date: Tue, 03 Nov 2026 21:50:01 +0100 Message-ID: <NVtC9-9Fvq-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 3 20:43:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Steffen Moeller <moeller@debian.org>, 1152972@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: moeller@debian.org, maytha8thedev@gmail.com X-Debian-Pr-Message: report 1152972 X-Debian-Pr-Package: src:swayosd X-Debian-Pr-Source: swayosd Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0+nmu1 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000511 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 03 Nov 2026 21:40:38 +0100 X-Original-Message-ID: <179373843861.492520.12032938387292846880.reportbug@x230.fritz.box>