Skip to content
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

Fixing implicit deps on X #27279

Draft
wants to merge 156 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 145 commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
445f411
[xcb-cursor] add port
Neumann-A Oct 14, 2022
ca7d9eb
[xcb-errors] add port
Neumann-A Oct 14, 2022
ac1d3da
[xcb-image] add port
Neumann-A Oct 14, 2022
fdd292d
[xcb-keysyms] add port
Neumann-A Oct 14, 2022
f5ba362
[xcb-util] add port
Neumann-A Oct 14, 2022
c833799
[xcb-wm] add port
Neumann-A Oct 14, 2022
b9fb808
v db
Neumann-A Oct 14, 2022
cdfa4d1
remove xcb-cursor
Neumann-A Oct 14, 2022
e27c10e
CI without X libs possible?
Neumann-A Oct 17, 2022
1fdf2fe
try sudo. (but probably won't work)
Neumann-A Oct 17, 2022
d7072ed
single config fixes
Neumann-A Oct 19, 2022
523d19a
v db
Neumann-A Oct 19, 2022
fa635f4
Remove a bunch of X packages as requested by Neumann-A.
BillyONeal Oct 19, 2022
1365d38
DO NOT MERGE: Add "NoX" to Linux names.
BillyONeal Oct 19, 2022
0fcb727
DO NOT MERGE Update pool and disable non-Linux
BillyONeal Oct 19, 2022
8a9d99f
Merge remote-tracking branch 'billy/neumann-a-fleet' into linux_fix_i…
Neumann-A Oct 19, 2022
555ecf1
Merge remote-tracking branch 'origin/fix_single_config_1' into linux_…
Neumann-A Oct 19, 2022
7c491f4
break all x stuff for the first run.
Neumann-A Oct 19, 2022
bbdd8f0
fix font-util single build
Neumann-A Oct 19, 2022
a22c2c3
add dbus dep
Neumann-A Oct 19, 2022
ba99f2d
fix font-util
Neumann-A Oct 19, 2022
808959c
v db
Neumann-A Oct 19, 2022
e7f7e9e
Apply CR
Neumann-A Oct 20, 2022
f660962
update ports to new version
Neumann-A Oct 20, 2022
1dfd042
Merge remote-tracking branch 'upstream/master' into x_window_part9
Neumann-A Oct 20, 2022
21731e2
v db
Neumann-A Oct 20, 2022
5911a2c
fix v db
Neumann-A Oct 20, 2022
40f1f57
add libdrm
Neumann-A Sep 18, 2022
667b0d3
add libpciaccess
Neumann-A Sep 18, 2022
a3583f8
add libxshmfence
Neumann-A Sep 18, 2022
2828a3e
v db
Neumann-A Sep 18, 2022
41e5041
add newline
Neumann-A Sep 22, 2022
589da76
v db
Neumann-A Sep 22, 2022
40a1933
Actually build the ports once in CI
Neumann-A Oct 19, 2022
1f923be
make xorg macros build on osx
Neumann-A Oct 20, 2022
4801462
xproto also required for osx run
Neumann-A Oct 20, 2022
f861934
add newline
Neumann-A Oct 20, 2022
fac4414
v db
Neumann-A Oct 20, 2022
4dd35aa
add missing DESTINATION parameter
Neumann-A Oct 20, 2022
b416db2
v db
Neumann-A Oct 20, 2022
86ed1e8
fix single config?
Neumann-A Oct 20, 2022
28dcc9d
add libglvnd
Neumann-A Oct 20, 2022
9b94eaf
deactivate registries have opengl instead.
Neumann-A Oct 20, 2022
74568d0
fix hdf5 issues?
Neumann-A Oct 20, 2022
6aa5ea3
at-spi2-core fix dbus dependency
Neumann-A Oct 20, 2022
c718cc7
add first todo list
Neumann-A Oct 20, 2022
461165c
todo libglvnd
Neumann-A Oct 20, 2022
8e8c2f9
todo update
Neumann-A Oct 20, 2022
bd2a420
fix stuff. Lets ci remaining CI errors.
Neumann-A Oct 20, 2022
9e0ce34
Revert "Actually build the ports once in CI"
Neumann-A Oct 20, 2022
2f5f0c4
Revert "make xorg macros build on osx"
Neumann-A Oct 20, 2022
532037a
Revert "xproto also required for osx run"
Neumann-A Oct 20, 2022
73b6d21
Merge branch 'xwindow-part-6' into linux_fix_implicit_x_deps
Neumann-A Oct 20, 2022
011849d
Merge branch 'fix_single_config_1' into linux_fix_implicit_x_deps
Neumann-A Oct 20, 2022
45d0a64
minor fixes reenable xorg-macros
Neumann-A Oct 20, 2022
4b4a8e0
add libglu
Neumann-A Oct 20, 2022
5adf163
more detailes fixed
Neumann-A Oct 20, 2022
b7f80ed
format manifest
Neumann-A Oct 20, 2022
f30a7fc
more fixes
Neumann-A Oct 20, 2022
fa4aff9
fix typos and format manifest
Neumann-A Oct 20, 2022
ce5d8c2
Merge branch 'linux_fix_implicit_x_deps' of https://github.com/Neuman…
Neumann-A Oct 20, 2022
c47948a
add libxcursor
Neumann-A Oct 20, 2022
e638cd0
manifest format
Neumann-A Oct 20, 2022
a0acf62
dep fixes
Neumann-A Oct 20, 2022
d76f1ed
add missing deps
Neumann-A Oct 20, 2022
cce9668
fix mpi for hpx
Neumann-A Oct 21, 2022
e3ff0a5
rename xcb-errors and xcb-wm
Neumann-A Oct 21, 2022
12dfb32
v db
Neumann-A Oct 21, 2022
554a574
add libxtst
Neumann-A Oct 21, 2022
9b0fe9f
Merge remote-tracking branch 'origin/x_window_part9' into linux_fix_i…
Neumann-A Oct 21, 2022
2167c60
fix deps
Neumann-A Oct 21, 2022
f4b7d11
more deps to fix
Neumann-A Oct 21, 2022
ac29feb
format manifest
Neumann-A Oct 21, 2022
78abee5
qtbase fix deps
Neumann-A Oct 21, 2022
f6dc91d
fix naming
Neumann-A Oct 21, 2022
877399c
remove xcb-cursor since i dont have that port here
Neumann-A Oct 21, 2022
fc6b03c
fix deps
Neumann-A Oct 21, 2022
f6dd8b0
fix single config cmake-user
Neumann-A Oct 21, 2022
be0be1f
xcb wrapper
Neumann-A Oct 21, 2022
29b4bf3
make patch only apply on windows
Neumann-A Oct 21, 2022
062b582
fix libx11 wrapper
Neumann-A Oct 21, 2022
0a071a9
add libxcursor
Neumann-A Oct 21, 2022
349cb98
more fixes
Neumann-A Oct 21, 2022
01f054d
add deps to qt5-base
Neumann-A Oct 21, 2022
b065385
Merge branch 'linux_fix_implicit_x_deps' of https://github.com/Neuman…
Neumann-A Oct 21, 2022
06cce4b
fix dep name
Neumann-A Oct 21, 2022
dedac4d
few fixes
Neumann-A Oct 21, 2022
c89cffe
fix stuff
Neumann-A Oct 21, 2022
3076541
fix typo
Neumann-A Oct 21, 2022
b60c29e
fix qt5 pkgconfig paths
Neumann-A Oct 21, 2022
576819a
fix stuff
Neumann-A Oct 21, 2022
0aec142
fix config
Neumann-A Oct 21, 2022
5909564
Merge remote-tracking branch 'upstream/master' into linux_fix_implici…
Neumann-A Oct 22, 2022
519edfa
update glfw3
Neumann-A Oct 22, 2022
67adaed
fix some ports
Neumann-A Oct 22, 2022
5abe33f
more fixes
Neumann-A Oct 22, 2022
974ac0b
fix libxaw hash
Neumann-A Oct 22, 2022
514e90f
fix stuff
Neumann-A Oct 22, 2022
0ef6b0f
more fixes
Neumann-A Oct 22, 2022
0e9d229
fix azure kinect single config build
Neumann-A Oct 22, 2022
e2a71a4
hdf5 stuff is fixed
Neumann-A Oct 22, 2022
57204e6
fix hash ?
Neumann-A Oct 22, 2022
709499f
add missing ()
Neumann-A Oct 22, 2022
7066e10
try fxes?
Neumann-A Oct 23, 2022
029dc9e
fixup elf path ?
Neumann-A Oct 23, 2022
e9b7fa8
fix typo
Neumann-A Oct 23, 2022
44d4e49
fix stuff
Neumann-A Oct 23, 2022
ce56060
add -ldl
Neumann-A Oct 23, 2022
2c19cba
fix stuff.
Neumann-A Oct 23, 2022
9e0830b
activate mesa. try to debug qsb issue.
Neumann-A Oct 23, 2022
f347fbd
bump wyland fix mesa
Neumann-A Oct 23, 2022
a1df1ab
fix details
Neumann-A Oct 23, 2022
5d99557
add missing dep
Neumann-A Oct 23, 2022
ec011e6
rpath fixup ?
Neumann-A Oct 23, 2022
3404ac0
rpath stuff
Neumann-A Oct 24, 2022
cbc0a63
Merge remote-tracking branch 'origin/fix_rpath_by_default' into linux…
Neumann-A Oct 24, 2022
696ba5a
wayland refines
Neumann-A Oct 24, 2022
b38e4bc
fix qt5-wayland
Neumann-A Oct 24, 2022
c522229
get trace
Neumann-A Oct 24, 2022
c064752
fix gaininput
Neumann-A Oct 24, 2022
9258d97
ogre fix
Neumann-A Oct 24, 2022
7e3e931
fix typo in patch
Neumann-A Oct 24, 2022
093fb91
cleanup mesa
Neumann-A Oct 24, 2022
3764985
fix allegro5
Neumann-A Oct 24, 2022
0e2451f
fix skia
Neumann-A Oct 24, 2022
7c9dac4
fix typo and missing dep
Neumann-A Oct 24, 2022
d114d7a
format manifest
Neumann-A Oct 24, 2022
254f819
fix skia builds
Neumann-A Oct 24, 2022
bb6dd02
cleanup todo
Neumann-A Oct 24, 2022
5791355
fix urho3d build
Neumann-A Oct 24, 2022
103a37b
remove another point from the todo
Neumann-A Oct 24, 2022
339e300
add mesa ci test
Neumann-A Oct 25, 2022
6473d5c
mesa fine tuning
Neumann-A Oct 25, 2022
39a48fd
Merge remote-tracking branch 'upstream/master' into linux_fix_implici…
Neumann-A Oct 25, 2022
aeec8b5
Fix qt wayland stuff ?
Neumann-A Oct 25, 2022
9e619dd
try fixing kf5kio
Neumann-A Oct 25, 2022
48364f8
todo update.
Neumann-A Oct 25, 2022
6321150
add libnuma
Neumann-A Oct 25, 2022
d31a42b
v db
Neumann-A Oct 25, 2022
3f958f7
break libnuma
Neumann-A Oct 25, 2022
b11b7e1
remove numa
Neumann-A Oct 25, 2022
7b90d06
world rebuild to see who depends on libnuma
Neumann-A Oct 25, 2022
16d7d8c
numa deps.
Neumann-A Oct 25, 2022
106b3be
try fixing the wrappers.
Neumann-A Oct 25, 2022
6112a20
Merge remote-tracking branch 'upstream/master' into linux_fix_implici…
Neumann-A Oct 26, 2022
a6fbc15
disable numa lookup
Neumann-A Oct 26, 2022
3f68715
remove elf fixup
Neumann-A Oct 26, 2022
d33a272
Merge remote-tracking branch 'upstream/master' into linux_fix_implici…
Neumann-A Oct 26, 2022
5b29cd7
get logs
Neumann-A Oct 26, 2022
25e59a6
WIP
Neumann-A Oct 26, 2022
bda1301
trigger full rebuild to find flaky ci issue
Neumann-A Oct 27, 2022
4e9dc46
fix wrapper due to vcpkg.cmake bug
Neumann-A Oct 27, 2022
a519e74
due to symver stuff
Neumann-A Oct 27, 2022
98f4ab6
reset spdk-dpdk
Neumann-A Oct 27, 2022
d7eef5e
Merge remote-tracking branch 'upstream/master' into linux_fix_implici…
Neumann-A Nov 7, 2022
f4e90d4
libglvnd fixes
Neumann-A Nov 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#cairo: GL;GLES;(EGL;GLX);x11;xext;xrender;(xcb;xcb-render;x11-xcb;xcb-shm)

TODOS:
libX11.a needs fixing of hardcoding absolute paths.
libinput?
libudev?
2 changes: 2 additions & 0 deletions ports/allegro5/cmake-project-include.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
if(MSVC AND CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
add_compile_options(/Gy)
endif()
set(CMAKE_REQUIRED_INCLUDES "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
list(APPEND CMAKE_INCLUDE_PATH "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
1 change: 1 addition & 0 deletions ports/allegro5/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ vcpkg_from_github(
do-not-copy-pdbs-to-lib.patch
export-targets.patch
msvc-arm64-atomic.patch
x11.patch
)


Expand Down
4 changes: 4 additions & 0 deletions ports/allegro5/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"libpng",
"libtheora",
"libvorbis",
{
"name": "libxcursor",
"platform": "!windows"
},
"openal-soft",
"opengl",
"opus",
Expand Down
107 changes: 107 additions & 0 deletions ports/allegro5/x11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8af71b169..0a1b9fbf4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -723,70 +723,79 @@ if(SUPPORT_X11)
message(FATAL_ERROR "X11 support currently requires GLX (set OPENGL_glx_LIBRARY and OpenGL_GLX_FOUND).")
endif()

- check_library_exists(Xcursor XcursorImageCreate "" CAN_XCURSOR)
+ if(TARGET X11::Xcursor)
+ set(CAN_XCURSOR ON)
+ endif()
if(CAN_XCURSOR)
set(ALLEGRO_XWINDOWS_WITH_XCURSOR 1)
- find_library(XCURSOR_LIB "Xcursor")
+ set(XCURSOR_LIB "X11::Xcursor")
list(APPEND X11_LIBRARIES "${XCURSOR_LIB}")
else(CAN_XCURSOR)
message(FATAL_ERROR "X11 support requires Xcursor library.")
endif(CAN_XCURSOR)

- check_library_exists(Xpm XpmCreatePixmapFromData "" CAN_XPM)
+ if(TARGET X11::Xpm)
+ set(CAN_XPM ON)
+ endif()
if(CAN_XPM)
set(ALLEGRO_XWINDOWS_WITH_XPM 1)
- find_library(XPM_LIB "Xpm")
+ set(XPM_LIB "X11::Xpm")
list(APPEND X11_LIBRARIES "${XPM_LIB}")
endif(CAN_XPM)

- check_include_file("X11/extensions/XInput2.h" CAN_XINPUT2)
- run_c_compile_test("
- #include <X11/extensions/XInput2.h>
- int main(void) { (void)XI_TouchBegin; return 0; }"
- XINPUT2_COMPILES
- )
+ if(TARGET X11::Xi)
+ set(CAN_XINPUT2 ON)
+ endif()
if(CAN_XINPUT2 AND XINPUT2_COMPILES)
- list(APPEND X11_LIBRARIES "Xi")
+ list(APPEND X11_LIBRARIES "X11:Xi")
set(ALLEGRO_XWINDOWS_WITH_XINPUT2 1)
else()
message("XInput2 library version 2.2 or higher not found, disabling touch support.")
endif()

if(WANT_X11_XF86VIDMODE)
- check_include_file("X11/extensions/xf86vmode.h" HAVE_XF86VIDMODE_H)
- check_library_exists(Xxf86vm XF86VidModeQueryExtension "" CAN_XF86VIDMODE)
+ if(TARGET X11::Xxf86vm)
+ set(CAN_XF86VIDMODE ON)
+ set(HAVE_XF86VIDMODE_H ON)
+ endif()
if(CAN_XF86VIDMODE AND HAVE_XF86VIDMODE_H)
set(ALLEGRO_XWINDOWS_WITH_XF86VIDMODE 1)
- list(APPEND X11_LIBRARIES "Xxf86vm")
+ list(APPEND X11_LIBRARIES "X11::Xxf86vm")
endif()
endif(WANT_X11_XF86VIDMODE)

if(WANT_X11_XINERAMA)
- check_include_file("X11/extensions/Xinerama.h" HAVE_XINERAMA_H)
- check_library_exists(Xinerama XineramaQueryExtension "" CAN_XINERAMA)
+ if(TARGET X11::Xinerama)
+ set(CAN_XINERAMA ON)
+ set(HAVE_XINERAMA_H ON)
+ endif()
if(CAN_XINERAMA AND HAVE_XINERAMA_H)
set(ALLEGRO_XWINDOWS_WITH_XINERAMA 1)
- find_library(XINERAMA_LIB "Xinerama")
+ set(XINERAMA_LIB "X11::Xinerama")
list(APPEND X11_LIBRARIES "${XINERAMA_LIB}")
endif()
endif(WANT_X11_XINERAMA)

if(WANT_X11_XRANDR)
- check_include_file("X11/extensions/Xrandr.h" HAVE_XRANDR_H)
- check_library_exists(Xrandr XRRQueryExtension "" CAN_XRANDR)
+ if(TARGET X11::Xinerama)
+ set(CAN_XRANDR ON)
+ set(HAVE_XRANDR_H ON)
+ endif()
if(CAN_XRANDR AND HAVE_XRANDR_H)
set(ALLEGRO_XWINDOWS_WITH_XRANDR 1)
- find_library(XRANDR_LIB "Xrandr")
+ set(XRANDR_LIB "X11::Xrandr")
list(APPEND X11_LIBRARIES "${XRANDR_LIB}")
endif()
endif(WANT_X11_XRANDR)

if(WANT_X11_XSCREENSAVER)
- check_include_file("X11/extensions/scrnsaver.h" HAVE_XSCREENSAVER_H)
- check_library_exists(Xss XScreenSaverQueryExtension "" CAN_XSCREENSAVER)
+ if(TARGET X11::Xss)
+ set(CAN_XSCREENSAVER ON)
+ set(HAVE_XSCREENSAVER_H ON)
+ endif()
if(CAN_XSCREENSAVER AND HAVE_XSCREENSAVER_H)
set(ALLEGRO_XWINDOWS_WITH_XSCREENSAVER 1)
- find_library(XSCREENSAVER_LIB "Xss")
+ set(XSCREENSAVER_LIB "X11::Xss")
list(APPEND X11_LIBRARIES "${XSCREENSAVER_LIB}")
endif()
endif(WANT_X11_XSCREENSAVER)
5 changes: 1 addition & 4 deletions ports/at-spi2-core/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dintrospection=no
ADDITIONAL_NATIVE_BINARIES
glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
ADDITIONAL_CROSS_BINARIES
ADDITIONAL_BINARIES
glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
)
Expand Down
5 changes: 5 additions & 0 deletions ports/at-spi2-core/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"name": "at-spi2-core",
"version": "2.44.1",
"port-version": 1,
"description": "Base DBus XML interfaces for accessibility, the accessibility registry daemon, and atspi library.",
"homepage": "https://www.gtk.org/",
"license": null,
"supports": "linux",
"dependencies": [
"dbus",
"glib",
{
"name": "glib",
"host": true
},
"libx11",
"libxi",
"libxtst",
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
4 changes: 2 additions & 2 deletions ports/azure-kinect-sensor-sdk/fix-builds.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ index 4f002b5..d48f3f2 100644
+add_library(libjpeg-turbo::libjpeg-turbo UNKNOWN IMPORTED)
+set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${TURBOJPEG_INCLUDE_DIR})
+set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY IMPORTED_LOCATION_RELEASE ${TURBOJPEG_LIBRARY_RELEASE})
+if(EXISTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib")
+ find_library(TURBOJPEG_LIBRARY_DEBUG NAMES turbojpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH REQUIRED)
+find_library(TURBOJPEG_LIBRARY_DEBUG NAMES turbojpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH)
+if(TURBOJPEG_LIBRARY_DEBUG)
+ set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY IMPORTED_LOCATION_DEBUG ${TURBOJPEG_LIBRARY_DEBUG})
+endif()
+find_package(Matroska CONFIG REQUIRED)
Expand Down
14 changes: 10 additions & 4 deletions ports/azure-kinect-sensor-sdk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()

# Avoid deleting debug/lib/cmake when fixing the first cmake
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/cmake" "${CURRENT_PACKAGES_DIR}/debug/share")
if(NOT VCPKG_BUILD_TYPE)
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/cmake" "${CURRENT_PACKAGES_DIR}/debug/share")
endif()
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/cmake" "${CURRENT_PACKAGES_DIR}/share")

vcpkg_cmake_config_fixup(PACKAGE_NAME k4a CONFIG_PATH share/k4a)
Expand Down Expand Up @@ -79,12 +81,16 @@ endif ()

if (VCPKG_TARGET_IS_LINUX)
file(COPY "${PACKAGE_PATH}/linux/lib/native/${VCPKG_TARGET_ARCHITECTURE}/release/libdepthengine.so.2.0" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
file(COPY "${PACKAGE_PATH}/linux/lib/native/${VCPKG_TARGET_ARCHITECTURE}/release/libdepthengine.so.2.0" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
if(NOT VCPKG_BUILD_TYPE)
file(COPY "${PACKAGE_PATH}/linux/lib/native/${VCPKG_TARGET_ARCHITECTURE}/release/libdepthengine.so.2.0" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
endif()
else()
file(COPY "${PACKAGE_PATH}/lib/native/${ARCHITECTURE}/release/depthengine_2_0.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/azure-kinect-sensor-sdk")
file(COPY "${PACKAGE_PATH}/lib/native/${ARCHITECTURE}/release/depthengine_2_0.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/k4adeploy.ps1" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/azure-kinect-sensor-sdk")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/k4adeploy.ps1" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
if(NOT VCPKG_BUILD_TYPE)
file(COPY "${PACKAGE_PATH}/lib/native/${ARCHITECTURE}/release/depthengine_2_0.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/k4adeploy.ps1" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
endif()
endif()

# Handle copyright
Expand Down
2 changes: 2 additions & 0 deletions ports/cairo/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ vcpkg_from_gitlab(
${PATCHES}
)

#TODO . Add xcb, xlib-xcb feature?

if("fontconfig" IN_LIST FEATURES)
list(APPEND OPTIONS -Dfontconfig=enabled)
else()
Expand Down
9 changes: 8 additions & 1 deletion ports/cairo/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"expat",
"libpng",
"lzo",
"opengl",
"pixman",
"pthread",
{
Expand Down Expand Up @@ -43,7 +44,13 @@
},
"x11": {
"description": "build with x11 support",
"supports": "!windows"
"supports": "!windows",
"dependencies": [
"libx11",
"libxext",
"libxrender",
"libxshmfence"
]
}
}
}
2 changes: 1 addition & 1 deletion ports/coin/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"boost-math",
"boost-smart-ptr",
"boost-static-assert",
"opengl-registry"
"opengl"
],
"default-features": [
"simage",
Expand Down
2 changes: 1 addition & 1 deletion ports/dpdk/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"default-features": false
},
{
"name": "numactl",
"name": "libnuma",
"platform": "linux"
},
"python3",
Expand Down
6 changes: 5 additions & 1 deletion ports/egl-registry/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/EGL-Registry
Expand All @@ -6,13 +7,14 @@ vcpkg_from_github(
HEAD_REF master
)

if(0)
file(
COPY
"${SOURCE_PATH}/api/KHR"
"${SOURCE_PATH}/api/EGL"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)

endif()
file(
COPY
"${SOURCE_PATH}/api/egl.xml"
Expand All @@ -26,3 +28,5 @@ file(
)

configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/egl/vcpkg-cmake-wrapper.cmake" @ONLY)

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
1 change: 1 addition & 0 deletions ports/fltk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ vcpkg_from_github(
config-path.patch
include.patch
fix-system-link.patch
x11.patch
)

if (VCPKG_TARGET_ARCHITECTURE MATCHES "arm" OR VCPKG_TARGET_ARCHITECTURE MATCHES "arm64")
Expand Down
9 changes: 8 additions & 1 deletion ports/fltk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fltk",
"version": "1.3.8",
"port-version": 2,
"port-version": 3,
"description": "FLTK (pronounced fulltick) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.",
"homepage": "https://www.fltk.org/",
"supports": "!uwp",
Expand All @@ -12,6 +12,13 @@
},
"libjpeg-turbo",
"libpng",
"libx11",
"libxcursor",
"libxext",
"libxfixes",
"libxft",
"libxinerama",
"libxrender",
{
"name": "vcpkg-cmake",
"host": true
Expand Down
Loading