media-gfx/cura: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/21240
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
This commit is contained in:
Dennis Lamm
2021-06-14 20:17:27 +02:00
parent 5bfc0aa312
commit 0d686fb2a9
14 changed files with 0 additions and 487 deletions

View File

@@ -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

View File

@@ -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 '
<dev-python/sip-5[${PYTHON_MULTI_USEDEP}]
python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] )
')"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
PATCHES=(
"${FILESDIR}"/${P}-deprecated-protobuf-calls.patch
)
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
# Find SIP for current python version, not the latest installed
sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
CMakeLists.txt cmake/FindSIP.cmake || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples ON OFF)
-DBUILD_PYTHON=$(usex python ON OFF)
-DBUILD_STATIC=$(usex static-libs ON OFF)
)
cmake_src_configure
}

View File

@@ -1,2 +1 @@
DIST libcharon-4.8.0.tar.gz 151223 BLAKE2B fe4d2901908367569b45c466d31ac6e290979a8bd39c84f9c3ceb3ed91e9d9f1a789703fa5006706e21d77bd46b3185571df3f6157c7722e3e35244d27e0231c SHA512 33d3e9aa4e356fbf1d41555cfe2a5470d8f02b1d4f59d83e1ba89236b5e4489a93bdf24fad6f9bd2b0f843c053c485a082f5ee57437862ac40522aa61280b19c
DIST libcharon-4.9.1.tar.gz 151243 BLAKE2B 8557efe4667a83297a4bcfc8307e2322a379e52d50ad1648d873a923e182b3be1651a13c7402ac041fd134036a75a42e825adf2cc27271af218db44af7e48473 SHA512 41d611f8d3bf0f762a38a00c159104df04b73cd5c4f7e9ebcfe3ac9cdd0c8e31e505c4fd4ef8f8a6f1c02bf882bb3e14ea4e92c8b15169a91cbd1815e36310fa

View File

@@ -1,73 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit cmake python-single-r1
MY_PN="libCharon"
DESCRIPTION="This library facilitates communication between Cura and its backend"
HOMEPAGE="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
}

View File

@@ -1,2 +1 @@
DIST libsavitar-4.8.0.tar.gz 99030 BLAKE2B a1c1e252aa942114a1d7112d2e661b5e63403502642826c6b92c408c8eabd3d9fb12b44dc286f9a0dce3d42f473adae2441d357f237c903c8a0df936c41f9f37 SHA512 65d31986b120c9e717b10d0bac420f2582d9f1b44051d88f89475408d1f7997e144001c61f180eac554de33f1f8c1ec9555a6c23bdd797315624f57030f7ec8c
DIST libsavitar-4.9.1.tar.gz 100496 BLAKE2B 7700f110522298905c1e4cf42529e83c06c337ac826007db2fca8abf462abcb8dd9245d2d81773ba3e6663d9afa093685bf955a1cc7e27d48fc904913e56d62f SHA512 2b291a17603922a4a06292282392015cf381a813b5f9a374e8cb35da6c0701ead72cbf76f17e763793225885a4209b49e73114f462b40d6999f95db6de887a44

View File

@@ -1,76 +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="libSavitar"
DESCRIPTION="C++ implementation of 3mf loading with SIP python bindings"
HOMEPAGE="https://github.com/Ultimaker/libSavitar"
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="+python static-libs test"
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="${PYTHON_DEPS}
dev-libs/pugixml
$(python_gen_cond_dep '
<dev-python/sip-5[${PYTHON_MULTI_USEDEP}]
')"
DEPEND="${RDEPEND}
test? (
dev-cpp/gtest
dev-cpp/tbb
)"
S="${WORKDIR}/${MY_PN}-${PV}"
BUILD_DIR="${S}/build"
PATCHES=( "${FILESDIR}/${PN}-4.7.0-use-system-pugixml.patch" )
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
# remove bundled pugixml
rm -r "${S}"/pugixml || die
find "${S}"/src -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
-e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
if use test; then
find "${S}"/tests -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
-e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
fi
# find SIP for current python version, not the latest installed
sed -i -e "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
CMakeLists.txt cmake/FindSIP.cmake || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_PYTHON=$(usex python ON OFF)
-DBUILD_STATIC=$(usex static-libs ON OFF)
-DBUILD_TESTS=$(usex test ON OFF)
)
cmake_src_configure
}
src_test() {
cmake_src_test
}

View File

@@ -1,2 +1 @@
DIST uranium-4.8.0.tar.gz 1027286 BLAKE2B 5e068255918ca3a6125c308a64d47fab30260aa475505edad2abda664d2c2db7d821d4219ff682d4de90e16de2e36d257410a44f2752c733994739ca160e55b0 SHA512 a2cb923d703e626760c885ceb657566abfa5662f63729fef0b5cdf408da2ed3c23fefcd173b8af529ee79c2384505b2558379b82ba2cfd7a2d2291fe723ddbbd
DIST uranium-4.9.1.tar.gz 1038046 BLAKE2B 3304e89e0a22fbda0e9e57aaf88f6f11979eb5273d6c8a69f5ec9f050741561f67667a76e2136148808862026e2330f3b5043141ed8d69d255632a8c3c869def SHA512 e665a1ff8ebfc629e4bc2253533a3332d8f8804155432af921ad2e7251d5725daf9346cc5f110595914ac6f0d194db6d7e06dfcd3795b57e35b3d5e6dae594a7

View File

@@ -1,97 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=(python3_{7..8})
inherit cmake distutils-r1
MY_PN="Uranium"
DESCRIPTION="A Python framework for building 3D printing related applications"
HOMEPAGE="https://github.com/Ultimaker/Uranium"
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="debug doc test"
BDEPEND="${PYTHON_DEPS}
sys-devel/gettext
doc? ( app-doc/doxygen[dot] )
test? (
$(python_gen_cond_dep '
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/mypy[${PYTHON_USEDEP}]
')
)"
DEPEND="${PYTHON_DEPS}
~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep '
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg]
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/scipy-1.1[${PYTHON_USEDEP}]
sci-libs/shapely[${PYTHON_USEDEP}]
')"
RDEPEND="${DEPEND}
dev-qt/qtquickcontrols:5
dev-qt/qtquickcontrols2:5"
DOCS=( README.md )
S="${WORKDIR}/${MY_PN}-${PV}"
distutils_enable_tests pytest
src_prepare() {
python_fix_shebang .
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/"
-DGETTEXT_MSGINIT_EXECUTABLE="msginit"
)
if ! use debug; then
sed -i -e 's logging.DEBUG logging.ERROR g' \
plugins/ConsoleLogger/ConsoleLogger.py \
plugins/FileLogger/FileLogger.py || die
fi
sed -i \
-e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \
CMakeLists.txt cmake/UraniumPluginInstall.cmake
sed -i \
-e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
-e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \
cmake/UraniumPluginInstall.cmake
sed -i \
-e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \
-e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \
CMakeLists.txt
cmake_src_configure
}
src_compile() {
cmake_src_compile
use doc && cmake_src_compile doc
}
src_install() {
cmake_src_install
python_optimize "${ED}"/usr
}

View File

@@ -1,2 +1 @@
DIST cura-4.8.0.tar.gz 31930258 BLAKE2B 0a10a03f5fa34ec0279b9476063f71d8ae904e05485b84fac011fa5061812cd74f4be6df7e6d93046365799fc2fb1bcf4d10d89c69d2c8455080f99c12cec153 SHA512 0a34438299908021242e47e74418e56fe61c41cff5c29df938b4705b5d23ceb6e1bd17b9eb8110f8ec75c7a08afe8928857d4f2fd5befa00c187bce717105711
DIST cura-4.9.1.tar.gz 47870392 BLAKE2B 2471c8461f73ad2343f4c3315994c5f63781ae1e49cb4699cd66e7e77c25a93916931fbaa6598c4144707dbc7778c902dad3a25839c0523aaf51ed39aacd2463 SHA512 436b8e33514de67d6d680fe59ab9599a75a86caa7e63fbcd05297b12a435483ec0c9ca90557fe23f25590a24e533294915fc18a665fd5cdb77fcc3a05a9076bf

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{7..8})
inherit cmake desktop python-single-r1 xdg
MY_PN=Cura
DESCRIPTION="A 3D model slicing application for 3D printing"
HOMEPAGE="https://github.com/Ultimaker/Cura"
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="debug +usb zeroconf"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="sys-devel/gettext"
RDEPEND="${PYTHON_DEPS}
~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
~dev-libs/libcharon-${PV}[${PYTHON_SINGLE_USEDEP}]
~dev-libs/libsavitar-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
~dev-python/pynest2d-${PV}[${PYTHON_SINGLE_USEDEP}]
~dev-python/uranium-${PV}[${PYTHON_SINGLE_USEDEP}]
~media-gfx/curaengine-${PV}
~media-gfx/fdm-materials-${PV}
$(python_gen_cond_dep '
dev-python/mypy[${PYTHON_MULTI_USEDEP}]
dev-python/numpy[${PYTHON_MULTI_USEDEP}]
dev-python/PyQt5[${PYTHON_MULTI_USEDEP}]
dev-python/requests[${PYTHON_MULTI_USEDEP}]
dev-python/sentry-sdk[${PYTHON_MULTI_USEDEP}]
sci-libs/shapely[${PYTHON_MULTI_USEDEP}]
usb? ( dev-python/pyserial[${PYTHON_MULTI_USEDEP}] )
zeroconf? ( dev-python/zeroconf[${PYTHON_MULTI_USEDEP}] )
')"
DEPEND="${RDEPEND}"
DOCS=(README.md)
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# trimesh not available in portage
local mycmakeargs=(
-DCURA_BUILDTYPE="ebuild"
-DCURA_VERSION=${PV}
-DCURA_NO_INSTALL_PLUGINS="AMFReader;Toolbox;TrimeshReader"
-DCURA_DEBUGMODE=$(usex debug)
)
cmake_src_configure
}
src_install() {
cmake_src_install
doicon icons/*.png
python_fix_shebang "${D}/usr/bin/cura"
python_optimize "${D}${get_libdir}"
}

View File

@@ -1,2 +1 @@
DIST curaengine-4.8.0.tar.gz 1690082 BLAKE2B 7c582ad0743a937ad4efa2a224e052383b90632c8f33f666a4139a74954a7243e17107ac39b35c1a5e41df89e303d618e4407d7e9a75efc5d96913aaaf498273 SHA512 be0d12cfe61932bf03dde61df8fb7f31cbd0aef6a44292130a7a67e318891f37db685722ba5d3cf66e88d4ff1de64ac86be5e494b750f8f7ff4b52d7976cb670
DIST curaengine-4.9.1.tar.gz 1694141 BLAKE2B 84119a2dd66340bdc3a4bd58384f300fb839aa7c5920de87d070945d3c436ace0f8686cd907a204e5825bdc17809d9f9052e37fb96b37e34a20650ca625d7b1e SHA512 cfa918c6301c9948713306256d74a2a84a1fefbc0f85c7ac0eb182d8363f1eae97aecdcb91c207a2e7e1ab252f63cf4b513734b50d4229da7aa35e095ef88bee

View File

@@ -1,85 +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 )
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
}

View File

@@ -1,2 +1 @@
DIST fdm-materials-4.8.0.tar.gz 43850 BLAKE2B d9fa025eeb4f11c027fd64a2615d214a47024df62d53ee6b43391ac5383812581ae2ca075804277b6f7094639238646211cb5b978580edf91d004e83ef7ce405 SHA512 6e2812dc61ad00437d4c7943c3746cd915e1e49edef49f89ea2c4ca4cf023d67c400d1ae1e3c40923928d20ac09b184fc0632b828900b6236f9dfd346f19036d
DIST fdm-materials-4.9.1.tar.gz 46874 BLAKE2B 59aed353a7ed8cf1307de491f11a2b550df370553eee4ecfd803c07018f0a04a052653af49edc89a84172148b8ca1dac37a96236744d19d2f53fc320f42586bb SHA512 a615e1a75e0125642c348aeb28a1a52d1a32bec6946c8d4d6788455442cbdb2575326c7331c429df2031f1eb41b790dfd929792b40296262f18150decaf8baed

View File

@@ -1,26 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
MY_PN="fdm_materials"
DESCRIPTION="FDM materials for media-gfx/cura"
HOMEPAGE="https://github.com/Ultimaker/fdm_materials"
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="embedded"
S="${WORKDIR}/${MY_PN}-${PV}"
src_configure() {
local mycmakeargs=(
-DEMBEDDED=$(usex embedded on off)
)
cmake_src_configure
}