-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hack for smooth update of 32-bit version to multiarch
- Loading branch information
Showing
7 changed files
with
73 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Build owncloudcmd | ||
|
||
The owncloudcmd and libraries for the 64-bit version were build following the command sequence below, the 32-bit version uses the original binaries from the previous builds: | ||
|
||
```bash | ||
$ PKG_PATH=PATH_TO_UBSYNC | ||
$ # ARCH_TRIPLET="arm-linux-gnueabihf" | ||
$ ARCH_TRIPLET="aarch64-linux-gnu" | ||
$ | ||
$ wget https://github.com/owncloud/client/archive/v2.5.3.zip | ||
$ unzip v2.5.3.zip | ||
$ cd client-2.5.3 | ||
$ BUILD_PATH=$( pwd ) | ||
$ | ||
$ mkdir client-build | ||
$ cd client-build | ||
$ | ||
$ cmake -DCMAKE_BUILD_TYPE="release" -DENABLE_GUI="OFF" .. | ||
$ make | ||
$ | ||
$ cp -a ${BUILD_PATH}/client-build/bin/owncloudcmd ${PKG_PATH}/Owncloud-Sync/lib/${ARCH_TRIPLET}/bin | ||
$ cp -a ${BUILD_PATH}/client-build/src/csync/libowncloud_csync.so* ${PKG_PATH}/Owncloud-Sync/lib/${ARCH_TRIPLET}/lib/ | ||
$ cp -a ${BUILD_PATH}/client-build/src/libsync/libowncloudsync.so* ${PKG_PATH}/Owncloud-Sync/lib/${ARCH_TRIPLET}/lib/ | ||
$ | ||
``` | ||
|
||
# Build Package | ||
|
||
```bash | ||
$ PKG_PATH=PATH_TO_UBSYNC | ||
$ | ||
$ cd ${PKG_PATH} | ||
$ clickable --arch arm64 | ||
$ clickable --arch armhf | ||
$ | ||
$ # work with the packages ... | ||
$ touch ${PKG_PATH}/build/aarch64-linux-gnu/app/ubsync_0.5_arm64.click | ||
$ touch ${PKG_PATH}/build/build/arm-linux-gnueabihf/app/ubsync_0.5_armhf.click | ||
$ | ||
``` |
Binary file not shown.
Binary file modified
BIN
-5.9 MB
(7.3%)
Owncloud-Sync/lib/aarch64-linux-gnu/lib/libowncloud_csync.so.2.5.3
Binary file not shown.
Binary file modified
BIN
-12.8 MB
(10%)
Owncloud-Sync/lib/aarch64-linux-gnu/lib/libowncloudsync.so.2.5.3
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ubsync", | ||
"description": "A tool to synchronise Utouch to your Nextcloud server", | ||
"description": "A tool to synchronise Utouch to your ownCloud/nextCloud server", | ||
"architecture": "@CLICK_ARCH@", | ||
"title": "UBsync", | ||
"hooks": { | ||
|
@@ -10,7 +10,7 @@ | |
"desktop": "Owncloud-Sync/UBsync.desktop" | ||
} | ||
}, | ||
"version": "0.5", | ||
"version": "0.6-dev", | ||
"maintainer": "Ern st <[email protected]>", | ||
"framework": "ubuntu-sdk-16.04" | ||
} |