Package Details: grive-git 557.648ff8e-1

Git Clone URL: https://aur.archlinux.org/grive-git.git (read-only, click to copy)
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
Submitter: ilpianista
Maintainer: edh
Last Packager: edh
Votes: 78
Popularity: 0.000987
First Submitted: 2012-04-29 15:20 (UTC)
Last Updated: 2023-01-23 14:25 (UTC)

Dependencies (13)

Required by (0)

Sources (1)

Pinned Comments

edh commented on 2022-09-20 20:45 (UTC)

This package has a bad record of not building. However, I am reluctant to patch a git-package because any changes would most likely break with any new upstream commit. Please try to get the build fixed upstream or switch to the grive package.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

frabjous commented on 2014-12-10 03:28 (UTC)

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 /tmp/pacaurtmp-kck/grive-git/src/grive-git 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 (UTC)

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 (UTC)

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 (UTC)

@ksj Sounds like very upstream bug.

ksj commented on 2014-05-31 14:31 (UTC)

Hello, 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 (UTC)

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 (UTC)

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: http://pastebin.com/m9Mc8ngt The PKGBUILD also needs a patch file that must be named "json-c.patch": http://pastebin.com/b87P3TTt Hope it helps!

mrbit commented on 2014-05-28 10:08 (UTC)

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 (UTC)

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

hongy19 commented on 2013-06-19 14:19 (UTC)

I also need to change "ljson-c" to "ljson" in order to solve missing "ljson-c" issue. PKGBUILD -DCMAKE_EXE_LINKER_FLAGS=-ljson-c