Accepting request 958403 from X11:Wayland

- Update to release 0.2

OBS-URL: https://build.opensuse.org/request/show/958403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libei?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-03-02 17:20:36 +00:00 committed by Git OBS Bridge
commit 2d34df73f5
7 changed files with 64 additions and 52 deletions

View File

@ -1,14 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.freedesktop.org/whot/libei/</param>
<param name="revision">master</param>
<param name="parent-tag">5e649f682ab3f404919717b8757c9c8ebcfde52f</param>
<param name="versionformat">0+git@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

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

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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 2 08:00:57 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.2
* Development snapshot, no curated changelog available.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 26 00:06:10 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Wed Aug 26 00:06:10 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libei # spec file for package libei
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,38 +17,49 @@
Name: libei Name: libei
%define lname libei-suse0 %define lname libei-suse1
Version: 0+git134 Version: 0.2
Release: 0 Release: 0
Summary: Library for emulated input in Wayland Summary: Library for emulated input in Wayland
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://gitlab.freedesktop.org/whot/libei/ URL: https://gitlab.freedesktop.org/whot/libei/
Source: %name-%version.tar.xz Source: https://gitlab.freedesktop.org/libinput/libei/-/archive/%version/%name-%version.tar.gz
Patch1: system-munit.diff Patch1: system-munit.diff
Patch2: ver.diff Patch2: ver.diff
BuildRequires: meson BuildRequires: meson
BuildRequires: ninja BuildRequires: ninja
BuildRequires: protobuf-c BuildRequires: protobuf-c
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libprotobuf-c) BuildRequires: pkgconfig(libprotobuf-c)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(munit) BuildRequires: pkgconfig(munit)
BuildRequires: pkgconfig(protobuf-lite) BuildRequires: pkgconfig(protobuf-lite)
BuildRequires: pkgconfig(xkbcommon)
%description %description
libei is a library for Emulated Input, targeting the Wayland stack. libei is a library to send Emulated Input (EI) to a matching Emulated
It provides separation, distinction and control, which, for Input Server (EIS) which can receive those events with libeis.
comparison, are not available with XTEST (X11's emulated input).
It targets Wayland and provides separation, distinction and control,
which, for comparison, are not available with XTEST (X11's emulated
input).
%package -n %lname %package -n %lname
Summary: OpenGL and OpenGL ES shader front end implementation Summary: Library for emulated input in Wayland
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %lname
libei is a library for Emulated Input, targeting the Wayland stack. libei is a library to send Emulated Input (EI) to a matching Emulated
Input Server (EIS) which can receive those events with libeis.
It targets Wayland and provides separation, distinction and control,
which, for comparison, are not available with XTEST (X11's emulated
input).
%package devel %package devel
Summary: OpenGL and OpenGL ES shader front end and validator Summary: Header files for libei, a library for emulated input under Wayland
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %version
@ -69,7 +80,7 @@ libei is a library for Emulated Input, targeting the Wayland stack.
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%_libdir/lib*.so.suse0 %_libdir/lib*.so.suse1
%files devel %files devel
%_includedir/%name/ %_includedir/%name/

View File

@ -3,15 +3,20 @@ Date: 2020-08-13 11:01:08.470708019 +0200
Do not fail the build if munit available (only) via /usr. Do not fail the build if munit available (only) via /usr.
diff --git a/meson.build b/meson.build ---
index 11cc511..427fb43 100644 meson.build | 2 --
--- a/meson.build 1 file changed, 2 deletions(-)
+++ b/meson.build
@@ -114,7 +114,6 @@ executable('ei-socket-client', Index: libei-0.2/meson.build
dependencies: [dep_libei]) ===================================================================
--- libei-0.2.orig/meson.build
+++ libei-0.2/meson.build
@@ -228,8 +228,6 @@ endif
# tests # tests
if get_option('tests')
- subproject('munit') - subproject('munit')
-
munit = dependency('munit', fallback: ['munit', 'munit_dep']) munit = dependency('munit', fallback: ['munit', 'munit_dep'])
lib_unittest = static_library('unittest',

View File

@ -3,35 +3,39 @@ Date: 2020-08-13 11:07:06.143460258 +0200
unversioned libraries suck. unversioned libraries suck.
diff --git a/meson.build b/meson.build ---
index 11cc511..41d140f 100644 meson.build | 7 +++++--
--- a/meson.build 1 file changed, 5 insertions(+), 2 deletions(-)
+++ b/meson.build
@@ -45,7 +45,8 @@ src_libei = [ Index: libei-0.2/meson.build
lib_libei = shared_library('ei', ===================================================================
--- libei-0.2.orig/meson.build
+++ libei-0.2/meson.build
@@ -110,7 +110,8 @@ lib_libei = shared_library('ei',
src_libei, src_libei,
dependencies: [dep_libutil, dep_protobuf], dependencies: deps_libei,
gnu_symbol_visibility: 'hidden',
- install: true - install: true
+ install: true, + install: true,
+ soversion: 'suse0' + soversion: 'suse1'
) )
install_headers('src/libei.h') install_headers('src/libei.h')
@@ -69,7 +70,8 @@ lib_libeis = shared_library('eis', @@ -149,7 +150,8 @@ lib_libeis = shared_library('eis',
'src/libeis-fd.c', src_libeis,
proto_headers,
dependencies: [dep_libutil, dep_protobuf], dependencies: [dep_libutil, dep_protobuf],
gnu_symbol_visibility: 'hidden',
- install: true - install: true
+ install: true, + install: true,
+ soversion: 'suse0' + soversion: 'suse1'
) )
install_headers('src/libeis.h') install_headers('src/libeis.h')
@@ -91,6 +93,7 @@ lib_libreis = shared_library('reis', @@ -172,6 +174,7 @@ lib_libreis = shared_library('reis',
dependencies: [dep_libutil, dep_protobuf], gnu_symbol_visibility: 'hidden',
install: true, install: true,
include_directories: 'src', include_directories: 'src',
+ soversion: 'suse0' + soversion: 'suse1'
) )
install_headers('src/libreis.h') install_headers('src/libreis.h')