diff --git a/talimatname/genel/libxcb/libxcb-1.1-no-pthread-stubs.patch b/talimatname/genel/libxcb/libxcb-1.1-no-pthread-stubs.patch new file mode 100644 index 000000000..3580aa4e0 --- /dev/null +++ b/talimatname/genel/libxcb/libxcb-1.1-no-pthread-stubs.patch @@ -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" diff --git a/talimatname/genel/libxcb/python-35x-fixes.patch b/talimatname/genel/libxcb/python-35x-fixes.patch new file mode 100644 index 000000000..88de25268 --- /dev/null +++ b/talimatname/genel/libxcb/python-35x-fixes.patch @@ -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'" diff --git a/talimatname/genel/libxcb/talimat b/talimatname/genel/libxcb/talimat index 124b24dac..e6ba8d41c 100644 --- a/talimatname/genel/libxcb/talimat +++ b/talimatname/genel/libxcb/talimat @@ -1,24 +1,28 @@ # Description: Interface to the X Window System protocol, which replaces the current Xlib interface. # URL: http://xcb.freedesktop.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 -version=1.11.1 +version=1.12 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() { 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 \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir='${datadir}'/doc/libxcb-$version \ - --enable-xinput \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir='${datadir}'/doc/libxcb-$version \ + --enable-xinput \ --enable-xkb \ --disable-static make diff --git a/talimatname/genel/xcb-proto/talimat b/talimatname/genel/xcb-proto/talimat index 16f8f6eed..754eb7067 100644 --- a/talimatname/genel/xcb-proto/talimat +++ b/talimatname/genel/xcb-proto/talimat @@ -2,8 +2,9 @@ # URL: http://xcb.freedesktop.org # Packager: pierre at nutyx dot org, tnut at nutyx dot org # Depends on: python + name=xcb-proto -version=1.11 +version=1.12 release=1 source=(http://xcb.freedesktop.org/dist/xcb-proto-$version.tar.bz2) diff --git a/talimatname/genel/xcb-util-cursor/talimat b/talimatname/genel/xcb-util-cursor/talimat index ac1ac4747..3e6d62b9d 100644 --- a/talimatname/genel/xcb-util-cursor/talimat +++ b/talimatname/genel/xcb-util-cursor/talimat @@ -1,10 +1,10 @@ # Description: XCB cursor library # 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 name=xcb-util-cursor -version=0.1.2 +version=0.1.3 release=1 source=(http://xcb.freedesktop.org/dist/xcb-util-cursor-$version.tar.bz2) diff --git a/talimatname/genel/xcb-util-image/talimat b/talimatname/genel/xcb-util-image/talimat index d4db70bef..2eb5969f1 100644 --- a/talimatname/genel/xcb-util-image/talimat +++ b/talimatname/genel/xcb-util-image/talimat @@ -1,7 +1,7 @@ # Description: XCB utilities library # URL: http://xcb.freedesktop.org # Packager: pierre at nutyx dot org -# Depends on: libxcb xcb-util +# Depends on: libxcb xcb-util xorg-util-macros name=xcb-util-image version=0.4.0 diff --git a/talimatname/genel/xcb-util-keysyms/talimat b/talimatname/genel/xcb-util-keysyms/talimat index ea83e4d12..4ce49f686 100644 --- a/talimatname/genel/xcb-util-keysyms/talimat +++ b/talimatname/genel/xcb-util-keysyms/talimat @@ -1,7 +1,7 @@ # Description: Library for handling standard X key constants and conversion to/from keycodes. # URL: http://xcb.freedesktop.org -# Packagers: pierre at nutyx dot org, tnut at nutyx dot org -# Depends on: libxcb +# Packagers: alihan-ozturk28@hotmail.com +# Depends on: libxcb xorg-util-macros name=xcb-util-keysyms version=0.4.0 diff --git a/talimatname/genel/xcb-util-renderutil/talimat b/talimatname/genel/xcb-util-renderutil/talimat index f477fb03b..0f4a26630 100644 --- a/talimatname/genel/xcb-util-renderutil/talimat +++ b/talimatname/genel/xcb-util-renderutil/talimat @@ -1,7 +1,7 @@ # Description: XCB utilities library # URL: http://xcb.freedesktop.org -# Packager: pierre at nutyx dot org -# Depends on: libxcb +# Packager: alihan-ozturk28@hotmail.com +# Depends on: libxcb xorg-util-macros name=xcb-util-renderutil version=0.3.9 diff --git a/talimatname/genel/xcb-util-wm/talimat b/talimatname/genel/xcb-util-wm/talimat index 55f15c258..0a8c8fbcf 100644 --- a/talimatname/genel/xcb-util-wm/talimat +++ b/talimatname/genel/xcb-util-wm/talimat @@ -1,7 +1,7 @@ # Description: XCB utilities library # URL: http://xcb.freedesktop.org -# Packager: pierre at nutyx dot org -# Depends on: libxcb xcb-util +# Packager: alihan-ozturk28@hotmail.com +# Depends on: libxcb xcb-util xorg-util-macros name=xcb-util-wm version=0.4.1 diff --git a/talimatname/genel/xcb-util/talimat b/talimatname/genel/xcb-util/talimat index 59a29372b..ddb70269c 100644 --- a/talimatname/genel/xcb-util/talimat +++ b/talimatname/genel/xcb-util/talimat @@ -1,7 +1,7 @@ # Description: XCB utilities library # URL: http://xcb.freedesktop.org # Packager: pierre at nutyx dot org -# Depends on: libxcb +# Depends on: libxcb xorg-util-macros name=xcb-util version=0.4.0