commit:     35e58c6a32596fb663fbbf7e5b076ac3f87ae01c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 26 21:00:53 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  3 21:38:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e58c6a

media-gfx/yafaray: treeclean

Closes: https://bugs.gentoo.org/929093 (pkgremoved)
Closes: https://bugs.gentoo.org/952086 (pkgremoved)
Closes: https://bugs.gentoo.org/952528 (pkgremoved)
Closes: https://bugs.gentoo.org/967109 (pkgremoved)
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/yafaray/Manifest                         |   1 -
 ...ay-3.5.1-0001-respect-distribution-CFLAGS.patch |  39 -------
 ...add-missing-include-statements-for-gcc-13.patch |  19 ----
 .../yafaray-3.5.1-add-missing-limits-header.patch  |  21 ----
 media-gfx/yafaray/metadata.xml                     |  34 ------
 media-gfx/yafaray/yafaray-3.5.1-r5.ebuild          | 116 ---------------------
 profiles/package.mask                              |   5 -
 7 files changed, 235 deletions(-)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
deleted file mode 100644
index f10e833aaf1d..000000000000
--- a/media-gfx/yafaray/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST yafaray-3.5.1.tar.gz 1136455 BLAKE2B 
6002f3b96f3626b83f57015eaf3ddd53dcb6b6fd863277912f7fec06e4f176ec81dc48b889a068e6259edf17727dd04d4b1bbc51b571bfe6aad5e48148201e2e
 SHA512 
3ead4d8becd2d524aa5bb4bbde4b9d98b56f8a38d872e7aa49ba19081094406336def02e9bf1503e424ca8e6cade0db4b042214cea8f9345bd4fc542c9346dbe

diff --git 
a/media-gfx/yafaray/files/yafaray-3.5.1-0001-respect-distribution-CFLAGS.patch 
b/media-gfx/yafaray/files/yafaray-3.5.1-0001-respect-distribution-CFLAGS.patch
deleted file mode 100644
index 67cb8ca3aad2..000000000000
--- 
a/media-gfx/yafaray/files/yafaray-3.5.1-0001-respect-distribution-CFLAGS.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 2f7e31a06679798c15f737b2725d246a12bcc6b4 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <[email protected]>
-Date: Fri, 12 Mar 2021 20:43:20 +0100
-Subject: [PATCH] respect distribution CFLAGS
-
-Signed-off-by: Bernd Waibel <[email protected]>
----
- CMakeLists.txt | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 00dfda9..ade65a7 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -234,18 +234,18 @@ if(NOT WIN32)
-       endif(NOT YAF_BINDINGS_RUBY_DIR)
- 
-       # build flags
--      set(CMAKE_CXX_FLAGS "-Wall -Wno-unused-result" CACHE STRING "Default 
compiler flags" FORCE)
-+      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-result" CACHE 
STRING "Default compiler flags" FORCE)
-       
-       if(USER_RELEASE_OPTIMIZATION_FLAGS)
-               set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS})
-       else(USER_RELEASE_OPTIMIZATION_FLAGS)
--              set(YAF_CXX_FLAGS_RELEASE "-Wall -std=c++11 -pthread -O3 
-ffast-math -Wno-unused-result")
-+              set(YAF_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall 
-std=c++11 -pthread -O3 -ffast-math -Wno-unused-result")
-       endif(USER_RELEASE_OPTIMIZATION_FLAGS)
-       
-       if(USER_DEBUG_OPTIMIZATION_FLAGS)
-               set(YAF_CXX_FLAGS_DEBUG ${USER_DEBUG_OPTIMIZATION_FLAGS})
-       else(USER_DEBUG_OPTIMIZATION_FLAGS)
--              set(YAF_CXX_FLAGS_DEBUG "-Wall -std=c++11 -pthread -ggdb 
-Wno-unused-result")
-+              set(YAF_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall 
-std=c++11 -pthread -ggdb -Wno-unused-result")
-       endif(USER_DEBUG_OPTIMIZATION_FLAGS)
-       
-       if(APPLE)
--- 
-2.30.1
-

diff --git 
a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch
 
b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch
deleted file mode 100644
index 066824f39c60..000000000000
--- 
a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From ca340cbfc518cc4b0655840453198620215535df Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <[email protected]>
-Date: Tue, 25 Apr 2023 09:27:40 +0200
-Subject: [PATCH] add missing #include statements for gcc-13
-
-Signed-off-by: Bernd Waibel <[email protected]>
---- a/include/core_api/session.h
-+++ b/include/core_api/session.h
-@@ -25,6 +25,7 @@
- 
- #include <yafray_constants.h>
- #include <utilities/threadUtils.h>
-+#include <string>
- 
- __BEGIN_YAFRAY
- 
--- 
-2.40.0
-

diff --git 
a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch 
b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch
deleted file mode 100644
index 19ef77cbf829..000000000000
--- a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From f947af314bdfb8c5d5cb79a2a7877d9ad4d2f087 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <[email protected]>
-Date: Fri, 22 Apr 2022 08:23:48 +0200
-Subject: [PATCH] add missing limits header
-
-Bug: https://github.com/YafaRay/libYafaRay/issues/9
-Bug: https://bugs.gentoo.org/830949
-Signed-off-by: Bernd Waibel <[email protected]>
---- a/include/core_api/surface.h
-+++ b/include/core_api/surface.h
-@@ -24,6 +24,7 @@
- #define Y_SURFACE_H
- 
- #include <yafray_constants.h>
-+#include <limits>
- #include "vector3d.h"
- #include "color.h"
- 
--- 
-2.35.1
-

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
deleted file mode 100644
index c509ab948629..000000000000
--- a/media-gfx/yafaray/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person" proxied="yes">
-               <email>[email protected]</email>
-               <name>Bernd Waibel</name>
-       </maintainer>
-       <maintainer type="project" proxied="proxy">
-               <email>[email protected]</email>
-               <name>Proxy Maintainers</name>
-       </maintainer>
-       <longdescription lang="en">
-               YafaRay is a raytracing open source render engine. Raytracing 
is a
-               rendering technique for generating realistic images by tracing 
the
-               path of light through a 3D scene.
-               An render engine consists of a "faceless" computer program that
-               interacts with a host 3D application to provide very specific
-               raytracing capabilties "on demand".
-       </longdescription>
-       <use>
-               <flag name="fastmath">
-                       Enable mathematic approximations to make code faster
-               </flag>
-               <flag name="fasttrig">
-                       Enable trigonometric approximations to make code faster
-               </flag>
-               <flag name="opencv">
-                       Add support for <pkg>media-libs/opencv</pkg> image 
processing.
-               </flag>
-       </use>
-       <upstream>
-               <remote-id type="github">YafaRay/libYafaRay</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/media-gfx/yafaray/yafaray-3.5.1-r5.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r5.ebuild
deleted file mode 100644
index 28276d5c35c2..000000000000
--- a/media-gfx/yafaray/yafaray-3.5.1-r5.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-# doesn't build with ninja when qt5 and python USE flags are both enabled
-CMAKE_MAKEFILE_GENERATOR="emake"
-
-inherit cmake flag-o-matic python-single-r1
-
-DESCRIPTION="A free open-source montecarlo raytracing engine"
-# Regular homepage is currently down. Upstream is working on this.
-HOMEPAGE="https://www.yafaray.org https://github.com/YafaRay/libYafaRay";
-SRC_URI="https://github.com/YafaRay/libYafaRay/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/libYafaRay-${PV}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+fastmath +fasttrig jpeg opencv png python qt5 tiff truetype"
-RESTRICT="test"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# Note: according to upstream, the blender plugin doesn't work with 
>=blender-2.8 (yet).
-RDEPEND="
-       dev-libs/libxml2:2=
-       virtual/zlib:=
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       opencv? ( media-libs/opencv:= )
-       png? ( media-libs/libpng:= )
-       python? ( ${PYTHON_DEPS} )
-       qt5? ( dev-qt/qtwidgets:5 )
-       tiff? ( media-libs/tiff:= )
-       truetype? ( media-libs/freetype:2 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       python? (
-               ${PYTHON_DEPS}
-               dev-lang/swig
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch
-       "${FILESDIR}"/${P}-add-missing-limits-header.patch
-       
"${FILESDIR}"/${PN}-3.5.1-add-missing-include-statements-for-gcc-13.patch
-)
-
-DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
-
-pkg_setup() {
-       use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-       append-flags -pthread
-       append-ldflags -pthread
-
-       cmake_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               # enabling BLENDER_ADDON doesn't build anything, but set's some 
wierd
-               # installation paths, so keep it off and install the files 
manually.
-               -DBLENDER_ADDON=OFF
-               -DFAST_MATH=$(usex fastmath)
-               -DFAST_TRIG=$(usex fasttrig)
-               -DWITH_Freetype=$(usex truetype)
-               -DWITH_JPEG=$(usex jpeg)
-               -DWITH_OpenCV=$(usex opencv)
-               -DWITH_OpenEXR=OFF # bug #877865
-               -DWITH_PNG=$(usex png)
-               -DWITH_QT=$(usex qt5)
-               -DWITH_TIFF=$(usex tiff)
-               -DWITH_XML_LOADER=ON
-               -DWITH_XMLImport=ON
-               -DWITH_YAF_PY_BINDINGS=$(usex python)
-               -DWITH_YAF_RUBY_BINDINGS=OFF
-               -DYAF_DOC_DIR=share/doc/${PF}
-               -DYAF_LIB_DIR=$(get_libdir)
-       )
-
-       if use python; then
-               mycmakeargs+=( -DYAF_PY_VERSION=${EPYTHON#python} )
-       fi
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       if use python; then
-               python_domodule 
"${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
-               mv "${ED}"/usr/$(get_libdir)/_yafaray_v3_interface.so 
"${ED}"/$(python_get_sitedir)/ || die
-               rm -v "${ED}"/usr/$(get_libdir)/yafaray_v3_interface.py || die
-
-               if use qt5; then
-                       python_domodule "${BUILD_DIR}/src/bindings/yafqt.py"
-                       mv "${ED}"/usr/$(get_libdir)/_yafqt.so 
"${ED}"/$(python_get_sitedir)/ || die
-                       rm -v "${ED}"/usr/$(get_libdir)/yafqt.py || die
-               fi
-       fi
-}
-
-pkg_postinst() {
-       einfo "To confirm your installation is working as expected, run"
-       einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
-       einfo "as an input file, then compare the result to"
-       einfo "'/usr/share/yafaray/tests/test01/test01 - expected render 
result.png'"
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 00649ed7cf00..3721eb729af1 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -161,11 +161,6 @@ games-engines/qtads
 # Removal on 2026-01-15
 games-strategy/hedgewars
 
-# Andreas Sturmlechner <[email protected]> (2025-12-05)
-# Broken w/ CMake4, IUSE python stuck on py3.12, Gui stuck on Qt5.
-# Bugs #929093, #952086, #952528, #955277. Removal on 2026-01-04.
-media-gfx/yafaray
-
 # Nowa Ammerlaan <[email protected]> (2025-12-05)
 # Stuck on Qt5, no upstream action.
 # Please use the games-action/prismlauncher fork instead.

Reply via email to