x11-toolkits/wlroots: improve error messages

This commit is contained in:
Jan Beich 2019-01-07 06:41:41 +00:00
parent d2be009ed7
commit 237eab78bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489559
6 changed files with 40 additions and 7 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= wlroots
DISTVERSION= 0.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-toolkits
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@ -38,17 +38,13 @@ OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
OPTIONS_SUB= yes
X11_LIB_DEPENDS=libxcb-icccm.so:x11/xcb-util-wm
X11_LIB_DEPENDS=libxcb-errors.so:x11/xcb-util-errors \
libxcb-icccm.so:x11/xcb-util-wm
X11_RUN_DEPENDS=Xwayland:x11-servers/xwayland
X11_USE= XORG=x11,xcb
X11_MESON_ON= -Dx11-backend=enabled -Dxcb-icccm=enabled -Dxwayland=enabled
X11_MESON_OFF= -Dx11-backend=disabled -Dxcb-icccm=disabled -Dxwayland=disabled
# https://github.com/swaywm/wlroots/commit/f8428d1063c6
.if exists(${.CURDIR:H:H}/x11/xcb-util-errors)
X11_LIB_DEPENDS+= libxcb-errors.so:x11/xcb-util-errors
.endif
post-patch:
# Ignore unused dependencies
@${REINPLACE_CMD} '/examples/d' ${WRKSRC}/meson.build

View File

@ -367,6 +367,7 @@
SUBDIR += xcb-proto
SUBDIR += xcb-util
SUBDIR += xcb-util-cursor
SUBDIR += xcb-util-errors
SUBDIR += xcb-util-image
SUBDIR += xcb-util-keysyms
SUBDIR += xcb-util-renderutil

View File

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= xcb-util-errors
PORTVERSION= 1.0
CATEGORIES= x11
MASTER_SITES= http://xcb.freedesktop.org/dist/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Pretty-print XCB codes
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xcb-proto>=1.6:x11/xcb-proto
XORG_CAT= lib
USE_XORG= xcb
INSTALL_TARGET= install-strip
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1430056740
SHA256 (xorg/lib/xcb-util-errors-1.0.tar.bz2) = 682681769e818ba085870d1ccd65f1f282ca16ca7d6f0f73ee70bc3642aa1995
SIZE (xorg/lib/xcb-util-errors-1.0.tar.bz2) = 297943

View File

@ -0,0 +1,7 @@
xcb-util-errors is a utility library that gives human readable
names to error codes and event codes and also to major and minor
numbers. The necessary information is drawn from xcb-proto's protocol
descriptions. This library is especially useful when working with
extensions and is mostly useful for debugging.
WWW: http://xcb.freedesktop.org/

View File

@ -0,0 +1,6 @@
include/xcb/xcb_errors.h
lib/libxcb-errors.a
lib/libxcb-errors.so
lib/libxcb-errors.so.0
lib/libxcb-errors.so.0.0.0
libdata/pkgconfig/xcb-errors.pc