Created attachment 176654 [details] Update cad/freecad port runtime dependencies The FreeCAD "Arch" and "Draft" modules require python pivy at runtime, else they fail to load and FreeCAD print this to standard output: Draft workbench Error: Pivy not found, Draft workbench will be disabled Just installing `graphics/py-pivy' fixes the issue. I noticed a new update for the port is being done in bug 213815, I can wait that it is merged and then update my patch. I'm not 100% sure PORTREVISION needs to be bumped, I can remove from patch if not needed.
(In reply to Thibault Jouan from comment #0) The change is fine, however you can/should avoid bumping the port revision by updating the port to the latest snapshot (Just use the latest GH_TAGNAME and date for that change). BTW, "make check-plist" is your friend when updating the port ;).
(In reply to Pedro F. Giffuni from comment #1) > The change is fine, however you can/should avoid bumping the port revision > by updating the port to the latest snapshot (Just use the latest GH_TAGNAME > and date for that change). Done: I updated to today last snapshot and quickly tested it. No change in plist this time. Thanks again for your tips, and following our discussion I updated the patch with maintainer change (me). The updated patch has those changes: * Update to 20161104 snapshot; * Set myself as maintainer; * Add python pivy as a runtime dependency, which is needed for arch and draft modules.
Created attachment 176708 [details] update cad/freecad port
Created attachment 176709 [details] Update `cad/freecad' port New patch fixes this warning: Makefile warning: in desktop entry #1 (FreeCAD): field 5 (Categories) must contain at least one main desktop category (make -VDESKTOP_CATEGORIES_MAIN) -- * Update to 20161104 snapshot; * Set myself as maintainer; * Add python pivy as a runtime dependency, which is needed for arch and draft modules; * Fix desktop entry warning.
Return to the pool: I am not a ports committer and I am not maintaining this anymore.
Created attachment 178254 [details] Update `cad/freecad' port I wondered why this had been holding for so long, so I took a look and updated it further: - the previous patch wouldn't apply cleanly. - The new maintainer address seemed wrong. - I don't agree that the application belongs in "Science". Take some time to think about it and update later if you still think it should be there. Merry Christmas!
(In reply to Pedro F. Giffuni from comment #6) > - The new maintainer address seemed wrong. Original address was OK, but new one is fine too. > - I don't agree that the application belongs in "Science". Take some time to > think about it and update later if you still think it should be there. OK to update this later. I think we need "one main desktop category", at least to avoid the warning, but I don't really care which one. Regarding the update, I built the port using your patch and used FreeCAD for a few hours, everything looks good. Thank you for this update! This is another subject, but FYI I also worked on a patch to enable collada import. I can submit it later if we get pycollada in the port tree, see bug #214318.
(In reply to Thibault Jouan from comment #7) > (In reply to Pedro F. Giffuni from comment #6) > > - The new maintainer address seemed wrong. > > Original address was OK, but new one is fine too. It was *NOT* OK, I noticed it only now :-( Will fix with a new update.
Created attachment 178517 [details] Update `cad/freecad' port New patch with more recent snapshot. -- * Update to 20170104 snapshot; * Set myself as maintainer; * Add python pivy as a runtime dependency, which is needed for arch and draft modules.
A commit references this bug: Author: wen Date: Sun Jan 8 11:22:16 UTC 2017 New revision: 430862 URL: https://svnweb.freebsd.org/changeset/ports/430862 Log: - Update to 20170104 snapshot - Pass maintainership to submitter - Add python pivy as a runtime dependency PR: 214239 Submitted by: tj+freebsd_bugs@a13.fr Changes: head/cad/freecad/Makefile head/cad/freecad/distinfo head/cad/freecad/pkg-plist