diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2021-10-19 19:48:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-10-19 20:00:56 +0100 |
commit | e7b897dfef487c78f6f15650116cc340e9969c77 (patch) | |
tree | 6173245cad4d13c96bf324e5b7ce452b337cd656 /recipes | |
parent | a92243748207a49f088f707683bdf59efba74240 (diff) |
Remove mmssrc plugin and libmms
Doubtful that anyone still needs that or there are even
any streams left out there.
MMS was deprecated in 2003 (in favour of RTSP) and support for
it was dropped with Microsoft Media Services 2008.
https://en.wikipedia.org/wiki/Microsoft_Media_Server
https://sdp.ppona.com/news2008.html
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/821
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/760>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gst-plugins-bad-1.0.recipe | 6 | ||||
-rw-r--r-- | recipes/libmms.recipe | 17 | ||||
-rw-r--r-- | recipes/libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch | 44 | ||||
-rw-r--r-- | recipes/libmms/0005-Fix-build-on-OSX-leopard.patch | 28 |
4 files changed, 1 insertions, 94 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 815f619f..6c7f4a69 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -21,7 +21,6 @@ class Recipe(custom.GStreamer): 'hls-crypto': 'openssl', 'kate': 'enabled', 'ladspa': 'auto', # lrdf is optional - 'libmms': 'enabled', 'nvcodec': 'enabled', 'openh264': 'enabled', 'openjpeg': 'enabled', @@ -71,7 +70,7 @@ class Recipe(custom.GStreamer): } deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'bzip2', 'libass', 'libkate', 'zlib', 'openh264', 'opus', 'librtmp', 'libxml2', - 'libsrtp', 'libdca', 'libmms', 'libdvdnav', 'libnice', + 'libsrtp', 'libdca', 'libdvdnav', 'libnice', 'soundtouch', 'vo-aacenc', 'librsvg', 'openjpeg', 'pango', 'spandsp', 'webrtc-audio-processing', 'sbc', 'ladspa', 'srt', 'zbar'] @@ -334,12 +333,10 @@ class Recipe(custom.GStreamer): ] files_plugins_net_restricted = [ - 'lib/gstreamer-1.0/libgstmms%(mext)s', 'lib/gstreamer-1.0/libgstrtmp%(mext)s', ] files_plugins_net_restricted_devel = [ - 'lib/gstreamer-1.0/libgstmms.a', 'lib/gstreamer-1.0/libgstmms.la', 'lib/gstreamer-1.0/libgstrtmp.a', 'lib/gstreamer-1.0/libgstrtmp.la', ] @@ -543,7 +540,6 @@ class Recipe(custom.GStreamer): self.disable_plugin('dtsdec', 'codecs_restricted', option='dts', dep='libdca') self.disable_plugin('kate', 'codecs', dep='libkate') self.disable_plugin('ladspa', 'effects', dep='ladspa') - self.disable_plugin('mms', 'net_restricted', option='libmms', dep='libmms') self.disable_plugin('openjpeg', 'codecs', dep='openjpeg') self.disable_plugin('rtmp', 'net_restricted', option='rtmp', dep='librtmp') self.disable_plugin('sbc', 'codecs', dep='sbc') diff --git a/recipes/libmms.recipe b/recipes/libmms.recipe deleted file mode 100644 index 23efb203..00000000 --- a/recipes/libmms.recipe +++ /dev/null @@ -1,17 +0,0 @@ -# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python - -class Recipe(recipe.Recipe): - name = 'libmms' - version = '0.6.4' - stype = SourceType.TARBALL - url = 'sf://.tar.gz' - tarball_checksum = '3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f' - licenses = [License.LGPLv2_1Plus] - patches = ['libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch', - 'libmms/0005-Fix-build-on-OSX-leopard.patch'] - files_libs = ['libmms'] - files_devel = ['include/libmms', 'lib/pkgconfig/libmms.pc'] - - def prepare(self): - if self.config.platform != Platform.WINDOWS: - self.autoreconf = True diff --git a/recipes/libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch b/recipes/libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch deleted file mode 100644 index 79cc1a66..00000000 --- a/recipes/libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a5857c5a7e5f24b520d2aa98a9deb770835e1f98 Mon Sep 17 00:00:00 2001 -From: Edward Hervey <edward@centricular.com> -Date: Mon, 18 May 2015 11:49:09 +0200 -Subject: [PATCH] uri: Add implementation of strndup for platforms that do not - have it - -Like mingw ---- - src/uri.c | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/src/uri.c b/src/uri.c -index a96b900..ff823eb 100644 ---- a/src/uri.c -+++ b/src/uri.c -@@ -26,6 +26,25 @@ - #define TRUE 1 - #endif - -+#ifndef strdup -+/** -+ * return a malloc'd copy of at most the specified -+ * number of bytes of a string -+ * @author glibc-Team -+ */ -+char *strndup (const char *s, size_t n) -+{ -+ size_t len = strnlen (s, n); -+ char *new = (char *) malloc (len + 1); -+ -+ if (new == NULL) -+ return NULL; -+ -+ new[len] = '\0'; -+ return (char *) memcpy (new, s, len); -+} -+#endif -+ - #define g_strdup strdup - #define g_strndup strndup - #define g_malloc malloc --- -2.1.0 - diff --git a/recipes/libmms/0005-Fix-build-on-OSX-leopard.patch b/recipes/libmms/0005-Fix-build-on-OSX-leopard.patch deleted file mode 100644 index 8386d7e9..00000000 --- a/recipes/libmms/0005-Fix-build-on-OSX-leopard.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 7c9c7fdee52e8632b1866ffc52f711b20f335831 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian.droege@collabora.co.uk> -Date: Tue, 29 May 2012 13:07:02 +0200 -Subject: [PATCH 5/5] Fix build on OSX leopard - ---- - src/mms.h | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/mms.h b/src/mms.h -index 7e9a9c8..ea15fb9 100644 ---- a/src/mms.h -+++ b/src/mms.h -@@ -22,6 +22,11 @@ - * libmms public header - */ - -+#ifndef AI_NUMERICSERV -+#define AI_NUMERICSERV 0 -+#endif -+ -+ - #ifndef HAVE_MMS_H - #define HAVE_MMS_H - --- -2.1.4 - |