Import Debian changes 0.1.1-ok1

xcb-util-cursor (0.1.1-ok1) yangtze; urgency=low

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent 6b07f61483
commit 14ea7cc141
13 changed files with 149 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
xcb-util-cursor (0.1.1-ok1) yangtze; urgency=low
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

55
debian/control vendored Normal file
View File

@ -0,0 +1,55 @@
Source: xcb-util-cursor
Priority: extra
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Michael Stapelberg <stapelberg@debian.org>
Build-Depends: debhelper (>= 9),
dh-autoreconf,
autoconf,
automake,
pkg-config,
libxcb1-dev,
libxcb-render-util0-dev,
libxcb-image0-dev,
xutils-dev
Standards-Version: 3.9.5
Section: libs
Homepage: http://xcb.freedesktop.org/
Vcs-Git: git://anonscm.debian.org/collab-maint/xcb-util-cursor.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xcb-util-cursor.git;a=summary
Package: libxcb-cursor-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libxcb-cursor0 (= ${binary:Version}),
${misc:Depends},
libxcb-render-util0-dev,
libxcb-image0-dev,
libxcb-render0-dev,
libxcb1-dev
Description: utility libraries for X C Binding -- cursor, development files
This package contains the header and library files needed to build software
using libxcb-cursor, providing port of Xlib's libXcursor functions.
.
The xcb-util module provides a number of libraries which sit on top of libxcb,
the core X protocol library, and some of the extension libraries. These
experimental libraries provide convenience functions and interfaces which make
the raw X protocol more usable. Some of the libraries also provide client-side
code which is not strictly part of the X protocol but which have traditionally
been provided by Xlib.
Package: libxcb-cursor0
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: utility libraries for X C Binding -- cursor
This package contains the library files needed to run software using
libxcb-cursor, providing port of Xlib's libXcursor functions.
.
The xcb-util module provides a number of libraries which sit on top of libxcb,
the core X protocol library, and some of the extension libraries. These
experimental libraries provide convenience functions and interfaces which make
the raw X protocol more usable. Some of the libraries also provide client-side
code which is not strictly part of the X protocol but which have traditionally
been provided by Xlib.

35
debian/copyright vendored Normal file
View File

@ -0,0 +1,35 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xcb-util-cursor
Upstream-Contact: XCB Mailing List <xcb@lists.freedesktop.org>
Source: http://xcb.freedesktop.org
Files: *
Copyright: 2013 Michael Stapelberg <michael+xcb@stapelberg.de>
License: MIT/X Consortium License
Files: debian/*
Copyright: 2013 Michael Stapelberg <stapelberg@debian.org>
License: MIT/X Consortium License
License: MIT/X Consortium License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.
Except as contained in this notice, the names of the authors or their
institutions shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization from the authors.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
NEWS
README

4
debian/libxcb-cursor-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include/xcb/xcb_cursor.h
usr/lib/*/libxcb-cursor.a
usr/lib/*/libxcb-cursor.so
usr/lib/*/pkgconfig/xcb-cursor.pc

1
debian/libxcb-cursor0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/libxcb-cursor.so.*

4
debian/libxcb-cursor0.symbols vendored Normal file
View File

@ -0,0 +1,4 @@
libxcb-cursor.so.0 libxcb-cursor0 #MINVER#
xcb_cursor_context_free@Base 0.0.99
xcb_cursor_context_new@Base 0.0.99
xcb_cursor_load_cursor@Base 0.0.99

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
upstream_Perform-safety-check-before-trying-to-load-glyph-cur.patch

View File

@ -0,0 +1,22 @@
Description: Perform safety check before trying to load glyph cursor
The passed in cursor name to xcb_cursor_load_cursor might not match one of
the predefined font cursor values. Without the check the call to create glyph
cursor will fail with a BadValue error, but the library returns the id
allocated for the xcb_cursor_t. A user of the library gets a value which
looks like a valid cursor, but when using it for e.g. a cursor value in
xcb_create_window it raises a BadCursor error.
Author: Martin Gräßlin <mgraesslin@kde.org>
Origin: upstream
Applied-Upstream: commit:cf26479ece9ab9e04616bc10ba674d88a284e5b0
Last-Update: 2017-08-12
--- a/cursor/load_cursor.c
+++ b/cursor/load_cursor.c
@@ -207,6 +207,8 @@ xcb_cursor_t xcb_cursor_load_cursor(xcb_
if (fd == -1 || core_char > -1) {
if (core_char == -1)
core_char = cursor_shape_to_id(name);
+ if (core_char == -1)
+ return XCB_NONE;
cid = xcb_generate_id(c->conn);
xcb_create_glyph_cursor(c->conn, cid, c->cursor_font, c->cursor_font, core_char, core_char + 1, 0, 0, 0, 65535, 65535, 65535);

16
debian/rules vendored Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules
%:
dh $@ --with autoreconf

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://xcb.freedesktop.org/dist/xcb-util-cursor-([0-9.]*)\.tar\.gz