Sync from SUSE:SLFO:Main mtdev revision 8b091250293bbc3ff6ee9ffe750e4b0f

This commit is contained in:
Adrian Schröter 2024-05-03 16:52:06 +02:00
commit 91d411e051
5 changed files with 184 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libmtdev1

BIN
mtdev-1.1.6.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

80
mtdev.changes Normal file
View File

@ -0,0 +1,80 @@
-------------------------------------------------------------------
Tue Aug 25 09:27:06 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.1.6:
* adjust for 64bit time_t for 32bit architectures
* Use a macro for `nlongs` so it can be used in constant expression
* mtdev-matching.c: declare global variables static
* mtdev-mapgen.c: declare init_caps() static
* caps.c: declare mtdev_set_slots() static
-------------------------------------------------------------------
Sat Feb 28 09:55:25 UTC 2015 - mpluskal@suse.com
- Update to 1.1.5
* Make it possible to build the source out-of-tree. The
gnome-continuous build system does this by default.
* Some tests do #include relative to the top-level, so add
top_srcdir to the include path as otherwise out-of-tree
builds can't find the files.
-------------------------------------------------------------------
Tue Feb 11 13:02:33 UTC 2014 - coolo@suse.com
- add baselibs.conf to satisfy libqt5-base-32bit
-------------------------------------------------------------------
Thu Sep 5 13:53:53 UTC 2013 - sndirsch@suse.com
- update to release 1.1.4; changes since 1.1.0:
* mtdev_close should ignore NULL devices.
* Return EINVAL for invalid parameters on mtdev_init.
* Add the missing distance event to the internal slot
representation
* Add support for kernel MT slot state retrieval
* Fix pc file to allow compiling with mtdev installed in non-std
path.
* Drop maintainer mode - enable by default
* Rename INCLUDES to AM_CPPFLAGS
* Merge build fixes from Peter Hutterer.
* Replace hardcoded 11 with a define
* Fix compiler warning - implicit declaration of function 'abs'
* test: silence compiler warning - implicit declaration of function
atoi
* Enable silent rules by default
* Merge more build fixes from Peter Hutterer, along with a more
explicit declaration of the backwards compatibility constraints
on the API.
- removed obsolete patches:
* U_Return-EINVAL-for-invalid-parameters-on-mtdev_init.patch
* U_mtdev_close-should-ignore-NULL-devices.patch
* mtdev-implicit.diff
-------------------------------------------------------------------
Sun Feb 12 18:48:05 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Add patch to fix use of implicitly-defined functions
-------------------------------------------------------------------
Fri Jan 13 15:17:11 UTC 2012 - sndirsch@suse.com
- let devel package require the lib package instead of the package
for the binaries
-------------------------------------------------------------------
Thu Jan 12 14:48:08 UTC 2012 - cfarrell@suse.com
- license update: MIT
SPDX format
-------------------------------------------------------------------
Tue Jan 10 11:57:53 UTC 2012 - sndirsch@suse.com
- renamed patches according to our patch naming theme
-------------------------------------------------------------------
Thu Aug 11 15:52:10 CEST 2011 - tiwai@suse.de
- initial version: 1.1.0

77
mtdev.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package mtdev
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mtdev
Version: 1.1.6
Release: 0
Summary: Multitouch Protocol Translation Library
License: MIT
Group: System/Libraries
URL: https://bitmath.org/code/mtdev/
Source: http://bitmath.org/code/mtdev/mtdev-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkgconfig
%description
The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
%package -n libmtdev1
Summary: Multitouch Protocol Translation Library
Group: System/Libraries
%description -n libmtdev1
The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
%package devel
Summary: Development package for mtdev library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libmtdev1 = %{version}
%description devel
This package contains the files needed to compile programs that use mtdev library.
%prep
%setup -q
%build
%configure \
--enable-static=no
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libmtdev1 -p /sbin/ldconfig
%postun -n libmtdev1 -p /sbin/ldconfig
%files
%license COPYING
%doc ChangeLog README
%{_bindir}/*
%files -n libmtdev1
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%changelog