Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package keyd for openSUSE:Factory checked in at 2023-05-18 15:19:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/keyd (Old) and /work/SRC/openSUSE:Factory/.keyd.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "keyd" Thu May 18 15:19:29 2023 rev:3 rq:1087655 version:2.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/keyd/keyd.changes 2023-03-22 22:32:08.914648062 +0100 +++ /work/SRC/openSUSE:Factory/.keyd.new.1533/keyd.changes 2023-05-18 15:19:35.309950965 +0200 @@ -1,0 +2,17 @@ +Wed May 17 10:51:44 UTC 2023 - Michael Pujos <pujos.mich...@gmail.com> + +- removed upstreamed fix-udev-tablet.patch +- keyd.quirks (libinput override) is not used anymore +- Update to v2.4.3: + * Summary + - Introduces a new layout type + - Improves application based remapping suport for wayland/X + - Adds swap support for toggled layers + - Adds support for chording + - Numerous bugfixes and stability improvements + * New actions: togglem, clear, overloadt, overloat2 + * New Commands: listen, reload, do, input + * New timeout and modifier knobs: disable_modifier_guard, + oneshot_timeout option, overload_tap_timeout, macro_sequence_timeout + +------------------------------------------------------------------- Old: ---- fix-udev-tablet.patch keyd-v2.4.2.tar.gz New: ---- keyd-v2.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ keyd.spec ++++++ --- /var/tmp/diff_new_pack.grquKJ/_old 2023-05-18 15:19:37.309963229 +0200 +++ /var/tmp/diff_new_pack.grquKJ/_new 2023-05-18 15:19:37.313963254 +0200 @@ -18,13 +18,12 @@ %global libinput_overrides %{_sysconfdir}/libinput/local-overrides.quirks Name: keyd -Version: 2.4.2 +Version: 2.4.3 Release: 0 Summary: A key remapping daemon for linux License: MIT URL: https://github.com/rvaiya/keyd Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz -Patch: fix-udev-tablet.patch BuildRequires: gcc Requires: python3-xlib Requires(postun):sed @@ -41,7 +40,7 @@ which remaps keys using kernel level input primitives (evdev, uinput). %prep -%autosetup -p1 +%autosetup %build %make_build @@ -49,14 +48,14 @@ %install install -m755 -d %{buildroot}%{_bindir} %{buildroot}%{_datadir}/%{name}/layouts %{buildroot}%{_mandir}/man1 %{buildroot}%{_unitdir} install -m755 bin/* %{buildroot}%{_bindir} -install -m644 data/keyd.compose keyd.quirks %{buildroot}%{_datadir}/%{name} +install -m644 data/keyd.compose %{buildroot}%{_datadir}/%{name} install -m644 layouts/* %{buildroot}%{_datadir}/%{name}/layouts install -m644 data/*.1.gz %{buildroot}%{_mandir}/man1/ install -m644 %{name}.service %{buildroot}%{_unitdir} %files %license LICENSE -%doc README.md docs/*.md +%doc README.md docs/*.md examples %{_bindir}/* %{_mandir}/man1/* %dir %{_datadir}/%{name} @@ -65,17 +64,21 @@ %pre getent group keyd >/dev/null 2>&1 || groupadd keyd +if [ $1 -eq 2 ]; then + # performed only on upgrade + # remove eventual libinput overrides installed in v2.4.2 not used anymore since v2.4.3 + sed -i -e '/# added by %{name} package: START/,/# added by %{name} package: END/d' %{libinput_overrides} 2> /dev/null || : + # remove file if it exists and is empty and remove libinput dir if empty + if [ -f %{libinput_overrides} -a ! -s %{libinput_overrides} ]; then + rm %{libinput_overrides} + rm -d %{_sysconfdir}/libinput 2> /dev/null || : + fi +fi + %service_add_pre %{name}.service %post %service_add_post %{name}.service -if [ $1 -eq 1 -a -d %{_datadir}/libinput* ]; then - # performed only on install - mkdir -p %{_sysconfdir}/libinput - echo "# added by %{name} package: START" >> %{libinput_overrides} - cat %{_datadir}/%{name}/keyd.quirks >> %{libinput_overrides} - echo "# added by %{name} package: END" >> %{libinput_overrides} -fi %preun %service_del_preun %{name}.service @@ -85,12 +88,6 @@ if [ $1 -eq 0 ]; then # performed only on uninstall getent group keyd >/dev/null 2>&1 && groupdel keyd - sed -i -e '/# added by %{name} package: START/,/# added by %{name} package: END/d' %{libinput_overrides} 2> /dev/null || : - # remove file if it exists and is empty and remove libinput dir if empty - if [ -f %{libinput_overrides} -a ! -s %{libinput_overrides} ]; then - rm %{libinput_overrides} - rm -d %{_sysconfdir}/libinput 2> /dev/null || : - fi fi %changelog ++++++ keyd-v2.4.2.tar.gz -> keyd-v2.4.3.tar.gz ++++++ ++++ 88096 lines of diff (skipped)