Package Details: orthanc 1.3.2-1

Git Clone URL: https://aur.archlinux.org/orthanc.git (read-only)
Package Base: orthanc
Description: Open-source, lightweight DICOM server.
Upstream URL: http://orthanc-server.com/
Keywords: dicom
Licenses: custom:GPL3WithOpenSSLException
Submitter: fractalcat
Maintainer: michalm
Last Packager: michalm
Votes: 1
Popularity: 0.000000
First Submitted: 2015-04-26 08:43
Last Updated: 2018-07-04 07:18

Latest Comments

TruckerZer0 commented on 2017-02-14 03:10

Anyone can update to 1.2.0? Thanks!

nobicycle commented on 2016-06-06 06:58

Thanks to Lone_wolf from the forums (amended url and added boost makedepends), this should be a working PKGBUILD:
He said most makedepends were needed runtime. I simply put the whole list in depends.
On my machine the UnitTests failed 2 of of 145 tests, but when I run UnitTests manually it passes all. Not sure why.


pkgname=orthanc
pkgver=1.0.0
pkgrel=1
pkgdesc="Open-source, lightweight DICOM server."
arch=("x86_64" "i686")
url="http://orthanc-server.com/"
license=("custom:GPL3WithOpenSSLException")
source=("Orthanc-$pkgver.tar.gz::http://orthanc-server.com/downloads/get.php?path=/orthanc/Orthanc-1.0.0.tar.gz")
depends=("util-linux" "python" "cmake" "mercurial" "boost" "unzip" "doxygen" "gtest" "jsoncpp" "pugixml" "curl" "cmake" "openjpeg")
makedepends=()

build() {
cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
-DALLOW_DOWNLOADS=ON -DSTATIC_BUILD:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_MONGOOSE=OFF \
-DUSE_SYSTEM_LUA=OFF \
-DUSE_SYSTEM_DCMTK=OFF \
$srcdir/Orthanc-$pkgver
make
make doc
}

check() {
./UnitTests
}

package() {
mkdir -p $pkgdir/usr/share/licenses/$pkgname
install -m 444 $srcdir/Orthanc-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname
make install
mkdir -p $pkgdir/usr/bin
mv $pkgdir/usr/sbin/* $pkgdir/usr/bin
rmdir $pkgdir/usr/sbin
}
sha256sums=('3fc37a0fc91e597cc4004934b14726595b5e97b7e328e03dedb4454096bd1bbb')

nobicycle commented on 2016-06-03 16:19

I had a go at updating the package build, including the "FIXME".
Though lua and mongoose are in Arch repositories I had to use USE_SYSTEM_XXX=OFF in order to get a successful compile.
Lastly, the check() is commented out because of:
[ PASSED ] 143 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] HttpClient.Basic
[ FAILED ] Lua.Http
Note sure if that is important and I do not know how to fix it.

pkgname=orthanc
pkgver=1.0.0
pkgrel=1
pkgdesc="Open-source, lightweight DICOM server."
arch=("x86_64" "i686")
url="http://orthanc-server.com/"
license=("custom:GPL3WithOpenSSLException")
source=("Orthanc-$pkgver.tar.gz::http://downloads.sourceforge.net/orthancserver/Orthanc-1.0.0.tar.gz")
depends=("util-linux")
makedepends=("python" "cmake" "mercurial" "unzip" "doxygen" "gtest" "jsoncpp" "pugixml" "curl" "cmake" "openjpeg")

build() {
cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
-DALLOW_DOWNLOADS=ON -DSTATIC_BUILD:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_MONGOOSE=OFF \
-DUSE_SYSTEM_LUA=OFF \
-DUSE_SYSTEM_DCMTK=OFF \
$srcdir/Orthanc-$pkgver
make
make doc
}

#check() {
#./UnitTests
#}

package() {
mkdir -p $pkgdir/usr/share/licenses/$pkgname
install -m 444 $srcdir/Orthanc-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname
make install
mkdir -p $pkgdir/usr/bin
mv $pkgdir/usr/sbin/* $pkgdir/usr/bin
rmdir $pkgdir/usr/sbin
}
sha256sums=('3fc37a0fc91e597cc4004934b14726595b5e97b7e328e03dedb4454096bd1bbb')

nobicycle commented on 2016-05-31 04:04

Also license in PKGBUILD needs to be an array.

nobicycle commented on 2016-05-31 03:58

Latest version is 1.0.0. Package update needed