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!
Search Criteria
Package Details: grive-git 557.648ff8e-1
Package Actions
| 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.000000 |
| First Submitted: | 2012-04-29 15:20 (UTC) |
| Last Updated: | 2023-01-23 14:25 (UTC) |
Dependencies (13)
- boost-libs
- curl (curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- json-c (json-c-gitAUR)
- libgcrypt
- yajl (yajl-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- binutils (optional) – backtrace and libiberty
- cppunit (optional) – unit tests
- inotify-tools (inotify-tools-gitAUR) (optional) – scheduled syncs and syncs on file change events
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
gosella commented on 2014-05-28 22:35 (UTC)
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
hongy19 commented on 2013-06-19 01:21 (UTC)
this scrip also need qt4 for compile?
J-Wreck commented on 2013-06-18 14:53 (UTC)
Should be fixed now
<deleted-account> commented on 2013-06-18 08:00 (UTC)
Still getting errors when trying to build.
Fixed one by installing yajl
Fixed another by adding the lines
#define PACKAGE "grive"
#define PACKAGE_VERSION "git"
to libgrive/src/bfd/SymbolInfo.cc as suggested by bananaoomarang
The current error I'm receiving is:
-- Installing: /home/niksko/AUR/grive-git/pkg/grive-git/usr/bin/bgrive
CMake Error at bgrive/cmake_install.cmake:52 (FILE):
file INSTALL cannot find
"/home/niksko/AUR/grive-git/src/grive/bgrive/doc/grive.1".
Call Stack (most recent call first):
cmake_install.cmake:39 (INCLUDE)
make: *** [install] Error 1
==> ERROR: A failure occurred in package().
Aborting...
dobo commented on 2013-06-17 13:38 (UTC)
If it doesn't compile try this workaround
https://gist.github.com/dobo90/5796923
J-Wreck commented on 2013-01-29 17:24 (UTC)
@mountpeaks, are you building with the latest sources? It builds fine for me
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.