Sync from SUSE:SLFO:Main libXi revision 94e5afb4f9d5d0040668ff26441cb93f

This commit is contained in:
Adrian Schröter 2024-05-03 14:26:53 +02:00
commit 513045b50b
5 changed files with 364 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 @@
libXi6
libXi-devel
requires -libXi-<targettype>
requires "libXi6-<targettype> = <version>"

BIN
libXi-1.8.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

238
libXi.changes Normal file
View File

@ -0,0 +1,238 @@
-------------------------------------------------------------------
Thu May 4 09:51:35 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.8.1
* Fix spelling/wording issues
* gitlab CI: enable commit & merge request checks
* gitlab CI: enable gitlab's builtin static analysis
* XInput_find_display: Don't dereference NULL dpyinfo
* configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
* Initialize a few stack vars to zero
-------------------------------------------------------------------
Wed Sep 15 21:47:48 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.8
* This release of libXi marks the support of XI 2.4 touchpad
gesture events official. This feature is the only difference
between libXi 1.8 and the latest release in the 1.7.x series
(1.7.10).
-------------------------------------------------------------------
Fri Jun 21 09:59:29 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.7.10
* Fix the FIXME in XIValuatorClass case of copy_classes function in XExtInt.c
* _XIPassiveGrabDevice needs to set time value
* Replace open-coded FP3232_TO_DOUBLE
* autogen: add default patch prefix
* autogen.sh: use quoted string variables
* autogen.sh: use exec instead of waiting for configure to finish
* Update configure.ac bug URL for gitlab migration
* Update README for gitlab migration
* man: add a bunch of missing spaces
* Update XIChangeHierarchy.txt
-------------------------------------------------------------------
Mon Jan 23 09:58:45 UTC 2017 - sndirsch@suse.com
- Update to version 1.7.9:
* Plug a memory leak
* Check that allocating a buffer succeeded
* Fix possible free of uninitialized pointer
-------------------------------------------------------------------
Fri Oct 28 23:26:17 UTC 2016 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.8:
The changes of 1.7.7 are included.
+ Fix a crash introduced in the 1.7.7 release.
+ Properly validate server responses.
-------------------------------------------------------------------
Tue Dec 22 17:34:13 UTC 2015 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.6:
One significant change here: libXi was using raw serial numbers in event
cookies, the one read off the wire. All other events don't use that number
but a Xlib-internal serial number which is similar but not always the same.
This could cause events to look out of order. With this release, libXi is
now using the same serial number for event cookies as it uses for all other
events.
-------------------------------------------------------------------
Fri Sep 11 12:09:30 UTC 2015 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.5:
A couple of important bugfixes that have accumulated over the last
year.
+ Fix version check in _XIAllowEvents
+ Advance the request buffer by the right amount in XIChangeHierarchy
+ Fix double unlock when _XiCheckExtInit return -1.
+ XIChangeHierarchy: Add missing unlock.
+ Do not return NoSuchExtension casted to pointer as an error.
+ XIGetClientPointer: Return False on error.
+ Fix logic in _XIAllowEvents and prevent double unlock.
+ Refactor XGetExtensionVersion.
+ XIGrabDevice: Unlock display in error path.
-------------------------------------------------------------------
Fri Jul 18 11:53:44 UTC 2014 - sndirsch@suse.com
- Update to version 1.7.4
* Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()
-------------------------------------------------------------------
Fri Jul 11 09:51:19 UTC 2014 - sndirsch@suse.com
- Update to version 1.7.3
* Two important patches fixing deadlocks when using XIPassiveGrab
requests. You're recommended to updated. Note that we now
require libX11 1.6, that's a new dependency over 1.7.2 but it's
over a year old by now anyway.
- added baselibs.conf as source to specfile
-------------------------------------------------------------------
Wed Jul 3 23:20:44 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.2:
Only one minor change since the RC. Again, this release contains the fixes
for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995 so you're encouraged to
update.
+ Remove check that can never be true.
-------------------------------------------------------------------
Fri Jun 28 12:32:47 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.1.901:
First and likely only RC for libXi 1.7.2. This one has a bunch of changes
for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995. These relate to various
integer overflows and other corruption that happens if we trust the server
a bit too much on the data we're being sent.
On top of those fixes, the sequence number in XI2 events is now set
propertly too (#64687).
-------------------------------------------------------------------
Fri Apr 5 13:51:01 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7.1:
Only a single fix: including the XFixes header to get the typedef for
PointerBarrier. Naturally, this adds a pkgconfig build-time dependency on
XFixes.
Why? The header shipped with 1.7 typedef'd PointerBarrier. If you #include
both XI and Xfixes headers, you will end up with a duplicate typedef.
This is not an issue on gcc >= 4.6 since the two typedef's are the same.
On earlier versions this will trigger an error. gcc 4.6 -pedantic-errors
will trigger the same error.
-------------------------------------------------------------------
Tue Mar 19 18:19:37 UTC 2013 - jengelh@inai.de
- Use more robust make install call
- Avoid calling fdupes outside of /usr
-------------------------------------------------------------------
Thu Mar 7 01:35:11 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.7:
The feature added in this revision is pointer barrier events and releases.
Pointer barriers themselves are an XFixes 5 feature, XI 2.3 adds two
disctinct features to barriers:
+ the ability for clients to get notified if pointer movement is restricted
by a barrier
+ the ability for clients to allow a pointer to move through a barrier
after it was constrained by the barrier
For a more verbose explanation of these features please refer to:
http://who-t.blogspot.com.au/2012/12/whats-new-in-xi-23-pointer-barrier.html
---------------------------------------------------------
Wed May 9 08:43:58 UTC 2012 - vuntz@opensuse.org
- Update to version 1.6.1:
+ Major bugs fixed:
- wrong button and mask copy
- raw event sourceid is now set
+ Small cleanups and bug fixes.
-------------------------------------------------------------------
Wed Apr 11 17:03:20 UTC 2012 - vuntz@opensuse.org
- Update to version 1.6.0:
+ Implement XI 2.2 (which provides multitouch)
+ Various cleanups and bug fixes
- Changes from version 1.5.0:
+ Implement XI 2.1 (which provides smooth scrolling)
+ Various cleanups and bug fixes
+ Man page improvements
- Changes from version 1.4.2:
+ Various cleanups and bug fixes
+ Build configuration improvements
- Changes from version 1.4.1:
+ Important fixes for bugs that cause clients to misbehave.
-------------------------------------------------------------------
Sun Feb 12 02:09:10 UTC 2012 - jengelh@medozas.de
- Update homepage URL and set a minimal package description
(found one in tarball announcement mails)
-------------------------------------------------------------------
Fri Feb 10 15:56:36 UTC 2012 - sndirsch@suse.com
- improved -devel provides/obsoletes for openSUSE 12.2
-------------------------------------------------------------------
Fri Feb 10 14:20:33 UTC 2012 - sndirsch@suse.com
- added provides/obsoletes for old libXi6-devel package
-------------------------------------------------------------------
Thu Feb 9 16:44:18 UTC 2012 - jengelh@medozas.de
- Rename SRPM from libXi6 to libXi (no Obsoletes needed for BRPMs)
-------------------------------------------------------------------
Sun Feb 5 01:37:10 UTC 2012 - jengelh@medozas.de
- Remove apparently unused (Build)Requires on Xau, Xdmcp, xtrans
- Add required runtime dependency on libXext-devel
(XInput2.h uses libXext-devel:Xge.h)
- Use pkgconfig() symbols to pull in BuildRequires
- Remove redundant tags/sections like %clean
- Parallel build with %_smp_mflags
-------------------------------------------------------------------
Wed Nov 3 04:46:01 UTC 2010 - sndirsch@novell.com
- update to release 1.4.0
* This version doesn't add new features but has seen numerous
packaging cleanups and a number of miscellaneous fixes.
-------------------------------------------------------------------
Sat Sep 4 16:21:10 UTC 2010 - sndirsch@novell.com
- update to release 1.3.1
A few minor build system cleanups but I've cherry-picked only
those that didn't require a macros update for this version. The
requirements are thus the same as for 1.3.0.
A couple of random other fixes, most notably two display lock
fixes. The other fix that's quite prominent is the
initialization of the extension with a server-specific number of
events. Previously, libXi 1.3 running against a non-XI2 enabled
server would result in mishandling of events (pending extension
initialization order).
- update to release 1.3.2
Brown paper bag release. Just one commit, fixing up a erroneous
conflict resolution that resulted in an inverted condition for
the asciidoc/xmlto checks and an error when building man pages.
-------------------------------------------------------------------
Fri Apr 2 17:28:57 CEST 2010 - sndirsch@suse.de
- use real version number instead of the one from X.Org
-------------------------------------------------------------------
Sat Jan 16 05:11:17 CET 2010 - sndirsch@suse.de
- created package

96
libXi.spec Normal file
View File

@ -0,0 +1,96 @@
#
# spec file for package libXi
#
# Copyright (c) 2023 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: libXi
%define lname libXi6
Version: 1.8.1
Release: 0
Summary: X Input Extension library
License: MIT
Group: Development/Libraries/C and C++
URL: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXi
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXi/
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) >= 2.1.99.6
BuildRequires: pkgconfig(x11) >= 1.4.99.1
BuildRequires: pkgconfig(xext) >= 1.0.99.1
BuildRequires: pkgconfig(xextproto) >= 7.0.3
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xorg-macros) >= 1.12
BuildRequires: pkgconfig(xproto) >= 7.0.13
%description
libXi is the client-side library for the X Input Extension.
%package -n %lname
Summary: X Input Extension library
Group: System/Libraries
%description -n %lname
libXi is the client-side library for the X Input Extension.
%package devel
Summary: Development files for the X Input Extension library
Group: Development/Libraries/C and C++
Requires: %lname = %version
# O/P added for 12.2
Provides: libXi6-devel = %version-%release
Obsoletes: libXi6-devel < %version-%release
%description devel
libXi is the client-side library for the X Input Extension.
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/libXi.so.6*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXi.so
%_libdir/pkgconfig/xi.pc
%_docdir/%name
%_mandir/man3/*
%changelog