Sync from SUSE:SLFO:Main xcb-util-cursor revision 91d3fd0fd21d3f56a248ea02547c53d2

This commit is contained in:
Adrian Schröter 2024-05-04 01:59:49 +02:00
commit 1394be2664
5 changed files with 212 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 @@
libxcb-cursor0
xcb-util-cursor-devel
requires -xcb-util-cursor-<targettype>
requires "libxcb-cursor0-<targettype> = <version>"

BIN
xcb-util-cursor-0.1.4.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

80
xcb-util-cursor.changes Normal file
View File

@ -0,0 +1,80 @@
-------------------------------------------------------------------
Tue Oct 18 18:20:45 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 0.1.4
* Update README for gitlab migration
* Add README.md to EXTRA_DIST
* Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters
* Update m4 to xorg/util/xcb-util-m4@c617eee22ae5c285e79e81
* gitlab CI: add a basic build test
* configure: Drop AM_MAINTAINER_MODE
* autogen.sh: Honor NOCONFIGURE=1
* autogen.sh: use quoted string variables
* autogen: add default patch prefix
* autogen.sh: use exec instead of waiting for configure to finish
* documentation: Call xcb_free_cursor() when done
* Fix out-of-source builds
-------------------------------------------------------------------
Wed Nov 1 15:15:19 UTC 2017 - mpluskal@suse.com
- Clean up with spec-cleaner
- Make building more verbose
-------------------------------------------------------------------
Fri May 13 15:00:40 UTC 2016 - tobias.johannes.klausmann@mni.thm.de
- Update to version 0.1.3:
* Add a --with-cursorpath option to configure
-------------------------------------------------------------------
Mon Apr 25 11:40:51 UTC 2016 - sndirsch@suse.com
- removed u_fix-issue-with-gcc.patch
* patch was only necessary with gcc in 2013, when building
'awesome' against the static library; we do not ship the static
libary (did we ever?)
https://lists.freedesktop.org/archives/xcb/2016-April/010737.html
-------------------------------------------------------------------
Mon Mar 30 09:32:56 UTC 2015 - sndirsch@suse.com
- added baselibs.conf as source to specfile
-------------------------------------------------------------------
Fri Mar 27 14:51:02 UTC 2015 - hrvoje.senjan@gmail.com
- Update to version 0.1.2:
+ Use CFSwapInt32LittleToHost from CoreFoundation.h on Mac OS X
to implement le32toh.
+ Check submodules before running autoconf.
+ darwin: Use OSByteOrder.h rather than CF.
+ Perform safety check before trying to load glyph cursor
-------------------------------------------------------------------
Wed Nov 13 19:52:53 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 0.1.1:
+ Fix memleak with broken resource databases
+ Check exact RENDER version that the server supports
+ Use LE_32 macro from <sys/byteorder.h> on Solaris versions without le32toh()
+ Use $(AM_V_GEN) when calling gperf
+ Fail the build if gperf is needed, but not found
+ handle read() errors
+ Bugfix: Properly load cursor files where not all cursors are suitable
-------------------------------------------------------------------
Thu Oct 17 12:48:59 UTC 2013 - sndirsch@suse.com
- renamed patch according to the X11:XOrg patch guidelines
-------------------------------------------------------------------
Sat Oct 5 22:18:53 UTC 2013 - kgronlund@suse.com
- Fix issue with GCC
-------------------------------------------------------------------
Sat Oct 5 18:51:05 UTC 2013 - kgronlund@suse.com
- Initial package, version 0.1.0+2

102
xcb-util-cursor.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package xcb-util-cursor
#
# 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/
#
%define lname libxcb-cursor0
Name: xcb-util-cursor
Version: 0.1.4
Release: 0
Summary: XCB cursor library (libxcursor port)
License: MIT
Group: Development/Libraries/C and C++
URL: http://xcb.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xcb/util-cursor
#Git-Web: http://cgit.freedesktop.org/xcb/util-cursor/
Source: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gperf
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xcb) >= 1.4
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-proto) >= 1.6
BuildRequires: pkgconfig(xcb-render)
BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
%description
The XCB util modules provide a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries.
Included in this package is:
- cursor: port of libxcursor
%package -n %{lname}
Summary: XCB cursor library (libxcursor port)
Group: System/Libraries
%description -n %{lname}
The XCB util modules provide a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries.
Included in this package is:
- cursor: port of libxcursor
%package devel
Summary: Development files for the XCB cursor library (libxcursor port)
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
The XCB util modules provide a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries.
This package contains the development headers for the library found
in %{lname}.
%prep
%setup -q
%build
autoreconf -fiv
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}
%{_libdir}/libxcb-cursor.so.0*
%files devel
%{_includedir}/xcb
%{_libdir}/libxcb-cursor.so
%{_libdir}/pkgconfig/xcb-cursor.pc
%changelog