pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libxo 1.6.0 as wip/libxo
Module Name: pkgsrc-wip
Committed By: Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By: cfkoch
Date: Thu Mar 2 13:09:24 2023 -0800
Changeset: 0ec8971f00d7164343b1f0460165785e193d812e
Modified Files:
Makefile
Added Files:
libxo/DESCR
libxo/Makefile
libxo/PLIST
libxo/distinfo
Log Message:
Import libxo 1.6.0 as wip/libxo
The libxo library allows an application to generate text, XML, JSON, and
HTML output using a common set of function calls. The application decides at
run time which output style should be produced. The application calls a
function "xo_emit" to product output that is described in a format string. A
"field descriptor" tells libxo what the field is and what it means.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0ec8971f00d7164343b1f0460165785e193d812e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libxo/DESCR | 5 +++++
libxo/Makefile | 25 ++++++++++++++++++++++
libxo/PLIST | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
libxo/distinfo | 5 +++++
5 files changed, 101 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 0da5570b5e..88d2fd121f 100644
--- a/Makefile
+++ b/Makefile
@@ -2188,6 +2188,7 @@ SUBDIR+= libwbxml2-patched
SUBDIR+= libxc
SUBDIR+= libxdiff
SUBDIR+= libxml++3
+SUBDIR+= libxo
SUBDIR+= libxtend
SUBDIR+= libyuv-git
SUBDIR+= libzahl
diff --git a/libxo/DESCR b/libxo/DESCR
new file mode 100644
index 0000000000..08e3f57fb2
--- /dev/null
+++ b/libxo/DESCR
@@ -0,0 +1,5 @@
+The libxo library allows an application to generate text, XML, JSON, and
+HTML output using a common set of function calls. The application decides at
+run time which output style should be produced. The application calls a
+function "xo_emit" to product output that is described in a format string. A
+"field descriptor" tells libxo what the field is and what it means.
diff --git a/libxo/Makefile b/libxo/Makefile
new file mode 100644
index 0000000000..75ee748cba
--- /dev/null
+++ b/libxo/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME= libxo-1.6.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Juniper/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+GITHUB_TYPE= release
+
+MAINTAINER= charlotte%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Juniper/libxo
+COMMENT= Library for generating text, XML, JSON, and HTML output
+LICENSE= 2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+USE_TOOLS+= gmake perl:run
+
+REPLACE_PERL+= xolint/xolint.pl
+
+CONFIGURE_ARGS+= MAKE=gmake
+
+post-install:
+ find ${DESTDIR} -type f -name \*.la -delete
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libxo/PLIST b/libxo/PLIST
new file mode 100644
index 0000000000..5a0393aff0
--- /dev/null
+++ b/libxo/PLIST
@@ -0,0 +1,65 @@
+@comment $NetBSD$
+bin/libxo-config
+bin/xo
+bin/xohtml
+bin/xolint
+bin/xopo
+include/libxo/xo.h
+include/libxo/xo_encoder.h
+lib/libxo.a
+lib/libxo.so
+lib/libxo.so.0
+lib/libxo.so.0.0
+lib/libxo/encoder/cbor.enc
+lib/libxo/encoder/csv.enc
+lib/libxo/encoder/libenc_cbor.a
+lib/libxo/encoder/libenc_cbor.so
+lib/libxo/encoder/libenc_cbor.so.0
+lib/libxo/encoder/libenc_cbor.so.0.0
+lib/libxo/encoder/libenc_csv.a
+lib/libxo/encoder/libenc_csv.so
+lib/libxo/encoder/libenc_csv.so.0
+lib/libxo/encoder/libenc_csv.so.0.0
+lib/libxo/encoder/libenc_test.a
+lib/libxo/encoder/libenc_test.so
+lib/libxo/encoder/libenc_test.so.0
+lib/libxo/encoder/libenc_test.so.0.0
+lib/libxo/encoder/test.enc
+lib/pkgconfig/libxo.pc
+man/man1/xo.1
+man/man1/xohtml.1
+man/man1/xolint.1
+man/man1/xopo.1
+man/man3/libxo.3
+man/man3/xo_attr.3
+man/man3/xo_create.3
+man/man3/xo_emit.3
+man/man3/xo_emit_err.3
+man/man3/xo_err.3
+man/man3/xo_error.3
+man/man3/xo_finish.3
+man/man3/xo_flush.3
+man/man3/xo_message.3
+man/man3/xo_no_setlocale.3
+man/man3/xo_open_container.3
+man/man3/xo_open_list.3
+man/man3/xo_open_marker.3
+man/man3/xo_parse_args.3
+man/man3/xo_set_allocator.3
+man/man3/xo_set_flags.3
+man/man3/xo_set_info.3
+man/man3/xo_set_options.3
+man/man3/xo_set_style.3
+man/man3/xo_set_syslog_enterprise_id.3
+man/man3/xo_set_version.3
+man/man3/xo_set_writer.3
+man/man3/xo_syslog.3
+man/man5/xo_format.5
+man/man7/libxo-csv.7
+man/man7/xo_options.7
+share/doc/libxo/Copyright
+share/libxo/external/jquery.js
+share/libxo/external/jquery.qtip.css
+share/libxo/external/jquery.qtip.js
+share/libxo/xohtml.css
+share/libxo/xohtml.js
diff --git a/libxo/distinfo b/libxo/distinfo
new file mode 100644
index 0000000000..531aeda85e
--- /dev/null
+++ b/libxo/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libxo-1.6.0.tar.gz) = 576ff04f55141c9526125954c0831d5f76c6c2100ef45251b344a66e2ab5c768
+SHA512 (libxo-1.6.0.tar.gz) = 3978d0201a7fbdb2618a89f81198f4d0c588cd608ac22fd5282463f17ce4f2238f4cb6915f52637f090e054216fdd2191f95df174d0c83ea44730c8f029cd324
+Size (libxo-1.6.0.tar.gz) = 706853 bytes
Home |
Main Index |
Thread Index |
Old Index