public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/litehtml] rawhide: Update to 0.10
@ 2026-06-15 12:14 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-06-15 12:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/litehtml
Branch : rawhide
Commit : 3f129285c59163e8c1b8c91be0f75dd22cd13066
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-06-15T14:13:53+02:00
Stats : +10/-128 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/litehtml/c/3f129285c59163e8c1b8c91be0f75dd22cd13066?branch=rawhide
Log:
Update to 0.10
---
diff --git a/.gitignore b/.gitignore
index d013e31..cd5671f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/litehtml-0.6.tar.gz
/litehtml-0.8.tar.gz
/litehtml-0.9.tar.gz
+/litehtml-0.10.tar.gz
diff --git a/litehtml.spec b/litehtml.spec
index 59fe6bb..36eb564 100644
--- a/litehtml.spec
+++ b/litehtml.spec
@@ -1,6 +1,6 @@
Name: litehtml
-Version: 0.9
-Release: 9%{?dist}
+Version: 0.10
+Release: 1%{?dist}
Summary: Fast and lightweight HTML/CSS rendering engine
License: BSD-3-Clause
@@ -10,12 +10,6 @@ Source0: https://github.com/litehtml/litehtml/archive/v%{version}/%{name}
# The Fedora gumbo-parser package does not contain a cmake module,
# so don't look for it
Patch0: litehtml_gumbo.patch
-# Add some stuff needed for qt-creator
-Patch1: litehtml_qtcreator.patch
-# Port to GNUInstallDirs
-Patch2: litehtml_gnuinstalldirs.patch
-# To build with C++17
-Patch3: litehtml_c++17.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -81,6 +75,9 @@ sed -r -i 's/(CXX_STANDARD[[:blank:]]+)11/\117/' CMakeLists.txt
%changelog
+* Mon Jun 15 2026 Sandro Mani <manisandro@gmail.com> - 0.10-1
+- Update to 0.10
+
* Thu May 28 2026 Gwyn Ciesla <gwync@protonmail.com> - 0.9-9
- gumbo-parser rebuild
diff --git a/litehtml_c++17.patch b/litehtml_c++17.patch
deleted file mode 100644
index 16e3ba9..0000000
--- a/litehtml_c++17.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/containers/test/Bitmap.cpp b/containers/test/Bitmap.cpp
-index 862d484..f5bb69a 100644
---- a/containers/test/Bitmap.cpp
-+++ b/containers/test/Bitmap.cpp
-@@ -112,7 +112,7 @@ void Bitmap::resize(int new_width, int new_height)
-
- void Bitmap::load(string filename)
- {
-- vector<byte> image;
-+ vector<unsigned char> image;
- unsigned w, h;
- lodepng::decode(image, w, h, filename);
- if (w * h == 0) return;
-@@ -125,5 +125,5 @@ void Bitmap::load(string filename)
-
- void Bitmap::save(string filename)
- {
-- lodepng::encode(filename, (byte*)data.data(), width, height);
-+ lodepng::encode(filename, reinterpret_cast<const unsigned char*>(data.data()), width, height);
- }
diff --git a/litehtml_gnuinstalldirs.patch b/litehtml_gnuinstalldirs.patch
deleted file mode 100644
index ac7c289..0000000
--- a/litehtml_gnuinstalldirs.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -rupN litehtml-0.9/CMakeLists.txt litehtml-0.9-new/CMakeLists.txt
---- litehtml-0.9/CMakeLists.txt 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/CMakeLists.txt 2025-07-17 21:58:40.057546991 +0200
-@@ -1,7 +1,7 @@
- cmake_minimum_required(VERSION 3.11)
-
- project(litehtml LANGUAGES C CXX)
--
-+include(GNUInstallDirs)
-
- option(LITEHTML_BUILD_TESTING "enable testing for litehtml" ON)
-
-@@ -182,13 +182,13 @@ target_link_libraries(${PROJECT_NAME} PU
- # install and export
- install(TARGETS ${PROJECT_NAME}
- EXPORT litehtmlTargets
-- RUNTIME DESTINATION bin COMPONENT libraries
-- ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT libraries
-- LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT libraries
-- PUBLIC_HEADER DESTINATION include/litehtml
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT libraries
-+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
-+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/litehtml
- )
--install(FILES cmake/litehtmlConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/litehtml)
--install(EXPORT litehtmlTargets FILE litehtmlTargets.cmake DESTINATION lib${LIB_SUFFIX}/cmake/litehtml)
-+install(FILES cmake/litehtmlConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/litehtml)
-+install(EXPORT litehtmlTargets FILE litehtmlTargets.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/litehtml)
-
- # Tests
-
-diff -rupN litehtml-0.9/src/gumbo/CMakeLists.txt litehtml-0.9-new/src/gumbo/CMakeLists.txt
---- litehtml-0.9/src/gumbo/CMakeLists.txt 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/src/gumbo/CMakeLists.txt 2025-07-17 21:59:21.484034532 +0200
-@@ -67,9 +67,9 @@ target_include_directories(${PROJECT_NAM
- # install and export
- install(TARGETS ${PROJECT_NAME}
- EXPORT gumbo
-- RUNTIME DESTINATION bin COMPONENT libraries
-- ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT libraries
-- LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT libraries
-- PUBLIC_HEADER DESTINATION include/gumbo
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT libraries
-+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
-+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gumbo
- )
--install(EXPORT gumbo FILE gumboConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/gumbo)
-+install(EXPORT gumbo FILE gumboConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/gumbo)
diff --git a/litehtml_gumbo.patch b/litehtml_gumbo.patch
index 5e08a51..5b00905 100644
--- a/litehtml_gumbo.patch
+++ b/litehtml_gumbo.patch
@@ -1,6 +1,6 @@
-diff -rupN --no-dereference litehtml-0.9/cmake/litehtmlConfig.cmake litehtml-0.9-new/cmake/litehtmlConfig.cmake
---- litehtml-0.9/cmake/litehtmlConfig.cmake 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/cmake/litehtmlConfig.cmake 2025-07-17 21:57:18.407431068 +0200
+diff -rupN --no-dereference litehtml-0.10/cmake/litehtmlConfig.cmake litehtml-0.10-new/cmake/litehtmlConfig.cmake
+--- litehtml-0.10/cmake/litehtmlConfig.cmake 2026-06-13 23:11:11.000000000 +0200
++++ litehtml-0.10-new/cmake/litehtmlConfig.cmake 2026-06-15 11:21:15.712876483 +0200
@@ -1,3 +1 @@
-include(CMakeFindDependencyMacro)
-find_dependency(gumbo)
diff --git a/litehtml_qtcreator.patch b/litehtml_qtcreator.patch
deleted file mode 100644
index ce99547..0000000
--- a/litehtml_qtcreator.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -rupN --no-dereference litehtml-0.9/include/litehtml/document.h litehtml-0.9-new/include/litehtml/document.h
---- litehtml-0.9/include/litehtml/document.h 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/include/litehtml/document.h 2025-07-17 21:57:18.458555444 +0200
-@@ -93,6 +93,7 @@ namespace litehtml
- bool on_mouse_leave(position::vector& redraw_boxes);
- element::ptr create_element(const char* tag_name, const string_map& attributes);
- element::ptr root();
-+ std::shared_ptr<render_item> root_renderer();
- void get_fixed_boxes(position::vector& fixed_boxes);
- void add_fixed_box(const position& pos);
- void add_media_list(const media_query_list::ptr& list);
-@@ -121,6 +122,10 @@ namespace litehtml
- {
- return m_root;
- }
-+ inline std::shared_ptr<render_item> document::root_renderer()
-+ {
-+ return m_root_render;
-+ }
- inline void document::add_tabular(const std::shared_ptr<render_item>& el)
- {
- m_tabular_elements.push_back(el);
-diff -rupN --no-dereference litehtml-0.9/include/litehtml/render_item.h litehtml-0.9-new/include/litehtml/render_item.h
---- litehtml-0.9/include/litehtml/render_item.h 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/include/litehtml/render_item.h 2025-07-17 21:57:18.458821867 +0200
-@@ -16,6 +16,9 @@ namespace litehtml
-
- class render_item : public std::enable_shared_from_this<render_item>
- {
-+ public:
-+ typedef std::shared_ptr<render_item> ptr;
-+ typedef std::weak_ptr<render_item> weak_ptr;
- protected:
- std::shared_ptr<element> m_element;
- std::weak_ptr<render_item> m_parent;
-diff -rupN --no-dereference litehtml-0.9/include/litehtml.h litehtml-0.9-new/include/litehtml.h
---- litehtml-0.9/include/litehtml.h 2024-01-31 01:48:44.000000000 +0100
-+++ litehtml-0.9-new/include/litehtml.h 2025-07-17 21:57:18.458998030 +0200
-@@ -6,6 +6,7 @@
- #include <litehtml/html_tag.h>
- #include <litehtml/stylesheet.h>
- #include <litehtml/element.h>
-+#include <litehtml/render_item.h>
- #include <litehtml/utf8_strings.h>
-
- #endif // LITEHTML_H
diff --git a/sources b/sources
index ed1baad..28ec1f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (litehtml-0.9.tar.gz) = 2a156671b770a6a20ab00184d9869af779248dd1fb898930b3b479ee88d8b7d84f51fdbd689ae4124530ab70c8697b6641cf06b220631ce4fec4622e63845ea3
+SHA512 (litehtml-0.10.tar.gz) = e561ae14711d740a966255a2d0a392864181829f8fc24891d337b8fd892368e0c34f2be617a5437b034cc42474ad770f63774d4e27640fa43f794b9d03f660fc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 12:14 [rpms/litehtml] rawhide: Update to 0.10 Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox