x11/xcb-util-cursor: Update to 0.1.5
Add an upstream patch which corrects default CURSORPATH. Add autoreconf since upstream used aclocal-1.16 PR: 287329 Approved by: manu (maintainer)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
PORTNAME= xcb-util-cursor
|
||||
PORTVERSION= 0.1.3
|
||||
PORTVERSION= 0.1.5
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://xcb.freedesktop.org/dist/
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= XCB cursor library
|
||||
WWW= https://xcb.freedesktop.org/
|
||||
|
||||
PATCH_SITES= https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/-/commit/
|
||||
PATCHFILES= d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch:-p1
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:x11/xcb-util \
|
||||
${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:x11/xcb-util-renderutil \
|
||||
${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:x11/xcb-util-image
|
||||
|
||||
USES= gmake gperf xorg xorg-cat:lib
|
||||
USES= autoreconf gmake gperf tar:xz xorg xorg-cat:lib
|
||||
USE_XORG= xcb
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1478372663
|
||||
SHA256 (xorg/lib/xcb-util-cursor-0.1.3.tar.bz2) = 05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f
|
||||
SIZE (xorg/lib/xcb-util-cursor-0.1.3.tar.bz2) = 295224
|
||||
TIMESTAMP = 1749152863
|
||||
SHA256 (xorg/lib/xcb-util-cursor-0.1.5.tar.xz) = 0caf99b0d60970f81ce41c7ba694e5eaaf833227bb2cbcdb2f6dc9666a663c57
|
||||
SIZE (xorg/lib/xcb-util-cursor-0.1.5.tar.xz) = 266788
|
||||
SHA256 (xorg/lib/d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch) = 08a69cc2ce91abd9e672f75f5e1d622dabaefd629491b83a73fc9278a7d0a42a
|
||||
SIZE (xorg/lib/d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch) = 2662
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
--- cursor/shape_to_id.gperf.orig 2013-08-28 14:00:29.539200308 +0200
|
||||
+++ cursor/shape_to_id.gperf 2013-08-28 14:01:02.866194795 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
struct shape_mapping { const char *name; int number; };
|
||||
-const int cursor_shape_to_id(const char *name);
|
||||
+int cursor_shape_to_id(const char *name);
|
||||
%%
|
||||
X_cursor,0
|
||||
arrow,1
|
||||
@@ -79,7 +79,7 @@
|
||||
watch,75
|
||||
xterm,76
|
||||
%%
|
||||
-const int cursor_shape_to_id(const char *name) {
|
||||
+int cursor_shape_to_id(const char *name) {
|
||||
struct shape_mapping *mapping = in_word_set(name, strlen(name));
|
||||
return (mapping ? (mapping->number * 2) : -1);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- cursor/cursor.h.orig 2013-08-28 13:57:29.231213533 +0200
|
||||
+++ cursor/cursor.h 2013-08-28 13:57:38.222207468 +0200
|
||||
@@ -154,7 +154,7 @@
|
||||
} __attribute__((packed)) xcint_image_t;
|
||||
|
||||
/* shape_to_id.c */
|
||||
-const int cursor_shape_to_id(const char *name);
|
||||
+int cursor_shape_to_id(const char *name);
|
||||
|
||||
/* parse_cursor_file.c */
|
||||
int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);
|
||||
Reference in New Issue
Block a user