diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-07 06:41:41 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-01-07 06:41:41 +0000 |
commit | 237eab78bb21cd679c53913386f206e89cfd0624 (patch) | |
tree | 2f0f0b8df2c96c4e619746dab51741bc98660a02 | |
parent | Update to 0.1.b128 (diff) |
x11-toolkits/wlroots: improve error messages
-rw-r--r-- | x11-toolkits/wlroots/Makefile | 10 | ||||
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/xcb-util-errors/Makefile | 20 | ||||
-rw-r--r-- | x11/xcb-util-errors/distinfo | 3 | ||||
-rw-r--r-- | x11/xcb-util-errors/pkg-descr | 7 | ||||
-rw-r--r-- | x11/xcb-util-errors/pkg-plist | 6 |
6 files changed, 40 insertions, 7 deletions
diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile index 6b13b9b8d2e4..68bbda559cdd 100644 --- a/x11-toolkits/wlroots/Makefile +++ b/x11-toolkits/wlroots/Makefile @@ -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 diff --git a/x11/Makefile b/x11/Makefile index 3f3a9af842ca..31b9663c775a 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -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 diff --git a/x11/xcb-util-errors/Makefile b/x11/xcb-util-errors/Makefile new file mode 100644 index 000000000000..97fb276a0f0b --- /dev/null +++ b/x11/xcb-util-errors/Makefile @@ -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> diff --git a/x11/xcb-util-errors/distinfo b/x11/xcb-util-errors/distinfo new file mode 100644 index 000000000000..180b099c39e7 --- /dev/null +++ b/x11/xcb-util-errors/distinfo @@ -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 diff --git a/x11/xcb-util-errors/pkg-descr b/x11/xcb-util-errors/pkg-descr new file mode 100644 index 000000000000..b5ee702ddcff --- /dev/null +++ b/x11/xcb-util-errors/pkg-descr @@ -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/ diff --git a/x11/xcb-util-errors/pkg-plist b/x11/xcb-util-errors/pkg-plist new file mode 100644 index 000000000000..44c3ff5c9e4c --- /dev/null +++ b/x11/xcb-util-errors/pkg-plist @@ -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 |