This repository contains a helper script to mak it easier to setup a ownCloud build environment for ownCloud desktop client 2.7 and newer.
- Start
Visual Studio Installer
- Select
Modify
- Select
Desktop development with C++
- Go to
Individual Components
- Select
git
- Select
python2
- Select
python3
- Click the
Modify
button
(py.exe|python3) ownbuild.py owncloud-client
This will only affect the version of the dependencies.
(py.exe|python3) ownbuild.py --branch 5 -- owncloud-client
(py.exe|python3) ownbuild.py --branch 5 -- --set revision=v5.2.1 owncloud-client
(py.exe|python3) ownbuild.py --branch 5 -- owncloud-client
(py.exe|python3) ownbuild.py --branch 5 -- --package owncloud-client
(py.exe|python3) ownbuild.py --branch 5 -- --run .\master\windows-cl-msvc2022-x86_64-debug\bin\owncloud.exe
(py.exe|python3) ownbuild.py --branch 5 --target windows-cl-msvc2022-x86_64
(py.exe|python3) ownbuild.py --branch 5 --target help
Note:
- ownbuild / craft uses cached binary packages from https://download.owncloud.com/desktop/craft/cache/ to speed up the compilation.
apt install python3 git g++ gcc
python3 ./ownbuild.py --branch master --target linux-64-gcc owncloud-client
- When built, start the client like this:
./master/linux-64-gcc/bin/owncloud -s
- TODO: find the relevant info e.g. docker image from kdeorg/ubuntu-1804-craft