Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian compatible layout #116

Open
olebole opened this issue Dec 17, 2020 · 1 comment
Open

Debian compatible layout #116

olebole opened this issue Dec 17, 2020 · 1 comment

Comments

@olebole
Copy link

olebole commented Dec 17, 2020

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

@tclune
Copy link
Member

tclune commented Dec 17, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants