FreeBSD Bugzilla – Attachment 225706 Details for
Bug 242549
[REVIVE] science/orthanc-webviewer: Plugin to extend Orthanc with a web viewer of medical images
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
orthanc-webviewer-2.7.diff
science_orthanc-webviewer-2.7.diff (text/plain), 6.31 KB, created by
Frank Scholl
on 2021-06-10 15:32:36 UTC
(
hide
)
Description:
orthanc-webviewer-2.7.diff
Filename:
MIME Type:
Creator:
Frank Scholl
Created:
2021-06-10 15:32:36 UTC
Size:
6.31 KB
patch
obsolete
>diff --git a/MOVED b/MOVED >index 3f7d7304cd08..47409ee1bef3 100644 >--- a/MOVED >+++ b/MOVED >@@ -10157,7 +10157,6 @@ 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 > science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc >-science/orthanc-webviewer||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 9e8caadfabb7..b0ebf50eae67 100644 >--- a/science/Makefile >+++ b/science/Makefile >@@ -176,6 +176,7 @@ > SUBDIR += opensph > SUBDIR += opsin > SUBDIR += orthanc >+ SUBDIR += orthanc-webviewer > SUBDIR += p5-Algorithm-SVMLight > SUBDIR += p5-Chemistry-3DBuilder > SUBDIR += p5-Chemistry-Bond-Find >diff --git a/science/orthanc-webviewer/Makefile b/science/orthanc-webviewer/Makefile >new file mode 100644 >index 000000000000..785108eb749b >--- /dev/null >+++ b/science/orthanc-webviewer/Makefile >@@ -0,0 +1,63 @@ >+# Created by: maintainer.freebsd@xpoundit.com >+ >+PORTNAME= orthanc-webviewer >+DISTVERSION= 2.7 >+CATEGORIES= science >+MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ >+ https://www.orthanc-server.com/downloads/get.php?path=/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-1.8.1.tar.gz:framework \ >+ e2fsprogs-1.44.5.tar.gz:thirdparty >+DIST_SUBDIR= orthanc >+EXTRACT_ONLY= OrthancWebViewer-${PORTVERSION}.tar.gz >+ >+MAINTAINER= maintainer.freebsd@xpoundit.com >+COMMENT= Plugin to extend Orthanc with a web viewer of medical images >+ >+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 \ >+ libsqlite3.so:databases/sqlite3 >+RUN_DEPENDS= Orthanc:science/orthanc >+ >+USES= cmake localbase python:build >+ >+WRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} >+ >+CMAKE_OFF= USE_SYSTEM_UUID >+CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.8.1/OrthancFramework/Sources \ >+ -DORTHANC_FRAMEWORK_SOURCE=path >+CFLAGS+= -I${LOCALBASE}/include -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG >+CXXFLAGS+= -DNDEBUG >+ >+PLIST_SUB+= PORTVERSION=${PORTVERSION} >+ >+post-extract: >+ ${MKDIR} ${WRKSRC}/ThirdPartyDownloads >+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads >+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads >+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads >+ ${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-1.8.1.tar.gz ${WRKSRC}/ThirdPartyDownloads >+ ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.8.1.tar.gz >+ >+post-build: >+ @cd ${BUILD_WRKSRC} && ./UnitTests >+ >+.include <bsd.port.mk> >diff --git a/science/orthanc-webviewer/distinfo b/science/orthanc-webviewer/distinfo >new file mode 100644 >index 000000000000..e6d964173af3 >--- /dev/null >+++ b/science/orthanc-webviewer/distinfo >@@ -0,0 +1,17 @@ >+TIMESTAMP = 1620907941 >+SHA256 (orthanc/OrthancWebViewer-2.7.tar.gz) = 22f56136e4704c734f80d3a9a0fed892c6516be45c30f524b10f93413a3eb81f >+SIZE (orthanc/OrthancWebViewer-2.7.tar.gz) = 124764 >+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 >+SIZE (orthanc/cornerstone-0.11.0.zip) = 935277 >+SHA256 (orthanc/jquery-ui-1.11.3.zip) = 045b52f293bf4f77c6689569064327495edd9e6434839b78a56299c555130282 >+SIZE (orthanc/jquery-ui-1.11.3.zip) = 400437 >+SHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc1d95bd9af151f2005f >+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.8.1.tar.gz) = 475f0e09d53496f5c152f3a4af9eb7318826f8d475f061d8e5332e4e6473c080 >+SIZE (orthanc/Orthanc-1.8.1.tar.gz) = 1701085 >+SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc >+SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 >diff --git a/science/orthanc-webviewer/pkg-descr b/science/orthanc-webviewer/pkg-descr >new file mode 100644 >index 000000000000..1b9bb8ccdf6b >--- /dev/null >+++ b/science/orthanc-webviewer/pkg-descr >@@ -0,0 +1,11 @@ >+Orthanc can be extended by a plugin that brings a web viewer of medical >+images. The web viewer is based upon the two following projects: >+ >+Cornerstone (https://github.com/chafey/cornerstone), a client-side JavaScript >+library to display medical images in Web browsers, by Chris Hafey, and >+ >+GDCM (http://sourceforge.net/projects/gdcm/), an open-source implementation >+of the DICOM standard with advanced features for image decoding, by Mathieu >+Malaterre. >+ >+WWW: https://www.orthanc-server.com/static.php?page=web-viewer >diff --git a/science/orthanc-webviewer/pkg-plist b/science/orthanc-webviewer/pkg-plist >new file mode 100644 >index 000000000000..7e4206401c98 >--- /dev/null >+++ b/science/orthanc-webviewer/pkg-plist >@@ -0,0 +1,2 @@ >+share/orthanc/plugins/libOrthancWebViewer.so >+share/orthanc/plugins/libOrthancWebViewer.so.%%PORTVERSION%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
maintainer.freebsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 242549
:
209834
|
214833
|
215911
|
217276
|
225065
|
225337
|
225593
|
225648
| 225706