From 1394be26642a365df6f3d45cfc916d5bd6a94447be32a9ba2f4280a91d3a4a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:59:49 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main xcb-util-cursor revision 91d3fd0fd21d3f56a248ea02547c53d2 --- .gitattributes | 23 ++++++++ baselibs.conf | 4 ++ xcb-util-cursor-0.1.4.tar.xz | 3 ++ xcb-util-cursor.changes | 80 +++++++++++++++++++++++++++ xcb-util-cursor.spec | 102 +++++++++++++++++++++++++++++++++++ 5 files changed, 212 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 xcb-util-cursor-0.1.4.tar.xz create mode 100644 xcb-util-cursor.changes create mode 100644 xcb-util-cursor.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..13c239a --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libxcb-cursor0 +xcb-util-cursor-devel + requires -xcb-util-cursor- + requires "libxcb-cursor0- = " \ No newline at end of file diff --git a/xcb-util-cursor-0.1.4.tar.xz b/xcb-util-cursor-0.1.4.tar.xz new file mode 100644 index 0000000..aff0ebe --- /dev/null +++ b/xcb-util-cursor-0.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb +size 265508 diff --git a/xcb-util-cursor.changes b/xcb-util-cursor.changes new file mode 100644 index 0000000..63ea314 --- /dev/null +++ b/xcb-util-cursor.changes @@ -0,0 +1,80 @@ +------------------------------------------------------------------- +Tue Oct 18 18:20:45 UTC 2022 - Stefan Dirsch + +- 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 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 + diff --git a/xcb-util-cursor.spec b/xcb-util-cursor.spec new file mode 100644 index 0000000..be3cbee --- /dev/null +++ b/xcb-util-cursor.spec @@ -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