1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= xorg-xcb-util-cursor
7 SDESC[standard]= XCB cursor library
8 HOMEPAGE= https://xcb.freedesktop.org/
12 SITES[main]= https://xcb.freedesktop.org/dist/
13 DISTFILE[1]= xcb-util-cursor-0.1.3.tar.bz2:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILD_DEPENDS= gperf:single:standard
24 XORG_COMPONENTS= xorgproto xcb xcb-render-util xcb-util
27 DISTNAME= xcb-util-cursor-0.1.3
30 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
33 FPC_EQUIVALENT= x11/xcb-util-cursor
37 INSTALL_TARGET= install-strip
39 [FILE:514:descriptions/desc.single]
40 The xcb-util module provides a number of libraries which sit on top of
41 libxcb, the core X protocol library, and some of the extension
42 libraries. These experimental libraries provide convenience functions
43 and interfaces which make the raw X protocol more usable. Some of the
44 libraries also provide client-side code which is not strictly part of
45 the X protocol but which have traditionally been provided by Xlib.
47 The util-cursor module implements the XCB cursor library, which is th XCB
48 replacement for libXcursor.
52 05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f 295224 xorg/xcb-util-cursor-0.1.3.tar.bz2
55 [FILE:137:manifests/plist.single]
56 include/xcb/xcb_cursor.h
61 libxcb-cursor.so.0.0.0
62 lib/pkgconfig/xcb-cursor.pc
65 [FILE:544:patches/patch-cursor__shape_to_id.gperf]
66 --- cursor/shape_to_id.gperf.orig 2016-05-12 07:51:59 UTC
67 +++ cursor/shape_to_id.gperf
69 struct shape_mapping { const char *name; int number; };
70 -const int cursor_shape_to_id(const char *name);
71 +int cursor_shape_to_id(const char *name);
75 @@ -79,7 +79,7 @@ ur_angle,74
79 -const int cursor_shape_to_id(const char *name) {
80 +int cursor_shape_to_id(const char *name) {
81 struct shape_mapping *mapping = in_word_set(name, strlen(name));
82 return (mapping ? (mapping->number * 2) : -1);
86 [FILE:404:patches/patch-cursor_cursor.h]
87 --- cursor/cursor.h.orig 2016-05-12 07:51:59 UTC
89 @@ -161,7 +161,7 @@ typedef struct xcint_image_t {
90 } __attribute__((packed)) xcint_image_t;
93 -const int cursor_shape_to_id(const char *name);
94 +int cursor_shape_to_id(const char *name);
96 /* parse_cursor_file.c */
97 int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);