diff --git a/ports/xalan-c/fix-linux-no-bin.patch b/ports/xalan-c/fix-linux-no-bin.patch deleted file mode 100644 index 3d468a1c58be96..00000000000000 --- a/ports/xalan-c/fix-linux-no-bin.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/src/xalanc/Utils/CMakeLists.txt b/src/xalanc/Utils/CMakeLists.txt -index 2d78685..72b611b 100644 ---- a/src/xalanc/Utils/CMakeLists.txt -+++ b/src/xalanc/Utils/CMakeLists.txt -@@ -41,11 +41,15 @@ add_custom_target(locale ALL) - set_target_properties(locale PROPERTIES FOLDER "Message Library") - - # workaround for case of missing xerces-c dll -+if(CMAKE_HOST_WIN32) - if(EXISTS ${XercesC_INCLUDE_DIR}/../bin) - set(MsgCreator_WD $/../bin) - else() - set(MsgCreator_WD "${XSL_NLS_GEN_DIR}") - endif() -+else() -+ set(MsgCreator_WD "${PROJECT_BINARY_DIR}") -+endif() - - if(msgloader STREQUAL "inmemory") - add_custom_command( diff --git a/ports/xalan-c/fix-missing-dll-error.patch b/ports/xalan-c/fix-missing-dll-error.patch deleted file mode 100644 index db49a2be67dadd..00000000000000 --- a/ports/xalan-c/fix-missing-dll-error.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/src/xalanc/Utils/CMakeLists.txt b/src/xalanc/Utils/CMakeLists.txt -index dc39ad0..2d78685 100644 ---- a/src/xalanc/Utils/CMakeLists.txt -+++ b/src/xalanc/Utils/CMakeLists.txt -@@ -40,6 +40,13 @@ set(SUPPORTMSGINDEX "${GEN_SUPPORTDIR}/LocalMsgIndex.hpp") - add_custom_target(locale ALL) - set_target_properties(locale PROPERTIES FOLDER "Message Library") - -+# workaround for case of missing xerces-c dll -+if(EXISTS ${XercesC_INCLUDE_DIR}/../bin) -+ set(MsgCreator_WD $/../bin) -+else() -+ set(MsgCreator_WD "${XSL_NLS_GEN_DIR}") -+endif() -+ - if(msgloader STREQUAL "inmemory") - add_custom_command( - OUTPUT "${GENMSGINDEX}" -@@ -48,7 +55,8 @@ if(msgloader STREQUAL "inmemory") - "${XLIFF_FILE_NAME}" - -TYPE inmem - -LOCALE ${LOCALE} -- WORKING_DIRECTORY "${XSL_NLS_GEN_DIR}" -+ -OUTDIR "${XSL_NLS_GEN_DIR}" -+ WORKING_DIRECTORY "${MsgCreator_WD}" - COMMENT "Generating inmemory locale message data" - DEPENDS MsgCreator "${XLIFF_FILE_NAME}") - -@@ -92,7 +100,8 @@ if(msgloader STREQUAL "icu") - "${XLIFF_FILE_NAME}" - -TYPE icu - -LOCALE ${LOCALE} -- WORKING_DIRECTORY "${XSL_NLS_GEN_DIR}" -+ -OUTDIR "${XSL_NLS_GEN_DIR}" -+ WORKING_DIRECTORY "${MsgCreator_WD}" - COMMENT "Generating ICU locale message data" - DEPENDS MsgCreator "${XLIFF_FILE_NAME}") - -@@ -141,7 +150,8 @@ if(msgloader STREQUAL "nls") - "${XLIFF_FILE_NAME}" - -TYPE nls - -LOCALE ${LOCALE} -- WORKING_DIRECTORY "${XSL_NLS_GEN_DIR}" -+ -OUTDIR "${XSL_NLS_GEN_DIR}" -+ WORKING_DIRECTORY "${MsgCreator_WD}" - COMMENT "Generating nls locale message data" - DEPENDS MsgCreator "${XLIFF_FILE_NAME}") - diff --git a/ports/xalan-c/fix-win-deprecated-err.patch b/ports/xalan-c/fix-win-deprecated-err.patch deleted file mode 100644 index 1484f4e2764996..00000000000000 --- a/ports/xalan-c/fix-win-deprecated-err.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/xalanc/Utils/MsgCreator/CMakeLists.txt b/src/xalanc/Utils/MsgCreator/CMakeLists.txt -index 20215d4..dc74c1b 100644 ---- a/src/xalanc/Utils/MsgCreator/CMakeLists.txt -+++ b/src/xalanc/Utils/MsgCreator/CMakeLists.txt -@@ -37,6 +37,10 @@ set(msgcreator_headers - NLSHandler.hpp - SAX2Handler.hpp) - -+if(MSVC) -+ add_definitions(-D_CRT_SECURE_NO_WARNINGS=1) -+endif() -+ - add_executable(MsgCreator ${msgcreator_sources} ${msgcreator_headers}) - target_include_directories(MsgCreator PUBLIC - $ diff --git a/ports/xalan-c/portfile.cmake b/ports/xalan-c/portfile.cmake deleted file mode 100644 index 6fa5ca3ab6b69a..00000000000000 --- a/ports/xalan-c/portfile.cmake +++ /dev/null @@ -1,40 +0,0 @@ -vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) - -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO apache/xalan-c - REF 4055bb0c58e3053b04fcd0c68fdcda8f84411213 #1.12 - SHA512 0d591f5a07dbc69050c7b696189c46a32e6dd7a80a302fd38dcc82f9454688729e361c4d5c3b0aacfc3acc7df78c0981ba54eb3ce82b1ca6566a30aa19648280 - PATCHES - fix-win-deprecated-err.patch - fix-missing-dll-error.patch - fix-linux-no-bin.patch -) - -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA - OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_ICU=ON -) - -vcpkg_install_cmake() -vcpkg_copy_tools(TOOL_NAMES Xalan AUTO_CLEAN) - -if(EXISTS ${CURRENT_PACKAGES_DIR}/cmake) - vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/xalanc) -else() - vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/XalanC TARGET_PATH share/xalanc) -endif() - -# cleanup -file(REMOVE_RECURSE - ${CURRENT_PACKAGES_DIR}/debug/include - ${CURRENT_PACKAGES_DIR}/debug/share -) - -# Handle copyright -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) - -vcpkg_copy_pdbs() - -vcpkg_fixup_pkgconfig() diff --git a/ports/xalan-c/vcpkg.json b/ports/xalan-c/vcpkg.json deleted file mode 100644 index 425d9bfd286891..00000000000000 --- a/ports/xalan-c/vcpkg.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "xalan-c", - "version": "1.12", - "port-version": 1, - "description": "Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types", - "homepage": "https://github.com/apache/xalan-c", - "dependencies": [ - "xerces-c" - ] -} diff --git a/versions/baseline.json b/versions/baseline.json index 77f417eb7a5346..7e1b9ce9927491 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8012,10 +8012,6 @@ "baseline": "3.4", "port-version": 7 }, - "xalan-c": { - "baseline": "1.12", - "port-version": 1 - }, "xapian": { "baseline": "1.4.21", "port-version": 1