pkgsrc-WIP-changes archive

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

litehtml: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Apr 17 01:16:04 2017 +0200
Changeset:	88f909f047dfd0fec05b8d1a737358640f6fb556

Modified Files:
	Makefile
Added Files:
	litehtml/DESCR
	litehtml/Makefile
	litehtml/PLIST
	litehtml/buildlink3.mk
	litehtml/distinfo

Log Message:
litehtml: add new package

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.

Untested, since no user in pkgsrc yet, but gnucash might use this
in the future.

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

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

diffstat:
 Makefile               | 16 +++++++++++++---
 litehtml/DESCR         |  8 ++++++++
 litehtml/Makefile      | 23 +++++++++++++++++++++++
 litehtml/PLIST         | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 litehtml/buildlink3.mk | 13 +++++++++++++
 litehtml/distinfo      |  6 ++++++
 6 files changed, 109 insertions(+), 3 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index d6887b8662..695782465c 100644
--- a/Makefile
+++ b/Makefile
@@ -229,6 +229,7 @@ SUBDIR+=	bitcoin
 SUBDIR+=	bitkeeper
 SUBDIR+=	bitlbee
 SUBDIR+=	bkchem
+SUBDIR+=	blad
 SUBDIR+=	blasr
 SUBDIR+=	blasr_libcpp
 SUBDIR+=	bleachbit
@@ -605,8 +606,8 @@ SUBDIR+=	e17
 SUBDIR+=	e2fsprogs
 SUBDIR+=	e3
 SUBDIR+=	e_dbus
-SUBDIR+=	easymesh
 SUBDIR+=	easy-rsa
+SUBDIR+=	easymesh
 SUBDIR+=	eboard-extras
 SUBDIR+=	ecasound
 SUBDIR+=	ecb
@@ -1001,6 +1002,7 @@ SUBDIR+=	godura
 SUBDIR+=	gonepass-git
 SUBDIR+=	google-perftools
 SUBDIR+=	googlecl
+SUBDIR+=	gopkgdep
 SUBDIR+=	gpak
 SUBDIR+=	gplbasic
 SUBDIR+=	gpsdrive
@@ -1659,6 +1661,7 @@ SUBDIR+=	libksysguard
 SUBDIR+=	liblingoteach
 SUBDIR+=	libltc
 SUBDIR+=	liblxqt
+SUBDIR+=	libmesode
 SUBDIR+=	libmesode-git
 SUBDIR+=	libmirisdr-git
 SUBDIR+=	libmpg123
@@ -1763,6 +1766,7 @@ SUBDIR+=	linuxtv-dvb-apps
 SUBDIR+=	lire
 SUBDIR+=	lissac
 SUBDIR+=	litecoin
+SUBDIR+=	litehtml
 SUBDIR+=	lives
 SUBDIR+=	lizardfs
 SUBDIR+=	lld
@@ -2209,7 +2213,6 @@ SUBDIR+=	p5-Arch
 SUBDIR+=	p5-Astro-SpaceTrack
 SUBDIR+=	p5-B-Deobfuscate
 SUBDIR+=	p5-Bit-Vector-Minimal
-SUBDIR+=	p5-Carp
 SUBDIR+=	p5-CGI-Application-Dispatch
 SUBDIR+=	p5-CGI-Application-Plugin-AutoRunmode
 SUBDIR+=	p5-CGI-Application-Plugin-ConfigAuto
@@ -2229,6 +2232,7 @@ SUBDIR+=	p5-CGI-Untaint
 SUBDIR+=	p5-CGI-Untaint-date
 SUBDIR+=	p5-CGI-Untaint-email
 SUBDIR+=	p5-Cache-Mmap
+SUBDIR+=	p5-Carp
 SUBDIR+=	p5-Catalyst-Action-REST
 SUBDIR+=	p5-Catalyst-Component-InstancePerContext
 SUBDIR+=	p5-Catalyst-Controller-DBIC-API
@@ -2530,6 +2534,7 @@ SUBDIR+=	pessulus
 SUBDIR+=	petsc
 SUBDIR+=	pgp6
 SUBDIR+=	pgplot
+SUBDIR+=	pgstudio
 SUBDIR+=	phaethon
 SUBDIR+=	phalanx
 SUBDIR+=	phantomjs
@@ -2764,7 +2769,6 @@ SUBDIR+=	py-bitarray
 SUBDIR+=	py-bitsets
 SUBDIR+=	py-bitstring
 SUBDIR+=	py-blaze
-SUBDIR+=	py-blessings
 SUBDIR+=	py-blosc
 SUBDIR+=	py-bloscpack
 SUBDIR+=	py-bokeh
@@ -2783,6 +2787,7 @@ SUBDIR+=	py-cameo
 SUBDIR+=	py-captcha
 SUBDIR+=	py-cartopy
 SUBDIR+=	py-causalinfo
+SUBDIR+=	py-causality
 SUBDIR+=	py-cbc
 SUBDIR+=	py-ccdproc
 SUBDIR+=	py-cclib
@@ -2934,6 +2939,7 @@ SUBDIR+=	py-ecos
 SUBDIR+=	py-ecspy
 SUBDIR+=	py-editor
 SUBDIR+=	py-eemeter
+SUBDIR+=	py-eigency
 SUBDIR+=	py-embedc
 SUBDIR+=	py-emcee
 SUBDIR+=	py-emmsa
@@ -2953,6 +2959,7 @@ SUBDIR+=	py-eventlet
 SUBDIR+=	py-exocode
 SUBDIR+=	py-extremes
 SUBDIR+=	py-faker
+SUBDIR+=	py-fancyimpute
 SUBDIR+=	py-fanova
 SUBDIR+=	py-fastaudio
 SUBDIR+=	py-fatiando
@@ -3158,6 +3165,7 @@ SUBDIR+=	py-logilab-mtconverter
 SUBDIR+=	py-logilab-pigg
 SUBDIR+=	py-logtools
 SUBDIR+=	py-louie
+SUBDIR+=	py-louvain
 SUBDIR+=	py-lrparsing
 SUBDIR+=	py-lru-dict
 SUBDIR+=	py-lsqfit
@@ -3181,6 +3189,7 @@ SUBDIR+=	py-mcview
 SUBDIR+=	py-mdanalysis
 SUBDIR+=	py-mdp
 SUBDIR+=	py-mdptoolbox
+SUBDIR+=	py-mdtraj
 SUBDIR+=	py-meigo
 SUBDIR+=	py-mendeleev
 SUBDIR+=	py-meshio
@@ -3527,6 +3536,7 @@ SUBDIR+=	py-speex
 SUBDIR+=	py-speview
 SUBDIR+=	py-spfpm
 SUBDIR+=	py-sphereTS
+SUBDIR+=	py-sphinxcontrib-bibtex
 SUBDIR+=	py-sphinxreport
 SUBDIR+=	py-sphviewer
 SUBDIR+=	py-spm1d
diff --git a/litehtml/DESCR b/litehtml/DESCR
new file mode 100644
index 0000000000..fe8906cd4e
--- /dev/null
+++ b/litehtml/DESCR
@@ -0,0 +1,8 @@
+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
new file mode 100644
index 0000000000..0bc4be6059
--- /dev/null
+++ b/litehtml/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	litehtml-0.4.0.20170407
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=litehtml/}
+GITHUB_TAG=	d7cc6abfe1141770718404aaf9b17db80ed3f196
+
+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++
+
+INSTALLATION_DIRS=	include/litehtml/litehtml include/litehtml/src lib
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/include/litehtml.h ${DESTDIR}${PREFIX}/include/litehtml/litehtml
+	${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include/litehtml/src
+	${INSTALL_LIB} ${WRKSRC}/liblitehtml.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/litehtml/PLIST b/litehtml/PLIST
new file mode 100644
index 0000000000..682a5d0c08
--- /dev/null
+++ b/litehtml/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD$
+include/litehtml/litehtml/litehtml.h
+include/litehtml/src/attributes.h
+include/litehtml/src/background.h
+include/litehtml/src/borders.h
+include/litehtml/src/box.h
+include/litehtml/src/context.h
+include/litehtml/src/css_length.h
+include/litehtml/src/css_margins.h
+include/litehtml/src/css_offsets.h
+include/litehtml/src/css_position.h
+include/litehtml/src/css_selector.h
+include/litehtml/src/document.h
+include/litehtml/src/el_anchor.h
+include/litehtml/src/el_base.h
+include/litehtml/src/el_before_after.h
+include/litehtml/src/el_body.h
+include/litehtml/src/el_break.h
+include/litehtml/src/el_cdata.h
+include/litehtml/src/el_comment.h
+include/litehtml/src/el_div.h
+include/litehtml/src/el_font.h
+include/litehtml/src/el_image.h
+include/litehtml/src/el_link.h
+include/litehtml/src/el_para.h
+include/litehtml/src/el_script.h
+include/litehtml/src/el_space.h
+include/litehtml/src/el_style.h
+include/litehtml/src/el_table.h
+include/litehtml/src/el_td.h
+include/litehtml/src/el_text.h
+include/litehtml/src/el_title.h
+include/litehtml/src/el_tr.h
+include/litehtml/src/element.h
+include/litehtml/src/html.h
+include/litehtml/src/html_tag.h
+include/litehtml/src/iterators.h
+include/litehtml/src/media_query.h
+include/litehtml/src/os_types.h
+include/litehtml/src/style.h
+include/litehtml/src/stylesheet.h
+include/litehtml/src/table.h
+include/litehtml/src/types.h
+include/litehtml/src/utf8_strings.h
+include/litehtml/src/web_color.h
+lib/liblitehtml.a
diff --git a/litehtml/buildlink3.mk b/litehtml/buildlink3.mk
new file mode 100644
index 0000000000..5750d05a49
--- /dev/null
+++ b/litehtml/buildlink3.mk
@@ -0,0 +1,13 @@
+# $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
+BUILDLINK_DEPMETHOD.litehtml?=	build
+.endif	# LITEHTML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-litehtml
diff --git a/litehtml/distinfo b/litehtml/distinfo
new file mode 100644
index 0000000000..84a78a3772
--- /dev/null
+++ b/litehtml/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (litehtml-0.4.0.20170407-d7cc6abfe1141770718404aaf9b17db80ed3f196.tar.gz) = a26139518cee73b1556f1f2b7919f4706dd1bf1c
+RMD160 (litehtml-0.4.0.20170407-d7cc6abfe1141770718404aaf9b17db80ed3f196.tar.gz) = 5843dedcef53612ac85861deb1e3bda9ab179f29
+SHA512 (litehtml-0.4.0.20170407-d7cc6abfe1141770718404aaf9b17db80ed3f196.tar.gz) = f63b143e6304c2dfe1f1816478c18b6b648c85996a3374c127783cf8fb1620e55b79959a52858076fa55084948b9607114cecad6ed24adee63b10bb170832f8f
+Size (litehtml-0.4.0.20170407-d7cc6abfe1141770718404aaf9b17db80ed3f196.tar.gz) = 316230 bytes


Home | Main Index | Thread Index | Old Index