* [gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/files/, media-gfx/curaengine/
@ 2018-04-01 11:54 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2018-04-01 11:54 UTC (permalink / raw
To: gentoo-commits
commit: 8621ceccf75e62382b2921228551c788ff2b2910
Author: M. J. Everitt <m.j.everitt <AT> iee <DOT> org>
AuthorDate: Fri Mar 9 07:30:35 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 1 11:54:03 2018 +0000
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 00000000000..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 00000000000..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 00000000000..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
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-04-01 11:54 99% [gentoo-commits] repo/gentoo:master commit in: media-gfx/curaengine/files/, media-gfx/curaengine/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox