Sync from SUSE:SLFO:Main tslib revision b8f0242f54b13d90dd81faa55b35ec34

This commit is contained in:
Adrian Schröter 2024-05-04 01:31:57 +02:00
commit 22d3f7447f
7 changed files with 1366 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

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libts0
tslib-devel
requires -tslib-<targettype>
requires "libts0-<targettype> = <version>"

BIN
tslib-1.22.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

16
tslib-1.22.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEER3IIz/s0aDIAhj4GfiztzT9UrIUFAl78ZuQACgkQfiztzT9U
rIUg2A/9F7wfecyWEewX7iNlznrF6ITGgmf3X1xDnElccLdALbzea3BanG0y5hzX
joKX4Hf+lN6Q6QnfVZKmmUFFFyphM8bnHi2lo8CFAlGDPQIB90cbtWuv86+PV+Hb
nx83YwCY9e1pxeTBJdc6gCZ1mMwbKsvs+HjReT7A+edn9lryuQDSVJa5yUOEtyZX
nnsVazrnPyhvZzJ4bIGRKYFj6QE2EmB6so8L1++G01JzUktbUfIV1D92VKf0n5Xs
jXO15IwWBMmaIHMCcDa4M3730lPz+blkuCHLTlog81EqJDapI3uQEveQUDrTKHwu
BGeqVFCZt9hH1vIavLbQ9e14zJjtL41f7QVjrvNEnIuoEIwn7Rk/Z6KTNkrf7Eau
fyv/Pb3NSPrKWRmhR0G4VyM65YqhpvmkCmrjEdPbXax89sgKJHrQ7rHqBE0LhuJM
WgL/PLZkbJ4w0I7boB7n2xufY9k65Wt60DaKwnqztsv2czjOwQdLqVu4sGneZU3U
tvJ0GnyNdPbnuhowfkfvWRjYJ+gvhYK7k2MI5buY9dSCZkV6ozyEvz3PwhNTh49d
pwQoatbOe9ckD4J11efC+oIdoq8GnO8dhmQuZFGmfpf3u9s7b85gvmCEbLxynlSR
eiMdMDYbT/uZVaQYlp7B4zdHfG0jyOgFMcEfaHhZW8kcqH0u4dY=
=S5nF
-----END PGP SIGNATURE-----

178
tslib.changes Normal file
View File

@ -0,0 +1,178 @@
-------------------------------------------------------------------
Thu Nov 26 19:46:02 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.22:
* fix ts_uinput build on 32 bit arch on newer kernels
* ts_uinput: fix building on FreeBSD
* various fixes for cmake builds
* improved documentation for systemd
* new filter plugin: module evthres
* ts_calibrate: close framebuffer after validation. add timeout option -s for it
* support for screen-rotation in ts_calibrate and linear module
* add experimental module_raw input_evdev that needs libevdev
* new ts_calibrate --min_interval option to avoid inaccurate calibration
* add ts_calibrate --validate functionality to verify the calibration
* add ts_conf_get() and ts_conf_set() API
-------------------------------------------------------------------
Thu May 24 12:05:00 UTC 2018 - guillaume.gardet@opensuse.org
- Update to version 1.16:
* This release includes libts version 0.9.1 and the following changes:
- module_raw tatung is now disabled in the default build config. Users must
./configure --enable-tatung if they rely on it.
- new module_raw one-wire-ts-input for FriedlyARM devices (disabled by
default)
- simple tslib_version() function to get the version string
* This release includes the following bugfixes:
- efcba6e ts_uinput: (fix for Android) write only one input_event at a time
- e63f33f invert: fix ts_read() iteration over multiple samples
- 932bb4f ts_uinput: fail for unsupported old kernel versions
-------------------------------------------------------------------
Mon Mar 5 10:39:37 UTC 2018 - guillaume@opensuse.org
- Update tslib.keyring with latest key
-------------------------------------------------------------------
Wed Feb 28 10:37:04 UTC 2018 - martink@posteo.de
- Update to version 1.15:
* This release includes libts version 0.9.0 and the following changes:
- New ts_get_eventpath() API to learn the opened device file path
- ts_test_mt shows the number of supported concurrent touch contacts
- New filter module "invert"
- ts_uinput: fallback to fb0 and new option --nofb
* Bugfixes
- Changes for version 1.14:
* This release includes libts version 0.8.1 and the following changes:
- The following modules are now disabled in the default configuration run:
`module_raw arctic2`
`module_raw corgi`
`module_raw collie`
`module_raw dmc`
`module_raw h3600`
`module_raw mk712`
`module_raw ucb1x00`
Users of those modules must enable them, like `./configure --enable-arctic2`
- Automatic touchscreen device detection for Linux (if not defined by the user)
- New filter plugin "lowpass"
- SPDX license identifiers in all C source files
* Bugfixes
-------------------------------------------------------------------
Wed Nov 8 10:02:27 UTC 2017 - guillaume@opensuse.org
- Update to version 1.13:
* This release includes libts version 0.8.0 and the following changes:
- Added ts_open_restricted() and ts_close_restricted() API
- Added TSLIB_MT_VALID bit definition for ts_sample_mt's valid flag
- module_raw galax is now disabled in the default configuration.
Please use module_raw input instead.
* Bugfixes
- Changes for version 1.12:
* This release includes libts version 0.7.2 and the following changes:
- Generate a tracking ID value for multitouch type A devices
- Add experimental --with-sdl2 configuration option for
ts_calibrate and ts_test_mt
* Bugfix
-------------------------------------------------------------------
Fri Jun 16 07:57:22 UTC 2017 - guillaume@opensuse.org
- Fix license infos
-------------------------------------------------------------------
Mon Jun 12 08:07:41 UTC 2017 - guillaume@opensuse.org
- Remove '%configure' from %prep section
-------------------------------------------------------------------
Mon Jun 12 06:51:59 UTC 2017 - mpluskal@suse.com
- Update to version 1.11 (boo#1039249):
* The graphical tools don't show TSLIB anymore, but Touchscreen
instead.
* The graphical tools support rotating the screen 90, 180 and 270
degrees
* man page updates
- Changes for version 1.10:
* new ts_libversion() API and TSLIB_VERSION_MT definition
* new module_raw dmc_dus3000 for DMC DUS Series touch screen via
UART
* Fixed and improved statically linked building
- Add gpg signature
- Trim unecessary dependencies
-------------------------------------------------------------------
Thu May 11 09:10:02 UTC 2017 - guillaume@opensuse.org
- Update to tslib 1.9
- Remove upstreamed patch: use-module-raw-input-for-ts-conf.patch
- Fix library name
-------------------------------------------------------------------
Sun Mar 1 14:43:11 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for source
-------------------------------------------------------------------
Wed Mar 12 14:27:36 UTC 2014 - guillaume@opensuse.org
- Update to 1.1:
- support for running in a different resolution than during calibration
- basic multi-touch support (incomplete implementation of the multi-touch protocol)
- 4 new tslib plugins (dmc, touchkit, egalax, palm pre)
-------------------------------------------------------------------
Wed Nov 13 01:09:42 UTC 2013 - jengelh@inai.de
- Fix insufficient description for libts-1_0-0
- Set RPM groups; simpler make install line; remove redundant
%clean section
- Own all created directories
-------------------------------------------------------------------
Mon Aug 12 08:21:33 UTC 2013 - guillaume@opensuse.org
- Add baselibs.conf (needed to use tslib with directfb)
-------------------------------------------------------------------
Mon Aug 12 08:19:09 UTC 2013 - guillaume@opensuse.org
- Update to git e2e03ef719
-------------------------------------------------------------------
Thu Jan 3 12:52:18 UTC 2013 - cfarrell@suse.com
- license update: LGPL-2.0+ and GPL-2.0+
Library itself is LGPL (2.0) and there are some GPL-2.0+ files in the
test subdir
-------------------------------------------------------------------
Wed Jan 2 23:35:28 UTC 2013 - sleep_walker@suse.cz
- follow policy for shared libraries and separate library package
- separate plugins
- instead of duplicate file create symlink
-------------------------------------------------------------------
Tue Dec 25 17:24:37 UTC 2012 - sleep_walker@suse.cz
- devel package now requires tslib itself
as libts.so is in tslib package, it is double-weird not to be
there
-------------------------------------------------------------------
Tue Dec 25 16:51:43 UTC 2012 - sleep_walker@suse.cz
- fix for non SUSE distros
-------------------------------------------------------------------
Thu Nov 8 14:49:02 UTC 2012 - guillaume@opensuse.org
- Initial release (git f6c499a523)

1025
tslib.keyring Normal file

File diff suppressed because it is too large Load Diff

117
tslib.spec Normal file
View File

@ -0,0 +1,117 @@
#
# spec file for package tslib
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
#
# 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: tslib
Version: 1.22
Release: 0
Summary: Abstraction layer for touchscreen
License: LGPL-2.1-or-later AND GPL-2.0-only
Group: Hardware/Other
URL: https://github.com/kergoth/tslib.git
Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: fdupes
BuildRequires: pkgconfig
%description
Tslib is an abstraction layer for touchscreen panel events.
The idea of tslib is to have a core library and a set of plugins to
manage the conversion and filtering as needed.
%package -n libts0
Summary: Abstraction layer for touchscreens
Group: System/Libraries
%description -n libts0
Tslib is an abstraction layer for touchscreen panel events.
The idea of tslib is to have a core library and a set of plugins to
manage the conversion and filtering as needed.
%package plugins
Summary: Driver plugins for tslib, an abstraction layer for touchscreens
Group: Hardware/Other
%description plugins
Tslib is an abstraction layer for touchscreen panel events.
The idea of tslib is to have a core library and a set of plugins to
manage the conversion and filtering as needed.
This subpackage contains the hardware driver plugins for tslib.
%package devel
Summary: Development files for tslib, a touchscreen panel event layer
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: %{name}-plugins = %{version}
Requires: glibc-devel
%description devel
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%fdupes %{buildroot}/%{_mandir}
%post -n libts0 -p /sbin/ldconfig
%postun -n libts0 -p /sbin/ldconfig
%files devel
%dir %{_libdir}/ts
%{_includedir}/tslib.h
%{_libdir}/libts.la
%{_libdir}/pkgconfig/tslib.pc
%dir %{_libdir}/ts
%{_libdir}/ts/*.la
%{_libdir}/libts.so
%files -n libts0
%{_libdir}/libts.so.0*
%files plugins
%dir %{_libdir}/ts
%{_libdir}/ts/*.so
%files
%config %{_sysconfdir}/ts.conf
%{_bindir}/ts_calibrate
%{_bindir}/ts_conf
%{_bindir}/ts_finddev
%{_bindir}/ts_harvest
%{_bindir}/ts_print
%{_bindir}/ts_print_mt
%{_bindir}/ts_print_raw
%{_bindir}/ts_test
%{_bindir}/ts_test_mt
%{_bindir}/ts_uinput
%{_bindir}/ts_verify
%{_mandir}/*/*
%changelog