Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
107 changes: 0 additions & 107 deletions ports/3fd/DataException.patch

This file was deleted.

23 changes: 10 additions & 13 deletions ports/3fd/RapidXML.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
diff --git a/3FD/configuration.cpp b/3FD/configuration.cpp
index b9ca804..207a397 100644
--- a/3FD/configuration.cpp
+++ b/3FD/configuration.cpp
@@ -2,7 +2,7 @@
#include "configuration.h"
#include "exceptions.h"
#include "utils_io.h"
-#include <rapidxml.hpp>
+#include <rapidxml/rapidxml.hpp>

#ifdef _3FD_PLATFORM_WINRT
# include "utils_winrt.h"
--- a/3FD/xml.h
+++ b/3FD/xml.h
@@ -4,6 +4,6 @@
#include "exceptions.h"
#include "utils.h"
-#include <rapidxml.hpp>
+#include <rapidxml/rapidxml.hpp>

#include <array>
#include <algorithm>
59 changes: 14 additions & 45 deletions ports/3fd/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcpkg_fail_port_install(ON_TARGET "osx" "linux")

# Check architecture:
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
set(BUILD_ARCH "Win32")
Expand All @@ -15,36 +17,29 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY ONLY_DYNAMIC_CRT)
# Get source code:
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO faburaya/3FD
REF v2.6.2
SHA512 a2444cc07d8741540c6071ac59bc8c63785db52e412a843aa18a5dfa0144b5001d428e44bcb520238e3d476440bc74526343f025005f05d534e732645f59cbe0
REPO faburaya/3fd
REF 3a0fe606268721d1560b88dcca8647c67c0b275c # v2.6.3 (Stable)
SHA512 70630291b4055de2044ad76ef21e99d6ab6fd3468debb2a864a461cf8513642fe87f116e9dfff96ecff96f4577108493dc25aa40eeefcd93ee75990b13bb7b20
HEAD_REF master
PATCHES
"${CMAKE_CURRENT_LIST_DIR}/remove-seekpos.patch"
"${CMAKE_CURRENT_LIST_DIR}/DataException.patch"
"${CMAKE_CURRENT_LIST_DIR}/RapidXML.patch"
rapidxml.patch
)

# Copy the sources to ensure a clean, out-of-source build
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
file(MAKE_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
file(COPY ${SOURCE_PATH} DESTINATION ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
get_filename_component(LAST_DIR_NAME "${SOURCE_PATH}" NAME)
set(SOURCE_PATH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all/${LAST_DIR_NAME}")

# Build:
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # UWP:
vcpkg_build_msbuild(
USE_VCPKG_INTEGRATION
PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.WinRT.UWP.vcxproj
vcpkg_install_msbuild(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH "3FD/3FD.WinRT.UWP.vcxproj"
PLATFORM ${BUILD_ARCH}
USE_VCPKG_INTEGRATION
)
elseif (NOT VCPKG_CMAKE_SYSTEM_NAME) # Win32:
vcpkg_build_msbuild(
USE_VCPKG_INTEGRATION
PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.vcxproj
vcpkg_install_msbuild(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH "3FD/3FD.vcxproj"
PLATFORM ${BUILD_ARCH}
TARGET Build
USE_VCPKG_INTEGRATION
)
else()
message(FATAL_ERROR "Unsupported system: 3FD is not currently ported to VCPKG in ${VCPKG_CMAKE_SYSTEM_NAME}!")
Expand All @@ -70,32 +65,6 @@ file(INSTALL
DESTINATION ${CURRENT_PACKAGES_DIR}/share/3FD
)

if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # Visual C++, UWP app:
file(INSTALL
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/3FD.WinRT.UWP.lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/WinRT.UWP/3FD.WinRT.UWP.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
)
file(INSTALL
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/3FD.WinRT.UWP.lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/WinRT.UWP/3FD.WinRT.UWP.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
)
else() # Visual C++, Win32 app:
file(INSTALL
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
)
file(INSTALL
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
)
endif()

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd RENAME copyright)
file(INSTALL ${SOURCE_PATH}/Acknowledgements.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd)
Expand Down
13 changes: 0 additions & 13 deletions ports/3fd/remove-seekpos.patch

This file was deleted.

4 changes: 2 additions & 2 deletions ports/3fd/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "3fd",
"version-string": "2.6.2",
"port-version": 3,
"version-string": "2.6.3",
"description": "C++ Framework For Fast Development",
"supports": "windows & !static & !arm64",
"dependencies": [
{
"name": "boost-lockfree",
Expand Down
7 changes: 0 additions & 7 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@

# Add new items alphabetically

3fd:arm64-windows=fail
3fd:arm-uwp=fail
3fd:x64-linux=fail
3fd:x64-osx=fail
3fd:x64-windows=fail
3fd:x64-windows-static=fail
3fd:x86-windows=fail
activemq-cpp:x64-linux=fail
activemq-cpp:x64-osx=fail
alac:arm-uwp=fail
Expand Down