ports/122564: [PATCH]x11/libxcb: update to 1.1

bf bf2006a at yahoo.com
Tue Apr 8 11:20:01 UTC 2008


>Number:         122564
>Category:       ports
>Synopsis:       [PATCH]x11/libxcb: update to 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 08 11:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
This is interdependent with the proposed changes to x11/xcb-proto in ports/122559. Summary of changes:

"This release requires xcb-proto 1.1, due to the addition of the
extension-multiword attribute to the XML schema.

Enhancements:
* Print a backtrace, if possible, on locking assertion failures.
* Skip abort() on locking assertions if LIBXCB_ALLOW_SLOPPY_LOCK is set.
* xcb_poll_for_event: Return already-read events before reading again.
* Output a configuration summary at the end of ./configure.

Bug fixes:
* Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
* Allow unix:<screen> style display names again.
* Bug #9119: test xcb_popcount
* Fix unit tests for FreeBSD
* NetBSD doesn't have AI_ADDRCONFIG: use it only if it's available.
* Require libXau >= 0.99.2; earlier versions have a broken .pc file
* Use substitition variables in xcb-xinerama.pc.in
* Update autogen.sh to one that does objdir != srcdir
* Add tools/* and autogen.sh to EXTRA_DIST.
* Doxygen can now be fully disabled if desired.

Documentation improvements:
* Many fixes and updates to the tutorial.
* Iterators, requests, and replies get partial Doxygen documentation."

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN libxcb.orig/Makefile libxcb/Makefile
--- libxcb.orig/Makefile	2007-09-05 10:45:07.000000000 -0400
+++ libxcb/Makefile	2008-04-08 07:04:06.835435666 -0400
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	libxcb
-PORTVERSION=	1.0
-PORTREVISION=	3
+PORTVERSION=	1.1
 CATEGORIES=	x11
-MASTER_SITES=	XORG/current/src/extras
+#MASTER_SITES=	XORG/current/src/extras
+MASTER_SITES=	http://xcb.freedesktop.org/dist/
 
 MAINTAINER=	wahjava at gmail.com
 COMMENT=	The X protocol C-language Binding (XCB) library
@@ -46,4 +46,9 @@
 XPROTO_CFLAGS=	-I${LOCALBASE}/include
 XPROTO_LIBS=	-L${LOCALBASE}/lib
 
+post-install:
+	@${ECHO_MSG} ''
+	@${CAT} pkg-message
+	@${ECHO_MSG} ''
+
 .include <bsd.port.mk>
diff -ruN libxcb.orig/distinfo libxcb/distinfo
--- libxcb.orig/distinfo	2007-01-29 06:18:46.000000000 -0500
+++ libxcb/distinfo	2008-04-08 07:04:06.835435666 -0400
@@ -1,3 +1,3 @@
-MD5 (libxcb-1.0.tar.bz2) = 0eb951fd0fa9542dbe4fc3530b81a3b6
-SHA256 (libxcb-1.0.tar.bz2) = 19d6b2ac380fd3e613a3730e791f197f186f940bffec97f8a4f9443bb727d11d
-SIZE (libxcb-1.0.tar.bz2) = 419355
+MD5 (libxcb-1.1.tar.bz2) = 9310b02433273d75d42f10da3c7455aa
+SHA256 (libxcb-1.1.tar.bz2) = 338b9cb7886b49a5674881cd929def07449e47ffcc1886f4363359883c82d93f
+SIZE (libxcb-1.1.tar.bz2) = 442755
diff -ruN libxcb.orig/pkg-message libxcb/pkg-message
--- libxcb.orig/pkg-message	1969-12-31 19:00:00.000000000 -0500
+++ libxcb/pkg-message	2008-04-08 07:04:06.839434498 -0400
@@ -0,0 +1,11 @@
+
+*****************************************************************
+Although libxcb can yield dramatic improvements in speed,
+memory footprint, and responsiveness, and will probably
+become the default Xlib for X.org/freedesktop.org, it is
+still experimental software.  Some broken callers will abort()
+on locking assertion failures.  As a temporary workaround, set
+LIBXCB_ALLOW_SLOPPY_LOCK in your environment to skip the abort().
+This may result in noisy stacktrace printing.
+*****************************************************************
+
diff -ruN libxcb.orig/pkg-plist libxcb/pkg-plist
--- libxcb.orig/pkg-plist	2007-09-05 10:45:07.000000000 -0400
+++ libxcb/pkg-plist	2008-04-08 07:04:06.835435666 -0400
@@ -134,4 +134,4 @@
 libdata/pkgconfig/xcb-xv.pc
 libdata/pkgconfig/xcb-xvmc.pc
 libdata/pkgconfig/xcb.pc
- at dirrm include/xcb
+ at dirrmtry include/xcb


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list