homebrew-freecad icon indicating copy to clipboard operation
homebrew-freecad copied to clipboard

[email protected] formula within this tap do not properly report the freecad revision in use

Open ipatch opened this issue 1 year ago • 2 comments

both the [email protected]_py312.rb and the [email protected]_py312_qt6.rb do not identify the reversion of freecad installed when one installs freecad using brew install freecad whereas on my arch linux box the freecad package provided by arch linux properly reports the revision of freecad used to build and install freecad. below is a little output from a terminal session further explaining the issue.

╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ exec fish
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ which freecad
/home/capin/homebrew/bin/freecad
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ which freecadcmd
/home/capin/homebrew/bin/freecadcmd
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ type -a freecadcmd
freecadcmd is /home/capin/homebrew/bin/freecadcmd
freecadcmd is /usr/bin/freecadcmd
freecadcmd is /bin/freecadcmd
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ type -a freecadcmd --version
type: --version: unknown option
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ freecadcmd --version
FreeCAD 1.0.0 Revision: Unknown
╭─capin at rogue in /opt/code/dots (dev.evergreen ✔)
╰─λ /bin/freecadcmd --version
FreeCAD 1.0.0 Revision: 39109 (Git)

ipatch avatar Jan 02 '25 22:01 ipatch

below is a little screenshot of running the same flag on the gui version (binary) of freecad,

image


whereas with the archlinux provided freecad package i get the below,

image

ipatch avatar Jan 02 '25 22:01 ipatch

use the archlinux pkgbuild / "formula" file for reference,

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-git

ipatch avatar Oct 27 '25 16:10 ipatch