Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931098 - media-gfx/freecad-9999: add assembly to modules
Summary: media-gfx/freecad-9999: add assembly to modules
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 14:55 UTC by Fabio Rossi
Modified: 2024-05-03 04:12 UTC (History)
3 users (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 Fabio Rossi 2024-05-02 14:55:34 UTC
The master branch has new code for the future assembly, please enable it again 

--- /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"
@@ -167,6 +167,7 @@
        "${FILESDIR}"/${PN}-9999-Gentoo-specific-don-t-check-vcs.patch
        "${FILESDIR}"/${PN}-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
        "${FILESDIR}"/${PN}-9999-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch
+       "${FILESDIR}"/${PN}-mine.patch
 )

 DOCS=( CODE_OF_CONDUCT.md README.md )
@@ -197,7 +198,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
Comment 1 Fabio Rossi 2024-05-02 14:57:36 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