Summary: | media-gfx/freecad-9999: add assembly to modules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Rossi <rossi.f> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aklhfex, andrewammerlaan, eschwartz, proxy-maint, rossi.f, ydmorenoc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ondselsolver-9999.ebuild |
Description
Fabio Rossi
2024-05-02 14:55:34 UTC
I am sorry, the previous patch was wrong, here are the required changes: --- /usr/portage/media-gfx/freecad/freecad-9999.ebuild 2024-05-02 14:40:03.952609706 +0200 +++ /usr/portage/media-gfx/freecad/freecad-9999.ebuild.new 2024-05-02 14:49:08.498558459 +0200 @@ -28,7 +28,7 @@ SLOT="0" IUSE="debug designer +gui qt6 test" -FREECAD_EXPERIMENTAL_MODULES="cloud netgen pcl" +FREECAD_EXPERIMENTAL_MODULES="assembly cloud netgen pcl" FREECAD_STABLE_MODULES="addonmgr fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux" @@ -197,7 +197,7 @@ local mycmakeargs=( -DBUILD_ADDONMGR=$(usex addonmgr) -DBUILD_ARCH=ON - -DBUILD_ASSEMBLY=OFF # deprecated + -DBUILD_ASSEMBLY=$(usex assembly) -DBUILD_CLOUD=$(usex cloud) -DBUILD_COMPLETE=OFF # deprecated -DBUILD_DRAFT=ON This requires https://github.com/Ondsel-Development/OndselSolver (currently not packaged) a(In reply to Nowa Ammerlaan from comment #2) > This requires https://github.com/Ondsel-Development/OndselSolver (currently > not packaged) as other 3rd party deps :-) Anyway I have packaged the OndselSolver too, here is attached the ebuild Moreover, here is the updated patch to the freecad ebuild to use the external OndselSolver : --- /usr/portage/media-gfx/freecad/freecad-9999.ebuild 2024-09-15 18:11:15.000000000 +0200 +++ /var/db/repos/__mine__/media-gfx/freecad/freecad-9999.ebuild 2024-10-01 18:49:56.738164299 +0200 @@ -28,7 +28,7 @@ SLOT="0" IUSE="debug designer +gui +qt6 test" -FREECAD_EXPERIMENTAL_MODULES="cloud netgen pcl" +FREECAD_EXPERIMENTAL_MODULES="assembly cloud netgen pcl" FREECAD_STABLE_MODULES="addonmgr fem idf image inspection material openscad part-design path points raytracing robot show smesh surface techdraw tux" @@ -70,6 +70,9 @@ sci-libs/orocos_kdl:= sys-libs/zlib virtual/libusb:1 + assembly? ( + sci-libs/ondselsolver + ) cloud? ( dev-libs/openssl:= net-misc/curl @@ -205,7 +208,7 @@ local mycmakeargs=( -DBUILD_ADDONMGR=$(usex addonmgr) -DBUILD_ARCH=ON - -DBUILD_ASSEMBLY=OFF # Requires OndselSolver + -DBUILD_ASSEMBLY=$(usex assembly) -DBUILD_CLOUD=$(usex cloud) -DBUILD_COMPLETE=OFF # deprecated -DBUILD_DRAFT=ON @@ -253,6 +256,7 @@ -DFREECAD_BUILD_DEBIAN=OFF + -DFREECAD_USE_EXTERNAL_ONDSELSOLVER=ON -DFREECAD_USE_EXTERNAL_KDL=ON -DFREECAD_USE_EXTERNAL_SMESH=OFF # no package in Gentoo -DFREECAD_USE_EXTERNAL_ZIPIOS=OFF # doesn't work yet, also no package in Gentoo tree Created attachment 904640 [details]
ondselsolver-9999.ebuild
I should have checked Bugzilla first.. I've submitted (although this is a snapshot): https://github.com/gentoo/gentoo/pull/39080 As with the attachment here there really isn't much to do for ondselsolver. I have added testing. It needs: https://github.com/Ondsel-Development/OndselSolver/pull/82 |