mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
media-gfx/enblend: Remove extreme logging
Closes: https://bugs.gentoo.org/962403 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
210f53fc14
commit
6d43cdd110
90
media-gfx/enblend/enblend-4.2.0_p20240424-r1.ebuild
Normal file
90
media-gfx/enblend/enblend-4.2.0_p20240424-r1.ebuild
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Image Blending with Multiresolution Splines"
|
||||||
|
HOMEPAGE="http://enblend.sourceforge.net/"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
|
||||||
|
|
||||||
|
S=${WORKDIR}/enblend
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ FDL-1.2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE="cpu_flags_x86_sse2 doc openmp tcmalloc"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
sys-apps/help2man
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? (
|
||||||
|
app-text/ghostscript-gpl
|
||||||
|
app-text/texlive
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/Readonly
|
||||||
|
dev-tex/hevea
|
||||||
|
gnome-base/librsvg
|
||||||
|
media-gfx/graphviz
|
||||||
|
>=media-gfx/fig2dev-3.2.9-r1
|
||||||
|
sci-visualization/gnuplot[cairo,gd]
|
||||||
|
virtual/imagemagick-tools[tiff]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/lcms:2
|
||||||
|
media-libs/openexr:=
|
||||||
|
media-libs/tiff:=
|
||||||
|
media-libs/vigra[openexr]
|
||||||
|
sci-libs/gsl:=
|
||||||
|
tcmalloc? ( dev-util/google-perftools )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-libs/boost
|
||||||
|
media-libs/libpng:0
|
||||||
|
media-libs/libjpeg-turbo:=
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-doc-install-dir-fix.patch
|
||||||
|
"${FILESDIR}"/${P}-less-logging.patch
|
||||||
|
"${FILESDIR}"/${PN}-4.2.0_p20161007-cmake.patch
|
||||||
|
"${FILESDIR}"/${PN}-4.2.0_p20161007-gcc-10.patch
|
||||||
|
"${FILESDIR}"/${PN}-4.2.0_p20161007-doc-scaleable-fonts.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
sed -i -e "s:share/doc/enblend:share/doc/${PF}:" doc/CMakeLists.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DENABLE_SSE2=$(usex cpu_flags_x86_sse2)
|
||||||
|
-DENABLE_DMALLOC=no
|
||||||
|
-DDOC=$(usex doc)
|
||||||
|
-DENABLE_OPENMP=$(usex openmp)
|
||||||
|
-DENABLE_TCMALLOC=$(usex tcmalloc)
|
||||||
|
)
|
||||||
|
if use doc; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DINSTALL_HTML_DOC=ON
|
||||||
|
-DINSTALL_PDF_DOC=ON
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# To allow icon resizing with renderers (no way to disable)
|
||||||
|
addpredict /dev/dri
|
||||||
|
|
||||||
|
# To compile fonts in the temp directory
|
||||||
|
export VARTEXFONTS="${T}/fonts"
|
||||||
|
|
||||||
|
# forcing -j1 as every parallel compilation process needs about 1 GB RAM.
|
||||||
|
cmake_src_compile -j1
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
diff '--color=auto' -ruN enblend.orig/src/fixmath.h enblend/src/fixmath.h
|
||||||
|
--- enblend.orig/src/fixmath.h 2024-04-24 04:42:26.000000000 +0100
|
||||||
|
+++ enblend/src/fixmath.h 2025-09-19 18:37:51.712304445 +0100
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
|
||||||
|
// ANTICIPATED CHANGE: Remove this define after Lab/Luv optimization
|
||||||
|
// has gotten enough testing.
|
||||||
|
-#define LOG_COLORSPACE_OPTIMIZATION
|
||||||
|
+// #define LOG_COLORSPACE_OPTIMIZATION
|
||||||
|
|
||||||
|
|
||||||
|
#define XYZ_SCALE 100.0
|
||||||
Loading…
x
Reference in New Issue
Block a user