FreeBSD Bugzilla – Attachment 157987 Details for
Bug 201049
[NEW PORT] science/orthanc-webviewer: plugin for serial view of medical images in Orthanc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shell archive
orthanc-webviewer.shar (text/plain), 11.49 KB, created by
mp39590
on 2015-06-22 18:40:06 UTC
(
hide
)
Description:
shell archive
Filename:
MIME Type:
Creator:
mp39590
Created:
2015-06-22 18:40:06 UTC
Size:
11.49 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/Makefile ># orthanc-webviewer/pkg-descr ># orthanc-webviewer/distinfo ># orthanc-webviewer/files ># orthanc-webviewer/files/patch-Orthanc_SQLite_FunctionContext.cpp ># orthanc-webviewer/files/patch-Orthanc_Toolbox.cpp ># orthanc-webviewer/files/patch-Plugin_ParsedDicomImage.cpp ># orthanc-webviewer/files/patch-Resources_CMake_JavaScriptLibraries.cmake ># orthanc-webviewer/files/patch-Resources_CMake_SQLiteConfiguration.cmake ># orthanc-webviewer/files/patch-CMakeLists.txt ># orthanc-webviewer/files/patch-Resources_CMake_AutoGeneratedCode.cmake ># orthanc-webviewer/files/patch-Resources_CMake_JsonCppConfiguration.cmake ># orthanc-webviewer/files/patch-Orthanc_SQLite_StatementReference.cpp ># >echo c - orthanc-webviewer >mkdir -p orthanc-webviewer > /dev/null 2>&1 >echo x - orthanc-webviewer/Makefile >sed 's/^X//' >orthanc-webviewer/Makefile << '8497acae439df44051a359bbe9917234' >X# Created by: mp39590@gmail.com >X# $FreeBSD$ >X >XPORTNAME= orthanc-webviewer >XPORTVERSION= 1.0 >XCATEGORIES= science graphics >XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ >X http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/WebViewer/:thirdparty >XDISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ >X jsPanel-2.3.3-fixed.zip:thirdparty \ >X cornerstone-0.7.1.zip:thirdparty \ >X jquery-ui-1.11.3.zip:thirdparty \ >X pako-0.2.5.zip:thirdparty \ >X js-url-1.8.6.zip:thirdparty >XDIST_SUBDIR= orthanc >X >XMAINTAINER= mp39590@gmail.com >XCOMMENT= Web viewer plugin for Orthanc >X >XLICENSE= AGPLv3 >X >XBUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:${PORTSDIR}/science/orthanc \ >X gtest-config:${PORTSDIR}/devel/googletest >XLIB_DEPENDS= libgdcmCommon.so:${PORTSDIR}/devel/gdcm \ >X libboost_system.so:${PORTSDIR}/devel/boost-libs \ >X libboost_thread.so:${PORTSDIR}/devel/boost-libs \ >X libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ >X libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \ >X libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ >X libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid >X >XCXXFLAGS+= -I${LOCALBASE}/include >XLDFLAGS+= -L${LOCALBASE}/lib >X >XUSES= cmake:outsource python:build >XWRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} >X >XPLIST_FILES= share/orthanc/plugins/libOrthancWebViewer.so \ >X share/orthanc/plugins/libOrthancWebViewer.so.1.0 >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.7.1.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 # Orthanc hardcodes /usr/local paths for libs and includes. >X ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/SQLiteConfiguration.cmake >X ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/JsonCppConfiguration.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' >XWeb viewer plugin allows easy serial view of medical images stored in >XOrthanc server in a browser, using HTML5 technology. >XDemo: http://youtu.be/ub5IxlVqoOE >X >XThe plugin can't be used for diagnostic purposes. >X >XWWW: http://www.orthanc-server.com/ >c9360f45dfdcb4a8c4220830d77a9f87 >echo x - orthanc-webviewer/distinfo >sed 's/^X//' >orthanc-webviewer/distinfo << '7377296adad691dbe94c9213513688c0' >XSHA256 (orthanc/OrthancWebViewer-1.0.tar.gz) = b8ebef7211dd4c483e5af81b84b3f06d0c9c943f94aebb8143e3b2f00cb4358d >XSIZE (orthanc/OrthancWebViewer-1.0.tar.gz) = 100054 >XSHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595 >XSIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542 >XSHA256 (orthanc/cornerstone-0.7.1.zip) = 2133390dda5b9444b6535bb78163a493a2f0a2a6929d5cbc082034c9b1eb36a9 >XSIZE (orthanc/cornerstone-0.7.1.zip) = 603973 >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 >7377296adad691dbe94c9213513688c0 >echo c - orthanc-webviewer/files >mkdir -p orthanc-webviewer/files > /dev/null 2>&1 >echo x - orthanc-webviewer/files/patch-Orthanc_SQLite_FunctionContext.cpp >sed 's/^X//' >orthanc-webviewer/files/patch-Orthanc_SQLite_FunctionContext.cpp << 'c0219a27e7b9265994808fdcc8e092f4' >X--- Orthanc/SQLite/FunctionContext.cpp.orig 2015-02-27 11:59:40 UTC >X+++ Orthanc/SQLite/FunctionContext.cpp >X@@ -40,6 +40,7 @@ >X #include "OrthancSQLiteException.h" >X >X #include <sqlite3.h> >X+#include <string> >X >X namespace Orthanc >X { >c0219a27e7b9265994808fdcc8e092f4 >echo x - orthanc-webviewer/files/patch-Orthanc_Toolbox.cpp >sed 's/^X//' >orthanc-webviewer/files/patch-Orthanc_Toolbox.cpp << 'db5322f4d2589a4f900d2c4b2bf4ac77' >X--- Orthanc/Toolbox.cpp.orig 2015-02-27 11:59:40 UTC >X+++ Orthanc/Toolbox.cpp >X@@ -183,7 +183,7 @@ namespace Orthanc >X { >X #if defined(_WIN32) >X ::Sleep(static_cast<DWORD>(microSeconds / static_cast<uint64_t>(1000))); >X-#elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X usleep(microSeconds); >X #else >X #error Support your platform here >db5322f4d2589a4f900d2c4b2bf4ac77 >echo x - orthanc-webviewer/files/patch-Plugin_ParsedDicomImage.cpp >sed 's/^X//' >orthanc-webviewer/files/patch-Plugin_ParsedDicomImage.cpp << '5a29636651627939a3f11d9703a80df0' >X--- Plugin/ParsedDicomImage.cpp.orig 2015-02-27 11:59:40 UTC >X+++ Plugin/ParsedDicomImage.cpp >X@@ -244,6 +244,9 @@ namespace OrthancPlugins >X case gdcm::PixelFormat::UINT8: >X accessor.AssignWritable(Orthanc::PixelFormat_Grayscale8, width, height, width, buffer); >X return true; >X+ >X+ default: >X+ return false; >X } >X } >X else if (image.GetPixelFormat().GetSamplesPerPixel() == 3 && >X@@ -254,6 +257,9 @@ namespace OrthancPlugins >X case gdcm::PixelFormat::UINT8: >X accessor.AssignWritable(Orthanc::PixelFormat_RGB24, width, height, 3 * width, buffer); >X return true; >X+ >X+ default: >X+ return false; >X } >X } >X >5a29636651627939a3f11d9703a80df0 >echo x - orthanc-webviewer/files/patch-Resources_CMake_JavaScriptLibraries.cmake >sed 's/^X//' >orthanc-webviewer/files/patch-Resources_CMake_JavaScriptLibraries.cmake << '9016e421f12ea011f686227b3b7fae34' >X--- Resources/CMake/JavaScriptLibraries.cmake.orig 2015-02-27 11:59:40 UTC >X+++ Resources/CMake/JavaScriptLibraries.cmake >X@@ -29,8 +29,8 @@ DownloadPackage( >X "jquery-ui-1.11.3") >X >X DownloadPackage( >X- "8f27231a78218b959159e37daa3d86b3" >X- "${BASE_URL}/jsPanel-2.3.3.zip" >X+ "169c56338f9ff812cae3e91ef72bda2e" >X+ "${BASE_URL}/jsPanel-2.3.3-fixed.zip" >X "jspanel") >X >X DownloadPackage( >9016e421f12ea011f686227b3b7fae34 >echo x - orthanc-webviewer/files/patch-Resources_CMake_SQLiteConfiguration.cmake >sed 's/^X//' >orthanc-webviewer/files/patch-Resources_CMake_SQLiteConfiguration.cmake << 'f2cd6eb363f4017c27c559def82c65ea' >X--- Resources/CMake/SQLiteConfiguration.cmake.orig 2015-02-27 11:59:40 UTC >X+++ Resources/CMake/SQLiteConfiguration.cmake >X@@ -46,8 +46,14 @@ else() >X message(FATAL_ERROR "Please install the libsqlite3-dev package") >X endif() >X >X+ find_path(SQLITE_INCLUDE_DIR sqlite3.h >X+ /usr/include >X+ /usr/local/include >X+ ) >X+ message("SQLite include dir: ${SQLITE_INCLUDE_DIR}") >X+ >X # Autodetection of the version of SQLite >X- file(STRINGS "/usr/include/sqlite3.h" SQLITE_VERSION_NUMBER1 REGEX "#define SQLITE_VERSION_NUMBER.*$") >X+ file(STRINGS "${SQLITE_INCLUDE_DIR}/sqlite3.h" SQLITE_VERSION_NUMBER1 REGEX "#define SQLITE_VERSION_NUMBER.*$") >X string(REGEX REPLACE "#define SQLITE_VERSION_NUMBER(.*)$" "\\1" SQLITE_VERSION_NUMBER ${SQLITE_VERSION_NUMBER1}) >X >X message("Detected version of SQLite: ${SQLITE_VERSION_NUMBER}") >f2cd6eb363f4017c27c559def82c65ea >echo x - orthanc-webviewer/files/patch-CMakeLists.txt >sed 's/^X//' >orthanc-webviewer/files/patch-CMakeLists.txt << '04429785d9799b2034b07f6c12da5bb7' >X--- CMakeLists.txt.orig 2015-02-27 11:59:40 UTC >X+++ CMakeLists.txt >X@@ -58,6 +58,10 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "W >X SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++") >X SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -static-libgcc -static-libstdc++") >X endif() >X+elseif (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") >X+ SET(OS_LIBRARIES uuid) >X+ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread") >X+ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pthread") >X endif () >X >X if (CMAKE_COMPILER_IS_GNUCXX) >X@@ -68,6 +72,7 @@ endif() >X include(CheckIncludeFiles) >X include(CheckIncludeFileCXX) >X include(CheckLibraryExists) >X+include(FindPythonInterp) >X include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake) >X include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake) >X >04429785d9799b2034b07f6c12da5bb7 >echo x - orthanc-webviewer/files/patch-Resources_CMake_AutoGeneratedCode.cmake >sed 's/^X//' >orthanc-webviewer/files/patch-Resources_CMake_AutoGeneratedCode.cmake << '8310be9f859823c0646c5256906b6e5e' >X--- Resources/CMake/AutoGeneratedCode.cmake.orig 2015-02-27 11:59:40 UTC >X+++ Resources/CMake/AutoGeneratedCode.cmake >X@@ -44,7 +44,7 @@ macro(EmbedResources) >X "${TARGET_BASE}.h" >X "${TARGET_BASE}.cpp" >X COMMAND >X- python >X+ ${PYTHON_EXECUTABLE} >X "${CMAKE_CURRENT_SOURCE_DIR}/Resources/EmbedResources.py" >X "${AUTOGENERATED_DIR}/EmbeddedResources" >X ${SCRIPT_ARGUMENTS} >8310be9f859823c0646c5256906b6e5e >echo x - orthanc-webviewer/files/patch-Resources_CMake_JsonCppConfiguration.cmake >sed 's/^X//' >orthanc-webviewer/files/patch-Resources_CMake_JsonCppConfiguration.cmake << 'b096328df972c2fe6ced288bbfb80a80' >X--- Resources/CMake/JsonCppConfiguration.cmake.orig 2015-02-27 11:59:40 UTC >X+++ Resources/CMake/JsonCppConfiguration.cmake >X@@ -41,7 +41,13 @@ else() >X message(FATAL_ERROR "Please install the libjsoncpp-dev package") >X endif() >X >X- include_directories(/usr/include/jsoncpp) >X+ find_path(JSONCPP_INCLUDE_DIR json/reader.h >X+ /usr/include/jsoncpp >X+ /usr/local/include/jsoncpp >X+ ) >X+ >X+ message("JsonCpp include dir: ${JSONCPP_INCLUDE_DIR}") >X+ include_directories(${JSONCPP_INCLUDE_DIR}) >X link_libraries(jsoncpp) >X >X endif() >b096328df972c2fe6ced288bbfb80a80 >echo x - orthanc-webviewer/files/patch-Orthanc_SQLite_StatementReference.cpp >sed 's/^X//' >orthanc-webviewer/files/patch-Orthanc_SQLite_StatementReference.cpp << 'd45b5a45e95ce52995513013560bd58c' >X--- Orthanc/SQLite/StatementReference.cpp.orig 2015-06-21 23:21:55 UTC >X+++ Orthanc/SQLite/StatementReference.cpp >X@@ -47,6 +47,7 @@ >X #endif >X >X #include <cassert> >X+#include <string> >X #include "sqlite3.h" >X >X namespace Orthanc >d45b5a45e95ce52995513013560bd58c >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 201049
:
157987
|
157988
|
158937
|
158938