You are not logged in.

#1 2012-11-29 08:16:43

giowck
Member
Registered: 2011-07-13
Posts: 77

[REQUEST] Symphytum personal database

This commercial software http://giowisys.com/products/symphytum/
is packaged only for ubuntu (.deb), I would love to use that on Archlinux.

Anyone who has experience and can package deb files to the AUR?


Thank you!

Offline

#2 2012-11-29 17:49:49

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,974

Re: [REQUEST] Symphytum personal database

Try this. I didn't find any ready license info, so I just left that out for now.

pkgname=symphytum
pkgver=1.0
pkgrel=1
pkgdesc="Easy-to-use personal database software"
arch=('i686' 'x86_64')
url="http://giowisys.com/products/symphytum/"
depends=('glibc' 'qt')

if [[ "$CARCH" == "i686" ]]; then
  _arch="x86"
  _md5sum='c617d9cdf1dff9853f52ab20f5bbf4a5'
else
  _arch="$CARCH"
  _md5sum='e9fc8d58e37ab8168b5b121043559c59'
fi
source=("http://giowisys.com/files/symphytum/$pkgname-$pkgver-$_arch.deb")
md5sums=("$_md5sum")

package() {
  cd "$srcdir"
  tar -xf data.tar.gz -C "$pkgdir"
}

Last edited by Scimmia (2012-11-29 17:53:48)

Offline

#3 2012-12-02 14:59:35

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 89

Re: [REQUEST] Symphytum personal database

Dropbox synchronization doesn't work for me. I get: "ImportError: No module named pkg_resources".

Also, it is missing license=('custom') and probably 'dropbox'  should be added to Depends array

Offline

#4 2012-12-02 15:22:50

giowck
Member
Registered: 2011-07-13
Posts: 77

Re: [REQUEST] Symphytum personal database

maybe a dependency problem?

http://stackoverflow.com/questions/1756 … de-of-pyth

setuptools or other python packages missing?

ps. python2 is also a dependency

Offline

#5 2012-12-02 15:48:28

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 89

Re: [REQUEST] Symphytum personal database

Right. Needs python2-distribute too. With it, symphytum synchronizes just fine. So, depends=('glibc' 'qt' 'dropbox' 'python2-distribute') seems correct.

Just one more thing: it would be nice to have a license file in /usr/share/licenses/$pkgname/, since this software is not licensed under the considered as common licenses. My comment is based in the Arch Packagin Standards.

Offline

#6 2012-12-02 16:02:59

giowck
Member
Registered: 2011-07-13
Posts: 77

Re: [REQUEST] Symphytum personal database

Ok now it works!

Thank you josephg and Scimmia big_smile

For the license thing, looking at spotify PKGBUILD:
license=('custom:"Copyright (c) 2006-2010 Spotify Ltd"')

so here
license=('custom:"Copyright (c) 2012 GIOWISYS Software UG"')

and in the package() part somewhere:
we need to copy that copyright notice in ${pkgdir}/usr/share/licenses/${pkgname}

Offline

#7 2012-12-02 17:39:07

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,974

Re: [REQUEST] Symphytum personal database

AFAIK, that doesn't really cut it for the license. You should contact the company to get ahold of a copy of their EULA. If they don't have one, you're probably fine with just making a text file with that simple copyright notice.

Be aware that using a pre-compiled binary like this is a bit dangerous. If Arch does an soname bump of a library that it links to, it will stop working until it's recompiled for that update. They probably aren't going to recompile it until Ubuntu does the update.

One other change to make, it should use bsdtar to extract the archive instead of tar. bsdtar is part of libarchive, which is required by the pacman package, so it has to be there where tar could potentially be missing. The syntax won't change in this case, so just change tar to bsdtar and it's fine.

Offline

#8 2014-04-15 20:28:55

giowck
Member
Registered: 2011-07-13
Posts: 77

Re: [REQUEST] Symphytum personal database

Hi,

Symphytum is now free and open source.

I made an AUR package: https://aur.archlinux.org/packages/symphytum/

project site: http://giowck.github.io/symphytum/

Offline

Board footer

Powered by FluxBB