Ravenports generated: 25 Dec 2017 13:20
[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=        xproto xcb xcb-render-util xcb-util xcb-util-image
25
26 DISTNAME=               xcb-util-cursor-0.1.3
27
28 FPC_EQUIVALENT=         x11/xcb-util-cursor
29
30 MUST_CONFIGURE=         gnu
31
32 INSTALL_TARGET=         install-strip
33
34 [FILE:514:descriptions/desc.single]
35 The xcb-util module provides a number of libraries which sit on top of
36 libxcb, the core X protocol library, and some of the extension
37 libraries. These experimental libraries provide convenience functions
38 and interfaces which make the raw X protocol more usable. Some of the
39 libraries also provide client-side code which is not strictly part of
40 the X protocol but which have traditionally been provided by Xlib.
41
42 The util-cursor module implements the XCB cursor library, which is th XCB
43 replacement for libXcursor.
44
45
46 [FILE:113:distinfo]
47 05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f       295224 xorg/xcb-util-cursor-0.1.3.tar.bz2
48
49
50 [FILE:137:manifests/plist.single]
51 include/xcb/xcb_cursor.h
52 lib/
53  libxcb-cursor.a
54  libxcb-cursor.so
55  libxcb-cursor.so.0
56  libxcb-cursor.so.0.0.0
57 lib/pkgconfig/xcb-cursor.pc
58
59
60 [FILE:544:patches/patch-cursor__shape_to_id.gperf]
61 --- cursor/shape_to_id.gperf.orig       2016-05-12 07:51:59 UTC
62 +++ cursor/shape_to_id.gperf
63 @@ -1,5 +1,5 @@
64  struct shape_mapping { const char *name; int number; };
65 -const int cursor_shape_to_id(const char *name);
66 +int cursor_shape_to_id(const char *name);
67  %%
68  X_cursor,0
69  arrow,1
70 @@ -79,7 +79,7 @@ ur_angle,74
71  watch,75
72  xterm,76
73  %%
74 -const int cursor_shape_to_id(const char *name) {
75 +int cursor_shape_to_id(const char *name) {
76         struct shape_mapping *mapping = in_word_set(name, strlen(name));
77         return (mapping ? (mapping->number * 2) : -1);
78  }
79
80
81 [FILE:404:patches/patch-cursor_cursor.h]
82 --- cursor/cursor.h.orig        2016-05-12 07:51:59 UTC
83 +++ cursor/cursor.h
84 @@ -161,7 +161,7 @@ typedef struct xcint_image_t {
85  } __attribute__((packed)) xcint_image_t;
86  
87  /* shape_to_id.c */
88 -const int cursor_shape_to_id(const char *name);
89 +int cursor_shape_to_id(const char *name);
90  
91  /* parse_cursor_file.c */
92  int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);
93