-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[libxml2] Update to latest commit, remove wrapper #14588
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
Closed
Closed
Changes from 12 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8b1aa13
[libxml2] Export unofficial target, correct wrapper and usage
cdc039a
[libxml2] Update to latest and fix dependencies
21307d8
[libxml2] Re-fix build
7ac4290
[libxmlmm] Fix dependency libxml2
5e710df
[libxslt] Fix dependency libxml2
b38dcf6
[libxml2] Re-fix dependency iconv, re-add usage
cdbe6a6
[librsvg] Fix dependency libxml2
0217492
[libsbml] Fix dependency libxml2
7c3e8c4
[commsdsl] Fix dependency libxml2
94cc041
[libspatialite] Fix dependency libxml2
afbe2ca
[libiconv] Fix cmake wrapper
7782c4f
[libxml2] Re-fix dependency libiconv
497acda
[libspatialite] Re-fix dependency libxml2
dcd6758
[libxslt] Fix dependency libxml2
1db3480
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
211bebb
[libspatialite] use find_library to get libxml2 path
737bd45
[gdal]Fix dependency libxml2
44e932e
[libxslt]merge master changes
78d6ad0
[libspatialite] Merge master branch changes
e1409f1
[gdal] Fix libxml2 include path
2e6dfeb
[libarchive] Fix dependency libxml2
ca9045c
[libxml2] Fix dependency libxml2
38f9680
[tmx] Fix dependency libxml2
ca03fbd
[libxml2] Fix dependency libxml2
436ce40
[vtk] Fix dependency libxml2
3588816
[libxml2] Fix pkgconfig
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| diff --git a/lib/src/CMakeLists.txt b/lib/src/CMakeLists.txt | ||
| index eaacb7a..de2cab4 100644 | ||
| --- a/lib/src/CMakeLists.txt | ||
| +++ b/lib/src/CMakeLists.txt | ||
| @@ -6,10 +6,10 @@ while (TRUE) | ||
| break() | ||
| endif () | ||
|
|
||
| - find_package(LibXml2 QUIET) | ||
| - if (LIBXML2_FOUND) | ||
| + find_package(libxml2 CONFIG QUIET) | ||
| + if (libxml2_FOUND) | ||
| # Find again just to display info | ||
| - find_package(LibXml2 REQUIRED) | ||
| + find_package(libxml2 CONFIG REQUIRED) | ||
| break() | ||
| endif () | ||
|
|
||
| @@ -52,8 +52,8 @@ while (TRUE) | ||
| break() | ||
| endwhile () | ||
|
|
||
| -if (NOT LIBXML2_FOUND) | ||
| - find_package(LibXml2 REQUIRED) | ||
| +if (NOT libxml2_FOUND) | ||
| + find_package(libxml2 CONFIG REQUIRED) | ||
| endif () | ||
|
|
||
| set ( | ||
| @@ -123,7 +123,7 @@ endif () | ||
| set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${COMMSDSL_VERSION}) | ||
|
|
||
| target_include_directories(${PROJECT_NAME} | ||
| - PRIVATE ${LIBXML2_INCLUDE_DIR} | ||
| + PRIVATE ${LIBXML2_INCLUDE_DIRS} | ||
| PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib/include> | ||
| INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Source: libiconv | ||
| Version: 1.16 | ||
| Port-Version: 5 | ||
| Port-Version: 6 | ||
| Homepage: https://www.gnu.org/software/libiconv/ | ||
| Description: GNU Unicode text conversion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,15 @@ | ||
| include(SelectLibraryConfigurations) | ||
|
|
||
| _find_package(${ARGS}) | ||
| if(Iconv_FOUND) | ||
| if(Iconv_FOUND AND NOT Iconv_IS_BUILT_IN) | ||
| find_library(CHARSET_LIBRARY_DEBUG NAMES charsetd libcharsetd charset libcharset NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH) | ||
| find_library(CHARSET_LIBRARY_RELEASE NAMES charset libcharset NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH) | ||
| find_library(CHARSET_LIBRARY_RELEASE NAMES charset libcharset NAMES_PER_DIR PATH_SUFFIXES lib) | ||
| select_library_configurations(CHARSET) | ||
| list(APPEND Iconv_LIBRARIES ${CHARSET_LIBRARIES}) | ||
| if(CHARSET_LIBRARIES) | ||
| list(APPEND Iconv_LIBRARIES ${CHARSET_LIBRARIES}) | ||
| if(TARGET Iconv::Iconv) | ||
| target_link_libraries(Iconv::Iconv INTERFACE ${CHARSET_LIBRARIES}) | ||
| endif() | ||
| endif() | ||
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| Source: librsvg | ||
| Version: 2.40.20-2 | ||
| Version: 2.40.20 | ||
| Port-Version: 3 | ||
| Homepage: https://gitlab.gnome.org/GNOME/librsvg | ||
| Description: A small library to render Scalable Vector Graphics (SVG) | ||
| Build-Depends: cairo, pango, gdk-pixbuf, libcroco |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index ceb8f18..a8bc6c8 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -464,6 +464,7 @@ endif(WITH_EXPAT) | ||
| # | ||
| set(USE_LIBXML OFF) | ||
| if(WITH_LIBXML) | ||
| + if (0) | ||
| if (NOT LIBXML_LIBRARY) | ||
| find_library(LIBXML_LIBRARY | ||
| NAMES libxml2.lib xml2 | ||
| @@ -485,7 +486,11 @@ if(WITH_LIBXML) | ||
| DOC "The directory containing the libxml2 include files." | ||
| ) | ||
| endif() | ||
| - | ||
| + else() | ||
| + find_package(libxml2 CONFIG REQUIRED) | ||
| + set(LIBXML_INCLUDE_DIR ${LIBXML2_INCLUDE_DIRS}) | ||
| + set(LIBXML_LIBRARY ${LIBXML2_LIBRARIES}) | ||
| + endif() | ||
| add_definitions( -DUSE_LIBXML ) | ||
| list(APPEND SWIG_EXTRA_ARGS -DUSE_LIBXML) | ||
| set(USE_LIBXML ON) | ||
| @@ -494,7 +499,7 @@ if(WITH_LIBXML) | ||
| set(LIBSBML_XML_LIBRARY_INCLUDE ${LIBXML_INCLUDE_DIR}) | ||
| set(LIBSBML_XML_LIBRARY_LIBS ${LIBXML_LIBRARY}) | ||
|
|
||
| - if(NOT EXISTS "${LIBXML_INCLUDE_DIR}/libxml/parser.h") | ||
| + if(0) | ||
| message(FATAL_ERROR | ||
| "The include directory specified for libxml appears to be invalid. | ||
| It should contain the file libxml/parser.h, but it does not.") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/makefile.vc b/makefile.vc | ||
| index f510b4f..9791621 100644 | ||
| --- a/makefile.vc | ||
| +++ b/makefile.vc | ||
| @@ -59,7 +59,7 @@ LIBOBJ = src\gaiaaux\gg_sqlaux.obj src\gaiaaux\gg_utf8.obj \ | ||
| src\versioninfo\version.obj src\virtualtext\virtualtext.obj | ||
| SPATIALITE_DLL = spatialite$(VERSION).dll | ||
|
|
||
| -CFLAGS = /nologo -I.\src\headers -I. -I$(INSTALLED_ROOT)\include $(OPTFLAGS) | ||
| +CFLAGS = /nologo -I.\src\headers -I. -I$(INSTALLED_ROOT)\include -I$(LIBXML2_INCLUDES) $(OPTFLAGS) | ||
|
|
||
| default: all | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.