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
building_owncloud_client_for_raspberry_pi [2016/11/16 22:40]
sgripon [Download binaries]
building_owncloud_client_for_raspberry_pi [2017/05/13 20:35] (current)
sgripon
Line 4: Line 4:
 I use my Raspberry pi as an owncloud client to synchronize my NAS and my server. Unfortunately,​ the official package is not up-to-date so I have to build it by myself. ​ I use my Raspberry pi as an owncloud client to synchronize my NAS and my server. Unfortunately,​ the official package is not up-to-date so I have to build it by myself. ​
  
-**Update!**:​ this page has been updated for client 2.2.4+**Update!**:​ this page has been updated for client 2.3.2
  
 **DISCLAIMER :!:** Tested on raspbian jessie on raspi 1 and 3. Feedback welcome on twitter. **DISCLAIMER :!:** Tested on raspbian jessie on raspi 1 and 3. Feedback welcome on twitter.
Line 15: Line 15:
 To install: To install:
  
-  sudo dpkg -i owncloud-client-2.2.4_armhf.deb+  sudo dpkg -i owncloud-client-2.3.2_armhf.deb
  
 If there are missing dependencies,​ this command should automatically install all: If there are missing dependencies,​ this command should automatically install all:
Line 44: Line 44:
 Most of the build instructions are from owncloud official website (http://​doc.owncloud.org/​desktop/​2.2/​building.html) with some adjustments for RPI. Most of the build instructions are from owncloud official website (http://​doc.owncloud.org/​desktop/​2.2/​building.html) with some adjustments for RPI.
  
-Get owncloud client sources from official web site here: https://​download.owncloud.com/​desktop/​stable/​owncloudclient-2.2.4.tar.xz.+Get owncloud client sources from official web site here: https://​download.owncloud.com/​desktop/​stable/​owncloudclient-2.3.2.tar.xz.
  
 This tutorial assumes that the work is done on raspbian in folder /​home/​pi/​dev/​owncloud-client. If not, change all paths. This tutorial assumes that the work is done on raspbian in folder /​home/​pi/​dev/​owncloud-client. If not, change all paths.
Line 71: Line 71:
 The following script downloads and builds the source code (remove download command (//wget//) if already done). The script must be invoked with the desired client version: The following script downloads and builds the source code (remove download command (//wget//) if already done). The script must be invoked with the desired client version:
  
-  ./​oc-build.sh 2.2.4+  ./​oc-build.sh 2.3.2
   ​   ​
 The script should work for future versions unless ownlcoud changes files naming. The script should work for future versions unless ownlcoud changes files naming.
Line 96: Line 96:
  
 <code bash> <code bash>
-sudo ./​oc-install.sh 2.2.4+sudo ./​oc-install.sh 2.3.2
 </​code>​ </​code>​
  
Line 128: Line 128:
 Add also libraries installed manually: Add also libraries installed manually:
  
-  cp /​usr/​local/​lib/​libocsync.so.2.2.usr/​local/​lib +  cp /​usr/​local/​lib/​libocsync.so.2.3.usr/​local/​lib 
-  cp /​usr/​local/​lib/​libowncloudsync.so.2.2.usr/​local/​lib+  cp /​usr/​local/​lib/​libowncloudsync.so.2.3.usr/​local/​lib
  
 Then, follow tutorial [[How To Build a Debian Package]]. Then, follow tutorial [[How To Build a Debian Package]].
Line 154: 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
Line 188: Line 188:
  
 Must be invoked as sudo with version number as argument: Must be invoked as sudo with version number as argument:
-  sudo ./​oc-build-deb.sh 2.2.4+  sudo ./​oc-build-deb.sh 2.3.2
  
 ===== Launch at startup ===== ===== Launch at startup =====
building_owncloud_client_for_raspberry_pi.1479332425.txt.gz · Last modified: 2016/11/16 22:40 by sgripon