Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package illum for openSUSE:Factory checked in at 2026-10-27 18:24:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/illum (Old) and /work/SRC/openSUSE:Factory/.illum.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "illum" Tue Oct 27 18:24:05 2026 rev:2 rq:1393144 version:0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/illum/illum.changes 2023-05-08 19:24:10.479257306 +0200 +++ /work/SRC/openSUSE:Factory/.illum.new.2252680/illum.changes 2026-10-27 18:24:13.720825639 +0100 @@ -1,0 +2,9 @@ +Fri Oct 23 15:22:01 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 0.6: + * Use RPM-provided build flags instead of dev flags + * Stop processing input events on error + * Drop vanished input devices on ENODEV +- Spec cleanup: drop obsolete Group tag + +------------------------------------------------------------------- Old: ---- illum-0.5.tar.gz New: ---- illum-0.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ illum.spec ++++++ --- /var/tmp/diff_new_pack.dBWw4E/_old 2026-10-27 18:24:15.234888925 +0100 +++ /var/tmp/diff_new_pack.dBWw4E/_new 2026-10-27 18:24:15.242889259 +0100 @@ -1,7 +1,7 @@ # # spec file for package illum # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,19 +19,18 @@ %global ccan_commit 1cebc0895d236bfc5cd6797d03e02c55c773ddf1 %global owner jmesmon Name: illum -Version: 0.5 +Version: 0.6 Release: 0 -Summary: A daemon that responds to brightness keys by changing the backlight level +Summary: Daemon that responds to brightness keys by changing the backlight level License: AGPL-3.0-only -Group: System/Base URL: https://github.com/jmesmon/illum Source0: https://github.com/%{owner}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/%{owner}/ccan/archive/%{ccan_commit}/ccan-%{ccan_commit}.tar.gz -BuildRequires: libev-devel -BuildRequires: libevdev-devel BuildRequires: libudev-devel BuildRequires: ninja BuildRequires: pkgconfig +BuildRequires: pkgconfig(libev) +BuildRequires: pkgconfig(libevdev) %description While there are tools that can be configured to adjust brightness illum adjusts @@ -48,7 +47,8 @@ mv $(basename %{SOURCE1} .tar.gz) ccan %build -./build +%set_build_flags +./build -v %install DESTDIR=%{buildroot} PREFIX=%{_prefix} ./do-install @@ -56,5 +56,5 @@ %files %doc README %{_bindir}/%{name}-d -%{_prefix}/lib/systemd/system/%{name}.service +%{_unitdir}/%{name}.service ++++++ illum-0.5.tar.gz -> illum-0.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/illum-0.5/.gitignore new/illum-0.6/.gitignore --- old/illum-0.5/.gitignore 2020-03-28 04:42:28.000000000 +0100 +++ new/illum-0.6/.gitignore 2025-07-19 15:48:26.000000000 +0200 @@ -9,3 +9,8 @@ # FIXME: remove once config.h is shoved in one of the build subdirs config.h + +/BUILD/ +/RPMS/ +/SRPMS/ +/RPM_SOURCES/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/illum-0.5/do-rpm new/illum-0.6/do-rpm --- old/illum-0.5/do-rpm 2020-03-28 04:42:28.000000000 +0100 +++ new/illum-0.6/do-rpm 2025-07-19 15:48:26.000000000 +0200 @@ -24,4 +24,4 @@ sed -e s,%ver%,$pv,g -e s,%dist%,$dist,g -e s,%commit%,$ph,g -e s,%ccan_commit%,$ccan_ph,g < $pn.spec.in > RPM_SOURCES/$pn.spec -rpmbuild -D_topdir" $(pwd)" -D_sourcedir" $(pwd)"/RPM_SOURCES -D_specdir" $(pwd)"/RPM_SOURCES -ba RPM_SOURCES/"$pn".spec +rpmbuild --nodeps -D_topdir" $(pwd)" -D_sourcedir" $(pwd)"/RPM_SOURCES -D_specdir" $(pwd)"/RPM_SOURCES -ba RPM_SOURCES/"$pn".spec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/illum-0.5/illum.spec.in new/illum-0.6/illum.spec.in --- old/illum-0.5/illum.spec.in 2020-03-28 04:42:28.000000000 +0100 +++ new/illum-0.6/illum.spec.in 2025-07-19 15:48:26.000000000 +0200 @@ -26,7 +26,8 @@ mv $(basename %{SOURCE1} .tar.gz) ccan %build -./build +%set_build_flags +./build -v %install rm -rf $RPM_BUILD_ROOT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/illum-0.5/main-daemon.c new/illum-0.6/main-daemon.c --- old/illum-0.5/main-daemon.c 2020-03-28 04:42:28.000000000 +0100 +++ new/illum-0.6/main-daemon.c 2025-07-19 15:48:26.000000000 +0200 @@ -447,6 +447,18 @@ } static void +input_dev__delete(struct input_dev *id EV_P__) +{ + int ifd = id->w.fd; + list_del(&id->list); + ev_io_stop(EV_A_ &id->w); + libevdev_free(id->dev); + free(id->sys_path); + free(id); + close(ifd); +} + +static void evdev_cb(EV_P_ ev_io *w, int revents) { (void)revents; @@ -460,6 +472,15 @@ /* no events */ if (r == -EAGAIN) break; + else if (r == -ENODEV) { + pr_info("input device vanished: %s\n", libevdev_get_name(id->dev)); + input_dev__delete(id EV_A__); + break; + } + else if (r < 0) { + pr_notice("error for libevdev device (%s): %d\n", libevdev_get_name(id->dev), -r); + break; + } /* need sync?? * FIXME: determine if we're handling this properly or if we @@ -550,18 +571,6 @@ } static void -input_dev__delete(struct input_dev *id EV_P__) -{ - int ifd = id->w.fd; - list_del(&id->list); - ev_io_stop(EV_A_ &id->w); - libevdev_free(id->dev); - free(id->sys_path); - free(id); - close(ifd); -} - -static void udev_cb(EV_P_ ev_io *w, int revents) { (void)revents;
