Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934358 - media-gfx/prusaslicer-9999: fix build
Summary: media-gfx/prusaslicer-9999: fix build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 10:40 UTC by Miroslav Šulc
Modified: 2024-06-22 21:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2024-06-15 10:40:40 UTC
i know this is a live ebuild. anyway, upstream just released 2.8.0-alpha5 so i was trying to make it work, but tbh i'm not very familiar with the cmake build system, at least not to the level the i'd be able to find the cause.

during the configuration it fails to find wxwidgets:

CMake Error at cmake/modules/FindPackageHandleStandardArgs_SLIC3R.cmake:143 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) (Required is at
  least version "3.2")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindwxWidgets.cmake:990 (find_package_handle_standard_args)
  src/CMakeLists.txt:52 (find_package)


with previous versions of prusaslicer this worked but with the latest version it doesn't.

if anyone more experienced can have a look at this, it would be great.
Comment 1 mirko.langisch 2024-06-22 06:59:04 UTC
i think wxGTK needs to be built with webkit support now, because they added a Prusaconnect login page

but there's more to fix
Comment 2 Miroslav Šulc gentoo-dev 2024-06-22 08:32:22 UTC
(In reply to mirko.langisch from comment #1)
> i think wxGTK needs to be built with webkit support now, because they added
> a Prusaconnect login page
> 
> but there's more to fix

thanks. it passed. i just got an error on boost::nowide now...
Comment 3 Larry the Git Cow gentoo-dev 2024-06-22 08:33:26 UTC
The bug has been referenced in the following commit(s):

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

commit 7cabaa07d403bf19ce37f522ec8a7880028327e2
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-22 08:32:38 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-22 08:32:38 +0000

    media-gfx/prusaslicer: fixed deps
    
    Bug: https://bugs.gentoo.org/934358
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-gfx/prusaslicer/prusaslicer-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-06-22 08:56:27 UTC
The bug has been referenced in the following commit(s):

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

commit 498ab9eba86dcad16e049286075e64dc2e51f105
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-22 08:55:35 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-22 08:55:35 +0000

    media-gfx/prusaslicer: added missing include
    
    Bug: https://bugs.gentoo.org/934358
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../prusaslicer/files/prusaslicer-2.8.0-missing-include.patch  | 10 ++++++++++
 media-gfx/prusaslicer/prusaslicer-9999.ebuild                  |  4 ++++
 2 files changed, 14 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-06-22 09:17:34 UTC
The bug has been referenced in the following commit(s):

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

commit 641229ac59f451844879fbd6fc1b14f8555ac7d0
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-22 09:16:45 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-22 09:16:58 +0000

    media-gfx/prusaslicer: added another missing include
    
    Bug: https://bugs.gentoo.org/934358
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 ...-include.patch => prusaslicer-2.8.0-missing-includes.patch} | 10 ++++++++++
 media-gfx/prusaslicer/prusaslicer-9999.ebuild                  |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2024-06-22 09:45:06 UTC
The bug has been referenced in the following commit(s):

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

commit ab7b5b95175622e75943b3b8892337a597ad8a46
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-22 09:44:06 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-22 09:44:27 +0000

    media-gfx/prusaslicer: added more missing includes
    
    Bug: https://bugs.gentoo.org/934358
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../files/prusaslicer-2.8.0-missing-includes.patch        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2024-06-22 10:15:38 UTC
The bug has been closed via the following commit(s):

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

commit ee0ba87fa87c80bebf89a6c63709f27fe1796b72
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-22 10:14:45 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-22 10:15:01 +0000

    media-gfx/prusaslicer: fixed linking
    
    Closes: https://bugs.gentoo.org/934358
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../files/prusaslicer-2.8.0-fixed-linking.patch       | 19 +++++++++++++++++++
 media-gfx/prusaslicer/prusaslicer-9999.ebuild         |  1 +
 2 files changed, 20 insertions(+)
Comment 8 mirko.langisch 2024-06-22 20:27:23 UTC
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=ee0ba87fa87c80bebf89a6c63709f27fe1796b72

oh wow, that looks easier than what I had in mind (but I'm not really expererienced with cmake), please eaport that on prusa's github page, they really seem to struggle with linux builds
Comment 9 Miroslav Šulc gentoo-dev 2024-06-22 21:01:40 UTC
> oh wow, that looks easier than what I had in mind (but I'm not really
> expererienced with cmake), please eaport that on prusa's github page, they
> really seem to struggle with linux builds

i did, i just updated this bug with the link