Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680988 - media-gfx/cura-4.0.0 version bump
Summary: media-gfx/cura-4.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords: EBUILD, PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-03-20 03:57 UTC by qwertyqwertyq
Modified: 2019-08-25 17:59 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cura 4.0.0 ebuild (cura-4.0.0.ebuild,1.64 KB, text/plain)
2019-03-20 03:57 UTC, qwertyqwertyq
Details
cura 4.0.0 patch (cura-4.0.0-fix-install-paths.patch,2.20 KB, patch)
2019-03-20 03:59 UTC, qwertyqwertyq
Details | Diff
curaengine 4.0.0 ebuild (curaengine-4.0.0.ebuild,885 bytes, text/plain)
2019-03-20 04:02 UTC, qwertyqwertyq
Details
fdm-materials 4.0.0 ebuild (fdm-materials-4.0.0.ebuild,427 bytes, text/plain)
2019-03-20 04:06 UTC, qwertyqwertyq
Details
uranium 4.0.0 ebuild (uranium-4.0.0.ebuild,1.36 KB, text/plain)
2019-03-20 04:06 UTC, qwertyqwertyq
Details
uranium 4.0.0 patch (uranium-3.3.0-fix-install-paths.patch,1.68 KB, patch)
2019-03-20 04:07 UTC, qwertyqwertyq
Details | Diff
libarcus 4.0.0 ebuild (libarcus-4.0.0.ebuild,1.06 KB, text/plain)
2019-03-20 04:07 UTC, qwertyqwertyq
Details
libcharon 4.0.0 ebuild (libcharon-4.0.0.ebuild,512 bytes, text/plain)
2019-03-20 04:07 UTC, qwertyqwertyq
Details
libsavitar 4.0.0 ebuild (libsavitar-4.0.0.ebuild,1.01 KB, text/plain)
2019-03-20 04:08 UTC, qwertyqwertyq
Details
libsavitar 4.0.0 patch (libsavitar-3.3.0-remove-packaged-pugixml.patch,3.22 KB, patch)
2019-03-20 04:08 UTC, qwertyqwertyq
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description qwertyqwertyq 2019-03-20 03:57:03 UTC
new version

Reproducible: Always
Comment 1 qwertyqwertyq 2019-03-20 03:57:56 UTC
Created attachment 569924 [details]
cura 4.0.0 ebuild
Comment 2 qwertyqwertyq 2019-03-20 03:59:29 UTC
Created attachment 569926 [details, diff]
cura 4.0.0 patch
Comment 3 qwertyqwertyq 2019-03-20 04:02:46 UTC
Created attachment 569928 [details]
curaengine 4.0.0 ebuild
Comment 4 qwertyqwertyq 2019-03-20 04:06:10 UTC
Created attachment 569930 [details]
fdm-materials 4.0.0 ebuild
Comment 5 qwertyqwertyq 2019-03-20 04:06:36 UTC
Created attachment 569932 [details]
uranium 4.0.0 ebuild
Comment 6 qwertyqwertyq 2019-03-20 04:07:01 UTC
Created attachment 569934 [details, diff]
uranium 4.0.0 patch
Comment 7 qwertyqwertyq 2019-03-20 04:07:22 UTC
Created attachment 569936 [details]
libarcus 4.0.0 ebuild
Comment 8 qwertyqwertyq 2019-03-20 04:07:54 UTC
Created attachment 569938 [details]
libcharon 4.0.0 ebuild
Comment 9 qwertyqwertyq 2019-03-20 04:08:21 UTC
Created attachment 569940 [details]
libsavitar 4.0.0 ebuild
Comment 10 qwertyqwertyq 2019-03-20 04:08:42 UTC
Created attachment 569942 [details, diff]
libsavitar 4.0.0 patch
Comment 11 Robert Schedel 2019-03-21 19:35:01 UTC
(In reply to qwertyqwertyq from comment #5)
> Created attachment 569932 [details]
> uranium 4.0.0 ebuild

Review comment: Uranium 4.0 "README.md" still lists "Shapely" as requirement. However, unlike "uranium-3.6.0.ebuild" the new ebuild does not have this requirement anymore. Is this intentional? It looks as if an older ebuild version was used as base, when "Shapely" was not yet required.
Comment 12 Mathy Vanvoorden 2019-03-25 14:27:01 UTC
I agree, shapely still seems to be a dependency, I suspect you copied the 3.4.1 ebuild instead of the 3.6.0.

I am preparing a PR with all ebuilds but I ran into this issue:

https://github.com/Ultimaker/Cura/issues/5488

Does the preview functionality work for you?
Comment 13 Robert Schedel 2019-03-25 19:47:10 UTC
(In reply to Mathy Vanvoorden from comment #12)

> I am preparing a PR with all ebuilds but I ran into this issue:
> 
> https://github.com/Ultimaker/Cura/issues/5488
> 
> Does the preview functionality work for you?

Not the original reporter, but: For me the preview button also crashes, like described above.
Comment 14 Michael Perlov 2019-03-26 10:05:17 UTC
Mathy Vanvoorden, please add to your PR for uranium ebuild following fix:

IUSE="debug doc test"


src_configure() {

if ! use debug; then
		sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die
		sed -i 's/logging.DEBUG/logging.ERROR/' plugins/FileLogger/FileLogger.py || die
	fi

...
}

This will disable flooding logs with DEBUG messages.
Thanks.
Comment 15 Mathy Vanvoorden 2019-03-26 10:44:59 UTC
Is using debug USE flag is the best way to handle that? Also, is there no runtime flag we can toggle?
Comment 16 Michael Perlov 2019-03-26 11:21:11 UTC
I suppose, debug USE flag is intended to handle all debug features, dumps, debug logs etc., isn't it?

Debug level is hardcoded in uranium loggers code, so i think it's impossible to change it at runtime:

https://github.com/Ultimaker/Uranium/blob/master/plugins/ConsoleLogger/ConsoleLogger.py#L27
https://github.com/Ultimaker/Uranium/blob/master/plugins/FileLogger/FileLogger.py#L15
Comment 17 Larry the Git Cow gentoo-dev 2019-08-25 17:59:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe6b66e73ed6b1c177e93668757045860edc49e

commit efe6b66e73ed6b1c177e93668757045860edc49e
Author:     Michael Perlov <perlovka@gmail.com>
AuthorDate: 2019-08-04 16:14:25 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-25 17:59:07 +0000

    media-gfx/cura: version bump to 4.2.1
    
    Closes: https://bugs.gentoo.org/680988
    Closes: https://bugs.gentoo.org/687324
    Closes: https://bugs.gentoo.org/691144
    
    Package-Manager: Portage-2.3.72, Repoman-2.3.17
    Signed-off-by: Michael Perlov <perlovka@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/12618
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/cura/Manifest                            |  1 +
 media-gfx/cura/cura-4.2.1.ebuild                   | 53 ++++++++++++++++++++++
 .../cura/files/cura-4.2.1-fix-install-paths.patch  | 41 +++++++++++++++++
 3 files changed, 95 insertions(+)