summaryrefslogtreecommitdiff
path: root/science/orthanc-webviewer
diff options
context:
space:
mode:
Diffstat (limited to 'science/orthanc-webviewer')
-rw-r--r--science/orthanc-webviewer/Makefile47
-rw-r--r--science/orthanc-webviewer/distinfo10
-rw-r--r--science/orthanc-webviewer/files/patch-CMakeLists.txt11
3 files changed, 27 insertions, 41 deletions
diff --git a/science/orthanc-webviewer/Makefile b/science/orthanc-webviewer/Makefile
index f05e3a9795cb..c88b6e69e403 100644
--- a/science/orthanc-webviewer/Makefile
+++ b/science/orthanc-webviewer/Makefile
@@ -1,43 +1,39 @@
PORTNAME= orthanc-webviewer
-DISTVERSION= 2.9
-PORTREVISION= 2
+DISTVERSION= 2.10
CATEGORIES= science
-MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc-webviewer/:main \
- https://orthanc.uclouvain.be/downloads/sources/orthanc/:framework \
- http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \
- http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty
-DISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \
- jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \
- cornerstone-0.11.0.zip:thirdpartywebviewer \
- jquery-ui-1.11.3.zip:thirdpartywebviewer \
- pako-0.2.5.zip:thirdpartywebviewer \
- js-url-1.8.6.zip:thirdpartywebviewer \
- Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz:framework \
+MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc-webviewer/:webviewer \
+ https://orthanc.uclouvain.be/downloads/sources/orthanc/:orthanc \
+ https://orthanc.uclouvain.be/downloads/third-party-downloads/web-viewer/:thirdpartyweb \
+ https://orthanc.uclouvain.be/downloads/third-party-downloads/:thirdparty
+DISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:webviewer \
+ jsPanel-2.3.3-fixed.zip:thirdpartyweb \
+ cornerstone-0.11.0.zip:thirdpartyweb \
+ jquery-ui-1.11.3.zip:thirdpartyweb \
+ pako-0.2.5.zip:thirdpartyweb \
+ js-url-1.8.6.zip:thirdpartyweb \
+ Orthanc-${ORTHANC_VER}.tar.gz:orthanc \
e2fsprogs-1.44.5.tar.gz:thirdparty
DIST_SUBDIR= orthanc
EXTRACT_ONLY= OrthancWebViewer-${PORTVERSION}.tar.gz
-MAINTAINER= maintainer.freebsd@xpoundit.com
-COMMENT= Orthanc plugin to extend Orthanc with a Web viewer of medical images
+MAINTAINER= jwb@FreeBSD.org
+COMMENT= Orthanc web viewer plugin
WWW= https://www.orthanc-server.com/static.php?page=web-viewer
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc
+BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc \
+ googletest>0:devel/googletest
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \
- libexpat.so:textproc/expat2 \
- libgdcmCommon.so:devel/gdcm \
- libicudata.so:devel/icu \
libjsoncpp.so:devel/jsoncpp \
- libopenjp2.so:graphics/openjpeg \
libsqlite3.so:databases/sqlite3
RUN_DEPENDS= Orthanc:science/orthanc
USES= cmake localbase python:build
-USE_LDCONFIG= yes
+USE_LDCONFIG= ${DATADIR}/plugins
-CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-${ORTHANC_FRAMEWORK_VERSION}/OrthancFramework/Sources \
+CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}/OrthancFramework/Sources \
-DORTHANC_FRAMEWORK_SOURCE=path
CMAKE_OFF= USE_SYSTEM_UUID
@@ -48,7 +44,8 @@ WRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION}
PLIST_SUB= DISTVERSION=${DISTVERSION}
-ORTHANC_FRAMEWORK_VERSION= 1.12.6
+# Build fails with 1.12.8 and 1.12.9
+ORTHANC_VER= 1.12.7
post-extract:
${MKDIR} ${WRKSRC}/ThirdPartyDownloads
@@ -58,8 +55,8 @@ post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads
${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads
${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz ${WRKSRC}/ThirdPartyDownloads
- ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-${ORTHANC_VER}.tar.gz ${WRKSRC}/ThirdPartyDownloads
+ ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}.tar.gz
post-build:
@cd ${BUILD_WRKSRC} && ./UnitTests
diff --git a/science/orthanc-webviewer/distinfo b/science/orthanc-webviewer/distinfo
index beff3cb36584..e2e02d554be4 100644
--- a/science/orthanc-webviewer/distinfo
+++ b/science/orthanc-webviewer/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1739140790
-SHA256 (orthanc/OrthancWebViewer-2.9.tar.gz) = 2f2cee66f908f6c5a6f0ebd69341f42fa94aa6179904ea540adeb21ac69c05fe
-SIZE (orthanc/OrthancWebViewer-2.9.tar.gz) = 132935
+TIMESTAMP = 1761581265
+SHA256 (orthanc/OrthancWebViewer-2.10.tar.gz) = b01df44e17ee4efe4575bc544b4bb0767eb1423dc586b0c3b6457156c7501fa1
+SIZE (orthanc/OrthancWebViewer-2.10.tar.gz) = 135662
SHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595
SIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542
SHA256 (orthanc/cornerstone-0.11.0.zip) = 1bada9f1f2981968f72daa352e712abea5cac3e0417fe59176f70a23261f1da9
@@ -11,7 +11,7 @@ SHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc
SIZE (orthanc/pako-0.2.5.zip) = 704378
SHA256 (orthanc/js-url-1.8.6.zip) = ef2c7f50921ba64ac434eacf025669f1e6f39b5584100ffa8194a3edc08d43d3
SIZE (orthanc/js-url-1.8.6.zip) = 54717
-SHA256 (orthanc/Orthanc-1.12.6.tar.gz) = aa5b6d6309965ed360625b5572e79068e6c501b603163e330629f2f0a56a0fe9
-SIZE (orthanc/Orthanc-1.12.6.tar.gz) = 2089779
+SHA256 (orthanc/Orthanc-1.12.7.tar.gz) = f4349971c9e12f74599ba036c37ce7fe7fe8078b08dddbb83e08cf7b13e53adb
+SIZE (orthanc/Orthanc-1.12.7.tar.gz) = 2097270
SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc
SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237
diff --git a/science/orthanc-webviewer/files/patch-CMakeLists.txt b/science/orthanc-webviewer/files/patch-CMakeLists.txt
deleted file mode 100644
index 5ac2ba18ecbc..000000000000
--- a/science/orthanc-webviewer/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig 2025-02-09 22:38:16 UTC
-+++ CMakeLists.txt
-@@ -28,7 +28,7 @@ else()
- set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline")
- set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
- else()
-- set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.12.3")
-+ set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.12.6")
- set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
- endif()
-