Package Details: synology-hyper-backup-explorer 2.2.2.0141-2

Git Clone URL: https://aur.archlinux.org/synology-hyper-backup-explorer.git (read-only, click to copy)
Package Base: synology-hyper-backup-explorer
Description: A desktop tool for browsing, decrypting, and extracting different versions of backup data in Hyper Backup repositories
Upstream URL: https://www.synology.com/en-global/releaseNote/HyperBackupExplorer
Licenses: unknown
Submitter: lybin
Maintainer: TheGoliath
Last Packager: TheGoliath
Votes: 5
Popularity: 0.037612
First Submitted: 2016-03-25 13:30
Last Updated: 2020-05-19 09:53

Latest Comments

stonyboy commented on 2020-05-19 08:35

With the 2.2.2-0141-1 version there are some problems to be fixed.

First of all there are new subfolders and executables to be installed, and as a final touch the binaries must not be stripped, as that apparently removes a "version" resource that the explorer binary needs when loading.

This is the PKGBUILD that works for me:


pkgname=synology-hyper-backup-explorer
pkgver=2.2.2.0141
_pkgver=2.2.2-0141
pkgrel=1
pkgdesc="A desktop tool for browsing, decrypting, and extracting different versions of backup data in Hyper Backup repositories"
arch=('x86_64')
url="https://www.synology.com/en-global/releaseNote/HyperBackupExplorer"
license=('unknown')
depends=('qt5-base' 'gtk2' 'openssl-1.0')
options=('!strip')
source_x86_64=(https://global.download.synology.com/download/Tools/HyperBackupExplorer/${_pkgver}/Linux/x86_64/HyperBackupExplorer-${_pkgver}-linux.tar.bz2)
sha256sums_x86_64=('d44ab409e8307d70ebe3a4b0a574666ce1543cd767a6784cf88cb0317bcae154')

prepare() {
    cd "${srcdir}"
}

package() {
    mkdir -p "${pkgdir}"/opt/Synology/HyperBackupExplorer
    install -Dm755 HyperBackupExplorer "${pkgdir}/opt/Synology/HyperBackupExplorer/HyperBackupExplorer"
    install -Dm755 QtWebEngineProcess "${pkgdir}/opt/Synology/HyperBackupExplorer/QtWebEngineProcess"
    install -Dm755 img_worker "${pkgdir}/opt/Synology/HyperBackupExplorer/img_worker"
    cp -r qt.conf help lib platforms plugins resources target translations "${pkgdir}/opt/Synology/HyperBackupExplorer"

    mkdir -p "${pkgdir}/usr/bin"
    ln -sf /opt/Synology/HyperBackupExplorer/HyperBackupExplorer "${pkgdir}/usr/bin/synology-hyper-backup-explorer"
}

wbolster commented on 2020-02-02 18:58

the resulting package is severely broken due to missing files. for some reason the package() step is very selective wrt the files to put in the package, for no good reason. simply installing all files by using * wildcards results in a working build. here's a working package() snippet:

package() {
    mkdir -p "${pkgdir}"/opt/Synology/HyperBackupExplorer/{platforms,platformthemes,lib,help}
    install -Dm755 HyperBackupExplorer "${pkgdir}/opt/Synology/HyperBackupExplorer/HyperBackupExplorer"
    install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/platforms" platforms/*
    install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/platformthemes" platformthemes/*
    install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/lib" lib/*
    cp -r help/* "${pkgdir}/opt/Synology/HyperBackupExplorer/help"

    mkdir -p "${pkgdir}/usr/bin"
    ln -sf /opt/Synology/HyperBackupExplorer/HyperBackupExplorer "${pkgdir}/usr/bin/synology-hyper-backup-explorer"
}

any chance you can update this, lev? thanks for the initial work!

robotdna commented on 2019-11-08 19:11

I'd like to mention that I just needed to perform 0x4d's extension change step:

install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/lib" lib/.so

And that's all that was required in order for this to work for me.

RedfinDiver commented on 2019-10-12 13:34

I changed the PKGBUILD to this and it works now. (there is also a newer version). As I`m new to the AUR and build systems: Could the maintainer have a look and check my work please?

Maintainer: Lev Lybin aur@devtrue.net

pkgname=synology-hyper-backup-explorer pkgver=2.2.1.0133 _pkgver=2.2.1-0133 pkgrel=1 pkgdesc="A desktop tool for browsing, decrypting, and extracting different versions of backup data in Hyper Backup repositories" arch=('x86_64') url="https://www.synology.com/en-global/releaseNote/HyperBackupExplorer" license=('unknown') depends=('qt5-base' 'gtk2' 'openssl-1.0') source_x86_64=(https://global.download.synology.com/download/Tools/HyperBackupExplorer/${_pkgver}/Linux/x86_64/HyperBackupExplorer-${_pkgver}-linux.tar.bz2) md5sums_x86_64=('e2a57a59e92edc10b9f31d3c9b0bf604')

prepare() { cd "${srcdir}" }

package() { mkdir -p "${pkgdir}"/opt/Synology/HyperBackupExplorer/{platforms,platformthemes,lib,help,target} install -Dm755 HyperBackupExplorer "${pkgdir}/opt/Synology/HyperBackupExplorer/HyperBackupExplorer" install -Dm755 img_worker "${pkgdir}/opt/Synology/HyperBackupExplorer/img_worker" install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/platforms" platforms/.so install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/platformthemes" platformthemes/.so install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/lib" lib/so cp -r help/ "${pkgdir}/opt/Synology/HyperBackupExplorer/help" cp -r target/ "${pkgdir}/opt/Synology/HyperBackupExplorer/target" cp COPYRIGHTS "${pkgdir}/opt/Synology/HyperBackupExplorer"

mkdir -p "${pkgdir}/usr/bin"
ln -sf /opt/Synology/HyperBackupExplorer/HyperBackupExplorer "${pkgdir}/usr/bin/synology-hyper-backup-explorer"

}

piedro commented on 2019-06-13 13:48

Hmmm... so how does this work?

synology-hyper-backup-explorer: error while loading shared libraries: libsynocloud_swift.so: cannot open shared object file: No such file or directory

I do not understand what exactly to do with the information of 0x4d. Shouldn't the PKGBUILD file take care of this?

thx, p.

pohl7589 commented on 2019-03-22 18:17

synology-hyper-backup-explorer: error while loading shared libraries: libsynocloud_swift.so: cannot open shared object file: No such file or directory

stonyboy commented on 2018-11-12 18:55

In my case both libjson.so and libsynocloud_swift.so was missing.

Using the suggestion by 0x4d to install .so* files worked for me.

I did not have any clashes with libz.so.

gmpreussner commented on 2018-07-26 03:28

0x4d's solution worked for me. To clarify, the libz.so.1 that needs to be deleted is the one installed by the package in /opt/Synology/HyperBackupExplorer/lib/libz.so.1

0x4d commented on 2018-05-16 12:17

To fix the errors I had to:

  • Change trailing '.*' to '*' for lib directory (otherwise json.so is not installed):

    install -t "${pkgdir}/opt/Synology/HyperBackupExplorer/lib" lib/*.so*

  • Remove libz.so.1 (this fixes the Qt platform plugin "xcb" error)

joolsr1 commented on 2017-08-16 12:14

Running into several issues when trying to run this after installing. Usiung Manjaro but shouldnt see any issues using this Arch package.

First issue when running executable is i get an error ie

error while loading shared libraries: libjson.so: cannot open shared object file: No such file or directory

I installed libjson and then run into the next error when running the application ie

./HyperBackupExplorer: symbol lookup error: /opt/Synology/HyperBackupExplorer/lib/libsynobackup-util.so.1: undefined symbol: _ZN4Json5Value4nullE

at which point i cant go any further ...