Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - libcouchbase

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: libcouchbase 2.6.2-1

Git Clone URL: https://aur-dev.archlinux.org/libcouchbase.git (read-only)
Package Base: libcouchbase
Description: The C library provides fast access to documents in the latest Couchbase Server
Upstream URL: https://github.com/couchbase/libcouchbase
Licenses: Apache
Submitter: None
Maintainer: therisen06
Last Packager: therisen06
Votes: 2
Popularity: 0.000026
First Submitted: 2012-04-09 19:26
Last Updated: 2016-08-17 18:34

Latest Comments

1 2 Next › Last »

rafaelcapucho commented on 2016-10-12 06:14

After install the 2.6.2-1 version with yaourt I'm getting errors to download the driver from pypi package.

The python package isn't finding libcouchbase, returning:
"Couchbase Python SDK requires libcouchbase 2.5.8 or greater"

Error: http://pastebin.com/raw/XYc0HKNz

Compiling libcouchbase manually from github I was able to install the driver from pypi properly.

nvllsvm commented on 2015-12-07 23:23

When modifying the package for 2.5.4, you should include the following patch. There's an upstream bug which prevents the LCB_VERSION from being correctly propagated to configuration.h when building from something other than the git repo. Without the fix, attempting to build the couchbase Python module on PyPI will fail.

https://gist.github.com/nvllsvm/f9b97cca4001ff2df42b

chjgcn commented on 2015-09-02 01:48

# PKGBUILD
# Generate html documention and install then in /usr/share/doc/libcouchbase .

pkgname=libcouchbase
pkgver=2.5.2
pkgrel=1
pkgdesc="The C library provides fast access to documents in the latest Couchbase Server"
arch=('i686' 'x86_64')
url="https://github.com/couchbase/${pkgname}"
license=('Apache')
options=('!emptydirs' '!strip')
depends=('libevent' 'openssl')
optdepends=('libev')
makedepends=('cmake' 'doxygen' 'ruby-ronn')
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/couchbase/${pkgname}/archive/${pkgver}.tar.gz"
"${pkgname}-fix_name_clash.patch"
)
sha256sums=(
'4a092eee4366c7a115f8bac8e9f4e2a10db52f5407041184346b9673f672e89a'
'2b6c494ff09c620060c5ffc31e2664608906731282d9f6749d5e22b6ba223394'
)

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 -i "${srcdir}/${pkgname}-fix_name_clash.patch"

cd "${srcdir}/${pkgname}-${pkgver}"
doxygen doc/Doxyfile
cd "${srcdir}/${pkgname}-${pkgver}/doc"
./genman.sh

cd "${srcdir}/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLCB_NO_MOCK=1 CMakeLists.txt
make || return 1
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -dm755 "${pkgdir}/usr/share/doc/libcouchbase"
cp -a "${srcdir}/${pkgname}-${pkgver}/doc/html" "${pkgdir}/usr/share/doc/libcouchbase/"
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}


# libcouchbase-fix_name_clash.patch
# Make all binary files and manuals start with 'couchbase-' .

--- tools/CMakeLists.txt 2015-05-14 01:25:30.000000000 +0800
+++ tools/CMakeLists.txt 2015-08-18 17:30:05.388233578 +0800
@@ -3,32 +3,32 @@
FILE(GLOB T_COMMONSRC common/*.cc)
ADD_LIBRARY(lcbtools OBJECT ${T_COMMONSRC})

-ADD_EXECUTABLE(cbc cbc.cc
+ADD_EXECUTABLE(couchbase-cbc cbc.cc
$<TARGET_OBJECTS:lcbtools> $<TARGET_OBJECTS:cliopts>)
-TARGET_LINK_LIBRARIES(cbc couchbase)
+TARGET_LINK_LIBRARIES(couchbase-cbc couchbase)

-ADD_EXECUTABLE(cbc-pillowfight cbc-pillowfight.cc
+ADD_EXECUTABLE(couchbase-pillowfight cbc-pillowfight.cc
$<TARGET_OBJECTS:lcbtools> $<TARGET_OBJECTS:cliopts>)

-TARGET_LINK_LIBRARIES(cbc-pillowfight couchbase)
+TARGET_LINK_LIBRARIES(couchbase-pillowfight couchbase)

-ADD_EXECUTABLE(cbc-n1qlback cbc-n1qlback.cc
+ADD_EXECUTABLE(couchbase-n1qlback cbc-n1qlback.cc
$<TARGET_OBJECTS:lcbtools> $<TARGET_OBJECTS:cliopts>)
-TARGET_LINK_LIBRARIES(cbc-n1qlback couchbase)
+TARGET_LINK_LIBRARIES(couchbase-n1qlback couchbase)

-INSTALL(TARGETS cbc cbc-pillowfight cbc-n1qlback
+INSTALL(TARGETS couchbase-cbc couchbase-pillowfight couchbase-n1qlback
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

# Set this before INSTALL_PDBS in order to set the correct output name
IF(MSVC)
- SET_TARGET_PROPERTIES(cbc PROPERTIES DEBUG_OUTPUT_NAME cbc_d)
- SET_TARGET_PROPERTIES(cbc-pillowfight PROPERTIES DEBUG_OUTPUT_NAME cbc-pillowfight_d)
- SET_TARGET_PROPERTIES(cbc-n1qlback PROPERTIES DEBUG_OUTPUT_NAME cbc-n1qlback_d)
+ SET_TARGET_PROPERTIES(couchbase-cbc PROPERTIES DEBUG_OUTPUT_NAME cbc_d)
+ SET_TARGET_PROPERTIES(couchbase-pillowfight PROPERTIES DEBUG_OUTPUT_NAME cbc-pillowfight_d)
+ SET_TARGET_PROPERTIES(couchbase-n1qlback PROPERTIES DEBUG_OUTPUT_NAME cbc-n1qlback_d)
ENDIF()

-INSTALL_PDBS(cbc)
-INSTALL_PDBS(cbc-pillowfight)
-INSTALL_PDBS(cbc-n1qlback)
+INSTALL_PDBS(couchbase-cbc)
+INSTALL_PDBS(couchbase-pillowfight)
+INSTALL_PDBS(couchbase-n1qlback)

SET_TARGET_PROPERTIES(lcbtools PROPERTIES COMPILE_FLAGS "${LCB_CORE_CXXFLAGS}")
SET_SOURCE_FILES_PROPERTIES(cbc.cc cbc-pillowfight.cc cbc-n1qlback.cc PROPERTIES COMPILE_FLAGS "${LCB_CORE_CXXFLAGS}")
@@ -40,11 +40,11 @@
bucket-create bucket-delete bucket-flush connstr write-config strerror)

FOREACH(subcmd IN ITEMS ${CBC_SUBCOMMANDS})
- ADD_CUSTOM_COMMAND(TARGET cbc POST_BUILD
- COMMAND ln -sf cbc "cbc-${subcmd}"
+ ADD_CUSTOM_COMMAND(TARGET couchbase-cbc POST_BUILD
+ COMMAND ln -sf couchbase-cbc "couchbase-${subcmd}"
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
- COMMENT "Linking cbc -> cbc-${subcmd}")
- INSTALL(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/cbc-${subcmd}
+ COMMENT "Linking couchbase-cbc -> couchbase-${subcmd}")
+ INSTALL(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/couchbase-${subcmd}
DESTINATION ${CMAKE_INSTALL_BINDIR})
ENDFOREACH()
ENDIF()
--- doc/genman.sh 2015-05-14 01:25:29.000000000 +0800
+++ doc/genman.sh 2015-08-18 20:12:53.028322427 +0800
@@ -6,15 +6,17 @@
OUTDIR=man
SRCDIR=.

-ronn --pipe --roff $SRCDIR/cbc.markdown > $OUTDIR/cbc.1
-ronn --pipe --roff $SRCDIR/cbc-pillowfight.markdown > $OUTDIR/cbc-pillowfight.1
-ronn --pipe --roff $SRCDIR/cbc-n1qlback.markdown > $OUTDIR/cbc-n1qlback.1
-ronn --pipe --roff $SRCDIR/cbcrc.markdown > $OUTDIR/cbcrc.4
+rm -f $OUTDIR/*

-MANLINKS="cat cp create observe flush hash lock unlock rm stats"
+ronn --pipe --roff $SRCDIR/cbc.markdown > $OUTDIR/couchbase-cbc.1
+ronn --pipe --roff $SRCDIR/cbc-pillowfight.markdown > $OUTDIR/couchbase-pillowfight.1
+ronn --pipe --roff $SRCDIR/cbc-n1qlback.markdown > $OUTDIR/couchbase-n1qlback.1
+ronn --pipe --roff $SRCDIR/cbcrc.markdown > $OUTDIR/couchbase-cbcrc.4
+
+MANLINKS="cat cp create observe flush hash lock unlock rm stats dsn"
MANLINKS="$MANLINKS version verbosity view admin bucket-create bucket-delete connstr"

for link in $MANLINKS; do
- dest="$OUTDIR/cbc-${link}.1"
- echo ".so man1/cbc.1" > "$dest"
+ dest="$OUTDIR/couchbase-${link}.1"
+ echo ".so man1/couchbase-cbc.1" > "$dest"
done

chjgcn commented on 2015-09-02 01:36

Version 2.5.2 was released.

efyx commented on 2015-02-13 09:13

Update to 2.4.6 (2.4.4 does not build on my system)

# Maintainer: Gabriel Garrido <kainlite@gmail.com>
# Contributors: Lev Lybin <lev.lybin@gmail.com>, Kiswono <kiswono@gmail.com>

pkgname=libcouchbase
pkgver=2.4.6
pkgrel=1
pkgdesc="The C library provides fast access to documents in Couchbase Server 2.0."
arch=('i686' 'x86_64')
url="https://github.com/couchbase/libcouchbase"
license=('Apache')
options=('!emptydirs' '!strip')
depends=('libevent')
source=("https://github.com/couchbase/libcouchbase/archive/${pkgver}.tar.gz")
md5sums=('40e266ba8e21fa2037b1de8df90f0734')

build() {
tar -xzf ${pkgver}.tar.gz -C "${srcdir}/libcouchbase-${pkgver}"
cd "${srcdir}/libcouchbase-${pkgver}"
cmake CMakeLists.txt
make || return 1
}

package() {
cd "${srcdir}/libcouchbase-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE "{$pkgdir}/usr/share/licenses/{$pkgname}/LICENSE"
}

kiz commented on 2014-11-27 10:09

please update it as here, or orphan it..
https://gist.githubusercontent.com/kokizzu/bb3ea504147e3567f2d4/raw/73a8787aaff81b88c063540a7d21b18e1ca439b6/libcouchbase-2.4.4

kiz commented on 2014-11-27 09:22

out of date for half year..

lybin commented on 2014-05-13 17:53

https://privatepaste.com/73a02c0a64

lybin commented on 2014-05-13 17:43

https://privatepaste.com/49241f5743

kainlite commented on 2013-08-14 16:17

This is my first package, so if I've done any death-sentence sin, please let me know in order to fix it :)