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

2022-07-09 Thread Matthew Smith
commit: ea2d223a51be34d51269f153c19771220d38885a
Author: Matthew Smith  gentoo  org>
AuthorDate: Sat Jul  9 10:51:00 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Jul  9 10:52:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea2d223a

media-gfx/curaengine: update maintainers

Remove inactive proxy-maintainer and 3dprint project member.

Signed-off-by: Matthew Smith  gentoo.org>

 media-gfx/curaengine/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
index a88a34925d34..d887188d07af 100644
--- a/media-gfx/curaengine/metadata.xml
+++ b/media-gfx/curaengine/metadata.xml
@@ -5,10 +5,6 @@
3dpr...@gentoo.org
Gentoo 3D Printer Project

-   
-   ale...@gentoo.org
-   Alexey Shvetsov
-   

proxy-ma...@gentoo.org
Proxy Maintainers
@@ -17,10 +13,6 @@
ma...@vanvoorden.be
Mathy Vanvoorden

-   
-   perlo...@gmail.com
-   Michael Perlov
-   

The CuraEngine is a C++ console application for 3D printing 
GCode generation.
It has been made as a better and faster alternative to the old 
Skeinforge engine.



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

2022-05-09 Thread Michał Górny
commit: 91f4dc1a22136e6cbba78bb8cb7abdba7949b98a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  9 06:57:57 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  9 07:00:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f4dc1a

media-gfx/curaengine: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 media-gfx/curaengine/Manifest |  2 -
 media-gfx/curaengine/curaengine-4.12.1.ebuild | 85 ---
 media-gfx/curaengine/curaengine-4.9.1.ebuild  | 85 ---
 3 files changed, 172 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index e60a491f42dd..b2be0b507ec5 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,3 +1 @@
-DIST curaengine-4.12.1.tar.gz 1726565 BLAKE2B 
be231ec43792e1f27a6c720444c6755f71bbc3dbaea45b714c73f9b5b51753d58dafeef7ad2ed1bc21de1c39fe9f2a325ab8b85d3eb5b7f075a472dac98654b7
 SHA512 
c0c703ec9c7fb05389806f45174d45dd65bece169e3ad88aa1744091ce3c3c1e1e4f5af32cb55cfa9f1a4a8bffe0a008d5924a6e5d02baed00996c9112fbafef
 DIST curaengine-4.13.1.tar.gz 1727935 BLAKE2B 
d306f990b86e6120705b36eba6f3363adc67cf8c93c66c2da506c1ee461a5a6bdd27a4e04880daeb6cebab3ecc736d9a52eec27bf17aa9f032237a4c8ee1d2a3
 SHA512 
224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0
-DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.12.1.ebuild 
b/media-gfx/curaengine/curaengine-4.12.1.ebuild
deleted file mode 100644
index 98b1c9901eb8..
--- a/media-gfx/curaengine/curaengine-4.12.1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="+arcus doc openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   arcus? (
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf:=
-   )
-   dev-libs/clipper
-   dev-libs/rapidjson
-   dev-libs/stb"
-
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-DOCS=( README.md )
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
-   rm -r "${S}"/libs || die
-
-   # remove static linking
-   # respect cflags
-   sed -i \
-   -e "s/-static-libstdc++//g" \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
-   CMakeLists.txt || die
-
-   if use test; then
-   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
--type f -name '*.cpp' | xargs sed -i \
-   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
-   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
-   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
-   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
-   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
-   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
-   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
-   -e 's#include "../src#include "../../src#g'|| die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTS=$(usex test ON OFF)
-   -DENABLE_ARCUS=$(usex arcus ON OFF)
-   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
-   -DENABLE_OPENMP=$(usex openmp ON OFF)
-   -DUSE_SYSTEM_LIBS=ON
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   doxygen || die "generating docs failed"
-   mv docs/html . || die
-   find html -type f '(' -name '*.md5' -o -name '*.map' ')' 
-delete || die
-   HTML_DOCS=( html/. )
-   fi
-}

diff --git a/media-gfx/curaengine/curaengine-4.9.1.ebuild 
b/media-gfx/curaengine/curaengine-4.9.1.ebuild
deleted file mode 100644
index 16c9ac1b8576..
--- 

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

2022-05-08 Thread Sam James
commit: c26ce70088031f19c59fdaa406d2498548a526e7
Author: Sam James  gentoo  org>
AuthorDate: Sun May  8 19:59:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  8 19:59:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c26ce700

media-gfx/curaengine: Stabilize 4.13.1 amd64, #837179

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

 media-gfx/curaengine/curaengine-4.13.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.13.1.ebuild 
b/media-gfx/curaengine/curaengine-4.13.1.ebuild
index 5d9281bd5518..98b1c9901eb8 100644
--- a/media-gfx/curaengine/curaengine-4.13.1.ebuild
+++ b/media-gfx/curaengine/curaengine-4.13.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="+arcus doc openmp test"
 RESTRICT="!test? ( test )"
 



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

2022-03-10 Thread Jakov Smolić
commit: 5ed5f8cd3e8f8f0e6ccd0707bcf4815dc6a0a74f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Mar 10 21:20:48 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Mar 10 21:20:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed5f8cd

media-gfx/curaengine: Stabilize 4.12.1 amd64, #834389

Signed-off-by: Jakov Smolić  gentoo.org>

 media-gfx/curaengine/curaengine-4.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.12.1.ebuild 
b/media-gfx/curaengine/curaengine-4.12.1.ebuild
index 5d9281bd5518..98b1c9901eb8 100644
--- a/media-gfx/curaengine/curaengine-4.12.1.ebuild
+++ b/media-gfx/curaengine/curaengine-4.12.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="+arcus doc openmp test"
 RESTRICT="!test? ( test )"
 



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

2022-03-05 Thread Matthew Smith
commit: aa10ea22d860ccc5bcb205ee7ca9cd43343b18fd
Author: Matthew Smith  gentoo  org>
AuthorDate: Sat Mar  5 11:36:38 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Mar  5 11:53:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa10ea22

media-gfx/curaengine: drop 4.13.0

Signed-off-by: Matthew Smith  gentoo.org>

 media-gfx/curaengine/Manifest |  1 -
 media-gfx/curaengine/curaengine-4.13.0.ebuild | 85 ---
 2 files changed, 86 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 7f1608bc6906..e60a491f42dd 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,4 +1,3 @@
 DIST curaengine-4.12.1.tar.gz 1726565 BLAKE2B 
be231ec43792e1f27a6c720444c6755f71bbc3dbaea45b714c73f9b5b51753d58dafeef7ad2ed1bc21de1c39fe9f2a325ab8b85d3eb5b7f075a472dac98654b7
 SHA512 
c0c703ec9c7fb05389806f45174d45dd65bece169e3ad88aa1744091ce3c3c1e1e4f5af32cb55cfa9f1a4a8bffe0a008d5924a6e5d02baed00996c9112fbafef
-DIST curaengine-4.13.0.tar.gz 1727539 BLAKE2B 
e28aab6a4fa6c4fd9eb6b365ecd99d8c49a4e76da9198628e38d2d6aaa13f0120fcbd9fc809520f7b1f117782a09759e0c625b880f3b40e9d5d110b14debb260
 SHA512 
3d52c67c0968f6caffd9e0b86743f70916705e6f2896466e69a179ce97b6d35f7af33b056e9375abaa445a00438d25e5f782a7e2a92c0805cec0c0527a25426c
 DIST curaengine-4.13.1.tar.gz 1727935 BLAKE2B 
d306f990b86e6120705b36eba6f3363adc67cf8c93c66c2da506c1ee461a5a6bdd27a4e04880daeb6cebab3ecc736d9a52eec27bf17aa9f032237a4c8ee1d2a3
 SHA512 
224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0
 DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.13.0.ebuild 
b/media-gfx/curaengine/curaengine-4.13.0.ebuild
deleted file mode 100644
index 5d9281bd5518..
--- a/media-gfx/curaengine/curaengine-4.13.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+arcus doc openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   arcus? (
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf:=
-   )
-   dev-libs/clipper
-   dev-libs/rapidjson
-   dev-libs/stb"
-
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-DOCS=( README.md )
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
-   rm -r "${S}"/libs || die
-
-   # remove static linking
-   # respect cflags
-   sed -i \
-   -e "s/-static-libstdc++//g" \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
-   CMakeLists.txt || die
-
-   if use test; then
-   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
--type f -name '*.cpp' | xargs sed -i \
-   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
-   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
-   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
-   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
-   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
-   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
-   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
-   -e 's#include "../src#include "../../src#g'|| die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTS=$(usex test ON OFF)
-   -DENABLE_ARCUS=$(usex arcus ON OFF)
-   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
-   -DENABLE_OPENMP=$(usex openmp ON OFF)
-   -DUSE_SYSTEM_LIBS=ON
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   doxygen || die "generating docs failed"
-   mv docs/html . || die
-   find html -type f '(' -name '*.md5' -o -name '*.map' 

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

2022-03-05 Thread Matthew Smith
commit: 10bc45c1b6d886e2a902e8d4ce62061106bcab0b
Author: Matthew Smith  gentoo  org>
AuthorDate: Sat Mar  5 11:33:26 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Mar  5 11:53:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10bc45c1

media-gfx/curaengine: add 4.13.1

Signed-off-by: Matthew Smith  gentoo.org>

 media-gfx/curaengine/Manifest |  1 +
 media-gfx/curaengine/curaengine-4.13.1.ebuild | 85 +++
 2 files changed, 86 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index a2e814aea9cd..7f1608bc6906 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,3 +1,4 @@
 DIST curaengine-4.12.1.tar.gz 1726565 BLAKE2B 
be231ec43792e1f27a6c720444c6755f71bbc3dbaea45b714c73f9b5b51753d58dafeef7ad2ed1bc21de1c39fe9f2a325ab8b85d3eb5b7f075a472dac98654b7
 SHA512 
c0c703ec9c7fb05389806f45174d45dd65bece169e3ad88aa1744091ce3c3c1e1e4f5af32cb55cfa9f1a4a8bffe0a008d5924a6e5d02baed00996c9112fbafef
 DIST curaengine-4.13.0.tar.gz 1727539 BLAKE2B 
e28aab6a4fa6c4fd9eb6b365ecd99d8c49a4e76da9198628e38d2d6aaa13f0120fcbd9fc809520f7b1f117782a09759e0c625b880f3b40e9d5d110b14debb260
 SHA512 
3d52c67c0968f6caffd9e0b86743f70916705e6f2896466e69a179ce97b6d35f7af33b056e9375abaa445a00438d25e5f782a7e2a92c0805cec0c0527a25426c
+DIST curaengine-4.13.1.tar.gz 1727935 BLAKE2B 
d306f990b86e6120705b36eba6f3363adc67cf8c93c66c2da506c1ee461a5a6bdd27a4e04880daeb6cebab3ecc736d9a52eec27bf17aa9f032237a4c8ee1d2a3
 SHA512 
224379a40e26ae0026a3849d582353e49edf99520401e1fef56c9504638c68c62cfe394dab0eb40e4a447bfe0bfa506a880512e84fd6057a839b6384087c46d0
 DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.13.1.ebuild 
b/media-gfx/curaengine/curaengine-4.13.1.ebuild
new file mode 100644
index ..5d9281bd5518
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.13.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test ON OFF)
+   -DENABLE_ARCUS=$(usex arcus ON OFF)
+   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+   -DENABLE_OPENMP=$(usex openmp ON OFF)
+   -DUSE_SYSTEM_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   doxygen || die "generating docs failed"
+   mv docs/html . || die
+   find html -type f '(' -name '*.md5' -o -name '*.map' ')' 

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

2022-02-28 Thread Matthew Smith
commit: a1ab04dcca1e16263a5925163a98c1912ad24a52
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Feb 28 19:28:45 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Feb 28 19:43:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ab04dc

media-gfx/curaengine: add 4.13.0

Signed-off-by: Matthew Smith  gentoo.org>

 media-gfx/curaengine/Manifest |  1 +
 media-gfx/curaengine/curaengine-4.13.0.ebuild | 85 +++
 2 files changed, 86 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 70897f8fd7f5..a2e814aea9cd 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-4.12.1.tar.gz 1726565 BLAKE2B 
be231ec43792e1f27a6c720444c6755f71bbc3dbaea45b714c73f9b5b51753d58dafeef7ad2ed1bc21de1c39fe9f2a325ab8b85d3eb5b7f075a472dac98654b7
 SHA512 
c0c703ec9c7fb05389806f45174d45dd65bece169e3ad88aa1744091ce3c3c1e1e4f5af32cb55cfa9f1a4a8bffe0a008d5924a6e5d02baed00996c9112fbafef
+DIST curaengine-4.13.0.tar.gz 1727539 BLAKE2B 
e28aab6a4fa6c4fd9eb6b365ecd99d8c49a4e76da9198628e38d2d6aaa13f0120fcbd9fc809520f7b1f117782a09759e0c625b880f3b40e9d5d110b14debb260
 SHA512 
3d52c67c0968f6caffd9e0b86743f70916705e6f2896466e69a179ce97b6d35f7af33b056e9375abaa445a00438d25e5f782a7e2a92c0805cec0c0527a25426c
 DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.13.0.ebuild 
b/media-gfx/curaengine/curaengine-4.13.0.ebuild
new file mode 100644
index ..5d9281bd5518
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.13.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test ON OFF)
+   -DENABLE_ARCUS=$(usex arcus ON OFF)
+   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+   -DENABLE_OPENMP=$(usex openmp ON OFF)
+   -DUSE_SYSTEM_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   doxygen || die "generating docs failed"
+   mv docs/html . || die
+   find html -type f '(' -name '*.md5' -o -name '*.map' ')' 
-delete || die
+   HTML_DOCS=( html/. )
+   fi
+}



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

2022-02-10 Thread Marek Szuba
commit: 4a975c40203ab71f1061c84a3ea18d5d20f2ba1b
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb 10 17:18:06 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb 10 17:35:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a975c40

media-gfx/curaengine: add 4.12.1

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

 media-gfx/curaengine/Manifest |  1 +
 media-gfx/curaengine/curaengine-4.12.1.ebuild | 85 +++
 2 files changed, 86 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index e60d227e6690..70897f8fd7f5 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1 +1,2 @@
+DIST curaengine-4.12.1.tar.gz 1726565 BLAKE2B 
be231ec43792e1f27a6c720444c6755f71bbc3dbaea45b714c73f9b5b51753d58dafeef7ad2ed1bc21de1c39fe9f2a325ab8b85d3eb5b7f075a472dac98654b7
 SHA512 
c0c703ec9c7fb05389806f45174d45dd65bece169e3ad88aa1744091ce3c3c1e1e4f5af32cb55cfa9f1a4a8bffe0a008d5924a6e5d02baed00996c9112fbafef
 DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.12.1.ebuild 
b/media-gfx/curaengine/curaengine-4.12.1.ebuild
new file mode 100644
index ..5d9281bd5518
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.12.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test ON OFF)
+   -DENABLE_ARCUS=$(usex arcus ON OFF)
+   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+   -DENABLE_OPENMP=$(usex openmp ON OFF)
+   -DUSE_SYSTEM_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   doxygen || die "generating docs failed"
+   mv docs/html . || die
+   find html -type f '(' -name '*.md5' -o -name '*.map' ')' 
-delete || die
+   HTML_DOCS=( html/. )
+   fi
+}



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

2021-12-23 Thread Sam James
commit: 5cb9da24306c5cff0bf288e0dbb3b62d09764060
Author: Dennis Eisele  dennis-eisele  de>
AuthorDate: Fri Dec 24 00:14:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 24 04:45:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb9da24

media-gfx/curaengine: fix find command usage in compile phase

Closes: https://bugs.gentoo.org/820701
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Dennis Eisele  dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/23491
Signed-off-by: Sam James  gentoo.org>

 media-gfx/curaengine/curaengine-4.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.9.1.ebuild 
b/media-gfx/curaengine/curaengine-4.9.1.ebuild
index ec7a2e757c60..16c9ac1b8576 100644
--- a/media-gfx/curaengine/curaengine-4.9.1.ebuild
+++ b/media-gfx/curaengine/curaengine-4.9.1.ebuild
@@ -79,7 +79,7 @@ src_compile() {
if use doc; then
doxygen || die "generating docs failed"
mv docs/html . || die
-   find html -type f \(-name '*.md5' -o -name '*.map'\) -delete || 
die
+   find html -type f '(' -name '*.md5' -o -name '*.map' ')' 
-delete || die
HTML_DOCS=( html/. )
fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/, media-gfx/fdm-materials/, media-gfx/cura/, ...

2021-06-14 Thread Dennis Lamm
commit: 0d686fb2a93ea5ecc0bffb16844c4f6a5c215fc4
Author: Dennis Lamm  gentoo  org>
AuthorDate: Mon Jun 14 18:17:27 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Mon Jun 14 18:38:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d686fb2

media-gfx/cura: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/21240
Signed-off-by: Dennis Lamm  gentoo.org>

 dev-libs/libarcus/Manifest |  1 -
 dev-libs/libarcus/libarcus-4.8.0.ebuild| 56 -
 dev-libs/libcharon/Manifest|  1 -
 dev-libs/libcharon/libcharon-4.8.0.ebuild  | 73 
 dev-libs/libsavitar/Manifest   |  1 -
 dev-libs/libsavitar/libsavitar-4.8.0.ebuild| 76 -
 dev-python/uranium/Manifest|  1 -
 dev-python/uranium/uranium-4.8.0-r1.ebuild | 97 --
 media-gfx/cura/Manifest|  1 -
 media-gfx/cura/cura-4.8.0.ebuild   | 67 ---
 media-gfx/curaengine/Manifest  |  1 -
 media-gfx/curaengine/curaengine-4.8.0.ebuild   | 85 ---
 media-gfx/fdm-materials/Manifest   |  1 -
 media-gfx/fdm-materials/fdm-materials-4.8.0.ebuild | 26 --
 14 files changed, 487 deletions(-)

diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest
index f518463c51f..e35f65c3650 100644
--- a/dev-libs/libarcus/Manifest
+++ b/dev-libs/libarcus/Manifest
@@ -1,2 +1 @@
-DIST libarcus-4.8.0.tar.gz 31906 BLAKE2B 
677fafa3875834c7602bc85b7246f50ed0dc49e886814c4562ce41a1a7baecfb4fb0bac42aada5339fe73cbd3fc5ac3b28076bf72a1e24591a947d747c6eb794
 SHA512 
44db9b48ab6be08c30f2121d68197a7347eaf3ee255649969a773afbe45ec2433e2cc082aa72f6d40dad7ea28345da858471fff9a129365a4e848df8c8c07689
 DIST libarcus-4.9.1.tar.gz 31967 BLAKE2B 
2ee827c3f1f592ac1efa7557a2cbfa9cf9fd2d43a7be7fd803f94f7b51c9a03be1078d3df319e1bbe2bc37b6ec3a1c6f16996c4e3b6251dd06f6031dd32ad2a9
 SHA512 
5124b80647cb0715ad94c5eaaeac797a867319de9a8064b689783fdb28598903a69e3a61393db90f5e0b3d10ee30aed844170cab63dc4b7c70509d5129a17cdd

diff --git a/dev-libs/libarcus/libarcus-4.8.0.ebuild 
b/dev-libs/libarcus/libarcus-4.8.0.ebuild
deleted file mode 100644
index f34adddb7cc..000
--- a/dev-libs/libarcus/libarcus-4.8.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit cmake python-single-r1
-
-MY_PN="libArcus"
-
-DESCRIPTION="This library facilitates communication between Cura and its 
backend"
-HOMEPAGE="https://github.com/Ultimaker/libArcus;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0/3"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="examples +python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="${PYTHON_DEPS}
-   dev-libs/protobuf:=
-   $(python_gen_cond_dep '
-   https://github.com/Ultimaker/libCharon;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0/3"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-IUSE="+client +dbus test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="
-   ${PYTHON_DEPS}
-   dbus? (
-   acct-group/ultimaker
-   acct-user/ultimaker
-   sys-apps/dbus
-   )"
-
-DEPEND="${PYTHON_DEPS}
-   test? (
-   $(python_gen_cond_dep 
'dev-python/pytest[${PYTHON_MULTI_USEDEP}]')
-   )"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
-   # use current python version, not the latest installed
-   # fix python install location
-   sed -i \
-   -e "s:find_package(Python3 3.4 REQUIRED:find_package(Python3 
${EPYTHON##python} EXACT REQUIRED:g" \
-   -e 
"s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}\.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g"
 \
-   CMakeLists.txt || die
-
-   sed -i -e 
"s:/usr/lib/python3/dist-packages/Charon/Service/main.py:$(python_get_sitedir)/Charon/Service/main.py:g"
 service/charon.service || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DINSTALL_CLIENT=$(usex client ON OFF)
-   -DINSTALL_SERVICE=$(usex dbus ON OFF)
-   -DPython3_EXECUTABLE="${PYTHON}"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   python_optimize "${D}/usr/$(get_libdir)"
-}
-
-pkg_postinst() {
-   if use dbus ; then
-   elog "To start the Charon File Metadata service at boot, add it 
to the default runlevel with:"
-   elog "systemctl enable charon"
-   fi
-}


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

2021-06-10 Thread Dennis Lamm
commit: b483a6d3c927800599b08b5f2b4c131a9c3f7b2f
Author: Mathy Vanvoorden  vanvoorden  be>
AuthorDate: Mon Jun  7 15:36:00 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Thu Jun 10 17:40:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b483a6d3

media-gfx/curaengine: Version bump to 4.9.1

Closes: https://bugs.gentoo.org/793803
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Mathy Vanvoorden  vanvoorden.be>
Signed-off-by: Dennis Lamm  gentoo.org>

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-4.9.1.ebuild | 85 
 2 files changed, 86 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index ac812d6972c..c2e8fd679fa 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1 +1,2 @@
 DIST curaengine-4.8.0.tar.gz 1690082 BLAKE2B 
7c582ad0743a937ad4efa2a224e052383b90632c8f33f666a4139a74954a7243e17107ac39b35c1a5e41df89e303d618e4407d7e9a75efc5d96913aaaf498273
 SHA512 
be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670
+DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 
84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e
 SHA512 
cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

diff --git a/media-gfx/curaengine/curaengine-4.9.1.ebuild 
b/media-gfx/curaengine/curaengine-4.9.1.ebuild
new file mode 100644
index 000..ec7a2e757c6
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.9.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test ON OFF)
+   -DENABLE_ARCUS=$(usex arcus ON OFF)
+   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+   -DENABLE_OPENMP=$(usex openmp ON OFF)
+   -DUSE_SYSTEM_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   doxygen || die "generating docs failed"
+   mv docs/html . || die
+   find html -type f \(-name '*.md5' -o -name '*.map'\) -delete || 
die
+   HTML_DOCS=( html/. )
+   fi
+}



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

2021-02-07 Thread Dennis Lamm
commit: 6fe3d148789f4bed52f13e894717188b986e39fe
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Feb  7 21:01:29 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Feb  7 23:56:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe3d148

media-gfx/curaengine: metadata added upstream bugtracker

Signed-off-by: Dennis Lamm  gentoo.org>

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

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
index 45587a19e8c..9bb6b008a45 100644
--- a/media-gfx/curaengine/metadata.xml
+++ b/media-gfx/curaengine/metadata.xml
@@ -37,6 +37,7 @@
soname major version number


+   
https://github.com/Ultimaker/CuraEngine/issues
Ultimaker/CuraEngine

 



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

2021-02-07 Thread Dennis Lamm
commit: 99cc07357a435b95ba665fa7e935111464bc64bf
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Feb  7 18:51:30 2021 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Feb  7 21:30:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cc0735

media-gfx/curaengine: drop old

Signed-off-by: Dennis Lamm  gentoo.org>

 media-gfx/curaengine/Manifest  |  1 -
 media-gfx/curaengine/curaengine-4.7.0.ebuild   | 86 --
 .../files/curaengine-4.7.0-fix-tests.patch | 13 
 3 files changed, 100 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 253c8d29ee4..ac812d6972c 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1 @@
-DIST curaengine-4.7.0.tar.gz 1684860 BLAKE2B 
da25da5656eb2c2d9cd9bd1c8ea0f633284a6d300f2b5ab7a916be262d20106d07a17a5c5ac63b854b32e98f616ecadbc05a912146f4f6d396c646ca69637116
 SHA512 
4c5f2eb70912315595e7f090ba9a34196ecb740eb25b5b2da2decf6485260999e8a87f7c2619c6efab9b46280e9eecf11f7e6bb021359c3b72da9fb900b0c1c3
 DIST curaengine-4.8.0.tar.gz 1690082 BLAKE2B 
7c582ad0743a937ad4efa2a224e052383b90632c8f33f666a4139a74954a7243e17107ac39b35c1a5e41df89e303d618e4407d7e9a75efc5d96913aaaf498273
 SHA512 
be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670

diff --git a/media-gfx/curaengine/curaengine-4.7.0.ebuild 
b/media-gfx/curaengine/curaengine-4.7.0.ebuild
deleted file mode 100644
index 74a7ec34474..000
--- a/media-gfx/curaengine/curaengine-4.7.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+arcus doc openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   arcus? (
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf:=
-   )
-   dev-libs/clipper
-   dev-libs/rapidjson
-   dev-libs/stb"
-
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-DOCS=( README.md )
-PATCHES=( "${FILESDIR}/${PN}-4.7.0-fix-tests.patch" )
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
-   rm -r "${S}"/libs || die
-
-   # remove static linking
-   # respect cflags
-   sed -i \
-   -e "s/-static-libstdc++//g" \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
-   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
-   CMakeLists.txt || die
-
-   if use test; then
-   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
--type f -name '*.cpp' | xargs sed -i \
-   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
-   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
-   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
-   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
-   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
-   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
-   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
-   -e 's#include "../src#include "../../src#g'|| die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTS=$(usex test ON OFF)
-   -DENABLE_ARCUS=$(usex arcus ON OFF)
-   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
-   -DENABLE_OPENMP=$(usex openmp ON OFF)
-   -DUSE_SYSTEM_LIBS=ON
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   doxygen || die "generating docs failed"
-   mv docs/html . || die
-   find html -type f \(-name '*.md5' -o -name '*.map'\) -delete || 
die
-   HTML_DOCS=( html/. )
-   fi
-}

diff --git a/media-gfx/curaengine/files/curaengine-4.7.0-fix-tests.patch 
b/media-gfx/curaengine/files/curaengine-4.7.0-fix-tests.patch
deleted file mode 100644
index 33feab3d394..000
--- a/media-gfx/curaengine/files/curaengine-4.7.0-fix-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Upstream issue: https://github.com/Ultimaker/CuraEngine/issues/1318
-
 a/tests/utils/SparseGridTest.cpp
-+++ b/tests/utils/SparseGridTest.cpp
-@@ 

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

2020-11-30 Thread Dennis Lamm
commit: cb61546bf6ac1edcbd76420d3c93756f260b0118
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Nov 29 08:46:15 2020 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Mon Nov 30 18:37:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb61546b

media-gfx/curaengine: bump to 4.8.0

Signed-off-by: Dennis Lamm  gentoo.org>
Signed-off-by: Dennis Lamm  gentoo.org>

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-4.8.0.ebuild | 85 
 2 files changed, 86 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 31167c77231..ecbad4b97b1 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-4.6.1.tar.gz 1685119 BLAKE2B 
352c5b4b98866ebe6f90dc095960d2417ccf9c023334b4006b604da45aed1e3b6066700b08be3727214433fd505de87cad4da8e17d9067571d91dd0ec7660ebe
 SHA512 
8b3a65fb00bebc37acd24a6d4277c1f09849c0318fca00867479d62c0f64b8628064a898128e1ffc5fb99eed2c1d45a310df2f97fde9c37a9ccc311f5ba4d057
 DIST curaengine-4.7.0.tar.gz 1684860 BLAKE2B 
da25da5656eb2c2d9cd9bd1c8ea0f633284a6d300f2b5ab7a916be262d20106d07a17a5c5ac63b854b32e98f616ecadbc05a912146f4f6d396c646ca69637116
 SHA512 
4c5f2eb70912315595e7f090ba9a34196ecb740eb25b5b2da2decf6485260999e8a87f7c2619c6efab9b46280e9eecf11f7e6bb021359c3b72da9fb900b0c1c3
+DIST curaengine-4.8.0.tar.gz 1690082 BLAKE2B 
7c582ad0743a937ad4efa2a224e052383b90632c8f33f666a4139a74954a7243e17107ac39b35c1a5e41df89e303d618e4407d7e9a75efc5d96913aaaf498273
 SHA512 
be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670

diff --git a/media-gfx/curaengine/curaengine-4.8.0.ebuild 
b/media-gfx/curaengine/curaengine-4.8.0.ebuild
new file mode 100644
index 000..2f4c30faf72
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.8.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test ON OFF)
+   -DENABLE_ARCUS=$(usex arcus ON OFF)
+   -DENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS=OFF
+   -DENABLE_OPENMP=$(usex openmp ON OFF)
+   -DUSE_SYSTEM_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   doxygen || die "generating docs failed"
+   mv docs/html . || die
+   find html -type f \(-name '*.md5' -o -name '*.map'\) -delete || 
die
+   HTML_DOCS=( html/. )
+   fi
+}



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

2020-10-11 Thread Dennis Lamm
commit: 7bfa574a4f53a756da5564713ba85fd9ce5db6ad
Author: Dennis Lamm  gentoo  org>
AuthorDate: Sun Oct 11 10:59:54 2020 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Sun Oct 11 11:25:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfa574a

media-gfx/curaengine: drop old

Signed-off-by: Dennis Lamm  gentoo.org>
Signed-off-by: Dennis Lamm  gentoo.org>

 media-gfx/curaengine/Manifest|  4 --
 media-gfx/curaengine/curaengine-3.4.1.ebuild | 44 -
 media-gfx/curaengine/curaengine-3.6.0.ebuild | 44 -
 media-gfx/curaengine/curaengine-4.2.0.ebuild | 59 
 media-gfx/curaengine/curaengine-4.3.0.ebuild | 45 -
 5 files changed, 196 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 5ad33f8d3c6..31167c77231 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,6 +1,2 @@
-DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
-DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8
-DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B 
c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce
 SHA512 
6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500
-DIST curaengine-4.3.0.tar.gz 1656780 BLAKE2B 
9b93e3f294a8a67c2cd4f2d4462a4047e6860e0c391e7ff550b24c498faa82fd2af4fd044845f00f93fb01d38ca3fa1511bfe65a7456b5a6e0b919821be5ab8f
 SHA512 
60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572
 DIST curaengine-4.6.1.tar.gz 1685119 BLAKE2B 
352c5b4b98866ebe6f90dc095960d2417ccf9c023334b4006b604da45aed1e3b6066700b08be3727214433fd505de87cad4da8e17d9067571d91dd0ec7660ebe
 SHA512 
8b3a65fb00bebc37acd24a6d4277c1f09849c0318fca00867479d62c0f64b8628064a898128e1ffc5fb99eed2c1d45a310df2f97fde9c37a9ccc311f5ba4d057
 DIST curaengine-4.7.0.tar.gz 1684860 BLAKE2B 
da25da5656eb2c2d9cd9bd1c8ea0f633284a6d300f2b5ab7a916be262d20106d07a17a5c5ac63b854b32e98f616ecadbc05a912146f4f6d396c646ca69637116
 SHA512 
4c5f2eb70912315595e7f090ba9a34196ecb740eb25b5b2da2decf6485260999e8a87f7c2619c6efab9b46280e9eecf11f7e6bb021359c3b72da9fb900b0c1c3

diff --git a/media-gfx/curaengine/curaengine-3.4.1.ebuild 
b/media-gfx/curaengine/curaengine-3.4.1.ebuild
deleted file mode 100644
index 4b6d4325972..000
--- a/media-gfx/curaengine/curaengine-3.4.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf
-   dev-libs/stb"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
-
-DOCS=( README.md )
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_configure() {
-   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_make
-   if use doc; then
-   doxygen
-   mv docs/html . || die
-   find html -name '*.md5' -or -name '*.map' -delete || die
-   DOCS+=( html )
-   fi
-}

diff --git a/media-gfx/curaengine/curaengine-3.6.0.ebuild 
b/media-gfx/curaengine/curaengine-3.6.0.ebuild
deleted file mode 100644
index 4b6d4325972..000
--- a/media-gfx/curaengine/curaengine-3.6.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf
-   dev-libs/stb"

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

2020-09-19 Thread Sam James
commit: 4afaee2a4bb91fe0aff0ad227c4cc67289ff51ac
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 19 16:31:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 19 16:31:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4afaee2a

media-gfx/curaengine: Keyword 4.7.0 arm64, #734826

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

 media-gfx/curaengine/curaengine-4.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.7.0.ebuild 
b/media-gfx/curaengine/curaengine-4.7.0.ebuild
index a644aeef81b..74a7ec34474 100644
--- a/media-gfx/curaengine/curaengine-4.7.0.ebuild
+++ b/media-gfx/curaengine/curaengine-4.7.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+arcus doc openmp test"
 RESTRICT="!test? ( test )"
 



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

2020-09-14 Thread Dennis Lamm
commit: 9a0ef3c029aee6faebcf704731cc058cf26cc309
Author: Dennis Lamm  gentoo  org>
AuthorDate: Mon Sep 14 05:27:59 2020 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Mon Sep 14 18:12:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a0ef3c0

media-gfx/curaengine: bump 4.7.0, remove bundled rapidjson and clipper, also 
fix failing tests

Closes: https://bugs.gentoo.org/693176

Closes: https://bugs.gentoo.org/693170

Closes: https://bugs.gentoo.org/732226

Bug: https://bugs.gentoo.org/739692

Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16719
Signed-off-by: Dennis Lamm  gentoo.org>

 media-gfx/curaengine/Manifest  |  1 +
 media-gfx/curaengine/curaengine-4.7.0.ebuild   | 86 ++
 .../files/curaengine-4.7.0-fix-tests.patch | 13 
 media-gfx/curaengine/metadata.xml  | 12 +++
 4 files changed, 112 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 78c5b9f6880..5ad33f8d3c6 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -3,3 +3,4 @@ DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45
 DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B 
c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce
 SHA512 
6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500
 DIST curaengine-4.3.0.tar.gz 1656780 BLAKE2B 
9b93e3f294a8a67c2cd4f2d4462a4047e6860e0c391e7ff550b24c498faa82fd2af4fd044845f00f93fb01d38ca3fa1511bfe65a7456b5a6e0b919821be5ab8f
 SHA512 
60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572
 DIST curaengine-4.6.1.tar.gz 1685119 BLAKE2B 
352c5b4b98866ebe6f90dc095960d2417ccf9c023334b4006b604da45aed1e3b6066700b08be3727214433fd505de87cad4da8e17d9067571d91dd0ec7660ebe
 SHA512 
8b3a65fb00bebc37acd24a6d4277c1f09849c0318fca00867479d62c0f64b8628064a898128e1ffc5fb99eed2c1d45a310df2f97fde9c37a9ccc311f5ba4d057
+DIST curaengine-4.7.0.tar.gz 1684860 BLAKE2B 
da25da5656eb2c2d9cd9bd1c8ea0f633284a6d300f2b5ab7a916be262d20106d07a17a5c5ac63b854b32e98f616ecadbc05a912146f4f6d396c646ca69637116
 SHA512 
4c5f2eb70912315595e7f090ba9a34196ecb740eb25b5b2da2decf6485260999e8a87f7c2619c6efab9b46280e9eecf11f7e6bb021359c3b72da9fb900b0c1c3

diff --git a/media-gfx/curaengine/curaengine-4.7.0.ebuild 
b/media-gfx/curaengine/curaengine-4.7.0.ebuild
new file mode 100644
index 000..a644aeef81b
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.7.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+arcus doc openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   arcus? (
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf:=
+   )
+   dev-libs/clipper
+   dev-libs/rapidjson
+   dev-libs/stb"
+
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+PATCHES=( "${FILESDIR}/${PN}-4.7.0-fix-tests.patch" )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+   rm -r "${S}"/libs || die
+
+   # remove static linking
+   # respect cflags
+   sed -i \
+   -e "s/-static-libstdc++//g" \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")//g' \
+   -e 's/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_RELEASE_INIT}")//g' \
+   CMakeLists.txt || die
+
+   if use test; then
+   find "${S}"/tests/arcus "${S}"/tests/integration 
"${S}"/tests/settings "${S}"/tests/utils \
+-type f -name '*.cpp' | xargs sed -i \
+   -e 's <../src/utils/AABB.h> "../../src/utils/AABB.h" g'\
+   -e 's <../src/utils/IntPoint.h> 
"../../src/utils/IntPoint.h" g' \
+   -e 's <../src/utils/polygon.h> 
"../../src/utils/polygon.h" g'\
+   -e 's <../src/utils/PolygonConnector.h> 
"../../src/utils/PolygonConnector.h" g'\
+   -e 's <../src/utils/polygonUtils.h> 
"../../src/utils/polygonUtils.h" g'\
+   -e 's <../src/utils/string.h> 
"../../src/utils/string.h" g' \
+   -e 's <../src/utils/SVG.h> "../../src/utils/SVG.h" g' \
+   -e 's#include "../src#include "../../src#g'|| die
+   fi
+
+   cmake_src_prepare
+}
+

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

2020-05-25 Thread Alexey Shvetsov
commit: 04665753ed3ec698700307093955522df21c781f
Author: Michael Perlov  gmail  com>
AuthorDate: Fri May 22 00:53:48 2020 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Mon May 25 19:41:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04665753

media-gfx/curaengine: version bump to 4.6.1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Perlov  gmail.com>
Signed-off-by: Alexey Shvetsov  gentoo.org>

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-4.6.1.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index ac7c4177842..78c5b9f6880 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -2,3 +2,4 @@ DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975
 DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8
 DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B 
c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce
 SHA512 
6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500
 DIST curaengine-4.3.0.tar.gz 1656780 BLAKE2B 
9b93e3f294a8a67c2cd4f2d4462a4047e6860e0c391e7ff550b24c498faa82fd2af4fd044845f00f93fb01d38ca3fa1511bfe65a7456b5a6e0b919821be5ab8f
 SHA512 
60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572
+DIST curaengine-4.6.1.tar.gz 1685119 BLAKE2B 
352c5b4b98866ebe6f90dc095960d2417ccf9c023334b4006b604da45aed1e3b6066700b08be3727214433fd505de87cad4da8e17d9067571d91dd0ec7660ebe
 SHA512 
8b3a65fb00bebc37acd24a6d4277c1f09849c0318fca00867479d62c0f64b8628064a898128e1ffc5fb99eed2c1d45a310df2f97fde9c37a9ccc311f5ba4d057

diff --git a/media-gfx/curaengine/curaengine-4.6.1.ebuild 
b/media-gfx/curaengine/curaengine-4.6.1.ebuild
new file mode 100644
index 000..9a634cff090
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.6.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="|| ( sys-devel/gcc sys-devel/clang )
+   doc? ( app-doc/doxygen )"
+RDEPEND="${PYTHON_DEPS}
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf
+   dev-libs/stb"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_build
+   if use doc; then
+   doxygen || die
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   HTML_DOCS=( html )
+   fi
+}



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

2019-12-30 Thread Sergei Trofimovich
commit: 00115920a35e65d485b3cf7a4bde9b84fc4279af
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec 30 22:53:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec 30 22:53:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00115920

media-gfx/curaengine: use ASCII whitespace

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

 media-gfx/curaengine/curaengine-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.3.0.ebuild 
b/media-gfx/curaengine/curaengine-4.3.0.ebuild
index 4fd3aedee74..b2a9c9017ef 100644
--- a/media-gfx/curaengine/curaengine-4.3.0.ebuild
+++ b/media-gfx/curaengine/curaengine-4.3.0.ebuild
@@ -37,7 +37,7 @@ src_configure() {
 src_compile() {
cmake-utils_src_make
if use doc; then
-   doxygen || die
+   doxygen || die
mv docs/html . || die
find html -name '*.md5' -or -name '*.map' -delete || die
DOCS+=( html )



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

2019-10-15 Thread Joonas Niilola
commit: 5de1d467ce6ab50f8304a3de6e8bbdf3dba95918
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Oct 16 04:20:19 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct 16 05:22:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de1d467

media-gfx/curaengine: add missing die statement

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/curaengine/curaengine-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/curaengine/curaengine-4.3.0.ebuild 
b/media-gfx/curaengine/curaengine-4.3.0.ebuild
index b13c853f36b..f42d62c313c 100644
--- a/media-gfx/curaengine/curaengine-4.3.0.ebuild
+++ b/media-gfx/curaengine/curaengine-4.3.0.ebuild
@@ -36,7 +36,7 @@ src_configure() {
 src_compile() {
cmake-utils_src_make
if use doc; then
-   doxygen
+   doxygen || die
mv docs/html . || die
find html -name '*.md5' -or -name '*.map' -delete || die
DOCS+=( html )



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

2019-10-15 Thread Joonas Niilola
commit: a57d0dbb9a294b22ad4dd13318aa1bef847db1b3
Author: Michael Perlov  gmail  com>
AuthorDate: Sat Sep 28 10:35:45 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct 16 05:21:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57d0dbb

media-gfx/curaengine: version bump to 4.3.0

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Michael Perlov  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-4.3.0.ebuild | 44 
 2 files changed, 45 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index f2f0335a82d..ac7c4177842 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,3 +1,4 @@
 DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
 DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8
 DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B 
c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce
 SHA512 
6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500
+DIST curaengine-4.3.0.tar.gz 1656780 BLAKE2B 
9b93e3f294a8a67c2cd4f2d4462a4047e6860e0c391e7ff550b24c498faa82fd2af4fd044845f00f93fb01d38ca3fa1511bfe65a7456b5a6e0b919821be5ab8f
 SHA512 
60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572

diff --git a/media-gfx/curaengine/curaengine-4.3.0.ebuild 
b/media-gfx/curaengine/curaengine-4.3.0.ebuild
new file mode 100644
index 000..b13c853f36b
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+BDEPEND="|| ( sys-devel/gcc sys-devel/clang )
+   doc? ( app-doc/doxygen )"
+RDEPEND="${PYTHON_DEPS}
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf
+   dev-libs/stb"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



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

2019-08-25 Thread Joonas Niilola
commit: 2a990297c78893b117a18a85dec0be4152d6bf0e
Author: Michael Perlov  gmail  com>
AuthorDate: Sun Aug  4 16:10:21 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug 25 17:59:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a990297

media-gfx/curaengine: version bump to 4.2.0

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-4.2.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index e10e9a2fca4..f2f0335a82d 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
 DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8
+DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B 
c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce
 SHA512 
6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500

diff --git a/media-gfx/curaengine/curaengine-4.2.0.ebuild 
b/media-gfx/curaengine/curaengine-4.2.0.ebuild
new file mode 100644
index 000..30ee0ee8564
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-4.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils toolchain-funcs
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+BDEPEND="|| ( https://github.com/Ultimaker/CuraEngine/issues/984 
for more information"
+   eerror ""
+   die "Incompatible clang version found"
+   elif [[ $(gcc-major-version) -ge 9 ]]; then
+   eerror "Compilation with sys-devel/gcc-9 or newer is not 
supported"
+   eerror "See https://github.com/Ultimaker/CuraEngine/issues/984 
for more information"
+   eerror ""
+   die "Incompatible gcc version found"
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



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

2019-01-02 Thread Amy Liffey
commit: 75e93ffa7d991bea6791d5f21f1693006f578d49
Author: Amy Liffey  gentoo  org>
AuthorDate: Wed Jan  2 21:58:25 2019 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Wed Jan  2 22:04:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e93ffa

media-gfx/curaengine: remove old 3.3.0

Signed-off-by: Amy Liffey  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 media-gfx/curaengine/Manifest|  1 -
 media-gfx/curaengine/curaengine-3.3.0.ebuild | 42 
 2 files changed, 43 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 964c502d65f..e10e9a2fca4 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,3 +1,2 @@
-DIST curaengine-3.3.0.tar.gz 935367 BLAKE2B 
c02fa8ac5d79f6506dad91967f46add0b22b585cfb9931d67e34a033a59ba828722782f7fcf590ef45aa645b3c5dcb92416dbb5ef321fd5bf19935b2b5f1d4e7
 SHA512 
14b1961c90ec8ecad6fadfb992b72a4e05f3fa6c9a7b580812f90410c655db9d5798d46aa17311c216631daae1c21f6255c6fc4a0d903a91091e0a7a63642f70
 DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
 DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8

diff --git a/media-gfx/curaengine/curaengine-3.3.0.ebuild 
b/media-gfx/curaengine/curaengine-3.3.0.ebuild
deleted file mode 100644
index 2f945665c4a..000
--- a/media-gfx/curaengine/curaengine-3.3.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-MY_PN="CuraEngine"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="${PYTHON_DEPS}
-   ~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
-
-DOCS=( README.md )
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_configure() {
-   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_make
-   if use doc; then
-   doxygen
-   mv docs/html . || die
-   find html -name '*.md5' -or -name '*.map' -delete || die
-   DOCS+=( html )
-   fi
-}



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

2019-01-02 Thread Amy Liffey
commit: 719c5d075421fd900c3ca5423f7070a996255048
Author: Mathy Vanvoorden  vanvoorden  be>
AuthorDate: Sat Dec  8 22:15:39 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Wed Jan  2 21:48:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719c5d07

media-gfx/curaengine: version bump to 3.6.0

Signed-off-by: Mathy Vanvoorden  vanvoorden.be>
Signed-off-by: Amy Liffey  gentoo.org>
Package-Manager: Portage[mgorny]-2.3.51.1

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-3.6.0.ebuild | 43 
 2 files changed, 44 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 376b5414798..964c502d65f 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-3.3.0.tar.gz 935367 BLAKE2B 
c02fa8ac5d79f6506dad91967f46add0b22b585cfb9931d67e34a033a59ba828722782f7fcf590ef45aa645b3c5dcb92416dbb5ef321fd5bf19935b2b5f1d4e7
 SHA512 
14b1961c90ec8ecad6fadfb992b72a4e05f3fa6c9a7b580812f90410c655db9d5798d46aa17311c216631daae1c21f6255c6fc4a0d903a91091e0a7a63642f70
 DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be
+DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B 
a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c
 SHA512 
340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8

diff --git a/media-gfx/curaengine/curaengine-3.6.0.ebuild 
b/media-gfx/curaengine/curaengine-3.6.0.ebuild
new file mode 100644
index 000..00cac9e508c
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-3.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf
+   dev-libs/stb"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/, dev-libs/stb/

2019-01-02 Thread Amy Liffey
commit: d1d9eec5390dc20587a59c37d44347cf64b760e3
Author: Mathy Vanvoorden  vanvoorden  be>
AuthorDate: Sat Dec  8 22:09:27 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Wed Jan  2 21:48:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d9eec5

dev-libs/stb: new package

This is a header-only package that curaengine uses. Curaengine tries to pull it
from git if not found on the system, which causes the build to break. This
package installs the header files in a place where cmake will find it during
the build.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=670638
Closes: https://bugs.gentoo.org/show_bug.cgi?id=670604
Closes: https://bugs.gentoo.org/show_bug.cgi?id=670418
Closes: https://bugs.gentoo.org/show_bug.cgi?id=661416

Signed-off-by: Mathy Vanvoorden  vanvoorden.be>
Signed-off-by: Amy Liffey  gentoo.org>
Package-Manager: Portage[mgorny]-2.3.51.1

 dev-libs/stb/Manifest|  1 +
 dev-libs/stb/metadata.xml| 19 
 dev-libs/stb/stb-20180211.ebuild | 34 
 media-gfx/curaengine/curaengine-3.4.1.ebuild |  5 ++--
 4 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest
new file mode 100644
index 000..d666f693370
--- /dev/null
+++ b/dev-libs/stb/Manifest
@@ -0,0 +1 @@
+DIST stb-20180211.tar.gz 1327803 BLAKE2B 
a910ac78c5e3760a3e4c74e033d15230c39abd89aeb083ba6c7cd23f8339926e8ab82fde1b6f4fe7a1a312023979a74b961abe263c40b18b3bb8239cbdfa204e
 SHA512 
232ef301d4d6c82c7c5f0e4234b9160cc815f3b6bcc35d341cdf8738646f2f0887ee9838680699f4c9f4274b1390036b2c4fb3ebc2d663af8ff888114dc9f04b

diff --git a/dev-libs/stb/metadata.xml b/dev-libs/stb/metadata.xml
new file mode 100644
index 000..c6be08a3261
--- /dev/null
+++ b/dev-libs/stb/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   3dpr...@gentoo.org
+   Gentoo 3D Printer Project
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   ma...@vanvoorden.be
+   Mathy Vanvoorden
+   
+   
+   nothings/stb
+   
+

diff --git a/dev-libs/stb/stb-20180211.ebuild b/dev-libs/stb/stb-20180211.ebuild
new file mode 100644
index 000..6efc838e61b
--- /dev/null
+++ b/dev-libs/stb/stb-20180211.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# There are no offical releases
+CHECKSUM="e6afb9cbae4064da8c3e69af3ff5c4629579c1d2"
+
+DESCRIPTION="single-file public domain (or MIT licensed) libraries for C/C++"
+HOMEPAGE="https://github.com/nothings/stb;
+SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="|| ( MIT Unlicense )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+S="${WORKDIR}/${PN}-${CHECKSUM}"
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+   default
+
+   # Move the header files in a folder so they don't pollute the include 
dir
+   mkdir stb || die
+   mv *.h stb/ || die
+}
+
+src_install() {
+   doheader -r stb
+}

diff --git a/media-gfx/curaengine/curaengine-3.4.1.ebuild 
b/media-gfx/curaengine/curaengine-3.4.1.ebuild
index 2f945665c4a..00cac9e508c 100644
--- a/media-gfx/curaengine/curaengine-3.4.1.ebuild
+++ b/media-gfx/curaengine/curaengine-3.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,8 @@ IUSE="doc test"
 
 RDEPEND="${PYTHON_DEPS}
~dev-libs/libarcus-${PV}:*
-   dev-libs/protobuf"
+   dev-libs/protobuf
+   dev-libs/stb"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
 



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

2018-07-16 Thread Amy Liffey
commit: a20ab210d9b3343065d129557d6337f1006f188b
Author: Michael Perlov  gmail  com>
AuthorDate: Thu Jul 12 10:24:01 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Mon Jul 16 17:07:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20ab210

media-gfx/curaengine: version bump to 3.4.1

Bug: https://bugs.gentoo.org/660884
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-3.4.1.ebuild | 42 
 2 files changed, 43 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 0b919c3dc9c..376b5414798 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1 +1,2 @@
 DIST curaengine-3.3.0.tar.gz 935367 BLAKE2B 
c02fa8ac5d79f6506dad91967f46add0b22b585cfb9931d67e34a033a59ba828722782f7fcf590ef45aa645b3c5dcb92416dbb5ef321fd5bf19935b2b5f1d4e7
 SHA512 
14b1961c90ec8ecad6fadfb992b72a4e05f3fa6c9a7b580812f90410c655db9d5798d46aa17311c216631daae1c21f6255c6fc4a0d903a91091e0a7a63642f70
+DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 
4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0
 SHA512 
51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be

diff --git a/media-gfx/curaengine/curaengine-3.4.1.ebuild 
b/media-gfx/curaengine/curaengine-3.4.1.ebuild
new file mode 100644
index 000..2f945665c4a
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-3.4.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_PN="CuraEngine"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   ~dev-libs/libarcus-${PV}:*
+   dev-libs/protobuf"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+
+DOCS=( README.md )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



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

2018-06-14 Thread Alexey Shvetsov
commit: c3582a42989a5084702af05084fe18f093b743b6
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Thu Jun 14 20:04:58 2018 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Thu Jun 14 20:13:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3582a42

media-gfx/curaengine: metadata update

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/curaengine/metadata.xml | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
index 2b689686f81..58e8297dc74 100644
--- a/media-gfx/curaengine/metadata.xml
+++ b/media-gfx/curaengine/metadata.xml
@@ -5,6 +5,25 @@
3dpr...@gentoo.org
Gentoo 3D Printer Project

+   
+   ale...@gentoo.org
+   Alexey Shvetsov
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   ma...@vanvoorden.be
+   Mathy Vanvoorden
+   
+   
+   perlo...@gmail.com
+   Michael Perlov
+   
+   
+   soname major version number
+   

Ultimaker/CuraEngine




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

2018-06-14 Thread Alexey Shvetsov
commit: a0aecaa2e765248658553738da56cf52e65eb476
Author: Alexey Shvetsov  omrb  pnpi  spb  ru>
AuthorDate: Thu Jun 14 13:07:19 2018 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Thu Jun 14 13:07:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aecaa2

media-gfx/curaengine: Version bump and clean up

Closes: https://bugs.gentoo.org/630620
Closes: https://bugs.gentoo.org/648130
Closes: https://github.com/gentoo/gentoo/pull/8258
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/curaengine/Manifest  |  5 +--
 media-gfx/curaengine/curaengine-0.15.04.6.ebuild   | 49 --
 media-gfx/curaengine/curaengine-2.1.0_beta.ebuild  | 41 --
 media-gfx/curaengine/curaengine-2.3.1-r1.ebuild| 45 
 media-gfx/curaengine/curaengine-2.3.1-r2.ebuild| 47 -
 media-gfx/curaengine/curaengine-2.6.0-r1.ebuild| 44 ---
 media-gfx/curaengine/curaengine-2.6.0.ebuild   | 41 --
 ...engine-2.3.1.ebuild => curaengine-3.3.0.ebuild} | 19 +
 .../files/curaengine-0.15.04.6-cflags.patch| 27 
 ...curaengine-2.3.1-fix-stringtest-int-types.patch | 43 ---
 ...raengine-2.3.1-make-stringtest-64bit-safe.patch | 13 --
 .../curaengine-2.3.1-remove-gcodeplannertest.patch | 14 ---
 12 files changed, 11 insertions(+), 377 deletions(-)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 005ef75a0aa..0b919c3dc9c 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,4 +1 @@
-DIST curaengine-0.15.04.6.tar.gz 107970 BLAKE2B 
cf72d74acbc5df4e46c066e27c36957380dee8a40301f0d489b23c0ab2f231bf4f3b7d953964fa7eb073c816a7f7aff755f25380d86bee37a61e1d0bd2ae3b68
 SHA512 
150e93dca08c57bc37af4c3232c0d18aed93347657d7261f89d7d8352d2774ac7a2a944c3b1efce432b507674f5e99981844823b792ec3fbe47799d2487e899d
-DIST curaengine-2.1.0_beta.tar.gz 33322580 BLAKE2B 
dac6b108caddb006348b184465727fba311ee6b35c992db44bef1a0a129c8b5daebc8315ac1654120404a30c4a4851ee37d0c12e17886539f8f57572a26fa520
 SHA512 
23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb
-DIST curaengine-2.3.1.tar.gz 712429 BLAKE2B 
9971468b9eb8aac12426a1483adf904825bc142e25010ba6ba989b94095ac92b10ad91a7fe5a486b823f9238813e986b58bb744e71209542c965cbd43486f56e
 SHA512 
3d247048e51c7aca33b71d7d2382d673e7b4d547cb9fcbf639c9bbc801db067ea010c04a6fd4e88b87e00d9069f7a70019612148ae2b50095514b85078e71220
-DIST curaengine-2.6.0.tar.gz 828387 BLAKE2B 
db3db01a4c66d4a6ca7c6da1997c0a7250877568a4e93bb86393c777c368d22b73e85ad918b65d502670d2d483cb909b5fdae75b17081b04e2091d1498d9a6c8
 SHA512 
3991127ba3005b93f02ab72fd6c9208b153d5419145edb84f187e1fa32d03220001d8be958847360f7eaa75336ed44f3f7158cedea82d33450992145dfd0a0d9
+DIST curaengine-3.3.0.tar.gz 935367 BLAKE2B 
c02fa8ac5d79f6506dad91967f46add0b22b585cfb9931d67e34a033a59ba828722782f7fcf590ef45aa645b3c5dcb92416dbb5ef321fd5bf19935b2b5f1d4e7
 SHA512 
14b1961c90ec8ecad6fadfb992b72a4e05f3fa6c9a7b580812f90410c655db9d5798d46aa17311c216631daae1c21f6255c6fc4a0d903a91091e0a7a63642f70

diff --git a/media-gfx/curaengine/curaengine-0.15.04.6.ebuild 
b/media-gfx/curaengine/curaengine-0.15.04.6.ebuild
deleted file mode 100644
index b375b1bffa2..000
--- a/media-gfx/curaengine/curaengine-0.15.04.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-MY_PV=${PV#0.}
-MY_PN=CuraEngine
-
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="A 3D model slicing engine for 3D printing"
-HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
-
-LICENSE="AGPL-3"
-SLOT="0"
-IUSE="test"
-
-RDEPEND=""
-DEPEND=""
-
-S="${WORKDIR}/${MY_PN}-${MY_PV}"
-PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
-
-src_prepare() {
-   tc-export CXX
-   default
-}
-
-src_test() {
-   pushd tests 2>&- || die
-   einfo "Commencing test ..."
-   local testbin=( "${S}/build/CuraEngine" "-c" "supportAngle=60" "-c" 
"supportEverywhere=1" )
-   local testmdl="${S}/tests/testModel.stl"
-   ${testbin[*]} "${testmdl}"
-   if [[ $? -eq 0 && -f "${testbin[0]}" && -f "${testmdl}" ]]; then
-   einfo "Test completed successfully."
-   else
-   ewarn "Test failed."
-   fi
-   popd 2>&- || die
-}
-
-src_install() {
-   dobin build/CuraEngine
-   dodoc README.md
-}

diff --git a/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild 
b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
deleted file mode 100644
index 10de130c3a9..000
--- a/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms 

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

2018-05-11 Thread Amy Liffey
commit: 3c59fa24dc0ba2f2023a2fef48be9af986ace5bc
Author: M. J. Everitt  iee  org>
AuthorDate: Thu May 10 21:56:39 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Fri May 11 18:17:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c59fa24

media-gfx/curaengine: Fix StringTest for 32-bit arches

Closes: https://bugs.gentoo.org/655116
Closes: https://github.com/gentoo/gentoo/pull/8339
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 media-gfx/curaengine/curaengine-2.3.1-r2.ebuild| 47 ++
 ...curaengine-2.3.1-fix-stringtest-int-types.patch | 43 
 ...raengine-2.3.1-make-stringtest-64bit-safe.patch | 13 ++
 3 files changed, 103 insertions(+)

diff --git a/media-gfx/curaengine/curaengine-2.3.1-r2.ebuild 
b/media-gfx/curaengine/curaengine-2.3.1-r2.ebuild
new file mode 100644
index 000..caa04ad6c13
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.3.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen
+  media-gfx/graphviz )
+   test? ( dev-util/cppunit )"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( "README.md" )
+PATCHES=( "${FILESDIR}/${P}-remove-gcodeplannertest.patch"
+ "${FILESDIR}/${P}-make-stringtest-64bit-safe.patch"
+ "${FILESDIR}/${P}-fix-stringtest-int-types.patch" )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen || die
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   HTML_DOCS=( html/. )
+   fi
+}

diff --git 
a/media-gfx/curaengine/files/curaengine-2.3.1-fix-stringtest-int-types.patch 
b/media-gfx/curaengine/files/curaengine-2.3.1-fix-stringtest-int-types.patch
new file mode 100644
index 000..e30bde4de45
--- /dev/null
+++ b/media-gfx/curaengine/files/curaengine-2.3.1-fix-stringtest-int-types.patch
@@ -0,0 +1,43 @@
+From fe45e504ace024d920fe18b4f55d6aa07b2f929b Mon Sep 17 00:00:00 2001
+From: Ghostkeeper 
+Date: Mon, 20 Nov 2017 10:46:09 +0100
+Subject: [PATCH] Use ints instead of int64_t to test writing ints
+
+Because sprintf doesn't accept anything more.
+---
+ tests/utils/StringTest.cpp | 4 ++--
+ tests/utils/StringTest.h   | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/tests/utils/StringTest.cpp b/tests/utils/StringTest.cpp
+index 5bd16c5d3..980d2145f 100644
+--- a/tests/utils/StringTest.cpp
 b/tests/utils/StringTest.cpp
+@@ -71,12 +71,12 @@ void StringTest::writeInt2mmTestMax()
+ }
+ 
+ 
+-void StringTest::writeInt2mmAssert(int64_t in)
++void StringTest::writeInt2mmAssert(int in)
+ {
+ std::ostringstream ss;
+ writeInt2mm(in, ss);
+ std::string str = ss.str();
+-int64_t out = MM2INT(strtod(str.c_str(), nullptr));
++int out = MM2INT(strtod(str.c_str(), nullptr));
+ 
+ char buffer[200];
+ sprintf(buffer, "The integer %d was printed as '%s' which was interpreted 
as %d rather than %d!", in, str.c_str(), out, in);
+diff --git a/tests/utils/StringTest.h b/tests/utils/StringTest.h
+index 58be00642..da1da793a 100644
+--- a/tests/utils/StringTest.h
 b/tests/utils/StringTest.h
+@@ -68,7 +68,7 @@ class StringTest : public CppUnit::TestFixture
+  * 
+  * \param in the integer to check
+  */
+-void writeInt2mmAssert(int64_t in);
++void writeInt2mmAssert(int in);
+ };
+ 
+ }

diff --git 
a/media-gfx/curaengine/files/curaengine-2.3.1-make-stringtest-64bit-safe.patch 
b/media-gfx/curaengine/files/curaengine-2.3.1-make-stringtest-64bit-safe.patch
new file mode 100644
index 000..a9b447fe852
--- /dev/null
+++ 
b/media-gfx/curaengine/files/curaengine-2.3.1-make-stringtest-64bit-safe.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/utils/StringTest.cpp b/tests/utils/StringTest.cpp
+index aa369f3da..b1a084587 100644
+--- a/tests/utils/StringTest.cpp
 b/tests/utils/StringTest.cpp
+@@ -79,7 +79,7 @@ void StringTest::writeInt2mmAssert(int64_t in)
+ int64_t out = MM2INT(strtod(str.c_str(), nullptr));
+ 
+ char buffer[200];
+-sprintf(buffer, "The integer %ld was printed as '%s' which was 
interpreted as %ld rather than %ld!", in, str.c_str(), out, in);
++sprintf(buffer, "The integer %d was printed as '%s' which was interpreted 
as %d rather than 

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

2018-04-03 Thread Jonas Stein
commit: 2e55ba0cdb364bbbdf0210a32426138fa021585a
Author: Jonas Stein  gentoo  org>
AuthorDate: Tue Apr  3 15:18:06 2018 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Tue Apr  3 15:27:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e55ba0c

media-gfx/curaengine: Maintainer retired

Proxied maintainer was retired due to inactivity.
Bug: https://bugs.gentoo.org/632854
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-gfx/curaengine/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
index befd642b942..2b689686f81 100644
--- a/media-gfx/curaengine/metadata.xml
+++ b/media-gfx/curaengine/metadata.xml
@@ -1,18 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   tombo...@sina.cn
-   Matthew Brewer
-   

3dpr...@gentoo.org
Gentoo 3D Printer Project

-   
-   proxy-ma...@gentoo.org
-   Gentoo Proxy Maintainers Project
-   

Ultimaker/CuraEngine




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

2018-04-01 Thread Michał Górny
commit: 8621ceccf75e62382b2921228551c788ff2b2910
Author: M. J. Everitt  iee  org>
AuthorDate: Fri Mar  9 07:30:35 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr  1 11:54:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8621cecc

media-gfx/curaengine: Add missing DEPs, remove broken test

Tests require missing dev-util/cppinit.
Docs require missing media-gfx/graphviz to provide 'dot'.
GCodePlannerTest broken per https://github.com/Ultimaker/CuraEngine/issues/404

Bug: https://bugs.gentoo.org/640838
Closes: https://github.com/gentoo/gentoo/pull/7401
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 media-gfx/curaengine/curaengine-2.3.1-r1.ebuild| 45 ++
 media-gfx/curaengine/curaengine-2.6.0-r1.ebuild| 44 +
 .../curaengine-2.3.1-remove-gcodeplannertest.patch | 14 +++
 3 files changed, 103 insertions(+)

diff --git a/media-gfx/curaengine/curaengine-2.3.1-r1.ebuild 
b/media-gfx/curaengine/curaengine-2.3.1-r1.ebuild
new file mode 100644
index 000..ee9efe32b82
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.3.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen
+  media-gfx/graphviz )
+   test? ( dev-util/cppunit )"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( "README.md" )
+PATCHES=( "${FILESDIR}/${P}-remove-gcodeplannertest.patch" )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen || die
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   HTML_DOCS=( html/. )
+   fi
+}

diff --git a/media-gfx/curaengine/curaengine-2.6.0-r1.ebuild 
b/media-gfx/curaengine/curaengine-2.6.0-r1.ebuild
new file mode 100644
index 000..b6dbce74a56
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.6.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen
+  media-gfx/graphviz )
+   test? ( dev-util/cppunit )"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( "README.md" )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen || die
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   HTML_DOCS=( html/. )
+   fi
+}

diff --git 
a/media-gfx/curaengine/files/curaengine-2.3.1-remove-gcodeplannertest.patch 
b/media-gfx/curaengine/files/curaengine-2.3.1-remove-gcodeplannertest.patch
new file mode 100644
index 000..351cebde493
--- /dev/null
+++ b/media-gfx/curaengine/files/curaengine-2.3.1-remove-gcodeplannertest.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 47dcd2d1..c2316d68 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -110,9 +125,6 @@ set(engine_SRCS # Except main.cpp.
+ )
+ 
+ # List of tests. For each test there must be a file tests/${NAME}.cpp and a 
file tests/${NAME}.h.
+-set(engine_TEST
+-GCodePlannerTest
+-)
+ set(engine_TEST_INFILL
+ )
+ set(engine_TEST_UTILS



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

2017-11-26 Thread David Seifert
commit: 52cfe0d9e11feacfdf5ea12a300889f617f3b187
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 11:57:34 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:02:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cfe0d9

media-gfx/curaengine: [QA] Consistent whitespace in metadata.xml

 media-gfx/curaengine/metadata.xml | 28 ++--
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
index f11feb002f8..befd642b942 100644
--- a/media-gfx/curaengine/metadata.xml
+++ b/media-gfx/curaengine/metadata.xml
@@ -1,19 +1,19 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-tombo...@sina.cn
-Matthew Brewer
-
-
-3dpr...@gentoo.org
-Gentoo 3D Printer Project
-
-
-proxy-ma...@gentoo.org
-Gentoo Proxy Maintainers Project
-
-
+   
+   tombo...@sina.cn
+   Matthew Brewer
+   
+   
+   3dpr...@gentoo.org
+   Gentoo 3D Printer Project
+   
+   
+   proxy-ma...@gentoo.org
+   Gentoo Proxy Maintainers Project
+   
+   
Ultimaker/CuraEngine
-
+   
 



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

2017-07-23 Thread Alexey Shvetsov
commit: 214977e32ffea05994e06ba67fbb88aa0523f1bc
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Sun Jul 23 11:03:09 2017 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Sun Jul 23 11:03:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214977e3

media-gfx/curaengine: Version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-2.6.0.ebuild | 41 
 2 files changed, 42 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 3583893d4e6..5b16962aaeb 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,3 +1,4 @@
 DIST curaengine-0.15.04.6.tar.gz 107970 SHA256 
4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1 SHA512 
150e93dca08c57bc37af4c3232c0d18aed93347657d7261f89d7d8352d2774ac7a2a944c3b1efce432b507674f5e99981844823b792ec3fbe47799d2487e899d
 WHIRLPOOL 
bb37368709d5399ccb5241ff6b8108d7faffc7e8e8b3b155b28f51b2c4cb00fbafc1ea5c3e2198d007036069bc3cf311755c932ae2f01c2cbaa9caba8dada637
 DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 
0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 
23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb
 WHIRLPOOL 
45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe
 DIST curaengine-2.3.1.tar.gz 712429 SHA256 
a71cbfcc26714a49dcb4633086843ee6b03dcecc0f9b1a692df9b9055047daef SHA512 
3d247048e51c7aca33b71d7d2382d673e7b4d547cb9fcbf639c9bbc801db067ea010c04a6fd4e88b87e00d9069f7a70019612148ae2b50095514b85078e71220
 WHIRLPOOL 
5a788c9bbf39427a3a0cc6d9666a10ed7b529deb0ca8d0e5de775e1ce0bb0d61cded0b03f5a94849302b2418290c9abbc21a16574967e64a63697d04b0e886c7
+DIST curaengine-2.6.0.tar.gz 828387 SHA256 
6569fe4c20ef08649fcc947902a3d1525ccbdcf11719241b6e83e435a7b15ab7 SHA512 
3991127ba3005b93f02ab72fd6c9208b153d5419145edb84f187e1fa32d03220001d8be958847360f7eaa75336ed44f3f7158cedea82d33450992145dfd0a0d9
 WHIRLPOOL 
f27387f93013177ae11030db5cf0700b0a0081ad975f4af95e4b2762f214682cd84eb202e73e2f26a0a2de392ddac85543d9297bb6213080c0eca573007b5206

diff --git a/media-gfx/curaengine/curaengine-2.6.0.ebuild 
b/media-gfx/curaengine/curaengine-2.6.0.ebuild
new file mode 100644
index 000..814f01f58f9
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.6.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( README.md )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



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

2016-12-05 Thread Alexey Shvetsov
commit: c8d6f850580223f5b8fefbedb8b195b19034164c
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Mon Dec  5 09:41:12 2016 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Mon Dec  5 09:41:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d6f850

media-gfx/curaengine: Version bump to 2.3.1

Package-Manager: portage-2.3.2

 media-gfx/curaengine/Manifest|  1 +
 media-gfx/curaengine/curaengine-2.3.1.ebuild | 42 
 2 files changed, 43 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 7d5427e..3583893 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1,2 +1,3 @@
 DIST curaengine-0.15.04.6.tar.gz 107970 SHA256 
4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1 SHA512 
150e93dca08c57bc37af4c3232c0d18aed93347657d7261f89d7d8352d2774ac7a2a944c3b1efce432b507674f5e99981844823b792ec3fbe47799d2487e899d
 WHIRLPOOL 
bb37368709d5399ccb5241ff6b8108d7faffc7e8e8b3b155b28f51b2c4cb00fbafc1ea5c3e2198d007036069bc3cf311755c932ae2f01c2cbaa9caba8dada637
 DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 
0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 
23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb
 WHIRLPOOL 
45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe
+DIST curaengine-2.3.1.tar.gz 712429 SHA256 
a71cbfcc26714a49dcb4633086843ee6b03dcecc0f9b1a692df9b9055047daef SHA512 
3d247048e51c7aca33b71d7d2382d673e7b4d547cb9fcbf639c9bbc801db067ea010c04a6fd4e88b87e00d9069f7a70019612148ae2b50095514b85078e71220
 WHIRLPOOL 
5a788c9bbf39427a3a0cc6d9666a10ed7b529deb0ca8d0e5de775e1ce0bb0d61cded0b03f5a94849302b2418290c9abbc21a16574967e64a63697d04b0e886c7

diff --git a/media-gfx/curaengine/curaengine-2.3.1.ebuild 
b/media-gfx/curaengine/curaengine-2.3.1.ebuild
new file mode 100644
index ..b305c32
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.3.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( README.md )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}



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

2016-08-07 Thread Göktürk Yüksek
commit: 926306e30a97823ca59c5a12d63e67f241ae3f36
Author: Marshall Brewer (Gentoo Key)  sina  cn>
AuthorDate: Sat Apr 30 07:56:35 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Aug  8 01:34:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926306e3

media-gfx/curaengine: new version 0.15.04.6 (legacy)

based on the original ebuild by _AxS_

Package-Manager: portage-2.2.28

 media-gfx/curaengine/Manifest  |  1 +
 media-gfx/curaengine/curaengine-0.15.04.6.ebuild   | 50 ++
 .../files/curaengine-0.15.04.6-cflags.patch| 27 
 3 files changed, 78 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
index 1d3316c..7d5427e 100644
--- a/media-gfx/curaengine/Manifest
+++ b/media-gfx/curaengine/Manifest
@@ -1 +1,2 @@
+DIST curaengine-0.15.04.6.tar.gz 107970 SHA256 
4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1 SHA512 
150e93dca08c57bc37af4c3232c0d18aed93347657d7261f89d7d8352d2774ac7a2a944c3b1efce432b507674f5e99981844823b792ec3fbe47799d2487e899d
 WHIRLPOOL 
bb37368709d5399ccb5241ff6b8108d7faffc7e8e8b3b155b28f51b2c4cb00fbafc1ea5c3e2198d007036069bc3cf311755c932ae2f01c2cbaa9caba8dada637
 DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 
0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 
23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb
 WHIRLPOOL 
45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe

diff --git a/media-gfx/curaengine/curaengine-0.15.04.6.ebuild 
b/media-gfx/curaengine/curaengine-0.15.04.6.ebuild
new file mode 100644
index 000..7abf5a3
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-0.15.04.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_PV=${PV#0.}
+MY_PN=CuraEngine
+
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=""
+DEPEND=""
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
+
+src_prepare() {
+   tc-export CXX
+   default
+}
+
+src_test() {
+   pushd tests 2>&- || die
+   einfo "Commencing test ..."
+   local testbin=( "${S}/build/CuraEngine" "-c" "supportAngle=60" "-c" 
"supportEverywhere=1" )
+   local testmdl="${S}/tests/testModel.stl"
+   ${testbin[*]} "${testmdl}"
+   if [[ $? -eq 0 && -f "${testbin[0]}" && -f "${testmdl}" ]]; then
+   einfo "Test completed successfully."
+   else
+   ewarn "Test failed."
+   fi
+   popd 2>&- || die
+}
+
+src_install() {
+   dobin build/CuraEngine
+   dodoc README.md
+}

diff --git a/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch 
b/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch
new file mode 100644
index 000..9807301
--- /dev/null
+++ b/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 32fa704..c426ef8 100644
+--- a/Makefile
 b/Makefile
+@@ -18,9 +18,9 @@ endif
+ ifeq ($(BUILD_TYPE),PROFILE)
+   CFLAGS+= -pg
+ endif
+-ifeq ($(BUILD_TYPE),RELEASE)
+-  CFLAGS+= -O3 -fomit-frame-pointer
+-endif
++#ifeq ($(BUILD_TYPE),RELEASE)
++# CFLAGS+= -O3 -fomit-frame-pointer
++#endif
+ 
+ LDFLAGS += -Lbuild/ -lclipper
+ 
+# By courtesy of Whissi: this enforces use of our CXXFLAGS
+@@ -70,7 +70,7 @@ $(BUILD_DIR)/libclipper.a: $(LIBS_DIR)/clipper/clipper.cpp
+   $(CXX) $(CFLAGS) -o $(BUILD_DIR)/libclipper.a 
$(LIBS_DIR)/clipper/clipper.cpp
+ 
+ $(EXECUTABLE): $(OBJECTS) $(BUILD_DIR)/libclipper.a
+-  $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
++  $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
+ 
+ $(DIRS):
+   -@$(MKDIR_PREFIX) $(DIRS)



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

2016-04-28 Thread Ian Delaney
commit: 0f5896d1ac0f8bc078609c1c5e90bd5da350b643
Author: Marshall Brewer (Gentoo Key)  sina  cn>
AuthorDate: Tue Apr 12 20:11:43 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Thu Apr 28 14:12:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5896d1

media-gfx/curaengine: initial ebuild, version 2.1.0_beta

Closes: https://github.com/gentoo/gentoo/pull/1298

Signed-off-by: Ian Delaney  gentoo.org>

 media-gfx/curaengine/Manifest |  1 +
 media-gfx/curaengine/curaengine-2.1.0_beta.ebuild | 42 +++
 media-gfx/curaengine/metadata.xml | 19 ++
 3 files changed, 62 insertions(+)

diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest
new file mode 100644
index 000..1d3316c
--- /dev/null
+++ b/media-gfx/curaengine/Manifest
@@ -0,0 +1 @@
+DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 
0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 
23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb
 WHIRLPOOL 
45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe

diff --git a/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild 
b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
new file mode 100644
index 000..b305c32
--- /dev/null
+++ b/media-gfx/curaengine/curaengine-2.1.0_beta.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit cmake-utils
+
+MY_PN=CuraEngine
+MY_PV=${PV/_beta}
+
+DESCRIPTION="A 3D model slicing engine for 3D printing"
+HOMEPAGE="https://github.com/Ultimaker/CuraEngine;
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/libarcus:=
+   >=dev-libs/protobuf-3"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+DOCS=( README.md )
+
+src_configure() {
+   local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_make
+   if use doc; then
+   doxygen
+   mv docs/html . || die
+   find html -name '*.md5' -or -name '*.map' -delete || die
+   DOCS+=( html )
+   fi
+}

diff --git a/media-gfx/curaengine/metadata.xml 
b/media-gfx/curaengine/metadata.xml
new file mode 100644
index 000..f11feb0
--- /dev/null
+++ b/media-gfx/curaengine/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+tombo...@sina.cn
+Matthew Brewer
+
+
+3dpr...@gentoo.org
+Gentoo 3D Printer Project
+
+
+proxy-ma...@gentoo.org
+Gentoo Proxy Maintainers Project
+
+
+   Ultimaker/CuraEngine
+
+