Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2019 06:41:42 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489559 - in head: x11 x11-toolkits/wlroots x11/xcb-util-errors
Message-ID:  <201901070641.x076fgli007061@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jan  7 06:41:41 2019
New Revision: 489559
URL: https://svnweb.freebsd.org/changeset/ports/489559

Log:
  x11-toolkits/wlroots: improve error messages

Added:
  head/x11/xcb-util-errors/
  head/x11/xcb-util-errors/Makefile   (contents, props changed)
  head/x11/xcb-util-errors/distinfo   (contents, props changed)
  head/x11/xcb-util-errors/pkg-descr   (contents, props changed)
  head/x11/xcb-util-errors/pkg-plist   (contents, props changed)
Modified:
  head/x11-toolkits/wlroots/Makefile   (contents, props changed)
  head/x11/Makefile   (contents, props changed)

Modified: head/x11-toolkits/wlroots/Makefile
==============================================================================
--- head/x11-toolkits/wlroots/Makefile	Mon Jan  7 06:32:29 2019	(r489558)
+++ head/x11-toolkits/wlroots/Makefile	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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,16 +38,12 @@ 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

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Mon Jan  7 06:32:29 2019	(r489558)
+++ head/x11/Makefile	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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

Added: head/x11/xcb-util-errors/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xcb-util-errors/Makefile	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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>

Added: head/x11/xcb-util-errors/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xcb-util-errors/distinfo	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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

Added: head/x11/xcb-util-errors/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xcb-util-errors/pkg-descr	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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/

Added: head/x11/xcb-util-errors/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xcb-util-errors/pkg-plist	Mon Jan  7 06:41:41 2019	(r489559)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901070641.x076fgli007061>