package/upmpdcli: bump to version 1.2.8
PATCH 1/1 package/upmpdcli: bump to version 1.2.8
Remove patches applied upstream. As we are not touching configure.ac or Makefile.am anymore there is no need for AUTORECONF.
Signed-off-by J?rg Krause <[email protected]>
--- package/upmpdcli/0001-fix-jsoncpp-detection.patch | 90 ----------------- .../0002-use-pkg-config-for-libupnpp.patch | 66 ------------- ...including-header-file-log.h-from-libupnpp.patch | 110 --------------------- ...ig-for-jsoncpp-libmpdclient-libmicrohttpd.patch | 105 -------------------- package/upmpdcli/upmpdcli.hash | 2 +- package/upmpdcli/upmpdcli.mk | 6 +- 6 files changed, 2 insertions(+), 377 deletions(-) delete mode 100644 package/upmpdcli/0001-fix-jsoncpp-detection.patch delete mode 100644 package/upmpdcli/0002-use-pkg-config-for-libupnpp.patch delete mode 100644 package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch delete mode 100644 package/upmpdcli/0004-Use-pkg-config-for-jsoncpp-libmpdclient-libmicrohttpd.patch
package/upmpdcli/0001-fix-jsoncpp-detection.patch deleted +0 -90
@@ -1,90 +0,0 @@ -From 25762953c019ca0c5a047a5fa28f1fe6c78c731a Mon Sep 17 00:00:00 2001 -From: Jean-Francois Dockes <[email protected]> -Date: Sun, 11 Sep 2016 13:43:28 +0200 -Subject: [PATCH] fix jsoncpp detection -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The default installation path for the header files is {prefix}/json, but some -system prefers to install the headers in {prefix}/jsoncpp/json. - -This patch from upstream handles both cases now when checking for the jsoncpp -library. - -The patch is squashed of two commits from upstream: -1/ aba96db0cfe8a2e5c825f4448c0ad184e21b50e1 -2/ ce144f19a8c2e8c1e0ec3fe53699e874e5eb43fe - -Signed-off-by: J?rg Krause <[email protected]> ---- - configure.ac | 8 +++++++- - src/config.h.in | 6 ++++++ - src/mediaserver/cdplugins/plgwithslave.cxx | 5 +++++ - 3 files changed, 18 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index f191ad7..108dcce 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -43,9 +43,15 @@ SCCTL_LIBS=$LIBS - AC_CHECK_LIB([microhttpd], [MHD_queue_response], [], []) - - AC_LANG_PUSH([C++]) -+ -+AC_CHECK_HEADERS(json/json.h jsoncpp/json/json.h) - LIBS="$LIBS -ljsoncpp" - AC_LINK_IFELSE([AC_LANG_PROGRAM( -- [#include <jsoncpp/json/json.h>], [Json::Features dummy])], -+ [[#ifdef HAVE_JSONCPP_JSON_JSON_H -+ #include <jsoncpp/json/json.h> -+ #else -+ #include <json/json.h> -+ #endif]], [Json::Features dummy])], - [HAVE_JSONCPP=1], - [AC_MSG_ERROR([libjsoncpp not found.])]) - AC_LANG_POP -diff --git a/src/config.h.in b/src/config.h.in -index 1350308..0a33e15 100644 ---- a/src/config.h.in -+++ b/src/config.h.in -@@ -3,6 +3,12 @@ - /* Define to 1 if you have the <inttypes.h> header file. */ - #undef HAVE_INTTYPES_H - -+/* Define to 1 if you have the <jsoncpp/json/json.h> header file. */ -+#undef HAVE_JSONCPP_JSON_JSON_H -+ -+/* Define to 1 if you have the <json/json.h> header file. */ -+#undef HAVE_JSON_JSON_H -+ - /* Define to 1 if you have the `microhttpd' library (-lmicrohttpd). */ - #undef HAVE_LIBMICROHTTPD - -diff --git a/src/mediaserver/cdplugins/plgwithslave.cxx b/src/mediaserver/cdplugins/plgwithslave.cxx -index 04f0544..545805c 100644 ---- a/src/mediaserver/cdplugins/plgwithslave.cxx -+++ b/src/mediaserver/cdplugins/plgwithslave.cxx -@@ -14,6 +14,7 @@ - * Free Software Foundation, Inc., - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -+#include "config.h" - - #include "plgwithslave.hxx" - -@@ -25,7 +26,11 @@ - #include <string.h> - #include <upnp/upnp.h> - #include <microhttpd.h> -+#ifdef HAVE_JSONCPP_JSON_JSON_H - #include <jsoncpp/json/json.h> -+#else -+#include <json/json.h> -+#endif - - #include "cmdtalk.h" - #include "pathut.h" --- -2.9.3 -
package/upmpdcli/0002-use-pkg-config-for-libupnpp.patch deleted +0 -66
66 lines not on this page · raw message
package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch deleted +0 -110
110 lines not on this page · raw message
package/upmpdcli/0004-Use-pkg-config-for-jsoncpp-libmpdclient-libmicrohttpd.patch deleted +0 -105
105 lines not on this page · raw message
package/upmpdcli/upmpdcli.hash +1 -1
@@ -1,2 +1,2 @@ # Manually calculated: -sha256 6a3ad211707d7eca287f7f64688ff2e569d50bc463aa2145b01c98252fe30955 upmpdcli-1.2.2.tar.gz +sha256 a788796e634e243a5ac11db3b19ea872d2bff4d5fb673d058ab7a683ca029dae upmpdcli-1.2.8.tar.gz
package/upmpdcli/upmpdcli.mk +1 -5
@@ -4,15 +4,11 @@ # ################################################################################ -UPMPDCLI_VERSION = 1.2.2 +UPMPDCLI_VERSION = 1.2.8 UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads UPMPDCLI_LICENSE = GPLv2+ UPMPDCLI_LICENSE_FILES = COPYING UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp -# touching configure.ac and Makefile.am in -# 0001-fix-jsoncpp-detection.patch -# 0002-use-pkg-config-for-libupnpp.patch -UPMPDCLI_AUTORECONF = YES # Upmpdcli only runs if user upmpdcli exists define UPMPDCLI_USERS
Signature · 1 line
2.10.0
Thomas Petazzoni
AppliedPATCH 1/1 package/upmpdcli: bump to version 1.2.8
Hello,
Quoted 4 lines · J?rg Krause
Remove patches applied upstream. As we are not touching configure.ac or Makefile.am anymore there is no need for AUTORECONF.
Signed-off-by J?rg Krause <[email protected]>
Quoted 12 lines
--- package/upmpdcli/0001-fix-jsoncpp-detection.patch | 90 ----------------- .../0002-use-pkg-config-for-libupnpp.patch | 66 ------------- ...including-header-file-log.h-from-libupnpp.patch | 110 --------------------- ...ig-for-jsoncpp-libmpdclient-libmicrohttpd.patch | 105 -------------------- package/upmpdcli/upmpdcli.hash | 2 +- package/upmpdcli/upmpdcli.mk | 6 +- 6 files changed, 2 insertions(+), 377 deletions(-) delete mode 100644 package/upmpdcli/0001-fix-jsoncpp-detection.patch delete mode 100644 package/upmpdcli/0002-use-pkg-config-for-libupnpp.patch delete mode 100644 package/upmpdcli/0003-Fix-including-header-file-log.h-from-libupnpp.patch delete mode 100644 package/upmpdcli/0004-Use-pkg-config-for-jsoncpp-libmpdclient-libmicrohttpd.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com