enblend-4.2
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
* 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
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeModules/FindLCMS2.cmake 2016-09-24 11:28:47.000000000 +0200
|
||||
+++ b/CMakeModules/FindLCMS2.cmake 2017-02-11 16:15:33.492507341 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
/usr/local/include
|
||||
/usr/include
|
||||
)
|
||||
- FIND_LIBRARY(LCMS2_LIBRARIES lcms2 HINTS /usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib32)
|
||||
+ FIND_LIBRARY(LCMS2_LIBRARIES lcms2 HINTS /usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib)
|
||||
ELSE(NOT WIN32)
|
||||
FIND_PATH(LCMS2_ROOT_DIR
|
||||
NAMES include/lcms2.h
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
Use scaleable fonts.
|
||||
|
||||
Bug: https://bugs.gentoo.org/888025
|
||||
|
||||
diff -Naur enblend-4.2.0_p20161007.org/doc/static-preamble.tex enblend-4.2.0_p20161007/doc/static-preamble.tex
|
||||
--- enblend-4.2.0_p20161007.org/doc/static-preamble.tex 2016-09-24 11:29:40.000000000 +0200
|
||||
+++ enblend-4.2.0_p20161007/doc/static-preamble.tex 2022-12-27 07:30:42.966176272 +0100
|
||||
@@ -5,6 +5,8 @@
|
||||
\RequirePackage[l2tabu, orthodox]{nag}
|
||||
|
||||
|
||||
+\usepackage[T1]{fontenc}
|
||||
+\usepackage{lmodern} % scaleable fonts
|
||||
\usepackage{amsmath} % align, align*
|
||||
\usepackage{bold-extra} % Bold typewriter for programming language keywords
|
||||
\usepackage{color} % \colorbox
|
||||
@@ -0,0 +1,16 @@
|
||||
Fix build with GCC-10.
|
||||
|
||||
Thanks-to: Walter Hüttenmeyer
|
||||
Bug: https://bugs.gentoo.org/724988
|
||||
|
||||
--- a/src/minimizer.cc 2016-09-24 11:29:40.000000000 +0200
|
||||
+++ b/src/minimizer.cc 2020-05-24 13:09:58.199170984 +0200
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <gsl/gsl_errno.h>
|
||||
-
|
||||
+#include <limits>
|
||||
#include "minimizer.h"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Image blending with multiresolution splines</Summary>
|
||||
<Description>enblend is a tool for compositing images. Given a set of images that overlap in some irregular way, enblend overlays them in such a way that the seam between the images is invisible, or at least very difficult to see.</Description>
|
||||
<Archive sha1sum="43a7d6c0e2f26e0d1860136895f1ee8d6790c960" type="targz">mirrors://sourceforge/enblend/enblend-enfuse/enblend-enfuse-4.1/enblend-enfuse-4.1.5.tar.gz</Archive>
|
||||
<Archive sha1sum="48f62bb6bb5ae5ca72fdcb3620a0579a5643322e" type="tarxz">https://mirrors.tencent.com/gentoo/distfiles/c7/enblend-4.2.0_p20161007.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>gsl-devel</Dependency>
|
||||
@@ -27,8 +27,10 @@
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">gentoo_prepare.patch</Patch>
|
||||
<!-- <Patch level="1">enblend-4.1.4-gcc6.patch</Patch> -->
|
||||
<Patch level="1">gentoo/enblend-4.2-doc-install-dir-fix.patch</Patch>
|
||||
<Patch level="1">gentoo/enblend-4.2.0_p20161007-cmake.patch</Patch>
|
||||
<Patch level="1">gentoo/enblend-4.2.0_p20161007-gcc-10.patch</Patch>
|
||||
<Patch level="1">gentoo/enblend-4.2.0_p20161007-doc-scaleable-fonts.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -53,10 +55,10 @@
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2023-10-29</Date>
|
||||
<Version>4.1.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
<Version>4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2023-01-04</Date>
|
||||
|
||||
Reference in New Issue
Block a user