-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[omniorb] Add new port #8609
Closed
Closed
[omniorb] Add new port #8609
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1dd8285
[omniorb] Add new port
bb6da05
install python3 interpreter and libraries
e2fb2ed
Merge remote-tracking branch 'upstream/master'
c74533c
Merge branch 'master' into master
CaeruleusAqua 1cfcfa7
Merge branch 'master' into master
LilyWangL 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,4 @@ | ||
Source: omniorb | ||
Version: 4.2.3-1 | ||
Build-Depends: python3, zlib, openssl | ||
Description: OmniORB is a robust high performance CORBA ORB for C++ and Python. It is freely available under the terms of the GNU Lesser General Public License (for the libraries), and GNU General Public License (for the tools). omniORB is largely CORBA 2.6 compliant. |
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,76 @@ | ||
include(vcpkg_common_functions) | ||
set(VCPKG_USE_HEAD_VERSION ON) | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO CaeruleusAqua/omniORB-cmake | ||
REF 7bd95e32d16c72eb24521aee071895e8d7cffd91 | ||
HEAD_REF master | ||
SHA512 9fa56364696f91e2bf4287954d26f0c35b3f8aad241df3fbd3c9fc617235d8c83b28ddcac88436383b2eb273f690322e6f349e2f9c64d02f0058a4b76fa55035 | ||
) | ||
|
||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS_DEBUG -DPython_RUNTIME_LIBRARY_DIRS=${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}/debug/bin/ | ||
OPTIONS -DPython_LIBRARY_DEBUG=${VCPKG_ROOT_DIR}/installed//${TARGET_TRIPLET}/debug/lib/python37_d.lib | ||
OPTIONS -DPYTHON_SITE=Lib/site-packages | ||
) | ||
|
||
vcpkg_add_to_path(${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}/debug/bin) | ||
|
||
vcpkg_install_cmake() | ||
|
||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/omniorb RENAME copyright) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
|
||
|
||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/${PORT}) | ||
|
||
file(COPY ${CURRENT_PACKAGES_DIR}/bin/omniNames.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}/) | ||
file(COPY ${CURRENT_PACKAGES_DIR}/bin/omniMapper.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}/) | ||
file(COPY ${CURRENT_PACKAGES_DIR}/bin/omniidl.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}/) | ||
file(COPY ${CURRENT_PACKAGES_DIR}/bin/omnicpp.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}/) | ||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT}) | ||
|
||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/omniNames.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/omniMapper.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/omniidl.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/omnicpp.exe) | ||
|
||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/omniNames.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/omniMapper.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/omniidl.exe) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/omnicpp.exe) | ||
|
||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/OmniORB" TARGET_PATH "share/omniorb") | ||
|
||
file(COPY ${CURRENT_PACKAGES_DIR}/Lib/site-packages/ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}) | ||
|
||
|
||
file(READ ${CURRENT_PACKAGES_DIR}/share/omniorb/OmniORBConfig.cmake _contents) | ||
string(REPLACE | ||
"set_and_check(OMNI_PYTHON_RESOURCES" | ||
"#set_and_check(OMNI_PYTHON_RESOURCES" | ||
_contents "${_contents}") | ||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/omniorb/OmniORBConfig.cmake "${_contents}") | ||
|
||
|
||
vcpkg_copy_pdbs() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake/) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/Lib/site-packages/) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/Lib/site-packages/) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/cxx/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/cxx/skel/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/cxx/impl/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/cxx/header/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl_be/cxx/dynskel/__pycache__) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/omniorb/omniidl/__pycache__) | ||
|
||
|
||
|
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
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.
This must be removed before merging.