Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75076 - [freecad] Improvement proposals for the PKGBUILD

Attached to Project: Community Packages
Opened by Adrian Insaurralde (adrianinsaval) - Thursday, 16 June 2022, 01:33 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 29 July 2022, 23:34 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

FreeCAD 0.20 is out now and I'd like to propose a PKGBUILD for it, some of the changes:
•the upstream URL was updated.
•switched to a source tarball as this significantly reduces the download size compared to a git clone (70M vs 1.6G).
•possibly not needed patches removed, please check this as I don't know what those are supposed to fix but I didn't find any problem compiling and running without them.
•the dependencies were updated (added optdepends, removed some seemingly unnecessary, added new ones) based on the cmake an namcap outputs as well as freecad forum discussions, please review and comment on this in case there's valid reasons to have the removed packages there.
•improved cmake flags
-c++17 was adopted as minimum version during 0.20 development
-the BUILD_PLOT flag mentioned in another bug report is not necessary in 0.20 as it is on by default
-the BUILD_FLAT_MESH flag enables a useful feature to flatten meshes
-INSTALL_TO_SITEPACKAGES install a freecad module so freecad can be imported from python without messing around with paths
-explicitly specifying CMAKE_INSTALL_LIBDIR is necessary to make the above work correctly
-by setting CMAKE_INSTALL_DATAROOTDIR various now unnecessary packaging steps can be removed

Here you can find a package built in a clean chroot with this PKGBUILD: https://github.com/adrianinsaval/pacman-repo/releases/download/archlinux-x86_64/freecad-0.20-1-x86_64.pkg.tar
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Friday, 29 July 2022, 23:34 GMT
Reason for closing:  Implemented
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 05 July 2022, 12:06 GMT
Thanks for reporting! I'll look at this once my new signing key ends up in archlinux-keyring.
Comment by Alexander F. Rødseth (xyproto) - Friday, 29 July 2022, 23:34 GMT
I can now sign packages again. I implemented most of your suggestions. Thanks a lot!

0.20 should appear in [community] shortly.

Please re-open this issue, or create a new one, if there should be any problems.

Loading...