User Tools

Site Tools


building_owncloud_client_for_raspberry_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
building_owncloud_client_for_raspberry_pi [2016/11/16 21:44]
sgripon [Let's build]
building_owncloud_client_for_raspberry_pi [2016/12/11 19:08]
sgripon [Build a debian package]
Line 6: Line 6:
 **Update!**:​ this page has been updated for client 2.2.4. ​ **Update!**:​ this page has been updated for client 2.2.4. ​
  
-**DISCLAIMER :!:** Tested on raspbian jessie on raspi 1 only. Feedback welcome on twitter. See [[https://​www.raspberrypi.org/​forums/​viewtopic.php?​f=36&​t=34881&​p=1063790#​p1063790|this thread]] for some known issues on other versions.+**DISCLAIMER :!:** Tested on raspbian jessie on raspi 1 and 3. Feedback welcome on twitter.
  
 **Note:** if you need a newer version of the client, just tweet me [[https://​twitter.com/​sgripon|@sgripon]]. **Note:** if you need a newer version of the client, just tweet me [[https://​twitter.com/​sgripon|@sgripon]].
 ===== Download binaries ===== ===== Download binaries =====
  
-If you don't want to compile by yourself, you can get the debian package installer from [[http://​pub.sgripon.net/​owncloud-client/​rpi/​]]. To install:+If you don't want to compile by yourself, you can get the debian package installer from [[http://​pub.sgripon.net/​owncloud-client/​rpi/​]] ​(tested on raspberry pi 1) or [[http://​pub.sgripon.net/​owncloud-client/​rpi3/​]] (tested on raspberry pi 3). 
 + 
 +To install:
  
   sudo dpkg -i owncloud-client-2.2.4_armhf.deb   sudo dpkg -i owncloud-client-2.2.4_armhf.deb
Line 55: Line 57:
  
 <code bash> <code bash>
-  sudo apt-get install ​libsqlite3-dev libneon27-dev+  sudo apt-get install ​libssl-dev 
 +  sudo apt-get install libsqlite3-dev
   sudo apt-get install libqt4-dev libqtkeychain0 qtkeychain-dev libqt4-sql-sqlite   sudo apt-get install libqt4-dev libqtkeychain0 qtkeychain-dev libqt4-sql-sqlite
 </​code>​ </​code>​
Line 87: Line 90:
 cmake -DWITH_DOC=TRUE -DCMAKE_BUILD_TYPE="​Release"​ ../​owncloudclient-$1 cmake -DWITH_DOC=TRUE -DCMAKE_BUILD_TYPE="​Release"​ ../​owncloudclient-$1
 make make
- 
-# Prepare a redistribuable package 
-make package 
  
 </​file>​ </​file>​
Line 96: Line 96:
  
 <code bash> <code bash>
-sudo ./​oc-install.sh+sudo ./​oc-install.sh ​2.2.4
 </​code>​ </​code>​
  
 <file bash oc-install.sh>​ <file bash oc-install.sh>​
-  ​make install +#!/bin/sh 
-   + 
-  # It seems that libocsync and libowncloudsync shared libraries must be installed manually: +cd client-build 
-  cp csync/​src/​libocsync.so.2.2.4 /​usr/​local/​lib + 
-  cp src/​libsync/​libowncloudsync.so.2.2.4 /​usr/​local/​lib +# Prepare a redistribuable package 
-  ldconfig+make package 
 + 
 +make install 
 + 
 +# It seems that libocsync and libowncloudsync shared libraries must be installed manually: 
 +cp csync/​src/​libocsync.so.$1 /​usr/​local/​lib 
 +cp src/​libsync/​libowncloudsync.so.$1 /​usr/​local/​lib 
 +ldconfig
 </​file>​ </​file>​
 ===== Build a debian package ===== ===== Build a debian package =====
Line 147: Line 154:
 Version: $1+debian+rpi1 Version: $1+debian+rpi1
 Homepage: https://​wiki.sgripon.net/​doku.php?​id=building_owncloud_client_for_raspberry_pi Homepage: https://​wiki.sgripon.net/​doku.php?​id=building_owncloud_client_for_raspberry_pi
-Depends: libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libqt4-network (>= 4:​4.7.0~beta1),​ libqt4-test (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:​4.7.0~beta1),​ libqtkeychain0 (>= 0.1.0), libstdc++6 (>= 4.4.0), libqtwebkit4,​ libqt4-xmlpatterns+Depends: libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libqt4-network (>= 4:​4.7.0~beta1),​ libqt4-test (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:​4.7.0~beta1),​ libqtkeychain0 (>= 0.1.0), libstdc++6 (>= 4.4.0), libqtwebkit4,​ libqt4-xmlpatterns, libqt4-sql-sqlite
 Priority: optional Priority: optional
 Section: net Section: net
building_owncloud_client_for_raspberry_pi.txt · Last modified: 2017/05/13 20:35 by sgripon