View Single Post
Posts: 32 | Thanked: 77 times | Joined on Dec 2011
#20
Here is a new try for a an owncloud client. It is based on the official owncloud implementation. The advantag is that you have to worry less about data corruption or incomplete syncs. I ported an owncloud command line client first. Later, this could be integrated into Tofe's GUI or the official gui could be adapted.

The client is command line only and comes without a packaging, so you need some command line skills. However, once it is set up it seems very stable and easy to use (owncloud icon which runs a sync, cronned execution would be very easy to do). I use it for a week with many files being removed and added and had no single problem so far.

Compiling the three source libraries was not easy. First, they depend on newer QT and cmake. Worse, it seems that maemo's gcc (or ld) produces buggy output files which corrupt the stack frame, if "-fstack-protector" is used. The result is that the programs crash _before_ the main method. Thus, I included diff files so you can compile yourself

Download the tgz here.

Source libraries are qtkeychain, mirall and ocsync.

Installing instructions:
1) unpack to
Code:
~user/src
2) install with
Code:
root
apt-get install libneon27
cd /usr/local/lib 
ln -sf ~user/src/oc_maemo-0.9/*so* .
cd /usr/local/bin
ln -sf ~user/src/oc_maemo-0.9/owncloudcmd .
# the desktop symbol cannot be symlinked 
cp ~user/src/oc_maemo-0.9/owncloud_sync_qt.desktop /usr/share/applications/hildon
cp ~user/src/oc_maemo-0.9/owncloud_sync_qt.png /usr/share/icons
exit

# sync_oc is called from the app icon. Edit and set passwords and the url
cp sync_oc ~
vi ~/sync_oc
Bugs
Files on FAT filesystems might get immediately synced back once (and
then distributed onto other clients) since the file access time is
only 2s precise. No data loss or corruption, but waste of data rate.

Crashes due to stack corruption (please report and send core file). No
data loss or corruption observed yet.

Crashes if parameters are in slightly wrong format!

Seems to crash if the loglevel is raised to 11 and files are uploaded.
 

The Following 2 Users Say Thank You to hypnotoad123 For This Useful Post: