Sync from SUSE:SLFO:Main libXtst revision b001acabd4690eec0043f2e2d9522868

This commit is contained in:
Adrian Schröter 2024-05-03 14:29:27 +02:00
commit 6dda8cde1c
5 changed files with 209 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 @@
libXtst6
libXtst-devel
requires -libXtst-<targettype>
requires "libXtst6-<targettype> = <version>"

BIN
libXtst-1.2.4.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

66
libXtst.changes Normal file
View File

@ -0,0 +1,66 @@
-------------------------------------------------------------------
Tue Sep 27 10:02:24 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.4
* Update README for gitlab migration
* Update configure.ac bug URL for gitlab migration
* Fix spelling/wording issues
* gitlab CI: add a basic build test
* send_axes: Mark switch statement fallthrough as intentional
* Resolve -Wsign-compare warnings
* Variable scope reductions as suggested by cppcheck
* Remove obsolete casts from Xmalloc() and Xcalloc() calls
* autogen.sh: use quoted string variables
* autogen: add default patch prefix
* autogen.sh: use exec instead of waiting for configure to finish
-------------------------------------------------------------------
Mon Aug 10 10:32:26 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Add a Provides: libXtst = %{version} to the library subpackage
to make pre-packaged electron apps happy.
-------------------------------------------------------------------
Wed Nov 2 10:38:17 UTC 2016 - sndirsch@suse.com
- tagged baselibs.conf as source in specfile
-------------------------------------------------------------------
Sat Oct 29 00:00:07 UTC 2016 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.2.3:
+ Remove fallback for _XEatDataWords, require libX11 1.6 for it
+ Out of boundary access and endless loop in libXtst
-------------------------------------------------------------------
Sat Jun 1 20:11:00 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.2.2:
This release provides the fix for the recently announced security issue
CVE-2013-2063, along with a number of fixes to the build configuration.
- Packaging changes:
+ Remove Patch0: u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch
Superseded by another upstreamed version
-------------------------------------------------------------------
Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de
- Use more robust make install call
- Avoid calling fdupes outside of /usr
-------------------------------------------------------------------
Wed Apr 11 15:23:43 UTC 2012 - vuntz@opensuse.org
- Update to version 1.2.1:
+ Fix for gcc warning
+ Improvements to documentation
+ Build configuration improvements
-------------------------------------------------------------------
Fri Feb 24 11:29:37 UTC 2012 - sndirsch@suse.com
- Added missing "xi" requires to pkconfig file (bnc#748808)
-------------------------------------------------------------------
Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de
- Split xorg-x11-libs into separate packages

113
libXtst.spec Normal file
View File

@ -0,0 +1,113 @@
#
# spec file for package libXtst
#
# 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
# 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: libXtst
%define lname libXtst6
Version: 1.2.4
Release: 0
Summary: Xlib-based client API for the XTEST and RECORD extensions
License: MIT
Group: Development/Libraries/C and C++
URL: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXtst
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXtst/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(recordproto) >= 1.13.99.1
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext) >= 1.0.99.4
BuildRequires: pkgconfig(xextproto) >= 7.0.99.3
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xorg-macros) >= 1.12
%description
The XTEST extension is a minimal set of client and server extensions
required to completely test the X11 server with no user intervention.
This extension is not intended to support general journaling and
playback of user actions.
The RECORD extension supports the recording and reporting of all core
X protocol and arbitrary X extension protocol.
%package -n %lname
Summary: Xlib-based client API for the XTEST and RECORD extensions
Group: System/Libraries
# Make electron apps happy
Provides: libXtst = %{version}
%description -n %lname
The XTEST extension is a minimal set of client and server extensions
required to completely test the X11 server with no user intervention.
This extension is not intended to support general journaling and
playback of user actions.
The RECORD extension supports the recording and reporting of all core
X protocol and arbitrary X extension protocol.
%package devel
Summary: Development files for the X11 XTEST and RECORD extensions
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
The XTEST extension is a minimal set of client and server extensions
required to completely test the X11 server with no user intervention.
This extension is not intended to support general journaling and
playback of user actions.
The RECORD extension supports the recording and reporting of all core
X protocol and arbitrary X extension protocol.
This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%build
%configure --docdir=%_docdir/%name --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXtst.so.6*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXtst.so
%_libdir/pkgconfig/xtst.pc
%_mandir/man3/*
%_docdir/%name
%changelog