Probably files should be installed in /usr/lib/freecad-svn, /usr/share/freecad-svn ...
I can adopt freecad and modify its PKGBUILD following the same convention, installing files in /usr/lib/freecad, /usr/share/freecad...
Search Criteria
Package Details: freecad-git 0.22.0.36999.ged77603af9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/freecad-git.git (read-only, click to copy) |
---|---|
Package Base: | freecad-git |
Description: | A general purpose 3D CAD modeler - git checkout |
Upstream URL: | https://www.freecad.org/ |
Licenses: | LGPL |
Conflicts: | freecad, freecad-appimage, freecad-appimage-git |
Provides: | freecad |
Submitter: | gborzi |
Maintainer: | greyltc (adrianinsaval) |
Last Packager: | adrianinsaval |
Votes: | 106 |
Popularity: | 0.77 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2024-04-30 00:29 (UTC) |
Dependencies (39)
- boost-libs
- coin (coin-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- medAUR (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR)
- openmpi (openmpi-gitAUR)
- pyside6
- pyside6-tools
- python-matplotlib (python-matplotlib-gitAUR)
- python-packaging
- python-pivy
- python-ply
- python-yaml (python-yaml-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- qt6-tools
- Show 19 more dependencies...
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 49 50 51 52 53 54 55 56 57 58 Next › Last »
mickele commented on 2011-03-27 10:21 (UTC)
gborzi commented on 2011-03-26 23:06 (UTC)
I've made some modifications to the PKGBUILD, following mickele's suggestions. Now it installs executables under /usr/lib/freecad, data under /usr/share/freecad, includes under /usr/include/freecad, like the debian package. In the meantime, freecad devs have released trunk 4316.
Thanks to mickele for the suggestions, to vinvin and Archimage for reporting that it works.
<deleted-account> commented on 2011-03-26 22:54 (UTC)
Everything works fine, thank you gborzi !
mickele commented on 2011-03-26 20:43 (UTC)
New version of the package installs a non standard directory in usr (/usr/Mod).
This is why the previous version was installing in /opt.
Icon file freecad.xpm conflicts with icon file from freecad (http://aur.archlinux.org/packages.php?ID=7575), the stable version of the package. A possible solution is renaming the file.
Another suggestion is about freecad.desktop that I think should be compatible with freecad's one (it should have the same categories).
vinvin commented on 2011-03-26 18:16 (UTC)
I was finally able to compile it and test it, and it works perfectly. Thanks for the patches gborzi.
I did not need the Driver_Document.h patch, this issue didn't appear. Basically, the required changes were removing -mt at the end of boost references in the acinclude.m4 file, and adding the '#define BOOST_FILESYSTEM_VERSION 2' line, after having ran a make clean to take into account the new opencascade version.
gborzi commented on 2011-03-26 11:36 (UTC)
Adopted and updated. Please note that I don't use this package, so I need feedback from users to check that it is properly working.
<deleted-account> commented on 2011-03-26 00:36 (UTC)
I think it's better that you maintain the package since you've found the solution, I've dropped it
gborzi commented on 2011-03-26 00:19 (UTC)
I've made a working PKGBUILD for this package, you can find it here http://pastebin.com/Yw8mMrPE
This is what I changed:
1) boost=1.46.0;
2) sed -i -e 's/-lboost\(.*\)-mt/-lboost\1/' configure to fix the -lboost*-mt libraries;
3) --with-occ-include=/opt/opencascade/inc instead of --with-occ-include=/opt/opencascade/include;
4) change a line with sed in src/3rdParty/salomesmesh/Makefile to fix the Driver_Document.h problem;
5) change a line with sed in src/App/PropertyStandard.h to fix boost filesystem version problem.
The package it seems to work (I can't be sure because I don't know how to use it).
Finally, I removed the !makeflags option.
<deleted-account> commented on 2011-03-25 13:19 (UTC)
I'm going to step down as a maintainer, who wants to take care of the package ?
vinvin commented on 2011-03-25 12:49 (UTC)
Thanks for the patch eworm.
I have an issue with the new opencascade dependency:
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wno-sign-compare -Wno-switch -Wno-reorder -Wno-unused -Wno-parentheses -Wno-comment -march=i686 -mtune=generic -O2 -pipe -Wno-deprecated -frtti -version-info 1:0:0 -Wl,--no-undefined -L/opt/opencascade/Linux/lib -lTKernel -lTKService -lTKMath -lTKBRep -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKG3d -lTKG2d -lTKMeshVS -lTKShHealing -lTKPrim -lTKAdvTools -Wl,--hash-style=gnu -Wl,--as-needed -lpthread -o libDriverSTL.la -rpath /opt/freecad-svn/lib DriverSTL_R_SMDS_Mesh.lo DriverSTL_W_SMDS_Mesh.lo -lSMDS -lDriver
/bin/grep: /opt/opencascade/Linux/lib/libTKernel.la: No such file or directory
/bin/sed: can't read /opt/opencascade/Linux/lib/libTKernel.la: No such file or directory
libtool: link: `/opt/opencascade/Linux/lib/libTKernel.la' is not a valid libtool archive
make[3]: *** [libDriverSTL.la] Error 1
make[3]: Leaving directory `/home/vinvin/AUR/freecad-svn/src/freecad/src/3rdParty/salomesmesh'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vinvin/AUR/freecad-svn/src/freecad/src/3rdParty'
The .la files are not installed by opencascade, I don't understand why it doesn't takes the .so files.
Pinned Comments
adrianinsaval commented on 2023-03-12 14:50 (UTC)
If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with
makepkg --nocheck
if you don't care about the functionality that is being reported as failing in the check.