Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[VTK-m/VTK/ParaView] Add new port (might work now) #9202

Closed
wants to merge 459 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
ddb9443
Revert "trying to fix ogre osx ci regression"
Neumann-A Jan 17, 2020
e4b66ea
add ogre:x64-osx=fail to CI baseline
Neumann-A Jan 17, 2020
473f004
retry on osx
Neumann-A Jan 17, 2020
04f4209
fix configure error. since in qt5-base everything is in the package d…
Neumann-A Jan 17, 2020
7a317d8
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Jan 22, 2020
e8b85d6
update baseline
Neumann-A Jan 22, 2020
3595c5a
fix hdf5 CI regression
Neumann-A Jan 22, 2020
edf54b6
update baseline
Neumann-A Jan 22, 2020
04896cf
added warning about the Fortran feature.
Neumann-A Jan 22, 2020
b95d159
[cgns] use loop to remove/copy tools
Neumann-A Jan 22, 2020
aec5224
revert changes to vcpkg_fixup_cmake_targets
Neumann-A Jan 22, 2020
ede74e4
revert changes to vcpkg_check_features.cmake
Neumann-A Jan 22, 2020
86d1d50
revert changes to netcdf-c portfile
Neumann-A Jan 22, 2020
5815d11
Upgrade PCL to 1.10 and fix the build of PCL
Neumann-A Jan 22, 2020
0982dfd
fix cmake config path
Neumann-A Jan 22, 2020
f3fac2a
update baseline
Neumann-A Jan 22, 2020
ac425f4
force vtk rebuild
Neumann-A Jan 22, 2020
2a7f323
introduce vtk-m selector to vtk
Neumann-A Jan 22, 2020
50e4600
Merge branch 'master' into fix_osx_qt_2
Neumann-A Jan 22, 2020
a03d3d1
revert change to ci.baseline
Neumann-A Jan 22, 2020
535cd93
fix vtk x64-windows-static regression by fixing hdf5
Neumann-A Jan 22, 2020
b039084
update ci baseline
Neumann-A Jan 23, 2020
d891653
BUILD_STATIC_EXECS is meant for static CRT linkage an not static libr…
Neumann-A Jan 23, 2020
ea6227a
fix movement of tools on linux
Neumann-A Jan 23, 2020
51fa47b
OSX is automatically LFS
Neumann-A Jan 23, 2020
ed5ffad
retry CI build
Neumann-A Jan 24, 2020
aab579a
fix typo in feature
Neumann-A Jan 24, 2020
3b8b90e
fix PCL static regression with the wrong patch
Neumann-A Jan 24, 2020
79b7f09
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Jan 24, 2020
c1e9e5b
Merge remote-tracking branch 'origin/fix_osx_qt_2' into add_port_para…
Neumann-A Jan 24, 2020
f8ca71f
introduce prl parser and "remove" wrapper from qt5-base
Neumann-A Jan 26, 2020
a227118
fix prl patch details
Neumann-A Jan 26, 2020
8cb8ad4
fix the regex. $ cannot be used with +
Neumann-A Jan 26, 2020
529bcf3
add missing backslashes
Neumann-A Jan 26, 2020
46c5aa3
forward slashes are a case on windows
Neumann-A Jan 27, 2020
c6c3c7b
remove the double // from the paths
Neumann-A Jan 27, 2020
4214725
remove unnecessary $$. should fix linux regressions
Neumann-A Jan 27, 2020
948836b
fix plugin targets
Neumann-A Jan 27, 2020
ebaff92
fix linux config
Neumann-A Jan 27, 2020
3e06eb6
fix the replace expressions after the / windows commit
Neumann-A Jan 27, 2020
91f3a0b
add xlib port
Neumann-A Jan 29, 2020
4fddddc
Merge branch 'add_port_paraview' of https://github.com/Neumann-A/vcpk…
Neumann-A Jan 29, 2020
a0b2615
update baseline
Neumann-A Jan 29, 2020
f2ddad2
add verbose option
Neumann-A Jan 29, 2020
e1168c4
trying to get log info from qt5-x11extras
Neumann-A Jan 29, 2020
b7cde1e
still trying to get log info
Neumann-A Jan 29, 2020
b68cd9e
still trying to get log info
Neumann-A Jan 29, 2020
ef3d324
add xorg libraries working commit 1/N
Neumann-A Jan 29, 2020
604ad81
finish xorg macros
Neumann-A Jan 29, 2020
d98e66a
add lint feature to libxml2 which builds the lint tool
Neumann-A Jan 29, 2020
916e349
fix pkgconfig of xorg
Neumann-A Jan 29, 2020
938e756
fix xcb-proto
Neumann-A Jan 29, 2020
419046c
remove unnecessary code from libxml2 portfile
Neumann-A Jan 29, 2020
e9cbd4a
fix pkgconfig xcb-proto
Neumann-A Jan 29, 2020
86723c5
make xcb build... vcpkg_fixup_pkgconfig is needed
Neumann-A Jan 29, 2020
0b6c3ae
allow adding package config dirs to configure make
Neumann-A Jan 29, 2020
48923d4
add vcpkg_fixup_pkgconfig
Neumann-A Jan 29, 2020
50e8c22
fix replacement of prefix
Neumann-A Jan 29, 2020
ae333b6
fix a few other replacements
Neumann-A Jan 29, 2020
33b6c4a
update portfiles
Neumann-A Jan 29, 2020
643b60d
working commit 2/N
Neumann-A Jan 29, 2020
f1007da
finish xtrans
Neumann-A Jan 30, 2020
9f255b6
improve other x ports
Neumann-A Jan 30, 2020
4c1b548
a bit of status messages fixup pkgconfig
Neumann-A Jan 30, 2020
7c5da72
add x11
Neumann-A Jan 30, 2020
fc4d8ed
add xrender
Neumann-A Jan 30, 2020
00b0cd4
add xcb-util-m4
Neumann-A Jan 30, 2020
70c39b9
add xext
Neumann-A Jan 30, 2020
15a5cf3
add xfixes
Neumann-A Jan 30, 2020
9288843
add xi
Neumann-A Jan 30, 2020
c1f1995
cleanup xlib
Neumann-A Jan 30, 2020
f77c79e
add xproto
Neumann-A Jan 30, 2020
a1794fa
add xcb-keysyms
Neumann-A Jan 30, 2020
f35fec0
add xcb-image
Neumann-A Jan 30, 2020
e5b7098
add xcb-render-util
Neumann-A Jan 30, 2020
eaaef67
fix config paths
Neumann-A Jan 30, 2020
6baa1b3
add xcb-util
Neumann-A Jan 30, 2020
60fe268
add x11 feature to qt5-base
Neumann-A Jan 30, 2020
d656486
change build-depends for new feature
Neumann-A Jan 30, 2020
34d4c93
add xcb-wm
Neumann-A Jan 30, 2020
3f3415b
add glib dependency on linux to avoid linking system library.
Neumann-A Jan 30, 2020
bc5be94
add port ice
Neumann-A Jan 30, 2020
0606340
add port sm
Neumann-A Jan 30, 2020
dbf0b48
add port xau
Neumann-A Jan 30, 2020
770e846
add xt
Neumann-A Jan 30, 2020
0e9eba3
add xmu
Neumann-A Jan 30, 2020
6e46951
add xdmcp
Neumann-A Jan 30, 2020
66fae95
add glib to xt
Neumann-A Jan 30, 2020
aed6db0
make vcpkg_configure_meason usable on linux
Neumann-A Jan 30, 2020
a15aa70
add xkbcommon
Neumann-A Jan 30, 2020
9111610
ws change to trigger ci
Neumann-A Jan 30, 2020
b4a95ad
ws change to trigger ci
Neumann-A Jan 30, 2020
d89a3ba
update qt5 control
Neumann-A Jan 30, 2020
aaddd29
remove glu requirement
Neumann-A Jan 30, 2020
dde4fb7
update dependencies
Neumann-A Jan 31, 2020
9585a13
fix build deps
Neumann-A Jan 31, 2020
d82e1c6
add pthread-stubs
Neumann-A Jan 31, 2020
7a48527
fix dependencies
Neumann-A Jan 31, 2020
59e22a9
fix libxml2 lint error
Neumann-A Jan 31, 2020
2c7fec4
fix deps.
Neumann-A Jan 31, 2020
a5d316c
fix deps
Neumann-A Jan 31, 2020
90b7ccd
build only static or shared libs on linux
Neumann-A Jan 31, 2020
2494702
fix deps
Neumann-A Jan 31, 2020
c915a30
fix deps
Neumann-A Jan 31, 2020
cd971d7
fix deps
Neumann-A Jan 31, 2020
ea18b39
improve PKG_CONFIG_PATHS
Neumann-A Jan 31, 2020
a49801f
add those to xkbcommon
Neumann-A Jan 31, 2020
77c8486
fix wrong variable prefix
Neumann-A Jan 31, 2020
91cea04
fix xkbcommon build
Neumann-A Jan 31, 2020
907b69e
force rebuild of x ports
Neumann-A Jan 31, 2020
d4ac20e
fix prefix
Neumann-A Jan 31, 2020
905ccdf
add deps
Neumann-A Jan 31, 2020
781b526
remove ws
Neumann-A Jan 31, 2020
b8a171f
cleanup
Neumann-A Jan 31, 2020
92a0544
update deps
Neumann-A Jan 31, 2020
4aa06db
ws change and fix typo
Neumann-A Jan 31, 2020
75f2bfe
fix deps
Neumann-A Jan 31, 2020
1d53d03
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Jan 31, 2020
a5906ea
Merge remote-tracking branch 'origin/fix_osx_qt_2' into make_qt_metap…
Neumann-A Jan 31, 2020
cfd3f62
update Qt Control fields
Neumann-A Jan 31, 2020
8300fae
update qt hashes to 5.12.7
Neumann-A Jan 31, 2020
2355295
fix xlib and glib detection on linux.
Neumann-A Jan 31, 2020
122737a
Merge branch 'make_qt_metaport_feature' of https://github.com/Neumann…
Neumann-A Jan 31, 2020
2ea3d69
update baseline
Neumann-A Jan 31, 2020
19cc23c
fix linux qt targets not having debug properties.
Neumann-A Jan 31, 2020
d8ad806
remove most of the wrapper
Neumann-A Jan 31, 2020
2eafdba
update deps
Neumann-A Jan 31, 2020
9346e61
ws change to force rebuild of x libraries
Neumann-A Jan 31, 2020
55fcfec
cleanup and moved every *.pc to (debug)/lib/pkgconfig
Neumann-A Jan 31, 2020
dcd64f3
forgot one
Neumann-A Jan 31, 2020
66cf8d3
addd more xorg ports
Neumann-A Feb 1, 2020
c2d1b0a
cleanup.
Neumann-A Feb 1, 2020
eb275ca
actual forgot to commit the prl parser
Neumann-A Feb 1, 2020
48e26c3
fix the config a bit differently. have to check linux configs again
Neumann-A Feb 1, 2020
2659cc7
commit the remaining x libraries
Neumann-A Feb 1, 2020
aba3c54
print the linter
Neumann-A Feb 1, 2020
9a4fca4
add xlib patch.
Neumann-A Feb 1, 2020
1a9d106
Merge remote-tracking branch 'origin/make_qt_metaport_feature' into a…
Neumann-A Feb 1, 2020
3728bc6
fix some failures
Neumann-A Feb 1, 2020
97fa3e2
angle requires x11 on linux
Neumann-A Feb 1, 2020
40c4698
scan installed files to see if requirements are met in CI
Neumann-A Feb 2, 2020
1ebcaa5
retry xcb again
Neumann-A Feb 2, 2020
23c71a6
make make scripts respect flags correctly
Neumann-A Feb 2, 2020
33d2c58
more ports!
Neumann-A Feb 2, 2020
1674403
angle needs x11
Neumann-A Feb 2, 2020
98dc169
more fixes. mainly angle static build
Neumann-A Feb 2, 2020
92ffaba
fix conflict with egl-registry
Neumann-A Feb 2, 2020
40ef522
improve angle. create object libs instead of static libs.
Neumann-A Feb 2, 2020
ecd02a3
add todo
Neumann-A Feb 2, 2020
854f516
some scripts improvements
Neumann-A Feb 2, 2020
fb7c5b8
install zlib pkgconfig to avoid picking about system pkgconfig on linux
Neumann-A Feb 3, 2020
a01122e
let expat install pkgconfig
Neumann-A Feb 3, 2020
e6c3f08
let fontconfig install pkgconf
Neumann-A Feb 3, 2020
96363ee
let freetype install pkgconf
Neumann-A Feb 3, 2020
f5990bd
change mesa lib suffix
Neumann-A Feb 3, 2020
0fd7e5b
add bzip2 pkgconfig
Neumann-A Feb 3, 2020
0aaeed3
fix fontconfigs pkgconfig
Neumann-A Feb 3, 2020
3e6049e
make libpng install a pkgconfig
Neumann-A Feb 3, 2020
570da4a
update opengl-registry
Neumann-A Feb 3, 2020
a96ccee
patch wayland to use static libraries
Neumann-A Feb 3, 2020
bb995d1
correct configure enviromnent
Neumann-A Feb 3, 2020
aa97279
add another fix
Neumann-A Feb 3, 2020
06b491d
make mesa depend on opengl-regestry
Neumann-A Feb 3, 2020
71da092
make libffi install a pkgconfig
Neumann-A Feb 3, 2020
e602905
make angle depend on opengl-registry
Neumann-A Feb 3, 2020
bf85ed5
install all opengl definitions
Neumann-A Feb 3, 2020
1646e66
apply patch
Neumann-A Feb 3, 2020
3d9324e
configure meson set flags correctly.
Neumann-A Feb 3, 2020
e6a8c3b
fix angle/mesa file conflict
Neumann-A Feb 3, 2020
0b8ec58
make xorg macros build on windows via autoconf
Neumann-A Feb 3, 2020
de60c2f
stil needs mesa driver on linux
Neumann-A Feb 3, 2020
a0bcd8b
get configure/build make work on windows
Neumann-A Feb 3, 2020
1088ce6
make a few x ports work
Neumann-A Feb 3, 2020
379d79f
build only static/shared library on windows
Neumann-A Feb 3, 2020
2161527
fix pkgconfig on windows
Neumann-A Feb 3, 2020
c73ab50
xcb requires python
Neumann-A Feb 3, 2020
e3b3e1d
small patch
Neumann-A Feb 3, 2020
97f0a55
fix missing )
Neumann-A Feb 3, 2020
721fdd5
update mesa not needing drm on windows
Neumann-A Feb 3, 2020
1acc24b
add initial xserver port
Neumann-A Feb 3, 2020
a06b95c
trying to fix windows builds of xtrans without luck
Neumann-A Feb 3, 2020
d0a257a
make xtrans work on windows
Neumann-A Feb 3, 2020
ca8a151
workign commit before merge
Neumann-A Feb 4, 2020
339d421
remove empty line
Neumann-A Feb 4, 2020
ea019d9
Merge branch 'add_port_paraview' of https://github.com/Neumann-A/vcpk…
Neumann-A Feb 4, 2020
eeee26d
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Feb 4, 2020
274e53f
add supports field.
Neumann-A Feb 4, 2020
b2763de
add new policy to skip dumpbin checks and add some quotes to the cmak…
Neumann-A Feb 4, 2020
08ba1c8
add the skip to configure make
Neumann-A Feb 4, 2020
16a7529
forgot to save/commit remaining changes for skip dumpbin checks
Neumann-A Feb 4, 2020
f5af3e1
push the policy into the parent scope
Neumann-A Feb 4, 2020
fdaeae0
update msys
Neumann-A Feb 4, 2020
95ebdfd
playing around with configure make
Neumann-A Feb 4, 2020
82d3b1c
fix env
Neumann-A Feb 4, 2020
2aded65
working comit i/N
Neumann-A Feb 4, 2020
441d668
fix missing " around path
Neumann-A Feb 4, 2020
3f06773
Update VERSION.txt
Neumann-A Feb 4, 2020
7a123dc
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Feb 4, 2020
ccd59cf
[vcpkg] Add quotes to include() in generated dep info file
ras0219-msft Feb 4, 2020
ce9795f
deal with spaces in paths correctly
Neumann-A Feb 5, 2020
6cf1921
playing with whitespaces 1/N
Neumann-A Feb 5, 2020
346e5cb
remove unnecessary build depends
Neumann-A Feb 5, 2020
a8e7a4a
fix extra \
Neumann-A Feb 5, 2020
e92e70f
x of N enough for today
Neumann-A Feb 5, 2020
eb86944
Merge remote-tracking branch 'origin/fix_path_with_spaces' into add_p…
Neumann-A Feb 5, 2020
2468289
comment out whitespace handling on linux
Neumann-A Feb 5, 2020
b4a031e
fix patch
Neumann-A Feb 5, 2020
64794ab
adjust pkgconfig fix
Neumann-A Feb 5, 2020
8a78511
merge fixup pkgconfig
Neumann-A Feb 5, 2020
145761f
add configure_patches as an option and fixed the enviromnent
Neumann-A Feb 5, 2020
ff44de6
same env fixes
Neumann-A Feb 5, 2020
e2e13c2
more env
Neumann-A Feb 5, 2020
bc74836
port fixes
Neumann-A Feb 5, 2020
4bde009
fix replace operation
Neumann-A Feb 5, 2020
b440824
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Feb 5, 2020
6bd2cb9
working commit y/N
Neumann-A Feb 6, 2020
293e634
allow libxstl to build tool
Neumann-A Feb 6, 2020
136dc1e
make tool available
Neumann-A Feb 6, 2020
7481b9c
fix xcb build
Neumann-A Feb 6, 2020
d75e60e
fix xfixes dependencies
Neumann-A Feb 6, 2020
73b711c
bash is not required in build
Neumann-A Feb 6, 2020
e12370f
bit of cleanup
Neumann-A Feb 6, 2020
650f507
add option
Neumann-A Feb 6, 2020
ab41b6f
add dependency on libxslt
Neumann-A Feb 6, 2020
96702a1
add dep xstlproc
Neumann-A Feb 6, 2020
8ef461c
reorder commands
Neumann-A Feb 6, 2020
87e054f
patch xproto a bit
Neumann-A Feb 6, 2020
f5bb7c3
remove flags from xdmcp
Neumann-A Feb 6, 2020
7d0a698
set xsltproc into the enviromnent
Neumann-A Feb 6, 2020
5c3b0da
addded xaw patch
Neumann-A Feb 6, 2020
b840f60
patch missing include
Neumann-A Feb 6, 2020
cd7f823
patch xproto
Neumann-A Feb 6, 2020
94dc8a7
patch xtrans
Neumann-A Feb 6, 2020
1a13cb3
details
Neumann-A Feb 6, 2020
e07ad03
working commit z/n
Neumann-A Feb 6, 2020
999add5
more patches. Seems like xlib only works for x86 due to a sizeof(char…
Neumann-A Feb 6, 2020
1f57a3e
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Feb 6, 2020
05afb75
reorder configure patches after autoconf
Neumann-A Feb 6, 2020
43ec800
fix build error
Neumann-A Feb 6, 2020
dadd7ad
fix options
Neumann-A Feb 6, 2020
86d6a83
add libraries explicitly
Neumann-A Feb 6, 2020
eb924ad
add nettle port
Neumann-A Feb 6, 2020
c50d75d
change buildsystem to meson
Neumann-A Feb 6, 2020
c27e3a8
make nettle install
Neumann-A Feb 6, 2020
5adb8fb
update xserver
Neumann-A Feb 6, 2020
4bd7d09
make xkbcomp work
Neumann-A Feb 6, 2020
6867887
make nettle work
Neumann-A Feb 6, 2020
3f4f18e
add deps
Neumann-A Feb 6, 2020
5ea6718
add remark for lookup how to build on windows
Neumann-A Feb 7, 2020
d969032
Merge remote-tracking branch 'upstream/master' into add_port_paraview
Neumann-A Feb 7, 2020
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
99 changes: 75 additions & 24 deletions ports/angle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ add_definitions(
)

configure_file(commit.h include/id/commit.h COPYONLY)
include_directories(include src ${CMAKE_CURRENT_BINARY_DIR}/include)

#include_directories(include src ${CMAKE_CURRENT_BINARY_DIR}/include)
include_directories(libEGL PUBLIC "$<INSTALL_INTERFACE:include>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>")
##########
# angle::common
if(WINDOWS_DESKTOP)
Expand All @@ -71,14 +71,14 @@ file(GLOB ANGLE_COMMON_SOURCES
"src/common/third_party/smhasher/src/*.h"
"src/common/third_party/smhasher/src/*.cpp")
list(FILTER ANGLE_COMMON_SOURCES EXCLUDE REGEX "_unittest|event_tracer|${ANGLE_COMMON_PLATFORM_FILTER}")
add_library(angle_common STATIC ${ANGLE_COMMON_SOURCES})
target_include_directories(angle_common PUBLIC src/common/third_party/base)
add_library(angle_common OBJECT ${ANGLE_COMMON_SOURCES})
target_include_directories(angle_common PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/common/third_party/base>")
add_library(angle::common ALIAS angle_common)

##########
# angle::image_util
file(GLOB ANGLE_IMAGE_UTIL_SOURCES "src/image_util/*.h" "src/image_util/*.inl" "src/image_util/*.cpp")
add_library(angle_image_util STATIC ${ANGLE_IMAGE_UTIL_SOURCES})
add_library(angle_image_util OBJECT ${ANGLE_IMAGE_UTIL_SOURCES})
target_link_libraries(angle_image_util PRIVATE angle::common)
add_library(angle::image_util ALIAS angle_image_util)

Expand All @@ -96,7 +96,7 @@ file(GLOB TRANSLATOR_SOURCES
"src/third_party/compiler/ArrayBoundsClamper.cpp"
)
list(FILTER TRANSLATOR_SOURCES EXCLUDE REGEX "_unittest")
add_library(angle_translator STATIC ${TRANSLATOR_SOURCES})
add_library(angle_translator OBJECT ${TRANSLATOR_SOURCES})
target_compile_definitions(angle_translator PUBLIC
-DANGLE_ENABLE_ESSL
-DANGLE_ENABLE_GLSL
Expand All @@ -111,7 +111,7 @@ file(GLOB PREPROCESSOR_SOURCES
"src/compiler/preprocessor/*.h"
"src/compiler/preprocessor/*.cpp"
)
add_library(angle_preprocessor STATIC ${PREPROCESSOR_SOURCES})
add_library(angle_preprocessor OBJECT ${PREPROCESSOR_SOURCES})
target_link_libraries(angle_preprocessor PRIVATE angle::common)
add_library(angle::preprocessor ALIAS angle_preprocessor)

Expand Down Expand Up @@ -151,7 +151,7 @@ if(WINDOWS_DESKTOP OR LINUX OR APPLE)
)
list(FILTER LIBANGLE_GL_SOURCES EXCLUDE REGEX "_unittest")
add_library(angle_renderer_opengl INTERFACE)
target_sources(angle_renderer_opengl INTERFACE ${LIBANGLE_GL_SOURCES})
target_sources(angle_renderer_opengl INTERFACE "$<BUILD_INTERFACE:${LIBANGLE_GL_SOURCES}>")
target_compile_definitions(angle_renderer_opengl INTERFACE -DANGLE_ENABLE_OPENGL)
add_library(angle::renderer::opengl ALIAS angle_renderer_opengl)
endif()
Expand All @@ -171,7 +171,7 @@ if(WIN32)
set(LIBANGLE_D3D_WINRT_SOURCES ${LIBANGLE_D3D_SOURCES})
list(FILTER LIBANGLE_D3D_WINRT_SOURCES INCLUDE REGEX "winrt")
add_library(angle_renderer_winrt INTERFACE)
target_sources(angle_renderer_winrt INTERFACE ${LIBANGLE_D3D_WINRT_SOURCES})
target_sources(angle_renderer_winrt INTERFACE "$<BUILD_INTERFACE:${LIBANGLE_D3D_WINRT_SOURCES}>")
add_library(angle::renderer::winrt ALIAS angle_renderer_winrt)
endif()

Expand All @@ -181,7 +181,7 @@ if(WIN32)
list(FILTER LIBANGLE_D3D_DESKTOP_SOURCES INCLUDE REGEX "d3d9|win32|converged")
find_library(D3D9_LIB NAMES d3d9)
add_library(angle_renderer_win32 INTERFACE)
target_sources(angle_renderer_win32 INTERFACE ${LIBANGLE_D3D_DESKTOP_SOURCES})
target_sources(angle_renderer_win32 INTERFACE "$<BUILD_INTERFACE:${LIBANGLE_D3D_DESKTOP_SOURCES}>")
target_compile_definitions(angle_renderer_win32 INTERFACE -DANGLE_ENABLE_D3D9)
target_link_libraries(angle_renderer_win32 INTERFACE ${D3D9_LIB})
add_library(angle::renderer::win32 ALIAS angle_renderer_win32)
Expand All @@ -192,7 +192,7 @@ if(WIN32)
find_library(DXGUID_LIB NAMES dxguid)
find_library(D3D11_LIB NAMES d3d11)
add_library(angle_renderer_d3d INTERFACE)
target_sources(angle_renderer_d3d INTERFACE ${LIBANGLE_D3D_SOURCES})
target_sources(angle_renderer_d3d INTERFACE "$<BUILD_INTERFACE:${LIBANGLE_D3D_SOURCES}")
target_compile_definitions(angle_renderer_d3d INTERFACE
-DANGLE_ENABLE_D3D11
"-DANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES={ \"d3dcompiler_47.dll\", \"d3dcompiler_46.dll\", \"d3dcompiler_43.dll\" }"
Expand All @@ -207,7 +207,7 @@ file(GLOB ANGLE_GPU_INFO_UTIL_SOURCES
"src/gpu_info_util/SystemInfo_internal.h"
"src/gpu_info_util/SystemInfo.cpp"
)
add_library(angle_gpu_info_util STATIC ${ANGLE_GPU_INFO_UTIL_SOURCES})
add_library(angle_gpu_info_util OBJECT ${ANGLE_GPU_INFO_UTIL_SOURCES})
if(WIN32)
target_sources(angle_gpu_info_util PRIVATE "src/gpu_info_util/SystemInfo_win.cpp")
target_link_libraries(angle_gpu_info_util PRIVATE setupapi.lib dxgi.lib)
Expand All @@ -216,7 +216,7 @@ elseif(APPLE)
find_library(IOKit IOKit)
find_library(CoreFoundation CoreFoundation)
find_library(CoreGraphics CoreGraphics)
target_link_libraries(angle_gpu_info_util PRIVATE ${IOKit} ${CoreFoundation} ${CoreGraphics})
target_link_libraries(angle_gpu_info_util OBJECT ${IOKit} ${CoreFoundation} ${CoreGraphics})
elseif(LINUX)
target_sources(angle_gpu_info_util PRIVATE "src/gpu_info_util/SystemInfo_linux.cpp" "src/gpu_info_util/SystemInfo_x11.cpp")
target_compile_definitions(angle_gpu_info_util PRIVATE GPU_INFO_USE_X11)
Expand Down Expand Up @@ -281,6 +281,9 @@ else()
endif()

if(LINUX)
find_package(X11)
include_directories(${X11_INCLUDE_DIR})
list(APPEND LIBANGLE_RENDERER_PLATFORM ${X11_LIBRARIES})
set(LIBANGLE_RENDERER_COMPILEDEF
-DANGLE_USE_X11
)
Expand All @@ -297,14 +300,24 @@ target_link_libraries(libANGLE PRIVATE
angle::preprocessor
${LIBANGLE_RENDERER_PLATFORM}
)
target_include_directories(libANGLE PRIVATE "src/third_party/khronos")
target_include_directories(libANGLE PRIVATE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/third_party/khronos>")
target_compile_definitions(libANGLE
PRIVATE -DANGLE_ENABLE_NULL
PUBLIC
-DLIBANGLE_IMPLEMENTATION
${LIBANGLE_RENDERER_COMPILEDEF}
${LIBANGLE_RENDERER_COMPILEDEF}
-DANGLE_EXPORT=
-DANGLE_UTIL_EXPORT=
-DEGLAPI=
-DGL_APICALL=
-DGL_API=
)
add_library(angle::libANGLE ALIAS libANGLE)
if(BUILD_SHARED_LIBS)
target_compile_definitions(libANGLE
PRIVATE -DLIBANGLE_UTIL_IMPLEMENTATION
)
endif()

##########
# libGLESv2
Expand Down Expand Up @@ -344,12 +357,28 @@ target_link_libraries(libGLESv2 PRIVATE angle::common angle::libANGLE)
target_compile_definitions(libGLESv2
PRIVATE -DLIBGLESV2_IMPLEMENTATION
PUBLIC
-DGL_GLEXT_PROTOTYPES
-DGL_API=
-DGL_APICALL=
-DEGLAPI=
-DGL_API=
"-DGL_GLES_PROTOTYPES=1"
"-DGL_GLEXT_PROTOTYPES"
"-DEGL_EGL_PROTOTYPES=1"
"-DEGL_EGLEXT_PROTOTYPES"
)
if(BUILD_SHARED_LIBS)
else()
if(WIN32)
target_compile_definitions(libGLESv2 PRIVATE
"-DGL_API="
"-DGL_APICALL="
"-DEGLAPI="
)
else()
target_compile_definitions(libGLESv2 PRIVATE
"-DGL_API=__attribute__((visibility(\"default\")))"
"-DGL_APICALL=__attribute__((visibility(\"default\")))"
"-DEGLAPI=__attribute__((visibility(\"default\")))"
)
endif()
endif()

target_include_directories(libGLESv2 PUBLIC "$<INSTALL_INTERFACE:include>")

##########
Expand All @@ -361,15 +390,37 @@ add_library(libEGL
"src/libEGL/resource.h"
)
target_link_libraries(libEGL PRIVATE angle::common angle::libANGLE libGLESv2)
target_include_directories(libEGL PUBLIC "$<INSTALL_INTERFACE:include>")
target_include_directories(libEGL PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>")

target_include_directories(libEGL PUBLIC "$<INSTALL_INTERFACE:include>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>")
target_compile_definitions(libEGL
PRIVATE -DLIBGLESV2_IMPLEMENTATION
PUBLIC
"-DGL_GLES_PROTOTYPES=1"
"-DGL_GLEXT_PROTOTYPES"
"-DEGL_EGL_PROTOTYPES=1"
"-DEGL_EGLEXT_PROTOTYPES"
)
if(BUILD_SHARED_LIBS)
else()
if(WIN32)
target_compile_definitions(libEGL PRIVATE
"-DGL_API="
"-DGL_APICALL="
"-DEGLAPI="
)
else()
target_compile_definitions(libEGL PRIVATE
"-DGL_API=__attribute__((visibility(\"default\")))"
"-DGL_APICALL=__attribute__((visibility(\"default\")))"
"-DEGLAPI=__attribute__((visibility(\"default\")))"
)
endif()
endif()

SET_TARGET_PROPERTIES(libANGLE PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(libGLESv2 PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(libEGL PROPERTIES PREFIX "")

install(TARGETS libEGL libGLESv2 EXPORT ANGLEExport
install(TARGETS libEGL libGLESv2 libANGLE angle_common angle_image_util angle_gpu_info_util angle_translator angle_preprocessor angle_renderer_opengl EXPORT ANGLEExport
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
Expand Down
4 changes: 2 additions & 2 deletions ports/angle/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: angle
Version: 2019-12-31
Version: 2019-12-31-1
Homepage: https://github.com/google/angle
Description: A conformant OpenGL ES implementation for Windows, Mac and Linux.
The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support.
Build-Depends: egl-registry
Build-Depends: egl-registry, opengl-registry, x11 (linux), mesa (linux)
35 changes: 34 additions & 1 deletion ports/angle/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
#vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)

if (VCPKG_TARGET_IS_LINUX)
message(WARNING "Building with a gcc version less than 6.1 is not supported.")
Expand All @@ -21,6 +21,7 @@ vcpkg_from_github(
REPO google/angle
REF 1fdf6ca5141d8e349e875eab6e51d93d929a7f0e
SHA512 2553307f3d10b5c32166b9ed610b4b15310dccba00c644cd35026de86d87ea2e221c2e528f33b02f01c1ded2f08150e429de1fa300b73d655f8944f6f5047a82
# On update check headers against opengl-registry
PATCHES
001-fix-uwp.patch
002-fix-builder-error.patch
Expand All @@ -44,3 +45,35 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-angle TARGET_PATH share/u
vcpkg_copy_pdbs()

file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

# File conflict with opengl-registry! Make sure headers are similar on Update!
set(_double_files
include/GLES/egl.h
include/GLES/gl.h
include/GLES/glext.h
include/GLES/glplatform.h
include/GLES2/gl2.h
include/GLES2/gl2ext.h
include/GLES2/gl2platform.h
include/GLES3/gl3.h
include/GLES3/gl31.h
include/GLES3/gl32.h
include/GLES3/gl3platform.h)
foreach(_file ${_double_files})
if(EXISTS "${CURRENT_PACKAGES_DIR}/${_file}")
file(REMOVE "${CURRENT_PACKAGES_DIR}/${_file}")
endif()
endforeach()

#TODO: conflict with mesa!
# include/GLES/egl.h
# include/GLES/gl.h
# include/GLES/glext.h
# include/GLES/glplatform.h
# include/GLES2/gl2.h
# include/GLES2/gl2ext.h
# include/GLES2/gl2platform.h
# include/GLES3/gl3.h
# include/GLES3/gl31.h
# include/GLES3/gl32.h
# include/GLES3/gl3platform.h
5 changes: 5 additions & 0 deletions ports/applewm/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: applewm
Version: 1.4.1
Homepage: https://gitlab.freedesktop.org/xorg/lib/libapplewm
Description: Xlib-based library for the Apple-WM extension
Build-Depends: xorg-macros, bzip2, xproto, x11, xext
38 changes: 38 additions & 0 deletions ports/applewm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
message(STATUS "----- ${PORT} requires autoconf, libtool and pkconf from the system package manager! -----")

vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO lib/libapplewm
REF 78e9081bd1dc88e4a86fc6e401647bdb5265fef7 # 1.4.1
SHA512 a4afb77458e980f61b0d51d8d89f89c2b47eaca6674b7ff2473745d04b9dd59921401db74f53fe24e5b5e4221f311f69fcbfcaa0d5e0b37c53e68a6844e655bc
HEAD_REF master # branch name
#PATCHES example.patch #patch name
)

set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
#SKIP_CONFIGURE
#NO_DEBUG
#AUTO_HOST
#AUTO_DST
#PRERUN_SHELL "export ACLOCAL=\"aclocal -I ${CURRENT_INSTALLED_DIR}/share/xorg-macros/aclocal/\""
#OPTIONS
#OPTIONS_DEBUG
#OPTIONS_RELEASE
PKG_CONFIG_PATHS_RELEASE "${CURRENT_INSTALLED_DIR}/lib/pkgconfig"
PKG_CONFIG_PATHS_DEBUG "${CURRENT_INSTALLED_DIR}/debug/lib/pkgconfig"
)

vcpkg_install_make()
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

# # Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

11 changes: 11 additions & 0 deletions ports/bzip2/bzip2.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@BZIP2_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: bzip2
Description: bzip2
Version: 3.0
Requires:
Libs: -L${libdir} -l@bzname@
Cflags: -I${includedir}
22 changes: 16 additions & 6 deletions ports/bzip2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ vcpkg_extract_source_archive_ex(
fix-import-export-macros.patch
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
Expand All @@ -26,17 +26,27 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()

file(READ ${CURRENT_PACKAGES_DIR}/include/bzlib.h BZLIB_H)
file(READ "${CURRENT_PACKAGES_DIR}/include/bzlib.h" BZLIB_H)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
string(REPLACE "defined(BZ_IMPORT)" "0" BZLIB_H "${BZLIB_H}")
else()
string(REPLACE "defined(BZ_IMPORT)" "1" BZLIB_H "${BZLIB_H}")
endif()
file(WRITE ${CURRENT_PACKAGES_DIR}/include/bzlib.h "${BZLIB_H}")
file(WRITE "${CURRENT_PACKAGES_DIR}/include/bzlib.h" "${BZLIB_H}")

file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/bzip2)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/bzip2/LICENSE ${CURRENT_PACKAGES_DIR}/share/bzip2/copyright)
file(COPY "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/bzip2")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/bzip2/LICENSE" "${CURRENT_PACKAGES_DIR}/share/bzip2/copyright")

file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

vcpkg_test_cmake(PACKAGE_NAME BZip2 MODULE)

set(BZIP2_PREFIX "${CURRENT_INSTALLED_DIR}")
set(bzname bz2)
configure_file("${CMAKE_CURRENT_LIST_DIR}/bzip2.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/bzip2.pc" @ONLY)
set(BZIP2_PREFIX "${CURRENT_INSTALLED_DIR}/debug")
if(VCPKG_TARGET_IS_WINDOWS)
set(bzname bz2d)
endif()
configure_file("${CMAKE_CURRENT_LIST_DIR}/bzip2.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/bzip2.pc" @ONLY)
vcpkg_fixup_pkgconfig()
Loading