[neon/backports-jammy/litehtml-jammy/Neon/release] debian/patches: refresh patch
Carlos De Maine
null at kde.org
Thu Jun 29 08:56:29 BST 2023
Git commit 29168ff06384e4b0702d50d9c933dd5c7e69d809 by Carlos De Maine.
Committed on 29/06/2023 at 07:56.
Pushed by carlosdem into branch 'Neon/release'.
refresh patch
M +6 -16 debian/patches/CMakeLists.patch
https://invent.kde.org/neon/backports-jammy/litehtml-jammy/-/commit/29168ff06384e4b0702d50d9c933dd5c7e69d809
diff --git a/debian/patches/CMakeLists.patch b/debian/patches/CMakeLists.patch
index 7f5569c..18d84ed 100644
--- a/debian/patches/CMakeLists.patch
+++ b/debian/patches/CMakeLists.patch
@@ -1,17 +1,15 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index fe71729..1c8b744 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -16,6 +16,8 @@ if(NOT EXTERNAL_GUMBO)
+@@ -16,6 +16,8 @@
add_subdirectory(src/gumbo)
endif()
+include(GNUInstallDirs)
+
set(SOURCE_LITEHTML
- src/background.cpp
- src/box.cpp
-@@ -131,40 +133,43 @@ set(TEST_LITEHTML
+ src/codepoint.cpp
+ src/css_length.cpp
+@@ -143,35 +145,38 @@
set(PROJECT_LIB_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.0)
set(PROJECT_SO_VERSION ${PROJECT_MAJOR})
@@ -38,12 +36,6 @@ index fe71729..1c8b744 100644
-target_include_directories(${PROJECT_NAME} PRIVATE include/${PROJECT_NAME})
+target_include_directories(${PROJECT_NAME}-static PRIVATE include/${PROJECT_NAME})
- option(LITEHTML_UTF8 "Build litehtml with UTF-8 text conversion functions." OFF)
- if (LITEHTML_UTF8)
-- target_compile_definitions(${PROJECT_NAME} PUBLIC LITEHTML_UTF8)
-+ target_compile_definitions(${PROJECT_NAME}-static PUBLIC LITEHTML_UTF8)
- endif()
-
# Gumbo
target_link_libraries(${PROJECT_NAME} PUBLIC gumbo)
@@ -65,10 +57,8 @@ index fe71729..1c8b744 100644
+install(FILES cmake/litehtmlConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/litehtml)
+install(EXPORT litehtmlTargets FILE litehtmlTargets.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/litehtml)
- # Generate master.css.inc
- function(make_inc src dst)
-diff --git a/cmake/litehtmlConfig.cmake b/cmake/litehtmlConfig.cmake
-index 5eedcf4..8cff5ed 100644
+ # Tests
+
--- a/cmake/litehtmlConfig.cmake
+++ b/cmake/litehtmlConfig.cmake
@@ -1,3 +1 @@
More information about the Neon-commits
mailing list