Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2021 08:27:05 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 27ff93b97989 - main - science/orthanc-dicomweb: Revive port
Message-ID:  <202108090827.1798R59T048968@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=27ff93b979893807537870b43d7c376e531d5a0a

commit 27ff93b979893807537870b43d7c376e531d5a0a
Author:     Frank Scholl <maintainer.freebsd@xpoundit.com>
AuthorDate: 2021-08-09 08:26:41 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-08-09 08:26:41 +0000

    science/orthanc-dicomweb: Revive port
    
    Plugin to bring support of the DICOMweb standard into Orthanc.
    
    PR:             242547
    Reviewed by:    lwhsu
---
 MOVED                              |  1 -
 science/Makefile                   |  1 +
 science/orthanc-dicomweb/Makefile  | 62 ++++++++++++++++++++++++++++++++++++++
 science/orthanc-dicomweb/distinfo  | 19 ++++++++++++
 science/orthanc-dicomweb/pkg-descr | 12 ++++++++
 science/orthanc-dicomweb/pkg-plist |  2 ++
 6 files changed, 96 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 943293805bbe..355fc2113402 100644
--- a/MOVED
+++ b/MOVED
@@ -10152,7 +10152,6 @@ audio/deforaos-mixer||2018-06-07|Has expired: Broken for more than 6 months
 audio/gkrellmss2||2018-06-07|Has expired: Broken for more than 6 months
 audio/abcmidi||2018-06-07|Has expired: Broken for more than 6 months
 benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months
-science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
 graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
 math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
 math/clipper|graphics/polyclipping|2018-06-11|Duplicate port
diff --git a/science/Makefile b/science/Makefile
index 9fed81d7b2ba..cd11f6e1f595 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -177,6 +177,7 @@
     SUBDIR += opensph
     SUBDIR += opsin
     SUBDIR += orthanc
+    SUBDIR += orthanc-dicomweb
     SUBDIR += orthanc-mysql
     SUBDIR += orthanc-postgresql
     SUBDIR += orthanc-webviewer
diff --git a/science/orthanc-dicomweb/Makefile b/science/orthanc-dicomweb/Makefile
new file mode 100644
index 000000000000..6d0e3669e0c2
--- /dev/null
+++ b/science/orthanc-dicomweb/Makefile
@@ -0,0 +1,62 @@
+# Created by: maintainer.freebsd@xpoundit.com
+
+PORTNAME=	orthanc-dicomweb
+DISTVERSION=	1.6
+CATEGORIES=	science
+MASTER_SITES=	https://www.orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/:main \
+		https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \
+		https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty \
+		https://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/:thirdpartydicomweb
+DISTFILES=	OrthancDicomWeb-${PORTVERSION}.tar.gz:main
+EXTRADISTFILES=	Orthanc-1.9.3.tar.gz:framework \
+		e2fsprogs-1.44.5.tar.gz:thirdparty \
+		bootstrap-4.3.1.zip:thirdpartydicomweb \
+		vuejs-2.6.10.tar.gz:thirdpartydicomweb \
+		axios-0.19.0.tar.gz:thirdpartydicomweb \
+		Font-Awesome-4.7.0.tar.gz:thirdpartydicomweb \
+		bootstrap-vue-2.0.0-rc.24-dist.tar.gz:thirdpartydicomweb \
+		babel-polyfill-6.26.0.min.js.gz:thirdpartydicomweb
+DISTFILES+=	${EXTRADISTFILES}
+DIST_SUBDIR=	orthanc
+EXTRACT_ONLY=	OrthancDicomWeb-${PORTVERSION}.tar.gz
+
+MAINTAINER=	maintainer.freebsd@xpoundit.com
+COMMENT=	Orthanc plugin to bring support of the DICOMweb standard into Orthanc
+
+LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc
+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 \
+		libpugixml.so:textproc/pugixml
+RUN_DEPENDS=	Orthanc:science/orthanc
+
+USES=		cmake localbase python:build
+USE_LDCONFIG=	yes
+
+WRKSRC=		${WRKDIR}/OrthancDicomWeb-${PORTVERSION}
+
+CMAKE_OFF=	USE_SYSTEM_UUID
+CMAKE_ARGS=	-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \
+		-DORTHANC_FRAMEWORK_SOURCE=path
+CFLAGS+=	-DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG
+CXXFLAGS+=	-DNDEBUG
+
+PLIST_SUB=	DISTVERSION=${DISTVERSION}
+
+post-extract:
+	${MKDIR} ${WRKSRC}/ThirdPartyDownloads
+.for f in ${EXTRADISTFILES:C/:[^:]*//}
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}/ThirdPartyDownloads
+.endfor
+	${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz
+
+do-test:
+	@cd ${BUILD_WRKSRC} && ./UnitTests
+
+.include <bsd.port.mk>
diff --git a/science/orthanc-dicomweb/distinfo b/science/orthanc-dicomweb/distinfo
new file mode 100644
index 000000000000..96c67bc641c5
--- /dev/null
+++ b/science/orthanc-dicomweb/distinfo
@@ -0,0 +1,19 @@
+TIMESTAMP = 1620903521
+SHA256 (orthanc/OrthancDicomWeb-1.6.tar.gz) = 4e5df573d6000c2707999222420efa7fcb62bea0b4f62369ffaa0277c5be8cd6
+SIZE (orthanc/OrthancDicomWeb-1.6.tar.gz) = 202325
+SHA256 (orthanc/Orthanc-1.9.3.tar.gz) = 41cc35a3d15ecb0d7b834e8e28a740cc4ffa1f333c019a764228d60e96608960
+SIZE (orthanc/Orthanc-1.9.3.tar.gz) = 1818313
+SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc
+SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237
+SHA256 (orthanc/bootstrap-4.3.1.zip) = c7fcae50c070250e4e1ae36a670e5ee8fe9d529eb3f1a03c527f8223ce3f61bc
+SIZE (orthanc/bootstrap-4.3.1.zip) = 2705432
+SHA256 (orthanc/vuejs-2.6.10.tar.gz) = e3d900cd9266b5bed9bb6d575fc9ab6787e79e7ad21c01ee1277bff5453121f2
+SIZE (orthanc/vuejs-2.6.10.tar.gz) = 1576461
+SHA256 (orthanc/axios-0.19.0.tar.gz) = 29577c6085b090b4e4a99392fcdd582fb6bbcb49b2aaf2cc7b7fa3874529b380
+SIZE (orthanc/axios-0.19.0.tar.gz) = 125193
+SHA256 (orthanc/Font-Awesome-4.7.0.tar.gz) = de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43
+SIZE (orthanc/Font-Awesome-4.7.0.tar.gz) = 2672776
+SHA256 (orthanc/bootstrap-vue-2.0.0-rc.24-dist.tar.gz) = bc62cc91c2c3c24ddd29321d91be629e72db6129413ab6b8111ce13c2a57775b
+SIZE (orthanc/bootstrap-vue-2.0.0-rc.24-dist.tar.gz) = 2448005
+SHA256 (orthanc/babel-polyfill-6.26.0.min.js.gz) = 087d3d2d6212afb418f50491858f7f055cb54defb6351d6c5d008f662a2a95c2
+SIZE (orthanc/babel-polyfill-6.26.0.min.js.gz) = 34718
diff --git a/science/orthanc-dicomweb/pkg-descr b/science/orthanc-dicomweb/pkg-descr
new file mode 100644
index 000000000000..5c0bc7960f51
--- /dev/null
+++ b/science/orthanc-dicomweb/pkg-descr
@@ -0,0 +1,12 @@
+Orthanc-dicomweb extends the native REST API of Orthanc with a reference
+implementation of the DICOMweb standard. Loading the plugin into Orthanc will
+provide support of WADO-URI (previously known simply as WADO), WADO-RS,
+QIDO-RS and STOW-RS.
+
+Out-of-the-box, Orthanc comes with its own REST API. This API allows full
+CRUD operations (create, read, update and delete) on the set of DICOM
+resources that Orthanc stores, together with commands that trigger calls to
+the DICOM protocol (C-Echo SCU/SCP, C-Store SCU/SCP, C-Find SCU/SCP, C-Move
+SCU/SCP).
+
+WWW: https://www.orthanc-server.com/static.php?page=dicomweb
diff --git a/science/orthanc-dicomweb/pkg-plist b/science/orthanc-dicomweb/pkg-plist
new file mode 100644
index 000000000000..a192da83bb5e
--- /dev/null
+++ b/science/orthanc-dicomweb/pkg-plist
@@ -0,0 +1,2 @@
+share/orthanc/plugins/libOrthancDicomWeb.so
+share/orthanc/plugins/libOrthancDicomWeb.so.%%DISTVERSION%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108090827.1798R59T048968>