[arch-commits] Commit in libxcb/repos (8 files)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sat Nov 9 20:05:23 UTC 2013
Date: Saturday, November 9, 2013 @ 21:05:22
Author: andyrtr
Revision: 199302
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libxcb/repos/testing-i686/
libxcb/repos/testing-i686/PKGBUILD
(from rev 199301, libxcb/trunk/PKGBUILD)
libxcb/repos/testing-i686/libxcb-1.1-no-pthread-stubs.patch
(from rev 199301, libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch)
libxcb/repos/testing-i686/reorder-configure.patch
(from rev 199301, libxcb/trunk/reorder-configure.patch)
libxcb/repos/testing-x86_64/
libxcb/repos/testing-x86_64/PKGBUILD
(from rev 199301, libxcb/trunk/PKGBUILD)
libxcb/repos/testing-x86_64/libxcb-1.1-no-pthread-stubs.patch
(from rev 199301, libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch)
libxcb/repos/testing-x86_64/reorder-configure.patch
(from rev 199301, libxcb/trunk/reorder-configure.patch)
--------------------------------------------------+
testing-i686/PKGBUILD | 50 +++++++++++++++++++++
testing-i686/libxcb-1.1-no-pthread-stubs.patch | 11 ++++
testing-i686/reorder-configure.patch | 29 ++++++++++++
testing-x86_64/PKGBUILD | 50 +++++++++++++++++++++
testing-x86_64/libxcb-1.1-no-pthread-stubs.patch | 11 ++++
testing-x86_64/reorder-configure.patch | 29 ++++++++++++
6 files changed, 180 insertions(+)
Copied: libxcb/repos/testing-i686/PKGBUILD (from rev 199301, libxcb/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-11-09 20:05:22 UTC (rev 199302)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=libxcb
+pkgver=1.9.3
+pkgrel=1
+pkgdesc="X11 client-side library"
+arch=('i686' 'x86_64')
+url="http://xcb.freedesktop.org/"
+depends=('xcb-proto>=1.9' 'libxdmcp' 'libxau')
+makedepends=('pkgconfig' 'libxslt' 'python2')
+license=('custom')
+source=($url/dist/$pkgname-$pkgver.tar.bz2
+ libxcb-1.1-no-pthread-stubs.patch
+ reorder-configure.patch)
+sha256sums=('aad09d223fcb5bd345ce4d1737f178a557b6f2e201128e1ee3c83af46028018b'
+ 'e071e9ef4ded0229d19e40ffee229ae6c3171bbebcc3322a2378a84cfb6a8678'
+ 'a82e789d8b18134ce23ea1f7fd2e71a5386be6e63b1a7f8b774b61e8d032c336')
+
+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
+ autoreconf -vfi
+}
+
+build() {
+ export PYTHON=/usr/bin/python2
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-xinput \
+ --enable-xkb \
+ --disable-static
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}
Copied: libxcb/repos/testing-i686/libxcb-1.1-no-pthread-stubs.patch (from rev 199301, libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch)
===================================================================
--- testing-i686/libxcb-1.1-no-pthread-stubs.patch (rev 0)
+++ testing-i686/libxcb-1.1-no-pthread-stubs.patch 2013-11-09 20:05:22 UTC (rev 199302)
@@ -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.9)
+-NEEDED="pthread-stubs xau >= 0.99.2"
++NEEDED="xau >= 0.99.2"
+ PKG_CHECK_MODULES(NEEDED, $NEEDED)
+
+ have_xdmcp="no"
Copied: libxcb/repos/testing-i686/reorder-configure.patch (from rev 199301, libxcb/trunk/reorder-configure.patch)
===================================================================
--- testing-i686/reorder-configure.patch (rev 0)
+++ testing-i686/reorder-configure.patch 2013-11-09 20:05:22 UTC (rev 199302)
@@ -0,0 +1,29 @@
+--- libxcb-1.9.1/configure.ac 2013-05-30 17:38:01.000000000 +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.3,
+ [xcb at 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])
Copied: libxcb/repos/testing-x86_64/PKGBUILD (from rev 199301, libxcb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-11-09 20:05:22 UTC (rev 199302)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=libxcb
+pkgver=1.9.3
+pkgrel=1
+pkgdesc="X11 client-side library"
+arch=('i686' 'x86_64')
+url="http://xcb.freedesktop.org/"
+depends=('xcb-proto>=1.9' 'libxdmcp' 'libxau')
+makedepends=('pkgconfig' 'libxslt' 'python2')
+license=('custom')
+source=($url/dist/$pkgname-$pkgver.tar.bz2
+ libxcb-1.1-no-pthread-stubs.patch
+ reorder-configure.patch)
+sha256sums=('aad09d223fcb5bd345ce4d1737f178a557b6f2e201128e1ee3c83af46028018b'
+ 'e071e9ef4ded0229d19e40ffee229ae6c3171bbebcc3322a2378a84cfb6a8678'
+ 'a82e789d8b18134ce23ea1f7fd2e71a5386be6e63b1a7f8b774b61e8d032c336')
+
+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
+ autoreconf -vfi
+}
+
+build() {
+ export PYTHON=/usr/bin/python2
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-xinput \
+ --enable-xkb \
+ --disable-static
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}
Copied: libxcb/repos/testing-x86_64/libxcb-1.1-no-pthread-stubs.patch (from rev 199301, libxcb/trunk/libxcb-1.1-no-pthread-stubs.patch)
===================================================================
--- testing-x86_64/libxcb-1.1-no-pthread-stubs.patch (rev 0)
+++ testing-x86_64/libxcb-1.1-no-pthread-stubs.patch 2013-11-09 20:05:22 UTC (rev 199302)
@@ -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.9)
+-NEEDED="pthread-stubs xau >= 0.99.2"
++NEEDED="xau >= 0.99.2"
+ PKG_CHECK_MODULES(NEEDED, $NEEDED)
+
+ have_xdmcp="no"
Copied: libxcb/repos/testing-x86_64/reorder-configure.patch (from rev 199301, libxcb/trunk/reorder-configure.patch)
===================================================================
--- testing-x86_64/reorder-configure.patch (rev 0)
+++ testing-x86_64/reorder-configure.patch 2013-11-09 20:05:22 UTC (rev 199302)
@@ -0,0 +1,29 @@
+--- libxcb-1.9.1/configure.ac 2013-05-30 17:38:01.000000000 +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.3,
+ [xcb at 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])
More information about the arch-commits
mailing list