public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] google drive
@ 2013-02-04 12:43 András Csányi
  2013-02-04 14:04 ` [gentoo-user] " walt
  2013-02-04 14:06 ` [gentoo-user] " Yohan Pereira
  0 siblings, 2 replies; 4+ messages in thread
From: András Csányi @ 2013-02-04 12:43 UTC (permalink / raw
  To: gentoo-user

Hi All,

I would like to get some advise what would be the good - reasonably
good - solution use my Google Drive storage under Gentoo. In the last
1.5 years I haven't used Gentoo so, I'm a little bit out of scope
about the actualities.

I found grive but it is not compiling. At the moment I don't have time
to figure out what could be the issue with it and I have no time to
report it. Maybe, later.

What I'm looking for is similar to I had under Windows. The drive
could be mountable and it is  synchronized. At the moment does not
matter it is synchronized automatically or it requires a command.

Thanks for any suggestions in advance!

András
--
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: google drive
  2013-02-04 12:43 [gentoo-user] google drive András Csányi
@ 2013-02-04 14:04 ` walt
  2013-02-04 18:41   ` András Csányi
  2013-02-04 14:06 ` [gentoo-user] " Yohan Pereira
  1 sibling, 1 reply; 4+ messages in thread
From: walt @ 2013-02-04 14:04 UTC (permalink / raw
  To: gentoo-user

On 02/04/2013 04:43 AM, András Csányi wrote:
> Hi All,
> 
> I would like to get some advise what would be the good - reasonably
> good - solution use my Google Drive storage under Gentoo. In the last
> 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
> about the actualities.
> 
> I found grive but it is not compiling.

Here's a quick and dirty workaround:

#cd /usr/include
#ln -s json-c json
(I think the json-c package puts that symlink in the wrong place.)

That should let you install grive.  Let us know if grive does what you want.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] google drive
  2013-02-04 12:43 [gentoo-user] google drive András Csányi
  2013-02-04 14:04 ` [gentoo-user] " walt
@ 2013-02-04 14:06 ` Yohan Pereira
  1 sibling, 0 replies; 4+ messages in thread
From: Yohan Pereira @ 2013-02-04 14:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]

On 04/02/13 at 01:43pm, András Csányi wrote:
> Hi All,
> 
> I would like to get some advise what would be the good - reasonably
> good - solution use my Google Drive storage under Gentoo. In the last
> 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
> about the actualities.
> 
> I found grive but it is not compiling. At the moment I don't have time
> to figure out what could be the issue with it and I have no time to
> report it. Maybe, later.

Place the attached file in the folder (create the folder if it doesn't
exists)
/etc/portage/patches/net-misc/grive-0.2.0/

Here's how it looks on my system.

$ cat /etc/portage/patches/net-misc/grive-0.2.0/binutils.patch
--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc	2012-07-07 21:13:18.000000000 +0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc	2012-10-25 19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include "Debug.hh"
 
 #include <vector>
-
+#define PACKAGE
 #include <bfd.h>
 #include <execinfo.h>
 #include <dlfcn.h>

> What I'm looking for is similar to I had under Windows. The drive
> could be mountable and it is  synchronized. At the moment does not
> matter it is synchronized automatically or it requires a command.

after you configure grive, it syncs the current folder with your google
drive. You need to run it again to sync any changes. I use a cron entry
to periodically sync my drive.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
                -- Mark Twain

[-- Attachment #2: binutils.patch --]
[-- Type: text/x-diff, Size: 312 bytes --]

--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc	2012-07-07 21:13:18.000000000 +0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc	2012-10-25 19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include "Debug.hh"
 
 #include <vector>
-
+#define PACKAGE
 #include <bfd.h>
 #include <execinfo.h>
 #include <dlfcn.h>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: google drive
  2013-02-04 14:04 ` [gentoo-user] " walt
@ 2013-02-04 18:41   ` András Csányi
  0 siblings, 0 replies; 4+ messages in thread
From: András Csányi @ 2013-02-04 18:41 UTC (permalink / raw
  To: gentoo-user

On 4 February 2013 15:04, walt <w41ter@gmail.com> wrote:
> On 02/04/2013 04:43 AM, András Csányi wrote:
>> Hi All,
>>
>> I would like to get some advise what would be the good - reasonably
>> good - solution use my Google Drive storage under Gentoo. In the last
>> 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
>> about the actualities.
>>
>> I found grive but it is not compiling.
>
> Here's a quick and dirty workaround:
>
> #cd /usr/include
> #ln -s json-c json
> (I think the json-c package puts that symlink in the wrong place.)
>
> That should let you install grive.  Let us know if grive does what you want.

Thanks for the quick help both of you. I compiled the code
successfully using the link command you suggested. At the moment sync
is running and it looks like that one I want it.


--
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-04 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 12:43 [gentoo-user] google drive András Csányi
2013-02-04 14:04 ` [gentoo-user] " walt
2013-02-04 18:41   ` András Csányi
2013-02-04 14:06 ` [gentoo-user] " Yohan Pereira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox