Package Details: synology-drive 3.0.1_12667-1

Git Clone URL: https://aur.archlinux.org/synology-drive.git (read-only, click to copy)
Package Base: synology-drive
Description: Drive for PC, the desktop utility of the DSM add-on package, Drive, allows you to sync and share files owned by you or shared by others between a centralized Synology NAS and multiple client computers.
Upstream URL: https://www.synology.com
Keywords: synology
Licenses: custom
Submitter: fmartingr
Maintainer: fmartingr
Last Packager: fmartingr
Votes: 30
Popularity: 2.00
First Submitted: 2018-01-03 10:34
Last Updated: 2021-07-08 20:29

Latest Comments

1 2 3 4 5 Next › Last »

fmartingr commented on 2021-07-08 07:15

Hey folks, I'm sorry for the delays. I switched jobs and my main computer is not my Arch but a Mac now. But I promise take a look at this this evening after work so the update is out for you.

jibsaramnim commented on 2021-07-08 03:04

For anyone who has already upgraded their NAS to 7.0 and is looking get a working Synology drive again, until the package is updated you might want to upgrade ahead of time. Here's the PKGBUILD I used to get to the as of this writing recent-most release, v3.0.1:

# Maintainer: Felipe Martin <me@fmartingr.com>

pkgname="synology-drive"
pkgver="3.0.1"
pkgrel="12667"
pkgdesc="Drive for PC, the desktop utility of the DSM add-on package, Drive, allows you to sync and share files owned by you or shared by others between a centralized Synology NAS and multiple client computers."
arch=('i686' 'x86_64')
url="https://www.synology.com"
license=('unknown')
depends=('glibc' 'libsm' 'binutils' 'fontconfig' )
optdepends=('nautilus: For nautilus integration' )
conflicts=('cloudstation-beta' 'cloudstation-3.0' 'cloudstation-drive' )
source=()
md5sums=()

source_i686=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.1-12667/Ubuntu/Installer/i686/synology-drive-client-12667.i686.deb)
md5sums_i686=('aa8c94068881f0892e14e3798008feff')

source_x86_64=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.1-12667/Ubuntu/Installer/x86_64/synology-drive-client-12667.x86_64.deb)
md5sums_x86_64=('a41b48ea0dd03341a42991574e8b4e9d')

prepare() {
    cd "$srcdir"
    mkdir -p data
    ar x synology-drive-*
    xz -d data.tar.xz
    tar xf data.tar --directory data
}

package() {
    cp -r "$srcdir/data/opt" "$pkgdir/opt"
    cp -r "$srcdir/data/usr" "$pkgdir/usr"
}

(Save as PKGBUILD in temporary folder and run makepkg -si to install.)

etix commented on 2021-06-29 10:37

Now that DSM 7 has been released, I tested the latest 3.0.1-12667 against DSM 6.2 and it's working as expected with older versions.

fmartingr commented on 2021-06-29 10:26

Hey folks, my NASes are still on DSM 6 and haven received the new major version yet. I'm not going to push the new PKGBUILD with the new version until I can modify and test that it works properly. I also need to apply some changes to follow the AUR guidelines as well.

If you want to check out the new version I published a link with a PKGBUILD to the beta and some people have provided patches in the comments as well.

corban commented on 2021-06-26 10:37

Attention! I removed the out-of-date-flag, because @maveonair is right. The Version 3 of the Synology-Drive-Client is actually intended for Synology-NAS, that already have DSM 7 installed. If you're on DSM 6 you still need Version 2.0.3-11102 of the Drive-Client. Otherwise, it can cause problems with synchronization.

maveonair commented on 2021-06-14 20:37

This package might be incorrectly flagged out-of-date because the new DSM 7 is not released yet to the public. Synology released a release candidate of it in June 2021, Version: 7.0-41882 [1]. The newest Synology Drive client was released to be compatible with the new DSM 7, but older NAS with DSM 6 might still provide the version 2.0.3-11102 to download.

Nevertheless, I successfully got the newest Synology Drive version built and it's running without any problem so far. Here is my PKGBUILD diff.

--- PKGBUILD.orig   2021-06-14 22:25:17.663862087 +0200
+++ PKGBUILD    2021-06-14 22:22:23.686091193 +0200
@@ -13,11 +13,11 @@
 source=()
 md5sums=()

-source_i686=(https://global.download.synology.com/download/Utility/SynologyDriveClient/2.0.4-11112/Ubuntu/Installer/i686/synology-drive-client-11112.i686.deb)
-md5sums_i686=('5d0d8f8fc6d0aefa0b1fe707289fb2fc')
+source_i686=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.1-12664/Ubuntu/Installer/i686/synology-drive-client-12664.i686.deb)
+md5sums_i686=('7e3dc5fd2b9c38f073ea677689f9eab2')

-source_x86_64=(https://global.download.synology.com/download/Utility/SynologyDriveClient/2.0.4-11112/Ubuntu/Installer/x86_64/synology-drive-client-11112.x86_64.deb)
-md5sums_x86_64=('0bff75d3e9a1a6eed8fd4c8351ba4104')
+source_x86_64=(https://global.download.synology.com/download/Utility/SynologyDriveClient/3.0.1-12664/Ubuntu/Installer/x86_64/synology-drive-client-12664.x86_64.deb)
+md5sums_x86_64=('0788446c2de2e05127c3b2b0f03c5131')

 prepare() {
    cd "$srcdir"

[1] https://www.synology.com/en-global/releaseNote/DSM

fmartingr commented on 2021-03-24 07:32

Hey @iyanmv, thanks a lot for your input! I will try to fix most of this for the next release of the package so I don't break versioning. Regarding why the dependencies, this comes from the previous cloud-drive application that required those (it won't install otherwise). I will fire up a VM to check out everything from scratch. Thanks again!

iyanmv commented on 2021-03-21 16:49

Hi @fmartingr. Thanks for maintaining this package. I wrote some time ago about an issue with this app using dark color themes. I was able to replicate the issue in Ubuntu so I opened a ticket in the Synology support website. It is an issue with the drive.stylesheet and component.default.stylesheet files. I will write back here if they offer any workaround or fix.

Regarding the PKGBUILD here, there are some issue as well:

  1. 11112 is part of the official release version, so you should use it accordingly: pkgver=2.0.4_11112. Note that I replace the hyphen with an underscore as mentioned in the guidelines [1].

  2. pkgrel is meant to distinguish different builds from the same upstream versions. For example, when you do a change in the PKGBUILD. You should replace 11112 with 1. But note that when doing that, AUR helpers will believe it is a downgrade so you should also enable the epoch. Again, check [1].

  3. You should change license to custom and install the license file in the right place [2]. You can add something like this at the end of package() function.

install -Dm 644 "${pkgdir}"/opt/Synology/SynologyDrive/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  1. I don't understand where did you get the dependencies. If you check the .deb package, this is what you get:
$ dpkg -I synology-drive-client-11112.x86_64.deb 
(...)
 Depends: libc6 (>= 2.19), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.12.0)
 Suggests: nautilus (>= 3.4.2)
(...)

So why binutils, fontconfig and libsm are dependencies?

  1. (Optional) You can achieve the same you are doing in both prepare() and package() with two lines in package():
cd "${srcdir}"
tar -xJf data.tar.xz -C "${pkgdir}"
  1. (Optional) It would be nice to check if the app can run using the libraries provided by Archlinux. Most of libraries included by Synology in the .deb are available in the system adding qt5-base, qt5-svg, curl, openssl, zlib and sqlite to dependencies. But this may be a bit of extra work.

[1] https://wiki.archlinux.org/index.php/PKGBUILD#Version

[2] https://wiki.archlinux.org/index.php/PKGBUILD#license

fmartingr commented on 2021-01-17 20:16

@ram4nd Try with this PKGBUILD: https://code.fmartingr.dev/fmartingr/aur-packages/src/branch/master/synology-drive/builds/3.0.0-12467/PKGBUILD

If there isn't many changes in the new major it should work as the stable ones, but I'm not using the beta so I can't test it properly.

ram4nd commented on 2021-01-17 16:08

Can you create another version for DSM 7 beta? https://prerelease.synology.com/en-global/download/dsm70_beta?builtin_name=synology_rtd1296_ds218