[arch-commits] Commit in libxcb/trunk (PKGBUILD libxcb-1.1-no-pthread-stubs.patch)

2020-02-22 Thread Andreas Radke via arch-commits
Date: Sunday, February 23, 2020 @ 06:55:54
  Author: andyrtr
Revision: 376091

upgpkg: libxcb 1.14-1: upstream update 1.14

Modified:
  libxcb/trunk/PKGBUILD
Deleted:
  libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch

---+
 PKGBUILD  |   24 +---
 libxcb-1.1-no-pthread-stubs.patch |   11 ---
 2 files changed, 9 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-23 06:32:54 UTC (rev 376090)
+++ PKGBUILD2020-02-23 06:55:54 UTC (rev 376091)
@@ -3,26 +3,20 @@
 # Contributor: Alexander Baldeck 
 
 pkgname=libxcb
-pkgver=1.13.1
+pkgver=1.14
 pkgrel=1
 pkgdesc="X11 client-side library"
 arch=('x86_64')
 url="https://xcb.freedesktop.org/;
-depends=('xcb-proto>=1.12' 'libxdmcp' 'libxau')
-makedepends=('libxslt' 'python' 'xorg-util-macros')
+depends=('xcb-proto' 'libxdmcp' 'libxau')
+makedepends=('libxslt' 'python' 'xorg-util-macros' 'xorgproto')
 license=('custom')
-source=($url/dist/$pkgname-$pkgver.tar.bz2 #{,.sig}
-libxcb-1.1-no-pthread-stubs.patch)
-sha256sums=('a89fb7af7a11f43d2ce84a844a4b38df688c092bf4b67683aef179cdf2a647c4'
-'21bf86a40e4038c52c2a8c57f76b5f10e211e27562cce7526b4bb6fd025dd0c3')
-#validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone 
"
+source=(https://xorg.freedesktop.org/archive/individual/lib/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('b90a23204b0d2c29d8b115577edb01df0465e02d6a8876550fecd62375d24a5d5f872ddd5946772ddba077cadce75b12c7a6d218469dc30b5b92bc82188e8bc6'
+'SKIP')
+validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone 
"
+validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner 
"
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
-  autoreconf -vfi
-}
-
 build() {
   cd "$pkgname-$pkgver"
   ./configure --prefix=/usr \
@@ -29,7 +23,7 @@
 --enable-xinput \
 --enable-xkb \
 --disable-static
-  make -j1
+  make
 }
 
 check() {

Deleted: libxcb-1.1-no-pthread-stubs.patch
===
--- libxcb-1.1-no-pthread-stubs.patch   2020-02-23 06:32:54 UTC (rev 376090)
+++ libxcb-1.1-no-pthread-stubs.patch   2020-02-23 06:55:54 UTC (rev 376091)
@@ -1,11 +0,0 @@
 libxcb-1.13/configure.ac   2018-03-05 10:21:04.0 +0100
-+++ libxcb-1.13/configure.ac.new   2018-03-06 20:04:40.316910088 +0100
-@@ -51,7 +51,7 @@
- 
- # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.13)
--NEEDED="pthread-stubs xau >= 0.99.2"
-+NEEDED="xau >= 0.99.2"
- PKG_CHECK_MODULES(NEEDED, $NEEDED)
- 
- have_xdmcp="no"


[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2018-10-05 Thread Andreas Radke via arch-commits
Date: Friday, October 5, 2018 @ 21:18:28
  Author: andyrtr
Revision: 335858

upgpkg: libxcb 1.13.1-1

upstream update 1.13.1

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |   11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-05 21:11:51 UTC (rev 335857)
+++ PKGBUILD2018-10-05 21:18:28 UTC (rev 335858)
@@ -3,7 +3,7 @@
 # Contributor: Alexander Baldeck 
 
 pkgname=libxcb
-pkgver=1.13
+pkgver=1.13.1
 pkgrel=1
 pkgdesc="X11 client-side library"
 arch=('x86_64')
@@ -11,12 +11,11 @@
 depends=('xcb-proto>=1.12' 'libxdmcp' 'libxau')
 makedepends=('libxslt' 'python' 'xorg-util-macros')
 license=('custom')
-source=($url/dist/$pkgname-$pkgver.tar.bz2{,.sig}
+source=($url/dist/$pkgname-$pkgver.tar.bz2 #{,.sig}
 libxcb-1.1-no-pthread-stubs.patch)
-sha512sums=('d99bbe386a65f60fcc0cc2935e4a365bc0577b5e90433e18778a665a5aee8ebc8e9e8cb0aedac0ac4a276147c0507e759a716874ea4f80792b2fc18eefbc128c'
-'SKIP'
-
'19f3a5d740dd21e1060d84c5028ae575c0a69166a125dea62633193a87c387cfd108809dc7cf50b46880286e0830952b9b8d685be4a0303d9bb410eda07647cf')
-validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone 
"
+sha256sums=('a89fb7af7a11f43d2ce84a844a4b38df688c092bf4b67683aef179cdf2a647c4'
+'21bf86a40e4038c52c2a8c57f76b5f10e211e27562cce7526b4bb6fd025dd0c3')
+#validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone 
"
 
 prepare() {
   cd "$pkgname-$pkgver"


[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2017-01-17 Thread Andreas Radke
Date: Tuesday, January 17, 2017 @ 21:11:31
  Author: andyrtr
Revision: 286879

https sources / gpg signature fixes

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-17 21:11:01 UTC (rev 286878)
+++ PKGBUILD2017-01-17 21:11:31 UTC (rev 286879)
@@ -8,7 +8,7 @@
 pkgrel=1
 pkgdesc="X11 client-side library"
 arch=('i686' 'x86_64')
-url="http://xcb.freedesktop.org/;
+url="https://xcb.freedesktop.org/;
 depends=('xcb-proto>=1.12' 'libxdmcp' 'libxau')
 makedepends=('libxslt' 'python' 'xorg-util-macros')
 license=('custom')


[arch-commits] Commit in libxcb/trunk (PKGBUILD python-35x-fixes.patch)

2016-05-22 Thread Laurent Carlier
Date: Sunday, May 22, 2016 @ 21:21:53
  Author: lcarlier
Revision: 268490

upgpkg: libxcb 1.12-1

upstream update 1.12

Added:
  libxcb/trunk/python-35x-fixes.patch
Modified:
  libxcb/trunk/PKGBUILD

+
 PKGBUILD   |7 +--
 python-35x-fixes.patch |   42 ++
 2 files changed, 47 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-22 18:39:31 UTC (rev 268489)
+++ PKGBUILD2016-05-22 19:21:53 UTC (rev 268490)
@@ -13,13 +13,16 @@
 makedepends=('libxslt' 'python' 'xorg-util-macros')
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
-libxcb-1.1-no-pthread-stubs.patch)
+libxcb-1.1-no-pthread-stubs.patch
+python-35x-fixes.patch)
 sha256sums=('4adfb1b7c67e99bc9c2ccb110b2f175686576d2f792c8a71b9c8b19014057b5b'
-'37debaf892235a516a50a4975e6229538d3b4696b4571a8dea05eed774004aff')
+'37debaf892235a516a50a4975e6229538d3b4696b4571a8dea05eed774004aff'
+'e66140ac2270b47e940db82975e2d28d3536ca1bd0eae63bce3b900ed81fa517')
 
 prepare() {
   cd "$pkgname-$pkgver"
   patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
+  patch -Np1 -i ../python-35x-fixes.patch
   autoreconf -vfi
 }
 

Added: python-35x-fixes.patch
===
--- python-35x-fixes.patch  (rev 0)
+++ python-35x-fixes.patch  2016-05-22 19:21:53 UTC (rev 268490)
@@ -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'"


[arch-commits] Commit in libxcb/trunk (PKGBUILD libxcb-1.1-no-pthread-stubs.patch)

2016-05-19 Thread Andreas Radke
Date: Thursday, May 19, 2016 @ 22:23:08
  Author: andyrtr
Revision: 268334

prepare next update

Modified:
  libxcb/trunk/PKGBUILD
  libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch

---+
 PKGBUILD  |   10 +-
 libxcb-1.1-no-pthread-stubs.patch |2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-19 20:20:54 UTC (rev 268333)
+++ PKGBUILD2016-05-19 20:23:08 UTC (rev 268334)
@@ -4,18 +4,18 @@
 # Contributor: Alexander Baldeck 
 
 pkgname=libxcb
-pkgver=1.11.1
+pkgver=1.12
 pkgrel=1
 pkgdesc="X11 client-side library"
 arch=('i686' 'x86_64')
 url="http://xcb.freedesktop.org/;
-depends=('xcb-proto>=1.11' 'libxdmcp' 'libxau')
+depends=('xcb-proto>=1.12' 'libxdmcp' 'libxau')
 makedepends=('libxslt' 'python' 'xorg-util-macros')
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha256sums=('b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30'
-'3923bcb1930b851012968435909597d8d5251c72153511cb2982636c97100cc3')
+sha256sums=('4adfb1b7c67e99bc9c2ccb110b2f175686576d2f792c8a71b9c8b19014057b5b'
+'37debaf892235a516a50a4975e6229538d3b4696b4571a8dea05eed774004aff')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -29,7 +29,7 @@
 --enable-xinput \
 --enable-xkb \
 --disable-static
-  make
+  make -j1
 }
 
 check() {

Modified: libxcb-1.1-no-pthread-stubs.patch
===
--- libxcb-1.1-no-pthread-stubs.patch   2016-05-19 20:20:54 UTC (rev 268333)
+++ libxcb-1.1-no-pthread-stubs.patch   2016-05-19 20:23:08 UTC (rev 268334)
@@ -3,7 +3,7 @@
 @@ -43,7 +43,7 @@
  
  # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.11)
+ 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)


[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2015-09-07 Thread Andreas Radke
Date: Monday, September 7, 2015 @ 20:56:45
  Author: andyrtr
Revision: 245480

upgpkg: libxcb 1.11.1-1

upstream update 1.11.1

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-07 18:39:07 UTC (rev 245479)
+++ PKGBUILD2015-09-07 18:56:45 UTC (rev 245480)
@@ -4,7 +4,7 @@
 # Contributor: Alexander Baldeck 
 
 pkgname=libxcb
-pkgver=1.11
+pkgver=1.11.1
 pkgrel=1
 pkgdesc="X11 client-side library"
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha256sums=('03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7'
+sha256sums=('b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30'
 '3923bcb1930b851012968435909597d8d5251c72153511cb2982636c97100cc3')
 
 prepare() {


[arch-commits] Commit in libxcb/trunk (PKGBUILD reorder-configure.patch)

2013-07-23 Thread Jan de Groot
Date: Tuesday, July 23, 2013 @ 13:11:38
  Author: jgc
Revision: 191293

upgpkg: libxcb 1.9.1-2

Rebuild with python, add patch to fix automake 1.14 issues (temporary fix for 
now)

Added:
  libxcb/trunk/reorder-configure.patch
Modified:
  libxcb/trunk/PKGBUILD

-+
 PKGBUILD|   28 ++--
 reorder-configure.patch |   29 +
 2 files changed, 47 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-23 10:42:57 UTC (rev 191292)
+++ PKGBUILD2013-07-23 11:11:38 UTC (rev 191293)
@@ -4,24 +4,32 @@
 
 pkgname=libxcb
 pkgver=1.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc=X11 client-side library
 arch=('i686' 'x86_64')
 url=http://xcb.freedesktop.org/;
-depends=('xcb-proto=1.7' 'libxdmcp' 'libxau')
-makedepends=('pkgconfig' 'libxslt' 'python2')
+depends=('xcb-proto=1.8-2' 'libxdmcp' 'libxau')
+makedepends=('pkgconfig' 'libxslt' 'python')
 options=('!libtool')
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
-libxcb-1.1-no-pthread-stubs.patch)
+libxcb-1.1-no-pthread-stubs.patch
+reorder-configure.patch)
 sha256sums=('d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f'
-'1ec7a6e7dc8639baa6c3fbc61ca8556108fb824598bd6ab5ef1fa50d48d6d310')
+'1ec7a6e7dc8639baa6c3fbc61ca8556108fb824598bd6ab5ef1fa50d48d6d310'
+'3e1adc51246e1f48545c1ab9703219c987685d241f1eab5d912b0840ce8a122a')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
+  # https://bugs.freedesktop.org/show_bug.cgi?id=66413
+  patch -Np1 -i ../reorder-configure.patch
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -Np1 -i $srcdir/libxcb-1.1-no-pthread-stubs.patch
-  export PYTHON=/usr/bin/python2 
-  ./autogen.sh --prefix=/usr \
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
 --enable-xinput \
 --enable-xkb \
 --disable-static
@@ -29,7 +37,7 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   make DESTDIR=$pkgdir install
   install -m755 -d $pkgdir/usr/share/licenses/$pkgname
   install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname

Added: reorder-configure.patch
===
--- reorder-configure.patch (rev 0)
+++ reorder-configure.patch 2013-07-23 11:11:38 UTC (rev 191293)
@@ -0,0 +1,29 @@
+--- libxcb-1.9.1/configure.ac  2013-05-30 17:38:01.0 +0200
 libxcb-1.9.1/configure.ac.new  2013-06-30 21:01:30.134153288 +0200
+@@ -2,20 +2,21 @@
+ # Process this file with autoconf to produce a configure script.
+ 
+ # Initialize Autoconf
+-AC_PREREQ(2.57)
+ AC_INIT([libxcb],
+ 1.9.1,
+ [x...@lists.freedesktop.org])
++AC_PREREQ(2.57)
++
++# Initialize Automake
++AM_INIT_AUTOMAKE([foreign dist-bzip2])
++m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
++
+ AC_CONFIG_SRCDIR([xcb.pc.in])
+ # Set common system defines for POSIX extensions, such as _GNU_SOURCE
+ # Must be called before any macros that run the compiler (like 
AC_PROG_LIBTOOL)
+ # to avoid autoconf errors.
+ AC_USE_SYSTEM_EXTENSIONS
+ 
+-# Initialize Automake
+-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+-
+ AM_PATH_PYTHON([2.6])
+ 
+ PKG_CHECK_MODULES(CHECK, [check = 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2013-05-30 Thread Andreas Radke
Date: Thursday, May 30, 2013 @ 21:02:18
  Author: andyrtr
Revision: 186723

upgpkg: libxcb 1.9.1-1

upstream update 1.9.1

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-30 18:58:31 UTC (rev 186722)
+++ PKGBUILD2013-05-30 19:02:18 UTC (rev 186723)
@@ -3,8 +3,8 @@
 # Contributor: Alexander Baldeck alexan...@archlinux.org
 
 pkgname=libxcb
-pkgver=1.9
-pkgrel=3
+pkgver=1.9.1
+pkgrel=1
 pkgdesc=X11 client-side library
 arch=('i686' 'x86_64')
 url=http://xcb.freedesktop.org/;
@@ -14,8 +14,8 @@
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061'
-  'd2df03ddf3e949c10c2c185256b0eb7fa02837ab')
+sha256sums=('d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f'
+'1ec7a6e7dc8639baa6c3fbc61ca8556108fb824598bd6ab5ef1fa50d48d6d310')
 
 build() {
   cd $srcdir/$pkgname-$pkgver



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2013-02-12 Thread Andreas Radke
Date: Tuesday, February 12, 2013 @ 21:04:53
  Author: andyrtr
Revision: 177993

upgpkg: libxcb 1.9-3

fix custom build with two python versions installed; FS#33350

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-12 19:50:15 UTC (rev 177992)
+++ PKGBUILD2013-02-12 20:04:53 UTC (rev 177993)
@@ -4,9 +4,9 @@
 
 pkgname=libxcb
 pkgver=1.9
-pkgrel=2
+pkgrel=3
 pkgdesc=X11 client-side library
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url=http://xcb.freedesktop.org/;
 depends=('xcb-proto=1.7' 'libxdmcp' 'libxau')
 makedepends=('pkgconfig' 'libxslt' 'python2')
@@ -20,7 +20,7 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
   patch -Np1 -i $srcdir/libxcb-1.1-no-pthread-stubs.patch
-  PYTHON=/usr/bin/python2 
+  export PYTHON=/usr/bin/python2 
   ./autogen.sh --prefix=/usr \
 --enable-xinput \
 --enable-xkb \



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2013-01-01 Thread andyrtr
Date: Tuesday, January 1, 2013 @ 14:15:32
  Author: andyrtr
Revision: 174024

upgpkg: libxcb 1.9-2

enable xkb extension; FS#33259

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-01 18:37:13 UTC (rev 174023)
+++ PKGBUILD2013-01-01 19:15:32 UTC (rev 174024)
@@ -4,7 +4,7 @@
 
 pkgname=libxcb
 pkgver=1.9
-pkgrel=1
+pkgrel=2
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
@@ -23,6 +23,7 @@
   PYTHON=/usr/bin/python2 
   ./autogen.sh --prefix=/usr \
 --enable-xinput \
+--enable-xkb \
 --disable-static
   make
 }



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2012-10-05 Thread andyrtr
Date: Friday, October 5, 2012 @ 12:54:54
  Author: andyrtr
Revision: 168069

upgpkg: libxcb 1.9-1

upstream update 1.9 - disable static libs

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-10-05 16:24:42 UTC (rev 168068)
+++ PKGBUILD2012-10-05 16:54:54 UTC (rev 168069)
@@ -3,7 +3,7 @@
 # Contributor: Alexander Baldeck alexan...@archlinux.org
 
 pkgname=libxcb
-pkgver=1.8.1
+pkgver=1.9
 pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
@@ -14,13 +14,16 @@
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('98199b6054750a06cddd4e77baa4354af547ce6f'
+sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061'
   'd2df03ddf3e949c10c2c185256b0eb7fa02837ab')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
   patch -Np1 -i $srcdir/libxcb-1.1-no-pthread-stubs.patch
-  PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --enable-xinput
+  PYTHON=/usr/bin/python2 
+  ./autogen.sh --prefix=/usr \
+--enable-xinput \
+--disable-static
   make
 }
 



[arch-commits] Commit in libxcb/trunk (PKGBUILD libxcb-1.1-no-pthread-stubs.patch)

2012-03-09 Thread andyrtr
Date: Friday, March 9, 2012 @ 10:54:16
  Author: andyrtr
Revision: 152763

upgpkg: libxcb 1.8.1-1

upstream update 1.8.1

Modified:
  libxcb/trunk/PKGBUILD
  libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch

---+
 PKGBUILD  |8 
 libxcb-1.1-no-pthread-stubs.patch |9 -
 2 files changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-09 15:52:56 UTC (rev 152762)
+++ PKGBUILD2012-03-09 15:54:16 UTC (rev 152763)
@@ -3,8 +3,8 @@
 # Contributor: Alexander Baldeck alexan...@archlinux.org
 
 pkgname=libxcb
-pkgver=1.8
-pkgrel=2
+pkgver=1.8.1
+pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
@@ -14,8 +14,8 @@
 license=('custom')
 source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('18b76759d5bbb863777f37bf3aec23ebaa31d5be'
-  '3455e84642283bc91c8313af319002a20bbcbdf4')
+sha1sums=('98199b6054750a06cddd4e77baa4354af547ce6f'
+  'd2df03ddf3e949c10c2c185256b0eb7fa02837ab')
 
 build() {
   cd $srcdir/$pkgname-$pkgver

Modified: libxcb-1.1-no-pthread-stubs.patch
===
--- libxcb-1.1-no-pthread-stubs.patch   2012-03-09 15:52:56 UTC (rev 152762)
+++ libxcb-1.1-no-pthread-stubs.patch   2012-03-09 15:54:16 UTC (rev 152763)
@@ -1,10 +1,9 @@
-diff -up libxcb-1.1/configure.ac.pthread-stubs libxcb-1.1/configure.ac
 libxcb-1.1/configure.ac.pthread-stubs  2007-11-04 18:17:11.0 
-0500
-+++ libxcb-1.1/configure.ac2007-11-12 10:27:06.0 -0500
-@@ -31,7 +31,7 @@ AC_SUBST(HTML_CHECK_RESULT)
+--- libxcb-1.8.1/configure.ac  2012-03-09 15:38:38.0 +0100
 libxcb-1.8.1/configure.ac.new  2012-03-09 16:50:40.107109896 +0100
+@@ -35,7 +35,7 @@
  
  # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto = 1.6)
+ PKG_CHECK_MODULES(XCBPROTO, xcb-proto = 1.7)
 -NEEDED=pthread-stubs xau = 0.99.2
 +NEEDED=xau = 0.99.2
  PKG_CHECK_MODULES(NEEDED, $NEEDED)



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2012-02-03 Thread andyrtr
Date: Friday, February 3, 2012 @ 11:31:59
  Author: andyrtr
Revision: 148550

upgpkg: libxcb 1.8-2

upstream release 1.8

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-03 16:19:24 UTC (rev 148549)
+++ PKGBUILD2012-02-03 16:31:59 UTC (rev 148550)
@@ -4,7 +4,7 @@
 
 pkgname=libxcb
 pkgver=1.8
-pkgrel=1
+pkgrel=2
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;



[arch-commits] Commit in libxcb/trunk (PKGBUILD xcb_auth-fix-memory-leak.patch)

2012-01-17 Thread Ionut Biru
Date: Tuesday, January 17, 2012 @ 08:00:45
  Author: ibiru
Revision: 146772

update to 1.8

Modified:
  libxcb/trunk/PKGBUILD
Deleted:
  libxcb/trunk/xcb_auth-fix-memory-leak.patch

+
 PKGBUILD   |   34 +++---
 xcb_auth-fix-memory-leak.patch |   38 --
 2 files changed, 15 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-01-17 12:51:04 UTC (rev 146771)
+++ PKGBUILD2012-01-17 13:00:45 UTC (rev 146772)
@@ -3,34 +3,30 @@
 # Contributor: Alexander Baldeck alexan...@archlinux.org
 
 pkgname=libxcb
-pkgver=1.7
-pkgrel=2
+pkgver=1.8
+pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
-depends=('xcb-proto=1.6' 'libxdmcp' 'libxau')
+depends=('xcb-proto=1.7' 'libxdmcp' 'libxau')
 makedepends=('pkgconfig' 'libxslt' 'python2')
-conflicts=('libx111.1.99.2')
 options=('!libtool')
 license=('custom')
-source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
-xcb_auth-fix-memory-leak.patch
+source=($url/dist/$pkgname-$pkgver.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('7540f0587907bce421914f0ddb813810cb2f36f8'
-  '0c9246fd2ea270bfa06cb8ef93df2f8227d83c2a'
+sha1sums=('18b76759d5bbb863777f37bf3aec23ebaa31d5be'
   '3455e84642283bc91c8313af319002a20bbcbdf4')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np1 -i ${srcdir}/libxcb-1.1-no-pthread-stubs.patch
-  patch -Np1 -i ${srcdir}/xcb_auth-fix-memory-leak.patch
-  libtoolize --force --copy
-  aclocal
-  autoconf
-  automake --add-missing
-  PYTHON=python2 ./configure --prefix=/usr --enable-xinput
+  cd $srcdir/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/libxcb-1.1-no-pthread-stubs.patch
+  PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --enable-xinput
   make
-  make DESTDIR=${pkgdir} install
-  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
 }
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  install -m755 -d $pkgdir/usr/share/licenses/$pkgname
+  install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname
+}

Deleted: xcb_auth-fix-memory-leak.patch
===
--- xcb_auth-fix-memory-leak.patch  2012-01-17 12:51:04 UTC (rev 146771)
+++ xcb_auth-fix-memory-leak.patch  2012-01-17 13:00:45 UTC (rev 146772)
@@ -1,38 +0,0 @@
-From 5755582444ad0ba79e661ab3173cc38e9e588d83 Mon Sep 17 00:00:00 2001
-From: Nick Bowler nbow...@draconx.ca
-Date: Thu, 11 Nov 2010 01:49:41 +
-Subject: xcb_auth: Fix memory leak in _xcb_get_auth_info.
-
-If the initial get_peer_sock_name(getpeername ...) succeeds, the
-pointer to allocated memory is overwritten by the later call to
-get_peer_sock_name(getsockname ...).  Fix that up by freeing
-the allocated memory before overwriting the pointer.
-
-Signed-off-by: Nick Bowler nbow...@draconx.ca
-Signed-off-by: Julien Danjou jul...@danjou.info

-diff --git a/src/xcb_auth.c b/src/xcb_auth.c
-index 1af27fc..4839b78 100644
 a/src/xcb_auth.c
-+++ b/src/xcb_auth.c
-@@ -327,10 +327,15 @@ int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, 
int display)
- if (!info-namelen)
- goto no_auth;   /* out of memory */
- 
--if (!gotsockname  (sockname = get_peer_sock_name(getsockname, fd)) == 
NULL)
-+if (!gotsockname)
- {
--free(info-name);
--goto no_auth;   /* can only authenticate sockets */
-+free(sockname);
-+
-+if ((sockname = get_peer_sock_name(getsockname, fd)) == NULL)
-+{
-+free(info-name);
-+goto no_auth;   /* can only authenticate sockets */
-+}
- }
- 
- ret = compute_auth(info, authptr, sockname);
---
-cgit v0.8.3-6-g21f6



[arch-commits] Commit in libxcb/trunk (PKGBUILD xcb_auth-fix-memory-leak.patch)

2011-05-04 Thread Jan de Groot
Date: Wednesday, May 4, 2011 @ 04:36:03
  Author: jgc
Revision: 122471

upgpkg: libxcb 1.7-2
Fix memory leak (FS#23946)

Added:
  libxcb/trunk/xcb_auth-fix-memory-leak.patch
Modified:
  libxcb/trunk/PKGBUILD

+
 PKGBUILD   |7 +--
 xcb_auth-fix-memory-leak.patch |   38 ++
 2 files changed, 43 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-04 08:33:10 UTC (rev 122470)
+++ PKGBUILD2011-05-04 08:36:03 UTC (rev 122471)
@@ -4,7 +4,7 @@
 
 pkgname=libxcb
 pkgver=1.7
-pkgrel=1
+pkgrel=2
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
@@ -14,13 +14,16 @@
 options=('!libtool')
 license=('custom')
 source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
+xcb_auth-fix-memory-leak.patch
 libxcb-1.1-no-pthread-stubs.patch)
 sha1sums=('7540f0587907bce421914f0ddb813810cb2f36f8'
- '3455e84642283bc91c8313af319002a20bbcbdf4')
+  '0c9246fd2ea270bfa06cb8ef93df2f8227d83c2a'
+  '3455e84642283bc91c8313af319002a20bbcbdf4')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i ${srcdir}/libxcb-1.1-no-pthread-stubs.patch
+  patch -Np1 -i ${srcdir}/xcb_auth-fix-memory-leak.patch
   libtoolize --force --copy
   aclocal
   autoconf

Added: xcb_auth-fix-memory-leak.patch
===
--- xcb_auth-fix-memory-leak.patch  (rev 0)
+++ xcb_auth-fix-memory-leak.patch  2011-05-04 08:36:03 UTC (rev 122471)
@@ -0,0 +1,38 @@
+From 5755582444ad0ba79e661ab3173cc38e9e588d83 Mon Sep 17 00:00:00 2001
+From: Nick Bowler nbow...@draconx.ca
+Date: Thu, 11 Nov 2010 01:49:41 +
+Subject: xcb_auth: Fix memory leak in _xcb_get_auth_info.
+
+If the initial get_peer_sock_name(getpeername ...) succeeds, the
+pointer to allocated memory is overwritten by the later call to
+get_peer_sock_name(getsockname ...).  Fix that up by freeing
+the allocated memory before overwriting the pointer.
+
+Signed-off-by: Nick Bowler nbow...@draconx.ca
+Signed-off-by: Julien Danjou jul...@danjou.info
+---
+diff --git a/src/xcb_auth.c b/src/xcb_auth.c
+index 1af27fc..4839b78 100644
+--- a/src/xcb_auth.c
 b/src/xcb_auth.c
+@@ -327,10 +327,15 @@ int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, 
int display)
+ if (!info-namelen)
+ goto no_auth;   /* out of memory */
+ 
+-if (!gotsockname  (sockname = get_peer_sock_name(getsockname, fd)) == 
NULL)
++if (!gotsockname)
+ {
+-free(info-name);
+-goto no_auth;   /* can only authenticate sockets */
++free(sockname);
++
++if ((sockname = get_peer_sock_name(getsockname, fd)) == NULL)
++{
++free(info-name);
++goto no_auth;   /* can only authenticate sockets */
++}
+ }
+ 
+ ret = compute_auth(info, authptr, sockname);
+--
+cgit v0.8.3-6-g21f6



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2010-11-29 Thread Jan de Groot
Date: Monday, November 29, 2010 @ 04:38:09
  Author: jgc
Revision: 101447

Add PYTHON= setting for people not building in chroots (FS#21906)

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-11-29 09:37:25 UTC (rev 101446)
+++ PKGBUILD2010-11-29 09:38:09 UTC (rev 101447)
@@ -25,7 +25,7 @@
   aclocal
   autoconf
   automake --add-missing
-  ./configure --prefix=/usr --enable-xinput
+  PYTHON=python2 ./configure --prefix=/usr --enable-xinput
   make
   make DESTDIR=${pkgdir} install
   install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2010-11-29 Thread Jan de Groot
Date: Monday, November 29, 2010 @ 04:38:40
  Author: jgc
Revision: 101448

Fix makedepends

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-11-29 09:38:09 UTC (rev 101447)
+++ PKGBUILD2010-11-29 09:38:40 UTC (rev 101448)
@@ -9,7 +9,7 @@
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
 depends=('xcb-proto=1.6' 'libxdmcp' 'libxau')
-makedepends=('pkgconfig' 'libxslt' 'python')
+makedepends=('pkgconfig' 'libxslt' 'python2')
 conflicts=('libx111.1.99.2')
 options=('!libtool')
 license=('custom')



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2010-08-23 Thread Jan de Groot
Date: Monday, August 23, 2010 @ 04:02:28
  Author: jgc
Revision: 88380

upgpkg: libxcb 1.7-1
Update to 1.7

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-23 07:44:41 UTC (rev 88379)
+++ PKGBUILD2010-08-23 08:02:28 UTC (rev 88380)
@@ -1,8 +1,9 @@
 # $Id$
-# Maintainer: Alexander Baldeck alexan...@archlinux.org
-# Contributor: Jan de Groot j...@archlinux.org
+# Maintainer: Jan de Groot j...@archlinux.org
+# Contributor: Alexander Baldeck alexan...@archlinux.org
+
 pkgname=libxcb
-pkgver=1.6
+pkgver=1.7
 pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
@@ -14,19 +15,19 @@
 license=('custom')
 source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('b0a6fec4c02ec876f32bbd4b64ffe8a25f0da518'
+sha1sums=('7540f0587907bce421914f0ddb813810cb2f36f8'
  '3455e84642283bc91c8313af319002a20bbcbdf4')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np1 -i ${srcdir}/libxcb-1.1-no-pthread-stubs.patch || return 1
-  libtoolize --force --copy || return 1
-  aclocal || return 1
-  autoconf || return 1
-  automake --add-missing || return 1
-  ./configure --prefix=/usr --enable-xinput || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  patch -Np1 -i ${srcdir}/libxcb-1.1-no-pthread-stubs.patch
+  libtoolize --force --copy
+  aclocal
+  autoconf
+  automake --add-missing
+  ./configure --prefix=/usr --enable-xinput
+  make
+  make DESTDIR=${pkgdir} install
   install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
 }



[arch-commits] Commit in libxcb/trunk (PKGBUILD libxcb-1.1-no-pthread-stubs.patch)

2010-05-09 Thread Jan de Groot
Date: Sunday, May 9, 2010 @ 14:41:21
  Author: jgc
Revision: 79958

upgpkg: libxcb 1.6-1
Update to 1.6

Modified:
  libxcb/trunk/PKGBUILD
  libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch

---+
 PKGBUILD  |6 +++---
 libxcb-1.1-no-pthread-stubs.patch |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-05-09 18:34:45 UTC (rev 79957)
+++ PKGBUILD2010-05-09 18:41:21 UTC (rev 79958)
@@ -2,7 +2,7 @@
 # Maintainer: Alexander Baldeck alexan...@archlinux.org
 # Contributor: Jan de Groot j...@archlinux.org
 pkgname=libxcb
-pkgver=1.5
+pkgver=1.6
 pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
@@ -14,8 +14,8 @@
 license=('custom')
 source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-md5sums=('d19c0ba6ba42ebccd3d62d8bb147b551'
- '2da07ad25b594457b7396a9155d0e5b6')
+sha1sums=('b0a6fec4c02ec876f32bbd4b64ffe8a25f0da518'
+ '3455e84642283bc91c8313af319002a20bbcbdf4')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}

Modified: libxcb-1.1-no-pthread-stubs.patch
===
--- libxcb-1.1-no-pthread-stubs.patch   2010-05-09 18:34:45 UTC (rev 79957)
+++ libxcb-1.1-no-pthread-stubs.patch   2010-05-09 18:41:21 UTC (rev 79958)
@@ -4,7 +4,7 @@
 @@ -31,7 +31,7 @@ AC_SUBST(HTML_CHECK_RESULT)
  
  # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto = 1.5)
+ PKG_CHECK_MODULES(XCBPROTO, xcb-proto = 1.6)
 -NEEDED=pthread-stubs xau = 0.99.2
 +NEEDED=xau = 0.99.2
  PKG_CHECK_MODULES(NEEDED, $NEEDED)



[arch-commits] Commit in libxcb/trunk (PKGBUILD)

2009-12-19 Thread Jan de Groot
Date: Saturday, December 19, 2009 @ 14:55:23
  Author: jgc
Revision: 61572

upgpkg: libxcb 1.5-1
Update to 1.5, includes new dri2 bindings

Modified:
  libxcb/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-19 19:53:11 UTC (rev 61571)
+++ PKGBUILD2009-12-19 19:55:23 UTC (rev 61572)
@@ -2,19 +2,19 @@
 # Maintainer: Alexander Baldeck alexan...@archlinux.org
 # Contributor: Jan de Groot j...@archlinux.org
 pkgname=libxcb
-pkgver=1.4
+pkgver=1.5
 pkgrel=1
 pkgdesc=X11 client-side library
 arch=(i686 x86_64)
 url=http://xcb.freedesktop.org/;
-depends=('xcb-proto=1.5' 'libxdmcp' 'libxau')
+depends=('xcb-proto=1.6' 'libxdmcp' 'libxau')
 makedepends=('pkgconfig' 'libxslt' 'python')
 conflicts=('libx111.1.99.2')
 options=('!libtool')
 license=('custom')
 source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2
 libxcb-1.1-no-pthread-stubs.patch)
-md5sums=('b00fd506c717dea01f595e8da31f6914'
+md5sums=('d19c0ba6ba42ebccd3d62d8bb147b551'
  '2da07ad25b594457b7396a9155d0e5b6')
 
 build() {