pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/litehtml



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Feb 10 11:03:14 UTC 2024

Modified Files:
        pkgsrc/www/litehtml: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/www/litehtml/patches: patch-CMakeLists.txt

Log Message:
litehtml: update to 0.9.

0.9

Improved blocks rendering by @tordex in #268
Refactor render_item based classes by @tordex in #269
Discard invalid color declarations by @stasoid in #274
Add litehtml-specific testing option in cmake by @charliewolf in #282
Basic implementation for css counters by @MicCalo in #281
Media_query: Treat unknown media type as none by @imzyxwvu in #283
Flex layout by @tordex in #285

0.8

fix: render_test._/"acid1.htm" test fails on x86 architecture

0.7

Many changes to improve rendering of inline and block elements.
Improved rendering performance
litehtml now passes Acid1 test
Removed some legacy code
Refactoring to make code more clean
Added additional rendering tests


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/litehtml/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/litehtml/PLIST \
    pkgsrc/www/litehtml/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/litehtml/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/litehtml/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/litehtml/Makefile
diff -u pkgsrc/www/litehtml/Makefile:1.5 pkgsrc/www/litehtml/Makefile:1.6
--- pkgsrc/www/litehtml/Makefile:1.5    Wed Jan 17 23:57:51 2024
+++ pkgsrc/www/litehtml/Makefile        Sat Feb 10 11:03:14 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2024/01/17 23:57:51 gdt Exp $
+# $NetBSD: Makefile,v 1.6 2024/02/10 11:03:14 wiz Exp $
 
-DISTNAME=      litehtml-0.6
-PKGREVISION=   1
+DISTNAME=      litehtml-0.9
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=litehtml/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -17,7 +16,7 @@ USE_CXX_FEATURES=     c++11
 
 CMAKE_CONFIGURE_ARGS+= -DEXTERNAL_GUMBO=ON
 # Turn off testing since it installs gtest
-CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING:BOOL=OFF
+CMAKE_CONFIGURE_ARGS+= -DLITEHTML_BUILD_TESTING:BOOL=OFF
 
 CMAKE_USE_GNU_INSTALL_DIRS=    no
 

Index: pkgsrc/www/litehtml/PLIST
diff -u pkgsrc/www/litehtml/PLIST:1.3 pkgsrc/www/litehtml/PLIST:1.4
--- pkgsrc/www/litehtml/PLIST:1.3       Wed May 17 08:31:30 2023
+++ pkgsrc/www/litehtml/PLIST   Sat Feb 10 11:03:14 2024
@@ -1,16 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2023/05/17 08:31:30 wiz Exp $
-include/litehtml/attributes.h
+@comment $NetBSD: PLIST,v 1.4 2024/02/10 11:03:14 wiz Exp $
 include/litehtml/background.h
 include/litehtml/borders.h
-include/litehtml/box.h
 include/litehtml/codepoint.h
-include/litehtml/context.h
 include/litehtml/css_length.h
 include/litehtml/css_margins.h
 include/litehtml/css_offsets.h
 include/litehtml/css_position.h
+include/litehtml/css_properties.h
 include/litehtml/css_selector.h
 include/litehtml/document.h
+include/litehtml/document_container.h
 include/litehtml/el_anchor.h
 include/litehtml/el_base.h
 include/litehtml/el_before_after.h
@@ -32,13 +31,27 @@ include/litehtml/el_text.h
 include/litehtml/el_title.h
 include/litehtml/el_tr.h
 include/litehtml/element.h
+include/litehtml/flex_item.h
+include/litehtml/flex_line.h
+include/litehtml/formatting_context.h
 include/litehtml/html.h
 include/litehtml/html_tag.h
 include/litehtml/iterators.h
+include/litehtml/line_box.h
 include/litehtml/litehtml.h
+include/litehtml/master_css.h
 include/litehtml/media_query.h
 include/litehtml/num_cvt.h
 include/litehtml/os_types.h
+include/litehtml/render_block.h
+include/litehtml/render_block_context.h
+include/litehtml/render_flex.h
+include/litehtml/render_image.h
+include/litehtml/render_inline.h
+include/litehtml/render_inline_context.h
+include/litehtml/render_item.h
+include/litehtml/render_table.h
+include/litehtml/string_id.h
 include/litehtml/style.h
 include/litehtml/stylesheet.h
 include/litehtml/table.h
Index: pkgsrc/www/litehtml/distinfo
diff -u pkgsrc/www/litehtml/distinfo:1.3 pkgsrc/www/litehtml/distinfo:1.4
--- pkgsrc/www/litehtml/distinfo:1.3    Wed May 17 08:31:30 2023
+++ pkgsrc/www/litehtml/distinfo        Sat Feb 10 11:03:14 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2023/05/17 08:31:30 wiz Exp $
+$NetBSD: distinfo,v 1.4 2024/02/10 11:03:14 wiz Exp $
 
-BLAKE2s (litehtml-0.6.tar.gz) = 058e1f3d949d5d6969a09148303557e5823c0ee7fbdfb6f7bcce22db49165d50
-SHA512 (litehtml-0.6.tar.gz) = b774ed96e53780865e789875f571f96ebce1cd2ff0c05a06ae68a67aec44375cc282c07f77fc87131d422aceddba32bbf3e8e498c870883d8e042adb30834c39
-Size (litehtml-0.6.tar.gz) = 347790 bytes
-SHA1 (patch-CMakeLists.txt) = a34e567186404f1d93d6ed9baffbc78eb270919f
+BLAKE2s (litehtml-0.9.tar.gz) = bc6f6be278985dd3744990b78cc72f19a1d8db9cda18cfd16cc0fe8969dee908
+SHA512 (litehtml-0.9.tar.gz) = 2a156671b770a6a20ab00184d9869af779248dd1fb898930b3b479ee88d8b7d84f51fdbd689ae4124530ab70c8697b6641cf06b220631ce4fec4622e63845ea3
+Size (litehtml-0.9.tar.gz) = 813293 bytes
+SHA1 (patch-CMakeLists.txt) = 0c69bb659143842747ee79ee918924dada1b9dad
 SHA1 (patch-cmake_litehtmlConfig.cmake) = 0b84f06f87a0c386eefe01d98c8829a122152d98

Index: pkgsrc/www/litehtml/buildlink3.mk
diff -u pkgsrc/www/litehtml/buildlink3.mk:1.1 pkgsrc/www/litehtml/buildlink3.mk:1.2
--- pkgsrc/www/litehtml/buildlink3.mk:1.1       Wed Nov 30 10:24:35 2022
+++ pkgsrc/www/litehtml/buildlink3.mk   Sat Feb 10 11:03:14 2024
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/11/30 10:24:35 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2024/02/10 11:03:14 wiz Exp $
 
 BUILDLINK_TREE+=       litehtml
 
 .if !defined(LITEHTML_BUILDLINK3_MK)
 LITEHTML_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.litehtml+=       litehtml>=0.6
+BUILDLINK_API_DEPENDS.litehtml+=       litehtml>=0.9
 BUILDLINK_PKGSRCDIR.litehtml?=         ../../www/litehtml
 .endif # LITEHTML_BUILDLINK3_MK
 

Index: pkgsrc/www/litehtml/patches/patch-CMakeLists.txt
diff -u pkgsrc/www/litehtml/patches/patch-CMakeLists.txt:1.3 pkgsrc/www/litehtml/patches/patch-CMakeLists.txt:1.4
--- pkgsrc/www/litehtml/patches/patch-CMakeLists.txt:1.3        Wed May 17 08:31:30 2023
+++ pkgsrc/www/litehtml/patches/patch-CMakeLists.txt    Sat Feb 10 11:03:14 2024
@@ -1,13 +1,13 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2023/05/17 08:31:30 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.4 2024/02/10 11:03:14 wiz Exp $
 
 * create shared library
 * Use PRIVATE instead of PUBLIC keyword since we use
   dynamic linking and don't want -lgumbo if requesting
   linkage to litehtml via cmake.
 
---- CMakeLists.txt.orig        2022-04-05 20:49:06.000000000 +0000
+--- CMakeLists.txt.orig        2023-05-18 23:55:10.000000000 +0000
 +++ CMakeLists.txt
-@@ -131,7 +131,7 @@ set(TEST_LITEHTML
+@@ -143,7 +143,7 @@ set(TEST_LITEHTML
  set(PROJECT_LIB_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.0)
  set(PROJECT_SO_VERSION ${PROJECT_MAJOR})
  
@@ -16,8 +16,8 @@ $NetBSD: patch-CMakeLists.txt,v 1.3 2023
  set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_LIB_VERSION} SOVERSION ${PROJECT_SO_VERSION})
  
  set_target_properties(${PROJECT_NAME} PROPERTIES
-@@ -153,7 +153,7 @@ if (LITEHTML_UTF8)
- endif()
+@@ -160,7 +160,7 @@ target_include_directories(${PROJECT_NAM
+ target_include_directories(${PROJECT_NAME} PRIVATE include/${PROJECT_NAME})
  
  # Gumbo
 -target_link_libraries(${PROJECT_NAME} PUBLIC gumbo)



Home | Main Index | Thread Index | Old Index