From e1c45d5eb9cc7dd6b4e29db8228d0ec70c0a92bd Mon Sep 17 00:00:00 2001 From: "Daisuke Fujimura (fd0)" Date: Thu, 1 Dec 2016 08:43:54 +0900 Subject: [PATCH] jsmn-0+git20161012 --- jsmn/README | 35 ++++----- ...ygport => jsmn-0+git20161012-1bl1.cygport} | 4 +- jsmn/jsmn-0+git20161012-1bl1.src.patch | 68 ++++++++++++++++++ jsmn/jsmn-0+hg20141219-1bl1.src.patch | 71 ------------------- 4 files changed, 89 insertions(+), 89 deletions(-) rename jsmn/{jsmn-0+hg20141219-1bl1.cygport => jsmn-0+git20161012-1bl1.cygport} (91%) create mode 100644 jsmn/jsmn-0+git20161012-1bl1.src.patch delete mode 100644 jsmn/jsmn-0+hg20141219-1bl1.src.patch diff --git a/jsmn/README b/jsmn/README index c72609b26..eb1d39867 100644 --- a/jsmn/README +++ b/jsmn/README @@ -4,40 +4,41 @@ jsmn is a minimalistic library for parsing JSON data format. It can be easily used in small projects or can be integrated into embedded systems. Runtime requirements: - cygwin-2.0.2-1 - libjsmn-devel-0+hg20141219-1bl1 - libjsmn0-0+hg20141219-1bl1 + cygwin-2.6.0-1 + libjsmn-devel-0+git20161012-1bl1 + libjsmn0-0+git20161012-1bl1 + pkg-config-0.29.1-1 Build requirements: (besides corresponding -devel packages) autoconf-13-1 automake-9-1 - binutils-2.25-2 - cygport-0.20.0-1 - gcc-core-4.9.2-3 - libtool-2.4.6-1 - make-4.1-1 + binutils-2.25-4 + cygport-0.23.0-1 + gcc-core-5.4.0-1 + libtool-2.4.6-4 + make-4.2.1-1 Canonical website: http://zserge.com/jsmn.html Canonical download: - http://bitbucket.org/zserge/jsmn + https://github.com/zserge/jsmn ------------------------------------------- Build instructions: - 1. unpack jsmn-0+hg20141219-X-src.tar.xz + 1. unpack jsmn-0+git20161012-X-src.tar.xz 2. if you use setup to install this src package, it will be unpacked under /usr/src automatically % cd /usr/src - % cygport ./jsmn-0+hg20141219-X.cygport all + % cygport ./jsmn-0+git20161012-X.cygport all This will create: - /usr/src/jsmn-0+hg20141219-X-src.tar.xz - /usr/src/jsmn-0+hg20141219-X.tar.xz - /usr/src/libjsmn0-0+hg20141219-X.tar.xz - /usr/src/libjsmn-devel-0+hg20141219-X.tar.xz + /usr/src/jsmn-0+git20161012-X-src.tar.xz + /usr/src/jsmn-0+git20161012-X.tar.xz + /usr/src/libjsmn0-0+git20161012-X.tar.xz + /usr/src/libjsmn-devel-0+git20161012-X.tar.xz ------------------------------------------- @@ -60,6 +61,8 @@ Files included in the binary package: Port Notes: +----- version 0+git20161012-1bl1 ----- +Version bump. + ----- version 0+hg20141219-1bl1 ----- Initial release by fd0 - diff --git a/jsmn/jsmn-0+hg20141219-1bl1.cygport b/jsmn/jsmn-0+git20161012-1bl1.cygport similarity index 91% rename from jsmn/jsmn-0+hg20141219-1bl1.cygport rename to jsmn/jsmn-0+git20161012-1bl1.cygport index b7b2e1df8..269d0ab82 100644 --- a/jsmn/jsmn-0+hg20141219-1bl1.cygport +++ b/jsmn/jsmn-0+git20161012-1bl1.cygport @@ -1,12 +1,12 @@ HOMEPAGE="http://zserge.com/${PN}.html" -HG_URI="http://bitbucket.org/zserge/${PN}" +GIT_URI="https://github.com/zserge/${PN}" CATEGORY="Libs" SUMMARY="Minimalistic JSON parser in C" DESCRIPTION="jsmn is a minimalistic library for parsing JSON data format. It can be easily used in small projects or can be integrated into embedded systems." -inherit hg +inherit git DOCS=" README.md diff --git a/jsmn/jsmn-0+git20161012-1bl1.src.patch b/jsmn/jsmn-0+git20161012-1bl1.src.patch new file mode 100644 index 000000000..3db577f03 --- /dev/null +++ b/jsmn/jsmn-0+git20161012-1bl1.src.patch @@ -0,0 +1,68 @@ +--- origsrc/jsmn/Makefile.am 1970-01-01 09:00:00.000000000 +0900 ++++ src/jsmn/Makefile.am 2016-12-01 08:31:52.525857100 +0900 +@@ -0,0 +1,21 @@ ++ ++noinst_PROGRAMS = simple jsondump ++simple_SOURCES = example/simple.c ++simple_LDADD = libjsmn.la ++jsondump_SOURCES = example/jsondump.c ++jsondump_LDADD = libjsmn.la ++ ++check_PROGRAMS = jsmn_test ++jsmn_test_SOURCES = test/tests.c ++jsmn_test_LDADD = libjsmn.la ++ ++TESTS = $(check_PROGRAMS) ++ ++include_HEADERS = jsmn.h ++ ++lib_LTLIBRARIES = libjsmn.la ++libjsmn_la_SOURCES = jsmn.c ++libjsmn_la_LDFLAGS = -no-undefined ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = $(PACKAGE).pc +--- origsrc/jsmn/configure.ac 1970-01-01 09:00:00.000000000 +0900 ++++ src/jsmn/configure.ac 2016-12-01 08:27:19.249571500 +0900 +@@ -0,0 +1,28 @@ ++# -*- Autoconf -*- ++# Process this file with autoconf to produce a configure script. ++ ++AC_PREREQ([2.69]) ++AC_INIT([jsmn], [0]) ++AC_CONFIG_SRCDIR([jsmn.c]) ++AC_CONFIG_HEADERS([config.h]) ++AM_INIT_AUTOMAKE([subdir-objects]) ++ ++# Checks for programs. ++AC_PROG_CC ++LT_INIT ++ ++# Checks for libraries. ++ ++# Checks for header files. ++AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) ++ ++# Checks for typedefs, structures, and compiler characteristics. ++AC_TYPE_SIZE_T ++ ++# Checks for library functions. ++AC_FUNC_MALLOC ++AC_FUNC_REALLOC ++AC_CHECK_FUNCS([memset]) ++ ++AC_CONFIG_FILES([jsmn.pc Makefile]) ++AC_OUTPUT +--- origsrc/jsmn/jsmn.pc.in 1970-01-01 09:00:00.000000000 +0900 ++++ src/jsmn/jsmn.pc.in 2016-12-01 08:27:19.253493400 +0900 +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: jsmn ++Description: Minimalistic JSON parser in C ++Version: @VERSION@ ++Libs: -L${libdir} -ljsmn ++Cflags: -I${includedir} diff --git a/jsmn/jsmn-0+hg20141219-1bl1.src.patch b/jsmn/jsmn-0+hg20141219-1bl1.src.patch deleted file mode 100644 index 8cb252202..000000000 --- a/jsmn/jsmn-0+hg20141219-1bl1.src.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/jsmn/Makefile.am src/jsmn/Makefile.am ---- origsrc/jsmn/Makefile.am 1970-01-01 09:00:00.000000000 +0900 -+++ src/jsmn/Makefile.am 2015-06-01 22:24:40.974757900 +0900 -@@ -0,0 +1,21 @@ -+ -+noinst_PROGRAMS = simple jsondump -+simple_SOURCES = example/simple.c -+simple_LDADD = libjsmn.la -+jsondump_SOURCES = example/jsondump.c -+jsondump_LDADD = libjsmn.la -+ -+check_PROGRAMS = jsmn_test -+jsmn_test_SOURCES = jsmn_test.c -+jsmn_test_LDADD = libjsmn.la -+ -+TESTS = $(check_PROGRAMS) -+ -+include_HEADERS = jsmn.h -+ -+lib_LTLIBRARIES = libjsmn.la -+libjsmn_la_SOURCES = jsmn.c -+libjsmn_la_LDFLAGS = -no-undefined -+ -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA = $(PACKAGE).pc -diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/jsmn/configure.ac src/jsmn/configure.ac ---- origsrc/jsmn/configure.ac 1970-01-01 09:00:00.000000000 +0900 -+++ src/jsmn/configure.ac 2015-06-01 22:21:46.530928500 +0900 -@@ -0,0 +1,28 @@ -+# -*- Autoconf -*- -+# Process this file with autoconf to produce a configure script. -+ -+AC_PREREQ([2.69]) -+AC_INIT([jsmn], [0]) -+AC_CONFIG_SRCDIR([jsmn.c]) -+AC_CONFIG_HEADERS([config.h]) -+AM_INIT_AUTOMAKE([subdir-objects]) -+ -+# Checks for programs. -+AC_PROG_CC -+LT_INIT -+ -+# Checks for libraries. -+ -+# Checks for header files. -+AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) -+ -+# Checks for typedefs, structures, and compiler characteristics. -+AC_TYPE_SIZE_T -+ -+# Checks for library functions. -+AC_FUNC_MALLOC -+AC_FUNC_REALLOC -+AC_CHECK_FUNCS([memset]) -+ -+AC_CONFIG_FILES([jsmn.pc Makefile]) -+AC_OUTPUT -diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/jsmn/jsmn.pc.in src/jsmn/jsmn.pc.in ---- origsrc/jsmn/jsmn.pc.in 1970-01-01 09:00:00.000000000 +0900 -+++ src/jsmn/jsmn.pc.in 2015-06-01 22:21:46.470891700 +0900 -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: jsmn -+Description: Minimalistic JSON parser in C -+Version: @VERSION@ -+Libs: -L${libdir} -ljsmn -+Cflags: -I${includedir}