[arch-commits] Commit in tdb/repos (6 files)

Felix Yan fyan at archlinux.org
Fri Dec 4 05:52:11 UTC 2015


    Date: Friday, December 4, 2015 @ 06:52:10
  Author: fyan
Revision: 252341

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  tdb/repos/testing-i686/
  tdb/repos/testing-i686/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
    (from rev 252340, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
  tdb/repos/testing-i686/PKGBUILD
    (from rev 252340, tdb/trunk/PKGBUILD)
  tdb/repos/testing-x86_64/
  tdb/repos/testing-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
    (from rev 252340, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
  tdb/repos/testing-x86_64/PKGBUILD
    (from rev 252340, tdb/trunk/PKGBUILD)

------------------------------------------------------------------+
 testing-i686/0001-tdb-include-include-stdbool.h-in-tdb.h.patch   |   27 +++++++
 testing-i686/PKGBUILD                                            |   38 ++++++++++
 testing-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch |   27 +++++++
 testing-x86_64/PKGBUILD                                          |   38 ++++++++++
 4 files changed, 130 insertions(+)

Copied: tdb/repos/testing-i686/0001-tdb-include-include-stdbool.h-in-tdb.h.patch (from rev 252340, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
===================================================================
--- testing-i686/0001-tdb-include-include-stdbool.h-in-tdb.h.patch	                        (rev 0)
+++ testing-i686/0001-tdb-include-include-stdbool.h-in-tdb.h.patch	2015-12-04 05:52:10 UTC (rev 252341)
@@ -0,0 +1,27 @@
+From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam at redhat.com>
+Date: Fri, 23 May 2014 10:08:14 -0700
+Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
+
+Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
+not include stdbool.h. This causes any build including tdb.h to fail, at least
+for me with GCC 4.9.0.
+---
+ lib/tdb/include/tdb.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/tdb.h b/include/tdb.h
+index 5ea5e60..03e429c 100644
+--- a/include/tdb.h
++++ b/include/tdb.h
+@@ -31,6 +31,7 @@ extern "C" {
+ #endif
+ 
+ #include <signal.h>
++#include <stdbool.h>
+ 
+ /**
+  * @defgroup tdb The tdb API
+-- 
+1.9.3
+

Copied: tdb/repos/testing-i686/PKGBUILD (from rev 252340, tdb/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-12-04 05:52:10 UTC (rev 252341)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=tdb
+pkgver=1.3.8
+pkgrel=1
+pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
+arch=(i686 x86_64)
+license=('GPL3')
+url="http://tdb.samba.org/"
+makedepends=('python2' 'libxslt' 'docbook-xsl')
+optdepends=('python2: for python bindings')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
+validpgpkeys=('9147A339719518EE9011BCB54793916113084025') #Samba Library Distribution Key <samba-bugs at samba.org> 
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   sed -i -e 's#python#python2#g' buildtools/bin/waf
+   #sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
+   # Use system docbook.xsl
+   #_manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl"
+   #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
+   export PYTHON=/usr/bin/python2
+   ./configure --prefix=/usr \
+               --localstatedir=/var \
+               --sysconfdir=/etc/samba
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   export PYTHON=/usr/bin/python2
+   make DESTDIR=$pkgdir/ install
+}
+md5sums=('fa4c9e2f59fcf41441285bca5f5ab481'
+         'SKIP')

Copied: tdb/repos/testing-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch (from rev 252340, tdb/trunk/0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
===================================================================
--- testing-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch	                        (rev 0)
+++ testing-x86_64/0001-tdb-include-include-stdbool.h-in-tdb.h.patch	2015-12-04 05:52:10 UTC (rev 252341)
@@ -0,0 +1,27 @@
+From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam at redhat.com>
+Date: Fri, 23 May 2014 10:08:14 -0700
+Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
+
+Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
+not include stdbool.h. This causes any build including tdb.h to fail, at least
+for me with GCC 4.9.0.
+---
+ lib/tdb/include/tdb.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/tdb.h b/include/tdb.h
+index 5ea5e60..03e429c 100644
+--- a/include/tdb.h
++++ b/include/tdb.h
+@@ -31,6 +31,7 @@ extern "C" {
+ #endif
+ 
+ #include <signal.h>
++#include <stdbool.h>
+ 
+ /**
+  * @defgroup tdb The tdb API
+-- 
+1.9.3
+

Copied: tdb/repos/testing-x86_64/PKGBUILD (from rev 252340, tdb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-12-04 05:52:10 UTC (rev 252341)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=tdb
+pkgver=1.3.8
+pkgrel=1
+pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
+arch=(i686 x86_64)
+license=('GPL3')
+url="http://tdb.samba.org/"
+makedepends=('python2' 'libxslt' 'docbook-xsl')
+optdepends=('python2: for python bindings')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
+validpgpkeys=('9147A339719518EE9011BCB54793916113084025') #Samba Library Distribution Key <samba-bugs at samba.org> 
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   sed -i -e 's#python#python2#g' buildtools/bin/waf
+   #sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
+   # Use system docbook.xsl
+   #_manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl"
+   #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
+   export PYTHON=/usr/bin/python2
+   ./configure --prefix=/usr \
+               --localstatedir=/var \
+               --sysconfdir=/etc/samba
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   export PYTHON=/usr/bin/python2
+   make DESTDIR=$pkgdir/ install
+}
+md5sums=('fa4c9e2f59fcf41441285bca5f5ab481'
+         'SKIP')



More information about the arch-commits mailing list