-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[libvncserver] New port for LibVNCServer 0.9.15 #51243
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
Draft
Felipe Andrade Allemand Borges (fborges22)
wants to merge
20
commits into
microsoft:master
Choose a base branch
from
fborges22:libvncserver
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.
Draft
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f863d91
First implementation of LibVNCServer
fborges22 ec30643
Improved the feature set
fborges22 74516ea
Fixed and removed the libsshtunnel
fborges22 4defcfc
Update ports/libvncserver/vcpkg.json
fborges22 f4978c5
Upgraded to QT6
fborges22 6e3339c
Update libvncserver to version 0.9.15 with port-version 2 and adjust …
fborges22 368092f
Merge branch 'master' into libvncserver
fborges22 da8b48a
Update libvncserver to port-version 3 and remove unnecessary build op…
fborges22 b56b791
First implementation of LibVNCServer
fborges22 1c5207d
Improved the feature set
fborges22 e1874e2
Fixed and removed the libsshtunnel
fborges22 8441183
Update ports/libvncserver/vcpkg.json
fborges22 512637c
Upgraded to QT6
fborges22 7f03ee3
Update libvncserver to version 0.9.15 with port-version 2 and adjust …
fborges22 d2616e1
Update libvncserver to port-version 3 and remove unnecessary build op…
fborges22 9eb08ef
Merge branch 'libvncserver' of https://github.com/fborges22/vcpkg int…
fborges22 d7ffa10
Merge branch 'master' into libvncserver
fborges22 359dc88
Remove conflicting hardcoded CMake options; rely on vcpkg_check_featu…
fborges22 0ac597b
Fix port-version for new port: set to 0 (not 3)
fborges22 2675835
Fix platform-specific build failures: explicitly disable optional fea…
fborges22 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 hidden or 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,63 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO LibVNC/libvncserver | ||
| REF "LibVNCServer-${VERSION}" | ||
| SHA512 3ad7e14eef3b591574714e320257ac465778e05bd157ddff09e48b990f35890bfa6883ce4ac027fcb08dccd96f721117d56aaee681482f7643cfee9adc59804b | ||
| HEAD_REF master | ||
| ) | ||
|
|
||
| string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" LIBVNCSERVER_BUILD_SHARED) | ||
|
|
||
| if(VCPKG_TARGET_IS_WINDOWS) | ||
| set(LIBVNCSERVER_PREFER_WIN32THREADS ON) | ||
| else() | ||
| set(LIBVNCSERVER_PREFER_WIN32THREADS OFF) | ||
| endif() | ||
|
|
||
| vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
| FEATURES | ||
| gcrypt WITH_GCRYPT | ||
| gnutls WITH_GNUTLS | ||
| jpeg WITH_JPEG | ||
| lzo WITH_LZO | ||
| png WITH_PNG | ||
| sasl WITH_SASL | ||
| ssl WITH_OPENSSL | ||
| systemd WITH_SYSTEMD | ||
| tightvnc-filetransfer WITH_TIGHTVNC_FILETRANSFER | ||
| websockets WITH_WEBSOCKETS | ||
| zlib WITH_ZLIB | ||
| ) | ||
|
|
||
| vcpkg_cmake_configure( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| OPTIONS | ||
| -DBUILD_SHARED_LIBS=${LIBVNCSERVER_BUILD_SHARED} | ||
| -DWITH_EXAMPLES=OFF | ||
| -DWITH_TESTS=OFF | ||
| -DWITH_THREADS=ON | ||
| -DPREFER_WIN32THREADS=${LIBVNCSERVER_PREFER_WIN32THREADS} | ||
| -DWITH_24BPP=ON | ||
| -DWITH_IPv6=ON | ||
| -DWITH_ZLIB=OFF | ||
| -DWITH_LZO=OFF | ||
| -DWITH_JPEG=OFF | ||
| -DWITH_PNG=OFF | ||
| -DWITH_GCRYPT=OFF | ||
| -DWITH_GNUTLS=OFF | ||
| -DWITH_SASL=OFF | ||
| -DWITH_OPENSSL=OFF | ||
| -DWITH_SYSTEMD=OFF | ||
| -DWITH_TIGHTVNC_FILETRANSFER=OFF | ||
| -DWITH_WEBSOCKETS=OFF | ||
| ${FEATURE_OPTIONS} | ||
| ) | ||
|
|
||
| vcpkg_cmake_install() | ||
| vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/LibVNCServer" PACKAGE_NAME LibVNCServer) | ||
| vcpkg_fixup_pkgconfig() | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
|
||
| file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |
This file contains hidden or 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,5 @@ | ||
| libvncserver provides CMake targets: | ||
|
|
||
| find_package(LibVNCServer CONFIG REQUIRED) | ||
| target_link_libraries(main PRIVATE LibVNCServer::vncclient) | ||
| target_link_libraries(main PRIVATE LibVNCServer::vncserver) |
This file contains hidden or 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,80 @@ | ||
| { | ||
| "name": "libvncserver", | ||
| "version": "0.9.15", | ||
| "description": "Libraries for implementing VNC servers and clients", | ||
| "homepage": "https://github.com/LibVNC/libvncserver", | ||
| "license": "GPL-2.0-or-later", | ||
| "dependencies": [ | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ], | ||
| "features": { | ||
| "gcrypt": { | ||
| "description": "Use Libgcrypt as crypto backend", | ||
| "dependencies": [ | ||
| "libgcrypt" | ||
| ] | ||
| }, | ||
| "gnutls": { | ||
| "description": "Use GnuTLS for TLS support", | ||
| "dependencies": [ | ||
| "libgnutls" | ||
| ] | ||
| }, | ||
| "jpeg": { | ||
| "description": "Enable JPEG support", | ||
| "dependencies": [ | ||
| "libjpeg-turbo" | ||
| ] | ||
| }, | ||
| "lzo": { | ||
| "description": "Enable LZO support", | ||
| "dependencies": [ | ||
| "lzo" | ||
| ] | ||
| }, | ||
| "png": { | ||
| "description": "Enable PNG support", | ||
| "dependencies": [ | ||
| "libpng" | ||
| ] | ||
| }, | ||
| "sasl": { | ||
| "description": "Enable SASL support", | ||
| "dependencies": [ | ||
| "cyrus-sasl" | ||
| ] | ||
| }, | ||
| "ssl": { | ||
| "description": "Enable SSL/TLS support", | ||
| "dependencies": [ | ||
| "openssl" | ||
| ] | ||
| }, | ||
| "systemd": { | ||
| "description": "Enable systemd socket activation support", | ||
| "supports": "!windows & !uwp", | ||
| "dependencies": [ | ||
| "libsystemd" | ||
| ] | ||
| }, | ||
| "tightvnc-filetransfer": { | ||
| "description": "Enable TightVNC file transfer support" | ||
| }, | ||
| "websockets": { | ||
| "description": "Enable websockets support" | ||
| }, | ||
| "zlib": { | ||
| "description": "Enable zlib support", | ||
| "dependencies": [ | ||
| "zlib" | ||
| ] | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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": "b3c94074744dee0f82c6b19d598782e83db99b0f", | ||
| "version": "0.9.15", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.