Accepting request 1087814 from X11:Wayland

- Update to release 0.99.1

OBS-URL: https://build.opensuse.org/request/show/1087814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libei?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-05-18 16:22:36 +00:00 committed by Git OBS Bridge
commit 0bcc28be92
6 changed files with 28 additions and 74 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5d1989ad6ad48be8a1c606d87a8b769b1f475e5c8a5ec533ce735a3f99151e4
size 209544

3
libei-0.99.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3511deff0afc68ec958e77e67e7b001ce30d0953d67b56586512901d424f8d17
size 214920

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed May 17 09:20:52 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de> Thu Apr 6 13:12:49 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,8 +17,8 @@
Name: libei Name: libei
%define lname libei-suse4 %define lname libei1
Version: 0.5 Version: 0.99.1
Release: 0 Release: 0
Summary: Library for emulated input in Wayland Summary: Library for emulated input in Wayland
License: MIT License: MIT
@ -26,8 +26,6 @@ Group: Development/Libraries/C and C++
URL: https://gitlab.freedesktop.org/libinput/libei/ URL: https://gitlab.freedesktop.org/libinput/libei/
Source: https://gitlab.freedesktop.org/libinput/libei/-/archive/%version/%name-%version.tar.gz 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: meson >= 0.57
BuildRequires: ninja BuildRequires: ninja
BuildRequires: protobuf-c BuildRequires: protobuf-c
@ -36,7 +34,6 @@ BuildRequires: python3-jinja2
BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libprotobuf-c) BuildRequires: pkgconfig(libprotobuf-c)
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(munit)
BuildRequires: pkgconfig(protobuf-lite) BuildRequires: pkgconfig(protobuf-lite)
BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbcommon)
@ -72,7 +69,7 @@ libei is a library for Emulated Input, targeting the Wayland stack.
%autosetup -p1 %autosetup -p1
%build %build
%meson --includedir="%_includedir/%name" -Dtests=false %meson --includedir="%_includedir/%name" -Dtests=disabled
%meson_build %meson_build
%install %install

View File

@ -1,22 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
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',

View File

@ -1,43 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
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)