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

[X Window System] add libraries for the x window systems #9966

Closed
wants to merge 571 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
571 commits
Select commit Hold shift + click to select a range
615c45e
[libpng] add pc file installation
Neumann-A May 29, 2020
a1bba9a
[bzip2] install pc file and leave a TODO for somebody else ;)
Neumann-A May 29, 2020
e17aca7
[bzip2] bump control
Neumann-A May 29, 2020
f98f913
WIP Commit 5/N
Neumann-A May 29, 2020
62be347
WIP Commit
Neumann-A May 30, 2020
e3a9597
wip commit
Neumann-A May 30, 2020
b8e2570
wip commit
Neumann-A May 30, 2020
c44d8d4
xcursor fixes
Neumann-A May 30, 2020
bfddeeb
more wip work
Neumann-A May 30, 2020
91d63dd
add mtdev
Neumann-A May 30, 2020
002039f
wip commit
Neumann-A May 30, 2020
79d8395
try to install setuptools
Neumann-A May 31, 2020
4f04a12
add autoconfig to xorg-macros
Neumann-A May 31, 2020
84e4085
wip commit
Neumann-A May 31, 2020
887dfbf
add missing xorg dep
Neumann-A May 31, 2020
1e8881c
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A May 31, 2020
4420416
WIP commit
Neumann-A Jun 1, 2020
48036ed
try dbus again.
Neumann-A Jun 1, 2020
555395c
[vcpkg/scripts] allow to find internal meson.py
Neumann-A Jun 1, 2020
d27d0fd
fix some issues
Neumann-A Jun 1, 2020
2c74b63
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Jun 1, 2020
a905934
[vcpkg/scripts/pkgconfig] skip checks if pkgconfig cannot be found.
Neumann-A Jun 1, 2020
7c475c2
retry zstd and zlib
Neumann-A Jun 1, 2020
a78d1a9
[libpng] retry by adding dl and m to system libraries for osx
Neumann-A Jun 2, 2020
7ed2960
[libpng] add missing vcpkg_fixup_pkgconfig()
Neumann-A Jun 3, 2020
ff00ae5
[vcpkg/scripts/pkgconfig] unset var if found.
Neumann-A Jun 4, 2020
2abe536
[libpng] bump control
Neumann-A Jun 4, 2020
604c2aa
[libpng] enable port debug to debug osx regression
Neumann-A Jun 5, 2020
37fe07f
Merge remote-tracking branch 'upstream/master' into use_pkg_config_to…
Neumann-A Jun 6, 2020
bf1c58b
ws change to retrigger osx ci and hopeing that it works
Neumann-A Jun 8, 2020
6a5e75b
fix typo
Neumann-A Jun 10, 2020
9591717
Merge remote-tracking branch 'origin/use_pkg_config_to_fixup_pkgconfi…
Neumann-A Jun 10, 2020
2833973
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Jun 10, 2020
fb2ad21
[vcpkg_find_acquire_program] add version check for ninja
Neumann-A Aug 13, 2020
f92b9a7
[fontconfig] update fontconfig
Neumann-A Aug 13, 2020
7634161
Change VERSION to NINJA_VERSION
Neumann-A Aug 14, 2020
b292255
Missed VERSION change
Neumann-A Aug 14, 2020
7f74e51
[libiconv] update to make
Neumann-A Aug 14, 2020
f126e71
[gettext] update to make
Neumann-A Aug 14, 2020
1fa1354
[vcpkg_configure_make] Changes considering pure configure ports witho…
Neumann-A Aug 14, 2020
676b615
[fontconfig] make it work on windows
Neumann-A Aug 14, 2020
a84fdf4
some more corrections
Neumann-A Aug 14, 2020
32a6ac5
add missing PACKAGES parameter
Neumann-A Aug 14, 2020
f145e06
add osx hash
Neumann-A Aug 15, 2020
04de713
[meson] update to 0.55.1
Neumann-A Aug 15, 2020
f171072
fix command
Neumann-A Aug 15, 2020
e9a7476
Remove apt/brew package names
Neumann-A Aug 15, 2020
4c473e7
move supported around and disable it for freebsd
Neumann-A Aug 15, 2020
1ce48d8
fix small command hickup which does not matter for ninja
Neumann-A Aug 15, 2020
be36062
Merge branch 'ninja-version-check' into update_meson_0.55.1
Neumann-A Aug 15, 2020
f475ceb
Remove install of unofficial cmake config
Neumann-A Aug 15, 2020
0673870
add function get_cmake_vars
Neumann-A Aug 16, 2020
b5f28f7
fine tuning.
Neumann-A Aug 16, 2020
deae3fe
apply to make based ports.
Neumann-A Aug 16, 2020
d4d7e21
add log suffix on not windows platforms
Neumann-A Aug 16, 2020
d47399d
fix c&p error
Neumann-A Aug 16, 2020
6ccbae5
add previous LINK env
Neumann-A Aug 16, 2020
0f2004b
setup env on windows and extract cpp flags correctly.
Neumann-A Aug 16, 2020
e1f1734
update glib and libxml2
Neumann-A Aug 16, 2020
ce06465
Merge remote-tracking branch 'upstream/master' into update_meson_0.55.1
strega-nil Aug 16, 2020
ebe74d5
Merge remote-tracking branch 'origin/fix_script_details' into make_me…
Neumann-A Aug 16, 2020
84bdffb
revert changes to acquire program
Neumann-A Aug 16, 2020
f064bd7
Merge remote-tracking branch 'origin/update_meson_0.55.1' into make_m…
Neumann-A Aug 16, 2020
ee33fd7
Merge remote-tracking branch 'origin/add_get_cmake_vars' into make_me…
Neumann-A Aug 16, 2020
607a288
refactor configure meson
Neumann-A Aug 16, 2020
ec22a0a
remove crossfile from triplet
Neumann-A Aug 16, 2020
a55d91e
fix c&p error
Neumann-A Aug 16, 2020
4855e33
add compilers in cross file
Neumann-A Aug 16, 2020
830e66c
fix windows regressions
Neumann-A Aug 17, 2020
f811525
Apply suggestions from code review
Neumann-A Aug 17, 2020
0d4b558
Merge remote-tracking branch 'upstream/master' into make_meson_sane
Neumann-A Aug 17, 2020
50cb31e
fix missing system name
Neumann-A Aug 17, 2020
63bd413
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 17, 2020
67bd086
Merge remote-tracking branch 'origin/add_get_cmake_vars' into update_…
Neumann-A Aug 17, 2020
8a83a85
add windres wrapper to invoke RC.
Neumann-A Aug 18, 2020
74817e2
remove wrong fi
Neumann-A Aug 18, 2020
2672cd4
fix libintl.
Neumann-A Aug 18, 2020
6615058
try fixing uwp
Neumann-A Aug 18, 2020
83006e6
other things to update
Neumann-A Aug 18, 2020
c381410
exiv2 fix
Neumann-A Aug 18, 2020
c3a413f
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 19, 2020
36beae0
libtool does not like -RTC1
Neumann-A Aug 19, 2020
129ec81
Merge branch 'update_fontconfig' of https://github.com/Neumann-A/vcpk…
Neumann-A Aug 19, 2020
e3adc50
pass the /RTC<x> flag directly to the compiler
Neumann-A Aug 19, 2020
115d6ef
trust cmake instead of adding extra flags
Neumann-A Aug 19, 2020
8c8e88c
fix expat
Neumann-A Aug 19, 2020
37a80f3
fix iconv wrapper install
Neumann-A Aug 19, 2020
9895f82
change fontconfig intl linkage.
Neumann-A Aug 19, 2020
4570f16
add appcontainer back in which is required for UWP. Why is this not i…
Neumann-A Aug 19, 2020
4483846
fix pkg-config in vcpkg_configure_make
Neumann-A Aug 19, 2020
38e1d59
fix json-c pkg-config installation
Neumann-A Aug 19, 2020
3687e7c
remove remnoved config
Neumann-A Aug 19, 2020
88b2b59
comment out debug messages + bit of tuning
Neumann-A Aug 19, 2020
94513e5
finally fontconfig
Neumann-A Aug 19, 2020
03b5d57
comment debug messages
Neumann-A Aug 19, 2020
7c6ed43
expat apply extra patches.
Neumann-A Aug 19, 2020
baaaca5
Switch back to -E instead of -EP in cpp
Neumann-A Aug 20, 2020
cf68632
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 20, 2020
eb2ef40
commit changes from fontconfig PR
Neumann-A Aug 20, 2020
3d2ba81
Merge branch 'add_get_cmake_vars' of https://github.com/Neumann-A/vcp…
Neumann-A Aug 20, 2020
74ca7a3
Merge remote-tracking branch 'upstream/master' into add_get_cmake_vars
Neumann-A Aug 20, 2020
24533f8
[expat] fix expat details
Neumann-A Aug 20, 2020
b26f186
Apply suggestions from code review
Neumann-A Aug 20, 2020
ec357c2
cleanup docs
Neumann-A Aug 20, 2020
15eae59
Merge remote-tracking branch 'origin/add_get_cmake_vars' into make_me…
Neumann-A Aug 20, 2020
898dcd7
update osx pipeline so that fontconfig actually builds
Neumann-A Aug 20, 2020
0d07959
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Aug 20, 2020
858e2ef
Merge remote-tracking branch 'origin/make_meson_sane' into add_x_wind…
Neumann-A Aug 20, 2020
2301c40
fix libxslt lzma linkage
Neumann-A Aug 20, 2020
9bb47f7
fix build to xlib
Neumann-A Aug 20, 2020
d83f6f3
fix expat the lazy way by using a higher commit than release
Neumann-A Aug 20, 2020
59728c8
fix a barage of regressions due to the use of unofficial targets
Neumann-A Aug 20, 2020
89ebe28
[expat] use a higher commit hash with a better stabilized cmake build
Neumann-A Aug 20, 2020
c5ead84
forgot freexl regression
Neumann-A Aug 20, 2020
40ec145
more unofficial fixes
Neumann-A Aug 20, 2020
dc15a5c
fix fribidi regressions
Neumann-A Aug 20, 2020
bb6791f
fix downstream expat usage
Neumann-A Aug 20, 2020
dab51a4
fix downstream expat usage
Neumann-A Aug 20, 2020
aafb122
- automatic rename of static libraries on windows
Neumann-A Aug 20, 2020
6dcd088
remove fatal error
Neumann-A Aug 20, 2020
5799f22
fix wxwidgets
Neumann-A Aug 20, 2020
4187f31
fix gcdm regression
Neumann-A Aug 20, 2020
06106c6
[vtk] fix the regression due to expat
Neumann-A Aug 20, 2020
fc8d280
Merge remote-tracking branch 'origin/fix_expat_details' into update_f…
Neumann-A Aug 20, 2020
34813c1
add uwp cl flags back in. Somehow those are not set by cmake
Neumann-A Aug 20, 2020
1a6b81b
add a few other configure options for full gettext build
Neumann-A Aug 20, 2020
f1dc49a
fix cmake regression
Neumann-A Aug 21, 2020
db54b96
fix a few regressions
Neumann-A Aug 21, 2020
1bdb695
fix static gettext build
Neumann-A Aug 21, 2020
cf2dcfe
fix gettext static
Neumann-A Aug 21, 2020
065b48f
fix libxml2 wrapper for cmake
Neumann-A Aug 21, 2020
ab3c9cb
some more regressions fixes
Neumann-A Aug 21, 2020
7c440bd
add conversion from somelib.lib to -lsomelib
Neumann-A Aug 21, 2020
926c9e0
Merge remote-tracking branch 'origin/add_get_cmake_vars' into add_x_w…
Neumann-A Aug 21, 2020
ab52a7e
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Aug 21, 2020
de44e3b
Merge remote-tracking branch 'origin/add_get_cmake_vars' into make_me…
Neumann-A Aug 21, 2020
33c23ef
Merge remote-tracking branch 'upstream/master' into make_meson_sane
Neumann-A Aug 21, 2020
3cdd276
reset expat changes
Neumann-A Aug 21, 2020
c55d9d2
remove cross toolchain
Neumann-A Aug 21, 2020
d7e9378
fix windows system libs
Neumann-A Aug 21, 2020
5f96df6
fix libxslt linux build
Neumann-A Aug 21, 2020
44a89c5
skip pc check in xproto
Neumann-A Aug 21, 2020
a5ff21a
Merge remote-tracking branch 'origin/make_meson_sane' into add_x_wind…
Neumann-A Aug 21, 2020
b80480f
add a few option to libiconv.
Neumann-A Aug 22, 2020
69c452e
get logs from CI
Neumann-A Aug 22, 2020
4b08137
Merge remote-tracking branch 'upstream/master' into update_fontconfig
Neumann-A Aug 22, 2020
1baed52
add missing ar-lib wrapper
Neumann-A Aug 22, 2020
8b20a58
add missing ar-lib wrapper
Neumann-A Aug 22, 2020
b1c6848
add fatal error to gettext
Neumann-A Aug 22, 2020
e3b67e9
remove uuid from the list of LIBS since it seems to not exist in CI?
Neumann-A Aug 22, 2020
8e27695
small but important regex correction
Neumann-A Aug 22, 2020
49af47c
fix regex and add debug message for libs
Neumann-A Aug 22, 2020
b5bba62
remove error and only build libintl.
Neumann-A Aug 22, 2020
02d0d04
add uuid dependency to fontconfig in qt5-base
Neumann-A Aug 22, 2020
758042f
osx install gettext for autopoint
Neumann-A Aug 23, 2020
50e1d33
fix io2d regression by saying the port is broken .....
Neumann-A Aug 23, 2020
288461d
restore the old libxml2 wrapper with minor modifications
Neumann-A Aug 23, 2020
3849c14
Merge branch 'update_fontconfig' of https://github.com/Neumann-A/vcpk…
Neumann-A Aug 23, 2020
bb09109
fix xmlsec regression
Neumann-A Aug 23, 2020
14f517d
install wrapper correctly
Neumann-A Aug 23, 2020
28ec78f
try actual fixing io2d
Neumann-A Aug 23, 2020
6ea5a94
improve iconv wrapper
Neumann-A Aug 23, 2020
7b40bf3
add latest changes from update_fontconfig PR
Neumann-A Aug 24, 2020
7df1169
[vcpkg_fixup_pkgconfig] Large simplification, handle spaces in path.
ras0219 Aug 25, 2020
e1aee7b
[vcpkg] Update spaces end-to-end test to also use capitals
ras0219 Aug 25, 2020
ce6564d
[vcpkg_fixup_pkgconfig] Improve error messages and add filesystem sle…
ras0219 Aug 25, 2020
3896f8f
Merge remote-tracking branch 'origin/add_get_cmake_vars' into add_x_w…
Neumann-A Aug 25, 2020
d77eab0
Merge remote-tracking branch 'origin/update_fontconfig' into add_x_wi…
Neumann-A Aug 25, 2020
1ac7116
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Aug 25, 2020
2c8b041
Merge remote-tracking branch 'ras/dev/roschuma/pkgconfig-spaces' into…
Neumann-A Aug 25, 2020
c1fa27b
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
ras0219-msft Aug 25, 2020
248359c
Merge remote-tracking branch 'origin/master' into dev/roschuma/pkgcon…
ras0219-msft Aug 26, 2020
2fb5b89
[nettle] Fix pkgconfig generation on Windows
ras0219-msft Aug 26, 2020
4db7f46
[gmp] Handle change in install_msbuild
ras0219-msft Aug 26, 2020
3bd3905
[vcpkg_fixup_pkgconfig] Handle spaces on non-Windows platforms
ras0219-msft Aug 26, 2020
cb56eda
[vcpkg_fixup_pkgconfig] Handle issue with win32 pkg-config double esc…
ras0219 Aug 27, 2020
0d6bfe4
Merge remote-tracking branch 'origin/master' into dev/roschuma/pkgcon…
BillyONeal Aug 27, 2020
ce7a48a
[vcpkg_fixup_pkgconfig] Ignore implicit libraries in .pc file (stdc++…
ras0219 Aug 28, 2020
250503c
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
ras0219-msft Aug 28, 2020
df0d6c6
Merge remote-tracking branch 'ras/dev/roschuma/pkgconfig-spaces' into…
Neumann-A Aug 31, 2020
d13e7c6
Update meson to a recent commit to fix a bug with 0.56
Neumann-A Nov 13, 2020
8da84c9
rename static libraries built by meson by default on windows
Neumann-A Nov 13, 2020
e093c17
apply cmake variables detection to meson.
Neumann-A Nov 13, 2020
f774f58
update munit
Neumann-A Nov 13, 2020
0aac8c8
fix fribidi
Neumann-A Nov 13, 2020
c57d181
fix _FLAGS variables
Neumann-A Nov 16, 2020
eeebd82
set env SDKROOT and MACOSX_DEPLOYMENT_TARGET in configure_meson
Neumann-A Nov 17, 2020
66747fa
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Nov 17, 2020
9c30e3c
Merge remote-tracking branch 'origin/make_meson_sane' into add_x_wind…
Neumann-A Nov 17, 2020
f8aa6be
reset gmp portfile
Neumann-A Nov 17, 2020
98c734c
reset scripts/azure-pipelines/linux/provision-image.sh
Neumann-A Nov 17, 2020
8775a35
remove moved files
Neumann-A Nov 17, 2020
e6bf324
cleanup pr
Neumann-A Nov 17, 2020
e2da15b
more cleanup
Neumann-A Nov 17, 2020
a6e1450
need osx env while building and configuring
Neumann-A Nov 18, 2020
a91afe5
- remove unused env backup functions
Neumann-A Nov 18, 2020
7c29d74
replace _vcpkg with vcpkg since _ has special meaning in functions
Neumann-A Nov 18, 2020
2b327bc
rename functions to vcpkg_internal_meson_generate
Neumann-A Nov 18, 2020
95aa141
update control tool-meson
Neumann-A Nov 18, 2020
1aad424
Merge remote-tracking branch 'origin/make_meson_sane' into add_x_wind…
Neumann-A Nov 18, 2020
ade3a2d
[mesa] new port
Neumann-A Nov 18, 2020
2bc3094
make mesa build more.
Neumann-A Nov 19, 2020
633b976
Merge remote-tracking branch 'upstream/master' into mesa
Neumann-A Nov 19, 2020
6a9dda4
more fine tuning
Neumann-A Nov 19, 2020
f2e7f02
fix x86
Neumann-A Nov 20, 2020
37dba81
add supports.
Neumann-A Nov 20, 2020
1e1be84
comment about EGL feature.
Neumann-A Dec 1, 2020
2fa61e6
Resolve conficts
PhoebeHui Dec 2, 2020
e8bcd47
Resolve conflicts
PhoebeHui Dec 2, 2020
dc0ebea
Merge branch 'mesa' of https://github.com/Neumann-A/vcpkg into mesa
PhoebeHui Dec 2, 2020
10974c3
Merge remote-tracking branch 'upstream/master' into mesa
Neumann-A Jan 7, 2021
0557fe2
apply suggestion from CR.
Neumann-A Jan 7, 2021
d4cb37e
fix boolean option
Neumann-A Jan 7, 2021
75d1fb3
make sharedgl-api=true the hardcoded default
Neumann-A Jan 7, 2021
f2176c5
add suggestion from CR
Neumann-A Jan 8, 2021
df3047c
add mesa:x64-windows-static=fail to ci.baseline.txt due to static crt…
Neumann-A Jan 10, 2021
03d2ebe
apply CR sugesstion
Neumann-A Jan 11, 2021
5edde73
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Jan 11, 2021
ae4437d
remove old hopefully unused stuff
Neumann-A Jan 11, 2021
05b4e8c
Merge remote-tracking branch 'origin/mesa' into add_x_window_system
Neumann-A Jan 11, 2021
68689b3
Cleanup C&P Code
Neumann-A Jan 11, 2021
fb43dac
[tool-meson] Rev vcpkg's meson build
RichLogan Dec 19, 2020
3011537
more cleanup
Neumann-A Jan 11, 2021
15e467d
add lint feature back in
Neumann-A Jan 11, 2021
2768f05
build xmllint in libxml2
Neumann-A Jan 11, 2021
e7c5c3e
dont't change line endings on patch
Neumann-A Jan 11, 2021
36aa06d
update xcb-proto
Neumann-A Jan 11, 2021
c2dbe7a
fix cpp wrapper to work.
Neumann-A Jan 11, 2021
d574e19
remove libtool artifacts
Neumann-A Jan 11, 2021
845ef0f
fix wrapper
Neumann-A Jan 12, 2021
3e5d26c
fix xlib dynmic windows build
Neumann-A Jan 12, 2021
b86ef1d
fix xcb-render-util
Neumann-A Jan 13, 2021
f08f095
fix windows xfont build
Neumann-A Jan 13, 2021
698d3de
need to remove extra whitespaces in c(pp) args
Neumann-A Jan 13, 2021
641c5ed
update xserver
Neumann-A Jan 13, 2021
5c567db
add some supports fields.
Neumann-A Jan 13, 2021
a39b15c
more supports.
Neumann-A Jan 13, 2021
82a36dd
copy tool deps
Neumann-A Jan 13, 2021
7088ce5
add todo for xwindow
Neumann-A Jan 13, 2021
8351616
fix xcursorgen deps
Neumann-A Jan 13, 2021
88e10c9
Merge remote-tracking branch 'RichLogan/meson-rev' into add_x_window_…
Neumann-A Jan 13, 2021
5c1aefe
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Jan 22, 2021
97fe4f2
fix details
Neumann-A Jan 22, 2021
250658d
fix xres on windows
Neumann-A Jan 22, 2021
05554b3
Merge branch 'add_x_window_system' of https://github.com/Neumann-A/vc…
Neumann-A Jan 22, 2021
6115fea
fix windows regressions
Neumann-A Jan 24, 2021
aacf586
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A Jan 24, 2021
63388d7
remove double build-depends
Neumann-A Jan 24, 2021
705d064
reset some changes to upstream
Neumann-A May 15, 2021
a84e81a
Merge remote-tracking branch 'upstream/master' into add_x_window_system
Neumann-A May 15, 2021
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
9 changes: 9 additions & 0 deletions TODO_xwindow.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Windows:
ice -> unistd
fs -> winsock2.h(180): error C2011: 'timeval': 'struct' type redefinition
xcb-error -> OSError: [Errno 22] Invalid argument: 'D:/installed/x64-windows/debug/../share/xcb-proto/xcb/*.xml'
xcwm -> src/libxcwm/event_loop.c(48): error C2074: '_event_thread': 'struct' initialization requires a brace-enclosed initializer list
xpm -> D:\buildtrees\xpm\src\d5575c554d-7758f31930.clean\src\XpmI.h(328): fatal error C1083: Cannot open include file: 'strings.h': No such file or directory
xrandrutils -> D:\buildtrees\xrandrutils\src\5de815dc7c-c34f2cdac4.clean\examples\xrandr.c(35): fatal error C1083: Cannot open include file: 'strings.h': No such file or directory
xres -> .././../src/f4fe226948-60b8ee4612.clean/src/XRes.c(348): error C2061: syntax error: identifier 'XResGetClientPid'
xxf86vm -> libtool: error: can't build x86_64-pc-mingw32 shared library unless -no-undefined is specified
6 changes: 6 additions & 0 deletions ports/applewm/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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
Supports: osx
25 changes: 25 additions & 0 deletions ports/applewm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
)

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

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
)

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)

5 changes: 5 additions & 0 deletions ports/dbus/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: dbus
Version: 1.13.10-1
Homepage: https://gitlab.freedesktop.org/dbus/dbus
Description: D-Bus specification and reference implementation, including libdbus and dbus-daemon
Build-Depends: x11, expat, glib
15 changes: 15 additions & 0 deletions ports/dbus/cmake.dep.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 8cde1ffe0..d4d09f223 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -91,7 +91,9 @@ endif()
add_executable(dbus-launch ${dbus_launch_SOURCES})
target_link_libraries(dbus-launch ${DBUS_LIBRARIES})
if(DBUS_BUILD_X11)
- target_link_libraries(dbus-launch ${X11_LIBRARIES} )
+ find_package(Threads REQUIRED)
+ target_link_libraries(dbus-launch ${X11_LIBRARIES} xcb ${X11_Xau_LIB} ${X11_Xdmcp_LIB} Threads::Threads)
+ target_include_directories(dbus-launch PRIVATE ${X11_INCLUDE_DIR})
endif()
install(TARGETS dbus-launch ${INSTALL_TARGETS_DEFAULT_ARGS})

51 changes: 51 additions & 0 deletions ports/dbus/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
set(PORT_DEBUG ON)
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/
OUT_SOURCE_PATH SOURCE_PATH
REPO dbus/dbus
REF 99f0821bfbff1f23d19b8f316f2c559744b28e51 #1.13.10
SHA512 abbe1290eb93a23f113a8e878d077a5b2d1b4b89750e53b71ce389cee9931155d6bb858d3757f74505b6f6b3f2cea6654c3bb2dd0ebe3415277d05eaa296d4a8
HEAD_REF master # branch name
PATCHES cmake.dep.patch #patch name
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DDBUS_BUILD_TESTS=OFF
-DDBUS_ENABLE_XML_DOCS=OFF
-DDBUS_INSTALL_SYSTEM_LIBS=ON
-DXSLTPROC_EXECUTABLE=FALSE
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/DBus1")
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)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/var/"
"${CURRENT_PACKAGES_DIR}/var"
"${CURRENT_PACKAGES_DIR}/share/dbus-1/services"
"${CURRENT_PACKAGES_DIR}/share/dbus-1/session.d"
"${CURRENT_PACKAGES_DIR}/share/dbus-1/system-services"
"${CURRENT_PACKAGES_DIR}/share/dbus-1/system.d")

file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
set(TOOLS cleanup-sockets daemon launch monitor run-session send test-tool update-activation-environment uuidgen)
foreach(_tool ${TOOLS})
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/dbus-${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/dbus-${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/dbus-${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
endif()
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/dbus-${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/dbus-${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
endif()
endforeach()
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
6 changes: 6 additions & 0 deletions ports/dmx/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: dmx
Version: 1.1.4
Homepage: https://gitlab.freedesktop.org/xorg/lib/libdmx
Description: X Window System DMX (Distributed Multihead X) extension library
Build-Depends: xorg-macros, xproto, xext

25 changes: 25 additions & 0 deletions ports/dmx/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO lib/libdmx
REF 6056db9a2fa8ad1ea55f8b8e2cbf5972408d612f #1.1.4
SHA512 f7b0a3fb26bc68e5dd27a0afa98ed29fed31956fd07f89b57171d7f9d9a0a87185876551dbf312b8d90a66fa50de06992cf9eb386fa98dd8133946de3c37e274
HEAD_REF master # branch name
)
set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
)

vcpkg_install_make()
vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES pthread)

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

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

5 changes: 5 additions & 0 deletions ports/drm/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: drm
Version: 2.4.101
Homepage: https://gitlab.freedesktop.org/mesa/drm
Description: Direct Rendering Manager library and headers
Build-Depends: pciaccess, tool-meson
23 changes: 23 additions & 0 deletions ports/drm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org
OUT_SOURCE_PATH SOURCE_PATH
REPO mesa/drm
REF 27fa47a738b15464528a1c44d8cb0b2ab31d3cf7 #v2.4.101
SHA512 897b40c5b3752a1bf4a1c82eb820698821d780eec22fff10d3267009aab527ff6ac4db019e99e67d4a474d18bd241fd5e8bdff2dfe0a59f666a4c2896a7cb7c4
HEAD_REF master # branch name
)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
)
vcpkg_install_meson()
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) No license in source?
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/")
file(TOUCH "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") #already installed by xproto
6 changes: 6 additions & 0 deletions ports/font-util/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: font-util
Version: 1.3.2
Homepage: https://gitlab.freedesktop.org/xorg/font/util
Description: X.Org font package creation/installation utilities
Build-Depends: xorg-macros

33 changes: 33 additions & 0 deletions ports/font-util/build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
diff --git a/bdftruncate.c b/bdftruncate.c
index 2b317c0b0..3ab84978f 100644
--- a/bdftruncate.c
+++ b/bdftruncate.c
@@ -40,7 +40,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
+#if defined(_MSC_VER)
+# if defined(_M_X64)
+# define SSIZE_MAX 9223372036854775807
+# else
+# define SSIZE_MAX 2147483647
+# endif
+#endif
#if (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)) \
|| (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define ATTR_NORETURN __attribute((noreturn))
diff --git a/ucs2any.c b/ucs2any.c
index 1f575d14f..75b662b3d 100644
--- a/ucs2any.c
+++ b/ucs2any.c
@@ -49,7 +49,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif

/* global variable for argv[0] */
static const char *my_name = NULL;
68 changes: 68 additions & 0 deletions ports/font-util/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)

vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO font/util
REF d45011b8324fecebb4fc79e57491d341dd96e325 #1.3.2
SHA512 d783cbb5b8b0975891a247f98b78c2afadfd33e1d26ee8bcf7ab7ccc11615b0150d07345c719182b0929afc3c54dc3288a01a789b5374e18aff883ac23d15b04
HEAD_REF master # branch name
PATCHES build.patch #patch name
)
#file(TOUCH ${SOURCE_PATH}/m4/dummy)
set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")

if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND VCPKG_C_FLAGS /DNEED_BASENAME)
list(APPEND VCPKG_CXX_FLAGS /DNEED_BASENAME)
endif()

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
#SKIP_CONFIGURE
#NO_DEBUG
#AUTO_HOST
#AUTO_DST
#PRERUN_SHELL ${SHELL_PATH}
#OPTIONS
#OPTIONS_DEBUG
#OPTIONS_RELEASE
)

vcpkg_install_make()
vcpkg_fixup_pkgconfig()

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

file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/xorg/")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/aclocal/" "${CURRENT_PACKAGES_DIR}/share/xorg/aclocal")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/fonts/" "${CURRENT_PACKAGES_DIR}/share/xorg/fonts")
#file(RENAME "${CURRENT_PACKAGES_DIR}/share/font-util/" "${CURRENT_PACKAGES_DIR}/share/xorg/font-util")
#file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/man")
#file(RENAME "${CURRENT_PACKAGES_DIR}/share/man/" "${CURRENT_PACKAGES_DIR}/share/${PORT}/man")

#file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/")
#file(RENAME "${CURRENT_PACKAGES_DIR}/bin/" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/")
#file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/debug")

set(_file "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/fontutil.pc")
file(READ "${_file}" _contents)
string(REPLACE "datarootdir=\${prefix}/share/${PORT}" "datarootdir=\${prefix}/share/xorg" _contents "${_contents}")
string(REPLACE "exec_prefix=\${prefix}" "exec_prefix=\${prefix}/tools/${PORT}" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")

set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/fontutil.pc")
file(READ "${_file}" _contents)
string(REPLACE "datarootdir=\${prefix}/share/${PORT}" "datarootdir=\${prefix}/../share/xorg" _contents "${_contents}")
string(REPLACE "exec_prefix=\${prefix}" "exec_prefix=\${prefix}/../tools/${PORT}" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")

# # Handle copyright
#file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/")
#file(TOUCH "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") #already installed by xproto
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
#file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/font-util)
#file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
6 changes: 6 additions & 0 deletions ports/fontenc/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: fontenc
Version: 1.1.4
Homepage: https://gitlab.freedesktop.org/xorg/lib/libfontenc
Description: X font encoding library
Build-Depends: xorg-macros, zlib, xproto, font-util

38 changes: 38 additions & 0 deletions ports/fontenc/build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
diff --git a/src/encparse.c b/src/encparse.c
index 548110ede..61952b9ce 100644
--- a/src/encparse.c
+++ b/src/encparse.c
@@ -28,12 +28,16 @@ THE SOFTWARE.
to be pure ASCII. Bloody ``Code Set Independence''. */

#include <string.h>
+#ifndef _MSC_VER
#include <strings.h>
+#else
+#define strcasecmp _stricmp
+#endif
#include <stdio.h>

#include <stdlib.h>

-#include "zlib.h"
+#include <zlib.h>
typedef gzFile FontFilePtr;

#define FontFileGetc(f) gzgetc(f)
diff --git a/src/fontenc.c b/src/fontenc.c
index c4ccd5eb0..e87d1089d 100644
--- a/src/fontenc.c
+++ b/src/fontenc.c
@@ -23,7 +23,11 @@ THE SOFTWARE.
/* Backend-independent encoding code */

#include <string.h>
+#ifndef _MSC_VER
#include <strings.h>
+#else
+#define strcasecmp _stricmp
+#endif
#include <stdlib.h>

#define FALSE 0
13 changes: 13 additions & 0 deletions ports/fontenc/configure.ac.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index cadc653a0..aa645af81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ XORG_FONTSUBDIR([ENCODINGSDIR], [encodingsdir], [encodings])
# zlib
AC_CHECK_HEADER([zlib.h], [],
AC_MSG_FAILURE([zlib.h is required to compile libfontenc]))
-AC_CHECK_LIB(z, gzclose, [],
+AC_SEARCH_LIBS(gzclose, [z zlib zlibd], [],
AC_MSG_FAILURE([zlib is required to compile libfontenc]))

# Obtain compiler/linker options for depedencies
27 changes: 27 additions & 0 deletions ports/fontenc/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO lib/libfontenc
REF 2baea13978759d1a011fc6d739465893b554d30a #1.1.4
SHA512 5ebef8b516a2377b004894b53d56ad960bc5179d9f9a36e18bc2228ea04e8f87e9baffd4883c21783dd1f4c57d7f521cdfa42c1e9facae60c6fc2c9f5472230e
HEAD_REF master # branch name
PATCHES configure.ac.patch
build.patch #patch name
)
set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
)

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(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/")
file(TOUCH "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") #already installed by xproto

6 changes: 6 additions & 0 deletions ports/fs/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: fs
Version: 1.0.8
Homepage: https://gitlab.freedesktop.org/xorg/lib/libfs
Description: X Font Service client library
Build-Depends: xorg-macros, bzip2, xproto, xtrans
Supports: !windows
Loading