-
Notifications
You must be signed in to change notification settings - Fork 449
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
PREFIX=/usr gets ignored? #146
Comments
I do believe it's ignored, unfortunately. It's been a while since I worked on this aspect of OpenBoard so I can't remember the details, but some (if not all) the paths are hard-coded, so simply changing the installation folder will result in the application not finding its configuration files, default library files, etc. I'll see if I can find the relevant places where paths are hard-coded (and should be changed); I had never had the time to fix that myself but I believe it should be fairly easy to do. Edit: I was mistaken, the paths aren't hard-coded in any of the C++ source; just in the build & deployment scripts. To enable setting a prefix in this way, I think the QMake project file (OpenBoard.pro) would need to be modified. Right now it doesn't take this into account. |
Thanks for checking. I would appreciate if you could change the pro file to allow for this to work. This would greatly help the production of an AppImage which I am currently working on. Thank you very much. |
Hi, Did you manage to get it work ? let me know if I can close this one so anything related to your work can be found in the #147 |
I am currently using manual workarounds: |
Using
I would expect to see
appdir/usr/share/openboard.desktop
,appdir/usr/bin/OpenBoard
, etc.But I don't see this structure; almost if
PREFIX=/usr
got ignored entirely.The text was updated successfully, but these errors were encountered: