}
}
+version_4_5_0 :
+{
+ patches: ['URANIE-4.5.0.patch']
+}
--- /dev/null
+diff -rupN URANIE_ref/CmakePackage/FindCPPUNIT.cmake URANIE_new/CmakePackage/FindCPPUNIT.cmake
+--- URANIE_ref/CmakePackage/FindCPPUNIT.cmake 2020-11-30 12:46:24.000000000 +0100
++++ URANIE_new/CmakePackage/FindCPPUNIT.cmake 2021-04-01 09:38:51.077522950 +0200
+@@ -3,11 +3,16 @@
+ # It tries to find the club-config script which gives you all the needed information.
+
+ MESSAGE(STATUS "Looking for CPPUNIT...")
++SET(CPPUNIT_ROOT_DIR $ENV{CPPUNIT_ROOT_DIR} CACHE PATH "PATH TO CPPUNIT.")
+ SET(CPPUNIT_LIB)
+ SET(CPPUNIT_VERSION)
+ SET(CPPUNIT_INCLUDE_DIR)
+ SET(CPPUNIT_LIBRARY_DIR)
+
++IF(CPPUNIT_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${CPPUNIT_ROOT_DIR}")
++ENDIF(CPPUNIT_ROOT_DIR)
++
+ if(CMAKE_VERBOSE_MAKEFILE STREQUAL "ON")
+ message(STATUS " **** PKG_CONFIG_FOUND [${PKG_CONFIG_FOUND}]")
+ message(STATUS " **** PKG_CONFIG_EXECUTABLE [${PKG_CONFIG_EXECUTABLE}]")
+
+diff -rupN URANIE_ref/CmakePackage/UranieFindAllPackages.cmake URANIE_new/CmakePackage/UranieFindAllPackages.cmake
+--- URANIE_ref/CmakePackage/UranieFindAllPackages.cmake 2020-11-30 12:46:24.000000000 +0100
++++ URANIE_new/CmakePackage/UranieFindAllPackages.cmake 2021-04-01 09:37:11.801519322 +0200
+@@ -99,6 +99,10 @@ if(--disable-libxml2 STREQUAL "ON")
+ message(STATUS "Libxml2 is disabled")
+ else(--disable-libxml2 STREQUAL "ON")
+ message(STATUS "Looking for LibXml2...")
++ SET(LIBXML2_ROOT_DIR $ENV{LIBXML2_ROOT_DIR} CACHE PATH "Path to the LIBXML2.")
++ IF(LIBXML2_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${LIBXML2_ROOT_DIR}")
++ ENDIF(LIBXML2_ROOT_DIR)
+ find_path(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h
+ PATHS ENV PATH
+ PATH_SUFFIXES ../include)
--- /dev/null
+diff -rupN root_ref/cmake/modules/SearchInstalledSoftware.cmake root_new/cmake/modules/SearchInstalledSoftware.cmake
+--- root_ref/cmake/modules/SearchInstalledSoftware.cmake 2020-08-17 14:41:56.000000000 +0200
++++ root_new/cmake/modules/SearchInstalledSoftware.cmake 2021-04-01 13:22:21.914013106 +0200
+@@ -82,6 +82,10 @@ endif()
+ #---Check for Freetype---------------------------------------------------------------
+ if(NOT builtin_freetype)
+ message(STATUS "Looking for Freetype")
++ SET(FREETYPE_ROOT_DIR $ENV{FREETYPE_ROOT_DIR} CACHE PATH "Path to the FreeType.")
++ IF(FREETYPE_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${FREETYPE_ROOT_DIR}")
++ ENDIF(FREETYPE_ROOT_DIR)
+ if(fail-on-missing)
+ find_package(Freetype REQUIRED)
+ else()
+@@ -574,6 +578,10 @@ endif()
+ #---Check for XML Parser Support-----------------------------------------------------------
+ if(xml)
+ message(STATUS "Looking for LibXml2")
++ SET(LIBXML2_ROOT_DIR $ENV{LIBXML2_ROOT_DIR} CACHE PATH "Path to the LIBXML2.")
++ IF(LIBXML2_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${LIBXML2_ROOT_DIR}")
++ ENDIF(LIBXML2_ROOT_DIR)
+ find_package(LibXml2)
+ if(NOT LIBXML2_FOUND)
+ if(fail-on-missing)
--- /dev/null
+diff -rupN root_ref/cmake/modules/SearchInstalledSoftware.cmake root_new/cmake/modules/SearchInstalledSoftware.cmake
+--- root_ref/cmake/modules/SearchInstalledSoftware.cmake 2020-08-17 14:41:56.000000000 +0200
++++ root_new/cmake/modules/SearchInstalledSoftware.cmake 2021-04-01 13:22:21.914013106 +0200
+@@ -82,6 +82,10 @@ endif()
+ #---Check for Freetype---------------------------------------------------------------
+ if(NOT builtin_freetype)
+ message(STATUS "Looking for Freetype")
++ SET(FREETYPE_ROOT_DIR $ENV{FREETYPE_ROOT_DIR} CACHE PATH "Path to the FreeType.")
++ IF(FREETYPE_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${FREETYPE_ROOT_DIR}")
++ ENDIF(FREETYPE_ROOT_DIR)
+ if(fail-on-missing)
+ find_package(Freetype REQUIRED)
+ else()
+@@ -574,6 +578,10 @@ endif()
+ #---Check for XML Parser Support-----------------------------------------------------------
+ if(xml)
+ message(STATUS "Looking for LibXml2")
++ SET(LIBXML2_ROOT_DIR $ENV{LIBXML2_ROOT_DIR} CACHE PATH "Path to the LIBXML2.")
++ IF(LIBXML2_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${LIBXML2_ROOT_DIR}")
++ ENDIF(LIBXML2_ROOT_DIR)
+ find_package(LibXml2)
+ if(NOT LIBXML2_FOUND)
+ if(fail-on-missing)
}
version_6_22_06:
-{}
+{
+ patches : ['root-6.22.06.patch']
+}
version_6_22_06_win:
{
archive_info : {archive_name : "root_v6.22.06.win32.vc16.tar.gz"}
+ patches : []
+ build_source : "script"
+ compil_script : "root.bat"
+}
+
+version_6_22_02:
+{
+ patches : ['root-6.22.02.patch']
+}
+
+version_6_22_02_win:
+{
+ archive_info : {archive_name : "root_v6.22.02.win32.vc16.tar.gz"}
+ patches : []
build_source : "script"
compil_script : "root.bat"
}