gFTL icon indicating copy to clipboard operation
gFTL copied to clipboard

Debian compatible layout

Open olebole opened this issue 4 years ago • 1 comments

Hi,

for the Debian package, I would need to put the files to places similar to the existing ones, which would be like this:

  • Include files to /usr/include/gftl/ (with subdirs templates and types)
  • cmake files to /usr/share/cmake/gftl/
  • Makefile include file to /usr/share/gftl/gftl.mk

I tried to change the file paths via a patch, but when then building gftl-shared, the gftl include path is not set, and therefore the gftl include files are not found. That has been working with 1.2.7, but now stopped. But maybe there is a simple way to put the install paths as parameters during the cmake run? Unfortunately, I am not good in CMAKE; could you give me some advise?

Thank you

Best regards, Ole

olebole avatar Dec 17 '20 15:12 olebole

I believe cmake provides settings that allow to override the conventions about where various bits are installed. I am happy to accept a PR that would provide something like that as a non-default option, but am wary of trying to implement this myself. I do not have access to any system where I have sufficient permissions to test such a change.

But I think you correctly assessed that something bad happened with the change for 1.3.0. It appeared to work, so I accepted a PR, but it broke all of my downstream projects. I undid the release, but did not revert the change in the hopes that the contributor could fix. This weekend I'll try to get 1.2.7 back to the head.

tclune avatar Dec 17 '20 19:12 tclune