pkgsrc-WIP-changes archive

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

litehtml: update to verson 0.6



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Sun Jul 10 12:04:00 2022 +0200
Changeset:	077ac4b1fc5188f7022c01a496d1cc055dd28678

Modified Files:
	litehtml/Makefile
	litehtml/PLIST
	litehtml/distinfo
	litehtml/patches/patch-CMakeLists.txt

Log Message:
litehtml: update to verson 0.6

Update litehtml to version 0.6.
Keep up to date and use a proper
release tag.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=077ac4b1fc5188f7022c01a496d1cc055dd28678

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

diffstat:
 litehtml/Makefile                     |  8 ++++----
 litehtml/PLIST                        |  4 ++++
 litehtml/distinfo                     |  8 ++++----
 litehtml/patches/patch-CMakeLists.txt | 24 +++---------------------
 4 files changed, 15 insertions(+), 29 deletions(-)

diffs:
diff --git a/litehtml/Makefile b/litehtml/Makefile
index 8b8c27d19e..96d3fa5201 100644
--- a/litehtml/Makefile
+++ b/litehtml/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD$
 
-DISTNAME=	litehtml-0.5.0.20211003
+DISTNAME=	litehtml-0.6
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=litehtml/}
-GITHUB_TAG=	294780d910607850e91f3a066561bbbce03d1aaf
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.litehtml.com/
@@ -14,8 +14,8 @@ USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
 
 CMAKE_ARGS+=	-DEXTERNAL_GUMBO=ON
-
-TOOL_DEPENDS+=	vim-share-[0-9]*:../../editors/vim-share
+# Turn off testing since it installs gtest
+CMAKE_ARGS+=	-DBUILD_TESTING:BOOL=OFF
 
 .include "../../www/gumbo-parser/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/litehtml/PLIST b/litehtml/PLIST
index fc80d41f5e..8ef27a6f6c 100644
--- a/litehtml/PLIST
+++ b/litehtml/PLIST
@@ -3,6 +3,7 @@ include/litehtml/attributes.h
 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
@@ -41,7 +42,10 @@ include/litehtml/os_types.h
 include/litehtml/style.h
 include/litehtml/stylesheet.h
 include/litehtml/table.h
+include/litehtml/tstring_view.h
 include/litehtml/types.h
+include/litehtml/url.h
+include/litehtml/url_path.h
 include/litehtml/utf8_strings.h
 include/litehtml/web_color.h
 lib/cmake/litehtml/litehtmlConfig.cmake
diff --git a/litehtml/distinfo b/litehtml/distinfo
index f4366a5bbe..faf83834d7 100644
--- a/litehtml/distinfo
+++ b/litehtml/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-RMD160 (litehtml-0.5.0.20211003-294780d910607850e91f3a066561bbbce03d1aaf.tar.gz) = 666fd2d0b877c13ee2aa286282b235a54d8537f6
-SHA512 (litehtml-0.5.0.20211003-294780d910607850e91f3a066561bbbce03d1aaf.tar.gz) = 5cd447c5bb9beee2a0363dabd1a89dc0bfea8f60d01ea65f37efdf5f06dcb6a0d18de378aab44ff87042711a9cab3e1e76cb951ed075b91b944d2357a8f49ab7
-Size (litehtml-0.5.0.20211003-294780d910607850e91f3a066561bbbce03d1aaf.tar.gz) = 349241 bytes
-SHA1 (patch-CMakeLists.txt) = c8f6db4ef600a1b0ce132b12c4bf5f0f6fb00011
+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
 SHA1 (patch-cmake_litehtmlConfig.cmake) = 0b84f06f87a0c386eefe01d98c8829a122152d98
diff --git a/litehtml/patches/patch-CMakeLists.txt b/litehtml/patches/patch-CMakeLists.txt
index 43c710634e..d2bd060a50 100644
--- a/litehtml/patches/patch-CMakeLists.txt
+++ b/litehtml/patches/patch-CMakeLists.txt
@@ -4,11 +4,10 @@ $NetBSD$
 * Use PRIVATE instead of PUBLIC keyword since we use
   dynamic linking and don't want -lgumbo if requesting
   linkage to litehtml via cmake.
-* Turn of the test section since it installs gtest
 
---- CMakeLists.txt.orig	2021-09-03 06:59:31.000000000 +0000
+--- CMakeLists.txt.orig	2022-04-05 20:49:06.000000000 +0000
 +++ CMakeLists.txt
-@@ -123,7 +123,7 @@ set(TEST_LITEHTML
+@@ -131,7 +131,7 @@ set(TEST_LITEHTML
  set(PROJECT_LIB_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.0)
  set(PROJECT_SO_VERSION ${PROJECT_MAJOR})
  
@@ -17,7 +16,7 @@ $NetBSD$
  set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_LIB_VERSION} SOVERSION ${PROJECT_SO_VERSION})
  
  set_target_properties(${PROJECT_NAME} PROPERTIES
-@@ -145,7 +145,7 @@ if (LITEHTML_UTF8)
+@@ -153,7 +153,7 @@ if (LITEHTML_UTF8)
  endif()
  
  # Gumbo
@@ -26,20 +25,3 @@ $NetBSD$
  
  # install and export
  install(TARGETS ${PROJECT_NAME}
-@@ -177,7 +177,7 @@ endif()
- set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc PROPERTIES GENERATED TRUE)
- 
- # Tests
--
-+if(OFF)
- include(FetchContent)
- FetchContent_Declare(
-   googletest
-@@ -222,6 +222,7 @@ if (BUILD_TESTING)
-     include(GoogleTest)
-     gtest_discover_tests(${TEST_NAME})
- endif()
-+endif()
- 
- #     set(TEST_NAME ${PROJECT_NAME}_tests)
- #     add_executable(${TEST_NAME} ${TEST_LITEHTML} ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc)


Home | Main Index | Thread Index | Old Index