FreeBSD Bugzilla – Attachment 214833 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]
orthanc-webviewer-2.5_3
orthanc-webviewer.shar (text/plain), 7.72 KB, created by
Frank Scholl
on 2020-05-25 06:11:45 UTC
(
hide
)
Description:
orthanc-webviewer-2.5_3
Filename:
MIME Type:
Creator:
Frank Scholl
Created:
2020-05-25 06:11:45 UTC
Size:
7.72 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># orthanc-webviewer ># orthanc-webviewer/distinfo ># orthanc-webviewer/files ># orthanc-webviewer/files/patch-Plugin_Cache_CacheManager.h ># orthanc-webviewer/files/patch-Plugin_DecodedImageAdapter.cpp ># orthanc-webviewer/Makefile ># orthanc-webviewer/pkg-descr ># >echo c - orthanc-webviewer >mkdir -p orthanc-webviewer > /dev/null 2>&1 >echo x - orthanc-webviewer/distinfo >sed 's/^X//' >orthanc-webviewer/distinfo << '7377296adad691dbe94c9213513688c0' >XTIMESTAMP = 1588925740 >XSHA256 (orthanc/OrthancWebViewer-2.5.tar.gz) = c2957cf74f4ef8f724c83f613948ca55261c7bc0e6ca65b6f172bcffdbf3c6bf >XSIZE (orthanc/OrthancWebViewer-2.5.tar.gz) = 95425 >XSHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595 >XSIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542 >XSHA256 (orthanc/cornerstone-0.11.0.zip) = 1bada9f1f2981968f72daa352e712abea5cac3e0417fe59176f70a23261f1da9 >XSIZE (orthanc/cornerstone-0.11.0.zip) = 935277 >XSHA256 (orthanc/jquery-ui-1.11.3.zip) = 045b52f293bf4f77c6689569064327495edd9e6434839b78a56299c555130282 >XSIZE (orthanc/jquery-ui-1.11.3.zip) = 400437 >XSHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc1d95bd9af151f2005f >XSIZE (orthanc/pako-0.2.5.zip) = 704378 >XSHA256 (orthanc/js-url-1.8.6.zip) = ef2c7f50921ba64ac434eacf025669f1e6f39b5584100ffa8194a3edc08d43d3 >XSIZE (orthanc/js-url-1.8.6.zip) = 54717 >XSHA256 (orthanc/Orthanc-1.6.1.tar.gz) = 86f6e1a79bc93f082fd5243dd4daaf5a2ea05fcdf515cf35f100829c5fe5c4df >XSIZE (orthanc/Orthanc-1.6.1.tar.gz) = 1633929 >XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc >XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 >7377296adad691dbe94c9213513688c0 >echo c - orthanc-webviewer/files >mkdir -p orthanc-webviewer/files > /dev/null 2>&1 >echo x - orthanc-webviewer/files/patch-Plugin_Cache_CacheManager.h >sed 's/^X//' >orthanc-webviewer/files/patch-Plugin_Cache_CacheManager.h << '0ac8c566d1a7895ce6833301d5b1c974' >X--- Plugin/Cache/CacheManager.h.orig 2019-07-05 16:14:16 UTC >X+++ Plugin/Cache/CacheManager.h >X@@ -39,7 +39,7 @@ namespace OrthancPlugins >X { >X private: >X struct PImpl; >X- boost::shared_ptr<PImpl> pimpl_; >X+ std::shared_ptr<PImpl> pimpl_; >X >X class Bundle; >X class BundleQuota; >0ac8c566d1a7895ce6833301d5b1c974 >echo x - orthanc-webviewer/files/patch-Plugin_DecodedImageAdapter.cpp >sed 's/^X//' >orthanc-webviewer/files/patch-Plugin_DecodedImageAdapter.cpp << '69e9142209ffd2f9a42f320136dafdaa' >X--- Plugin/DecodedImageAdapter.cpp.orig 2019-02-27 16:20:45 UTC >X+++ Plugin/DecodedImageAdapter.cpp >X@@ -364,8 +364,10 @@ namespace OrthancPlugins >X std::string z; >X CompressUsingDeflate(z, image.GetContext(), converted.GetConstBuffer(), converted.GetSize()); >X >X- result["Orthanc"]["PixelData"] = base64_encode(z); >X- >X+ std::string jsonPixelData; >X+ base64_encode(jsonPixelData, z); >X+ result["Orthanc"]["PixelData"] = jsonPixelData; >X+ >X return true; >X } >X >X@@ -484,7 +486,10 @@ namespace OrthancPlugins >X std::string jpeg; >X WriteJpegToMemory(jpeg, image.GetContext(), converted, quality); >X >X- result["Orthanc"]["PixelData"] = base64_encode(jpeg); >X+ std::string jsonPixelData; >X+ base64_encode(jsonPixelData, jpeg); >X+ result["Orthanc"]["PixelData"] = jsonPixelData; >X+ >X return true; >X } >X } >69e9142209ffd2f9a42f320136dafdaa >echo x - orthanc-webviewer/Makefile >sed 's/^X//' >orthanc-webviewer/Makefile << '8497acae439df44051a359bbe9917234' >X# Created by: maintainer.freebsd@xpoundit.com >X# $FreeBSD$ >X >XPORTNAME= orthanc-webviewer >XPORTVERSION= 2.5 >XPORTREVISION= 3 >XCATEGORIES= science >XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ >X http://orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ >X http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \ >X http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty >XDISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ >X jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \ >X cornerstone-0.11.0.zip:thirdpartywebviewer \ >X jquery-ui-1.11.3.zip:thirdpartywebviewer \ >X pako-0.2.5.zip:thirdpartywebviewer \ >X js-url-1.8.6.zip:thirdpartywebviewer \ >X Orthanc-1.6.1.tar.gz:framework \ >X e2fsprogs-1.44.5.tar.gz:thirdparty >XDIST_SUBDIR= orthanc >XEXTRACT_ONLY= OrthancWebViewer-${PORTVERSION}.tar.gz >X >XMAINTAINER= maintainer.freebsd@xpoundit.com >XCOMMENT= Plugin to extend Orthanc with a Web viewer of medical images >X >XLICENSE= AGPLv3 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XBUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc >XLIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ >X libboost_chrono.so:devel/boost-libs \ >X libboost_date_time.so:devel/boost-libs \ >X libboost_filesystem.so:devel/boost-libs \ >X libboost_regex.so:devel/boost-libs \ >X libboost_system.so:devel/boost-libs \ >X libboost_thread.so:devel/boost-libs \ >X libexpat.so:textproc/expat2 \ >X libgdcmCommon.so:devel/gdcm \ >X libgdcmDICT.so:devel/gdcm \ >X libgdcmDSED.so:devel/gdcm \ >X libgdcmIOD.so:devel/gdcm \ >X libgdcmMSFF.so:devel/gdcm \ >X libgdcmcharls.so:devel/gdcm \ >X libgdcmjpeg12.so:devel/gdcm \ >X libgdcmjpeg16.so:devel/gdcm \ >X libgdcmjpeg8.so:devel/gdcm \ >X libgdcmuuid.so:devel/gdcm \ >X libicudata.so:devel/icu \ >X libicui18n.so:devel/icu \ >X libicuuc.so:devel/icu \ >X libjsoncpp.so:devel/jsoncpp \ >X libopenjp2.so:graphics/openjpeg \ >X libsqlite3.so:databases/sqlite3 >X >XUSES= cmake localbase python:build ssl >X >XWRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} >XCMAKE_ARGS= -DUSE_SYSTEM_UUID=OFF \ >X -DORTHANC_FRAMEWORK_SOURCE=path \ >X -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.6.1 >XCFLAGS+= -I${LOCALBASE}/include \ >X -DORTHANC_ENABLE_LOGGING_PLUGIN \ >X -DNDEBUG >XCXXFLAGS+= -DNDEBUG >XUSE_LDCONFIG= yes >XPLIST_FILES= share/orthanc/plugins/libOrthancWebViewer.so \ >X share/orthanc/plugins/libOrthancWebViewer.so.${PORTVERSION} >X >Xpost-extract: >X ${MKDIR} ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads >X >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.6.1.tar.gz ${WRKSRC}/ThirdPartyDownloads >X ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.6.1.tar.gz >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake >X >Xpost-build: >X @cd ${BUILD_WRKSRC} && ./UnitTests >X >X.include <bsd.port.mk> >8497acae439df44051a359bbe9917234 >echo x - orthanc-webviewer/pkg-descr >sed 's/^X//' >orthanc-webviewer/pkg-descr << 'c9360f45dfdcb4a8c4220830d77a9f87' >XOrthanc can be extended by a plugin that brings a Web viewer of medical >Ximages. The Web viewer is based upon the two following projects: >X >XCornerstone (https://github.com/chafey/cornerstone), a client-side JavaScript >Xlibrary to display medical images in Web browsers, by Chris Hafey, and >X >XGDCM (http://sourceforge.net/projects/gdcm/), an open-source implementation >Xof the DICOM standard with advanced features for image decoding, by Mathieu >XMalaterre. >X >XWWW: https://www.orthanc-server.com/static.php?page=web-viewer >c9360f45dfdcb4a8c4220830d77a9f87 >exit >
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 Raw
Actions:
View
Attachments on
bug 242549
:
209834
|
214833
|
215911
|
217276
|
225065
|
225337
|
225593
|
225648
|
225706