cmake: fix some various minor issues#6902
Conversation
- install icon files with correct file extension (png) - install grass.appdata.xml with correct name - do not install the "parson.h" file - fix installation of desc.table parms.table units.table - generate and install translation_status.json - do not install mkrest.py
|
@echoix please take look at this. |
echoix
left a comment
There was a problem hiding this comment.
What does mkrest do normally, and what doesn't work here that merits trimming it out?
I compared to what is installed with current auto tools build. That one is not installed. (Maybe it is used for the building process only) |
|
All changes here are the result of diff between autotools install and cmake install dir. |
Nice work then! |
|
@nilason I get this now FTR: |
That looks like you compiled with |
|
Yes, it is @nilason |
|
I see, thanks for the pointer! |
It built and installed just fine, but didn't work without hacks: Lines 185 to 201 in 91dc83c Let me see if that particular issue can be addressed for now. |
|
Thanks; for the record, I am condisering to ship this with the macos package of QGIS and assume that for a processing integration most resources will not be required. |
@m-kuhn I put up a PR #6972, which skips the parts failing with FHS build. CMake build with legacy installation structure should be regarded as experimental, the build with FHS compliance is experimental^2. If possible I'd use the legacy for now. |
|
@nilason the goal is to ship it as part of QGIS (this was discussed here qgis/QGIS#62521 , happy to get more feedback there if someone else has inputs). |
I have zero experience of vcpkg and quite limited knowledge of QGIS code base. Full support of FHS will only be with next release (8.6). That being said, with #6972 it will build again with FHS although with missing documentation index and GUI menus. That should however not be an issue for using GRASS processing tools in QGIS, so, please give it a try: libraries and modules should work. Do not hesitate to ask for assistance if you have any GRASS specific questions/issues (per e-mail too, if that would be more convenient).
Thanks! As you may know, we have a conda based solution, which is quite stable and is built+notarized on GH once a week. (Currently, we have issues with Intel Macs, but that's another topic). |
Fix some various minor CMake issues: