flathub / com.prusa3d.PrusaSlicer

https://flathub.org/apps/details/com.prusa3d.PrusaSlicer
7 stars 14 forks source link

add support for flatpak in perform_downloader_desktop_integration #84

Closed eliadevito closed 10 months ago

eliadevito commented 10 months ago

Hi @xarbit, This should fix https://github.com/flathub/com.prusa3d.PrusaSlicer/issues/81, if it work i will send a pull request upstream for merge

flathubbot commented 10 months ago

Started test build 62044

flathubbot commented 10 months ago

Build 62044 failed

flathubbot commented 10 months ago

Started test build 62045

flathubbot commented 10 months ago

Build 62045 failed

xarbit commented 10 months ago

for some reason the builds fail

eliadevito commented 10 months ago

seem related to recent upstream commits, tomorrow i investigate better and open an issue upstream

flathubbot commented 10 months ago

Started test build 62282

eliadevito commented 10 months ago

this commit should fix this build error

/run/build/PrusaSlicer/src/libslic3r/CutUtils.cpp: In member function ‘const ModelObjectPtrs& Slic3r::Cut::perform_with_plane()’:
/run/build/PrusaSlicer/src/libslic3r/CutUtils.cpp:300:23: error: ‘trace’ was not declared in this scope
  300 |     BOOST_LOG_TRIVIAL(trace) << "ModelObject::cut - start";
      |                       ^~~~~
/run/build/PrusaSlicer/src/libslic3r/CutUtils.cpp:300:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
  300 |     BOOST_LOG_TRIVIAL(trace) << "ModelObject::cut - start";
      |     ^~~~~~~~~~~~~~~~~

remain only the tbb error, now i’ll take a look

flathubbot commented 10 months ago

Build 62282 failed

flathubbot commented 10 months ago

Started test build 62288

eliadevito commented 10 months ago

ok the boost error is gone, try tbb fix :crossed_fingers:

flathubbot commented 10 months ago

Build 62288 failed

flathubbot commented 10 months ago

Started test build 62296

eliadevito commented 10 months ago

the x86_64 build seems OK, I sended upstream a PR to add missing includes, after tests (probably tomorrow) i will send another PR with the patch to fix printables desktop integration

flathubbot commented 10 months ago

Build 62296 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/44925/com.prusa3d.PrusaSlicer.flatpakref
flathubbot commented 10 months ago

Started test build 62307

flathubbot commented 10 months ago

Build 62307 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/44936/com.prusa3d.PrusaSlicer.flatpakref
xarbit commented 10 months ago

Hi @eliadevito Great job .. That's a bunch of patches needed ..

What do we do with this PR? Are you getting this upstreamed and we ignore or can I merge this?

Thanks!

xarbit commented 10 months ago

https://github.com/prusa3d/PrusaSlicer/pull/11218

eliadevito commented 10 months ago

Hi @eliadevito Great job .. That's a bunch of patches needed ..

What do we do with this PR? Are you getting this upstreamed and we ignore or can I merge this?

Thanks!

Hi @xarbit there is a minor change I have to made in the printable integration patch, after that, IMO we can merge this.

the patch mostly add missing includes, we can remove them after upstream merge

eliadevito commented 10 months ago

if you prefer i can squash the 3 patches that add missing includes into one

xarbit commented 10 months ago

That's fine, let's wait for your minor changes in the printable integration patch. We should also integrate the changes needed for the printables.com appurl mime type upstream.

flathubbot commented 10 months ago

Started test build 62599

flathubbot commented 10 months ago

Build 62599 failed

flathubbot commented 10 months ago

Started test build 62600

flathubbot commented 10 months ago

Build 62600 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/45234/com.prusa3d.PrusaSlicer.flatpakref
flathubbot commented 10 months ago

Started test build 62634

eliadevito commented 10 months ago

Hi @xarbit, we are ready, after finish this build can be pushed in beta.

I sended printables.com integration patch upstream (https://github.com/prusa3d/PrusaSlicer/pull/11229)

flathubbot commented 10 months ago

Build 62634 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/45268/com.prusa3d.PrusaSlicer.flatpakref