pkgsrc-WIP-changes archive

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

md4c and litehtml imported to pkgsrc-current



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <youremailsarecrap%gmail.com@localhost>
Pushed By:	nros
Date:		Fri Dec 2 00:45:23 2022 +0100
Changeset:	38443d6e59673a5a031e2cd996f10786b3aee9a5

Modified Files:
	Makefile
Removed Files:
	litehtml/DESCR
	litehtml/Makefile
	litehtml/PLIST
	litehtml/buildlink3.mk
	litehtml/distinfo
	litehtml/patches/patch-CMakeLists.txt
	litehtml/patches/patch-cmake_litehtmlConfig.cmake
	md4c/DESCR
	md4c/Makefile
	md4c/PLIST
	md4c/buildlink3.mk
	md4c/distinfo

Log Message:
md4c and litehtml imported to pkgsrc-current

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

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

diffstat:
 Makefile                                          |  2 -
 litehtml/DESCR                                    |  8 ----
 litehtml/Makefile                                 | 21 ---------
 litehtml/PLIST                                    | 56 -----------------------
 litehtml/buildlink3.mk                            | 12 -----
 litehtml/distinfo                                 |  7 ---
 litehtml/patches/patch-CMakeLists.txt             | 27 -----------
 litehtml/patches/patch-cmake_litehtmlConfig.cmake | 13 ------
 md4c/DESCR                                        |  2 -
 md4c/Makefile                                     | 23 ----------
 md4c/PLIST                                        | 15 ------
 md4c/buildlink3.mk                                | 12 -----
 md4c/distinfo                                     |  5 --
 13 files changed, 203 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index a6194d1cc8..8e07b7a769 100644
--- a/Makefile
+++ b/Makefile
@@ -2287,7 +2287,6 @@ SUBDIR+=	linuxtv-dvb-apps
 SUBDIR+=	lire
 SUBDIR+=	lissac
 SUBDIR+=	litecoin
-SUBDIR+=	litehtml
 SUBDIR+=	lives
 SUBDIR+=	lizardfs
 SUBDIR+=	llilc-git
@@ -2391,7 +2390,6 @@ SUBDIR+=	mce
 SUBDIR+=	mcl
 SUBDIR+=	mctcli
 SUBDIR+=	mcwm
-SUBDIR+=	md4c
 SUBDIR+=	mdadm
 SUBDIR+=	mdbtools
 SUBDIR+=	mdpress
diff --git a/litehtml/DESCR b/litehtml/DESCR
deleted file mode 100644
index fe8906cd4e..0000000000
--- a/litehtml/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-litehtml is the lightweight HTML rendering engine with CSS2/CSS3
-support. Note, litehtml itself does not draw any text, pictures or
-other graphics and litehtml does not depend of any image/draw/font
-library. You are free to use any library to draw images, fonts and
-any other graphics. litehtml just parses HTML/CSS and places the
-HTML elements into right position (renders HTML). To draw the html
-elemens you have to implement the simple callback interface
-document_container.
diff --git a/litehtml/Makefile b/litehtml/Makefile
deleted file mode 100644
index 96d3fa5201..0000000000
--- a/litehtml/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	litehtml-0.6
-CATEGORIES=	www
-MASTER_SITES=	${MASTER_SITE_GITHUB:=litehtml/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://www.litehtml.com/
-COMMENT=	Fast and lightweight HTML/CSS rendering engine
-LICENSE=	modified-bsd
-
-USE_CMAKE=	yes
-USE_LANGUAGES=	c c++
-
-CMAKE_ARGS+=	-DEXTERNAL_GUMBO=ON
-# 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
deleted file mode 100644
index 8ef27a6f6c..0000000000
--- a/litehtml/PLIST
+++ /dev/null
@@ -1,56 +0,0 @@
-@comment $NetBSD$
-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
-include/litehtml/css_offsets.h
-include/litehtml/css_position.h
-include/litehtml/css_selector.h
-include/litehtml/document.h
-include/litehtml/el_anchor.h
-include/litehtml/el_base.h
-include/litehtml/el_before_after.h
-include/litehtml/el_body.h
-include/litehtml/el_break.h
-include/litehtml/el_cdata.h
-include/litehtml/el_comment.h
-include/litehtml/el_div.h
-include/litehtml/el_font.h
-include/litehtml/el_image.h
-include/litehtml/el_link.h
-include/litehtml/el_para.h
-include/litehtml/el_script.h
-include/litehtml/el_space.h
-include/litehtml/el_style.h
-include/litehtml/el_table.h
-include/litehtml/el_td.h
-include/litehtml/el_text.h
-include/litehtml/el_title.h
-include/litehtml/el_tr.h
-include/litehtml/element.h
-include/litehtml/html.h
-include/litehtml/html_tag.h
-include/litehtml/iterators.h
-include/litehtml/litehtml.h
-include/litehtml/media_query.h
-include/litehtml/num_cvt.h
-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
-lib/cmake/litehtml/litehtmlTargets-noconfig.cmake
-lib/cmake/litehtml/litehtmlTargets.cmake
-lib/liblitehtml.so
-lib/liblitehtml.so.0
-lib/liblitehtml.so.0.0.0
diff --git a/litehtml/buildlink3.mk b/litehtml/buildlink3.mk
deleted file mode 100644
index 878e487ec3..0000000000
--- a/litehtml/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	litehtml
-
-.if !defined(LITEHTML_BUILDLINK3_MK)
-LITEHTML_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.litehtml+=	litehtml>=0.4.0.20170407
-BUILDLINK_PKGSRCDIR.litehtml?=		../../wip/litehtml
-.endif	# LITEHTML_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-litehtml
diff --git a/litehtml/distinfo b/litehtml/distinfo
deleted file mode 100644
index faf83834d7..0000000000
--- a/litehtml/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-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
deleted file mode 100644
index d2bd060a50..0000000000
--- a/litehtml/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD$
-
-* 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
-@@ -131,7 +131,7 @@ set(TEST_LITEHTML
- set(PROJECT_LIB_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.0)
- set(PROJECT_SO_VERSION ${PROJECT_MAJOR})
- 
--add_library(${PROJECT_NAME} ${SOURCE_LITEHTML})
-+add_library(${PROJECT_NAME} SHARED ${SOURCE_LITEHTML})
- 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()
- 
- # Gumbo
--target_link_libraries(${PROJECT_NAME} PUBLIC gumbo)
-+target_link_libraries(${PROJECT_NAME} PRIVATE gumbo)
- 
- # install and export
- install(TARGETS ${PROJECT_NAME}
diff --git a/litehtml/patches/patch-cmake_litehtmlConfig.cmake b/litehtml/patches/patch-cmake_litehtmlConfig.cmake
deleted file mode 100644
index 81412c9c85..0000000000
--- a/litehtml/patches/patch-cmake_litehtmlConfig.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
-* The gumbo package does not install cmake packages so this line breaks
-  find_package(litehtml) . This line is not needed when litehtml is used
-  as a shared library.
-
---- cmake/litehtmlConfig.cmake.orig	2021-09-03 06:59:31.000000000 +0000
-+++ cmake/litehtmlConfig.cmake
-@@ -1,3 +1,3 @@
- include(CMakeFindDependencyMacro)
--find_dependency(gumbo)
-+#find_dependency(gumbo)
- include(${CMAKE_CURRENT_LIST_DIR}/litehtmlTargets.cmake)
diff --git a/md4c/DESCR b/md4c/DESCR
deleted file mode 100644
index 6ce9414232..0000000000
--- a/md4c/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-MD4C stands for "Markdown for C" and is a markdown parser available as a library
-and markdown to html commandline converter.
diff --git a/md4c/Makefile b/md4c/Makefile
deleted file mode 100644
index 8423ad3c2d..0000000000
--- a/md4c/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD$
-
-GITHUB_PROJECT=	md4c
-GITHUB_TAG=	release-0.4.8
-DISTNAME=	${GITHUB_PROJECT}-${GITHUB_TAG}
-PKGNAME=	${DISTNAME:S/release-//}
-CATEGORIES=	textproc converters
-MASTER_SITES=	${MASTER_SITE_GITHUB:=mity/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/mity/md4c/
-COMMENT=	Markdown for C library and parser
-LICENSE=	mit
-
-WRKSRC=		${WRKDIR}/md4c-release-${PKGVERSION_NOREV}
-USE_CMAKE=	yes
-USE_TOOLS+=	pkg-config
-
-PKGCONFIG_OVERRIDE+=	src/md4c-html.pc.in
-PKGCONFIG_OVERRIDE+=	src/md4c.pc.in
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/md4c/PLIST b/md4c/PLIST
deleted file mode 100644
index 64822b105b..0000000000
--- a/md4c/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $NetBSD$
-bin/md2html
-include/md4c-html.h
-include/md4c.h
-lib/cmake/md4c/md4cConfig-release.cmake
-lib/cmake/md4c/md4cConfig.cmake
-lib/libmd4c-html.so
-lib/libmd4c-html.so.0
-lib/libmd4c-html.so.${PKGVERSION}
-lib/libmd4c.so
-lib/libmd4c.so.0
-lib/libmd4c.so.${PKGVERSION}
-lib/pkgconfig/md4c-html.pc
-lib/pkgconfig/md4c.pc
-man/man1/md2html.1
diff --git a/md4c/buildlink3.mk b/md4c/buildlink3.mk
deleted file mode 100644
index 3562a21a55..0000000000
--- a/md4c/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	md4c
-
-.if !defined(MD4C_BUILDLINK3_MK)
-MD4C_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.md4c+=	md4c>=0.4.7
-BUILDLINK_PKGSRCDIR.md4c?=	../../wip/md4c
-.endif	# MD4C_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-md4c
diff --git a/md4c/distinfo b/md4c/distinfo
deleted file mode 100644
index 97209cd38f..0000000000
--- a/md4c/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-RMD160 (md4c/md4c-release-0.4.8.tar.gz) = ab09246d6a0d487cd627cef5c3e9ef1202448caa
-SHA512 (md4c/md4c-release-0.4.8.tar.gz) = c939fdadf3e05c32c570cf9a5c0a02f83afaf4dfacf0f4505fcf12c6e24ffe0cd1372c207ff47cf2a489b02f24c5f20bb5f1361453c847c5464225cc7fcdb5ab
-Size (md4c/md4c-release-0.4.8.tar.gz) = 229471 bytes


Home | Main Index | Thread Index | Old Index