Ravenports generated: 11 May 2018 13:04
[ravenports.git] / bucket_B3 / xorg-xcb-util-cursor
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xorg-xcb-util-cursor
4 VERSION=                0.1.3
5 KEYWORDS=               x11
6 VARIANTS=               standard
7 SDESC[standard]=        XCB cursor library
8 HOMEPAGE=               https://xcb.freedesktop.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://xcb.freedesktop.org/dist/
13 DISTFILE[1]=            xcb-util-cursor-0.1.3.tar.bz2:main
14 DIST_SUBDIR=            xorg
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          gperf:single:standard
22
23 USES=                   libtool gmake
24 XORG_COMPONENTS=        xorgproto xcb xcb-render-util xcb-util
25                         xcb-util-image
26
27 DISTNAME=               xcb-util-cursor-0.1.3
28
29 LICENSE=                MIT:single
30 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
31 LICENSE_SCHEME=         solo
32
33 FPC_EQUIVALENT=         x11/xcb-util-cursor
34
35 MUST_CONFIGURE=         gnu
36
37 INSTALL_TARGET=         install-strip
38
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.
46
47 The util-cursor module implements the XCB cursor library, which is th XCB
48 replacement for libXcursor.
49
50
51 [FILE:113:distinfo]
52 05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f       295224 xorg/xcb-util-cursor-0.1.3.tar.bz2
53
54
55 [FILE:137:manifests/plist.single]
56 include/xcb/xcb_cursor.h
57 lib/
58  libxcb-cursor.a
59  libxcb-cursor.so
60  libxcb-cursor.so.0
61  libxcb-cursor.so.0.0.0
62 lib/pkgconfig/xcb-cursor.pc
63
64
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
68 @@ -1,5 +1,5 @@
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);
72  %%
73  X_cursor,0
74  arrow,1
75 @@ -79,7 +79,7 @@ ur_angle,74
76  watch,75
77  xterm,76
78  %%
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);
83  }
84
85
86 [FILE:404:patches/patch-cursor_cursor.h]
87 --- cursor/cursor.h.orig        2016-05-12 07:51:59 UTC
88 +++ cursor/cursor.h
89 @@ -161,7 +161,7 @@ typedef struct xcint_image_t {
90  } __attribute__((packed)) xcint_image_t;
91  
92  /* shape_to_id.c */
93 -const int cursor_shape_to_id(const char *name);
94 +int cursor_shape_to_id(const char *name);
95  
96  /* parse_cursor_file.c */
97  int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);
98