From 987d60f05b3972ee3e367bba4d7758a39a127fcee475e01cf4054edd2acdf544 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 17 May 2023 10:09:02 +0000 Subject: [PATCH] - Update to release 0.99.1 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei?expand=0&rev=17 --- libei-0.5.tar.gz | 3 --- libei-0.99.1.tar.gz | 3 +++ libei.changes | 22 ++++++++++++++++++++++ libei.spec | 9 +++------ system-munit.diff | 22 ---------------------- ver.diff | 43 ------------------------------------------- 6 files changed, 28 insertions(+), 74 deletions(-) delete mode 100644 libei-0.5.tar.gz create mode 100644 libei-0.99.1.tar.gz delete mode 100644 system-munit.diff delete mode 100644 ver.diff diff --git a/libei-0.5.tar.gz b/libei-0.5.tar.gz deleted file mode 100644 index 5dd2c70..0000000 --- a/libei-0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5d1989ad6ad48be8a1c606d87a8b769b1f475e5c8a5ec533ce735a3f99151e4 -size 209544 diff --git a/libei-0.99.1.tar.gz b/libei-0.99.1.tar.gz new file mode 100644 index 0000000..b748791 --- /dev/null +++ b/libei-0.99.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3511deff0afc68ec958e77e67e7b001ce30d0953d67b56586512901d424f8d17 +size 214920 diff --git a/libei.changes b/libei.changes index 82b7eff..83038e3 100644 --- a/libei.changes +++ b/libei.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed May 17 09:20:52 UTC 2023 - Jan Engelhardt + +- Update to release 0.99.1 + * The protocol no longer has a fixed capability enum, the + bitmask is based on the available interfaces. See the + ei_seat.capability event in the protocol documentation. + * New interfaces for button and scroll - these were split out + from the previously merged pointer/pointer_absolute + interfaces. Clients need to bind to those in addition to + binding to pointer and/or pointer_absolute. EIS + implementations need to provide those separately in addition + to pointer/pointer_absolute. + * A number of APIs have been renamed to adjust for this, e.g. + ei_event_pointer_get_scroll_x() is now + ei_event_scroll_get_dx() + * ei_seat_bind_capability() was removed, use + ei_seat_bind_capabilities() instead + * The pkgconfig files are now libei-1.0.pc, libeis-1.0.pc, + liboeffis-1.0.pc +- Delete ver.diff (obsolete), system-munit.diff (deactivate for now) + ------------------------------------------------------------------- Thu Apr 6 13:12:49 UTC 2023 - Jan Engelhardt diff --git a/libei.spec b/libei.spec index 75e6112..a78a973 100644 --- a/libei.spec +++ b/libei.spec @@ -17,8 +17,8 @@ Name: libei -%define lname libei-suse4 -Version: 0.5 +%define lname libei1 +Version: 0.99.1 Release: 0 Summary: Library for emulated input in Wayland License: MIT @@ -26,8 +26,6 @@ Group: Development/Libraries/C and C++ URL: https://gitlab.freedesktop.org/libinput/libei/ Source: https://gitlab.freedesktop.org/libinput/libei/-/archive/%version/%name-%version.tar.gz -Patch1: system-munit.diff -Patch2: ver.diff BuildRequires: meson >= 0.57 BuildRequires: ninja BuildRequires: protobuf-c @@ -36,7 +34,6 @@ BuildRequires: python3-jinja2 BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libprotobuf-c) BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(munit) BuildRequires: pkgconfig(protobuf-lite) BuildRequires: pkgconfig(xkbcommon) @@ -72,7 +69,7 @@ libei is a library for Emulated Input, targeting the Wayland stack. %autosetup -p1 %build -%meson --includedir="%_includedir/%name" -Dtests=false +%meson --includedir="%_includedir/%name" -Dtests=disabled %meson_build %install diff --git a/system-munit.diff b/system-munit.diff deleted file mode 100644 index 488397d..0000000 --- a/system-munit.diff +++ /dev/null @@ -1,22 +0,0 @@ -From: Jan Engelhardt -Date: 2020-08-13 11:01:08.470708019 +0200 - -Do not fail the build if munit available (only) via /usr. - ---- - test/meson.build | 2 -- - 1 file changed, 2 deletions(-) - -Index: libei-0.5/test/meson.build -=================================================================== ---- libei-0.5.orig/test/meson.build -+++ libei-0.5/test/meson.build -@@ -2,8 +2,6 @@ if not get_option('tests') - subdir_done() - endif - --subproject('munit', default_options: 'werror=false') -- - munit = dependency('munit', fallback: ['munit', 'munit_dep']) - - lib_unittest = static_library('unittest', diff --git a/ver.diff b/ver.diff deleted file mode 100644 index 07944bf..0000000 --- a/ver.diff +++ /dev/null @@ -1,43 +0,0 @@ -From: Jan Engelhardt -Date: 2020-08-13 11:07:06.143460258 +0200 - -unversioned libraries suck. - ---- - src/meson.build | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -Index: libei-0.5/src/meson.build -=================================================================== ---- libei-0.5.orig/src/meson.build -+++ libei-0.5/src/meson.build -@@ -62,7 +62,8 @@ lib_libei = library('ei', - dependencies: deps_libei, - include_directories: [inc_builddir], - gnu_symbol_visibility: 'hidden', -- install: true -+ install: true, -+ soversion: 'suse4' - ) - libei_headers = files('libei.h') - install_headers(libei_headers) -@@ -114,7 +115,8 @@ lib_libeis = library('eis', - dependencies: [dep_libutil], - include_directories: [inc_builddir], - gnu_symbol_visibility: 'hidden', -- install: true -+ install: true, -+ soversion: 'suse4' - ) - libeis_headers = files('libeis.h') - install_headers(libeis_headers) -@@ -141,7 +143,8 @@ if build_oeffis - include_directories: [inc_builddir], - dependencies: deps_liboeffis, - gnu_symbol_visibility: 'hidden', -- install: true -+ install: true, -+ soversion: 'suse4' - ) - liboeffis_headers = files('liboeffis.h') - install_headers(liboeffis_headers)