[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/files/, media-gfx/yafaray/

2023-04-25 Thread Sam James
commit: 31730190420eb7e3b472c4649b7f3c67cdb1dbc9
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Apr 25 14:20:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 25 21:27:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31730190

media-gfx/yafaray: fix build with gcc-13

add missing #include statement

Bug: https://github.com/YafaRay/libYafaRay/issues/14
Closes: https://bugs.gentoo.org/895208
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30748
Signed-off-by: Sam James  gentoo.org>

 1-add-missing-include-statements-for-gcc-13.patch | 19 +++
 media-gfx/yafaray/metadata.xml|  3 +++
 media-gfx/yafaray/yafaray-3.5.1-r4.ebuild |  1 +
 3 files changed, 23 insertions(+)

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

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index b38bee5a6025..c509ab948629 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -28,4 +28,7 @@
Add support for media-libs/opencv image 
processing.


+   
+   YafaRay/libYafaRay
+   
 

diff --git a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
index 39fab8a3fae7..faee7f24fff4 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
@@ -47,6 +47,7 @@ BDEPEND="
 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 )



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2022-10-30 Thread Sam James
commit: 2c321cfa45359da3863c842de6d1b926645b65fd
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Oct 25 12:16:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:41:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c321cfa

media-gfx/yafaray: disable OpenEXR support

The package currently only supports https://bugs.gentoo.org/877865
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27942
Signed-off-by: Sam James  gentoo.org>

 .../{yafaray-3.5.1-r1.ebuild => yafaray-3.5.1-r2.ebuild}  | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
similarity index 93%
rename from media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
rename to media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
index 9053e381aba3..1da10dced60a 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 # doesn't build with ninja when qt5 and python USE flags are both enabled
 CMAKE_MAKEFILE_GENERATOR="emake"
@@ -19,7 +19,7 @@ S="${WORKDIR}/libYafaRay-${PV}"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype"
+IUSE="+fastmath +fasttrig jpeg opencv png python qt5 tiff truetype"
 RESTRICT="test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -28,9 +28,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RDEPEND="
dev-libs/libxml2:2
sys-libs/zlib
-   jpeg? ( virtual/jpeg )
+   jpeg? ( media-libs/libjpeg-turbo:= )
opencv? ( media-libs/opencv:= )
-   openexr? ( 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/

2022-10-30 Thread Sam James
commit: c7f74a47af6241528b895cbad48325edcb396856
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Oct 25 11:47:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:41:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f74a47

media-gfx/yafaray: drop 3.4.1

Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/yafaray/Manifest |   1 -
 1-0001-Respect-user-pre-defined-CXXFLAGS.patch |  35 ---
 media-gfx/yafaray/yafaray-3.4.1.ebuild | 114 -
 3 files changed, 150 deletions(-)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index e5363adde333..f10e833aaf1d 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1,2 +1 @@
 DIST yafaray-3.5.1.tar.gz 1136455 BLAKE2B 
6002f3b96f3626b83f57015eaf3ddd53dcb6b6fd863277912f7fec06e4f176ec81dc48b889a068e6259edf17727dd04d4b1bbc51b571bfe6aad5e48148201e2e
 SHA512 
3ead4d8becd2d524aa5bb4bbde4b9d98b56f8a38d872e7aa49ba19081094406336def02e9bf1503e424ca8e6cade0db4b042214cea8f9345bd4fc542c9346dbe
-DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B 
a2ce3945f52315084ee744ff4a6733255018196fca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4
 SHA512 
a9116273fbc2dbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68

diff --git 
a/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
 
b/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
deleted file mode 100644
index 90b2786c3c54..
--- 
a/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 2f77edf05ed02955dc08821f322a529063dbfa28 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel 
-Date: Sun, 19 Apr 2020 15:39:45 +0200
-Subject: [PATCH] Respect user pre-defined CXXFLAGS
-
-Signed-off-by: Bernd Waibel 

- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 047456f..6733b7d 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -224,7 +224,7 @@ if(NOT WIN32)
-   endif(NOT YAF_BINDINGS_RUBY_DIR)
- 
-   # build flags
--  set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE)
-+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING "Default 
compiler flags" FORCE)
-   
-   if(USER_RELEASE_OPTIMIZATION_FLAGS)
-   set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS})
-@@ -263,7 +263,7 @@ else(NOT WIN32)
- 
-   # build flags
-   if(MINGW)
--  set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler 
flags" FORCE)
-+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING 
"Default compiler flags" FORCE)
- 
-   if(USER_RELEASE_OPTIMIZATION_FLAGS)
-   set(YAF_CXX_FLAGS_RELEASE 
${USER_RELEASE_OPTIMIZATION_FLAGS})
--- 
-2.26.1
-

diff --git a/media-gfx/yafaray/yafaray-3.4.1.ebuild 
b/media-gfx/yafaray/yafaray-3.4.1.ebuild
deleted file mode 100644
index 4efd96180ca1..
--- a/media-gfx/yafaray/yafaray-3.4.1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-# 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"
-HOMEPAGE="http://www.yafaray.org;
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz"
-
-S="${WORKDIR}/Core-${PV}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+fastmath +fasttrig jpeg opencv openexr 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/boost:=[nls]
-   dev-libs/libxml2:2
-   sys-libs/zlib
-   jpeg? ( virtual/jpeg:0 )
-   opencv? ( >=media-libs/opencv-3.1.0:= )
-   openexr? ( >=media-libs/openexr-2.2.0:= )
-   png? ( media-libs/libpng:0= )
-   python? ( ${PYTHON_DEPS} )
-   qt5? ( dev-qt/qtwidgets:5 )
-   tiff? ( media-libs/tiff:0 )
-   truetype? ( media-libs/freetype:2 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="python? ( dev-lang/swig )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-0001-Respect-user-pre-defined-CXXFLAGS.patch"
-)
-
-DOCS=( AUTHORS CHANGELOG CODING INSTALL README )
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   append-flags -pthread
-   append-ldflags -pthread
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2022-04-22 Thread Sam James
commit: 82e8470525cc99537b5282d1e6dbc0cdaca624ba
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 23 01:21:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 23 01:21:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e84705

media-gfx/yafaray: fix IncorrectCopyright

Signed-off-by: Sam James  gentoo.org>

 media-gfx/yafaray/yafaray-3.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 336f9d311dd6..9053e381aba3 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/

2022-04-22 Thread Sam James
commit: a523b10395f37bb6de358975d1a4da888f4ee9c3
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri Apr 22 06:32:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 23 01:21:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a523b103

media-gfx/yafaray: fix build with clang

Closes: https://bugs.gentoo.org/830949
Bug: https://github.com/YafaRay/libYafaRay/issues/9
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/25150
Signed-off-by: Sam James  gentoo.org>

 .../yafaray-3.5.1-add-missing-limits-header.patch   | 21 +
 media-gfx/yafaray/yafaray-3.5.1-r1.ebuild   |  6 +-
 2 files changed, 26 insertions(+), 1 deletion(-)

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
new file mode 100644
index ..19ef77cbf829
--- /dev/null
+++ b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch
@@ -0,0 +1,21 @@
+From f947af314bdfb8c5d5cb79a2a7877d9ad4d2f087 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+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 
+--- a/include/core_api/surface.h
 b/include/core_api/surface.h
+@@ -24,6 +24,7 @@
+ #define Y_SURFACE_H
+ 
+ #include 
++#include 
+ #include "vector3d.h"
+ #include "color.h"
+ 
+-- 
+2.35.1
+

diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 2e4fb63fdf46..336f9d311dd6 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
@@ -45,7 +45,11 @@ BDEPEND="
)
 "
 
-PATCHES=( "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch
+   "${FILESDIR}"/${P}-add-missing-limits-header.patch
+)
+
 DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2021-07-21 Thread Marek Szuba
commit: b03922c254f6651f13d630601c9d8de8bfa03fdb
Author: Bernd Waibel  posteo  net>
AuthorDate: Wed Jul 21 18:53:50 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b03922c2

media-gfx/yafaray: add slot for openexr

- restrict to  posteo.net>
Signed-off-by: Marek Szuba  gentoo.org>

 ...{yafaray-3.5.1.ebuild => yafaray-3.5.1-r1.ebuild} | 20 
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
similarity index 92%
rename from media-gfx/yafaray/yafaray-3.5.1.ebuild
rename to media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 2b65a4e8f72..2e4fb63fdf4 100644
--- a/media-gfx/yafaray/yafaray-3.5.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 # doesn't build with ninja when qt5 and python USE flags are both enabled
 CMAKE_MAKEFILE_GENERATOR="emake"
@@ -14,7 +14,6 @@ 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"
@@ -23,9 +22,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype"
 RESTRICT="test"
 
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # Note: according to upstream, the blender plugin doesn't work with 
>=blender-2.8 (yet).
 RDEPEND="
@@ -33,7 +30,7 @@ RDEPEND="
sys-libs/zlib
jpeg? ( virtual/jpeg )
opencv? ( media-libs/opencv:= )
-   openexr? ( media-libs/openexr:= )
+   openexr? ( 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/files/, media-gfx/yafaray/

2021-03-12 Thread Joonas Niilola
commit: 035cffeb173bd85dba3276158e18f03a9609ed19
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri Mar 12 19:54:08 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 13 07:30:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=035cffeb

media-gfx/yafaray: respect CFLAGS

Closes: https://bugs.gentoo.org/774858
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19900
Signed-off-by: Joonas Niilola  gentoo.org>

 ...ay-3.5.1-0001-respect-distribution-CFLAGS.patch | 39 ++
 media-gfx/yafaray/yafaray-3.5.1.ebuild |  4 +++
 2 files changed, 43 insertions(+)

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
new file mode 100644
index 000..67cb8ca3aad
--- /dev/null
+++ 
b/media-gfx/yafaray/files/yafaray-3.5.1-0001-respect-distribution-CFLAGS.patch
@@ -0,0 +1,39 @@
+From 2f7e31a06679798c15f737b2725d246a12bcc6b4 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Fri, 12 Mar 2021 20:43:20 +0100
+Subject: [PATCH] respect distribution CFLAGS
+
+Signed-off-by: Bernd Waibel 
+---
+ 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/yafaray-3.5.1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1.ebuild
index cca93fade78..2b65a4e8f72 100644
--- a/media-gfx/yafaray/yafaray-3.5.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1.ebuild
@@ -46,6 +46,10 @@ BDEPEND="python? (
dev-lang/swig
)"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch
+)
+
 DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2021-03-08 Thread Joonas Niilola
commit: 9afb475186bd9875b2f2cbb72b74eac060fa
Author: Bernd Waibel  posteo  net>
AuthorDate: Wed Mar  3 08:34:02 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Mar  8 13:59:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afb

media-gfx/yafaray: bump to 3.5.1

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19748
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/yafaray/Manifest |   1 +
 media-gfx/yafaray/metadata.xml |  20 --
 media-gfx/yafaray/yafaray-3.5.1.ebuild | 109 +
 3 files changed, 125 insertions(+), 5 deletions(-)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index eb4cb6dcc74..e5363adde33 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1 +1,2 @@
+DIST yafaray-3.5.1.tar.gz 1136455 BLAKE2B 
6002f3b96f3626b83f57015eaf3ddd53dcb6b6fd863277912f7fec06e4f176ec81dc48b889a068e6259edf17727dd04d4b1bbc51b571bfe6aad5e48148201e2e
 SHA512 
3ead4d8becd2d524aa5bb4bbde4b9d98b56f8a38d872e7aa49ba19081094406336def02e9bf1503e424ca8e6cade0db4b042214cea8f9345bd4fc542c9346dbe
 DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B 
a2ce3945f52315084ee744ff4a6733255018196fca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4
 SHA512 
a9116273fbc2dbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 2c614e94cc3..1200537158a 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -10,13 +10,23 @@
Proxy Maintainers


-   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". Blender 3D is the host application of YafaRay.
+   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".


-   Enable mathematic approximations to make 
code faster
-   Enable trigonometric approximations to 
make code faster
-   Use media-libs/opencv
+   
+   Enable mathematic approximations to make code faster
+   
+   
+   Enable trigonometric approximations to make code faster
+   
+   
+   Add support for media-libs/opencv image 
processing.
+   

 
 

diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1.ebuild
new file mode 100644
index 000..240025c99eb
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.5.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+# 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 openexr 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
+   sys-libs/zlib
+   jpeg? ( virtual/jpeg )
+   opencv? ( media-libs/opencv:= )
+   openexr? ( media-libs/openexr:= )
+   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? ( dev-lang/swig )"
+
+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
+   

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2021-03-08 Thread Joonas Niilola
commit: 72f46324360c240e6d23fd19ce3386ff9e1ea55d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Mar  8 13:58:52 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Mar  8 13:59:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f46324

media-gfx/yafaray: add PYTHON_DEPS to BDEPEND

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/yafaray/yafaray-3.5.1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild 
b/media-gfx/yafaray/yafaray-3.5.1.ebuild
index 240025c99eb..cca93fade78 100644
--- a/media-gfx/yafaray/yafaray-3.5.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1.ebuild
@@ -41,7 +41,10 @@ RDEPEND="
truetype? ( media-libs/freetype:2 )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="python? ( dev-lang/swig )"
+BDEPEND="python? (
+   ${PYTHON_DEPS}
+   dev-lang/swig
+   )"
 
 DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2021-02-07 Thread Conrad Kostecki
commit: 67607a8a6b4aa6fcd9929005ef099a06572e96e3
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Feb  7 16:15:50 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb  7 17:07:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67607a8a

media-gfx/yafaray: fix metadata email

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Conrad Kostecki  gentoo.org>

 media-gfx/yafaray/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index f4ad58bed54..2c614e94cc3 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -2,7 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   wae...@gmail.com
+   waebbl-gen...@posteo.net
Bernd Waibel





[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2020-12-27 Thread Jonas Stein
commit: ff2f9231ec1fbd5863b78eede1e7dc78f541d324
Author: Jonas Stein  gentoo  org>
AuthorDate: Mon Dec 28 02:04:22 2020 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Mon Dec 28 02:04:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2f9231

media-gfx/yafaray: matadata QA Fix

"description" should be "name" here.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Stein  gentoo.org>

 media-gfx/yafaray/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 24519079a75..f4ad58bed54 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -7,7 +7,7 @@


proxy-ma...@gentoo.org
-   Proxy Maintainer Team
+   Proxy Maintainers


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.



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2020-10-03 Thread Joonas Niilola
commit: 3c596be4f93965cfdaf1b200379c4fe5d9cba4ae
Author: Bernd Waibel  gmail  com>
AuthorDate: Wed Sep  9 20:31:41 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct  3 13:43:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c596be4

media-gfx/yafaray: add support for python-3.{7,8}

- Remove support for python-3.6
- Remove blender USE flag and support. The blender plugin isn't ready
  for blender-2.8 series yet. Blender-2.79 is python-3.6 only, which
  is going to be removed soon. Support will be re-added, as soon as
  upstream has updated the plugin for blender-2.8*.

Closes: https://bugs.gentoo.org/737392
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernd Waibel  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17485
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/yafaray/Manifest |  1 -
 media-gfx/yafaray/metadata.xml |  1 -
 media-gfx/yafaray/yafaray-3.4.1.ebuild | 40 +-
 3 files changed, 5 insertions(+), 37 deletions(-)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index 0d86321f1fd..eb4cb6dcc74 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1,2 +1 @@
-DIST yafaray-blender-exporter-3.4.1.tar.gz 381253 BLAKE2B 
b1483c79b14581729f598b92ca504af4a8a73cff54ff2014e8be646eaa2eea7f10074d1dc8c58251d8a987ac6e5ac10d1bc34b80c229f74e6d580bbaa3a3c461
 SHA512 
1f7baf7bf5953be8b4e004b1509cc23164df0a05e28d33a2301195ea21ad4d4cd6fdd67a0b1af11c1075bab7018e64b38f564be8b647d8513db46feee7d8bf85
 DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B 
a2ce3945f52315084ee744ff4a6733255018196fca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4
 SHA512 
a9116273fbc2dbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 795c6e4891e..24519079a75 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -14,7 +14,6 @@
An render engine consists of a "faceless" computer program that 
interacts with a host 3D application to provide very specific raytracing 
capabilties "on demand". Blender 3D is the host application of YafaRay.


-   Install addon for 
media-gfx/blender
Enable mathematic approximations to make 
code faster
Enable trigonometric approximations to 
make code faster
Use media-libs/opencv

diff --git a/media-gfx/yafaray/yafaray-3.4.1.ebuild 
b/media-gfx/yafaray/yafaray-3.4.1.ebuild
index e583d32d4b7..4efd96180ca 100644
--- a/media-gfx/yafaray/yafaray-3.4.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8} )
 
 # doesn't build with ninja when qt5 and python USE flags are both enabled
 CMAKE_MAKEFILE_GENERATOR="emake"
@@ -12,19 +12,17 @@ inherit cmake flag-o-matic python-single-r1
 
 DESCRIPTION="A free open-source montecarlo raytracing engine"
 HOMEPAGE="http://www.yafaray.org;
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
-   blender? ( 
https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz )"
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz"
 
 S="${WORKDIR}/Core-${PV}"
 
-LICENSE="blender? ( GPL-2+ ) LGPL-2.1"
+LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="blender +fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff 
truetype"
+IUSE="+fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff truetype"
 RESTRICT="test"
 
 REQUIRED_USE="
-   blender? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
 "
 
@@ -37,10 +35,7 @@ RDEPEND="
opencv? ( >=media-libs/opencv-3.1.0:= )
openexr? ( >=media-libs/openexr-2.2.0:= )
png? ( media-libs/libpng:0= )
-   python? (
-   ${PYTHON_DEPS}
-   blender? ( ~media-gfx/blender-2.79b[${PYTHON_SINGLE_USEDEP}] )
-   )
+   python? ( ${PYTHON_DEPS} )
qt5? ( dev-qt/qtwidgets:5 )
tiff? ( media-libs/tiff:0 )
truetype? ( media-libs/freetype:2 )
@@ -63,13 +58,6 @@ src_prepare() {
append-ldflags -pthread
 
cmake_src_prepare
-
-   if use blender; then
-   # fix PLUGIN_PATH
-   sed -e "s/PLUGIN_PATH = os.path.join(__path__\[0\], 
'bin'/PLUGIN_PATH = os.path.join(__path__\[0\], '"$(get_libdir)"'/" \
-   -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v"${PV}"/" \
-   -i "${WORKDIR}"/Blender-Exporter-${PV}/__init__.py || 
die "patching startup file failed"
-   fi
 }
 
 src_configure() {
@@ -116,18 +104,6 @@ src_install() {
fi
 
rm -rv "${ED}"/usr/share/doc/${PN} || die
-
-   if 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/

2020-04-26 Thread Joonas Niilola
commit: 7d5314ec4b414305861e1aa8a0ed52c354d4a5bd
Author: Bernd Waibel  gmail  com>
AuthorDate: Sat Apr 18 10:07:13 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Apr 26 13:36:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5314ec

media-gfx/yafaray: bump to 3.4.1

Closes: https://bugs.gentoo.org/717568
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Bernd Waibel  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/yafaray/Manifest |   2 +
 1-0001-Respect-user-pre-defined-CXXFLAGS.patch |  35 +
 media-gfx/yafaray/yafaray-3.4.1.ebuild | 144 +
 3 files changed, 181 insertions(+)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index 967398bad99..58ccf86d69e 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1,2 +1,4 @@
 DIST yafaray-blender-exporter-3.3.0.tar.gz 377928 BLAKE2B 
7876c78ca6228282648909e566803b33304be0082fab48819340845e3927877b9734f7bc7e09702bf7cbf6477c68932637eb766dc98b9e8e4ab42ca99d2a3595
 SHA512 
70a1a806d97f6f3b43cdb5d6caac6104f0f63720d5920f6a623078e05e6977d065d2fabca4da1644deb97f09176b88347f0278e4bc699c783d807d3f530421d0
+DIST yafaray-blender-exporter-3.4.1.tar.gz 381253 BLAKE2B 
b1483c79b14581729f598b92ca504af4a8a73cff54ff2014e8be646eaa2eea7f10074d1dc8c58251d8a987ac6e5ac10d1bc34b80c229f74e6d580bbaa3a3c461
 SHA512 
1f7baf7bf5953be8b4e004b1509cc23164df0a05e28d33a2301195ea21ad4d4cd6fdd67a0b1af11c1075bab7018e64b38f564be8b647d8513db46feee7d8bf85
 DIST yafaray-core-3.3.0.tar.gz 1135360 BLAKE2B 
67f6956a3866bfe0b4167f30a7c2c7f05ee23556e9fff7041ff3937e90011e4c2538b706ae27e02351ae555d0d05531f3eb711257591d85f779683c9c42ac6f7
 SHA512 
32efb87872485c4a188483ae1172cac2eca2281e7b9ab29f184c047b94f3986d65da199a74c169d0e2fd6af59cf37b7deb69dcfb1cb4763bb1ebca30d46b5b90
+DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B 
a2ce3945f52315084ee744ff4a6733255018196fca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4
 SHA512 
a9116273fbc2dbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68

diff --git 
a/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
 
b/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
new file mode 100644
index 000..90b2786c3c5
--- /dev/null
+++ 
b/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch
@@ -0,0 +1,35 @@
+From 2f77edf05ed02955dc08821f322a529063dbfa28 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Sun, 19 Apr 2020 15:39:45 +0200
+Subject: [PATCH] Respect user pre-defined CXXFLAGS
+
+Signed-off-by: Bernd Waibel 
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 047456f..6733b7d 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -224,7 +224,7 @@ if(NOT WIN32)
+   endif(NOT YAF_BINDINGS_RUBY_DIR)
+ 
+   # build flags
+-  set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE)
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING "Default 
compiler flags" FORCE)
+   
+   if(USER_RELEASE_OPTIMIZATION_FLAGS)
+   set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS})
+@@ -263,7 +263,7 @@ else(NOT WIN32)
+ 
+   # build flags
+   if(MINGW)
+-  set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler 
flags" FORCE)
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING 
"Default compiler flags" FORCE)
+ 
+   if(USER_RELEASE_OPTIMIZATION_FLAGS)
+   set(YAF_CXX_FLAGS_RELEASE 
${USER_RELEASE_OPTIMIZATION_FLAGS})
+-- 
+2.26.1
+

diff --git a/media-gfx/yafaray/yafaray-3.4.1.ebuild 
b/media-gfx/yafaray/yafaray-3.4.1.ebuild
new file mode 100644
index 000..e583d32d4b7
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.4.1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+
+# 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"
+HOMEPAGE="http://www.yafaray.org;
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
+   blender? ( 
https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz )"
+
+S="${WORKDIR}/Core-${PV}"
+
+LICENSE="blender? ( GPL-2+ ) LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="blender +fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff 
truetype"
+RESTRICT="test"
+
+REQUIRED_USE="
+   blender? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+# 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/files/, media-gfx/yafaray/

2020-04-26 Thread Joonas Niilola
commit: ed9a6660a5acb9a1729f4d68df61b9e6d0f3f4c8
Author: Bernd Waibel  gmail  com>
AuthorDate: Sun Apr 19 17:59:46 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Apr 26 13:36:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed9a6660

media-gfx/yafaray: drop old 3.3.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Bernd Waibel  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15415
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/yafaray/Manifest |   2 -
 .../yafaray-3.3.0-blender-exporter-paths.patch |  15 ---
 .../files/yafaray-3.3.0-respect-cflags.patch   |  14 ---
 .../files/yafaray-3.3.0-strip-debug-mode.patch |  12 ---
 media-gfx/yafaray/yafaray-3.3.0-r2.ebuild  | 111 -
 5 files changed, 154 deletions(-)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index 58ccf86d69e..0d86321f1fd 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1,4 +1,2 @@
-DIST yafaray-blender-exporter-3.3.0.tar.gz 377928 BLAKE2B 
7876c78ca6228282648909e566803b33304be0082fab48819340845e3927877b9734f7bc7e09702bf7cbf6477c68932637eb766dc98b9e8e4ab42ca99d2a3595
 SHA512 
70a1a806d97f6f3b43cdb5d6caac6104f0f63720d5920f6a623078e05e6977d065d2fabca4da1644deb97f09176b88347f0278e4bc699c783d807d3f530421d0
 DIST yafaray-blender-exporter-3.4.1.tar.gz 381253 BLAKE2B 
b1483c79b14581729f598b92ca504af4a8a73cff54ff2014e8be646eaa2eea7f10074d1dc8c58251d8a987ac6e5ac10d1bc34b80c229f74e6d580bbaa3a3c461
 SHA512 
1f7baf7bf5953be8b4e004b1509cc23164df0a05e28d33a2301195ea21ad4d4cd6fdd67a0b1af11c1075bab7018e64b38f564be8b647d8513db46feee7d8bf85
-DIST yafaray-core-3.3.0.tar.gz 1135360 BLAKE2B 
67f6956a3866bfe0b4167f30a7c2c7f05ee23556e9fff7041ff3937e90011e4c2538b706ae27e02351ae555d0d05531f3eb711257591d85f779683c9c42ac6f7
 SHA512 
32efb87872485c4a188483ae1172cac2eca2281e7b9ab29f184c047b94f3986d65da199a74c169d0e2fd6af59cf37b7deb69dcfb1cb4763bb1ebca30d46b5b90
 DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B 
a2ce3945f52315084ee744ff4a6733255018196fca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4
 SHA512 
a9116273fbc2dbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch
deleted file mode 100644
index 9bf4f2b91f6..000
--- a/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/work/Blender-Exporter-3.3.0/__init__.py 
b/work/Blender-Exporter-3.3.0/__init__.py
-index 85dc1c2..70a79e8 100644
 a/__init__.py
-+++ b/__init__.py
-@@ -22,8 +22,8 @@ import sys
- import os
- import ctypes
- 
--PLUGIN_PATH = os.path.join(__path__[0], 'bin', 'yafaray-plugins')
--BIN_PATH = os.path.join(__path__[0], 'bin')
-+PLUGIN_PATH = '/usr/lib/yafaray-plugins'
-+BIN_PATH = '/usr/bin'
- YAF_ID_NAME = "YAFA_V3_RENDER"
- 
- # Version to be automatically populated during the cmake build process, 
getting the version from git tags

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch
deleted file mode 100644
index c22ff7e41ea..000
--- a/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt
-index 75fd2c6..94c2502 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -219,9 +219,6 @@ if(NOT WIN32)
-   set(YAF_BINDINGS_RUBY_DIR ${YAF_LIB_DIR})
-   endif(NOT YAF_BINDINGS_RUBY_DIR)
- 
--  # build flags
--  set(CMAKE_CXX_FLAGS "-Wall" 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)

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch
deleted file mode 100644
index 3bdb4eeef36..000
--- a/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt
-index 75fd2c6..52c6b3d 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,7 +17,6 @@ option(WITH_YAF_PY_BINDINGS "Enable the YafaRay Python 
bindings" ON)
- option(WITH_YAF_RUBY_BINDINGS "Enable the YafaRay Ruby bindings" OFF)
- option(WITH_OSX_ADDON "Enable the use of blender's included python lib on OSX 
platforms" OFF)
- option(WITH_OpenCV "Build OpenCV image processing support" ON)
--option(DEBUG_BUILD "Enable debug build mode" OFF)
- option(EMBED_FONT_QT "Embed font for QT GUI (usefull for some buggy QT 
installations)" OFF)
- 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2020-01-03 Thread Andreas Sturmlechner
commit: c6f94bfb32cc2d062fe565944858b1bbb85b6cdd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan  3 18:59:28 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  3 18:59:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f94bfb

media-gfx/yafaray: Switch to cmake.eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/yafaray/yafaray-3.3.0-r2.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild 
b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
index c54d1fbb0c7..dfaafd34cbb 100644
--- a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
+++ b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit cmake-utils flag-o-matic python-single-r1
+inherit cmake flag-o-matic python-single-r1
 
 DESCRIPTION="A free open-source montecarlo raytracing engine"
 HOMEPAGE="http://www.yafaray.org;
@@ -41,7 +41,7 @@ pkg_setup() {
 
 src_prepare() {
append-flags "-pthread"
-   cmake-utils_src_prepare
+   cmake_src_prepare
 
sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" 
"${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
 
@@ -72,11 +72,11 @@ src_configure() {
-DWITH_Freetype="$(usex truetype)"
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_install() {
-   cmake-utils_src_install
+   cmake_src_install
 
python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2019-06-12 Thread Andreas Sturmlechner
commit: 649fe89d3ad950852bfb145ef01a290a682f39a3
Author: Bernd Waibel  gmail  com>
AuthorDate: Fri May 31 19:57:54 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jun 12 13:32:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649fe89d

media-gfx/yafaray: bump to EAPI 7

Also fixes an issue, where some binaries didn't link successfully,
due to missing pthread (see https://github.com/YafaRay/Core/issues/113)

Closes: https://bugs.gentoo.org/687068
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Bernd Waibel  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12144
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/yafaray/yafaray-3.3.0-r2.ebuild | 111 ++
 1 file changed, 111 insertions(+)

diff --git a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild 
b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
new file mode 100644
index 000..c54d1fbb0c7
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit cmake-utils flag-o-matic python-single-r1
+
+DESCRIPTION="A free open-source montecarlo raytracing engine"
+HOMEPAGE="http://www.yafaray.org;
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
+   https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff 
truetype"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/boost:=
+   dev-libs/libxml2:2
+   sys-libs/zlib
+   blender? ( media-gfx/blender )
+   jpeg? ( virtual/jpeg:0 )
+   opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
+   openexr? ( >=media-libs/openexr-2.2.0:= )
+   png? ( media-libs/libpng:0= )
+   python? ( ${PYTHON_DEPS} )
+   tiff? ( media-libs/tiff:0 )
+   truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/swig"
+
+S="${WORKDIR}/Core-${PV}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   append-flags "-pthread"
+   cmake-utils_src_prepare
+
+   sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" 
"${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
+
+   eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
+   eapply "${FILESDIR}/${P}-respect-cflags.patch"
+   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+   eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
+   popd || dir
+   eapply_user
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DYAF_LIB_DIR=$(get_libdir)
+   -DWITH_YAF_PY_BINDINGS=$(usex python)
+   -DYAF_PY_VERSION=${EPYTHON#python}
+   -DWITH_YAF_RUBY_BINDINGS=OFF
+   -DBLENDER_ADDON=OFF # addon is a separate package called 
blender-exporter
+   -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
+   -DFAST_MATH=$(usex fastmath)
+   -DFAST_TRIG=$(usex fasttrig)
+   -DWITH_JPEG="$(usex jpeg)"
+   -DWITH_OpenCV="$(usex opencv)"
+   -DWITH_OpenEXR="$(usex openexr)"
+   -DWITH_PNG="$(usex png)"
+   -DWITH_QT=OFF # qt4 only at the moment
+   -DWITH_TIFF="$(usex tiff)"
+   -DWITH_Freetype="$(usex truetype)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
+   python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
+   rm -v 
"${ED}"/usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || 
die
+   rm -rv "${ED}"/usr/share/doc/${PN} || die
+
+   if use blender; then
+   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+   rm README LICENSES INSTALL CHANGELOG .gitignore || die
+   # grab blender version number for plugin directory
+   local blender_plugin_dir=$(best_version media-gfx/blender)
+   blender_plugin_dir=${blender_plugin_dir##*/} # remove category
+   blender_plugin_dir=${blender_plugin_dir#*-}  # remove package 
name
+   blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision 
number if exists
+   insinto 
/usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
+   doins -r .
+   popd || die
+   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"
+

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2019-06-12 Thread Andreas Sturmlechner
commit: bc1027644e374193c17dd59505f6271f914a5566
Author: Bernd Waibel  gmail  com>
AuthorDate: Fri May 31 19:59:34 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jun 12 13:32:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc102764

media-gfx/yafaray: drop broken 3.3.0-r1 ebuild

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Bernd Waibel  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/yafaray/yafaray-3.3.0-r1.ebuild | 110 --
 1 file changed, 110 deletions(-)

diff --git a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild 
b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
deleted file mode 100644
index 01987b31372..000
--- a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{5,6,7} )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A free open-source montecarlo raytracing engine"
-HOMEPAGE="http://www.yafaray.org;
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
-   https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff 
truetype"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/boost:=
-   dev-libs/libxml2:2
-   sys-libs/zlib
-   blender? ( media-gfx/blender )
-   jpeg? ( virtual/jpeg:0 )
-   opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
-   openexr? ( >=media-libs/openexr-2.2.0:= )
-   png? ( media-libs/libpng:0= )
-   python? ( ${PYTHON_DEPS} )
-   tiff? ( media-libs/tiff:0 )
-   truetype? ( media-libs/freetype:2 )
-"
-DEPEND="${RDEPEND}
-   dev-lang/swig
-"
-
-S="${WORKDIR}/Core-${PV}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" 
"${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
-
-   eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
-   eapply "${FILESDIR}/${P}-respect-cflags.patch"
-   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
-   eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
-   popd || dir
-   eapply_user
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DYAF_LIB_DIR=$(get_libdir)
-   -DWITH_YAF_PY_BINDINGS=$(usex python)
-   -DYAF_PY_VERSION=${EPYTHON#python}
-   -DWITH_YAF_RUBY_BINDINGS=OFF
-   -DBLENDER_ADDON=OFF # addon is a separate package called 
blender-exporter
-   -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
-   -DFAST_MATH=$(usex fastmath)
-   -DFAST_TRIG=$(usex fasttrig)
-   -DWITH_JPEG="$(usex jpeg)"
-   -DWITH_OpenCV="$(usex opencv)"
-   -DWITH_OpenEXR="$(usex openexr)"
-   -DWITH_PNG="$(usex png)"
-   -DWITH_QT=OFF # qt4 only at the moment
-   -DWITH_TIFF="$(usex tiff)"
-   -DWITH_Freetype="$(usex truetype)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
-   python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
-   rm -v 
"${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || 
die
-
-   if use blender; then
-   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
-   rm README LICENSES INSTALL CHANGELOG .gitignore || die
-   # grab blender version number for plugin directory
-   local blender_plugin_dir=$(best_version media-gfx/blender)
-   blender_plugin_dir=${blender_plugin_dir##*/} # remove category
-   blender_plugin_dir=${blender_plugin_dir#*-}  # remove package 
name
-   blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision 
number if exists
-   insinto 
/usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
-   doins -r .
-   popd || die
-   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'"
-   if use blender; then
-   elog
-   elog "To use within Blender, navigate to File -> User 
Preferences -> Add-ons (tab)"
-   elog "and enable 'Render: YafaRay v3 Exporter'. This will make 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2019-05-18 Thread Michael Palimaka
commit: 8d456c71da6996cf904b4cd657bc1c02cdfc5efd
Author: Bernd Waibel  gmail  com>
AuthorDate: Fri May 17 14:22:25 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun May 19 00:18:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d456c71

media-gfx/yafaray: adjust maintainer

Add myself and proxy-maint as maintainers
See also
https://archives.gentoo.org/gentoo-dev/message/45119cbca4867b04277d52dadfede506

Closes: https://bugs.gentoo.org/686156
Closes: https://github.com/gentoo/gentoo/pull/12029
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Bernd Waibel  gmail.com>
Signed-off-by: Michael Palimaka  gentoo.org>

 media-gfx/yafaray/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index f6cffe69824..795c6e4891e 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   wae...@gmail.com
+   Bernd Waibel
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainer Team
+   

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". Blender 3D is the host application of YafaRay.



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2018-10-20 Thread Pacho Ramos
commit: a32b23bdd9ad7b4cf2e025a5b35f52fb636324c7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct 20 17:45:41 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct 20 18:51:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32b23bd

media-gfx/yafaray: Drop old

Signed-off-by: Pacho Ramos  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/yafaray/yafaray-3.3.0.ebuild | 101 -
 1 file changed, 101 deletions(-)

diff --git a/media-gfx/yafaray/yafaray-3.3.0.ebuild 
b/media-gfx/yafaray/yafaray-3.3.0.ebuild
deleted file mode 100644
index 3b077ecb4aa..000
--- a/media-gfx/yafaray/yafaray-3.3.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6} )
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A free open-source montecarlo raytracing engine"
-HOMEPAGE="http://www.yafaray.org;
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
-   https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff 
truetype"
-
-RDEPEND="dev-libs/boost:=
-   dev-libs/libxml2
-   sys-libs/zlib
-   blender? ( media-gfx/blender )
-   jpeg? ( virtual/jpeg:0 )
-   opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
-   openexr? ( >=media-libs/openexr-2.2.0:= )
-   png? ( media-libs/libpng:= )
-   python? ( ${PYTHON_DEPS} )
-   tiff? ( media-libs/tiff:0 )
-   truetype? ( media-libs/freetype )"
-DEPEND="${RDEPEND}
-   dev-lang/swig"
-
-S="${WORKDIR}/Core-${PV}"
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" 
"${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
-
-   eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
-   eapply "${FILESDIR}/${P}-respect-cflags.patch"
-   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
-   eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
-   popd || dir
-   eapply_user
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DYAF_LIB_DIR=$(get_libdir)
-   -DWITH_YAF_PY_BINDINGS=$(usex python)
-   -DWITH_YAF_RUBY_BINDINGS=OFF
-   -DBLENDER_ADDON=OFF # addon is a separate package called 
blender-exporter
-   -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
-   -DFAST_MATH=$(usex fastmath)
-   -DFAST_TRIG=$(usex fasttrig)
-   -DWITH_JPEG="$(usex jpeg)"
-   -DWITH_OpenCV="$(usex opencv)"
-   -DWITH_OpenEXR="$(usex openexr)"
-   -DWITH_PNG="$(usex png)"
-   -DWITH_QT=OFF # qt4 only at the moment
-   -DWITH_TIFF="$(usex tiff)"
-   -DWITH_Freetype="$(usex truetype)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
-   python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
-   rm -v 
"${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || 
die
-
-   if use blender; then
-   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
-   rm README LICENSES INSTALL CHANGELOG .gitignore || die
-   # grab blender version number for plugin directory
-   local blender_plugin_dir=$(best_version media-gfx/blender)
-   blender_plugin_dir=${blender_plugin_dir##*/} # remove category
-   blender_plugin_dir=${blender_plugin_dir#*-}  # remove package 
name
-   blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision 
number if exists
-   insinto 
/usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
-   doins -r .
-   popd || die
-   fi
-}
-
-pkg_postinst() {
-   elog "To confirm your installation is working as expected, run"
-   elog "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
-   elog "as an input file, then compare the result to"
-   elog "'/usr/share/yafaray/tests/test01/test01 - expected render 
result.png'"
-   if use blender; then
-   elog
-   elog "To use within Blender, navigate to File -> User 
Preferences -> Add-ons (tab)"
-   elog "and enable 'Render: YafaRay v3 Exporter'. This will make 
YafaRay available"
-   elog "in the render engines drop-down."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/

2018-10-20 Thread Pacho Ramos
commit: 3d532c453bbfafd32c78e4886cb95969f961ffe6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct 20 17:45:24 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct 20 18:51:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d532c45

media-gfx/yafaray: Fix building (#663522)

Thanks-to: Toralf Förster
Thanks-to: vena.dewinter
Thanks-to: Herb Miller Jr.
Closes: https://bugs.gentoo.org/663522
Signed-off-by: Pacho Ramos  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/yafaray/yafaray-3.3.0-r1.ebuild | 110 ++
 1 file changed, 110 insertions(+)

diff --git a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild 
b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
new file mode 100644
index 000..01987b31372
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A free open-source montecarlo raytracing engine"
+HOMEPAGE="http://www.yafaray.org;
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> 
${PN}-core-${PV}.tar.gz
+   https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> 
${PN}-blender-exporter-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff 
truetype"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/boost:=
+   dev-libs/libxml2:2
+   sys-libs/zlib
+   blender? ( media-gfx/blender )
+   jpeg? ( virtual/jpeg:0 )
+   opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
+   openexr? ( >=media-libs/openexr-2.2.0:= )
+   png? ( media-libs/libpng:0= )
+   python? ( ${PYTHON_DEPS} )
+   tiff? ( media-libs/tiff:0 )
+   truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}
+   dev-lang/swig
+"
+
+S="${WORKDIR}/Core-${PV}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" 
"${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
+
+   eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
+   eapply "${FILESDIR}/${P}-respect-cflags.patch"
+   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+   eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
+   popd || dir
+   eapply_user
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DYAF_LIB_DIR=$(get_libdir)
+   -DWITH_YAF_PY_BINDINGS=$(usex python)
+   -DYAF_PY_VERSION=${EPYTHON#python}
+   -DWITH_YAF_RUBY_BINDINGS=OFF
+   -DBLENDER_ADDON=OFF # addon is a separate package called 
blender-exporter
+   -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
+   -DFAST_MATH=$(usex fastmath)
+   -DFAST_TRIG=$(usex fasttrig)
+   -DWITH_JPEG="$(usex jpeg)"
+   -DWITH_OpenCV="$(usex opencv)"
+   -DWITH_OpenEXR="$(usex openexr)"
+   -DWITH_PNG="$(usex png)"
+   -DWITH_QT=OFF # qt4 only at the moment
+   -DWITH_TIFF="$(usex tiff)"
+   -DWITH_Freetype="$(usex truetype)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
+   python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
+   rm -v 
"${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || 
die
+
+   if use blender; then
+   pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+   rm README LICENSES INSTALL CHANGELOG .gitignore || die
+   # grab blender version number for plugin directory
+   local blender_plugin_dir=$(best_version media-gfx/blender)
+   blender_plugin_dir=${blender_plugin_dir##*/} # remove category
+   blender_plugin_dir=${blender_plugin_dir#*-}  # remove package 
name
+   blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision 
number if exists
+   insinto 
/usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
+   doins -r .
+   popd || die
+   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'"
+   if use blender; then
+   elog
+   elog "To use within Blender, navigate to File -> User 
Preferences -> Add-ons (tab)"
+   elog "and 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, sys-apps/miller/, dev-libs/granite/, app-misc/gramps/, ...

2018-10-09 Thread Michał Górny
commit: 1e9e2f5f8e09570ffd15db3593a38ab71ebf403e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  9 20:51:54 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  9 20:57:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9e2f5f

*/*: Herb Miller Jr. is retiring as proxied maintainer

Closes: https://bugs.gentoo.org/647176
Signed-off-by: Michał Górny  gentoo.org>

 app-misc/gramps/metadata.xml  | 9 +
 dev-libs/granite/metadata.xml | 9 +
 media-gfx/sane-frontends/metadata.xml | 9 +
 media-gfx/yafaray/metadata.xml| 9 +
 net-dialup/freeradius/metadata.xml| 9 +
 sys-apps/miller/metadata.xml  | 9 +
 6 files changed, 6 insertions(+), 48 deletions(-)

diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml
index f7eab38a893..e6ca596a1b8 100644
--- a/app-misc/gramps/metadata.xml
+++ b/app-misc/gramps/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   h...@hlmjr.com
-   Herb Miller Jr. (herbmillerjr)
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

GRAMPS helps you track your family tree. It allows you to 
store, edit,
and research genealogical data. GRAMPS attempts to provide all 
of the

diff --git a/dev-libs/granite/metadata.xml b/dev-libs/granite/metadata.xml
index 1071e73abde..6ae6a460b06 100644
--- a/dev-libs/granite/metadata.xml
+++ b/dev-libs/granite/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   h...@hlmjr.com
-   Herb Miller Jr. (herbmillerjr)
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

Granite is a companion library for GTK+ and GLib. Among other 
things,
it provides complex widgets and convenience functions designed 
for

diff --git a/media-gfx/sane-frontends/metadata.xml 
b/media-gfx/sane-frontends/metadata.xml
index 8b40ef0464f..58f638b2ac3 100644
--- a/media-gfx/sane-frontends/metadata.xml
+++ b/media-gfx/sane-frontends/metadata.xml
@@ -1,12 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   h...@hlmjr.com
-   Herb Miller Jr. (herbmillerjr)
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   
 

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index cee5f0b787f..f6cffe69824 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   h...@hlmjr.com
-   Herb Miller Jr. (herbmillerjr)
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

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". Blender 3D is the host application of YafaRay.

diff --git a/net-dialup/freeradius/metadata.xml 
b/net-dialup/freeradius/metadata.xml
index ff1258ca849..abccf790606 100644
--- a/net-dialup/freeradius/metadata.xml
+++ b/net-dialup/freeradius/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-h...@hlmjr.com
-Herb Miller Jr. (herbmillerjr)
-  
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
+  
   
 
   Include dev-libs/libmemcached in caching drivers

diff --git a/sys-apps/miller/metadata.xml b/sys-apps/miller/metadata.xml
index bea67532f6a..8181d42fee8 100644
--- a/sys-apps/miller/metadata.xml
+++ b/sys-apps/miller/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   h...@hlmjr.com
-   Herb Miller Jr. (herbmillerjr)
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

johnkerl/miller




[gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/files/, media-gfx/yafaray/

2018-05-29 Thread Michał Górny
commit: 11bd4094e336b9ac197ac5f571cf14253c6379dc
Author: Herb Miller Jr  hlmjr  com>
AuthorDate: Wed Mar 21 11:37:54 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 29 21:41:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11bd4094

media-gfx/yafaray: Create 3.3.0 ebuild.

Closes: https://bugs.gentoo.org/639046
Closes: https://github.com/gentoo/gentoo/pull/7530
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-gfx/yafaray/Manifest |   2 +
 .../yafaray-3.3.0-blender-exporter-paths.patch |  15 +++
 .../files/yafaray-3.3.0-respect-cflags.patch   |  14 +++
 .../files/yafaray-3.3.0-strip-debug-mode.patch |  12 +++
 media-gfx/yafaray/metadata.xml |  23 +
 media-gfx/yafaray/yafaray-3.3.0.ebuild | 101 +
 6 files changed, 167 insertions(+)

diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
new file mode 100644
index 000..967398bad99
--- /dev/null
+++ b/media-gfx/yafaray/Manifest
@@ -0,0 +1,2 @@
+DIST yafaray-blender-exporter-3.3.0.tar.gz 377928 BLAKE2B 
7876c78ca6228282648909e566803b33304be0082fab48819340845e3927877b9734f7bc7e09702bf7cbf6477c68932637eb766dc98b9e8e4ab42ca99d2a3595
 SHA512 
70a1a806d97f6f3b43cdb5d6caac6104f0f63720d5920f6a623078e05e6977d065d2fabca4da1644deb97f09176b88347f0278e4bc699c783d807d3f530421d0
+DIST yafaray-core-3.3.0.tar.gz 1135360 BLAKE2B 
67f6956a3866bfe0b4167f30a7c2c7f05ee23556e9fff7041ff3937e90011e4c2538b706ae27e02351ae555d0d05531f3eb711257591d85f779683c9c42ac6f7
 SHA512 
32efb87872485c4a188483ae1172cac2eca2281e7b9ab29f184c047b94f3986d65da199a74c169d0e2fd6af59cf37b7deb69dcfb1cb4763bb1ebca30d46b5b90

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch
new file mode 100644
index 000..9bf4f2b91f6
--- /dev/null
+++ b/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch
@@ -0,0 +1,15 @@
+diff --git a/work/Blender-Exporter-3.3.0/__init__.py 
b/work/Blender-Exporter-3.3.0/__init__.py
+index 85dc1c2..70a79e8 100644
+--- a/__init__.py
 b/__init__.py
+@@ -22,8 +22,8 @@ import sys
+ import os
+ import ctypes
+ 
+-PLUGIN_PATH = os.path.join(__path__[0], 'bin', 'yafaray-plugins')
+-BIN_PATH = os.path.join(__path__[0], 'bin')
++PLUGIN_PATH = '/usr/lib/yafaray-plugins'
++BIN_PATH = '/usr/bin'
+ YAF_ID_NAME = "YAFA_V3_RENDER"
+ 
+ # Version to be automatically populated during the cmake build process, 
getting the version from git tags

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch
new file mode 100644
index 000..c22ff7e41ea
--- /dev/null
+++ b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch
@@ -0,0 +1,14 @@
+diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt
+index 75fd2c6..94c2502 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -219,9 +219,6 @@ if(NOT WIN32)
+   set(YAF_BINDINGS_RUBY_DIR ${YAF_LIB_DIR})
+   endif(NOT YAF_BINDINGS_RUBY_DIR)
+ 
+-  # build flags
+-  set(CMAKE_CXX_FLAGS "-Wall" 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)

diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch 
b/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch
new file mode 100644
index 000..3bdb4eeef36
--- /dev/null
+++ b/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch
@@ -0,0 +1,12 @@
+diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt
+index 75fd2c6..52c6b3d 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -17,7 +17,6 @@ option(WITH_YAF_PY_BINDINGS "Enable the YafaRay Python 
bindings" ON)
+ option(WITH_YAF_RUBY_BINDINGS "Enable the YafaRay Ruby bindings" OFF)
+ option(WITH_OSX_ADDON "Enable the use of blender's included python lib on OSX 
platforms" OFF)
+ option(WITH_OpenCV "Build OpenCV image processing support" ON)
+-option(DEBUG_BUILD "Enable debug build mode" OFF)
+ option(EMBED_FONT_QT "Embed font for QT GUI (usefull for some buggy QT 
installations)" OFF)
+ option(FAST_MATH "Enable mathematic approximations to make code faster" ON)
+ option(FAST_TRIG "Enable trigonometric approximations to make code faster" ON)

diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
new file mode 100644
index 000..cee5f0b787f
--- /dev/null
+++ b/media-gfx/yafaray/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   h...@hlmjr.com
+   Herb Miller Jr. (herbmillerjr)
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   YafaRay is a raytracing open