From 92041b873af1fb0b563ac055fdce5a502fc46854 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 20:18:26 +0200 Subject: [PATCH 01/11] [libxdamage] add port --- ports/libxdamage/portfile.cmake | 30 ++++++++++++++++++++++++++++++ ports/libxdamage/vcpkg.json | 14 ++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 ports/libxdamage/portfile.cmake create mode 100644 ports/libxdamage/vcpkg.json diff --git a/ports/libxdamage/portfile.cmake b/ports/libxdamage/portfile.cmake new file mode 100644 index 00000000000000..44ed2a42e19e92 --- /dev/null +++ b/ports/libxdamage/portfile.cmake @@ -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 in your triplet!") + set(VCPKG_POLICY_EMPTY_PACKAGE enabled) +else() + +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.freedesktop.org/xorg + OUT_SOURCE_PATH SOURCE_PATH + REPO lib/libxdamage + REF 977b04cd69738806e0b48fcf5c725763d065f06d # 1.1.5 + SHA512 79c3a4c63f6c50c39d324183b98ad7e70235aed1c8385acf2f593739c71e7929119448be3e15dffd276b32e4fbb056508deeb35f450f74b85c101047f68d4339 + 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) +endif() diff --git a/ports/libxdamage/vcpkg.json b/ports/libxdamage/vcpkg.json new file mode 100644 index 00000000000000..dc86f1ee794536 --- /dev/null +++ b/ports/libxdamage/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "libxdamage", + "version": "1.1.5", + "description": "X Damage Extension library", + "homepage": "https://gitlab.freedesktop.org/xorg/lib/libxdamage", + "license": null, + "dependencies": [ + "bzip2", + "libx11", + "libxfixes", + "xorg-macros", + "xproto" + ] +} From 2fc55b8eb58ddb37ffaa4474b4510722140f8fbe Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 20:18:37 +0200 Subject: [PATCH 02/11] [libxext] add port --- ports/libxext/portfile.cmake | 31 +++++++++++++++++++++++++++++++ ports/libxext/vcpkg.json | 12 ++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 ports/libxext/portfile.cmake create mode 100644 ports/libxext/vcpkg.json diff --git a/ports/libxext/portfile.cmake b/ports/libxext/portfile.cmake new file mode 100644 index 00000000000000..a116f6fd0de816 --- /dev/null +++ b/ports/libxext/portfile.cmake @@ -0,0 +1,31 @@ +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 in your triplet") + set(VCPKG_POLICY_EMPTY_PACKAGE enabled) +else() + +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.freedesktop.org/xorg + OUT_SOURCE_PATH SOURCE_PATH + REPO lib/libxext + REF ebb167f34a3514783966775fb12573c4ed209625 # 1.3.4 + SHA512 509cb67ad9dba37adbcc49dca6e9803b318f62e8e2b981ccf73ce328a8104e94615312c5914b480ba04e28d208cd93d8a71b3e6e2ef1a4e5615aa2a3f9ba19e7 + HEAD_REF master +) + +set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"") + +vcpkg_configure_make( + SOURCE_PATH "${SOURCE_PATH}" + AUTOCONFIG + OPTIONS xorg_cv_malloc0_returns_null=yes +) + +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) +endif() diff --git a/ports/libxext/vcpkg.json b/ports/libxext/vcpkg.json new file mode 100644 index 00000000000000..ed49330c742ad8 --- /dev/null +++ b/ports/libxext/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "libxext", + "version": "1.3.4", + "description": "Xlib-based library for common extensions to the X11 protocol", + "homepage": "https://gitlab.freedesktop.org/xorg/lib/libxext", + "license": null, + "dependencies": [ + "libx11", + "xorg-macros", + "xproto" + ] +} From 0f26e0261c3fe2d18daae66393e68060f3d5b3d0 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 20:19:00 +0200 Subject: [PATCH 03/11] [libxfixes] add port --- ports/libxfixes/portfile.cmake | 29 +++++++++++++++++++++++++++++ ports/libxfixes/vcpkg.json | 12 ++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 ports/libxfixes/portfile.cmake create mode 100644 ports/libxfixes/vcpkg.json diff --git a/ports/libxfixes/portfile.cmake b/ports/libxfixes/portfile.cmake new file mode 100644 index 00000000000000..0441be999c4099 --- /dev/null +++ b/ports/libxfixes/portfile.cmake @@ -0,0 +1,29 @@ +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 in your triplet") + set(VCPKG_POLICY_EMPTY_PACKAGE enabled) +else() +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.freedesktop.org/xorg + OUT_SOURCE_PATH SOURCE_PATH + REPO lib/libxfixes + REF 6fe3bd64dd82f704ed91478acb4c99ab5c00be16 # 6.0.0 + SHA512 429e65f4183d92cee1380273a23be9bf157bdd19e01e164d8b9058a2a54601af8f4556888302a2cad062c2cfc4b3a37d6b8f5b7ac6bdd6b5c069c7b791422201 + HEAD_REF master +) + +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) +endif() diff --git a/ports/libxfixes/vcpkg.json b/ports/libxfixes/vcpkg.json new file mode 100644 index 00000000000000..a079b2264dd155 --- /dev/null +++ b/ports/libxfixes/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "libxfixes", + "version": "6.0.0", + "description": "Xlib-based library for the XFIXES Extension", + "homepage": "https://gitlab.freedesktop.org/xorg/lib/libxfixes", + "license": null, + "dependencies": [ + "libx11", + "xorg-macros", + "xproto" + ] +} From 772318ff2c6493e024458fab97a5127efcb006d5 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 20:19:18 +0200 Subject: [PATCH 04/11] v db --- versions/baseline.json | 12 ++++++++++++ versions/l-/libxdamage.json | 9 +++++++++ versions/l-/libxext.json | 9 +++++++++ versions/l-/libxfixes.json | 9 +++++++++ 4 files changed, 39 insertions(+) create mode 100644 versions/l-/libxdamage.json create mode 100644 versions/l-/libxext.json create mode 100644 versions/l-/libxfixes.json diff --git a/versions/baseline.json b/versions/baseline.json index 1e456d238ab5e1..fb8294f5943c0a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4272,6 +4272,10 @@ "baseline": "1.0.9", "port-version": 0 }, + "libxdamage": { + "baseline": "1.1.5", + "port-version": 0 + }, "libxdiff": { "baseline": "0.23", "port-version": 2 @@ -4280,6 +4284,14 @@ "baseline": "1.1.3", "port-version": 0 }, + "libxext": { + "baseline": "1.3.4", + "port-version": 0 + }, + "libxfixes": { + "baseline": "6.0.0", + "port-version": 0 + }, "libxlsxwriter": { "baseline": "1.1.4", "port-version": 0 diff --git a/versions/l-/libxdamage.json b/versions/l-/libxdamage.json new file mode 100644 index 00000000000000..2c9916b6e75ba0 --- /dev/null +++ b/versions/l-/libxdamage.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "87138386fc68780b661be1216e8bb2e334071702", + "version": "1.1.5", + "port-version": 0 + } + ] +} diff --git a/versions/l-/libxext.json b/versions/l-/libxext.json new file mode 100644 index 00000000000000..5ffa055aed3e06 --- /dev/null +++ b/versions/l-/libxext.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "e67774822086eb3d56334159f5aad5579643b5d3", + "version": "1.3.4", + "port-version": 0 + } + ] +} diff --git a/versions/l-/libxfixes.json b/versions/l-/libxfixes.json new file mode 100644 index 00000000000000..538847ac65febc --- /dev/null +++ b/versions/l-/libxfixes.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "1f0262e8d5145c540a26a4740b62c84794244586", + "version": "6.0.0", + "port-version": 0 + } + ] +} From 9ef1b350ae4ee25e09ea3592cae1111dda11d34b Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 22:29:56 +0200 Subject: [PATCH 05/11] [libx11] try fixing crosscompilation on windows. --- ports/libx11/portfile.cmake | 21 +++++++++++++++++++-- ports/libx11/vcpkg.json | 4 ++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 52449bbe530993..2ebbf7c38c84ee 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -61,6 +61,15 @@ vcpkg_configure_make( ${OPTIONS} ) +if(VCPKG_CROSSCOMPILING) + file(GLOB FOR_BUILD_FILES "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/*") + file(COPY ${FOR_BUILD_FILES} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") + #TODO: Test if a simple touch is enough! + #file(COPY "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/makekeys${objsuffix}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") + if(NOT VCPKG_BUILD_TYPE) + file(COPY "${FOR_BUILD_FILES}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/util") + endif() +endif() vcpkg_install_make() vcpkg_fixup_pkgconfig() @@ -75,6 +84,14 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) endif() - configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" - "${CURRENT_PACKAGES_DIR}/share/x11/vcpkg-cmake-wrapper.cmake" @ONLY) \ No newline at end of file + "${CURRENT_PACKAGES_DIR}/share/x11/vcpkg-cmake-wrapper.cmake" @ONLY) + +if(NOT VCPKG_CROSSCOMPILING) + file(READ "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log" config_contents) + string(REGEX MATCH "ac_cv_objext=[^\n]+" objsuffix "${config_contents}") + string(REPLACE "ac_cv_objext=" "" objsuffix "${objsuffix}") + file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") + file(TOUCH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") + #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") +endif() diff --git a/ports/libx11/vcpkg.json b/ports/libx11/vcpkg.json index 4f68d076b46e20..ce1e576a89f3d3 100644 --- a/ports/libx11/vcpkg.json +++ b/ports/libx11/vcpkg.json @@ -6,6 +6,10 @@ "license": "MIT", "dependencies": [ "bzip2", + { + "name": "libx11", + "host": true + }, { "name": "libxslt", "host": true From c622b05d9997d42dd9dfa73d57cf4f1551a9466f Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 22:42:37 +0200 Subject: [PATCH 06/11] retry --- ports/libx11/portfile.cmake | 12 +++++++----- ports/libx11/vcpkg.json | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 2ebbf7c38c84ee..8785df3adfe39a 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -67,7 +67,7 @@ if(VCPKG_CROSSCOMPILING) #TODO: Test if a simple touch is enough! #file(COPY "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/makekeys${objsuffix}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") if(NOT VCPKG_BUILD_TYPE) - file(COPY "${FOR_BUILD_FILES}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/util") + file(COPY ${FOR_BUILD_FILES} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/util") endif() endif() vcpkg_install_make() @@ -82,10 +82,6 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") # Handle copyright file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) -endif() - -configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" - "${CURRENT_PACKAGES_DIR}/share/x11/vcpkg-cmake-wrapper.cmake" @ONLY) if(NOT VCPKG_CROSSCOMPILING) file(READ "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log" config_contents) @@ -95,3 +91,9 @@ if(NOT VCPKG_CROSSCOMPILING) file(TOUCH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") endif() + +endif() + +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" + "${CURRENT_PACKAGES_DIR}/share/x11/vcpkg-cmake-wrapper.cmake" @ONLY) + diff --git a/ports/libx11/vcpkg.json b/ports/libx11/vcpkg.json index ce1e576a89f3d3..f48ef72d817c03 100644 --- a/ports/libx11/vcpkg.json +++ b/ports/libx11/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libx11", "version": "1.7.3.1", + "port-version": 1, "description": "The X Window System is a network-transparent window system that was designed at MIT.", "homepage": "https://www.x.org/wiki/", "license": "MIT", From 474ffb9ced658e714b38a6a580f3a08883d2a711 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 22:43:23 +0200 Subject: [PATCH 07/11] move to manual-tools --- ports/libx11/portfile.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 8785df3adfe39a..7156f827683575 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -62,7 +62,7 @@ vcpkg_configure_make( ) if(VCPKG_CROSSCOMPILING) - file(GLOB FOR_BUILD_FILES "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/*") + file(GLOB FOR_BUILD_FILES "${CURRENT_HOST_INSTALLED_DIR}/manual-tools/${PORT}/*") file(COPY ${FOR_BUILD_FILES} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") #TODO: Test if a simple touch is enough! #file(COPY "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/makekeys${objsuffix}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") @@ -87,8 +87,8 @@ if(NOT VCPKG_CROSSCOMPILING) file(READ "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log" config_contents) string(REGEX MATCH "ac_cv_objext=[^\n]+" objsuffix "${config_contents}") string(REPLACE "ac_cv_objext=" "" objsuffix "${objsuffix}") - file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") - file(TOUCH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") + file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") + file(TOUCH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") endif() From 46f986a7bf154fd7cf1dd9b291f8b9bda17fb48c Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 22:59:06 +0200 Subject: [PATCH 08/11] touch doesn't work need the original obj file --- ports/libx11/portfile.cmake | 5 +---- scripts/ci.baseline.txt | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 7156f827683575..6cb489c877f4e3 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -64,8 +64,6 @@ vcpkg_configure_make( if(VCPKG_CROSSCOMPILING) file(GLOB FOR_BUILD_FILES "${CURRENT_HOST_INSTALLED_DIR}/manual-tools/${PORT}/*") file(COPY ${FOR_BUILD_FILES} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") - #TODO: Test if a simple touch is enough! - #file(COPY "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}/makekeys${objsuffix}" DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util") if(NOT VCPKG_BUILD_TYPE) file(COPY ${FOR_BUILD_FILES} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/util") endif() @@ -88,8 +86,7 @@ if(NOT VCPKG_CROSSCOMPILING) string(REGEX MATCH "ac_cv_objext=[^\n]+" objsuffix "${config_contents}") string(REPLACE "ac_cv_objext=" "" objsuffix "${objsuffix}") file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") - file(TOUCH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") - #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}") + file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") endif() endif() diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index dfbf59cf95061c..02e983e88e0d99 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1194,8 +1194,6 @@ xalan-c:x64-windows-static=fail xalan-c:arm64-windows=fail xerces-c:arm-uwp=fail xerces-c:x64-uwp=fail -# Crosscompiling libx11 requires additional steps and patches to the Makefiles. -libx11:arm64-windows=fail xmlsec:arm-uwp=fail xmlsec:x64-uwp=fail yara:arm-uwp=fail From a0f9c7b4df2726759784f3b3ff49d9cf5a6d08a0 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 23:21:46 +0200 Subject: [PATCH 09/11] retry touch --- ports/libx11/portfile.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 6cb489c877f4e3..39bf4eada74ce8 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -84,9 +84,10 @@ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share if(NOT VCPKG_CROSSCOMPILING) file(READ "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log" config_contents) string(REGEX MATCH "ac_cv_objext=[^\n]+" objsuffix "${config_contents}") - string(REPLACE "ac_cv_objext=" "" objsuffix "${objsuffix}") + string(REPLACE "ac_cv_objext=" "." objsuffix "${objsuffix}") file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") - file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") + file(TOUCH "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}/makekeys${objsuffix}" DESTINATION ) + #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") endif() endif() From 31e7e158f2827e37c8cfa5e6a7130bff5d5f8d8f Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 23 Aug 2022 23:38:21 +0200 Subject: [PATCH 10/11] touch doesn't seem to work. --- ports/libx11/portfile.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/libx11/portfile.cmake b/ports/libx11/portfile.cmake index 39bf4eada74ce8..51a5c24d8e808d 100644 --- a/ports/libx11/portfile.cmake +++ b/ports/libx11/portfile.cmake @@ -86,8 +86,7 @@ if(NOT VCPKG_CROSSCOMPILING) string(REGEX MATCH "ac_cv_objext=[^\n]+" objsuffix "${config_contents}") string(REPLACE "ac_cv_objext=" "." objsuffix "${objsuffix}") file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${VCPKG_TARGET_EXECUTABLE_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") - file(TOUCH "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}/makekeys${objsuffix}" DESTINATION ) - #file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") + file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/util/makekeys${objsuffix}" DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}") endif() endif() From 73edb340bde19f2bfb7ee716636df3a79f6628a6 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Wed, 24 Aug 2022 08:49:46 +0200 Subject: [PATCH 11/11] v db --- versions/baseline.json | 2 +- versions/l-/libx11.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/versions/baseline.json b/versions/baseline.json index be6b71f83918de..c05432f9d8d5b7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4266,7 +4266,7 @@ }, "libx11": { "baseline": "1.7.3.1", - "port-version": 0 + "port-version": 1 }, "libxau": { "baseline": "1.0.9", diff --git a/versions/l-/libx11.json b/versions/l-/libx11.json index fe64a753250d6b..9e71dbb6c76c36 100644 --- a/versions/l-/libx11.json +++ b/versions/l-/libx11.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e69bacce69d31cc63b4c1f6c5637ba204289a496", + "version": "1.7.3.1", + "port-version": 1 + }, { "git-tree": "1347521fb39c2ccfd11521a3e641854537799ca4", "version": "1.7.3.1",