FreeBSD Bugzilla – Attachment 157294 Details for
Bug 199146
new port: science/orthanc: DICOM (medical imaging) service for hospitals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shell archive v2
orthanc.shar (text/plain), 21.36 KB, created by
mp39590
on 2015-05-30 21:24:46 UTC
(
hide
)
Description:
shell archive v2
Filename:
MIME Type:
Creator:
mp39590
Created:
2015-05-30 21:24:46 UTC
Size:
21.36 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 ># orthanc/Makefile ># orthanc/pkg-descr ># orthanc/files ># orthanc/files/orthanc.in ># orthanc/files/patch-Resources_Configuration.json ># orthanc/files/patch-Resources_CMake_Compiler.cmake ># orthanc/files/patch-CMakeLists.txt ># orthanc/files/patch-Core_Compression_HierarchicalZipWriter.cpp ># orthanc/files/patch-Core_ImageFormats_ImageProcessing.cpp ># orthanc/files/patch-Core_MultiThreading_Mutex.cpp ># orthanc/files/patch-Core_MultiThreading_ThreadedCommandProcessor.cpp ># orthanc/files/patch-Core_Toolbox.cpp ># orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp ># orthanc/files/patch-Plugins_Engine_PluginsManager.cpp ># orthanc/files/patch-Plugins_Engine_SharedLibrary.cpp ># orthanc/files/patch-Resources_CMake_AutoGeneratedCode.cmake ># orthanc/files/patch-Resources_CMake_BoostConfiguration.cmake ># orthanc/files/patch-Resources_CMake_SQLiteConfiguration.cmake ># orthanc/distinfo ># orthanc/pkg-plist ># >echo c - orthanc >mkdir -p orthanc > /dev/null 2>&1 >echo x - orthanc/Makefile >sed 's/^X//' >orthanc/Makefile << 'bf1a1e0ee6e4db7a3b78b6b48849190d' >X# Created by: mp39590@gmail.com >X# $FreeBSD$ >X >XPORTNAME= orthanc >XPORTVERSION= 0.8.6 >XCATEGORIES= science graphics net >XMASTER_SITES= SF/orthancserver/:main \ >X http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose >XDISTFILES= Orthanc-${PORTVERSION}.tar.gz:main \ >X mongoose-3.8.tgz:mongoose >XDIST_SUBDIR= ${PORTNAME} >X >XMAINTAINER= mp39590@gmail.com >XCOMMENT= RESTful DICOM server for healthcare and medical research >X >XLICENSE= GPLv3 >X >XLIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ >X libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \ >X libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ >X libglog.so:${PORTSDIR}/devel/glog \ >X libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ >X libdcmimage.so:${PORTSDIR}/devel/dcmtk \ >X libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ >X libpugixml.so:${PORTSDIR}/textproc/pugixml >X >XCMAKE_ARGS= -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ >X -DDCMTK_DICTIONARY_DIR="${LOCALBASE}/share/dcmtk" \ >X -DUSE_SYSTEM_MONGOOSE=OFF \ >X -DBUILD_UNIT_TESTS=OFF >X >XUSES= cmake:outsource python:build lua:51 dos2unix >XDOS2UNIX_FILES= CMakeLists.txt >XCFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/jsoncpp >XLDFLAGS+= -L${LOCALBASE}/lib >XUSE_LDCONFIG= yes >XUSE_OPENSSL= yes >XUSE_RC_SUBR= orthanc >XWRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} >XUSERS= orthanc >XGROUPS= orthanc >X >X# This is mongoose sources, downloaded from Orthanc author homepage. Orthanc >X# requires mongoose webserver, but after version 3.8, mongoose developers has >X# changed the license from MIT to GPLv2 only. This action made illegal to >X# combine new mongoose versions with GPLv3 only Orthanc. >X# We download sources manually and pass USE_SYSTEM_MONGOOSE=OFF to Orthanc >X# cmake variables to tell that mongoose is not presented on the host OS and >X# should be build together with the software instead. >X# https://www.mail-archive.com/mongoose-users@googlegroups.com/msg00625.html >Xpost-extract: >X ${MKDIR} ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads >X >Xpost-install: >X ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 >X ${MKDIR} ${STAGEDIR}${DATADIR}/plugins >X ${MKDIR} ${STAGEDIR}${ETCDIR} >X ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ >X ${WRKSRC}/Resources/Configuration.json > ${STAGEDIR}${ETCDIR}/orthanc.json.sample >X >X.include <bsd.port.mk> >bf1a1e0ee6e4db7a3b78b6b48849190d >echo x - orthanc/pkg-descr >sed 's/^X//' >orthanc/pkg-descr << '032a5e628b4bf82a0ccfdb5e40185fd1' >XOrthanc aims at providing a simple, yet powerful standalone DICOM >Xserver. It is designed to improve the DICOM flows in hospitals and to >Xsupport research about the automated analysis of medical images. >X >XOrthanc can turn any computer running Windows, Linux, FreeBSD or OS X >Xinto a DICOM store (in other words, a mini-PACS system). Its >Xarchitecture is lightweight and standalone, meaning that no complex >Xdatabase administration is required, nor the installation of third-party >Xdependencies. >X >XWhat makes Orthanc unique is the fact that it provides a RESTful API. >XThanks to this major feature, it is possible to drive Orthanc from any >Xcomputer language. The DICOM tags of the stored medical images can be >Xdownloaded in the JSON file format. Furthermore, standard PNG images can >Xbe generated on-the-fly from the DICOM instances by Orthanc. >X >XOrthanc lets its users focus on the content of the DICOM files, hiding >Xthe complexity of the DICOM format and of the DICOM protocol. >X >XWWW: http://www.orthanc-server.com/ >032a5e628b4bf82a0ccfdb5e40185fd1 >echo c - orthanc/files >mkdir -p orthanc/files > /dev/null 2>&1 >echo x - orthanc/files/orthanc.in >sed 's/^X//' >orthanc/files/orthanc.in << '542f8b85dde137c99eef239bb81f6c33' >X#!/bin/sh >X >X# $FreeBSD$ >X# >X# PROVIDE: orthanc >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# orthanc_enable (bool): Set to NO by default. >X# Set it to YES to enable Orthanc. >X# orthanc_flags (str): Set to %%ETCDIR%%/orthanc.json >X# by default. >X >X. /etc/rc.subr >X >Xname=orthanc >Xrcvar=orthanc_enable >Xdesc="RESTful DICOM server for healthcare and medical research" >X >Xload_rc_config $name >X >X: ${orthanc_enable:=NO} >X: ${orthanc_flags="%%ETCDIR%%/orthanc.json"} >X >Xstart_precmd=orthanc_prestart >Xpidfile=/var/run/orthanc.pid >Xprocname=%%PREFIX%%/sbin/Orthanc >Xcommand=/usr/sbin/daemon >Xcommand_args=" -f -p ${pidfile} -u orthanc ${procname} ${orthanc_flags}" >X >Xorthanc_prestart() >X{ >X # Have to empty rc_flags so they don't get passed to daemon(8) >X rc_flags="" >X} >X >Xrun_rc_command "$1" >542f8b85dde137c99eef239bb81f6c33 >echo x - orthanc/files/patch-Resources_Configuration.json >sed 's/^X//' >orthanc/files/patch-Resources_Configuration.json << '386dabba8d1f60f59f2dacbedd21e854' >X--- Resources/Configuration.json.orig 2015-02-12 13:47:38 UTC >X+++ Resources/Configuration.json >X@@ -9,12 +9,12 @@ >X >X // Path to the directory that holds the heavyweight files >X // (i.e. the raw DICOM instances) >X- "StorageDirectory" : "OrthancStorage", >X+ "StorageDirectory" : "/var/db/orthanc/db-v5", >X >X // Path to the directory that holds the SQLite index (if unset, >X // the value of StorageDirectory is used). This index could be >X // stored on a RAM-drive or a SSD device for performance reasons. >X- "IndexDirectory" : "OrthancStorage", >X+ "IndexDirectory" : "/var/db/orthanc/db-v5", >X >X // Enable the transparent compression of the DICOM instances >X "StorageCompression" : false, >X@@ -39,6 +39,7 @@ >X // folders, in which case they will be scanned non-recursively to >X // find shared libraries. >X "Plugins" : [ >X+ "%%PREFIX%%/share/orthanc/plugins/" >X ], >X >X >386dabba8d1f60f59f2dacbedd21e854 >echo x - orthanc/files/patch-Resources_CMake_Compiler.cmake >sed 's/^X//' >orthanc/files/patch-Resources_CMake_Compiler.cmake << '5c698f0223f1544aeca0b078c08be4cb' >X--- Resources/CMake/Compiler.cmake.orig 2015-02-12 13:47:38 UTC >X+++ Resources/CMake/Compiler.cmake >X@@ -4,7 +4,8 @@ if (${CMAKE_COMPILER_IS_GNUCXX}) >X set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-long-long -Wno-implicit-function-declaration") >X # --std=c99 makes libcurl not to compile >X # -pedantic gives a lot of warnings on OpenSSL >X- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wno-long-long -Wno-variadic-macros") >X+ # with -pedantic we failing to build headers from boost, which have comma at the end of enum's >X+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -Wno-variadic-macros") >X >X if (CMAKE_CROSSCOMPILING) >X # http://stackoverflow.com/a/3543845/881731 >X@@ -79,6 +80,8 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "D >X ) >X link_libraries(iconv) >X >X+elseif (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") >X+ link_libraries(uuid pthread) >X endif() >X >X >5c698f0223f1544aeca0b078c08be4cb >echo x - orthanc/files/patch-CMakeLists.txt >sed 's/^X//' >orthanc/files/patch-CMakeLists.txt << '569a43c1e3e0c4fbd905ea19cc72ac75' >X--- CMakeLists.txt.orig 2015-02-12 13:47:38 UTC >X+++ CMakeLists.txt >X@@ -20,6 +20,7 @@ SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allo >X SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") >X SET(ENABLE_JPEG ON CACHE BOOL "Enable JPEG decompression") >X SET(ENABLE_JPEG_LOSSLESS ON CACHE BOOL "Enable JPEG-LS (Lossless) decompression") >X+SET(BUILD_UNIT_TESTS ON CACHE BOOL "Build UnitTests binary") >X >X # Advanced parameters to fine-tune linking against system libraries >X SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") >X@@ -359,22 +360,24 @@ install( >X ## Build the unit tests >X ##################################################################### >X >X-if (UNIT_TESTS_WITH_HTTP_CONNEXIONS) >X- add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=1) >X-else() >X- add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0) >X-endif() >X- >X-add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1) >X-include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) >X-add_executable(UnitTests >X- ${GTEST_SOURCES} >X- ${ORTHANC_UNIT_TESTS_SOURCES} >X- ) >X-target_link_libraries(UnitTests ServerLibrary CoreLibrary ${STATIC_LUA} ${STATIC_GOOGLE_LOG}) >X- >X-if (${OPENSSL_SOURCES_LENGTH} GREATER 0) >X- target_link_libraries(UnitTests OpenSSL) >X+if (BUILD_UNIT_TESTS) >X+ if (UNIT_TESTS_WITH_HTTP_CONNEXIONS) >X+ add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=1) >X+ else() >X+ add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0) >X+ endif() >X+ >X+ add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1) >X+ include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) >X+ add_executable(UnitTests >X+ ${GTEST_SOURCES} >X+ ${ORTHANC_UNIT_TESTS_SOURCES} >X+ ) >X+ target_link_libraries(UnitTests ServerLibrary CoreLibrary ${STATIC_LUA} ${STATIC_GOOGLE_LOG}) >X+ >X+ if (${OPENSSL_SOURCES_LENGTH} GREATER 0) >X+ target_link_libraries(UnitTests OpenSSL) >X+ endif() >X endif() >X >X >X@@ -443,7 +446,8 @@ if (BUILD_CLIENT_LIBRARY) >X ) >X endif() >X >X- elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") >X+ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR >X+ ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") >X # TODO >X target_link_libraries(OrthancClient pthread) >X >569a43c1e3e0c4fbd905ea19cc72ac75 >echo x - orthanc/files/patch-Core_Compression_HierarchicalZipWriter.cpp >sed 's/^X//' >orthanc/files/patch-Core_Compression_HierarchicalZipWriter.cpp << 'a8885521f883268d86247e5a4e50c487' >X--- Core/Compression/HierarchicalZipWriter.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Core/Compression/HierarchicalZipWriter.cpp >X@@ -53,7 +53,7 @@ namespace Orthanc >X if (c == '^') >X c = ' '; >X >X- if (c < 128 && >X+ if (c <= 127 && >X c >= 0) >X { >X if (isspace(c)) >a8885521f883268d86247e5a4e50c487 >echo x - orthanc/files/patch-Core_ImageFormats_ImageProcessing.cpp >sed 's/^X//' >orthanc/files/patch-Core_ImageFormats_ImageProcessing.cpp << '2c9362a281ee3337d92a28dc9005a9d8' >X--- Core/ImageFormats/ImageProcessing.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Core/ImageFormats/ImageProcessing.cpp >X@@ -209,7 +209,7 @@ namespace Orthanc >X void MultiplyConstantInternal(ImageAccessor& image, >X float factor) >X { >X- if (abs(factor - 1.0f) <= std::numeric_limits<float>::epsilon()) >X+ if (std::abs(factor - 1.0f) <= std::numeric_limits<float>::epsilon()) >X { >X return; >X } >2c9362a281ee3337d92a28dc9005a9d8 >echo x - orthanc/files/patch-Core_MultiThreading_Mutex.cpp >sed 's/^X//' >orthanc/files/patch-Core_MultiThreading_Mutex.cpp << 'baf8571de41974730d7269b550140509' >X--- Core/MultiThreading/Mutex.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Core/MultiThreading/Mutex.cpp >X@@ -37,7 +37,7 @@ >X >X #if defined(_WIN32) >X #include <windows.h> >X-#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__) >X+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__FreeBSD__) >X #include <pthread.h> >X #else >X #error Support your platform here >X@@ -75,7 +75,7 @@ namespace Orthanc >X } >X >X >X-#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__) >X+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__FreeBSD__) >X >X struct Mutex::PImpl >X { >baf8571de41974730d7269b550140509 >echo x - orthanc/files/patch-Core_MultiThreading_ThreadedCommandProcessor.cpp >sed 's/^X//' >orthanc/files/patch-Core_MultiThreading_ThreadedCommandProcessor.cpp << '746950a562eee8f866ab57abb87204b5' >X--- Core/MultiThreading/ThreadedCommandProcessor.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Core/MultiThreading/ThreadedCommandProcessor.cpp >X@@ -175,7 +175,7 @@ namespace Orthanc >X { >X boost::mutex::scoped_lock lock(mutex_); >X >X- while (!remainingCommands_ == 0) >X+ while (remainingCommands_ != 0) >X { >X processedCommand_.wait(lock); >X } >746950a562eee8f866ab57abb87204b5 >echo x - orthanc/files/patch-Core_Toolbox.cpp >sed 's/^X//' >orthanc/files/patch-Core_Toolbox.cpp << 'ebb48057e551f1d01c556d0d24a20f04' >X--- Core/Toolbox.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Core/Toolbox.cpp >X@@ -59,7 +59,7 @@ >X #include <limits.h> /* PATH_MAX */ >X #endif >X >X-#if defined(__linux) || defined(__FreeBSD_kernel__) >X+#if defined(__linux) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X #include <limits.h> /* PATH_MAX */ >X #include <signal.h> >X #include <unistd.h> >X@@ -116,7 +116,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 >X@@ -503,7 +503,7 @@ namespace Orthanc >X return std::string(&buffer[0]); >X } >X >X-#elif defined(__linux) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X static std::string GetPathToExecutableInternal() >X { >X std::vector<char> buffer(PATH_MAX + 1); >X@@ -633,7 +633,7 @@ namespace Orthanc >X result.reserve(source.size() + 1); >X for (size_t i = 0; i < source.size(); i++) >X { >X- if (source[i] < 128 && source[i] >= 0 && !iscntrl(source[i])) >X+ if (source[i] <= 127 && source[i] >= 0 && !iscntrl(source[i])) >X { >X result.push_back(source[i]); >X } >ebb48057e551f1d01c556d0d24a20f04 >echo x - orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp >sed 's/^X//' >orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp << 'b8e961c381bf40912d631a427da65a45' >X--- OrthancServer/Internals/StoreScp.cpp.orig 2015-02-12 13:47:38 UTC >X+++ OrthancServer/Internals/StoreScp.cpp >X@@ -182,7 +182,7 @@ namespace Orthanc >X >X // check the image to make sure it is consistent, i.e. that its sopClass and sopInstance correspond >X // to those mentioned in the request. If not, set the status in the response message variable. >X- if ((rsp->DimseStatus == STATUS_Success)) >X+ if (rsp->DimseStatus == STATUS_Success) >X { >X // which SOP class and SOP instance ? >X if (!DU_findSOPClassAndInstanceInDataSet(*imageDataSet, sopClass, sopInstance, /*opt_correctUIDPadding*/ OFFalse)) >b8e961c381bf40912d631a427da65a45 >echo x - orthanc/files/patch-Plugins_Engine_PluginsManager.cpp >sed 's/^X//' >orthanc/files/patch-Plugins_Engine_PluginsManager.cpp << '004dca872e6ec6a8e274efb175dc36ec' >X--- Plugins/Engine/PluginsManager.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Plugins/Engine/PluginsManager.cpp >X@@ -42,7 +42,7 @@ >X >X #ifdef WIN32 >X #define PLUGIN_EXTENSION ".dll" >X-#elif defined(__linux) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X #define PLUGIN_EXTENSION ".so" >X #elif defined(__APPLE__) && defined(__MACH__) >X #define PLUGIN_EXTENSION ".dylib" >004dca872e6ec6a8e274efb175dc36ec >echo x - orthanc/files/patch-Plugins_Engine_SharedLibrary.cpp >sed 's/^X//' >orthanc/files/patch-Plugins_Engine_SharedLibrary.cpp << '4585dc0865535bf30c64054890bc0b70' >X--- Plugins/Engine/SharedLibrary.cpp.orig 2015-02-12 13:47:38 UTC >X+++ Plugins/Engine/SharedLibrary.cpp >X@@ -36,7 +36,7 @@ >X >X #if defined(_WIN32) >X #include <windows.h> >X-#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X #include <dlfcn.h> >X #else >X #error Support your platform here >X@@ -58,7 +58,7 @@ namespace Orthanc >X throw OrthancException(ErrorCode_SharedLibrary); >X } >X >X-#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X handle_ = ::dlopen(path.c_str(), RTLD_NOW); >X if (handle_ == NULL) >X { >X@@ -84,7 +84,7 @@ namespace Orthanc >X { >X #if defined(_WIN32) >X ::FreeLibrary((HMODULE)handle_); >X-#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X ::dlclose(handle_); >X #else >X #error Support your platform here >X@@ -102,7 +102,7 @@ namespace Orthanc >X >X #if defined(_WIN32) >X return ::GetProcAddress((HMODULE)handle_, name.c_str()); >X-#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) >X+#elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) >X return ::dlsym(handle_, name.c_str()); >X #else >X #error Support your platform here >4585dc0865535bf30c64054890bc0b70 >echo x - orthanc/files/patch-Resources_CMake_AutoGeneratedCode.cmake >sed 's/^X//' >orthanc/files/patch-Resources_CMake_AutoGeneratedCode.cmake << '644d276c618d830c4b631220671efbb5' >X--- Resources/CMake/AutoGeneratedCode.cmake.orig 2015-02-12 13:47:38 UTC >X+++ Resources/CMake/AutoGeneratedCode.cmake >X@@ -3,6 +3,7 @@ set(AUTOGENERATED_SOURCES) >X >X file(MAKE_DIRECTORY ${AUTOGENERATED_DIR}) >X include_directories(${AUTOGENERATED_DIR}) >X+include(FindPythonInterp) >X >X macro(EmbedResources) >X # Convert a semicolon separated list to a whitespace separated string >X@@ -26,7 +27,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} >644d276c618d830c4b631220671efbb5 >echo x - orthanc/files/patch-Resources_CMake_BoostConfiguration.cmake >sed 's/^X//' >orthanc/files/patch-Resources_CMake_BoostConfiguration.cmake << '9a02828f6b333410f92a182516ff85a7' >X--- Resources/CMake/BoostConfiguration.cmake.orig 2015-02-12 13:47:38 UTC >X+++ Resources/CMake/BoostConfiguration.cmake >X@@ -56,6 +56,7 @@ if (BOOST_STATIC) >X >X if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR >X ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR >X+ ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR >X ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") >X list(APPEND BOOST_SOURCES >X ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp >9a02828f6b333410f92a182516ff85a7 >echo x - orthanc/files/patch-Resources_CMake_SQLiteConfiguration.cmake >sed 's/^X//' >orthanc/files/patch-Resources_CMake_SQLiteConfiguration.cmake << '6afd0da73e285fed045bbeabc192e94c' >X--- Resources/CMake/SQLiteConfiguration.cmake.orig 2015-02-12 13:47:38 UTC >X+++ Resources/CMake/SQLiteConfiguration.cmake >X@@ -28,8 +28,11 @@ else() >X message(FATAL_ERROR "Please install the libsqlite3-dev package") >X endif() >X >X+ find_path(SQLITE_INCLUDE_DIR sqlite3.h) >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}") >6afd0da73e285fed045bbeabc192e94c >echo x - orthanc/distinfo >sed 's/^X//' >orthanc/distinfo << '5841c696afd33aad8b05426dbef4f5ab' >XSHA256 (orthanc/Orthanc-0.8.6.tar.gz) = 0668e23dbdf4aa12bf417cf22bfb7b50379797fc6b1132a582789289d1728e69 >XSIZE (orthanc/Orthanc-0.8.6.tar.gz) = 716036 >XSHA256 (orthanc/mongoose-3.8.tgz) = 6afc2c377614a01a24b78560a62d1316b29372afe08eae3715b56c877be71c6e >XSIZE (orthanc/mongoose-3.8.tgz) = 1577314 >5841c696afd33aad8b05426dbef4f5ab >echo x - orthanc/pkg-plist >sed 's/^X//' >orthanc/pkg-plist << 'f55fa2a6da50a58c71d054925b57ab3b' >X@dir(orthanc,orthanc,700) %%DATADIR%%/plugins >X@dir(orthanc,orthanc,700) /var/db/orthanc/db/db-v5 >X@dir(orthanc,orthanc,700) /var/db/orthanc/db >X@dir(orthanc,orthanc,700) /var/db/orthanc >X@sample(orthanc,orthanc,600) %%ETCDIR%%/orthanc.json.sample >Xinclude/orthanc/OrthancCDatabasePlugin.h >Xinclude/orthanc/OrthancCPlugin.h >Xinclude/orthanc/OrthancCppClient.h >Xinclude/orthanc/OrthancCppDatabasePlugin.h >Xlib/libOrthancClient.so >Xlib/libOrthancClient.so.0.8 >Xsbin/Orthanc >f55fa2a6da50a58c71d054925b57ab3b >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 199146
:
155156
|
155157
|
155158
| 157294