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

2024-03-04 Thread Sam James
commit: 78cb0269257b225aa34bcaf79962527843a5c704
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Mar  5 04:41:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 04:47:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cb0269

media-gfx/povray: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/859784
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r4.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/media-gfx/povray/povray-3.7.0.0-r4.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
index 14d2bd4402a7..8fbfdb6ab113 100644
--- a/media-gfx/povray/povray-3.7.0.0-r4.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
@@ -90,6 +90,14 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/859784
+   # https://github.com/POV-Ray/povray/issues/458
+   # Upstream activity is dead for 3 years now, so don't hold
+   # your breath for a fix.
+   append-flags -fno-strict-aliasing
+   filter-lto
+
# Fixes bug 71255
if [[ $(get-flag march) == k6-2 ]]; then
filter-flags -fomit-frame-pointer



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

2023-12-28 Thread Sam James
commit: d9d41012ea1c2e0280c74f55085968d961205c3f
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 29 00:32:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 29 00:32:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d41012

media-gfx/povray: Keyword 3.7.0.0-r4 arm64, #920867

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

 media-gfx/povray/povray-3.7.0.0-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r4.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
index 71132b8b773e..74454e0678a3 100644
--- a/media-gfx/povray/povray-3.7.0.0-r4.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-10-08 Thread Sam James
commit: ed24004f81b3476b613f48a9eb4f7fb980e79ded
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 19:19:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 19:19:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed24004f

media-gfx/povray: fix DeprecatedEclass (versionator)

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 4e032565db8a..23510219e5bc 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=6
 
-inherit autotools flag-o-matic versionator virtualx
+inherit autotools eapi7-ver flag-o-matic virtualx
 
-POVRAY_MAJOR_VER=$(get_version_component_range 1-3)
-POVRAY_MINOR_VER=$(get_version_component_range 4)
+POVRAY_MAJOR_VER=$(ver_cut 1-3)
+POVRAY_MINOR_VER=$(ver_cut 4)
 if [ -n "$POVRAY_MINOR_VER" ]; then
POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC}
MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}"



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

2022-08-29 Thread Andreas Sturmlechner
commit: 28c72d8ce608c7280ada1d1a13bcd85b2c4a6d10
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Aug 28 17:38:45 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 29 18:39:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c72d8c

media-gfx/povray: drop 3.7.0.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 145 --
 1 file changed, 145 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
deleted file mode 100644
index 1bca37a88528..
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic versionator virtualx
-
-POVRAY_MAJOR_VER=$(get_version_component_range 1-3)
-POVRAY_MINOR_VER=$(get_version_component_range 4)
-if [ -n "$POVRAY_MINOR_VER" ]; then
-   POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC}
-   MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}"
-else
-   MY_PV=${POVRAY_MAJOR_VER}
-fi
-
-DESCRIPTION="The Persistence of Vision Raytracer"
-HOMEPAGE="https://www.povray.org/;
-SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   
https://dev.gentoo.org/~soap/distfiles/${P}_p20160914-fix-c++14.patch.bz2;
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="debug +io-restrictions openexr tiff X"
-
-DEPEND="
-   >=dev-libs/boost-1.50.0:=[threads(+)]
-   media-libs/libpng:0
-   sys-libs/zlib
-   virtual/jpeg:0
-   openexr? (
-   media-libs/ilmbase:=
-   /dev/null || die
-   pushd config &>/dev/null || die
-   rm -rf \
-   acx_pthread.m4 \
-   ax_boost_base.m4 \
-   ax_boost_thread.m4 \
-   ax_compare_version.m4 \
-   ax_compiler_vendor.m4 \
-   ax_compiler_version.m4 || die
-   popd &>/dev/null || die
-   bash -x prebuild.sh || die
-   popd &>/dev/null || die
-
-   rm -rf libraries || die
-
-   # Change some directories that cannot be adjusted via configure
-   sed \
-   -e 
's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \
-   -e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-   -e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-   -e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
-   -e "s:\"/usr/include\":\"${EPREFIX}/usr/include\":" \
-   -e "s:\"/usr/lib\":\"${EPREFIX}/usr/$(get_libdir)\":" \
-   -i configure.ac || die
-
-   sed \
-   -e "s:^povlibdir = .*:povlibdir = @datadir@/${PN}:" \
-   -e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" \
-   -e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" \
-   -e 's:mkdir_p:MKDIR_P:g' \
-   -i Makefile.am || die
-
-   # The "+p" option on the test command line causes a pause and
-   # prompts the user to interact, so remove it.
-   sed -i -e "s:biscuit.pov -f +d +p:biscuit.pov -f +d:" Makefile.am || die
-   default
-
-   eautoreconf
-}
-
-src_configure() {
-   # Fixes bug 71255
-   if [[ $(get-flag march) == k6-2 ]]; then
-   filter-flags -fomit-frame-pointer
-   fi
-
-   # The config files are installed correctly (e.g. povray.conf),
-   # but the code compiles using incorrect [default] paths
-   # (based on /usr/local...), so povray will not find the system
-   # config files without the following fix:
-   append-cppflags -DPOVLIBDIR=\\\"${EROOT}usr/share/${PN}\\\" 
-DPOVCONFDIR=\\\"${EROOT}etc/${PN}\\\"
-
-   econf \
-   COMPILED_BY="Portage (Gentoo $(uname)) on $(hostname -f)" \
-   $(use_enable debug) \
-   $(use_enable io-restrictions) \
-   $(use_with openexr openexr "${EPREFIX}/usr/$(get_libdir)") \
-   $(use_with tiff libtiff "${EPREFIX}/usr/$(get_libdir)") \
-   $(use_with X libsdl "${EPREFIX}/usr/$(get_libdir)") \
-   $(use_with X x "${EPREFIX}/usr/$(get_libdir)") \
-   $(usex tiff "" "NON_REDISTRIBUTABLE_BUILD=yes") \
-   --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
-   --without-libmkl \
-   --disable-pipe \
-   --disable-static \
-   --disable-strip \
-   --disable-optimiz \
-   --disable-optimiz-arch
-}
-
-src_test() {
-   virtx default
-}
-
-pkg_preinst() {
-   # Copy the old 

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

2022-06-16 Thread Sam James
commit: b52b1b35164c0f54776cc4719e66101e2f35f23d
Author: Thomas Bracht Laumann Jespersen  laumann  xyz>
AuthorDate: Wed Jun  8 20:03:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 16:30:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52b1b35

media-gfx/povray: fix unquoted variables

Signed-off-by: Thomas Bracht Laumann Jespersen  laumann.xyz>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++--
 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index ff38982430aa..1bca37a88528 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -73,8 +73,8 @@ src_prepare() {
-e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
-   -e 's:"/usr/include":"'${EPREFIX}'/usr/include":' \
-   -e 's:"/usr/lib":"'${EPREFIX}'/usr/'$(get_libdir)'":' \
+   -e "s:\"/usr/include\":\"${EPREFIX}/usr/include\":" \
+   -e "s:\"/usr/lib\":\"${EPREFIX}/usr/$(get_libdir)\":" \
-i configure.ac || die
 
sed \

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index a06a580bf170..d9ac74594419 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -70,8 +70,8 @@ src_prepare() {
-e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
-   -e 's:"/usr/include":"'${EPREFIX}'/usr/include":' \
-   -e 's:"/usr/lib":"'${EPREFIX}'/usr/'$(get_libdir)'":' \
+   -e "s:\"/usr/include\":\"${EPREFIX}/usr/include\":" \
+   -e "s:\"/usr/lib\":\"${EPREFIX}/usr/$(get_libdir)\":" \
-i configure.ac || die
 
sed \
@@ -99,7 +99,7 @@ src_configure() {
# but the code compiles using incorrect [default] paths
# (based on /usr/local...), so povray will not find the system
# config files without the following fix:
-   append-cppflags -DPOVLIBDIR=\\\"${EROOT}usr/share/${PN}\\\" 
-DPOVCONFDIR=\\\"${EROOT}etc/${PN}\\\"
+   append-cppflags -DPOVLIBDIR=\\\""${EROOT}"usr/share/${PN}\\\" 
-DPOVCONFDIR=\\\""${EROOT}"etc/${PN}\\\"
 
# TODO: Restore OpenEXR if upstream start to support OpenEXR 3/imath
econf \



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

2022-04-27 Thread Andreas K. Hüttel
commit: b4795f432fc377f619652566194bb02fb91fab7a
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Apr 27 21:55:27 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Apr 27 21:56:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4795f43

media-gfx/povray: Drop mips keyword

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++--
 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 5eab9b2b5c70..ff38982430aa 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-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=6
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions openexr tiff X"
 
 DEPEND="

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 89abce251e24..a06a580bf170 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-28 Thread Sam James
commit: 7dba9ad6ff1ad02f3db93f28d45bf84e5243b6d1
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  1 00:00:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  1 00:00:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dba9ad6

media-gfx/povray: Stabilize 3.7.0.0-r2 ppc64, #833158

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index f52cd97b2d29..89abce251e24 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-28 Thread Sam James
commit: 881b475f2b3b51c0ee17d91f7499c5e9a881
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 23:56:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 23:56:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881b475f

media-gfx/povray: Stabilize 3.7.0.0-r2 x86, #833158

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index dabf81109181..f52cd97b2d29 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-27 Thread Sam James
commit: 4140e5cb24f3b5b6c7b3aef375013c23670a0737
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 05:45:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 05:45:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4140e5cb

media-gfx/povray: Stabilize 3.7.0.0-r2 sparc, #833158

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 8797dae8da30..47a7f1deeeb2 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-27 Thread Sam James
commit: f5c82eb8f450fd348b32035d0e3f82e65c8a4af2
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 05:45:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 05:45:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c82eb8

media-gfx/povray: Stabilize 3.7.0.0-r2 ppc, #833158

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 47a7f1deeeb2..dabf81109181 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-27 Thread Sam James
commit: 54a3164be53ff37fcd0803a5559930f5f14482dd
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 05:19:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 05:19:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a3164b

media-gfx/povray: Stabilize 3.7.0.0-r2 amd64, #833158

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 3e4c29a04a3e..8797dae8da30 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions tiff X"
 
 DEPEND="



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

2022-02-15 Thread Sam James
commit: 5d2f32df6d14ef3b47278e59ab39fd4df1d3eba8
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 12 21:02:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 15 19:50:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2f32df

media-gfx/povray: drop OpenEXR support

- No activity upstream involving this, it seems
- Fedora don't seem to be patching it but it doesn't
  seem to work here (silently ignored during build)
- No reverse dependencies

Bug: https://bugs.gentoo.org/833158
Signed-off-by: Sam James  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 143 ++
 1 file changed, 143 insertions(+)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
new file mode 100644
index ..3e4c29a04a3e
--- /dev/null
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator virtualx
+
+POVRAY_MAJOR_VER=$(get_version_component_range 1-3)
+POVRAY_MINOR_VER=$(get_version_component_range 4)
+if [ -n "$POVRAY_MINOR_VER" ]; then
+   POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC}
+   MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}"
+else
+   MY_PV=${POVRAY_MAJOR_VER}
+fi
+
+DESCRIPTION="The Persistence of Vision Raytracer"
+HOMEPAGE="https://www.povray.org/;
+SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   
https://dev.gentoo.org/~soap/distfiles/${P}_p20160914-fix-c++14.patch.bz2;
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="debug +io-restrictions tiff X"
+
+DEPEND="
+   >=dev-libs/boost-1.50.0:=[threads(+)]
+   media-libs/libpng:0
+   sys-libs/zlib
+   virtual/jpeg:0
+   tiff? ( media-libs/tiff:0 )
+   X? ( media-libs/libsdl )"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+   sys-devel/autoconf-archive"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+PATCHES=(
+   "${FILESDIR}"/${P}-user-conf.patch
+   "${FILESDIR}"/${P}-automagic.patch
+   "${WORKDIR}"/${P}_p20160914-fix-c++14.patch
+   "${FILESDIR}"/${P}-gcc6-openexr.patch
+)
+
+src_prepare() {
+   [[ ${CHOST} == *-darwin* ]] && \
+   PATCHES+=( "${FILESDIR}"/${PN}-3.7.0_rc6-darwin-defaults.patch )
+   eapply "${FILESDIR}"/${P}-r1-boost-1.50.patch
+
+   pushd unix &>/dev/null || die
+   pushd config &>/dev/null || die
+   rm -rf \
+   acx_pthread.m4 \
+   ax_boost_base.m4 \
+   ax_boost_thread.m4 \
+   ax_compare_version.m4 \
+   ax_compiler_vendor.m4 \
+   ax_compiler_version.m4 || die
+   popd &>/dev/null || die
+   bash -x prebuild.sh || die
+   popd &>/dev/null || die
+
+   rm -rf libraries || die
+
+   # Change some directories that cannot be adjusted via configure
+   sed \
+   -e 
's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \
+   -e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
+   -e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
+   -e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
+   -e 's:"/usr/include":"'${EPREFIX}'/usr/include":' \
+   -e 's:"/usr/lib":"'${EPREFIX}'/usr/'$(get_libdir)'":' \
+   -i configure.ac || die
+
+   sed \
+   -e "s:^povlibdir = .*:povlibdir = @datadir@/${PN}:" \
+   -e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" \
+   -e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" \
+   -e 's:mkdir_p:MKDIR_P:g' \
+   -i Makefile.am || die
+
+   # The "+p" option on the test command line causes a pause and
+   # prompts the user to interact, so remove it.
+   sed -i -e "s:biscuit.pov -f +d +p:biscuit.pov -f +d:" Makefile.am || die
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   # Fixes bug 71255
+   if [[ $(get-flag march) == k6-2 ]]; then
+   filter-flags -fomit-frame-pointer
+   fi
+
+   # The config files are installed correctly (e.g. povray.conf),
+   # but the code compiles using incorrect [default] paths
+   # (based on /usr/local...), so povray will not find the system
+   # config files without the following fix:
+   append-cppflags -DPOVLIBDIR=\\\"${EROOT}usr/share/${PN}\\\" 
-DPOVCONFDIR=\\\"${EROOT}etc/${PN}\\\"
+
+   # TODO: Restore OpenEXR if upstream start to support OpenEXR 3/imath
+   econf \
+   COMPILED_BY="Portage (Gentoo $(uname)) on $(hostname -f)" \
+   

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

2021-12-06 Thread David Seifert
commit: f5a3f1b71c33030356a10320181b8be41a44b836
Author: David Seifert  gentoo  org>
AuthorDate: Mon Dec  6 12:15:21 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec  6 12:15:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a3f1b7

media-gfx/povray: remove USE=static-libs

Bug: https://bugs.gentoo.org/813049
Signed-off-by: David Seifert  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index f6193beca6b2..5eab9b2b5c70 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -22,7 +22,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="debug +io-restrictions openexr static-libs tiff X"
+IUSE="debug +io-restrictions openexr tiff X"
 
 DEPEND="
>=dev-libs/boost-1.50.0:=[threads(+)]
@@ -112,11 +112,11 @@ src_configure() {
$(use_with tiff libtiff "${EPREFIX}/usr/$(get_libdir)") \
$(use_with X libsdl "${EPREFIX}/usr/$(get_libdir)") \
$(use_with X x "${EPREFIX}/usr/$(get_libdir)") \
-   $(use_enable static-libs static) \
$(usex tiff "" "NON_REDISTRIBUTABLE_BUILD=yes") \
--with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
--without-libmkl \
--disable-pipe \
+   --disable-static \
--disable-strip \
--disable-optimiz \
--disable-optimiz-arch



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

2021-07-21 Thread Marek Szuba
commit: f120b747ad8c56cd87f8ccaa68496f3a0fd7d01a
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 21 23:06:45 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jul 22 00:19:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f120b747

media-gfx/povray: keyword 3.7.0.0-r1 for ~riscv

Because why not! Builds, tests and installs fine, if not exactly
quickly.

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 1813ae95f85..f6193beca6b 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="



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

2021-07-21 Thread Marek Szuba
commit: d258320fbbabe56c22b9c35ece43ad11aeb4d474
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 21 21:13:07 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d258320f

media-gfx/povray: add slot operator for openexr

The PR originally added a new revision for this which additionally
bumped EAPI to 7 and addressed some other issues, however there are some
peculiarities in the original which ended up propagated to the new
revision and about which I am not quite sure - and in any case the
-r1 has to be pointed to :0 as well lest CI complain.

Signed-off-by: Marek Szuba  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 0808cab1667..1813ae95f85 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -15,7 +15,7 @@ else
 fi
 
 DESCRIPTION="The Persistence of Vision Raytracer"
-HOMEPAGE="http://www.povray.org/;
+HOMEPAGE="https://www.povray.org/;
 SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz

https://dev.gentoo.org/~soap/distfiles/${P}_p20160914-fix-c++14.patch.bz2;
 
@@ -30,8 +30,8 @@ DEPEND="
sys-libs/zlib
virtual/jpeg:0
openexr? (
-   media-libs/ilmbase
-   media-libs/openexr )
+   media-libs/ilmbase:=
+   

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

2021-01-31 Thread Conrad Kostecki
commit: 31c72ffcbcaa1f5cecb081b17ee52dbbd9d542ce
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jan 31 18:48:23 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jan 31 20:38:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c72ffc

media-gfx/povray: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19275
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../povray/files/povray-3.7.0.0-boost-1.50.patch   | 72 --
 1 file changed, 72 deletions(-)

diff --git a/media-gfx/povray/files/povray-3.7.0.0-boost-1.50.patch 
b/media-gfx/povray/files/povray-3.7.0.0-boost-1.50.patch
deleted file mode 100644
index f8e807ad647..000
--- a/media-gfx/povray/files/povray-3.7.0.0-boost-1.50.patch
+++ /dev/null
@@ -1,72 +0,0 @@
- configure.ac | 26 ++
- vfe/unix/platformbase.cpp |  2 +-
- 2 files changed, 7 insertions(+), 21 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 51596f8..900c150 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -57,8 +57,6 @@ AC_CONFIG_SRCDIR([unix/disp_text.cpp])
- m4_include([unix/config/acx_pthread.m4])
- m4_include([unix/config/ax_arg_enable.m4])
- m4_include([unix/config/ax_arg_with.m4])
--m4_include([unix/config/ax_boost_base.m4])
--m4_include([unix/config/ax_boost_thread.m4])
- m4_include([unix/config/ax_test_compiler_flags.m4])
- m4_include([unix/config/ax_check_lib.m4])
- m4_include([unix/config/ax_check_libjpeg.m4])
-@@ -168,6 +166,7 @@ AC_CANONICAL_HOST
- 
- AM_INIT_AUTOMAKE([1.9 dist-bzip2])
- AM_MAINTAINER_MODE
-+LT_INIT
- 
- AX_FIX_INCORRECT_PATH(C_INCLUDE_PATH, ".", [pov_warn_path="$pov_warn_path 
C_INCLUDE_PATH"])
- AX_FIX_INCORRECT_PATH(CPLUS_INCLUDE_PATH, ".", [pov_warn_path="$pov_warn_path 
CPLUS_INCLUDE_PATH"])
-@@ -298,28 +297,15 @@ LIBS="$LIBS $PTHREAD_CFLAGS $PTHREAD_LIBS"  # append
- 
- # Boost; required library
- # the following macro stops with error when boost is not found
--AX_BOOST_BASE([$required_libboost_version])
--AX_BOOST_THREAD
--if test x"$ax_cv_boost_thread" != x"yes"; then
-+BOOST_REQUIRE([$required_libboost_version])
-+BOOST_THREADS
-+if test x"$boost_cv_lib_thread" != x"yes"; then
-   AC_MSG_ERROR([cannot find a suitable boost thread library])
- else
-   CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"  # append
--  LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" # append
--  LIBS="$BOOST_THREAD_LIB $LIBS"
-+  LDFLAGS="$LDFLAGS -L$BOOST_LDPATH" # append
-+  LIBS="$BOOST_THREAD_LIBS $LIBS"
- fi
--AC_MSG_CHECKING([whether the boost thread library is usable])
--AC_RUN_IFELSE(
--  [AC_LANG_PROGRAM([[
--#include 
--]],
--[[boost::defer_lock_t(); return 0;]])],
--  [AC_MSG_RESULT([yes])],
--  [
--AC_MSG_RESULT([no])
--AC_MSG_FAILURE([cannot link with the boost thread library])
--  ],
--  [AC_MSG_RESULT([cross-compiling])]  # FIXME
--)
- AC_DEFINE([USE_OFFICIAL_BOOST], [], [Use the official Boost libraries.])
- 
- # Intel Math Kernel library
-diff --git a/vfe/unix/platformbase.cpp b/vfe/unix/platformbase.cpp
-index 8669d19..83c0191 100644
 a/vfe/unix/platformbase.cpp
-+++ b/vfe/unix/platformbase.cpp
-@@ -68,7 +68,7 @@ namespace pov_base
- #else
-   // taken from source/base/timer.cpp
-   boost::xtime t;
--  boost::xtime_get(, boost::TIME_UTC);
-+  boost::xtime_get(, POV_TIME_UTC);
-   POV_ULONG ns = (POV_ULONG)(t.sec) * (POV_ULONG)(10) + 
(POV_ULONG)(t.nsec) + (POV_ULONG)(msec) * (POV_ULONG)(100);
-   t.sec = (boost::xtime::xtime_sec_t)(ns / 
(POV_ULONG)(10));
-   t.nsec = (boost::xtime::xtime_nsec_t)(ns % 
(POV_ULONG)(10));



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

2021-01-23 Thread Andreas Sturmlechner
commit: 1b9b832907d3c395fc2965e511ca7f8e8e4402aa
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan 24 02:03:12 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan 24 02:03:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b9b8329

media-gfx/povray: Drop 3.7.0.0, EAPI-5--

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

 media-gfx/povray/metadata.xml  |   1 -
 media-gfx/povray/povray-3.7.0.0.ebuild | 146 -
 2 files changed, 147 deletions(-)

diff --git a/media-gfx/povray/metadata.xml b/media-gfx/povray/metadata.xml
index a23bbb8953d..fbb9f48050c 100644
--- a/media-gfx/povray/metadata.xml
+++ b/media-gfx/povray/metadata.xml
@@ -5,7 +5,6 @@
 s...@gentoo.org
   
   
-Enable support for Intel Vector Math Library, part of 
sci-libs/mkl
 POV-Ray's mechanism for control of I/O 
operations
   
   

diff --git a/media-gfx/povray/povray-3.7.0.0.ebuild 
b/media-gfx/povray/povray-3.7.0.0.ebuild
deleted file mode 100644
index 18e8cc6886c..000
--- a/media-gfx/povray/povray-3.7.0.0.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils flag-o-matic multilib versionator virtualx
-
-POVRAY_MAJOR_VER=$(get_version_component_range 1-3)
-POVRAY_MINOR_VER=$(get_version_component_range 4)
-if [ -n "$POVRAY_MINOR_VER" ]; then
-   POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC}
-   MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}"
-else
-   MY_PV=${POVRAY_MAJOR_VER}
-fi
-
-DESCRIPTION="The Persistence of Vision Raytracer"
-HOMEPAGE="http://www.povray.org/;
-SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos"
-IUSE="debug +io-restrictions mkl openexr static-libs tiff X"
-
-DEPEND="
-   >=dev-libs/boost-1.50.0:=[threads(+)]
-   media-libs/libpng:0
-   sys-libs/zlib
-   virtual/jpeg
-   mkl? ( sci-libs/mkl )
-   openexr? (
-   media-libs/ilmbase
-   media-libs/openexr )
-   tiff? ( media-libs/tiff:0 )
-   X? ( media-libs/libsdl )"
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND}
-   sys-devel/boost-m4"
-
-S=${WORKDIR}/${PN}-${MY_PV}
-
-PATCHES=(
-   "${FILESDIR}"/${P}-user-conf.patch
-   "${FILESDIR}"/${P}-boost-1.50.patch
-   "${FILESDIR}"/${P}-automagic.patch
-   )
-
-src_prepare() {
-   [[ ${CHOST} == *-darwin* ]] && \
-   PATCHES+=( "${FILESDIR}"/${PN}-3.7.0_rc6-darwin-defaults.patch )
-
-   cd unix || die
-   bash -x prebuild.sh || die
-   cd .. || die
-   rm -rf libraries || die
-
-   # Change some destination directories that cannot be adjusted via 
configure
-   sed \
-   -e 
's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \
-   -e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-   -e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-   -e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
-   -i configure.ac || die
-
-   sed \
-   -e "s:^povlibdir = .*:povlibdir = @datadir@/${PN}:" \
-   -e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" \
-   -e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" \
-   -e 's:mkdir_p:MKDIR_P:g' \
-   -i Makefile.am || die
-
-   # The "+p" option on the test command line causes a pause and
-   # prompts the user to interact, so remove it.
-   sed -i -e "s:biscuit.pov -f +d +p:biscuit.pov -f +d:" Makefile.am || die
-
-   autotools-utils_src_prepare
-}
-
-_src_compile() {
-   einfo "${LDFLAGS}"
-   autotools-utils_src_compile LDFLAGS="${LDFLAGS}"
-}
-
-src_configure() {
-   local non_redist_conf
-
-   # Fixes bug 71255
-   if [[ $(get-flag march) == k6-2 ]]; then
-   filter-flags -fomit-frame-pointer
-   fi
-
-   # The config files are installed correctly (e.g. povray.conf),
-   # but the code compiles using incorrect [default] paths
-   # (based on /usr/local...), so povray will not find the system
-   # config files without the following fix:
-   append-cppflags -DPOVLIBDIR=\\\"${EROOT}usr/share/${PN}\\\" 
-DPOVCONFDIR=\\\"${EROOT}etc/${PN}\\\"
-
-   if ! use tiff ; then
-   non_redist_conf="NON_REDISTRIBUTABLE_BUILD=yes"
-   else
-   non_redist_conf=""
-   fi
-
-   local myeconfargs=(
-   ${non_redist_conf}
-   COMPILED_BY="Portage (Gentoo `uname`) on `hostname -f`"
-   $(use_enable debug)
-   

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

2021-01-06 Thread Fabian Groffen
commit: c0e6a7e98ee40730f5a25ec392e4ef9cf8027100
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:05:45 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 14:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e6a7e9

media-gfx/povray: drop x86-macos

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

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++--
 media-gfx/povray/povray-3.7.0.0.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 366bbbf7809..0808cab1667 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="

diff --git a/media-gfx/povray/povray-3.7.0.0.ebuild 
b/media-gfx/povray/povray-3.7.0.0.ebuild
index c4dd57d5adc..18e8cc6886c 100644
--- a/media-gfx/povray/povray-3.7.0.0.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug +io-restrictions mkl openexr static-libs tiff X"
 
 DEPEND="



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

2019-07-26 Thread Guilherme Amadio
commit: 1c9d4d04419adae8b6e7db799abbe96b7dc74cdc
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Jul 26 12:20:27 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Jul 26 12:59:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9d4d04

media-gfx/povray: use X11 headers and libraries from prefix

The build system currently hard-codes the X11 include directory
to /usr/include and the library directory to /usr/lib, so the
fix is put unconditionally to fix libdir on non-prefix builds.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 2b48c77734e..25d38e4a1bc 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -67,12 +67,14 @@ src_prepare() {
 
rm -rf libraries || die
 
-   # Change some destination directories that cannot be adjusted via 
configure
+   # Change some directories that cannot be adjusted via configure
sed \
-e 
's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \
-e 
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-e 
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS 
-lboost_date_time:g' \
+   -e 's:"/usr/include":"'${EPREFIX}'/usr/include":' \
+   -e 's:"/usr/lib":"'${EPREFIX}'/usr/'$(get_libdir)'":' \
-i configure.ac || die
 
sed \



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

2018-06-08 Thread Guilherme Amadio
commit: b0f8d781eadbd4ab45eaec8c3c8d2a6dcacdff40
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Jun  8 12:17:53 2018 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Jun  8 12:18:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f8d781

media-gfx/povray: find boost from prefix

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 097bd61ed04..2b48c77734e 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -112,6 +112,7 @@ src_configure() {
$(use_with X x "${EPREFIX}/usr/$(get_libdir)") \
$(use_enable static-libs static) \
$(usex tiff "" "NON_REDISTRIBUTABLE_BUILD=yes") \
+   --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
--without-libmkl \
--disable-pipe \
--disable-strip \



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

2018-02-04 Thread Andreas Sturmlechner
commit: aa5c66c6010c96b9027044b8df6c9eee8a2cd1a1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb  4 17:16:07 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb  4 17:38:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5c66c6

media-gfx/povray: De-stabilise hppa

dev-libs/boost is not stable.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++--
 media-gfx/povray/povray-3.7.0.0.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index ac091168ba6..097bd61ed04 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="

diff --git a/media-gfx/povray/povray-3.7.0.0.ebuild 
b/media-gfx/povray/povray-3.7.0.0.ebuild
index 9a8ae2aa94b..ca52087701e 100644
--- a/media-gfx/povray/povray-3.7.0.0.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions mkl openexr static-libs tiff X"
 
 DEPEND="



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

2017-10-31 Thread Andreas Hüttel
commit: 7dc13b382ca650a5769697f8532ce15315e3dc9d
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Oct 31 19:15:44 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Oct 31 19:15:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc13b38

media-gfx/povray: Fix also openexr code for gcc-6, bug 635098

Closes: https://bugs.gentoo.org/635098
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../povray/files/povray-3.7.0.0-gcc6-openexr.patch | 39 ++
 media-gfx/povray/povray-3.7.0.0-r1.ebuild  |  1 +
 2 files changed, 40 insertions(+)

diff --git a/media-gfx/povray/files/povray-3.7.0.0-gcc6-openexr.patch 
b/media-gfx/povray/files/povray-3.7.0.0-gcc6-openexr.patch
new file mode 100644
index 000..8b06d609402
--- /dev/null
+++ b/media-gfx/povray/files/povray-3.7.0.0-gcc6-openexr.patch
@@ -0,0 +1,39 @@
+diff -ruN povray-3.7.0.0.orig/source/base/image/openexr.cpp 
povray-3.7.0.0/source/base/image/openexr.cpp
+--- povray-3.7.0.0.orig/source/base/image/openexr.cpp  2013-11-06 
21:28:15.0 +0100
 povray-3.7.0.0/source/base/image/openexr.cpp   2017-10-31 
20:11:28.244218318 +0100
+@@ -101,7 +101,7 @@
+ 
+   void write(const char *c, int n)
+   {
+-  if(os.write(c, n) == false)
++  if(! os.write(c, n))
+   throw POV_EXCEPTION(kFileDataErr, "Error while 
writing EXR output");
+   }
+ 
+@@ -115,7 +115,7 @@
+ 
+   void seekp(Int64 pos)
+   {
+-  if(os.seekg((unsigned long)pos) == false)
++  if(! os.seekg((unsigned long)pos))
+   throw POV_EXCEPTION(kFileDataErr, "Error when 
writing EXR output");
+   }
+   private:
+@@ -142,7 +142,7 @@
+ 
+   bool read(char *c, int n)
+   {
+-  if(is.read(c, n) == false)
++  if(! is.read(c, n))
+   throw POV_EXCEPTION(kFileDataErr, "Error while 
reading EXR file");
+   return (is.tellg() < fsize);
+   }
+@@ -157,7 +157,7 @@
+ 
+   void seekg(Int64 pos)
+   {
+-  if(is.seekg((unsigned long)pos) == false)
++  if(! is.seekg((unsigned long)pos))
+   throw POV_EXCEPTION(kFileDataErr, "Error while 
reading EXR file");
+   }
+   private:

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 35f061a1475..ac091168ba6 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -44,6 +44,7 @@ PATCHES=(
"${FILESDIR}"/${P}-user-conf.patch
"${FILESDIR}"/${P}-automagic.patch
"${WORKDIR}"/${P}_p20160914-fix-c++14.patch
+   "${FILESDIR}"/${P}-gcc6-openexr.patch
 )
 
 src_prepare() {



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

2016-11-19 Thread Jeroen Roovers
commit: 9fba171bb2adb3cb04c8f71191336ee8ab44f011
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Nov 19 09:25:38 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Nov 19 09:25:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fba171b

media-gfx/povray: Stable for PPC64 (bug #550018).

Package-Manager: portage-2.3.2
RepoMan-Options: --ignore-arches

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

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index c8f380a..cee0d06 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -22,7 +22,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="



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

2016-09-14 Thread David Seifert
commit: 61b2e8e0c8d0eabbb7325e88c961444d8c762c3b
Author: David Seifert  gentoo  org>
AuthorDate: Wed Sep 14 07:36:43 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Sep 14 07:37:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b2e8e0

media-gfx/povray: Allow for compiling with GCC 6

Gentoo-bug: 588464

Package-Manager: portage-2.3.0

 media-gfx/povray/Manifest | 1 +
 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/povray/Manifest b/media-gfx/povray/Manifest
index b909af9..80bed23 100644
--- a/media-gfx/povray/Manifest
+++ b/media-gfx/povray/Manifest
@@ -1 +1,2 @@
 DIST povray-3.7.0.0.tar.gz 38191521 SHA256 
bf68861d648e3acafbd1d83a25016a0c68547b257e4fa79fb36eb5f08d665f27 SHA512 
82e3dbcd58b7ae921fe3b953815ca4dbbfb22eda434554baee4accabd1455b18cb511061f1cf9cf93128fab0a042df374fe2f68186d78c19853a465bd4bcbe10
 WHIRLPOOL 
6fc85ef9dc0d31a96d98f52d4c0c42cb37264f4e90da842b0e976076fcb1abad3a38d5f5ce82ebdd111babc67d8f16e460f8b04fd40f9dadf8f115f9493e933f
+DIST povray-3.7.0.0_p20160914-fix-c++14.patch.bz2 12876 SHA256 
adc1a1cfda6494dfa18bb4a8c62e5a949e4369afc01d520975687c92edee69f8 SHA512 
3329da12a822762559445e208a746ff208c39f7b63e27ba84a390074bb52a105c9a2f66180e58c5157795bb16346e11b5b05efaf077ee0d8246179975a692b04
 WHIRLPOOL 
b3adb9f515841471ca7f1130e0991bbd362571f9c20c3f694cc73c03d3311b7143267b626bf08f2ac72b724ecf91274c24d4527e7a29c5368f1df874410a339f

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 1c4b19b..c8f380a 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -17,7 +17,8 @@ fi
 
 DESCRIPTION="The Persistence of Vision Raytracer"
 HOMEPAGE="http://www.povray.org/;
-SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   
https://dev.gentoo.org/~soap/distfiles/${P}_p20160914-fix-c++14.patch.bz2;
 
 LICENSE="AGPL-3"
 SLOT="0"
@@ -43,6 +44,7 @@ S=${WORKDIR}/${PN}-${MY_PV}
 PATCHES=(
"${FILESDIR}"/${P}-user-conf.patch
"${FILESDIR}"/${P}-automagic.patch
+   "${WORKDIR}"/${P}_p20160914-fix-c++14.patch
 )
 
 src_prepare() {



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

2016-07-05 Thread Tobias Klausmann
commit: 6f11b90b0eedd16d6c80fce84c20c6533922adfa
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Jul  5 08:29:17 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Jul  5 08:29:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f11b90b

media-gfx/povray-3.7.0.0-r1: add alpha keyword

Gentoo-Bug: 550018

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

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index b406421..da33001 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="



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

2016-07-04 Thread David Seifert
commit: 8eb4a9d69581f8a003f93efd7e5a9fbb2e8b6ca5
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jul  4 20:30:04 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jul  4 20:31:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eb4a9d6

media-gfx/povray: redirect pushd/popd output

Package-Manager: portage-2.3.0

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 331a9eb..b406421 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -50,8 +50,8 @@ src_prepare() {
PATCHES+=( "${FILESDIR}"/${PN}-3.7.0_rc6-darwin-defaults.patch )
eapply "${FILESDIR}"/${PF}-boost-1.50.patch
 
-   pushd unix
-   pushd config
+   pushd unix &>/dev/null || die
+   pushd config &>/dev/null || die
rm -rf \
acx_pthread.m4 \
ax_boost_base.m4 \
@@ -59,9 +59,9 @@ src_prepare() {
ax_compare_version.m4 \
ax_compiler_vendor.m4 \
ax_compiler_version.m4 || die
-   popd
+   popd &>/dev/null || die
bash -x prebuild.sh || die
-   popd
+   popd &>/dev/null || die
 
rm -rf libraries || die
 



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

2016-07-04 Thread Justin Lecher
commit: f86f25a0f98016a75bc4ee9e1702681152264b45
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Jul  4 20:21:45 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Jul  4 20:22:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f86f25a0

media-gfx/povray: Port virtualx.eclass in src_test() to EAPI=6

Package-Manager: portage-2.3.0
Signed-off-by: Justin Lecher  gentoo.org>

 media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index c1230eb..331a9eb 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -118,9 +118,7 @@ src_configure() {
 }
 
 src_test() {
-   # For the beta releases, we generate a license extension in case needed
-   VIRTUALX_COMMAND="autotools-utils_src_test"
-   virtualmake
+   virtx default
 }
 
 pkg_preinst() {



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

2016-06-30 Thread Jeroen Roovers
commit: fa40643c772bcd624a75ffb99fa4a01add95e5e1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jul  1 04:20:27 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jul  1 04:20:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa40643c

media-gfx/povray: Stable for HPPA (bug #550018).

Package-Manager: portage-2.3.0
RepoMan-Options: --ignore-arches

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

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 69b4645..c1230eb 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="



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

2016-06-10 Thread Agostino Sarubbo
commit: e491e2ec66f4f6df46d19a64bb6a2055c2f99790
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 10 13:52:41 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 10 13:52:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e491e2ec

media-gfx/povray: amd64 stable wrt bug #550018

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 5f0b81f..c37f655 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/POV-Ray/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug +io-restrictions openexr static-libs tiff X"
 
 DEPEND="



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

2016-04-03 Thread David Seifert
commit: d0c6bb10aef3c02beb00dc4960d09c8b747d4e52
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr  3 22:25:18 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr  3 22:25:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c6bb10

media-gfx/povray: Fix build system, add AX_BOOST_SYSTEM

Gentoo-Bug: 550018
* EAPI=6
* Switch back to autoconf-archive macros, scrap boost.m4
* Fix underlinking caused by recent boost versions
  requiring linking to boost::system

Package-Manager: portage-2.2.28

 .../files/povray-3.7.0.0-r1-boost-1.50.patch   | 108 
 media-gfx/povray/povray-3.7.0.0-r1.ebuild  | 142 +
 2 files changed, 250 insertions(+)

diff --git a/media-gfx/povray/files/povray-3.7.0.0-r1-boost-1.50.patch 
b/media-gfx/povray/files/povray-3.7.0.0-r1-boost-1.50.patch
new file mode 100644
index 000..8a30041
--- /dev/null
+++ b/media-gfx/povray/files/povray-3.7.0.0-r1-boost-1.50.patch
@@ -0,0 +1,108 @@
+Remove bundled m4 macros, instead use system ones from
+sys-devel/autoconf-archive. Use AX_BOOST_SYSTEM to prevent
+underlinking issues with more recent boost versions.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=550018
+
+--- povray-3.7.0.0/unix/configure.ac
 povray-3.7.0.0/unix/configure.ac
+@@ -54,23 +54,7 @@
+ AC_CONFIG_SRCDIR([unix/disp_text.cpp])
+ 
+ # Additional autoconf macros.
+-m4_include([unix/config/acx_pthread.m4])
+-m4_include([unix/config/ax_arg_enable.m4])
+-m4_include([unix/config/ax_arg_with.m4])
+-m4_include([unix/config/ax_boost_base.m4])
+-m4_include([unix/config/ax_boost_thread.m4])
+-m4_include([unix/config/ax_test_compiler_flags.m4])
+-m4_include([unix/config/ax_check_lib.m4])
+-m4_include([unix/config/ax_check_libjpeg.m4])
+-m4_include([unix/config/ax_check_libsdl.m4])
+-m4_include([unix/config/ax_check_libtiff.m4])
+-m4_include([unix/config/ax_check_openexr.m4])
+-m4_include([unix/config/ax_compare_version.m4])
+-m4_include([unix/config/ax_compiler_vendor.m4])
+-m4_include([unix/config/ax_compiler_version.m4])
+-m4_include([unix/config/ax_fix_incorrect_path.m4])
+-m4_include([unix/config/ax_prog_ld_static.m4])
+-m4_include([unix/config/ax_x86_arch.m4])
++AC_CONFIG_MACRO_DIR([unix/config])
+ 
+ # Required versions of the support libraries.
+ # Must be declared after AC_INIT.
+@@ -166,7 +150,7 @@
+ AC_CANONICAL_BUILD
+ AC_CANONICAL_HOST
+ 
+-AM_INIT_AUTOMAKE([1.9 dist-bzip2])
++AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects])
+ AM_MAINTAINER_MODE
+ 
+ AX_FIX_INCORRECT_PATH(C_INCLUDE_PATH, ".", [pov_warn_path="$pov_warn_path 
C_INCLUDE_PATH"])
+@@ -184,6 +168,7 @@
+ CFLAGS="$CFLAGS"
+ AC_PROG_CC
+ AC_PROG_CPP
++AM_PROG_AR
+ 
+ # Force checking essential (ANSI-compliant) headers.
+ AC_CHECK_HEADERS([stdlib.h])
+@@ -292,13 +277,14 @@
+ fi
+ 
+ # Posix threads
+-ACX_PTHREAD
++AX_PTHREAD
+ CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"  # append
+ LIBS="$LIBS $PTHREAD_CFLAGS $PTHREAD_LIBS"  # append
+ 
+ # Boost; required library
+ # the following macro stops with error when boost is not found
+ AX_BOOST_BASE([$required_libboost_version])
++AX_BOOST_SYSTEM
+ AX_BOOST_THREAD
+ if test x"$ax_cv_boost_thread" != x"yes"; then
+   AC_MSG_ERROR([cannot find a suitable boost thread library])
+@@ -307,19 +293,6 @@
+   LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" # append
+   LIBS="$BOOST_THREAD_LIB $LIBS"
+ fi
+-AC_MSG_CHECKING([whether the boost thread library is usable])
+-AC_RUN_IFELSE(
+-  [AC_LANG_PROGRAM([[
+-#include 
+-]],
+-[[boost::defer_lock_t(); return 0;]])],
+-  [AC_MSG_RESULT([yes])],
+-  [
+-AC_MSG_RESULT([no])
+-AC_MSG_FAILURE([cannot link with the boost thread library])
+-  ],
+-  [AC_MSG_RESULT([cross-compiling])]  # FIXME
+-)
+ AC_DEFINE([USE_OFFICIAL_BOOST], [], [Use the official Boost libraries.])
+ 
+ # Intel Math Kernel library
+--- povray-3.7.0.0/unix/prebuild.sh
 povray-3.7.0.0/unix/prebuild.sh
+@@ -439,7 +439,8 @@
+ # Beware: order does matter!
+ LDADD = \\
+   \$(top_builddir)/vfe/libvfe.a \\
+-  \$(top_builddir)/source/libpovray.a
++  \$(top_builddir)/source/libpovray.a \\
++  @BOOST_SYSTEM_LIB@
+ pbEOF
+   ;;
+ esac
+--- povray-3.7.0.0/vfe/unix/platformbase.cpp
 povray-3.7.0.0/vfe/unix/platformbase.cpp
+@@ -68,7 +68,7 @@
+ #else
+   // taken from source/base/timer.cpp
+   boost::xtime t;
+-  boost::xtime_get(, boost::TIME_UTC);
++  boost::xtime_get(, POV_TIME_UTC);
+   POV_ULONG ns = (POV_ULONG)(t.sec) * (POV_ULONG)(10) + 
(POV_ULONG)(t.nsec) + (POV_ULONG)(msec) * (POV_ULONG)(100);
+   t.sec = (boost::xtime::xtime_sec_t)(ns / 
(POV_ULONG)(10));
+   t.nsec = (boost::xtime::xtime_nsec_t)(ns % 
(POV_ULONG)(10));

diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
new file mode 100644
index 000..5f0b81f
--- /dev/null
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -0,0 +1,142 @@
+#