-
Notifications
You must be signed in to change notification settings - Fork 238
[DISCUSSION] move OS related files out of platform specific folder #2601
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
Conversation
882864b to
3cfb705
Compare
| <string>en</string> | ||
| <key>CFBundleIconFile</key> | ||
| <string>mainicon.icns</string> | ||
| <string>mainicon.icns</string> <!-- Hopefully, this should not need the path to the file since we include it via qmake --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be verified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The autobuild mac version is OK - at least no images are missing as far as I can tell
| CLANG_FORMAT_SOURCES = $$files(*.cpp, true) $$files(*.mm, true) $$files(*.h, true) | ||
| CLANG_FORMAT_SOURCES = $$find(CLANG_FORMAT_SOURCES, ^\(android|ios|mac|linux|src|windows\)/) | ||
| CLANG_FORMAT_SOURCES ~= s!^\(windows/\(nsProcess|ASIOSDK2\)/|src/res/qrc_resources\.cpp\)\S*$!!g | ||
| CLANG_FORMAT_SOURCES ~= s!^\(libs/\(NSIS|ASIOSDK2\)/|src/res/qrc_resources\.cpp\)\S*$!!g |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that we already moved the ASIOSDK. Is that in a not-yet merged PR?
dc3d474 to
19295e4
Compare
36b3add to
f1e51a8
Compare
f1e51a8 to
54b3fcc
Compare
|
@hoffie you requested this PR a while ago, and I think it makes sense discussing the moving of files. I'm not yet done fully with moving everything out, but I think it's a good start? |
|
I think the direction of the PR is fine. I haven't had a look at all details yet. By remaing files you mean the following, right? I don't have a good idea for those yet. Moving all build scripts to build/ or something would still leave some stuff. Would generic platform/ directory make sense to reduce the number of top level directories at least? |
|
Yes. Some of these files can easily be moved (.entitlements etc) but the build scripts? |
6e6a934 to
e024cd4
Compare
ann0see
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another round...
| ICONSDIR_SVG = $$absolute_path($$ICONSDIR_SVG, $$PREFIX) | ||
| icons_svg.path = $$ICONSDIR_SVG | ||
| icons_svg.files = distributions/jamulus.svg distributions/jamulus-server.svg | ||
| icons_svg.files = src/res/jamulus-icon-2020.svg src/res/jamulus-server-icon-2020.svg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like the name of this file (rather remove the 2020 and icon). Other files use it probably.
| @@ -1,7 +1,7 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be tested again on a new device (ping corrados if this is merged)
|
I think it might make sense to open separate PRs with only a few of these commits such that testing becomes easier… |
e024cd4 to
12d0ce1
Compare
|
Ok. Now the most "dangerous" PRs are missing: images and distribution moving. |
|
Closing since #2838 is the last one related to this PR. |
Short description of changes
DO NOT MERGE!
Context: Fixes an issue?
No. Just moves files out of the platform specific folders into src/res, libs/ or specific folders in src/.
Does this change need documentation? What needs to be documented and how?
Status of this Pull Request
Ready for discussion what we should do with the remaining files.
What is missing until this pull request can be merged?
Testing and discussion.
Checklist