pkgsrc-WIP-changes archive

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

wjelement: Import wip/wjelement as wjelement-1.1.0



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <Tr%visPaul.me@localhost>
Pushed By:	tpaul
Date:		Sun Oct 18 04:10:17 2015 +0000
Changeset:	9dc1f71d3a4cbc0e870d039b430ccf3834472bd8

Modified Files:
	Makefile
Added Files:
	wjelement/DESCR
	wjelement/Makefile
	wjelement/PLIST
	wjelement/TODO
	wjelement/distinfo
	wjelement/patches/patch-CMakeLists.txt
	wjelement/patches/patch-src_wjelement_CMakeLists.txt

Log Message:
wjelement: Import wip/wjelement as wjelement-1.1.0

WJElement is a flexible JSON library that provides complete JSON-schema
draft v3 validation and working (but incomplete) v4 support.

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

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

diffstat:
 Makefile                                           |  1 +
 wjelement/DESCR                                    |  1 +
 wjelement/Makefile                                 | 19 ++++++++++++++++
 wjelement/PLIST                                    | 26 ++++++++++++++++++++++
 wjelement/TODO                                     | 10 +++++++++
 wjelement/distinfo                                 |  7 ++++++
 wjelement/patches/patch-CMakeLists.txt             | 21 +++++++++++++++++
 .../patches/patch-src_wjelement_CMakeLists.txt     | 22 ++++++++++++++++++
 8 files changed, 107 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f8d3969..43a90f2 100644
--- a/Makefile
+++ b/Makefile
@@ -3925,6 +3925,7 @@ SUBDIR+=	wings
 SUBDIR+=	winwrangler
 SUBDIR+=	wireless-tools
 SUBDIR+=	wise2
+SUBDIR+=	wjelement
 SUBDIR+=	wkhtmltopdf
 SUBDIR+=	wklejto
 SUBDIR+=	wl-current
diff --git a/wjelement/DESCR b/wjelement/DESCR
new file mode 100644
index 0000000..0a46fed
--- /dev/null
+++ b/wjelement/DESCR
@@ -0,0 +1 @@
+Advanced, flexible JSON manipulation in C
diff --git a/wjelement/Makefile b/wjelement/Makefile
new file mode 100644
index 0000000..1295d03
--- /dev/null
+++ b/wjelement/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+# vim: noexpandtab:
+
+GITHUB_PROJECT=	wjelement
+DISTNAME=	v1.1
+PKGNAME=	${GITHUB_PROJECT}-1.1.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=netmail-open/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	Tr%visPaul.me@localhost
+HOMEPAGE=	${MASTER_SITE_GITHUB:=netmail-open/wjelement/}
+COMMENT=	Flexible JSON manipulation and schema validataion in C
+LICENSE=	gnu-lgpl-v2
+
+WRKSRC=		${WRKDIR}/wjelement-1.1
+USE_CMAKE=	yes
+
+.include	"../../mk/bsd.pkg.mk"
diff --git a/wjelement/PLIST b/wjelement/PLIST
new file mode 100644
index 0000000..33283dc
--- /dev/null
+++ b/wjelement/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/wje
+bin/wjecli
+include/hulautil.h
+include/memmgr.h
+include/wjelement.h
+include/wjreader.h
+include/wjwriter.h
+include/xpl.h
+lib/libwjelement.so
+lib/libwjelement.so.1
+lib/libwjelement.so.1.0.0
+lib/libwjreader.so
+lib/libwjreader.so.1
+lib/libwjreader.so.1.0.0
+lib/libwjwriter.so
+lib/libwjwriter.so.1
+lib/libwjwriter.so.1.0.0
+lib/libxpl.so
+lib/libxpl.so.1
+lib/libxpl.so.1.0.0
+lib/pkgconfig/wjelement.pc
+share/doc/wjelement/index.html
+share/doc/wjelement/wjelement.html
+share/doc/wjelement/wjreader.html
+share/doc/wjelement/wjwriter.html
diff --git a/wjelement/TODO b/wjelement/TODO
new file mode 100644
index 0000000..19a8ac7
--- /dev/null
+++ b/wjelement/TODO
@@ -0,0 +1,10 @@
+Don't install doc to /doc,  see CMakeList.txt:62
+
+Is this warning OK?
+
+  MACOSX_RPATH is not specified for the following targets:
+
+   wjelement
+   wjreader
+   wjwriter
+   xpl
diff --git a/wjelement/distinfo b/wjelement/distinfo
new file mode 100644
index 0000000..773de0c
--- /dev/null
+++ b/wjelement/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (wjelement/v1.1.tar.gz) = f83c836e69079320160278c01feb706b7dd283c4
+RMD160 (wjelement/v1.1.tar.gz) = 084f96f2c9afdada5ca459c4203b0c093390a50e
+Size (wjelement/v1.1.tar.gz) = 80362 bytes
+SHA1 (patch-CMakeLists.txt) = 8f61ca825e771ac383ffaf8a5dc69a136cd0598f
+SHA1 (patch-src_wjelement_CMakeLists.txt) = 9a8cf17fd14ca1d95f3ed832447224b52deda402
diff --git a/wjelement/patches/patch-CMakeLists.txt b/wjelement/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000..08b3f65
--- /dev/null
+++ b/wjelement/patches/patch-CMakeLists.txt
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Don't require a C++ Compiler or USE_LANGUAGES=c++ and install docs in share/doc
+
+--- CMakeLists.txt.orig	2015-06-03 22:52:12.000000000 +0000
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-project(WJElement)
++project(WJElement C)
+ cmake_minimum_required(VERSION 2.6)
+ include(CheckIncludeFiles)
+ include(CheckSymbolExists)
+@@ -59,7 +59,7 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TR
+ ENABLE_TESTING(1)
+ 
+ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/documentation/
+-	DESTINATION doc/wjelement/
++	DESTINATION share/doc/wjelement/
+ )
+ 
+ include_directories(include)
diff --git a/wjelement/patches/patch-src_wjelement_CMakeLists.txt b/wjelement/patches/patch-src_wjelement_CMakeLists.txt
new file mode 100644
index 0000000..0a9996e
--- /dev/null
+++ b/wjelement/patches/patch-src_wjelement_CMakeLists.txt
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Prevent undefined symbol errors when linking wjelement shared object
+
+--- src/wjelement/CMakeLists.txt.orig	2015-06-03 22:52:12.000000000 +0000
++++ src/wjelement/CMakeLists.txt
+@@ -11,6 +11,8 @@ target_link_libraries(wjelement
+ 	wjreader
+ 	wjwriter
+ 	xpl
++    socket
++    nsl
+ 	${ALL_LIBS}
+ )
+ 
+@@ -59,4 +61,4 @@ add_test(WJElement:PutMultipleValues	${E
+ add_test(WJElement:Append				${EXECUTABLE_OUTPUT_PATH}/wjeunit append		)
+ add_test(WJElement:Conditions			${EXECUTABLE_OUTPUT_PATH}/wjeunit conditions	)
+ add_test(WJElement:Optionals			${EXECUTABLE_OUTPUT_PATH}/wjeunit optionals		)
+-add_test(WJElement:Defaults				${EXECUTABLE_OUTPUT_PATH}/wjeunit defaults		)
+\ No newline at end of file
++add_test(WJElement:Defaults				${EXECUTABLE_OUTPUT_PATH}/wjeunit defaults		)


Home | Main Index | Thread Index | Old Index