Skip to content

Commit

Permalink
Merge pull request #168 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] update libxml2 on depends to 2.9.10
  • Loading branch information
ksooo authored Feb 5, 2022
2 parents 651788c + 8b33c98 commit 0b1f0f2
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 633 deletions.
457 changes: 32 additions & 425 deletions depends/common/libxml2/CMakeLists.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion depends/common/libxml2/libxml2.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ffb911191e509b966deb55de705387f14156e1a56b21824357cdf0053233633c
aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
2 changes: 1 addition & 1 deletion depends/common/libxml2/libxml2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libxml2 http://xmlsoft.org/sources/libxml2-2.9.4.tar.gz
libxml2 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz
20 changes: 0 additions & 20 deletions depends/common/libxml2/win32_io.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.5)
project(xml2)

cmake_minimum_required(VERSION 2.6)

enable_language(C)

find_package(ZLIB REQUIRED)
Expand Down Expand Up @@ -377,7 +376,7 @@ set(WITH_WRITER 0)
set(WITH_SAX1 0)
set(WITH_FTP 0)
set(WITH_HTTP 0)
set(WITH_VALID 0)
set(WITH_VALID 1)
set(WITH_HTML 1)
set(WITH_LEGACY 0)
set(WITH_C14N 0)
Expand All @@ -392,7 +391,7 @@ set(WITH_ISO8859X 1)
set(WITH_DEBUG 0)
set(WITH_MEM_DEBUG 0)
set(WITH_RUN_DEBUG 0)
set(WITH_REGEXPS 0)
set(WITH_REGEXPS 1)
set(WITH_SCHEMAS 0)
set(WITH_SCHEMATRON 0)
set(WITH_MODULES 0)
Expand All @@ -404,10 +403,35 @@ if(NOT WIN32)
configure_file(config.h.cmake ${PROJECT_SOURCE_DIR}/config.h)
else()
file(COPY include/win32config.h DESTINATION ${PROJECT_SOURCE_DIR})
file(RENAME win32/VC10/config.h config.h)
file(COPY win32/VC10/config.h DESTINATION ${PROJECT_SOURCE_DIR})
endif()

set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix "$")
set(exec_prefix "${exec_prefix}{")
set(exec_prefix "${exec_prefix}prefix")
set(exec_prefix "${exec_prefix}}")

set(libdir "$")
set(libdir "${libdir}{")
set(libdir "${libdir}exec_prefix")
set(libdir "${libdir}}/lib")

set(includedir "$")
set(includedir "${includedir}{")
set(includedir "${includedir}prefix")
set(includedir "${includedir}}/include")

set(XML_INCLUDEDIR "-I$")
set(XML_INCLUDEDIR "${XML_INCLUDEDIR}{")
set(XML_INCLUDEDIR "${XML_INCLUDEDIR}includedir")
set(XML_INCLUDEDIR "${XML_INCLUDEDIR}}/libxml2")

set(Z_LIBS "-lz")
set(ICONV_LIBS "-liconv")

configure_file(include/libxml/xmlversion.h.in ${PROJECT_SOURCE_DIR}/include/libxml/xmlversion.h)
configure_file(libxml-2.0.pc.in ${PROJECT_SOURCE_DIR}/libxml-2.0.pc)

include_directories(${ZLIB_INCLUDE_DIRS} include)
file(GLOB SOURCES *.c)
Expand All @@ -421,9 +445,10 @@ target_link_libraries(xml2 ${ZLIB_LIBRARIES})
if(NOT WIN32)
set_target_properties(xml2 PROPERTIES COMPILE_FLAGS "-fPIC")
else()
add_definitions(-DHAVE_ZLIB_H -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_STDC_NO_DEPRECATE -D_WINSOCK_DEPRECATED_NO_WARNINGS)
add_definitions(-DHAVE_ZLIB_H -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
set_target_properties(xml2 PROPERTIES COMPILE_FLAGS "/W1")
endif()

install(TARGETS xml2 DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
install(DIRECTORY include/libxml DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
install(DIRECTORY include/libxml DESTINATION ${CMAKE_INSTALL_PREFIX}/include/libxml2/)
install(FILES libxml-2.0.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
File renamed without changes.
1 change: 1 addition & 0 deletions depends/windows/libxml2/libxml2.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
1 change: 1 addition & 0 deletions depends/windows/libxml2/libxml2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libxml2 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz
20 changes: 0 additions & 20 deletions depends/windowsstore/libxml2/01-win32_io.patch

This file was deleted.

156 changes: 0 additions & 156 deletions depends/windowsstore/libxml2/02-fix-uwp-api.patch

This file was deleted.

1 change: 0 additions & 1 deletion depends/windowsstore/libxml2/libxml2.sha256

This file was deleted.

1 change: 0 additions & 1 deletion depends/windowsstore/libxml2/libxml2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion pvr.stalker/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.stalker"
version="19.0.1"
version="19.0.2"
name="Stalker Client"
provider-name="Jamal Edey">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
4 changes: 4 additions & 0 deletions pvr.stalker/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v19.0.2
- Updated depends libxml2 to version 2.9.10
- To fix some Windows UWP builds

v19.0.1
- Translations updates from Weblate
- be_by, da_dk, es_mx, id_id, is_is, ko_kr, lt_lt, nb_no
Expand Down

0 comments on commit 0b1f0f2

Please sign in to comment.