-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[morphologica] new port #43752
Open
rremilian
wants to merge
19
commits into
microsoft:master
Choose a base branch
from
rremilian:morphologica-v3.2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[morphologica] new port #43752
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6af8d81
[morphologica] new port
rremilian 84437c6
[morphologica] add fix_nlohmann_include.patch
rremilian 40a1855
[morphologica] Windows builds have not been tested since 2021
rremilian fdc46aa
[morphologica] add freeglut
rremilian bc466fe
[morphologica] add prevent examples patch
rremilian 3e96bff
[morphologica] remove egl_fix.patch (only needed for Windows)
rremilian ae41875
[morphologica] prevent tests and examples
rremilian 8c9716e
[morpholica] add back egl_fix.patch for Windows
rremilian b993129
[morphologica] remove support for Windows
rremilian 25e6c06
[morphologica] use freeglut only on Linux
rremilian 31c20af
[morphologica] minor changes
rremilian e8d9423
[morphologica] fonts are required
rremilian 22e3767
[morphologica] update to v3.3
rremilian 8254dae
[morphologica] update to 3.3.1
rremilian 5088a6a
[morphologica] add fix_egl.patch
rremilian 02baac3
[morphologica] use patch from upstream
rremilian aeb9a78
[morphologica] bump to version 3.4
rremilian 57d3994
[morphologica] update to 3.4.1
rremilian 0d41d28
[morphologica] update to v3.4.3
rremilian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
set(VCPKG_BUILD_TYPE release) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO ABRG-Models/morphologica | ||
REF "v${VERSION}" | ||
SHA512 0c92fd191b8eae57fae389517433d83ab3498bec3806cc658499d1ab1a294ed8b861dba38b5592c0ffec9c45fa9a8a453df660b35878f360b8395b948a958e52 | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-DBUILD_EXAMPLES=OFF | ||
) | ||
vcpkg_cmake_install() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "morphologica", | ||
"version": "3.4.3", | ||
"description": "C++ header-only graphing and data visualization with Modern OpenGL", | ||
"homepage": "https://github.com/ABRG-Models/morphologica", | ||
"license": "Apache-2.0", | ||
"dependencies": [ | ||
"armadillo", | ||
{ | ||
"name": "egl", | ||
"platform": "linux" | ||
}, | ||
{ | ||
"name": "freeglut", | ||
"platform": "linux" | ||
}, | ||
"freetype", | ||
"glfw3", | ||
"hdf5", | ||
"nlohmann-json", | ||
"opengl", | ||
"rapidxml", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "5466b5703932a35e1d51b0b5392da26fe3f0abcb", | ||
"version": "3.4.3", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
https://github.com/ABRG-Models/morphologica?tab=readme-ov-file#what-is-morphologica claims 'header-only', could this be replaced with adding
set(VCPKG_BUILD_TYPE release)
to the top of the file?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.
You're right that these headers should not be bundled in morphologica. I've now removed all bundled GL headers such as these:
These are all a legitimate part of morphologica and not third party code:
Yes, rapidxml needs to be handled differently and ideally not bundled. I've fixed these upstream:
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.
@BillyONeal I have bumped the version to 3.4 and included
rapidxml
andegl
.I've also changed the manifest to build only the Release version.