forked from pool/libei
- Update to release 0.2
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei?expand=0&rev=6
This commit is contained in:
parent
98e0b9d2c3
commit
8e0fe0bc42
14
_service
14
_service
@ -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>
|
@ -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
3
libei-0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:439be13fb1dbe8e811934e901088d6d7bc65b5118f4109c4d06d6025f19c0f14
|
||||
size 127872
|
@ -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>
|
||||
|
||||
|
33
libei.spec
33
libei.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,38 +17,49 @@
|
||||
|
||||
|
||||
Name: libei
|
||||
%define lname libei-suse0
|
||||
Version: 0+git134
|
||||
%define lname libei-suse1
|
||||
Version: 0.2
|
||||
Release: 0
|
||||
Summary: Library for emulated input in Wayland
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
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
|
||||
Patch2: ver.diff
|
||||
BuildRequires: meson
|
||||
BuildRequires: ninja
|
||||
BuildRequires: protobuf-c
|
||||
BuildRequires: pkgconfig(libevdev)
|
||||
BuildRequires: pkgconfig(libprotobuf-c)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(munit)
|
||||
BuildRequires: pkgconfig(protobuf-lite)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
|
||||
%description
|
||||
libei is a library for Emulated Input, targeting the Wayland stack.
|
||||
It provides separation, distinction and control, which, for
|
||||
comparison, are not available with XTEST (X11's emulated input).
|
||||
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 -n %lname
|
||||
Summary: OpenGL and OpenGL ES shader front end implementation
|
||||
Summary: Library for emulated input in Wayland
|
||||
Group: System/Libraries
|
||||
|
||||
%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
|
||||
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++
|
||||
Requires: %lname = %version
|
||||
|
||||
@ -69,7 +80,7 @@ libei is a library for Emulated Input, targeting the Wayland stack.
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/lib*.so.suse0
|
||||
%_libdir/lib*.so.suse1
|
||||
|
||||
%files devel
|
||||
%_includedir/%name/
|
||||
|
@ -3,15 +3,20 @@ Date: 2020-08-13 11:01:08.470708019 +0200
|
||||
|
||||
Do not fail the build if munit available (only) via /usr.
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 11cc511..427fb43 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -114,7 +114,6 @@ executable('ei-socket-client',
|
||||
dependencies: [dep_libei])
|
||||
---
|
||||
meson.build | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
Index: libei-0.2/meson.build
|
||||
===================================================================
|
||||
--- libei-0.2.orig/meson.build
|
||||
+++ libei-0.2/meson.build
|
||||
@@ -228,8 +228,6 @@ endif
|
||||
|
||||
# tests
|
||||
-subproject('munit')
|
||||
|
||||
munit = dependency('munit', fallback: ['munit', 'munit_dep'])
|
||||
if get_option('tests')
|
||||
- subproject('munit')
|
||||
-
|
||||
munit = dependency('munit', fallback: ['munit', 'munit_dep'])
|
||||
|
||||
lib_unittest = static_library('unittest',
|
||||
|
34
ver.diff
34
ver.diff
@ -3,35 +3,39 @@ Date: 2020-08-13 11:07:06.143460258 +0200
|
||||
|
||||
unversioned libraries suck.
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 11cc511..41d140f 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -45,7 +45,8 @@ src_libei = [
|
||||
lib_libei = shared_library('ei',
|
||||
---
|
||||
meson.build | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: libei-0.2/meson.build
|
||||
===================================================================
|
||||
--- libei-0.2.orig/meson.build
|
||||
+++ libei-0.2/meson.build
|
||||
@@ -110,7 +110,8 @@ lib_libei = shared_library('ei',
|
||||
src_libei,
|
||||
dependencies: [dep_libutil, dep_protobuf],
|
||||
dependencies: deps_libei,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
- install: true
|
||||
+ install: true,
|
||||
+ soversion: 'suse0'
|
||||
+ soversion: 'suse1'
|
||||
)
|
||||
install_headers('src/libei.h')
|
||||
|
||||
@@ -69,7 +70,8 @@ lib_libeis = shared_library('eis',
|
||||
'src/libeis-fd.c',
|
||||
proto_headers,
|
||||
@@ -149,7 +150,8 @@ lib_libeis = shared_library('eis',
|
||||
src_libeis,
|
||||
dependencies: [dep_libutil, dep_protobuf],
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
- install: true
|
||||
+ install: true,
|
||||
+ soversion: 'suse0'
|
||||
+ soversion: 'suse1'
|
||||
)
|
||||
install_headers('src/libeis.h')
|
||||
|
||||
@@ -91,6 +93,7 @@ lib_libreis = shared_library('reis',
|
||||
dependencies: [dep_libutil, dep_protobuf],
|
||||
@@ -172,6 +174,7 @@ lib_libreis = shared_library('reis',
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
install: true,
|
||||
include_directories: 'src',
|
||||
+ soversion: 'suse0'
|
||||
+ soversion: 'suse1'
|
||||
)
|
||||
install_headers('src/libreis.h')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user