Skip to contentSkip to conversation

new package: gssdp

PATCH New Sven Neumann 4 participants 8 messages Aug 10, 2011 – Oct 4, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 new package: gssdp

GSSDP implements resource discovery and announcement over SSDP.

---
 package/Config.in       |    1 +
 package/gssdp/Config.in |   11 +++++++++++
 package/gssdp/gssdp.mk  |   17 +++++++++++++++++
 3 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100755 package/gssdp/Config.in
 create mode 100755 package/gssdp/gssdp.mk
package/Config.in +1 -0
index 7112e05..5d6b402 100644
@@ -316,6 +316,7 @@ endmenu
 endif
 
 menu "Networking"
+source "package/gssdp/Config.in"
 source "package/libcgi/Config.in"
 source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
package/gssdp/Config.in new file +11 -0
new file mode 100755
index 0000000..7287e69
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_GSSDP
+	bool "gssdp"
+	select BR2_PACKAGE_LIBSOUP
+	depends on BR2_USE_WCHAR
+	help
+          GSSDP implements resource discovery and announcement over SSDP.
+
+	  http://www.gupnp.org
+
+comment "gssdp requires a toolchain with WCHAR support"
+	depends on !BR2_USE_WCHAR
package/gssdp/gssdp.mk new file +17 -0
new file mode 100755
index 0000000..0094ecc
@@ -0,0 +1,17 @@
+#############################################################
+#
+# gssdp
+#
+#############################################################
+
+GSSDP_VERSION = 0.8.2
+GSSDP_SOURCE = gssdp-$(GSSDP_VERSION).tar.gz
+GSSDP_SITE = http://www.gupnp.org/sites/all/files/sources
+GSSDP_INSTALL_STAGING = YES
+
+GSSDP_CONF_ENV = \
+	ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY)
+
+GSSDP_DEPENDENCIES = host-pkg-config host-libglib2 libsoup
+
+$(eval $(call AUTOTARGETS,package,gssdp))
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 2/3 new package: gupnp

GUPnP implements the UPnP specification.

---
 package/Config.in       |    1 +
 package/gupnp/Config.in |   17 +++++++++++++++++
 package/gupnp/gupnp.mk  |   17 +++++++++++++++++
 3 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100755 package/gupnp/Config.in
 create mode 100755 package/gupnp/gupnp.mk
package/Config.in +1 -0
index 5d6b402..c168cf0 100644
@@ -317,6 +317,7 @@ endif
 
 menu "Networking"
 source "package/gssdp/Config.in"
+source "package/gupnp/Config.in"
 source "package/libcgi/Config.in"
 source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
package/gupnp/Config.in new file +17 -0
new file mode 100755
index 0000000..ddf010b
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_GUPNP
+	bool "gupnp"
+	select BR2_PACKAGE_GSSDP
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+	depends on BR2_LARGEFILE
+	depends on BR2_USE_WCHAR
+	help
+	  GUPnP implements the UPnP specification: resource announcement
+	  and discovery, description, control, event notification, and
+	  presentation.
+
+	  http://www.gupnp.org/
+
+comment "gupnp requires a toolchain with LARGEFILE + WCHAR support"
+	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
package/gupnp/gupnp.mk new file +17 -0
new file mode 100755
index 0000000..ca72dac
@@ -0,0 +1,17 @@
+#############################################################
+#
+# gupnp
+#
+#############################################################
+
+GUPNP_VERSION = 0.14.1
+GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.gz
+GUPNP_SITE = http://www.gupnp.org/sites/all/files/sources
+GUPNP_INSTALL_STAGING = YES
+
+GUPNP_CONF_ENV = \
+	ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY)
+
+GUPNP_DEPENDENCIES = host-pkg-config host-libglib2 libxml2 gssdp util-linux
+
+$(eval $(call AUTOTARGETS,package,gupnp))
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 3/3 new package: gupnp-av

In reply to Sven Neumann

GUPnP-AV is a collection of helpers for building AV (audio/video) applications using GUPnP.

---
 package/Config.in            |    1 +
 package/gupnp-av/Config.in   |    8 ++++++++
 package/gupnp-av/gupnp-av.mk |   17 +++++++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100755 package/gupnp-av/Config.in
 create mode 100755 package/gupnp-av/gupnp-av.mk
package/Config.in +1 -0
index c168cf0..d3e3da3 100644
@@ -318,6 +318,7 @@ endif
 menu "Networking"
 source "package/gssdp/Config.in"
 source "package/gupnp/Config.in"
+source "package/gupnp-av/Config.in"
 source "package/libcgi/Config.in"
 source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
package/gupnp-av/Config.in new file +8 -0
new file mode 100755
index 0000000..3b7537d
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GUPNP_AV
+	bool "gupnp-av"
+	depends on BR2_PACKAGE_GUPNP
+	help
+	  GUPnP-AV is a collection of helpers for building AV (audio/video)
+	  applications using GUPnP.
+
+	  http://www.gupnp.org/
package/gupnp-av/gupnp-av.mk new file +17 -0
new file mode 100755
index 0000000..108b334
@@ -0,0 +1,17 @@
+#############################################################
+#
+# gupnp-av
+#
+#############################################################
+
+GUPNP_AV_VERSION = 0.6.3
+GUPNP_AV_SOURCE = gupnp-av-$(GUPNP_AV_VERSION).tar.gz
+GUPNP_AV_SITE = http://www.gupnp.org/sites/all/files/sources
+GUPNP_AV_INSTALL_STAGING = YES
+
+GUPNP_AV_CONF_ENV = \
+	ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY)
+
+GUPNP_AV_DEPENDENCIES = host-pkg-config host-libglib2 gupnp
+
+$(eval $(call AUTOTARGETS,package,gupnp-av))
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 1/3 new package: gssdp

In reply to Sven Neumann
Quoted 1 line · On Wednesday 10 August 2011 104105 Sven Neumann wrote:

GSSDP implements resource discovery and announcement over SSDP.

[--SNIP--]

Quoted 1 line

+GSSDP_VERSION = 0.8.2

Any reason for not using newer versions?
- gssdp : 0.10.0
- gupnp : 0.16.1
- gupnp-av : 0.8.0

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'
#4 lore raw

PATCH 1/3 new package: gssdp

Quoted 9 lines · Yann E. MORIN
Quoted 1 line · On Wednesday 10 August 2011 104105 Sven Neumann wrote:

GSSDP implements resource discovery and announcement over SSDP.

[--SNIP--]

Quoted 1 line

+GSSDP_VERSION = 0.8.2

Any reason for not using newer versions?
- gssdp : 0.10.0
- gupnp : 0.16.1
- gupnp-av : 0.8.0

Yes, these are not working for us. I am still trying to resolve those issues with the gupnp team and will propose an update at some point. But at this point I am proposing the versions that are known to compile and to work with buildroot and uCLibC.

Sven

#5 lore raw

PATCH 1/3 new package: gssdp

In reply to Sven Neumann
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> GSSDP implements resource discovery and announcement over SSDP.

Thanks, but it doesn't build on uClibc with default configs:

gssdp-client.c:45:21: error: ifaddrs.h: No such file or directory

ifaddrs.h is only provided if CONFIG_SUPPORT_AI_ADDRCONFIG is enabled, which it isn't by default. We'll probably need to add something like BR2_USE_WCHAR, but I'll do a test build to see what the performance impact is.

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH 1/3 new package: gssdp

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Peter> ifaddrs.h is only provided if CONFIG_SUPPORT_AI_ADDRCONFIG is enabled, Peter> which it isn't by default. We'll probably need to add something like Peter> BR2_USE_WCHAR, but I'll do a test build to see what the performance Peter> impact is.

s/performance/size/

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH 1/3 new package: gssdp

In reply to Peter Korsgaard
Quoted 4 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> GSSDP implements resource discovery and announcement over SSDP.

Quoted 8 lines

Thanks, but it doesn't build on uClibc with default configs:

gssdp-client.c:45:21: error: ifaddrs.h: No such file or directory

ifaddrs.h is only provided if CONFIG_SUPPORT_AI_ADDRCONFIG is enabled, which it isn't by default. We'll probably need to add something like BR2_USE_WCHAR, but I'll do a test build to see what the performance impact is.

Did you ever get around to do this test build?

Regards,
Sven