Request 2202 (accepted)
This is a newer build of libupnpp, c++ wrapper for libupnp ... this should fix the Donnie build errors.
Submit package home:poetaster:donnie / libupnpp (revision 34) to package sailfishos:chum:testing / libupnpp
[-] [+] | Added | libupnpp.spec |
[-] [+] | Added | compiler-flags.patch ^ |
@@ -0,0 +1,24 @@ +diff -u -r libupnpp-0.15.2\configure.ac fixed\configure.ac +--- configure.ac Wed May 31 20:53:36 2017 ++++ configure.ac Wed May 31 21:08:56 2017 +@@ -49,7 +49,7 @@ + + # Check that std::future is available. + AC_LANG_PUSH([C++]) +-CXXFLAGS="-std=c++11 $CXXFLAGS" ++CXXFLAGS="-std=c++11 -Og $CXXFLAGS" + AC_MSG_CHECKING([whether std::future is available]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <future>]], + [[std::future<int> f;]])], +diff -u -r libupnpp-0.15.2\Makefile.am fixed\Makefile.am +--- Makefile.am Wed May 31 20:53:36 2017 ++++ Makefile.am Wed May 31 21:08:12 2017 +@@ -3,7 +3,7 @@ + ${upnp_CFLAGS} ${curl_CFLAGS} ${expat_CFLAGS} \ + -DDATADIR=\"${pkgdatadir}\" -DCONFIGDIR=\"${sysconfdir}\" + +-AM_CXXFLAGS = -std=c++11 ++AM_CXXFLAGS = -std=c++11 -Og + + lib_LTLIBRARIES = libupnpp.la + | ||
[-] [+] | Added | extra-debug-output.patch ^ |
@@ -0,0 +1,11 @@ +diff -u -r libupnpp-0.15.2\libupnpp\control\mediarenderer.cxx fixed\libupnpp\control\mediarenderer.cxx +--- libupnpp/control/mediarenderer.cxx Wed May 31 20:53:37 2017 ++++ libupnpp/control/mediarenderer.cxx Fri Jun 02 19:35:11 2017 +@@ -144,6 +144,7 @@ + it != desc()->services.end(); it++) { + if (AVTransport::isAVTService(it->serviceType)) { + avtl = AVTH(new AVTransport(*desc(), *it)); ++ LOGDEB("MediaRenderer: new AVTransport created" << endl); + break; + } + } | ||
[-] [+] | Added | include-functional.patch ^ |
@@ -0,0 +1,21 @@ +gcc complains over missing #include +--- libupnpp/control/service.hxx Wed May 31 19:53:38 2017 ++++ libupnpp/control/service.hxx Sun Nov 29 14:22:51 2020 +@@ -24,6 +24,7 @@ + + #include <iostream> // for basic_ostream, operator<<, etc + #include <string> // for string, operator<<, etc ++#include <functional> + + #include <vector> // for vector + +--- libupnpp/device/device.hxx Wed May 31 19:53:38 2017 ++++ libupnpp/device/device.hxx Sun Nov 29 14:24:24 2020 +@@ -25,6 +25,7 @@ + #include <unordered_map> + #include <memory> + #include <string> ++#include <functional> + #include <vector> + + #include "libupnpp/soaphelp.hxx" | ||
[-] [+] | Added | increase-logging-level.patch ^ |
@@ -0,0 +1,12 @@ +Increase logging level +--- libupnpp/log.h Wed May 31 20:53:37 2017 ++++ libupnpp/log.h Wed May 31 21:14:45 2017 +@@ -49,7 +49,7 @@ + + // Can't use the symbolic Logger::LLXX names in preproc. 6 is LLDEB1 + #ifndef LOGGER_STATICVERBOSITY +-#define LOGGER_STATICVERBOSITY 5 ++#define LOGGER_STATICVERBOSITY 7 + #endif + + class Logger { | ||
[-] [+] | Added | possible-fix-for-crash.patch ^ |
@@ -0,0 +1,15 @@ +possible fix for crash +--- control/avtransport.hxx Wed May 31 20:53:37 2017 ++++ control/avtransport.hxx Mon Jun 05 09:58:47 2017 +@@ -56,7 +56,9 @@ + } + + AVTransport() {} +- virtual ~AVTransport() { } ++ virtual ~AVTransport() { ++ unregisterCallback(); ++ } + + int setAVTransportURI(const std::string& uri, const std::string& metadata, + int instanceID=0) + | ||
Added | libupnpp-0.16.2.tar.gz ^ |