Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src enable USE_XCB in libX11.
details: https://anonhg.NetBSD.org/src/rev/8650c5ebac82
branches: trunk
changeset: 762567:8650c5ebac82
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 23 07:53:28 2011 +0000
description:
enable USE_XCB in libX11.
install missing libX11-xcb and Xlib-xcb.h.
diffstat:
distrib/sets/lists/xbase/shl.mi | 5 ++++-
distrib/sets/lists/xcomp/mi | 6 +++++-
distrib/sets/lists/xcomp/shl.mi | 4 +++-
external/mit/xorg/lib/libX11/Makefile | 15 ++++++++-------
external/mit/xorg/lib/libX11/Makefile.libx11 | 18 ++++++++++++++----
external/mit/xorg/lib/libX11/dynamic/Makefile | 7 ++++---
external/mit/xorg/lib/libX11/libX11-xcb/Makefile | 19 +++++++++++++++++++
external/mit/xorg/lib/libX11/libX11-xcb/shlib_version | 4 ++++
8 files changed, 61 insertions(+), 17 deletions(-)
diffs (197 lines):
diff -r f9c54a1b610f -r 8650c5ebac82 distrib/sets/lists/xbase/shl.mi
--- a/distrib/sets/lists/xbase/shl.mi Wed Feb 23 07:47:09 2011 +0000
+++ b/distrib/sets/lists/xbase/shl.mi Wed Feb 23 07:53:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.41 2011/01/19 16:31:23 jmcneill Exp $
+# $NetBSD: shl.mi,v 1.42 2011/02/23 07:53:28 mrg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -189,6 +189,9 @@
./usr/X11R7/lib/libX11.so -unknown- xorg
./usr/X11R7/lib/libX11.so.7 -unknown- xorg
./usr/X11R7/lib/libX11.so.7.0 -unknown- xorg
+./usr/X11R7/lib/libX11-xcb.so -unknown- xorg
+./usr/X11R7/lib/libX11-xcb.so.1 -unknown- xorg
+./usr/X11R7/lib/libX11-xcb.so.1.0 -unknown- xorg
./usr/X11R7/lib/libXRes.so -unknown- xorg
./usr/X11R7/lib/libXRes.so.2 -unknown- xorg
./usr/X11R7/lib/libXRes.so.2.0 -unknown- xorg
diff -r f9c54a1b610f -r 8650c5ebac82 distrib/sets/lists/xcomp/mi
--- a/distrib/sets/lists/xcomp/mi Wed Feb 23 07:47:09 2011 +0000
+++ b/distrib/sets/lists/xcomp/mi Wed Feb 23 07:53:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.122 2011/01/19 18:29:28 jakllsch Exp $
+# $NetBSD: mi,v 1.123 2011/02/23 07:53:29 mrg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -5334,6 +5334,7 @@
./usr/X11R7/include/X11/Xfuncs.h -unknown- xorg
./usr/X11R7/include/X11/Xlcint.h -unknown- xorg
./usr/X11R7/include/X11/Xlib.h -unknown- xorg
+./usr/X11R7/include/X11/Xlib-xcb.h -unknown- xorg
./usr/X11R7/include/X11/XlibConf.h -unknown- xorg
./usr/X11R7/include/X11/Xlibint.h -unknown- xorg
./usr/X11R7/include/X11/Xlocale.h -unknown- xorg
@@ -6154,6 +6155,9 @@
./usr/X11R7/lib/libX11.a -unknown- xorg
./usr/X11R7/lib/libX11_g.a -unknown- debuglib,xorg
./usr/X11R7/lib/libX11_p.a -unknown- profile,xorg
+./usr/X11R7/lib/libX11-xcb.a -unknown- xorg
+./usr/X11R7/lib/libX11-xcb_g.a -unknown- debuglib,xorg
+./usr/X11R7/lib/libX11-xcb_p.a -unknown- profile,xorg
./usr/X11R7/lib/libXRes.a -unknown- xorg
./usr/X11R7/lib/libXRes_g.a -unknown- debuglib,xorg
./usr/X11R7/lib/libXRes_p.a -unknown- profile,xorg
diff -r f9c54a1b610f -r 8650c5ebac82 distrib/sets/lists/xcomp/shl.mi
--- a/distrib/sets/lists/xcomp/shl.mi Wed Feb 23 07:47:09 2011 +0000
+++ b/distrib/sets/lists/xcomp/shl.mi Wed Feb 23 07:53:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.27 2011/01/19 16:31:23 jmcneill Exp $
+# $NetBSD: shl.mi,v 1.28 2011/02/23 07:53:29 mrg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -55,6 +55,7 @@
./usr/X11R7/lib/libOSMesa_pic.a -unknown- xorg
./usr/X11R7/lib/libSM_pic.a -unknown- xorg
./usr/X11R7/lib/libX11_pic.a -unknown- xorg
+./usr/X11R7/lib/libX11-xcb_pic.a -unknown- xorg
./usr/X11R7/lib/libXRes_pic.a -unknown- xorg
./usr/X11R7/lib/libXTrap_pic.a -unknown- xorg
./usr/X11R7/lib/libXau_pic.a -unknown- xorg
@@ -196,6 +197,7 @@
./usr/libdata/debug/usr/X11R7/lib/libOSMesa.so.7.0.debug -unknown- xorg,debug
./usr/libdata/debug/usr/X11R7/lib/libSM.so.7.0.debug -unknown- xorg,debug
./usr/libdata/debug/usr/X11R7/lib/libX11.so.7.0.debug -unknown- xorg,debug
+./usr/libdata/debug/usr/X11R7/lib/libX11-xcb.so.1.0.debug -unknown- xorg,debug
./usr/libdata/debug/usr/X11R7/lib/libXRes.so.2.0.debug -unknown- xorg,debug
./usr/libdata/debug/usr/X11R7/lib/libXTrap.so.7.0.debug -unknown- xorg,debug
./usr/libdata/debug/usr/X11R7/lib/libXau.so.7.0.debug -unknown- xorg,debug
diff -r f9c54a1b610f -r 8650c5ebac82 external/mit/xorg/lib/libX11/Makefile
--- a/external/mit/xorg/lib/libX11/Makefile Wed Feb 23 07:47:09 2011 +0000
+++ b/external/mit/xorg/lib/libX11/Makefile Wed Feb 23 07:53:28 2011 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.10 2010/11/28 07:47:53 mrg Exp $
+# $NetBSD: Makefile,v 1.11 2011/02/23 07:53:29 mrg Exp $
.include <bsd.own.mk>
-SUBDIR= dynamic static \
+SUBDIR= dynamic .WAIT libX11-xcb static \
ximcp xlcDef xlcUTF8Load xlibi18n xlocale xomGeneric
-INCS= ImUtil.h XKBlib.h Xcms.h Xlib.h XlibConf.h Xlibint.h \
- Xlocale.h Xregion.h Xresource.h Xutil.h cursorfont.h \
- Xcmsint.h Xlcint.h
+INCS= ImUtil.h XKBlib.h Xcms.h Xlib-xcb.h Xlib.h XlibConf.h \
+ Xlibint.h Xlocale.h Xregion.h Xresource.h Xutil.h \
+ Xcmsint.h Xlcint.h \
+ cursorfont.h
INCSDIR= ${X11INCDIR}/X11
MAN= AllPlanes.3 BlackPixelOfScreen.3 DisplayOfCCC.3 \
@@ -95,8 +96,8 @@
XlibConf.h: XlibConf.h.in
${_MKTARGET_CREATE}
- ${TOOL_SED} 's/#undef XTHREADS/#define XTHREADS/; \
- s/#undef XUSE_MTSAFE_API/#define XUSE_MTSAFE_API/ ' \
+ ${TOOL_SED} 's/#undef XTHREADS/#define XTHREADS 1/; \
+ s/#undef XUSE_MTSAFE_API/#define XUSE_MTSAFE_API 1/ ' \
< ${.ALLSRC} > ${.TARGET}
CLEANFILES+= XlibConf.h
diff -r f9c54a1b610f -r 8650c5ebac82 external/mit/xorg/lib/libX11/Makefile.libx11
--- a/external/mit/xorg/lib/libX11/Makefile.libx11 Wed Feb 23 07:47:09 2011 +0000
+++ b/external/mit/xorg/lib/libX11/Makefile.libx11 Wed Feb 23 07:53:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libx11,v 1.7 2010/05/22 02:41:13 mrg Exp $
+# $NetBSD: Makefile.libx11,v 1.8 2011/02/23 07:53:29 mrg Exp $
LIB= X11
.PATH: ${X11SRCDIR.${LIB}}/src
@@ -267,9 +267,6 @@
SRCS+= \
UIThrStubs.c
-SRCS+= \
- ConnDis.c \
- x11_trans.c
SRCS+= \
AddDIC.c \
@@ -397,6 +394,19 @@
CPPFLAGS+= -I${X11SRCDIR.X11}/src/xcms
CPPFLAGS+= -I${X11SRCDIR.X11}/src/xlibi18n
+# From libX11's config.h
+CPPFLAGS+= -DCOMPOSECACHE -DHAVE_DLOPEN -DHAVE_GETPAGESIZE
+CPPFLAGS+= -DHAVE_INTTYPES_H -DHAVE_MEMORY_H -DHAVE_MMAP
+CPPFLAGS+= -DHAVE_SOCKLEN_T -DHAVE_STDLIB_H -DHAVE_STRINGS_H
+CPPFLAGS+= -DHAVE_STRING_H -DHAVE_STRTOL -DHAVE_SYS_PARAM_H
+CPPFLAGS+= -DHAVE_SYS_SELECT_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TYPES_H
+CPPFLAGS+= -DHAVE_UNISTD_H
+
+CPPFLAGS+= -DUSE_XCB
+SRCS+= \
+ xcb_disp.c \
+ xcb_io.c
+
CMS_DEFINES= -DXCMS -DXCMSDB=\"${X11LIBDIR}/Xcms.txt\"
CONN_DEFINES= ${X11FLAGS.CONNECTION}
EDB_DEFINES= -DERRORDB=\"${X11LIBDIR}/XErrorDB\"
diff -r f9c54a1b610f -r 8650c5ebac82 external/mit/xorg/lib/libX11/dynamic/Makefile
--- a/external/mit/xorg/lib/libX11/dynamic/Makefile Wed Feb 23 07:47:09 2011 +0000
+++ b/external/mit/xorg/lib/libX11/dynamic/Makefile Wed Feb 23 07:53:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/23 07:53:29 mrg Exp $
NOLINT= 1
NOPROFILE= 1
@@ -18,9 +18,10 @@
CPPFLAGS.CrPixmap.c= $(XCURSOR_DEFINES)
CPPFLAGS.PutImage.c= $(XCURSOR_DEFINES)
-LIBDPLIBS= \
+LIBDPLIBS+= \
+ xcb ${.CURDIR}/../../libxcb/libxcb \
Xdmcp ${.CURDIR}/../../libXdmcp \
- Xau ${.CURDIR}/../../libXau \
+ Xau ${.CURDIR}/../../libXau
.include <bsd.x11.mk>
.include <bsd.lib.mk>
diff -r f9c54a1b610f -r 8650c5ebac82 external/mit/xorg/lib/libX11/libX11-xcb/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/lib/libX11/libX11-xcb/Makefile Wed Feb 23 07:53:28 2011 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2011/02/23 07:53:30 mrg Exp $
+
+NOLINT= 1
+
+.include <bsd.own.mk>
+
+LIB= X11-xcb
+
+SRCS+= x11_xcb.c
+
+CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
+
+LIBDPLIBS+= \
+ X11 ${.CURDIR}/../../libX11/dynamic
+
+.PATH: ${X11SRCDIR.X11}/src
+
+.include <bsd.x11.mk>
+.include <bsd.lib.mk>
diff -r f9c54a1b610f -r 8650c5ebac82 external/mit/xorg/lib/libX11/libX11-xcb/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/lib/libX11/libX11-xcb/shlib_version Wed Feb 23 07:53:28 2011 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: shlib_version,v 1.1 2011/02/23 07:53:30 mrg Exp $
+#
+major=1
+minor=0
Home |
Main Index |
Thread Index |
Old Index