-
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
[eventbus] Add new port #41563
Draft
motazmuhammad
wants to merge
14
commits into
microsoft:master
Choose a base branch
from
motazmuhammad:eventbus
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.
+57
−0
Draft
[eventbus] Add new port #41563
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3bf9d1c
Add eventbus library to vcpkg
motazmuhammad 9847da2
fix compilation errors
motazmuhammad e635ac3
version database
motazmuhammad b407ee8
update the version file
motazmuhammad 7f27a9f
Merge branch 'eventbus' of https://github.com/motazmuhammad/vcpkg int…
motazmuhammad 45d546c
fix linux bug
motazmuhammad fb0cf4c
update version
motazmuhammad 81d6ab7
solve a bug
motazmuhammad c02223d
update version
motazmuhammad eff9c5a
fix a bug caused by case sensitivity
motazmuhammad 08e60a6
update version file
motazmuhammad a587cb2
Add homepage
6d57bef
update version
c900a26
Update ports/eventbus/portfile.cmake
motazmuhammad 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,27 @@ | ||
if(VCPKG_TARGET_IS_WINDOWS) | ||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
endif() | ||
|
||
# before this revision the build would fail on windows | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO gelldur/EventBus | ||
REF 4689564c4c775456bfa0dfd976b4f48aca5f4d2a | ||
SHA512 0f1f3c21d1c5a18da87e331f252cb464143ba2038a26e6edb6b11c9544c02dd1919fe728e803b382e8f6b89550582d7905170437c184f784cfa3f28c784a7e59 | ||
HEAD_REF master | ||
) | ||
|
||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-DENABLE_TEST=OFF | ||
-DCMAKE_CXX_STANDARD=17 | ||
motazmuhammad marked this conversation as resolved.
Show resolved
Hide resolved
|
||
) | ||
|
||
vcpkg_cmake_install() | ||
vcpkg_copy_pdbs() | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/EventBus) | ||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
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,17 @@ | ||
{ | ||
"name": "eventbus", | ||
"version": "3.1.2", | ||
"description": "Simple and very fast event bus.", | ||
JonLiu1993 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"homepage": "https://github.com/gelldur/EventBus", | ||
"license": "Apache-2.0", | ||
"dependencies": [ | ||
{ | ||
"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": "99744eb5c1976adc3690dee995b516244b2a5eab", | ||
"version": "3.1.2", | ||
"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.
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.
@dg0yt the latest version would fail on windows there were some fixes added to address that in the commit referenced REF, and according to the maintainers guide, if a patch is in the upstream I should favor using it than patching the code myself, What should I do in this case?
To summarize, using v${VERSION} will fail
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.
4689564c4c775456bfa0dfd976b4f48aca5f4d2a is older than, and included, in 3.1.2:
gelldur/EventBus@4689564
So this is just totally wrong. If the build fails with 3.1.2, check the actual error.