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) - grive-git

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

Package Details: grive-git 434.7bbb01c-2

Git Clone URL: https://aur-dev.archlinux.org/grive-git.git (read-only)
Package Base: grive-git
Description: An open source Linux client for Google Drive with support for the new Drive REST API and partial sync
Upstream URL: https://github.com/vitalif/grive2
Keywords: drive git Google share sync
Licenses: GPL2
Conflicts: grive
Provides: grive=434.7bbb01c
Submitter: ilpianista
Maintainer: edh
Last Packager: edh
Votes: 70
Popularity: 0.615406
First Submitted: 2012-04-29 15:20
Last Updated: 2017-01-07 14:06

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

gosella commented on 2014-12-16 16:06

Please, update the patch file "json-c.patch" with this:


The first part of the patch is no longer relevant (and is causing trouble appling it, as reported by @frabjous).


frabjous commented on 2014-12-10 03:28

This may be related to filinep's problem but I currently cannot build this. I get:

build.sh cmake CMakeLists.txt COPYING grive grive.spec libgrive package README scripts
patching file cmake/Modules/FindJSONC.cmake
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file cmake/Modules/FindJSONC.cmake.rej
patching file libgrive/src/protocol/Json.cc
Hunk #1 succeeded at 29 with fuzz 2.

filinep commented on 2014-11-27 08:35

I had to remove the first part of the json-c.patch file to get it to compile.

allencch commented on 2014-09-25 02:55

Another patch is required (https://github.com/Grive/grive/issues/193):

--- a/libgrive/src/drive/State.cc
+++ b/libgrive/src/drive/State.cc
@@ -248,12 +248,12 @@
void State::Write( const fs::path& filename ) const
Json last_sync ;
- last_sync.Add( "sec", Json(m_last_sync.Sec() ) );
- last_sync.Add( "nsec", Json(m_last_sync.NanoSec() ) );
+ last_sync.Add( "sec", Json((boost::uint64_t)m_last_sync.Sec() ) );
+ last_sync.Add( "nsec", Json((boost::uint64_t)m_last_sync.NanoSec() ) );

Json result ;
result.Add( "last_sync", last_sync ) ;
- result.Add( "change_stamp", Json(m_cstamp) ) ;
+ result.Add( "change_stamp", Json((boost::uint64_t)m_cstamp) ) ;

std::ofstream fs( filename.string().c_str() ) ;
fs << result ;

axper commented on 2014-05-31 14:35

Sounds like very upstream bug.

ksj commented on 2014-05-31 14:31

I got following error, when I tried to run "grive -a" (after enter the auth code):

exception: /tmp/yaourt-tmp-ksj/aur-grive-git/src/grive-git/libgrive/src/protocol/Json.cc(231): Throw in function gr::Json gr::Json::operator[](const string&) const
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4Json5ErrorEEE
[PN2gr11KeyNotFoundE] = access_token
[PN2gr4expt12BacktraceTagE] = #0 0x488f3c grive gr::Exception::Exception()
#1 0x4740d1 grive gr::Json::Error::Error()
#2 0x472612 grive gr::Json::operator[](std::string const&) const
#3 0x47d072 grive gr::OAuth2::Auth(std::string const&)
#4 0x43d830 grive Main(int, char**)
#5 0x43b8bb grive main
#6 0x7f05c28b8000 /usr/lib/libc.so.6 __libc_start_main
#7 0x43c86f grive

[PN2gr7JsonTagE] = { "error": "invalid_grant", "error_description": "Invalid code." }
[PN2gr8JsonCApiE] = json_object_object_get

What I have to do to run code correctly?

J-Wreck commented on 2014-05-29 00:23

new PKGBUILD w/ gosella's patch (and a new, more active upstream git source) released. Also, converted PKGBUILD to modern VCS format.

gosella commented on 2014-05-28 22:35

I've created a patch to fix the changes introduced with the json-c update.
It basically changes all include files from <json/...> to <json-c/...>.

The modified PKGBUILD:

The PKGBUILD also needs a patch file that must be named "json-c.patch":

Hope it helps!

mrbit commented on 2014-05-28 10:08

After json-c update to 0.12-2, the package cannot be compiled because cmake fails to find JSON-C.

J-Wreck commented on 2013-06-19 17:16

Odd, using the ljson-c flag builds fine in a clean chroot for me...