public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tiny-dfr] epel10: Update to 0.3.5; Fixes: RHBZ#2362148
Date: Fri, 25 Sep 2026 10:38:52 GMT	[thread overview]
Message-ID: <179033273201.1.6893264186678140194.rpms-rust-tiny-dfr-0a6d12f4541b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tiny-dfr
Branch : epel10
Commit : 0a6d12f4541b62c7a6d4ab3d558b05e50131be0b
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2025-04-24T13:02:44-07:00
Stats  : +3/-52 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tiny-dfr/c/0a6d12f4541b62c7a6d4ab3d558b05e50131be0b?branch=epel10

Log:
Update to 0.3.5; Fixes: RHBZ#2362148

---
diff --git a/.gitignore b/.gitignore
index a0f6188..1540ef2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /tiny-dfr-0.3.2.crate
 /tiny-dfr-0.3.3.crate
 /tiny-dfr-0.3.4.crate
+/tiny-dfr-0.3.5.crate

diff --git a/0001-Backlight-Support-upstreamed-mipi-panel-driver.patch b/0001-Backlight-Support-upstreamed-mipi-panel-driver.patch
deleted file mode 100644
index 19e0368..0000000
--- a/0001-Backlight-Support-upstreamed-mipi-panel-driver.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 13715148e5c82b98dc95305530d2d4ea8e3eb312 Mon Sep 17 00:00:00 2001
-From: Janne Grunau <j@jannau.net>
-Date: Sun, 13 Apr 2025 14:54:30 +0200
-Subject: [PATCH 1/1] Backlight: Support upstreamed mipi panel driver
-
-I do not understand why `KERNEL=="228600000.dsi.0"` does not work.
-`udevadm info -a -p /sys/class/backlight/228600000.dsi.0` clearly lists
-that for the backlight device.
-
-Signed-off-by: Janne Grunau <j@jannau.net>
----
- etc/udev/rules.d/99-touchbar-tiny-dfr.rules | 1 +
- src/backlight.rs                            | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/etc/udev/rules.d/99-touchbar-tiny-dfr.rules b/etc/udev/rules.d/99-touchbar-tiny-dfr.rules
-index cb75401..e07958d 100644
---- a/etc/udev/rules.d/99-touchbar-tiny-dfr.rules
-+++ b/etc/udev/rules.d/99-touchbar-tiny-dfr.rules
-@@ -8,6 +8,7 @@ SUBSYSTEM=="drm", KERNEL=="card[0-9]*", DRIVERS=="adp|appletbdrm", TAG+="systemd
- 
- SUBSYSTEM=="backlight", KERNEL=="appletb_backlight", DRIVERS=="hid-appletb-bl", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/tiny_dfr_backlight"
- SUBSYSTEM=="backlight", KERNEL=="228200000.display-pipe.0", DRIVERS=="panel-summit", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/tiny_dfr_backlight"
-+SUBSYSTEM=="backlight", KERNELS=="228600000.dsi.0", DRIVERS=="panel-summit", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/tiny_dfr_backlight"
- 
- SUBSYSTEM=="backlight", KERNEL=="apple-panel-bl", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/tiny_dfr_display_backlight"
- SUBSYSTEM=="backlight", KERNEL=="gmux_backlight", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/tiny_dfr_display_backlight"
-diff --git a/src/backlight.rs b/src/backlight.rs
-index dd1b345..a5e143f 100644
---- a/src/backlight.rs
-+++ b/src/backlight.rs
-@@ -33,7 +33,7 @@ fn find_backlight() -> Result<PathBuf> {
-         let file_name = entry.file_name();
-         let name = file_name.to_string_lossy();
- 
--        if ["display-pipe", "appletb_backlight"]
-+        if ["display-pipe", "228600000.dsi.0", "appletb_backlight"]
-             .iter()
-             .any(|s| name.contains(s))
-         {
--- 
-2.49.0
-

diff --git a/rust-tiny-dfr.spec b/rust-tiny-dfr.spec
index a6b7b3d..90a98b7 100644
--- a/rust-tiny-dfr.spec
+++ b/rust-tiny-dfr.spec
@@ -4,16 +4,13 @@
 %global crate tiny-dfr
 
 Name:           rust-tiny-dfr
-Version:        0.3.4
+Version:        0.3.5
 Release:        %autorelease
 Summary:        Most basic dynamic function row daemon possible
 
 License:        MIT AND Apache-2.0
 URL:            https://crates.io/crates/tiny-dfr
 Source:         %{crates_source}
-# * Fix backlight device selection in asahi-6.14.2-1 and later
-# * https://github.com/AsahiLinux/tiny-dfr/pull/61
-Patch2:         0001-Backlight-Support-upstreamed-mipi-panel-driver.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  systemd-rpm-macros

diff --git a/rust2rpm.toml b/rust2rpm.toml
index ed11c32..679c015 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -7,10 +7,6 @@ extra-files = [
   "%config(noreplace) %ghost %{_sysconfdir}/%{crate}/config.toml",
 ]
 
-extra-patches = [
-  { number = 2, file = "0001-Backlight-Support-upstreamed-mipi-panel-driver.patch", comments = ["Fix backlight device selection in asahi-6.14.2-1 and later", "https://github.com/AsahiLinux/tiny-dfr/pull/61"] },
-]
-
 [requires]
 build = ["systemd-rpm-macros"]
 

diff --git a/sources b/sources
index 96e268a..842c2dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tiny-dfr-0.3.4.crate) = 45211636bf3aad1fa474ee3d0e62069337670fcd59a19af3ea8960a066c7657f773d703453ab17a46257f44733f44eeaecd2f5655d043cb444f477d086979b8d
+SHA512 (tiny-dfr-0.3.5.crate) = 0406ad4a8ab3557db4f04128834084d0c872540b4e160a11aec5efe2ca29a7fe512063d50ea713c6d68939ea3d08c0178971c13e0e2bf14face5eafa9f6a891f

                 reply	other threads:[~2026-09-25 10:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179033273201.1.6893264186678140194.rpms-rust-tiny-dfr-0a6d12f4541b@fedoraproject.org \
    --to=dcavalca@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox