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

Styx85 commented on 2018-08-09 15:49

Found a fix: Toolbox.CaseWithAccents needs to have LANG=en_US.UTF-8 enabled in /etc/locale.gen, otherwise the test is failing/bailing out

Installation of orthanc fails because of not passing one test:

[ RUN ] Toolbox.CaseWithAccents
/tmp/yaourt-tmp-caberliner/aur-orthanc/src/Orthanc-1.3.2/UnitTestsSources
/FromDcmtkTests.cpp:1251: Failure
Expected: toUpperResult
Which is: "GR\xC3\x9C\xC3\x9F" "EN S\xC3\x89" "BASTIEN TEST\xC3\x89\xC3\x84\xC3\x96\xC3\x92\xD0\x94\xCE\x98\xC4\x9C\xD7\x93\xD8\xB5\xC4\xB6\xD0\x8B\xE0\xB9\x9B\xEF\xBE\x88\xC4\xB0"
To be equal to: Toolbox::ToUpperCaseWithAccents(toUpperSource)
Which is: "GR\xC3\xBC\xC3\x9F" "EN S\xC3\xA9" "BASTIEN TEST\xC3\xA9\xC3\xA4\xC3\xB6\xC3\xB2\xD0\x94\xCE\x98\xC4\x9D\xD7\x93\xD8\xB5\xC4\xB7\xD1\x9B\xE0\xB9\x9B\xEF\xBE\x88\xC4\xB0"
[ FAILED ] Toolbox.CaseWithAccents (0 ms)

Further info:
it is buildung with dcmtk, but not passing test aforementioned test
it is building with dcmtk-snapshot, but not passing test aforementioned test
it is not building with dcmtk-git

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