package/libupnp18: added upstream sha1 hash
PATCH 1/3 package/libupnp18: added upstream sha1 hash
--- package/libupnp18/libupnp18.hash | 2 ++ 1 file changed, 2 insertions(+)
package/libupnp18/libupnp18.hash +2 -0
@@ -1,3 +1,5 @@ +# From https://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%201.8.3/libupnp-1.8.3.tar.bz2.sha1 +sha1 e7c28c24905ae972ff3277a7bdaa9b839f6c66b9 libupnp-1.8.3.tar.bz2 # Locally computed: sha256 9afa0b09faa9ebd9e8a6425ddbfe8d1d856544c49b1f86fde221219e569a308d libupnp-1.8.3.tar.bz2 sha256 0375955c8a79d6e8fa0792d45d00fc4e7710d7ac95bcbd27f9225a83f5c946fd LICENSE
Signature · 1 line
2.11.0
PATCH 2/3 package/libupnp18: add optional dependency to openssl
--- package/libupnp18/libupnp18.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/libupnp18/libupnp18.mk +8 -0
@@ -12,4 +12,12 @@ LIBUPNP18_INSTALL_STAGING = YES LIBUPNP18_LICENSE = BSD-3-Clause LIBUPNP18_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBUPNP18_CONF_OPTS += --enable-open-ssl +LIBUPNP18_DEPENDENCIES += libopenssl +LIBUPNP18_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else +LIBUPNP18_CONF_OPTS += --disable-open-ssl +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH 2/3 package/libupnp18: add optional dependency to openssl
Hello,
Quoted 10 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/libupnp18/libupnp18.mk | 8 ++++++++ 1 file changed, 8 insertions(+)package/libupnp18/libupnp18.mk +0
-0
package/libupnp18/libupnp18.mk LIBUPNP18_INSTALL_STAGING = YES · line 21
Quoted 10 lines
package/libupnp18/libupnp18.mk +7
-0@@ -12,4 +12,12 @@ LIBUPNP18_INSTALL_STAGING = YES LIBUPNP18_LICENSE = BSD-3-Clause LIBUPNP18_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBUPNP18_CONF_OPTS += --enable-open-ssl +LIBUPNP18_DEPENDENCIES += libopenssl +LIBUPNP18_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else +LIBUPNP18_CONF_OPTS += --disable-open-ssl +endif
So, I gather than it doesn't work with LibreSSL? If so, it would have been nice to indicate in the commit log, so we know it's intentional to use libopenssl and not the openssl virtual package.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 3/3 package/vlc: switch to libupnp-1.8
In reply to Bernd KuhlsVlc now supports libupnp-1.8:
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commitdiff;h=825dca78be3a81e2a1c5d04137aa01b1cb32dfd3
Fixes
http://autobuild.buildroot.net/results/d98/d98bdcc745a2480d4664db2427f0ae1c9c5ea71e/
--- package/vlc/vlc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/vlc/vlc.mk +2 -2
@@ -281,9 +281,9 @@ else VLC_CONF_OPTS += --disable-theora endif -ifeq ($(BR2_PACKAGE_LIBUPNP),y) +ifeq ($(BR2_PACKAGE_LIBUPNP18),y) VLC_CONF_OPTS += --enable-upnp -VLC_DEPENDENCIES += libupnp +VLC_DEPENDENCIES += libupnp18 else VLC_CONF_OPTS += --disable-upnp endif
Signature · 1 line
2.11.0
PATCH 3/3 package/vlc: switch to libupnp-1.8
Hello,
Quoted 2 lines · Bernd Kuhls
Vlc now supports libupnp-1.8:
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commitdiff;h=825dca78be3a81e2a1c5d04137aa01b1cb32dfd3
Reading this commit, it seems like the old version should still be supported, no?
So: why does it fail to build? Why don't we keep supporting the old version as well?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 3/3 package/vlc: switch to libupnp-1.8
In reply to Bernd KuhlsDear Bernd,
I don't think this is the right fix, vlc is compatible with both versions of libupnp (1.6.x and 1.8.x).
However, libupnp 1.6.23 added its own compat code so I think we should apply this commit (from mainstream) to fix the issue with 1.6.x:
https://github.com/videolan/vlc/commit/f9c5a343f1a8cad9c2c153f9c05e4e7201675a43#diff-99aaf215e619208a327a2e41f97c59c1
.
Best regards,
Fabrice
2017-12-14 8:31 GMT+01:00 Bernd Kuhls <[email protected]>:
Quoted 30 lines
Vlc now supports libupnp-1.8:
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commitdiff;h=825dca78be3a81e2a1c5d04137aa01b1cb32dfd3Fixes
http://autobuild.buildroot.net/results/d98/d98bdcc745a2480d4664db2427f0ae
1c9c5ea71e/Signed-off-by Bernd Kuhls <[email protected]>--- package/vlc/vlc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/vlc/vlc.mk +2
-3@@ -281,9 +281,9 @@ else VLC_CONF_OPTS += --disable-theora endif -ifeq ($(BR2_PACKAGE_LIBUPNP),y) +ifeq ($(BR2_PACKAGE_LIBUPNP18),y) VLC_CONF_OPTS += --enable-upnp -VLC_DEPENDENCIES += libupnp +VLC_DEPENDENCIES += libupnp18 else VLC_CONF_OPTS += --disable-upnp endif --
Quoted 3 lines
2.11.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171214/1b99f608/attachment.html>
PATCH 3/3 package/vlc: switch to libupnp-1.8
Am 14.12.2017 um 09:13 schrieb Fabrice Fontaine:
Quoted 11 lines
Dear Bernd,
I don't think this is the right fix, vlc is compatible with both versions of libupnp (1.6.x and 1.8.x).
However, libupnp 1.6.23 added its own compat code so I think we should apply this commit (from mainstream) to fix the issue with 1.6.x:
https://github.com/videolan/vlc/commit/f9c5a343f1a8cad9c2c153f9c05e4e7201675a43#diff-99aaf215e619208a327a2e41f97c59c1.Best regards,
Fabrice
Hi,
backporting this patch does not fix the build of vlc-2.2.8 with libupnp-1.6.24 using this defconfig:
http://autobuild.buildroot.net/results/6bc/6bc47577819035e63a7acbfb6eee12af56966644/defconfig
services_discovery/upnp.cpp: In function 'int Open(vlc_object_t*)':
services_discovery/upnp.cpp:174:71: error: invalid conversion from 'int (*)(Upnp_EventType, UpnpEventPtr, void*) {aka int (*)(Upnp_EventType_e, const void*, void*)}' to 'Upnp_FunPtr {aka int (*)(Upnp_EventType_e, void*, void*)}' [-fpermissive]
i_res = UpnpRegisterClient( Callback, p_sd, &p_sys->client_handle );
Regards, Bernd
PATCH 3/3 package/vlc: switch to libupnp-1.8
Dear Bernd,
Thanks for investigating, I found the issue.
In libupnp 1.6.x, the Event in Upnp_FunPtr was a simple void:
https://github.com/mrjimenez/pupnp/blob/branch-1.6.x/upnp/inc/upnp.h
However, it was changed to a const void* in 1.8.x:
https://github.com/mrjimenez/pupnp/blob/master/upnp/inc/Callback.h
I will report the issue upstream and fix it by patching one of the version of libupnp upstream (probably pupnp18).
Best Regards,
Fabrice
2017-12-16 19:41 GMT+01:00 Bernd Kuhls <[email protected]>:
Quoted 22 lines
Am 14.12.2017 um 09:13 schrieb Fabrice Fontaine:
Quoted 7 lines
Dear Bernd,
I don't think this is the right fix, vlc is compatible with both versions of libupnp (1.6.x and 1.8.x).
However, libupnp 1.6.23 added its own compat code so I think we should apply this commit (from mainstream) to fix the issue with 1.6.x:
https://github.com/videolan/vlc/commit/f9c5a343f1a8cad9c2c153f9c05e4e7201675a43#diff-99aaf215e619208a327a2e41f97c59c1.
Quoted 4 lines
Best regards,
Fabrice
Hi,
backporting this patch does not fix the build of vlc-2.2.8 with libupnp-1.6.24 using this defconfig:
http://autobuild.buildroot.net/results/6bc/6bc47577819035e63a7acbfb6eee12
af56966644/defconfig
Quoted 9 lines
services_discovery/upnp.cpp: In function 'int
Open(vlc_object_t*)':
services_discovery/upnp.cpp:174:71: error: invalid conversion from 'int (*)(Upnp_EventType, UpnpEventPtr, void*) {aka int (*)(Upnp_EventType_e, const void*, void*)}' to 'Upnp_FunPtr{aka int (*)(Upnp_EventType_e, void*, void*)}' [-fpermissive]i_res = UpnpRegisterClient( Callback, p_sd, &p_sys->client_handle );Regards, Bernd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171216/c9f863c2/attachment.html>
PATCH 3/3 package/vlc: switch to libupnp-1.8
Dear all,
Finally, the issue was in vlc, I will send a patch ASAP.
Best Regards,
Fabrice
2017-12-16 23:20 GMT+01:00 Fabrice Fontaine <[email protected]>:
Quoted 11 lines
Dear Bernd,
Thanks for investigating, I found the issue.
In libupnp 1.6.x, the Event inUpnp_FunPtrwas a simple void:
https://github.com/mrjimenez/pupnp/blob/branch-1.6.x/upnp/inc/upnp.h
However, it was changed to a const void* in 1.8.x:
https://github.com/mrjimenez/pupnp/blob/master/upnp/inc/Callback.hI will report the issue upstream and fix it by patching one of the version of libupnp upstream (probably pupnp18).
Quoted 40 lines
Best Regards,
Fabrice
2017-12-16 19:41 GMT+01:00 Bernd Kuhls <[email protected]>:
Quoted 31 lines
Am 14.12.2017 um 09:13 schrieb Fabrice Fontaine:
Quoted 7 lines
Dear Bernd,
I don't think this is the right fix, vlc is compatible with both versions of libupnp (1.6.x and 1.8.x).
However, libupnp 1.6.23 added its own compat code so I think we should apply this commit (from mainstream) to fix the issue with 1.6.x:
https://github.com/videolan/vlc/commit/f9c5a343f1a8cad9c2c153f9c05e4e7201675a43#diff-99aaf215e619208a327a2e41f97c59c1.
Quoted 4 lines
Best regards,
Fabrice
Hi,
backporting this patch does not fix the build of vlc-2.2.8 with libupnp-1.6.24 using this defconfig:
http://autobuild.buildroot.net/results/6bc/6bc47577819035e63
a7acbfb6eee12af56966644/defconfigservices_discovery/upnp.cpp: In function 'int
Open(vlc_object_t*)':
services_discovery/upnp.cpp:174:71: error: invalid conversion from 'int (*)(Upnp_EventType, UpnpEventPtr, void*) {aka int (*)(Upnp_EventType_e, const void*, void*)}' to 'Upnp_FunPtr{aka int (*)(Upnp_EventType_e, void*, void*)}' [-fpermissive]i_res = UpnpRegisterClient( Callback, p_sd, &p_sys->client_handle );Regards, Bernd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171217/db699c47/attachment.html>
PATCH 3/3 package/vlc: switch to libupnp-1.8
Am Sun, 17 Dec 2017 12:39:47 +0100 schrieb Fabrice Fontaine:
Quoted 3 lines
Dear all,
Finally, the issue was in vlc, I will send a patch ASAP.
Hi,
you can use the patch from Debian: https://github.com/mrjimenez/pupnp/
issues/63#issuecomment-352250328
I can confirm that vlc will be fixed with these two patches:
https://sources.debian.org/src/vlc/2.2.8-2/debian/patches/0012-Fix-
UpnpEventPtr-typedef-for-versions-before-1.8.0.patch/
http://git.videolan.org/?
p=vlc.git;a=patch;h=f9c5a343f1a8cad9c2c153f9c05e4e7201675a43
Regards, Bernd
Thomas Petazzoni
AppliedPATCH 1/3 package/libupnp18: added upstream sha1 hash
In reply to Bernd KuhlsHello,
Quoted 4 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/libupnp18/libupnp18.hash | 2 ++ 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com