From a0cc5b92b8829e97a72bf9427b7e0d2601f66f25ce39cab577c44df0d5c0d3de Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 7 Jun 2022 07:09:53 +0000 Subject: [PATCH] - Update to release 0.3 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei?expand=0&rev=7 --- libei-0.2.tar.gz | 3 --- libei-0.3.tar.gz | 3 +++ libei.changes | 17 +++++++++++++++++ libei.spec | 9 +++++---- system-munit.diff | 10 +++++----- ver.diff | 6 +++--- 6 files changed, 33 insertions(+), 15 deletions(-) delete mode 100644 libei-0.2.tar.gz create mode 100644 libei-0.3.tar.gz diff --git a/libei-0.2.tar.gz b/libei-0.2.tar.gz deleted file mode 100644 index 766f2d1..0000000 --- a/libei-0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:439be13fb1dbe8e811934e901088d6d7bc65b5118f4109c4d06d6025f19c0f14 -size 127872 diff --git a/libei-0.3.tar.gz b/libei-0.3.tar.gz new file mode 100644 index 0000000..79ea41c --- /dev/null +++ b/libei-0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cbef915778cd5ded07ecd86924d0553785f894c7e21d6a4d08b632e240194f1 +size 150125 diff --git a/libei.changes b/libei.changes index 8a2eda5..589a939 100644 --- a/libei.changes +++ b/libei.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Jun 7 06:44:15 UTC 2022 - Jan Engelhardt + +- Update to release 0.3 + * libei now supports the concept of sender/receiver contexts. A + libei context in sender mode can send events to the + (EIS-created) devices, a libei context in receiver mode can + receive events from the (EIS-created) devices. This allows + for libei to be used as a transport layer for captured input + events. + * A libei context can bind/unbind to seat capabilities + individually at any time + * Frame events now carry a timestamp + * A helper tool ei-debug-events is now available, this tool can + be used in e.g. portal implementation to show the events + being sent. + ------------------------------------------------------------------- Wed Mar 2 08:00:57 UTC 2022 - Jan Engelhardt diff --git a/libei.spec b/libei.spec index 1a6abfb..b2c50c2 100644 --- a/libei.spec +++ b/libei.spec @@ -17,13 +17,13 @@ Name: libei -%define lname libei-suse1 -Version: 0.2 +%define lname libei-suse2 +Version: 0.3 Release: 0 Summary: Library for emulated input in Wayland License: MIT Group: Development/Libraries/C and C++ -URL: https://gitlab.freedesktop.org/whot/libei/ +URL: https://gitlab.freedesktop.org/libinput/libei/ Source: https://gitlab.freedesktop.org/libinput/libei/-/archive/%version/%name-%version.tar.gz Patch1: system-munit.diff @@ -80,9 +80,10 @@ libei is a library for Emulated Input, targeting the Wayland stack. %postun -n %lname -p /sbin/ldconfig %files -n %lname -%_libdir/lib*.so.suse1 +%_libdir/lib*.so.suse2 %files devel +%_bindir/ei-debug-* %_includedir/%name/ %_libdir/pkgconfig/*.pc %_libdir/*.so diff --git a/system-munit.diff b/system-munit.diff index a7bfd8e..7923295 100644 --- a/system-munit.diff +++ b/system-munit.diff @@ -7,15 +7,15 @@ Do not fail the build if munit available (only) via /usr. meson.build | 2 -- 1 file changed, 2 deletions(-) -Index: libei-0.2/meson.build +Index: libei-0.3/meson.build =================================================================== ---- libei-0.2.orig/meson.build -+++ libei-0.2/meson.build -@@ -228,8 +228,6 @@ endif +--- libei-0.3.orig/meson.build ++++ libei-0.3/meson.build +@@ -236,8 +236,6 @@ endif # tests if get_option('tests') -- subproject('munit') +- subproject('munit', default_options: 'werror=false') - munit = dependency('munit', fallback: ['munit', 'munit_dep']) diff --git a/ver.diff b/ver.diff index d56998e..f5d6b5a 100644 --- a/ver.diff +++ b/ver.diff @@ -17,7 +17,7 @@ Index: libei-0.2/meson.build gnu_symbol_visibility: 'hidden', - install: true + install: true, -+ soversion: 'suse1' ++ soversion: 'suse2' ) install_headers('src/libei.h') @@ -27,7 +27,7 @@ Index: libei-0.2/meson.build gnu_symbol_visibility: 'hidden', - install: true + install: true, -+ soversion: 'suse1' ++ soversion: 'suse2' ) install_headers('src/libeis.h') @@ -35,7 +35,7 @@ Index: libei-0.2/meson.build gnu_symbol_visibility: 'hidden', install: true, include_directories: 'src', -+ soversion: 'suse1' ++ soversion: 'suse2' ) install_headers('src/libreis.h')