Nextcloud client for raspberry pi

Hi stemy2 - I haven’t found a precompiled RPI client yet either, but the good news is that der hess posted a step by step method to compile from source code that works spectacularly well:

I put together a bash file + a few file edits that does the job on the latest Raspbian ‘stretch’. Save it as ncc.sh and execute with the command: sh ncc.sh

sudo apt update
sudo apt dist-upgrade -y
sudo apt upgrade -y
sudo apt-get install build-essential git cmake openssl libssl-dev sqlite3 libsqlite3-dev qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools python-sphinx texlive-latex-base inotify-tools qt5keychain-dev -y
sudo apt-get install doxygen -y
sudo apt-get install extra-cmake-modules -y
sudo apt-get install kio-dev -y
cd /home/pi
git clone https://github.com/nextcloud/client_theming.git
cd client_theming
git submodule update --init
cd client
git submodule update --init
cd ..
mkdir build-1
cd build-1
cmake -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client
sed -i 's/Icon=nextcloud/Icon=Nextcloud/g' src/gui/nextcloud.desktop
sed -i 's/Icon\[\(.*\)\]=nextcloud/Icon\[\1\]=Nextcloud/g' src/gui/nextcloud.desktop
make
sudo make install

Now you need to do 3 file edits, 2 of which create new files, add the line on the bottom.

sudo nano /etc/environment
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/arm-linux-gnueabihf

sudo nano /etc/ld.so.conf.d/arm-linux-gnueabihf.conf
/usr/local/lib/arm-linux-gnueabihf

sudo nano /etc/ld.so.conf.d/x86_64-linux-gnu.conf
/usr/local/lib/arm-linux-gnueabihf

sudo ldconfig
sudo reboot
nextcloud

This does take a while but I just checked it and it does work for the 2018-03-13-raspbian-stretch.img
Enjoy! Murphy

6 Likes