vlc: New package
PATCH v6 1/1 vlc: New package
---
Changes since v5:
* Fixed some typos
* Added some missing dependencies
* Added descriptions and improved existing ones
* Improved post-configure fix
Changes since v4:
* Fixed VLC_CONF_OPT variable name
* Added missing ffmpeg-related disable options
* Added missing jack disable flag
Changes since v3:
* Removed scm-version bootstrapping support
Changes since v2:
* Replaced multi-line assignments to VLC_CONF_OPTS with individual ones for each line.
* Split additional commands required to build into macros and added them to the appropriate hook. Also added comments.
Changes since v1:
* Added a description for the package
* Described and signed-off the patch
* Added configuration knobs for all available dependencies and other build options.
--- package/multimedia/Config.in | 1 + package/multimedia/vlc/Config.in | 300 +++++++++++++++++++++ package/multimedia/vlc/vlc-uclibc-fixes.patch | 27 ++ package/multimedia/vlc/vlc.mk | 366 ++++++++++++++++++++++++++ 4 files changed, 694 insertions(+) create mode 100644 package/multimedia/vlc/Config.in create mode 100644 package/multimedia/vlc/vlc-uclibc-fixes.patch create mode 100644 package/multimedia/vlc/vlc.mk
package/multimedia/Config.in +1 -0
@@ -44,6 +44,7 @@ source "package/multimedia/speex/Config.in" source "package/multimedia/tidsp-binaries/Config.in" source "package/multimedia/taglib/Config.in" source "package/multimedia/tremor/Config.in" +source "package/multimedia/vlc/Config.in" source "package/multimedia/vorbis-tools/Config.in" source "package/multimedia/wavpack/Config.in" endmenu
package/multimedia/vlc/Config.in new file +300 -0
300 lines not on this page · raw message
package/multimedia/vlc/vlc-uclibc-fixes.patch new file +27 -0
@@ -0,0 +1,27 @@ +Fixes compilation with uClibc, which doesn't provide gnu/libc-version.h nor +gnu_get_libc_version. + +Upstream Status: Rejected + +Signed-off-by: Ismael Luceno <[email protected]> + +diff -u a/src/posix/linux_specific.c b/src/posix/linux_specific.c +--- a/src/posix/linux_specific.c 2012-02-08 16:43:30.000000000 -0200 ++++ b/src/posix/linux_specific.c 2012-02-09 03:51:20.925504594 -0200 +@@ -74,14 +74,14 @@ + return (path != NULL) ? path : strdup (PKGLIBDIR); + } + +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + # include <gnu/libc-version.h> + # include <stdlib.h> + #endif + + void system_Init (void) + { +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + const char *glcv = gnu_get_libc_version (); + + /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,
package/multimedia/vlc/vlc.mk new file +366 -0
366 lines not on this page · raw message
Signature · 1 line
1.7.11
PATCH v6 1/1 vlc: New package
Le Tue, 17 Jul 2012 02:16:39 -0300,
Ismael Luceno <[email protected]> a ?crit :
Quoted 1 line
Signed-off-by Ismael Luceno <[email protected]>
I'm seeing some kconfig warnings with VLC:
warning: (BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG && BR2_PACKAGE_VLC_SVG) selects BR2_PACKAGE_LIBRSVG which has unmet direct dependencies (BR2_PACKAGE_LIBGTK2 && BR2_USE_WCHAR)
warning: (BR2_PACKAGE_GST_FFMPEG && BR2_PACKAGE_VLC_POSTPROC) selects BR2_PACKAGE_FFMPEG_POSTPROC which has unmet direct dependencies (BR2_PACKAGE_FFMPEG && BR2_PACKAGE_FFMPEG_GPL)
warning: (BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG && BR2_PACKAGE_VLC_SVG) selects BR2_PACKAGE_LIBRSVG which has unmet direct dependencies (BR2_PACKAGE_LIBGTK2 && BR2_USE_WCHAR)
warning: (BR2_PACKAGE_GST_FFMPEG && BR2_PACKAGE_VLC_POSTPROC) selects BR2_PACKAGE_FFMPEG_POSTPROC which has unmet direct dependencies (BR2_PACKAGE_FFMPEG && BR2_PACKAGE_FFMPEG_GPL)
Also, could you update the patch to include licensing informations, and use the $(eval $(autotools-package)) line at the end of the .mk file?
I've started testing the patch, but downloading all the dependencies over 3G is very inconvenient. If nobody works on this in the mean time, I'll try to have a look when I get access to a proper Internet connection.
Thanks!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com