Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1
@ 2014-10-28 12:48 Gustavo Zacarias
  2014-10-28 12:48 ` [Buildroot] [PATCH 2/3] mpd: fix upnp build failure Gustavo Zacarias
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2014-10-28 12:48 UTC (permalink / raw)
  To: buildroot

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/mpd/mpd.hash | 2 ++
 package/mpd/mpd.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/mpd/mpd.hash

diff --git a/package/mpd/mpd.hash b/package/mpd/mpd.hash
new file mode 100644
index 0000000..7676b37
--- /dev/null
+++ b/package/mpd/mpd.hash
@@ -0,0 +1,2 @@
+# Locally calculated after checking pgp signature
+sha256	8b3afcd440181c9bd18b229b5974e529d59648344dd371370d6f7d62ec2847c5	mpd-0.19.1.tar.xz
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index ae37b14..b3ff6f5 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 MPD_VERSION_MAJOR = 0.19
-MPD_VERSION = $(MPD_VERSION_MAJOR)
+MPD_VERSION = $(MPD_VERSION_MAJOR).1
 MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz
 MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
 MPD_DEPENDENCIES = host-pkgconf boost libglib2
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] mpd: fix upnp build failure
  2014-10-28 12:48 [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Gustavo Zacarias
@ 2014-10-28 12:48 ` Gustavo Zacarias
  2014-10-28 12:48 ` [Buildroot] [PATCH 3/3] mpd: add explicit upnp support option Gustavo Zacarias
  2014-10-28 17:52 ` [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2014-10-28 12:48 UTC (permalink / raw)
  To: buildroot

Add patch to fix build failure:
http://autobuild.buildroot.net/results/7ff/7ff28551b9c72658eb75394e7cbd1904861f23e3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 ...np-Discovery-add-missing-stdlib.h-include.patch | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch

diff --git a/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch b/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch
new file mode 100644
index 0000000..ff581c3
--- /dev/null
+++ b/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch
@@ -0,0 +1,30 @@
+From 1901bd9d6be651fbaa5c7659d92d3361e6d6a823 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Tue, 28 Oct 2014 07:25:48 -0300
+Subject: [PATCH] upnp/Discovery: add missing stdlib.h include
+
+Used for free().
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Status: Sent upstream.
+
+ src/lib/upnp/Discovery.cxx | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx
+index 9ea78c6..2c91e37 100644
+--- a/src/lib/upnp/Discovery.cxx
++++ b/src/lib/upnp/Discovery.cxx
+@@ -26,6 +26,8 @@
+ 
+ #include <upnp/upnptools.h>
+ 
++#include <stdlib.h>
++
+ #include <string.h>
+ 
+ // The service type string we are looking for.
+-- 
+2.0.4
+
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] mpd: add explicit upnp support option
  2014-10-28 12:48 [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Gustavo Zacarias
  2014-10-28 12:48 ` [Buildroot] [PATCH 2/3] mpd: fix upnp build failure Gustavo Zacarias
@ 2014-10-28 12:48 ` Gustavo Zacarias
  2014-10-28 17:52 ` [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2014-10-28 12:48 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/mpd/Config.in | 8 ++++++++
 package/mpd/mpd.mk    | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index ed0df7f..ac9ca95 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -265,6 +265,14 @@ config BR2_PACKAGE_MPD_TCP
 
 	  You want this on if mpd and the client(s) work
 	  on different machines (the usual scenario).
+
+config BR2_PACKAGE_MPD_UPNP
+	bool "UPnp"
+	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_LIBUPNP
+	help
+	  Enable mpd UPnP client support.
+
 endif
 
 comment "mpd needs a toolchain w/ C++, threads, wchar"
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index b3ff6f5..d7b912b 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -199,6 +199,13 @@ else
 MPD_CONF_OPTS += --disable-twolame-encoder
 endif
 
+ifeq ($(BR2_PACKAGE_MPD_UPNP),y)
+MPD_DEPENDENCIES += expat libupnp
+MPD_CONF_OPTS += --enable-upnp
+else
+MPD_CONF_OPTS += --disable-upnp
+endif
+
 ifeq ($(BR2_PACKAGE_MPD_VORBIS),y)
 MPD_DEPENDENCIES += libvorbis
 MPD_CONF_OPTS += --enable-vorbis --enable-vorbis-encoder
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1
  2014-10-28 12:48 [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Gustavo Zacarias
  2014-10-28 12:48 ` [Buildroot] [PATCH 2/3] mpd: fix upnp build failure Gustavo Zacarias
  2014-10-28 12:48 ` [Buildroot] [PATCH 3/3] mpd: add explicit upnp support option Gustavo Zacarias
@ 2014-10-28 17:52 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-10-28 17:52 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Tue, 28 Oct 2014 09:48:06 -0300, Gustavo Zacarias wrote:
> Also add hash file.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/mpd/mpd.hash | 2 ++
>  package/mpd/mpd.mk   | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>  create mode 100644 package/mpd/mpd.hash

All three patches applied.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-28 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 12:48 [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Gustavo Zacarias
2014-10-28 12:48 ` [Buildroot] [PATCH 2/3] mpd: fix upnp build failure Gustavo Zacarias
2014-10-28 12:48 ` [Buildroot] [PATCH 3/3] mpd: add explicit upnp support option Gustavo Zacarias
2014-10-28 17:52 ` [Buildroot] [PATCH 1/3] mpd: bump to version 0.19.1 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox