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* libraries] new ports #21584

Closed
wants to merge 307 commits into from
Closed
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
21d2fc1
[xres] add port
Neumann-A Nov 22, 2021
24cf820
[xrandr] add port
Neumann-A Nov 22, 2021
c103490
[wayland-protocols] add port to get hash
Neumann-A Nov 22, 2021
0342227
[xpresent] add port
Neumann-A Nov 22, 2021
c4b9ed6
[xscrensaver] add port
Neumann-A Nov 22, 2021
a0cbaf8
[xcursor] add port
Neumann-A Nov 22, 2021
90ea916
[xbitmaps] add port
Neumann-A Nov 22, 2021
50987e0
[pciaccess] add port
Neumann-A Nov 22, 2021
689e52d
[xbitmaps] add if
Neumann-A Nov 22, 2021
339e01b
[drm] add port for hash
Neumann-A Nov 22, 2021
8656618
[ice] add missing patch
Neumann-A Nov 22, 2021
4e9e8a6
[xxf86dga] add port
Neumann-A Nov 22, 2021
87d1663
add xlib:arm64 to the ci baseline
Neumann-A Nov 22, 2021
b64346b
[xshmfence] add port
Neumann-A Nov 22, 2021
105ce6c
xt add comments and options
Neumann-A Nov 22, 2021
4a9b896
add xt to ci baseline because cl does not know asm()
Neumann-A Nov 22, 2021
6bbf902
add missing ,
Neumann-A Nov 22, 2021
0700de1
[skip actions] drm fix hash
Neumann-A Nov 22, 2021
a2f295e
version-string cleanup
Neumann-A Nov 22, 2021
00a7bee
Merge branch 'x_window_system' of https://github.com/Neumann-A/vcpkg …
Neumann-A Nov 22, 2021
5aa20bd
[xt] add patch. still needs x64 windows asm fix.
Neumann-A Nov 22, 2021
c2ca7e3
wayland disable tests
Neumann-A Nov 22, 2021
47b0d89
wayland fix tests option
Neumann-A Nov 22, 2021
4e1327c
add tests option to patch
Neumann-A Nov 22, 2021
4604465
hash wayland protocols und fix version
Neumann-A Nov 22, 2021
e4fcec9
[dmx] add port
Neumann-A Nov 22, 2021
ac4404d
remove pc files at wrong location
Neumann-A Nov 22, 2021
71cf951
[fs] add port
Neumann-A Nov 22, 2021
3f11337
[xcvt] add new port
Neumann-A Nov 22, 2021
72db14a
[xp] add port
Neumann-A Nov 22, 2021
c0c7d30
dix xcb deps and python version
Neumann-A Nov 22, 2021
a05a5e4
add error for logs
Neumann-A Nov 22, 2021
00c6f28
add xt:x86 to baseline
Neumann-A Nov 22, 2021
ecc6c03
fix typo
Neumann-A Nov 22, 2021
2cb3965
adjust python for xcb-proto
Neumann-A Nov 22, 2021
d13ee13
add !osx to pciaccess
Neumann-A Nov 22, 2021
6c931cf
!osx for wayland
Neumann-A Nov 22, 2021
883a2af
fix xcb hopefully by defining pythondir variables
Neumann-A Nov 22, 2021
c0028b9
wayland fix supports logic
Neumann-A Nov 22, 2021
c6b44c7
fix supports logic
Neumann-A Nov 22, 2021
74f253e
fix xcvt dependency in xserver
Neumann-A Nov 22, 2021
84919e7
add LC_ALL to fix build on osx?
Neumann-A Nov 22, 2021
039f923
retry by directly setting the environment
Neumann-A Nov 22, 2021
6dc4278
fix xcb-image on osx.
Neumann-A Nov 22, 2021
ec8535e
add missing dependency.
Neumann-A Nov 22, 2021
ce50160
remove xcvt patch. dep was just missing
Neumann-A Nov 22, 2021
4bad5de
add dbus to ci baseline
Neumann-A Nov 22, 2021
cd8b052
install lxml via pip
Neumann-A Nov 22, 2021
06cef1f
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Nov 22, 2021
50f6706
try to install lxml
Neumann-A Nov 23, 2021
82b3448
reorder pip command
Neumann-A Nov 23, 2021
446c73e
add opengl registry as a dependency.
Neumann-A Nov 23, 2021
d3afb34
install opengl specs into one folder. Create pc file.
Neumann-A Nov 23, 2021
1b4f5c2
remove xwin from the default features on !windows. Requires windres
Neumann-A Nov 24, 2021
2a9a8c2
get more info from vcpkg_configure_meson
Neumann-A Nov 25, 2021
cf19dea
fix dbus pc file
Neumann-A Nov 25, 2021
754743c
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Nov 30, 2021
855fb41
fix dbus directories
Neumann-A Dec 1, 2021
620a2b8
fix xkbbcommon picking up getopt
Neumann-A Dec 1, 2021
0152481
fix if block in all added ports
Neumann-A Dec 1, 2021
3a50d7a
force x libraries on linux for testing.
Neumann-A Dec 1, 2021
d893ec3
add missing ()
Neumann-A Dec 1, 2021
1b5379a
remove last testing var from ports
Neumann-A Dec 1, 2021
fc1f2f7
more wrong if cases
Neumann-A Dec 1, 2021
f6bbb2f
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Dec 6, 2021
3002b61
fix gstreamer on windows auto detecting x11
Neumann-A Dec 6, 2021
d0f1e04
fix kf5globablaccel.
Neumann-A Dec 6, 2021
bff6e5a
only apply patches on windows
Neumann-A Dec 6, 2021
c67caa2
add xau to pkgconfig file
Neumann-A Dec 6, 2021
cb22d3a
add xdmcp to requires of xcb
Neumann-A Dec 6, 2021
5d3d03f
fix issues
Neumann-A Dec 6, 2021
abc29fe
deactivate XCB_XCB
Neumann-A Dec 6, 2021
c5c4e42
fix linkage
Neumann-A Dec 6, 2021
2a61de7
fix typo
Neumann-A Dec 6, 2021
2230b8e
remote trace output and unused variable
Neumann-A Dec 6, 2021
9b20de2
a bit of linux debugging
Neumann-A Dec 7, 2021
8460ea3
add xcb to x11
Neumann-A Dec 7, 2021
58977ae
remove keyboard config from xserver
Neumann-A Dec 7, 2021
9fd9ed0
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Dec 7, 2021
afe7130
remove testing stuff
Neumann-A Dec 7, 2021
bac2d00
fix cmake depenendcies for testing
Neumann-A Dec 8, 2021
0899a36
put xserver on ci baseline for everything except windows
Neumann-A Dec 8, 2021
27098da
format manifest
Neumann-A Dec 8, 2021
5bafc72
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Dec 8, 2021
01d542f
version stuff
Neumann-A Dec 8, 2021
a6fd8e4
fix baseline
Neumann-A Dec 8, 2021
c4d06f2
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Dec 9, 2021
2e84386
Merge branch 'x_window_system' of https://github.com/Neumann-A/vcpkg …
Neumann-A Dec 9, 2021
c9b30bf
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Dec 10, 2021
e12a53f
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Jan 6, 2022
7be9ce1
baseline stuff
Neumann-A Jan 6, 2022
85d2247
Apply suggestions from code review
Neumann-A Jan 8, 2022
12b9f98
Update ports/dbus/portfile.cmake
Neumann-A Jan 8, 2022
47f8cac
Update ports/dbus/portfile.cmake
Neumann-A Jan 8, 2022
2d75204
remove unnecessary patching
Neumann-A Jan 8, 2022
81589a0
fix xkbcomp config root
Neumann-A Jan 8, 2022
18ccb43
note about xserver usage (not doing the copy since this is a test port)
Neumann-A Jan 8, 2022
70ab4d5
version stuff
Neumann-A Jan 8, 2022
ab9f6a9
add "
Neumann-A Jan 8, 2022
0304578
version stuff
Neumann-A Jan 8, 2022
68d7f5c
remove unnecessary patch
Neumann-A Jan 10, 2022
1b60e6e
[skip actions] version stuff
Neumann-A Jan 10, 2022
547ac00
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Jun 27, 2022
f870a09
v db
Neumann-A Jun 27, 2022
85bf29f
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Aug 22, 2022
dae2a83
remove renamed ports
Neumann-A Aug 22, 2022
abf514e
rename deps
Neumann-A Aug 22, 2022
90c3fdd
fixes
Neumann-A Aug 22, 2022
e2a8372
fix stuff due to port renaming
Neumann-A Aug 22, 2022
3e7e210
revert xtrans changes
Neumann-A Aug 23, 2022
e7cb470
Merge branch 'x_window_system' of https://github.com/Neumann-A/vcpkg …
Neumann-A Aug 23, 2022
cfc577c
store stuff for merge
Neumann-A Aug 28, 2022
ed061d0
stuff for merge
Neumann-A Aug 28, 2022
2736e5b
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Aug 28, 2022
9108d9f
xext removal
Neumann-A Aug 28, 2022
3e4d5ff
[font-util] add port
Neumann-A Aug 28, 2022
e34dcb3
[libfontenc] add port
Neumann-A Aug 28, 2022
10b28ce
[libfs] add port
Neumann-A Aug 28, 2022
f4617bd
format manifest
Neumann-A Aug 28, 2022
a9548db
remove -string
Neumann-A Aug 28, 2022
2f1aecd
v db
Neumann-A Aug 28, 2022
8acbc71
Merge remote-tracking branch 'upstream/master' into xwindows_part_4
Neumann-A Sep 1, 2022
8fb053c
Update ports/font-util/build.patch
Neumann-A Sep 1, 2022
b486828
Merge branch 'xwindows_part_4' of https://github.com/Neumann-A/vcpkg …
Neumann-A Sep 1, 2022
0a90979
v db
Neumann-A Sep 1, 2022
298c94c
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Sep 1, 2022
5ae2684
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Sep 5, 2022
6808f84
merge stuff
Neumann-A Sep 5, 2022
7765fba
mnerge
Neumann-A Sep 5, 2022
3e9359d
[libice] add new port
Neumann-A Sep 5, 2022
1b402b8
[libsm] add new port
Neumann-A Sep 5, 2022
104ce85
add license
Neumann-A Sep 5, 2022
29d7b8e
v db
Neumann-A Sep 5, 2022
00d44fd
remove outdated patches
Neumann-A Sep 5, 2022
3a5819b
Merge remote-tracking branch 'origin/xwindows_part_4' into x_window_s…
Neumann-A Sep 5, 2022
80821e1
Merge remote-tracking branch 'origin/xwindow-part-5' into x_window_sy…
Neumann-A Sep 5, 2022
e890f2d
merge other prs
Neumann-A Sep 5, 2022
af93d92
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Sep 17, 2022
aa4df5f
remove xkbcommon
Neumann-A Sep 17, 2022
7286ea9
libxkbcommon
Neumann-A Sep 17, 2022
5709a46
fix dep
Neumann-A Sep 17, 2022
bb39183
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Oct 13, 2022
3fad95b
remove xres
Neumann-A Oct 13, 2022
efa1b90
remove added libs
Neumann-A Oct 13, 2022
4433680
more removal
Neumann-A Oct 13, 2022
9dc2472
remove some json files
Neumann-A Oct 13, 2022
776fe78
more removals
Neumann-A Oct 13, 2022
e64ff45
xt stuff
Neumann-A Oct 15, 2022
6e9f003
rename stuff
Neumann-A Oct 15, 2022
d32b21a
fix dep in xkbcomp
Neumann-A Oct 15, 2022
11166c5
more name fixes
Neumann-A Oct 15, 2022
45d3ca2
more fixes
Neumann-A Oct 15, 2022
23390ba
fixed to much
Neumann-A Oct 15, 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
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
3d2fd4f
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Oct 24, 2022
a05ba9c
[libice] replace macros with typedefs
Neumann-A Oct 24, 2022
3e70ad8
[libx11] fix dl linkage on linux and cleanup the cmake wrapper.
Neumann-A Oct 24, 2022
80bfa2b
[libxxf86vm] add port
Neumann-A Oct 24, 2022
fb41692
[libxtst] add port
Neumann-A Oct 24, 2022
385e2dd
[libxt] add port
Neumann-A Oct 24, 2022
248b69d
[libxmu] add port
Neumann-A Oct 24, 2022
5f991b6
[libxaw] add port
Neumann-A Oct 24, 2022
8bafb04
bump port version
Neumann-A Oct 24, 2022
a478f45
v db
Neumann-A Oct 24, 2022
fb303f1
fix libxpm and maybe cross libxt
Neumann-A Oct 25, 2022
571918c
malloc returns null for cross builds
Neumann-A Oct 25, 2022
b40609d
fix typo
Neumann-A Oct 25, 2022
9148fc9
fix stuff
Neumann-A Oct 25, 2022
a0d399d
v db
Neumann-A Oct 25, 2022
5ef2145
fix stuff ?
Neumann-A Oct 25, 2022
0ba69f1
Merge remote-tracking branch 'upstream/master' into x_windows_part11
Neumann-A Oct 26, 2022
f7adf91
WIP commit
Neumann-A Oct 26, 2022
5e1b269
libxt cross fix
Neumann-A Oct 26, 2022
b29e116
add todo
Neumann-A Oct 26, 2022
f187eaa
fix libxaw
Neumann-A Oct 26, 2022
36638a4
xcb add some fixes.
Neumann-A Oct 26, 2022
c89ca0a
fix todos
Neumann-A Oct 26, 2022
3aa075f
fix arm ?
Neumann-A Oct 26, 2022
9c92daf
fix path
Neumann-A Oct 26, 2022
00cda07
bump some versions
Neumann-A Oct 26, 2022
8ed7d3d
shorten comment
Neumann-A Oct 26, 2022
6ef4f07
format manifest
Neumann-A Oct 26, 2022
1abcd9b
v db
Neumann-A Oct 26, 2022
2450740
fix stuff
Neumann-A Oct 27, 2022
9a16e9d
ci baseline
Neumann-A Oct 27, 2022
4e55152
v db
Neumann-A Oct 27, 2022
cb238ab
adjust libx11 wrapper again
Neumann-A Oct 27, 2022
884fce9
v db
Neumann-A Oct 27, 2022
004aec5
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Oct 27, 2022
c12e960
remove xinerama
Neumann-A Oct 27, 2022
e473bd6
remove xcomposite
Neumann-A Oct 27, 2022
64705eb
remove xcb-wm
Neumann-A Oct 27, 2022
dbb76eb
remove stuff
Neumann-A Oct 27, 2022
5d9158e
remove json files
Neumann-A Oct 27, 2022
42fbc01
more files to remove
Neumann-A Oct 27, 2022
7539cd3
remove xcursor
Neumann-A Oct 27, 2022
99f9eb0
add libinput portfile
Neumann-A Oct 27, 2022
04fb188
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Oct 27, 2022
d7b7e7b
Merge branch 'x_window_system' of https://github.com/Neumann-A/vcpkg …
Neumann-A Oct 27, 2022
988b79f
remove xpresent
Neumann-A Oct 27, 2022
f17ab4c
remove xv
Neumann-A Oct 27, 2022
18fad30
[libdmx] add new port
Neumann-A Oct 27, 2022
6b2be90
[libxcvt] add port
Neumann-A Oct 27, 2022
c1fb4c2
[xbitmaps] add port
Neumann-A Oct 27, 2022
9f20038
format manifest
Neumann-A Oct 27, 2022
a74199e
use version
Neumann-A Oct 27, 2022
aff9433
v db
Neumann-A Oct 27, 2022
815e916
add license
Neumann-A Oct 28, 2022
aa9c116
remove doubled entry from v db
Neumann-A Oct 28, 2022
ef6a369
v db
Neumann-A Oct 28, 2022
3bd1e02
add cross fixes and fix issue due to missing xorg macros on osx
Neumann-A Oct 28, 2022
b0289a7
v db
Neumann-A Oct 28, 2022
99fce23
license
Neumann-A Oct 28, 2022
4a687f9
v db
Neumann-A Oct 28, 2022
ceb3668
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Oct 29, 2022
d6a22fe
Merge remote-tracking branch 'origin/xwindow-part-6' into x_window_sy…
Neumann-A Oct 29, 2022
00cd9ab
Merge remote-tracking branch 'origin/x_windows_part11' into x_window_…
Neumann-A Oct 29, 2022
beafb39
Merge remote-tracking branch 'origin/x_windows_part12' into x_window_…
Neumann-A Oct 29, 2022
a9c71dc
libxmu update port
Neumann-A Oct 29, 2022
e07025e
libxt move to latest commit + patches
Neumann-A Oct 29, 2022
844b73d
add xeyes
Neumann-A Oct 29, 2022
91b2f2c
remove xmu
Neumann-A Oct 29, 2022
1b83ce2
add xserver
Neumann-A Oct 29, 2022
5d12bad
update xkeyboard
Neumann-A Oct 29, 2022
864d621
update sha?
Neumann-A Oct 29, 2022
31de44c
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Nov 12, 2022
c2c1328
add declspec
Neumann-A Nov 12, 2022
ac5a7f5
remove stuff.
Neumann-A Nov 14, 2022
91d9be9
Merge remote-tracking branch 'upstream/master' into x_window_system
Neumann-A Nov 16, 2022
6ea4813
readd dep lost in merge
Neumann-A Nov 16, 2022
9b185f1
remove patch
Neumann-A Nov 16, 2022
b488e27
Merge branch 'microsoft:master' into x_window_system
Neumann-A Dec 2, 2022
6602e88
Merge branch 'x_window_system' of https://github.com/Neumann-A/vcpkg …
Neumann-A Dec 3, 2022
331d41d
fix xmu dep
Neumann-A Dec 3, 2022
db287d2
fix drm dep
Neumann-A Dec 3, 2022
e041dcc
fix xshmfence dep
Neumann-A Dec 3, 2022
582df2b
fix pciaccess dep
Neumann-A Dec 3, 2022
b3925b6
remove libxxf86dga dep
Neumann-A Dec 3, 2022
97686f5
Merge branch 'microsoft:master' into x_window_system
Neumann-A Feb 6, 2023
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
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 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/
OUT_SOURCE_PATH SOURCE_PATH
REPO dbus/dbus
REF c91ca6edad658274607323a438eea7c7c6c5e392 #1.13.18
SHA512 4dd4d369152591040ebe9f474a0ba8911d8a91546d64b1d6f7335b7fd8026bd99a8a4fe1c78b80eb2e31e9e58324d432857e2a7af1d1cb950d22b4430cc0f7ac
HEAD_REF master # branch name
PATCHES cmake.dep.patch #patch name
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
Neumann-A marked this conversation as resolved.
Show resolved Hide resolved
OPTIONS
-DDBUS_BUILD_TESTS=OFF
-DDBUS_ENABLE_XML_DOCS=OFF
-DDBUS_INSTALL_SYSTEM_LIBS=ON
-DDBUS_WITH_GLIB=ON
LilyWangLL marked this conversation as resolved.
Show resolved Hide resolved
-DXSLTPROC_EXECUTABLE=FALSE
)
vcpkg_cmake_install()
Neumann-A marked this conversation as resolved.
Show resolved Hide resolved
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/DBus1")
JackBoosY marked this conversation as resolved.
Show resolved Hide resolved
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 daemon launch monitor run-session send test-tool update-activation-environment)
if(NOT VCPKG_TARGET_IS_WINDOWS)
list(APPEND TOOLS cleanup-sockets uuidgen)
else()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/dbus-env.bat" "${CURRENT_PACKAGES_DIR}" "%~dp0/..")
endif()
list(TRANSFORM TOOLS PREPEND "dbus-" )
vcpkg_copy_tools(TOOL_NAMES ${TOOLS} AUTO_CLEAN)


if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
19 changes: 19 additions & 0 deletions ports/dbus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "dbus",
"version-semver": "1.13.18",
"description": "D-Bus specification and reference implementation, including libdbus and dbus-daemon",
"homepage": "https://gitlab.freedesktop.org/dbus/dbus",
"dependencies": [
"expat",
"glib",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"x11"
]
}
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;
55 changes: 55 additions & 0 deletions ports/font-util/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)

if(NOT X_VCPKG_FORCE_VCPKG_X_LIBRARIES AND NOT VCPKG_TARGET_IS_WINDOWS)
message(STATUS "Utils and libraries provided by '${PORT}' should be provided by your system! Install the required packages or force vcpkg libraries by setting X_VCPKG_FORCE_VCPKG_X_LIBRARIES")
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
endif()

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
)

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
)

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(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(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
9 changes: 9 additions & 0 deletions ports/font-util/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "font-util",
"version-string": "1.3.2",
Neumann-A marked this conversation as resolved.
Show resolved Hide resolved
"description": "X.Org font package creation/installation utilities",
"homepage": "https://gitlab.freedesktop.org/xorg/font/util",
"dependencies": [
"xorg-macros"
]
}
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
32 changes: 32 additions & 0 deletions ports/fontenc/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
if(NOT X_VCPKG_FORCE_VCPKG_X_LIBRARIES AND NOT VCPKG_TARGET_IS_WINDOWS)
message(STATUS "Utils and libraries provided by '${PORT}' should be provided by your system! Install the required packages or force vcpkg libraries by setting X_VCPKG_FORCE_VCPKG_X_LIBRARIES")
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
endif()

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

12 changes: 12 additions & 0 deletions ports/fontenc/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "fontenc",
"version-string": "1.1.4",
Neumann-A marked this conversation as resolved.
Show resolved Hide resolved
"description": "X font encoding library",
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libfontenc",
"dependencies": [
"font-util",
"xorg-macros",
"xproto",
"zlib"
]
}
30 changes: 30 additions & 0 deletions ports/ice/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
if(NOT X_VCPKG_FORCE_VCPKG_X_LIBRARIES AND NOT VCPKG_TARGET_IS_WINDOWS)
message(STATUS "Utils and libraries provided by '${PORT}' should be provided by your system! Install the required packages or force vcpkg libraries by setting X_VCPKG_FORCE_VCPKG_X_LIBRARIES")
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
endif()

vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO lib/libice
REF 8e6a14c63d6b73cde87cb331439f2a4d19cba5b9 # 1.0.10
SHA512 ad79cfbc3b1d51fb1f019bc088999ac8a64062a71667dbb4ffb62fe6d1b7dba7665944f64be6dcd27de08cc77e91512de97231db1e4ac018088727e90113d040
HEAD_REF master # branch name
PATCHES fix_build.patch
)

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)
13 changes: 13 additions & 0 deletions ports/ice/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "ice",
"version-string": "1.0.10",
Neumann-A marked this conversation as resolved.
Show resolved Hide resolved
"description": "Inter-Client Exchange Library",
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libice",
"dependencies": [
"bzip2",
"xlib",
"xorg-macros",
"xproto",
"xtrans"
]
}
30 changes: 30 additions & 0 deletions ports/pciaccess/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org/xorg
OUT_SOURCE_PATH SOURCE_PATH
REPO lib/libpciaccess
REF fbd1f0fe79ba25b72635f8e36a6c33d7e0ca19f6 #0.16
SHA512 e148e513453e4d6c131287d69910fa14b66557039acdfe3c59ec8de280841a62b9c727203331ebc2e9f0f1797dccbe22ca99aeecae78314448ef3cca017bc883
HEAD_REF master # branch name
)
#file(TOUCH ${SOURCE_PATH}/m4/dummy)
set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")

vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
OPTIONS_DEBUG
--with-zlib=${CURRENT_INSTALLED_DIR}
OPTIONS_RELEASE
--with-zlib=${CURRENT_INSTALLED_DIR}/debug
)

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

11 changes: 11 additions & 0 deletions ports/pciaccess/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "pciaccess",
"version-string": "0.16",
"description": "Generic PCI access library",
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libpciaccess",
"supports": "!windows",
"dependencies": [
"xorg-macros",
"zlib"
]
}
Loading