public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tiny-dfr] epel10: Update to 0.1.2; Fixes: RHBZ#2238327
@ 2026-09-25 10:38 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-25 10:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-tiny-dfr
Branch : epel10
Commit : d873e6c22b29408daaeb32143d06826a260f3568
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2023-09-11T21:16:22+02:00
Stats : +7/-91 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tiny-dfr/c/d873e6c22b29408daaeb32143d06826a260f3568?branch=epel10
Log:
Update to 0.1.2; Fixes: RHBZ#2238327
---
diff --git a/.gitignore b/.gitignore
index 97118b8..243abf1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tiny-dfr-0.1.1.crate
+/tiny-dfr-0.1.2.crate
diff --git a/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch b/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
deleted file mode 100644
index cf18da1..0000000
--- a/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From cc50c3314c0ce748b1f9d3c22667f165b15e7b12 Mon Sep 17 00:00:00 2001
-From: Janne Grunau <j@jannau.net>
-Date: Sat, 12 Aug 2023 16:27:03 +0200
-Subject: [PATCH] udev: Add rule matching the backlight to let systemd ignore
- it
-
-Signed-off-by: Janne Grunau <j@jannau.net>
----
- etc/udev/rules.d/99-touchbar-backlight.rules | 2 ++
- 1 file changed, 2 insertions(+)
- create mode 100644 etc/udev/rules.d/99-touchbar-backlight.rules
-
-diff --git a/etc/udev/rules.d/99-touchbar-backlight.rules b/etc/udev/rules.d/99-touchbar-backlight.rules
-new file mode 100644
-index 0000000..69d50e8
---- /dev/null
-+++ b/etc/udev/rules.d/99-touchbar-backlight.rules
-@@ -0,0 +1,2 @@
-+# The backlight is managed by tiny-df. Tell systemd to leave it alone
-+SUBSYSTEM=="backlight", KERNEL=="228200000.display-pipe.0", DRIVERS=="panel-summit", ENV{SYSTEMD_READY}="0"
diff --git a/f7e84ad69fa3754993e637850e5344702047b2de.patch b/f7e84ad69fa3754993e637850e5344702047b2de.patch
deleted file mode 100644
index 2233dc6..0000000
--- a/f7e84ad69fa3754993e637850e5344702047b2de.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From f7e84ad69fa3754993e637850e5344702047b2de Mon Sep 17 00:00:00 2001
-From: Sasha Finkelstein <fnkl.kernel@gmail.com>
-Date: Sun, 30 Jul 2023 12:27:34 +0200
-Subject: [PATCH] Actually use c_char instead of assuming it is the same as u8
-
-Reported-By: Davide Cavalca <davide@cavalca.name>
----
- src/main.rs | 17 +++++++----------
- 1 file changed, 7 insertions(+), 10 deletions(-)
-
-diff --git a/src/main.rs b/src/main.rs
-index 03c1d81..caa65ed 100644
---- a/src/main.rs
-+++ b/src/main.rs
-@@ -22,7 +22,7 @@ use input::{
- keyboard::{KeyboardEvent, KeyboardEventTrait, KeyState}
- }
- };
--use libc::{O_RDONLY, O_RDWR, O_WRONLY};
-+use libc::{O_RDONLY, O_RDWR, O_WRONLY, c_char};
- use input_linux::{uinput::UInputHandle, EventKind, Key, SynchronizeKind};
- use input_linux_sys::{uinput_setup, input_id, timeval, input_event};
- use nix::poll::{poll, PollFd, PollFlags};
-@@ -259,6 +259,11 @@ fn main() {
- uinput.set_keybit(button.action).unwrap();
- }
- }
-+ let mut dev_name_c = [0 as c_char; 80];
-+ let dev_name = "Dynamic Function Row Virtual Input Device".as_bytes();
-+ for i in 0..dev_name.len() {
-+ dev_name_c[i] = dev_name[i] as c_char;
-+ }
- uinput.dev_setup(&uinput_setup {
- id: input_id {
- bustype: 0x19,
-@@ -267,15 +272,7 @@ fn main() {
- version: 1
- },
- ff_effects_max: 0,
-- name: [
-- b'D', b'y', b'n', b'a', b'm', b'i', b'c', b' ',
-- b'F', b'u', b'n', b'c', b't', b'i', b'o', b'n', b' ',
-- b'R', b'o', b'w', b' ',
-- b'V', b'i', b'r', b't', b'u', b'a', b'l', b' ',
-- b'I', b'n', b'p', b'u', b't', b' ',
-- b'D', b'e', b'v', b'i', b'c', b'e',
-- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-- ]
-+ name: dev_name_c
- }).unwrap();
- uinput.dev_create().unwrap();
-
diff --git a/rust-tiny-dfr.spec b/rust-tiny-dfr.spec
index d6724d4..6da0ed0 100644
--- a/rust-tiny-dfr.spec
+++ b/rust-tiny-dfr.spec
@@ -4,7 +4,7 @@
%global crate tiny-dfr
Name: rust-tiny-dfr
-Version: 0.1.1
+Version: 0.1.2
Release: %autorelease
Summary: Most basic dynamic function row daemon possible
@@ -12,12 +12,8 @@ License: MIT AND Apache-2.0
URL: https://crates.io/crates/tiny-dfr
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * use librsvg 2.57.0-beta and cairo-rs 0.18
+# * use librsvg 2.57.0-beta
Patch: tiny-dfr-fix-metadata.diff
-# Actually use c_char instead of assuming it is the same as u8
-Patch: https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/f7e84ad69fa3754993e637850e5344702047b2de.patch
-# udev: Add rule matching the backlight to let systemd ignore it
-Patch: https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
BuildRequires: rust-packaging >= 23
BuildRequires: systemd-rpm-macros
@@ -56,7 +52,7 @@ License: Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-or-
%build
%cargo_build
-%cargo_license_summary
+%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
diff --git a/sources b/sources
index 713b6f5..31a65a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tiny-dfr-0.1.1.crate) = 303b8e8a4cd53b265d5be5e116db93264488dc468dbb42488d06f6e3976a48aef013453ab176451710179e14132ce00816436a8f13fa0eca3c703155e2365b17
+SHA512 (tiny-dfr-0.1.2.crate) = 15a53fdad7e64752ab79ed828489e8d759cd978911bb4792087b227e067821827a961f3cdd69f357162d7dbd62bcca8d19c8dcec1ad6f6c0c5147167bb7c9a03
diff --git a/tiny-dfr-fix-metadata.diff b/tiny-dfr-fix-metadata.diff
index 14247b4..17dddbb 100644
--- a/tiny-dfr-fix-metadata.diff
+++ b/tiny-dfr-fix-metadata.diff
@@ -1,14 +1,5 @@
---- tiny-dfr-0.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ tiny-dfr-0.1.1/Cargo.toml 2023-08-22T20:32:51.029490+00:00
-@@ -23,7 +23,7 @@
- version = "1"
-
- [dependencies.cairo-rs]
--version = "0.17"
-+version = "0.18"
- default-features = false
-
- [dependencies.drm]
+--- tiny-dfr-0.1.2/Cargo.toml 1970-01-01T00:00:01+00:00
++++ tiny-dfr-0.1.2/Cargo.toml 2023-09-11T19:13:01.680098+00:00
@@ -42,7 +42,7 @@
version = "0.2"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:38 [rpms/rust-tiny-dfr] epel10: Update to 0.1.2; Fixes: RHBZ#2238327 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox