diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-24 01:25:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-24 01:25:20 +0100 |
commit | d80b870c42fbe218389ffaf86f0f2a39404deca1 (patch) | |
tree | 3be15ebcfb876f660fe2f2b0d02f8bca68e41622 /media-gfx/enblend/files | |
parent | de59eb4554f5fe0d506a66bb96630a35f99c09f7 (diff) |
Diffstat (limited to 'media-gfx/enblend/files')
-rw-r--r-- | media-gfx/enblend/files/enblend-4.2-doc-install-dir-fix.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/media-gfx/enblend/files/enblend-4.2-doc-install-dir-fix.patch b/media-gfx/enblend/files/enblend-4.2-doc-install-dir-fix.patch deleted file mode 100644 index c952eeb7780a..000000000000 --- a/media-gfx/enblend/files/enblend-4.2-doc-install-dir-fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -* Remove the CMAKE_BUILD_TYPE conditional code, in order to build using CMAKE_BUILD_TYPE=Gentoo -* Install html files in html subdir of doc dir - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -11,9 +11,6 @@ - set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) - - project(enblend) --IF(NOT MSVC) -- SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel" FORCE) --ENDIF(NOT MSVC) - # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ - # is checked - # For now, reuse the hugin modules directory -@@ -130,7 +127,6 @@ - ENDIF() - - IF(CMAKE_COMPILER_IS_GNUCXX) -- SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -DNDEBUG -Wall") - IF(APPLE AND CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION LESS 5) - ## Add needed Compiler and Linker flags for OSX - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -flat_namespace -undefined suppress") -@@ -154,20 +150,6 @@ - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") - ENDIF(CMAKE_CL_64) - -- # compile everything for the static C runtime -- FOREACH(TYPE C CXX) -- # makefiles use blank configuration -- FOREACH(CFG "_DEBUG" "_MINSIZEREL" "_RELEASE" "_RELWITHDEBINFO") -- #MESSAGE("Replacing CMAKE_${TYPE}_FLAGS${CFG}: ${CMAKE_${TYPE}_FLAGS${CFG}}") -- SET(NEW_FLAGS "${CMAKE_${TYPE}_FLAGS${CFG}}") -- # fix up static libc flags -- STRING(REPLACE "/MD" "/MT" NEW_FLAGS "${NEW_FLAGS}") -- # *FORCE* to override whats already placed into the cache -- SET(CMAKE_${TYPE}_FLAGS${CFG} "${NEW_FLAGS}" CACHE STRING -- "CMAKE_${TYPE}_FLAGS${CFG} (overwritten to ensure static build)" FORCE) -- #MESSAGE("New CMAKE_${TYPE}_FLAGS${CFG}: ${CMAKE_${TYPE}_FLAGS${CFG}}") -- ENDFOREACH(CFG) -- ENDFOREACH(TYPE) - # link only with the static C runtime !! THIS IS A MUST !! - SET(NEW_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") - # ensure that the flags are not duplicated on subsequent runs ---- a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -406,7 +406,7 @@ - "${CMAKE_BINARY_DIR}/doc/enfuse.html" - ${ENBLEND_PNGFILES} - ${ENFUSE_PNGFILES} -- DESTINATION ${DocumentsDirectory} -+ DESTINATION ${DocumentsDirectory}/html - ) - endif() - ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -102,7 +102,7 @@ - endif(OpenMP_CXX_FLAGS AND NOT MSVC) - target_link_libraries(enblend ${common_libs} ${additional_libs}) - target_link_libraries(enfuse ${common_libs} ${additional_libs}) --install(TARGETS enblend enfuse DESTINATION bin CONFIGURATIONS Release RelWithDebInfo MinSizeRel) -+install(TARGETS enblend enfuse DESTINATION bin) - - if(NOT WIN32) - # create enblend.1 and enfuse.1 |