xcb-*.güncellendi

This commit is contained in:
giresun28 2016-07-26 20:24:03 +00:00
parent e37242325b
commit 006d6e2f66
10 changed files with 77 additions and 19 deletions

View File

@ -0,0 +1,11 @@
--- libxcb-1.8.1/configure.ac 2012-03-09 15:38:38.000000000 +0100
+++ libxcb-1.8.1/configure.ac.new 2012-03-09 16:50:40.107109896 +0100
@@ -43,7 +43,7 @@
# Checks for pkg-config packages
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.12)
-NEEDED="pthread-stubs xau >= 0.99.2"
+NEEDED="xau >= 0.99.2"
PKG_CHECK_MODULES(NEEDED, $NEEDED)
have_xdmcp="no"

View File

@ -0,0 +1,42 @@
diff --git a/src/c_client.py b/src/c_client.py
index 57de3fb..043338d 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -1364,7 +1364,7 @@ def _c_serialize(context, self):
_c(' unsigned int xcb_align_to = 0;')
if self.is_switch:
_c(' unsigned int xcb_padding_offset = %d;',
- self.get_align_offset() )
+ self.get_align_offset() )
prefix = [('_aux', '->', self)]
aux_ptr = 'xcb_out'
@@ -1390,7 +1390,7 @@ def _c_serialize(context, self):
_c(' unsigned int xcb_align_to = 0;')
if self.is_switch:
_c(' unsigned int xcb_padding_offset = %d;',
- self.get_align_offset() )
+ self.get_align_offset() )
elif 'sizeof' == context:
param_names = [p[2] for p in params]
@@ -1930,14 +1930,14 @@ def _c_accessors_list(self, field):
# from the request size and divide that by the member size
return '(((R->length * 4) - sizeof('+ self.c_type + '))/'+'sizeof('+field.type.member.c_wiretype+'))'
else:
- # use the accessor to get the start of the list, then
- # compute the length of it by subtracting it from
+ # use the accessor to get the start of the list, then
+ # compute the length of it by subtracting it from
# the adress of the first byte after the end of the
# request
- after_end_of_request = '(((char*)R) + R->length * 4)'
- start_of_list = '%s(R)' % (field.c_accessor_name)
+ after_end_of_request = '(((char*)R) + R->length * 4)'
+ start_of_list = '%s(R)' % (field.c_accessor_name)
bytesize_of_list = '%s - (char*)(%s)' % (after_end_of_request, start_of_list)
- return '(%s) / sizeof(%s)' % (bytesize_of_list, field.type.member.c_wiretype)
+ return '(%s) / sizeof(%s)' % (bytesize_of_list, field.type.member.c_wiretype)
else:
raise Exception(
"lengthless lists with varsized members are not supported. Fieldname '%s'"

View File

@ -1,24 +1,28 @@
# Description: Interface to the X Window System protocol, which replaces the current Xlib interface. # Description: Interface to the X Window System protocol, which replaces the current Xlib interface.
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org # Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Depends on: xcb-proto xorg-libxdmcp xorg-libxau libxslt # Depends on: xcb-proto xorg-libxdmcp xorg-libxau libxslt xorg-util-macros
name=libxcb name=libxcb
version=1.11.1 version=1.12
release=2 release=2
source=(http://xcb.freedesktop.org/dist/$name-$version.tar.bz2) source=(http://xcb.freedesktop.org/dist/$name-$version.tar.bz2
libxcb-1.1-no-pthread-stubs.patch
python-35x-fixes.patch)
build() { build() {
cd $name-$version cd $name-$version
patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
patch -Np1 -i ../python-35x-fixes.patch
sed -e "s/pthread-stubs//" -i configure autoreconf -vfi
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--docdir='${datadir}'/doc/libxcb-$version \ --docdir='${datadir}'/doc/libxcb-$version \
--enable-xinput \ --enable-xinput \
--enable-xkb \ --enable-xkb \
--disable-static --disable-static
make make

View File

@ -2,8 +2,9 @@
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org # Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Depends on: python # Depends on: python
name=xcb-proto name=xcb-proto
version=1.11 version=1.12
release=1 release=1
source=(http://xcb.freedesktop.org/dist/xcb-proto-$version.tar.bz2) source=(http://xcb.freedesktop.org/dist/xcb-proto-$version.tar.bz2)

View File

@ -1,10 +1,10 @@
# Description: XCB cursor library # Description: XCB cursor library
# URL: http://cgit.freedesktop.org/xcb/util-cursor: # URL: http://cgit.freedesktop.org/xcb/util-cursor:
# Packager: pierre at nutyx dot org # Packager: alihan-ozturk28@hotmail.com
# Depends on: libxcb xcb-util-renderutil xcb-util-image # Depends on: libxcb xcb-util-renderutil xcb-util-image
name=xcb-util-cursor name=xcb-util-cursor
version=0.1.2 version=0.1.3
release=1 release=1
source=(http://xcb.freedesktop.org/dist/xcb-util-cursor-$version.tar.bz2) source=(http://xcb.freedesktop.org/dist/xcb-util-cursor-$version.tar.bz2)

View File

@ -1,7 +1,7 @@
# Description: XCB utilities library # Description: XCB utilities library
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org # Packager: pierre at nutyx dot org
# Depends on: libxcb xcb-util # Depends on: libxcb xcb-util xorg-util-macros
name=xcb-util-image name=xcb-util-image
version=0.4.0 version=0.4.0

View File

@ -1,7 +1,7 @@
# Description: Library for handling standard X key constants and conversion to/from keycodes. # Description: Library for handling standard X key constants and conversion to/from keycodes.
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org # Packagers: alihan-ozturk28@hotmail.com
# Depends on: libxcb # Depends on: libxcb xorg-util-macros
name=xcb-util-keysyms name=xcb-util-keysyms
version=0.4.0 version=0.4.0

View File

@ -1,7 +1,7 @@
# Description: XCB utilities library # Description: XCB utilities library
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org # Packager: alihan-ozturk28@hotmail.com
# Depends on: libxcb # Depends on: libxcb xorg-util-macros
name=xcb-util-renderutil name=xcb-util-renderutil
version=0.3.9 version=0.3.9

View File

@ -1,7 +1,7 @@
# Description: XCB utilities library # Description: XCB utilities library
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org # Packager: alihan-ozturk28@hotmail.com
# Depends on: libxcb xcb-util # Depends on: libxcb xcb-util xorg-util-macros
name=xcb-util-wm name=xcb-util-wm
version=0.4.1 version=0.4.1

View File

@ -1,7 +1,7 @@
# Description: XCB utilities library # Description: XCB utilities library
# URL: http://xcb.freedesktop.org # URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org # Packager: pierre at nutyx dot org
# Depends on: libxcb # Depends on: libxcb xorg-util-macros
name=xcb-util name=xcb-util
version=0.4.0 version=0.4.0