-
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
[libfswatch] New port #22527
Closed
Closed
[libfswatch] New port #22527
Changes from 21 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
f63e8fb
[ports/libfswatch/{portfile.cmake,vcpkg.json}] Init
SamuelMarks 12f1f31
[ports/libfswatch/vcpkg.json] Add dependencies
SamuelMarks 780436d
./vcpkg x-add-version --all --overwrite-version
SamuelMarks 034a3d9
[ports/libfswatch/portfile.cmake] Switch to new functions; [ports/lib…
SamuelMarks 1e0d4ad
[ports/libfswatch/vcpkg.json] version -> version-string
SamuelMarks 90d1d50
[ports/libfswatch/vcpkg.json] quote var
SamuelMarks df12d92
[ports/libfswatch/vcpkg.json] quote vars
SamuelMarks 58958a6
[ports/libfswatch/portfile.cmake] Upgrade repo version; [ports/libfsw…
SamuelMarks 07b87d8
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks 4898498
[ports/libfswatch/portfile.cmake] Upgrade repo version with iconv fix…
SamuelMarks f00ad83
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks 660b25e
[ports/libfswatch/portfile.cmake] Upgrade repo version with various c…
SamuelMarks 0a63fc2
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks bb99933
[ports/libfswatch/portfile.cmake] Upgrade repo version with various c…
SamuelMarks ca7c0ed
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks ad7fdaa
[ports/libfswatch/portfile.cmake] Upgrade to multi-CMakeLists.txt ver…
SamuelMarks 55d3f2c
`vcpkg x-add-version --all`
SamuelMarks 49e8c38
[ports/libfswatch/portfile.cmake] Upgrade libfswatch version which di…
SamuelMarks 7531eb7
`vcpkg x-add-version --all --overwrite-version`
SamuelMarks 2770c98
[ports/libfswatch/portfile.cmake] Upgrade to macOS and Linux compatib…
SamuelMarks 4a10b41
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks 629f248
[ports/libfswatch/vcpkg.json] Remove "supports" key to display CI logs
SamuelMarks dae04d6
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks 2a1b905
[ports/libfswatch/vcpkg.json] "supports": "!(uwp | (windows & arm))"
SamuelMarks d50f7a5
[versions/l-/libfswatch.json] ./vcpkg x-add-version --all --overwrite…
SamuelMarks c578a4e
Test with: [ports/libfswatch/vcpkg.json] supports: !uwp
SamuelMarks e532699
`vcpkg x-add-version --all --overwrite-version`
SamuelMarks 583e853
[ports/libfswatch/portfile.cmake] Upgrade to latest version (which ac…
SamuelMarks e37e8ac
[versions/l-/libfswatch.json] `./vcpkg x-add-version --all --overwrit…
SamuelMarks db5a4fd
[ports/libfswatch/vcpkg.json] Add license
SamuelMarks ac06434
[versions/l-/libfswatch.json] `./vcpkg x-add-version --all --overwrit…
SamuelMarks 2176473
Merge branch 'master' into fswatch
SamuelMarks 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,22 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO SamuelMarks/fswatch | ||
REF 045f44c1c410f1f3c425e10d59c786a86401ccbd | ||
SHA512 7333a33066b7dbf50304b405921b93229941455f70902e14162e3cc47e6822fa8cfa0ccce19bfebea73867f648fcdaeaab32ce48df9e01f4ef4149dac09b4dcb | ||
HEAD_REF multi-os-ci | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DBUILD_FSWATCH=OFF" | ||
) | ||
vcpkg_cmake_install() | ||
file(INSTALL "${SOURCE_PATH}/COPYING" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/libfswatch" | ||
RENAME copyright) | ||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
endif() | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") |
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 @@ | ||
{ | ||
"name": "libfswatch", | ||
"version": "1.17.0", | ||
"description": "A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.", | ||
"supports": "!uwp & (arm64 & !windows)", | ||
"dependencies": [ | ||
{ | ||
"name": "gettext", | ||
"host": true, | ||
"features": [ | ||
"tools" | ||
] | ||
}, | ||
{ | ||
"name": "pthreads", | ||
"platform": "windows" | ||
}, | ||
{ | ||
"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": "1f704edb9d11982d735998b471eb0d2a3d7ec31d", | ||
"version": "1.17.0", | ||
"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.
It does not work on x64? And not on windows? I guess you probably mean
"!uwp & !(arm64 & windows)"
(I wounder why arm64 should not work).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.
@autoantwort / @strega-nil-ms Yeah I thought my clause was suspect (which is why I said it in plain-English). ARM64 Windows should work, the only thing I can think could be a stopper is if any of the dependencies listed in
vcpkg.json
don't support ARM64 Windows. UWP I think stops a lot of the internal Windows headers from working, so it's no surprise it fails there.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 don't have to care about this, simply remove the arm64 restriction.
You can simply remove the supports expression and see what fails in reality