Skip to contentSkip to conversation

minidlna: bump version to 1.1.1

PATCH New Bernd Kuhls 2 participants 2 messages Jan 3, 2014 – Jan 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 minidlna: bump version to 1.1.1

- remove all patches needed for pre-autotools minidlna release
- convert .mk file to autotools-package
- disable broken static build
- compile-tested only with ffmpeg 1.2.4 (see other patch)

---
Changes v2 -> v3:
- add explanation for disabled static build (suggested by Thomas)

Changes v1 -> v2:
- add patch description (suggested by Thomas)

 package/minidlna/Config.in                         |    2 +
 .../minidlna-0001-fix-genconfig-script.patch       |   95 --------------------
 package/minidlna/minidlna-0002-fix-Makefile.patch  |   20 -----
 .../minidlna-0003-fix-missing-include.patch        |   19 ----
 .../minidlna-0004-fix-libavformat-use.patch        |   20 -----
 package/minidlna/minidlna.mk                       |   46 ++--------
 6 files changed, 7 insertions(+), 195 deletions(-)
 delete mode 100644 package/minidlna/minidlna-0001-fix-genconfig-script.patch
 delete mode 100644 package/minidlna/minidlna-0002-fix-Makefile.patch
 delete mode 100644 package/minidlna/minidlna-0003-fix-missing-include.patch
 delete mode 100644 package/minidlna/minidlna-0004-fix-libavformat-use.patch
package/minidlna/Config.in +2 -0
index 1fcecde..9ec4bb4 100644
@@ -4,6 +4,8 @@ config BR2_PACKAGE_MINIDLNA
 	depends on BR2_INET_IPV6 # ffmpeg
 	depends on BR2_USE_MMU # fork
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# static build is broken w.r.t libgcc_s
+	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FLAC
 	select BR2_PACKAGE_LIBVORBIS # selects libogg
package/minidlna/minidlna-0001-fix-genconfig-script.patch deleted +0 -95

95 lines not on this page · raw message

package/minidlna/minidlna-0002-fix-Makefile.patch deleted +0 -20
deleted file mode 100644
index 7d9867d..0000000
@@ -1,20 +0,0 @@
-Fix the Makefile.
-
-N.B. The upstream CVS HEAD has been converted to GNU autotools, but a
-tarball has not yet been released. When the next release tarball is made
-available, this patch can be removed.
-
-Signed-off-by: Simon Dawson <[email protected]>
-
-diff -Nurp a/Makefile b/Makefile
---- a/Makefile	2012-01-17 22:49:01.000000000 +0000
-+++ b/Makefile	2013-05-04 22:29:19.947073948 +0100
-@@ -64,7 +64,7 @@ install-conf:
- 	$(INSTALL) -d $(ETCINSTALLDIR)
- 	$(INSTALL) --mode=0644 minidlna.conf $(ETCINSTALLDIR)
- 
--minidlna:	$(BASEOBJS) $(LNXOBJS) $(LIBS)
-+minidlna:	$(BASEOBJS) $(LNXOBJS)
- 	@echo Linking $@
- 	@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
- 
package/minidlna/minidlna-0003-fix-missing-include.patch deleted +0 -19
deleted file mode 100644
index 124b0da..0000000
@@ -1,19 +0,0 @@
-Fix a missing header include, required for S_ISVTX et al.
-
-N.B. This change is in the upstream CVS HEAD, but is not in the latest
-released tarball. When the next release tarball is made available, this
-patch can be removed.
-
-Signed-off-by: Simon Dawson <[email protected]>
-
-diff -Nurp a/minidlna.c b/minidlna.c
---- a/minidlna.c	2012-05-08 01:10:42.000000000 +0100
-+++ b/minidlna.c	2013-05-04 21:28:35.372717737 +0100
-@@ -57,6 +57,7 @@
- #include <arpa/inet.h>
- #include <fcntl.h>
- #include <sys/file.h>
-+#include <sys/stat.h>
- #include <sys/time.h>
- #include <time.h>
- #include <signal.h>
package/minidlna/minidlna-0004-fix-libavformat-use.patch deleted +0 -20
deleted file mode 100644
index a51262d..0000000
@@ -1,20 +0,0 @@
-Work around a broken test for libavformat version.
-
-N.B. This change is in the upstream CVS HEAD, but is not in the latest
-released tarball. When the next release tarball is made available, this
-patch can be removed.
-
-Signed-off-by: Simon Dawson <[email protected]>
-
-diff -Nurp a/metadata.c b/metadata.c
---- a/metadata.c	2012-06-29 22:11:29.000000000 +0100
-+++ b/metadata.c	2013-05-04 22:22:47.128202396 +0100
-@@ -110,7 +110,7 @@ lav_open(AVFormatContext **ctx, const ch
- static inline void
- lav_close(AVFormatContext *ctx)
- {
--#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(2<<8)+0)
-+#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(17<<8)+0)
- 	avformat_close_input(&ctx);
- #else
- 	av_close_input_file(ctx);
package/minidlna/minidlna.mk +5 -41

56 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v3 1/1 minidlna: bump version to 1.1.1

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

- remove all patches needed for pre-autotools minidlna release
- convert .mk file to autotools-package
- disable broken static build

It doesn't seem too hard to fix, but ok - I can look into that later.

package/minidlna/minidlna.mk line 10

Quoted 5 lines
package/minidlna/minidlna.mk +1 -1
-MINIDLNA_VERSION = 1.0.26
+MINIDLNA_VERSION = 1.1.1
 MINIDLNA_SITE = http://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION)
 MINIDLNA_LICENSE = GPLv2 BSD-3c
 MINIDLNA_LICENSE_FILES = LICENCE LICENCE.miniupnpd

The GPLv2 license file got renamed to COPYING.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard