diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
commit | f1bc537f089cc8477a9a18db597cb349e1b00e91 (patch) | |
tree | c48eb730c43e5f35729fabbe5cb4bfbe4a1bc794 /media-gfx/cura | |
parent | cb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (diff) |
gentoo resync : 16.06.2018
Diffstat (limited to 'media-gfx/cura')
-rw-r--r-- | media-gfx/cura/Manifest | 18 | ||||
-rw-r--r-- | media-gfx/cura/cura-0.15.04.4.ebuild | 77 | ||||
-rw-r--r-- | media-gfx/cura/cura-0.15.04.5_rc5.ebuild | 78 | ||||
-rw-r--r-- | media-gfx/cura/cura-2.1.0_beta.ebuild | 69 | ||||
-rw-r--r-- | media-gfx/cura/cura-2.3.1.ebuild | 70 | ||||
-rw-r--r-- | media-gfx/cura/cura-3.3.1.ebuild (renamed from media-gfx/cura/cura-2.6.0.ebuild) | 42 | ||||
-rw-r--r-- | media-gfx/cura/files/cura-0.15.04.4-nopower.patch | 90 | ||||
-rw-r--r-- | media-gfx/cura/files/cura-2.1.0_beta-fix-install-paths.patch | 38 | ||||
-rw-r--r-- | media-gfx/cura/files/cura-2.3.1-fix-install-paths.patch | 38 | ||||
-rw-r--r-- | media-gfx/cura/files/cura-3.3.0-fix-install-paths.patch | 37 | ||||
-rw-r--r-- | media-gfx/cura/metadata.xml | 19 |
11 files changed, 80 insertions, 496 deletions
diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest index 7a66db4bf728..90569858ab20 100644 --- a/media-gfx/cura/Manifest +++ b/media-gfx/cura/Manifest @@ -1,14 +1,4 @@ -AUX cura-0.15.04.4-nopower.patch 3209 BLAKE2B e3ad09030506861982058d0880e8f033ed2436da78a8f03eaa882ec840872ad7782787ec3d391935760c61816b7d935d54262f31278aaa3918b565e1230c3cbb SHA512 6cad0f33f87b8b5540a6ac2237ef8c734de36f86bea523e61de3f2d60c5e0beba93ed9535b06bb863a7270abf590e71d494c2a59ba898c41035478e5ac189d8f -AUX cura-2.1.0_beta-fix-install-paths.patch 1592 BLAKE2B 3f82410a5c5787c1cf5d7e81e16b9e59492c47fd3759fb452fb0fbd99bcb5db24460cd341faf884a3248d595a6ebf60682aaf42d479f0efcef32ea24e4d99329 SHA512 b9e7c110b953a2ee233b34d0cb27d39bcd24516cef024b82bf6d0275684f8eebe1107e2e23135a72da6d03ca4dd9c0ffacab2c2d5fd88d0447235f1b99e5b432 -AUX cura-2.3.1-fix-install-paths.patch 1621 BLAKE2B a2e50e8b2b16eb7eadfdeece4c5150d72b9092661f8261314e005f9b0127dbda233cd704adb6fca4997839bd64681e29889f82dd0f95eab375d4db9c5bbaad56 SHA512 a83e8d59d6d6d283512e80388b002dcb9b83c180d369dc775b95c693e50261f687fe1894d2413d357995efaf3e40eb17dc7305afcf0f475adb689a336fbbd978 -DIST cura-0.15.04.4.tar.gz 7265105 BLAKE2B 8ea4979819180f3f8fec8900215c11db49dafbae71ff023aeb16b760ae5f88d271c0ad2628ab7f06f2a4962cc792573ac56cc63368ebb69e37a83ec092cd5d44 SHA512 6d386c23731e2e02bc3b15d02aed1810622a57af2727325db29feb48eba8da0758925f3bc11fc6433a4b376706f66e6b00bfb3af2cac24cb184899848e11b1bd -DIST cura-0.15.04.5_rc5.tar.gz 7266640 BLAKE2B 3900d9c8b1627933b1f6432a75674396c79de993982afa93e6d435d0ebf20df25184eda3760ded566a6fa7c93b0e3b16d76b1bb47f093d281245fee8f799bcb1 SHA512 cafb2b6883838e3e427e3da0388a6cd93d666052d9029eeb98bafad7970c805c271a7599fbdc493164d790f101b92bbd511479d2fc9f91c64f73677c6cee0a2f -DIST cura-2.1.0_beta.tar.gz 19784684 BLAKE2B 30f908b8792fdbe512d1e9fbc98a8f90018db38fa92c286a209f4dfaded9af8c8c45f5ffca38d9c79ff82a18c9e906fc6141085368bf26cffb2ec15931869cc1 SHA512 9e4b4f0a93098f9cadf7d8969725e17ac549b6caced602a3d088e65068ab7fcda5a18e7e6f293434e7042360f0e37d87074d82d8884370bfbfc10e07a4212ce2 -DIST cura-2.3.1.tar.gz 8216743 BLAKE2B 33241eb825a2fde8c1932642dc20c24c50c744068dc2bd7c32d97c9e6b1cfa062ebe110670d9d2828093043ff6c147a1dfbcb5daf0e6ec2447bb9bed4a51c4bc SHA512 875c55a1b75f9e8c5bc6faac8f865a17ee371e973e3acf2528c09ee18bd517acbdde066f292c506ed67654119fdfeac86e28b41887807b767225e0ee6054301f -DIST cura-2.6.0.tar.gz 10007980 BLAKE2B 7ed59c28402c2c99dcf8db4506d575159ce25d6e8c58bb2bef302cd662a28f124046e677fba754cc41dc087d94b30183e0896d935cd3ae7e896ba9736ec0a511 SHA512 c437b284292682821d3e7c6fe67dfbf9e397588a604d0608fcc89019d02529720a929881d1ad0531fedba2f4b3efc98c1890624a4261dcccacbcfa24246d6e54 -EBUILD cura-0.15.04.4.ebuild 1803 BLAKE2B f6ba45760a41fcc53d8a52ace11b70bcd40f29312fdb5e958e1c91d404c5e734c3817e664a0ee9bb13a4f01f433b59e50c81b526fbf39c6a2ff2c1596f441167 SHA512 9e73522c28c0b5f00d6a3c3cc1dba2d6d507bd5f051d532f7f077eff38c1491b07c83fcb2848d58d3c13b5db0269cefbb47da5fa5d3280c921ee936b8a9b1523 -EBUILD cura-0.15.04.5_rc5.ebuild 1826 BLAKE2B 36826a08bead34f0c378f5c83cbaa0498834fc9d42fdc8861c3d486db4037acefd317a77c42a56c80e67a661faebcbf6cd4e223ced549e166fa042b11830cf57 SHA512 ad9ab1bcefe5bfca62544d3042489e77c9cbe5341cea0291e4aa1ae4379dc10de693101d3123223afc3d9495aaaf38ac2d7943c28c69fcfc59ddf7ad6364edc4 -EBUILD cura-2.1.0_beta.ebuild 1407 BLAKE2B 2eb3c63eb2fc1adb8dd03b3244c4f92deda6ee3670d80e8aaae53916e6f3be4d47a615cf1f9f4295699a81151758e49cdd92cffba52f8be10c81c8900d1d7bfd SHA512 32cdef14ded1b5c6cec266479c85bf371cb99a7adb422b77c8f004f3103617a58a560f0d20961e2f16b8be6a2dc54acec8333ecba206029509348cff47c929cd -EBUILD cura-2.3.1.ebuild 1430 BLAKE2B 0ade17d72853c85612847b56bb56258635e6260ceef06197fed50e437e64fb9eaaf4ddaa65f8d59763e509f89d74faae7cc23067c54fa32e00f64176befa2642 SHA512 21f06760d7134da29c58ead0194fa3af2481b5abfbefaf7b155d7aa2376b3089ce29b1581d5ea884f45bfb7da131ae2f952893e30f83f2b05b669a856056a863 -EBUILD cura-2.6.0.ebuild 1432 BLAKE2B 580fb7dba23ec1562b6cdf845288d65de03e0fa658aeb536dacd88d606c2a8f4ac491989b77162f55a5cc7521b744800acd607582bfc3f6cd7e4d08fbf059f01 SHA512 e09cfb1ed0ae47d38d946d8c75d24180366eb6e8f2321d70819c508bd33ba57ae1156d0b1a9246c77f1da02c3c6bcba131d1838d8c811c5e615878dbb9fab0e1 -MISC metadata.xml 407 BLAKE2B 37e71adabc7e7f6abddda35afd1b9a2b5fafa1f7fce9c7fe4be4451e128f3e1fba1147bca67839d66a7195febb30d48a7a633f914ccdfeed2752607a9b34e00a SHA512 0c5d12d6a69ffb2d2f6e6ed0c1a02a3d8e793d1befd23fd2e51e8108f708787605489c9864e72ddc99389f2f05ccd33d5f9bf4367d3ee2a1f1781db1bb5c5393 +AUX cura-3.3.0-fix-install-paths.patch 1663 BLAKE2B 293bdecb0e6ef130e80bc078f89470908bdc74f9ede901405e8b99953dc5927986d51db3f3494004c44ea543621328c24860ff3ab0c1ff4452d2347f082a53fb SHA512 0c42638c0f0f0cc108c0aec19b0319037c4a17ac4fc6d05920191a927ee32ea4901ca4cb2ae5473c3ded2afbcabd2cad55b6cbaf3ad986ad205fc22936c31fa2 +DIST cura-3.3.1.tar.gz 21045888 BLAKE2B 6298a291498fb7930970fdb15827e5698011e69c69326e07ecaf5440994b099aa3ce9ee2540b968ffaff1ad47a58ef76bc7c5c003e92b710d81fc649e4fc825a SHA512 7b05885213828f0c297c7798b4bf7ea5967902893b5743b424d65d3a0c88804ed208c3d0361b92cade8ad31a42d1aff3a07eb4d2effa15597f942603a2d2bf63 +EBUILD cura-3.3.1.ebuild 1560 BLAKE2B e2f15c15c760602a8512020f830273d188c680d3521b210c5b88c91d9770ae11b7378cddd275f719b0333b9d1d94b866112e82444e6a2bdd143ec0e4679e1507 SHA512 c8422f406a785356c2ff06a5616a38874fcdcb726a25249b16f942eabbba5fe0cf6d1b6a511424adbad53727c526714dc39af898494e6abd46b0382dffd2b0b5 +MISC metadata.xml 924 BLAKE2B 98684c30170538865b264d21a025a558b66ef0f5b46dd4cc291dacd71367cf775135d66fc379bf6bf0edfacab6e33c939a750fdcc8f036cedb7d9daf5b442072 SHA512 b09e1e1251f3171721bea6ea7ace38beed877525b1a83282035bb34fa871123c0995674d899a486b3ff67ac34429cabc12f9e90ffd1b1e3f60257389a900e483 diff --git a/media-gfx/cura/cura-0.15.04.4.ebuild b/media-gfx/cura/cura-0.15.04.4.ebuild deleted file mode 100644 index fa9ddb4d2518..000000000000 --- a/media-gfx/cura/cura-0.15.04.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit desktop gnome2-utils python-single-r1 xdg-utils - -MY_PV=${PV#0.} -MY_PN=Cura - -DESCRIPTION="A mesh slicer written in python to produce gcode for 3D printers" -HOMEPAGE="https://github.com/daid/Cura" -SRC_URI="https://github.com/daid/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-python/wxpython:3.0[opengl,${PYTHON_USEDEP}] - >=dev-python/numpy-1.6.2[${PYTHON_USEDEP}] - >=dev-python/pyopengl-3.0.2[${PYTHON_USEDEP}] - >=dev-python/pyserial-2.6[${PYTHON_USEDEP}] - >=media-gfx/curaengine-${PV} -" -DEPEND="${RDEPEND} - >=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" -) - -src_prepare() { - cat > "${T}"/cura <<- CURAEOF || die - #!/bin/sh - PYTHONPATH="\$PYTHONPATH:${EPREFIX}/usr/share/cura/" "${PYTHON}" "${EPREFIX}/usr/share/cura/cura.py" "\$@" - CURAEOF - - default -} - -src_install() { - insinto /usr/share/cura - doins -r Cura resources plugins scripts/linux/cura.py - newicon "${S}/resources/images/c.png" "cura.png" - echo ${PV} > "${ED}"usr/share/cura/version || die - dobin "${T}"/cura - - python_optimize $(find "${ED}" -name '*.py' -exec dirname \{\} + | sort -u) -} - -pkg_preinst() { - gnome2_icon_savelist - - make_desktop_entry cura \ - Cura \ - "${EPREFIX}/usr/share/pixmaps/cura.png" \ - "Graphics;3DGraphics;Engineering;Development" -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/media-gfx/cura/cura-0.15.04.5_rc5.ebuild b/media-gfx/cura/cura-0.15.04.5_rc5.ebuild deleted file mode 100644 index c35602d8d18b..000000000000 --- a/media-gfx/cura/cura-0.15.04.5_rc5.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit desktop gnome2-utils python-single-r1 xdg-utils - -MY_PV=${PV#0.} -MY_PV=${MY_PV/_rc/-RC} -MY_PN=Cura - -DESCRIPTION="A mesh slicer written in python to produce gcode for 3D printers" -HOMEPAGE="https://github.com/daid/Cura" -SRC_URI="https://github.com/daid/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-python/wxpython:3.0[opengl,${PYTHON_USEDEP}] - >=dev-python/numpy-1.6.2[${PYTHON_USEDEP}] - >=dev-python/pyopengl-3.0.2[${PYTHON_USEDEP}] - >=dev-python/pyserial-2.6[${PYTHON_USEDEP}] - >=media-gfx/curaengine-${PV} -" -DEPEND="${RDEPEND} - >=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" -) - -src_prepare() { - cat > "${T}"/cura <<- CURAEOF || die - #!/bin/sh - PYTHONPATH="\$PYTHONPATH:${EPREFIX}/usr/share/cura/" "${PYTHON}" "${EPREFIX}/usr/share/cura/cura.py" "\$@" - CURAEOF - - default -} - -src_install() { - insinto /usr/share/cura - doins -r Cura resources plugins scripts/linux/cura.py - newicon "${S}/resources/images/c.png" "cura.png" - echo ${PV} > "${ED}"usr/share/cura/version || die - dobin "${T}"/cura - - python_optimize $(find "${ED}" -name '*.py' -exec dirname \{\} + | sort -u) -} - -pkg_preinst() { - gnome2_icon_savelist - - make_desktop_entry cura \ - Cura \ - "${EPREFIX}/usr/share/pixmaps/cura.png" \ - "Graphics;3DGraphics;Engineering;Development" -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/media-gfx/cura/cura-2.1.0_beta.ebuild b/media-gfx/cura/cura-2.1.0_beta.ebuild deleted file mode 100644 index db1610abbb6f..000000000000 --- a/media-gfx/cura/cura-2.1.0_beta.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_4 python3_5 ) - -inherit cmake-utils gnome2-utils python-single-r1 xdg-utils - -MY_PN=Cura -MY_PV=${PV/_beta} - -DESCRIPTION="A 3D model slicing application for 3D printing" -HOMEPAGE="https://github.com/Ultimaker/Cura" -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+usb" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libarcus:=[python,${PYTHON_USEDEP}] - dev-python/uranium[${PYTHON_USEDEP}] - usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) - ~media-gfx/curaengine-${PV}" -DEPEND="${RDEPEND} - sys-devel/gettext" - -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${PN}-2.1.0_beta-fix-install-paths.patch" -) - -DOCS=( README.md ) - -src_configure() { - local mycmakeargs=( - -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - doicon icons/*.png - python_optimize "${D}${get_libdir}" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/media-gfx/cura/cura-2.3.1.ebuild b/media-gfx/cura/cura-2.3.1.ebuild deleted file mode 100644 index 9af78aaedc32..000000000000 --- a/media-gfx/cura/cura-2.3.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{4,5} ) - -inherit cmake-utils gnome2-utils python-single-r1 xdg-utils - -MY_PN=Cura -MY_PV=${PV/_beta} - -DESCRIPTION="A 3D model slicing application for 3D printing" -HOMEPAGE="https://github.com/Ultimaker/Cura" -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+usb" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-libs/libarcus:=[python,${PYTHON_USEDEP}] - dev-python/uranium[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) - ~media-gfx/curaengine-${PV}" -DEPEND="${RDEPEND} - sys-devel/gettext" - -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" -) - -DOCS=( README.md ) - -src_configure() { - local mycmakeargs=( - -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - doicon icons/*.png - python_optimize "${D}${get_libdir}" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/media-gfx/cura/cura-2.6.0.ebuild b/media-gfx/cura/cura-3.3.1.ebuild index bf9f44699fb2..b2a58d65a582 100644 --- a/media-gfx/cura/cura-2.6.0.ebuild +++ b/media-gfx/cura/cura-3.3.1.ebuild @@ -3,43 +3,41 @@ EAPI=6 -PYTHON_COMPAT=( python3_{4,5,6} ) - -inherit cmake-utils gnome2-utils python-single-r1 xdg-utils +PYTHON_COMPAT=( python3_{5,6} ) +inherit cmake-utils fdo-mime gnome2-utils python-single-r1 MY_PN=Cura -MY_PV=${PV/_beta} DESCRIPTION="A 3D model slicing application for 3D printing" HOMEPAGE="https://github.com/Ultimaker/Cura" -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="AGPL-3+" +LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+usb" +IUSE="+usb zeroconf" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} - dev-libs/libarcus:=[python,${PYTHON_USEDEP}] - dev-python/uranium[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] + >=dev-python/uranium-${PV:0:3}[${PYTHON_USEDEP}] + >=media-gfx/curaengine-${PV:0:3} + >=media-gfx/fdm-materials-${PV:0:3} + >=dev-libs/libsavitar-${PV:0:3}:=[python,${PYTHON_USEDEP}] + >=dev-libs/libcharon-${PV:0:3}[${PYTHON_USEDEP}] usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) - ~media-gfx/curaengine-${PV}" + zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )" + DEPEND="${RDEPEND} sys-devel/gettext" -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" -) - +S="${WORKDIR}/${MY_PN}-${PV}" +PATCHES=( "${FILESDIR}/${PN}-3.3.0-fix-install-paths.patch" ) DOCS=( README.md ) src_configure() { local mycmakeargs=( - -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" + ) cmake-utils_src_configure } @@ -58,13 +56,13 @@ pkg_preinst() { } pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update + fdo-mime_desktop_database_update + fdo-mime_mime_database_update gnome2_icon_cache_update } pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update + fdo-mime_desktop_database_update + fdo-mime_mime_database_update gnome2_icon_cache_update } diff --git a/media-gfx/cura/files/cura-0.15.04.4-nopower.patch b/media-gfx/cura/files/cura-0.15.04.4-nopower.patch deleted file mode 100644 index 975d1c507b33..000000000000 --- a/media-gfx/cura/files/cura-0.15.04.4-nopower.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff -Naur Cura-14.09/Cura/gui/printWindow.py Cura-14.09.new/Cura/gui/printWindow.py ---- Cura-14.09/Cura/gui/printWindow.py 2014-09-19 05:44:21.000000000 -0400 -+++ Cura-14.09.new/Cura/gui/printWindow.py 2014-12-08 16:36:18.410389600 -0500 -@@ -1,7 +1,6 @@ - __copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License" - - import wx --import power - import time - import sys - import os -@@ -319,18 +318,6 @@ - self.sizer = wx.GridBagSizer(2, 2) - self.panel.SetSizer(self.sizer) - -- self.powerWarningText = wx.StaticText(parent=self.panel, -- id=-1, -- label=_("Your computer is running on battery power.\nConnect your computer to AC power or your print might not finish."), -- style=wx.ALIGN_CENTER) -- self.powerWarningText.SetBackgroundColour('red') -- self.powerWarningText.SetForegroundColour('white') -- self.powerManagement = power.PowerManagement() -- self.powerWarningTimer = wx.Timer(self) -- self.Bind(wx.EVT_TIMER, self.OnPowerWarningChange, self.powerWarningTimer) -- self.OnPowerWarningChange(None) -- self.powerWarningTimer.Start(10000) -- - self.statsText = wx.StaticText(self.panel, -1, _("InfoLine from printer connection\nInfoLine from dialog\nExtra line\nMore lines for layout\nMore lines for layout\nMore lines for layout")) - - self.connectButton = wx.Button(self.panel, -1, _("Connect")) -@@ -341,7 +328,6 @@ - self.errorLogButton = wx.Button(self.panel, -1, _("Error log")) - self.progress = wx.Gauge(self.panel, -1, range=1000) - -- self.sizer.Add(self.powerWarningText, pos=(0, 0), span=(1, 5), flag=wx.EXPAND|wx.BOTTOM, border=5) - self.sizer.Add(self.statsText, pos=(1, 0), span=(1, 5), flag=wx.LEFT, border=5) - self.sizer.Add(self.connectButton, pos=(2, 0)) - #self.sizer.Add(self.loadButton, pos=(2,1)) -@@ -373,21 +359,6 @@ - self._printerConnection.openActiveConnection() - preventComputerFromSleeping(True) - -- def OnPowerWarningChange(self, e): -- type = self.powerManagement.get_providing_power_source_type() -- if type == power.POWER_TYPE_AC and self.powerWarningText.IsShown(): -- self.powerWarningText.Hide() -- self.panel.Layout() -- self.Layout() -- self.Fit() -- self.Refresh() -- elif type != power.POWER_TYPE_AC and not self.powerWarningText.IsShown(): -- self.powerWarningText.Show() -- self.panel.Layout() -- self.Layout() -- self.Fit() -- self.Refresh() -- - def OnClose(self, e): - if self._printerConnection.hasActiveConnection(): - if self._printerConnection.isPrinting(): -diff -Naur Cura-14.09/scripts/linux/cura.py Cura-14.09.new/scripts/linux/cura.py ---- Cura-14.09/scripts/linux/cura.py 2014-09-19 05:44:21.000000000 -0400 -+++ Cura-14.09.new/scripts/linux/cura.py 2014-12-08 16:37:44.840391177 -0500 -@@ -1,4 +1,4 @@ --#!/usr/bin/python -+#!/usr/bin/python2 - - import os, sys - -@@ -9,7 +9,6 @@ - import wx - import serial - import numpy -- import power - except ImportError as e: - if e.message[0:16] == 'No module named ': - module = e.message[16:] -@@ -20,12 +19,6 @@ - module = 'pyserial' - print 'Requires ' + module - -- if module == 'power': -- print "Install from: https://github.com/GreatFruitOmsk/Power" -- else: -- print "Try sudo easy_install " + module -- print e.message -- - exit(1) - - diff --git a/media-gfx/cura/files/cura-2.1.0_beta-fix-install-paths.patch b/media-gfx/cura/files/cura-2.1.0_beta-fix-install-paths.patch deleted file mode 100644 index ec07c0014cce..000000000000 --- a/media-gfx/cura/files/cura-2.1.0_beta-fix-install-paths.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -Naur a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt 2016-04-12 17:39:03.000000000 +0200 -+++ b/CMakeLists.txt 2016-04-16 13:30:27.339900905 +0200 -@@ -55,20 +55,31 @@ - - find_package(PythonInterp 3.4.0 REQUIRED) - -+if(NOT PYTHON_SITE_PACKAGES_DIR) -+ if(APPLE OR WIN32) -+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages CACHE -+STRING "Directory to install Python bindings to") -+ else() -+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages CACHE -+STRING "Directory to install Python bindings to") -+ endif() -+endif() -+ - install(DIRECTORY resources - DESTINATION ${CMAKE_INSTALL_DATADIR}/cura) - install(DIRECTORY plugins -- DESTINATION lib/cura) -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cura) -+ - if(NOT APPLE AND NOT WIN32) - install(FILES cura_app.py - DESTINATION ${CMAKE_INSTALL_BINDIR} - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE - RENAME cura) - install(DIRECTORY cura -- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages -+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR} - FILES_MATCHING PATTERN *.py) - install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py -- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura) -+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR}/cura) - install(FILES cura.desktop - DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) - install(FILES cura.sharedmimeinfo diff --git a/media-gfx/cura/files/cura-2.3.1-fix-install-paths.patch b/media-gfx/cura/files/cura-2.3.1-fix-install-paths.patch deleted file mode 100644 index 8f503ce73488..000000000000 --- a/media-gfx/cura/files/cura-2.3.1-fix-install-paths.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -urN Cura-2.3.1.orig/CMakeLists.txt Cura-2.3.1/CMakeLists.txt ---- Cura-2.3.1.orig/CMakeLists.txt 2016-11-04 16:24:43.000000000 +0300 -+++ Cura-2.3.1/CMakeLists.txt 2016-12-05 12:20:23.126904644 +0300 -@@ -27,20 +27,31 @@ - - find_package(PythonInterp 3.4.0 REQUIRED) - -+if(NOT PYTHON_SITE_PACKAGES_DIR) -+ if(APPLE OR WIN32) -+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages -+ CACHE STRING "Directory to install Python bindings to") -+ else() -+ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages -+ CACHE STRING "Directory to install Python bindings to") -+ endif() -+endif() -+ -+ - install(DIRECTORY resources - DESTINATION ${CMAKE_INSTALL_DATADIR}/cura) - install(DIRECTORY plugins -- DESTINATION lib/cura) -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cura) - if(NOT APPLE AND NOT WIN32) - install(FILES cura_app.py - DESTINATION ${CMAKE_INSTALL_BINDIR} - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE - RENAME cura) - install(DIRECTORY cura -- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages -+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR} - FILES_MATCHING PATTERN *.py) - install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py -- DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura) -+ DESTINATION ${PYTHON_SITE_PACKAGES_DIR}/cura) - install(FILES ${CMAKE_BINARY_DIR}/cura.desktop - DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) - install(FILES cura.sharedmimeinfo diff --git a/media-gfx/cura/files/cura-3.3.0-fix-install-paths.patch b/media-gfx/cura/files/cura-3.3.0-fix-install-paths.patch new file mode 100644 index 000000000000..066f9148c4d9 --- /dev/null +++ b/media-gfx/cura/files/cura-3.3.0-fix-install-paths.patch @@ -0,0 +1,37 @@ +--- Cura-3.1.0-orig/CMakeLists.txt 2017-12-04 18:05:38.000000000 +0200 ++++ Cura-3.1.0/CMakeLists.txt 2017-12-29 18:11:19.508034087 +0200 +@@ -36,10 +36,20 @@ + + find_package(PythonInterp 3.5.0 REQUIRED) + ++if(NOT PYTHON_SITE_PACKAGES_DIR) ++ if(APPLE OR WIN32) ++ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages ++ CACHE STRING "Directory to install Python bindings to") ++ else() ++ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages ++ CACHE STRING "Directory to install Python bindings to") ++ endif() ++endif() ++ + install(DIRECTORY resources + DESTINATION ${CMAKE_INSTALL_DATADIR}/cura) + install(DIRECTORY plugins +- DESTINATION lib${LIB_SUFFIX}/cura) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cura) + if(NOT APPLE AND NOT WIN32) + install(FILES cura_app.py + DESTINATION ${CMAKE_INSTALL_BINDIR} +@@ -53,10 +63,10 @@ + DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}/dist-packages/cura) + else() + install(DIRECTORY cura +- DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages ++ DESTINATION ${PYTHON_SITE_PACKAGES_DIR} + FILES_MATCHING PATTERN *.py) + install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py +- DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura) ++ DESTINATION ${PYTHON_SITE_PACKAGES_DIR}/cura) + endif() + install(FILES ${CMAKE_BINARY_DIR}/cura.desktop + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) diff --git a/media-gfx/cura/metadata.xml b/media-gfx/cura/metadata.xml index e3e65a7508d0..19761d81848f 100644 --- a/media-gfx/cura/metadata.xml +++ b/media-gfx/cura/metadata.xml @@ -5,6 +5,25 @@ <email>3dprint@gentoo.org</email> <name>Gentoo 3D Printer Project</name> </maintainer> + <maintainer type="person"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>mathy@vanvoorden.be</email> + <name>Mathy Vanvoorden</name> + </maintainer> + <maintainer type="person"> + <email>perlovka@gmail.com</email> + <name>Michael Perlov</name> + </maintainer> + <slots> + <subslots>soname major version number</subslots> + </slots> <use> <flag name="usb">Access 3D printers via USB</flag> </use> |