Introducing XBMC
cover Introducing XBMC
Hi all,
After a long long time, here is a series introducing XBMC. There are many packages needed by XBMC to work properly.
Also, it seems it can only build easily with external toolchain (a missing bitdefs.h files).
It doesn't seems that uClibc is supported also.
Maxime Hadjinlian (14):
jasper: new package
libenca: new package
libass: new package
libbluray: new package
libcdio: new package
libmodplug: new package
libnfs: new package
libplist: new package
librtmp: new package
libshairplay: new package
tinyxml: new package
sdl: add host version
sdl_image: add host version
xbmc: new package
package/Config.in | 12 ++ package/jasper/Config.in | 7 + package/jasper/jasper.mk | 15 ++ package/libass/Config.in | 10 + package/libass/libass.mk | 14 ++ package/libbluray/Config.in | 6 + package/libbluray/libbluray.mk | 14 ++ package/libcdio/Config.in | 11 ++ package/libcdio/libcdio.mk | 18 ++ package/libenca/Config.in | 6 + package/libenca/libenca-1.9-dont-build-tools.patch | 33 ++++ package/libenca/libenca-1.9-fix-clean.patch | 22 +++ package/libenca/libenca-1.9-fix-prefix.patch | 19 ++ package/libenca/libenca.mk | 26 +++ package/libmodplug/Config.in | 10 + package/libmodplug/libmodplug.mk | 12 ++ package/libnfs/Config.in | 11 ++ package/libnfs/libnfs.mk | 16 ++ package/libplist/Config.in | 12 ++ package/libplist/libplist.mk | 15 ++ package/librtmp/Config.in | 8 + package/librtmp/librtmp.mk | 51 ++++++ package/libshairplay/Config.in | 12 ++ package/libshairplay/libshairplay.mk | 13 ++ package/sdl/sdl.mk | 2 + package/sdl_image/sdl_image.mk | 11 ++ package/tinyxml/Config.in | 11 ++ package/tinyxml/tinyxml.mk | 15 ++ package/xbmc/Config.in | 202 +++++++++++++++++++++ package/xbmc/S99xbmc.default | 24 +++ package/xbmc/S99xbmc.raspberrypi | 31 ++++ package/xbmc/xbmc-0001-Fixup-include-path.patch | 79 ++++++++ .../xbmc-0002-RaspberryPi-Default-Settings.patch | 167 +++++++++++++++++ package/xbmc/xbmc.mk | 167 +++++++++++++++++ 34 files changed, 1082 insertions(+) create mode 100644 package/jasper/Config.in create mode 100644 package/jasper/jasper.mk create mode 100644 package/libass/Config.in create mode 100644 package/libass/libass.mk create mode 100644 package/libbluray/Config.in create mode 100644 package/libbluray/libbluray.mk create mode 100644 package/libcdio/Config.in create mode 100644 package/libcdio/libcdio.mk create mode 100644 package/libenca/Config.in create mode 100644 package/libenca/libenca-1.9-dont-build-tools.patch create mode 100644 package/libenca/libenca-1.9-fix-clean.patch create mode 100644 package/libenca/libenca-1.9-fix-prefix.patch create mode 100644 package/libenca/libenca.mk create mode 100644 package/libmodplug/Config.in create mode 100644 package/libmodplug/libmodplug.mk create mode 100644 package/libnfs/Config.in create mode 100644 package/libnfs/libnfs.mk create mode 100644 package/libplist/Config.in create mode 100644 package/libplist/libplist.mk create mode 100644 package/librtmp/Config.in create mode 100644 package/librtmp/librtmp.mk create mode 100644 package/libshairplay/Config.in create mode 100644 package/libshairplay/libshairplay.mk create mode 100644 package/tinyxml/Config.in create mode 100644 package/tinyxml/tinyxml.mk create mode 100644 package/xbmc/Config.in create mode 100755 package/xbmc/S99xbmc.default create mode 100755 package/xbmc/S99xbmc.raspberrypi create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch create mode 100644 package/xbmc/xbmc.mk
--
1.8.5.2
PATCH 1/14 jasper: new package
JPEG-2000 decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/jasper/Config.in | 7 +++++++ package/jasper/jasper.mk | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/jasper/Config.in create mode 100644 package/jasper/jasper.mk
package/Config.in +1 -0
@@ -523,6 +523,7 @@ source "package/gtk2-engines/Config.in" source "package/gtk2-themes/Config.in" source "package/harfbuzz/Config.in" source "package/imlib2/Config.in" +source "package/jasper/Config.in" source "package/jpeg/Config.in" source "package/lcms2/Config.in" source "package/lesstif/Config.in"
package/jasper/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_JASPER + bool "jasper" + select BR2_PACKAGE_JPEG + help + JPEG-2000 decoder + + http://www.ece.uvic.ca/~mdadams/jasper/
package/jasper/jasper.mk new file +15 -0
@@ -0,0 +1,15 @@ +############################################################# +# +# jasper +# +############################################################# + +JASPER_VERSION = 1.900.1 +JASPER_SITE = http://sources.openelec.tv/devel +JASPER_SOURCE = jasper-$(JASPER_VERSION).tar.bz2 +JASPER_INSTALL_STAGING = YES +JASPER_DEPENDENCIES = jpeg +JASPER_LICENSE = MIT +JASPER_LICENSE_FILE = LICENSE + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 1/14 jasper: new package
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Hadjinlian <[email protected]> writes:
JPEG-2000 decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/14 libenca: new package
In reply to Maxime HadjinlianExtremely Naive Charset Analyser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libenca/Config.in | 6 ++++ package/libenca/libenca-1.9-dont-build-tools.patch | 33 ++++++++++++++++++++++ package/libenca/libenca-1.9-fix-clean.patch | 22 +++++++++++++++ package/libenca/libenca-1.9-fix-prefix.patch | 19 +++++++++++++ package/libenca/libenca.mk | 26 +++++++++++++++++ 6 files changed, 107 insertions(+) create mode 100644 package/libenca/Config.in create mode 100644 package/libenca/libenca-1.9-dont-build-tools.patch create mode 100644 package/libenca/libenca-1.9-fix-clean.patch create mode 100644 package/libenca/libenca-1.9-fix-prefix.patch create mode 100644 package/libenca/libenca.mk
package/Config.in +1 -0
@@ -757,6 +757,7 @@ menu "Text and terminal handling" source "package/enchant/Config.in" source "package/icu/Config.in" source "package/libedit/Config.in" +source "package/libenca/Config.in" source "package/libfribidi/Config.in" source "package/libiconv/Config.in" source "package/linenoise/Config.in"
package/libenca/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBENCA + bool "libenca" + help + Extremely Naive Charset Analyser + + http://cihar.com/software/enca/
package/libenca/libenca-1.9-dont-build-tools.patch new file +33 -0
@@ -0,0 +1,33 @@ +diff -ruN libenca-1.9.orig/Makefile.in libenca-1.9/Makefile.in +--- libenca-1.9.orig/Makefile.in 2011-07-23 20:02:58.304328321 -0400 ++++ libenca-1.9/Makefile.in 2011-07-23 20:03:34.246328297 -0400 +@@ -78,7 +78,7 @@ + DATA = $(pkgconfig_DATA) + ETAGS = etags + CTAGS = ctags +-DIST_SUBDIRS = tools script lib src devel-docs test data ++DIST_SUBDIRS = script lib src devel-docs test data + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) +@@ -207,10 +207,10 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +- at MAINTAINER_MODE_FALSE@SUBDIRS = tools script lib src devel-docs test ++ at MAINTAINER_MODE_FALSE@SUBDIRS = script lib src devel-docs test + + # @(#) $Id: Makefile.am,v 1.35 2005/11/24 10:21:32 yeti Exp $ +- at MAINTAINER_MODE_TRUE@SUBDIRS = tools data script lib src devel-docs test ++ at MAINTAINER_MODE_TRUE@SUBDIRS = data script lib src devel-docs test + man_MANS = man/enca.1 + DISTCHECK_CONFIGURE_FLAGS = --enable-maintainer-mode + M4TESTS = \ +@@ -223,7 +223,6 @@ + m4/long-text.l2 \ + m4/recode-bugs.m4 \ + m4/scanf.m4 \ +- m4/tools.m4 \ + m4/typevar.m4 + + EXTRA_DIST = \
package/libenca/libenca-1.9-fix-clean.patch new file +22 -0
@@ -0,0 +1,22 @@ +--- libenca-1.9.orig/src/Makefile.in 2011-07-23 20:19:28.744327998 -0400 ++++ libenca-1.9/src/Makefile.in 2011-07-23 20:22:47.894327936 -0400 +@@ -694,7 +694,7 @@ + cd $(DESTDIR)$(bindir); \ + inst1=`echo enca | sed '$(transform)'`; \ + inst2=`echo enconv | sed '$(transform)'`; \ +- $(LN_S) $$inst1$(EXEEXT) $$inst2$(EXEEXT) ++ $(LN_S) -f $$inst1$(EXEEXT) $$inst2$(EXEEXT) + + uninstall-hook: + inst=`echo enconv | sed '$(transform)'`; \ +--- libenca-1.9.orig/Makefile.in 2011-07-23 20:19:28.746327999 -0400 ++++ libenca-1.9/Makefile.in 2011-07-23 20:36:48.742327668 -0400 +@@ -768,7 +768,7 @@ + cd $(DESTDIR)$(man1dir); \ + inst1=`echo enca | sed '$(transform)'`.1; \ + inst2=`echo enconv | sed '$(transform)'`.1; \ +- $(LN_S) $$inst1 $$inst2 ++ $(LN_S) -f $$inst1 $$inst2 + + uninstall-hook: + inst=`echo enconv | sed '$(transform)'`.1; \
package/libenca/libenca-1.9-fix-prefix.patch new file +19 -0
@@ -0,0 +1,19 @@ +--- libenca-1.9.orig/configure ++++ libenca-1.9/configure + +@@ -20808,15 +20808,6 @@ _ACEOF + fi + + +-if test "$prefix" = "NONE"; then +- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib" +- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include" +-else +- LDFLAGS="$LDFLAGS -L$prefix/lib" +- CPPFLAGS="$CPPFLAGS -I$prefix/include" +-fi +- +- + case "$target" in + NONE) yeti_libm_target="$host" ;; + *) yeti_libm_target="$target" ;;
package/libenca/libenca.mk new file +26 -0
@@ -0,0 +1,26 @@ +############################################################# +# +# libenca +# +############################################################# + +LIBENCA_VERSION = 1.9 +LIBENCA_SITE = http://dl.cihar.com/enca +LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.bz2 +LIBENCA_INSTALL_STAGING = YES +LIBENCA_LICENSE = GPLv2 +LIBENCA_LICENSE_FILES = COPYING + +LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes +LIBENCA_CONF_ENV += ac_cv_file__dev_urandom=yes +LIBENCA_CONF_ENV += ac_cv_file__dev_arandom=no +LIBENCA_CONF_ENV += ac_cv_file__dev_srandom=no +LIBENCA_CONF_ENV += yeti_cv_func_scanf_modif_size_t=yes + +define LIBENCA_MAKE_HOST_TOOL +cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c +endef + +LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 2/14 libenca: new package
Dear Maxime Hadjinlian,
Quoted 5 lines · Maxime Hadjinlian
Extremely Naive Charset Analyser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
Quoted 7 lines
Signed-off-by Maxime Hadjinlian <[email protected]>--- package/Config.in | 1 + package/libenca/Config.in | 6 ++++ package/libenca/libenca-1.9-dont-build-tools.patch | 33 ++++++++++++++++++++++ package/libenca/libenca-1.9-fix-clean.patch | 22 +++++++++++++++ package/libenca/libenca-1.9-fix-prefix.patch | 19 +++++++++++++
We don't want the version number of package in the patch file names, but we do want sequence numbers. So:
libenca-000-<something>.patch libenca-001-<something>.patch
Quoted 27 lines
package/libenca/libenca-1.9-dont-build-tools.patch new file +4
-0@@ -0,0 +1,33 @@ +diff -ruN libenca-1.9.orig/Makefile.in libenca-1.9/Makefile.in +--- libenca-1.9.orig/Makefile.in 2011-07-23 20:02:58.304328321 -0400 ++++ libenca-1.9/Makefile.in 2011-07-23 20:03:34.246328297 -0400 +@@ -78,7 +78,7 @@package/libenca/libenca-1.9-fix-clean.patch new file +2
-0@@ -0,0 +1,22 @@ +--- libenca-1.9.orig/src/Makefile.in 2011-07-23 20:19:28.744327998 -0400 ++++ libenca-1.9/src/Makefile.in 2011-07-23 20:22:47.894327936 -0400package/libenca/libenca-1.9-fix-prefix.patch new file +0
-0
package/libenca/libenca-1.9-fix-prefix.patch line 2
Quoted 2 lines
package/libenca/libenca-1.9-fix-prefix.patch new file +2
-0@@ -0,0 +1,19 @@ +--- libenca-1.9.orig/configure ++++ libenca-1.9/configure
We generally prefer to patch the Makefile.am and the configure.{in,ac} script, and set <foo>_AUTORECONF = YES.
package/libenca/libenca-1.9-fix-prefix.patch line 7
Quoted 5 lines
package/libenca/libenca-1.9-fix-prefix.patch new file +5
-0+############################################################# +# +# libenca +# +#############################################################
80 # signs are needed now.
package/libenca/libenca-1.9-fix-prefix.patch
Quoted 13 lines
package/libenca/libenca-1.9-fix-prefix.patch new file +13
-0+ +LIBENCA_VERSION = 1.9 +LIBENCA_SITE = http://dl.cihar.com/enca +LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.bz2 +LIBENCA_INSTALL_STAGING = YES +LIBENCA_LICENSE = GPLv2 +LIBENCA_LICENSE_FILES = COPYING + +LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes +LIBENCA_CONF_ENV += ac_cv_file__dev_urandom=yes +LIBENCA_CONF_ENV += ac_cv_file__dev_arandom=no +LIBENCA_CONF_ENV += ac_cv_file__dev_srandom=no +LIBENCA_CONF_ENV += yeti_cv_func_scanf_modif_size_t=yes
Use (i.e on one line) :
LIBENCA_CONF_ENV = \ bleh=yes \ foo=bar \ bar=bleh
package/libenca/libenca-1.9-fix-prefix.patch
Quoted 2 lines
package/libenca/libenca-1.9-fix-prefix.patch new file +2
-0+define LIBENCA_MAKE_HOST_TOOL +cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c
Instead with one tab.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/14 libenca: new package
In reply to Maxime HadjinlianMaxime, All,
At long last, my comments below... ;-)
Since I'm basing my review not on this patch, but on the one you have in your repo, there might be some discrepancies...
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 1 line
Extremely Naive Charset Analyser.
Muarf! :-)
Quoted 2 lines
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
Maybe it would be nice to at least Cc gimli, out of courtesy?
Quoted 1 line
Signed-off-by Maxime Hadjinlian <[email protected]>
[--SNIP--]
package/libenca/libenca-1.9-dont-build-tools.patch
Quoted 5 lines
package/libenca/libenca-1.9-dont-build-tools.patch new file +0
-0
Your repo now has a commit log + SoB-line, but it does not explain why you want to avoid buildign the tools. Please expand on this in the patch' commit log (what you said on IRC is OK, I guess).
Also, your patch touches Makefile.in. You should modify Makefile.am to remove the tools, and set LIBENCA_AUTORECONF=yes.
Or better yet: prepare a patch for upstream that adds the possibility to enable/disable the tools:
./configure --enable-tools
./configure --disable-toolsThat way, we can get rid of the patch altogether (and _AUTORECONF) when upstream releases a new version and we bump to it.
package/libenca/libenca-1.9-fix-clean.patch
Quoted 5 lines
package/libenca/libenca-1.9-fix-clean.patch new file +0
-0
This patch in your repo is still missing a commit log + SoB-line.
Also, it looks like it is an install fix, not a clean fix (name of the patch).
Again, you're touching Makefile.in. You should modify Makefile.am and set AUTORECONF=yes.
package/libenca/libenca-1.9-fix-prefix.patch
Quoted 3 lines
package/libenca/libenca-1.9-fix-prefix.patch new file +0
-0
It seems you dropped that one from your repo.
package/libenca/libenca.mk line 5
Quoted 9 lines
index 0000000..e9dba18
package/libenca/libenca.mk new file +5
-0@@ -0,0 +1,26 @@ +############################################################# +# +# libenca +# +#############################################################
Here I'm pasting the content of your repo:
package/libenca/libenca.mk
Quoted 7 lines
package/libenca/libenca.mk new file +7
-0+LIBENCA_VERSION = 1.15 +LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION)) +LIBENCA_INSTALL_STAGING = YES +LIBENCA_LICENSE = GPLv2 +LIBENCA_LICENSE_FILES = COPYING + +LIBENCA_CONF_OPT += --prefix=$(TARGET_DIR)/usr
Why do you need to fake the prefix? Doesn't DESTDIR work as expected?
Quoted 4 lines
package/libenca/libenca.mk new file +1
-0+LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes \ac_cv_file__dev_urandom=yes \
ac_cv_file__dev_arandom=no \
ac_cv_file__dev_srandom=no
Check indentation on those three lines: they appear to be right-shifted. Myabe your tabls are too small in your editor? We're using 8-space wide tabs.
package/libenca/libenca.mk
Quoted 2 lines
package/libenca/libenca.mk new file +2
-0+define LIBENCA_MAKE_HOST_TOOL + cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' -e 's/"//g' -e 's/NULL$$//' -e 's/ /\//' -e 's/^\(.*\)$$/s\/\1\//' ../iconvenc.h >encodings.sed
Please split this long line before each -e:
cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' \
-e 's/"//g' -e 's/NULL$$//' -e 's/ /\//' \
-e 's/^\(.*\)$$/s\/\1\//' ../iconvenc.h \
>encodings.sedpackage/libenca/libenca.mk line 24
Quoted 5 lines
package/libenca/libenca.mk new file +5
-0+ cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c + cd $(@D)/tools && sed -f encodings.sed ./encodings.dat | ./make_hash >encodings.h +endef + +LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
Should it be a POST_CONFIGURE, or a _PRE_BUILD hook? But we don't have a _PRE_BUILD HOOK, so let it be a _POST_CONFIGURE.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 3/14 libass: new package
In reply to Maxime Hadjinlianlibass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libass/Config.in | 10 ++++++++++ package/libass/libass.mk | 14 ++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/libass/Config.in create mode 100644 package/libass/libass.mk
package/Config.in +1 -0
@@ -620,6 +620,7 @@ source "package/yajl/Config.in" endmenu menu "Multimedia" +source "package/libass/Config.in" source "package/libdvbsi/Config.in" source "package/libdvdnav/Config.in" source "package/libdvdread/Config.in"
package/libass/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBASS + bool "libass" + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_LIBENCA + help + libass is a portable subtitle renderer for the ASS/SSA + (Advanced Substation Alpha/Substation Alpha) subtitle format + + http://code.google.com/p/libass/
package/libass/libass.mk new file +14 -0
@@ -0,0 +1,14 @@ +############################################################# +# +# libass +# +############################################################# + +LIBASS_VERSION = 0.9.12 +LIBASS_SITE = http://libass.googlecode.com/files +LIBASS_INSTALL_STAGING = YES +LIBASS_DEPENDENCIES = freetype fontconfig libenca +LIBASS_LICENSE = BSD-3c +LIBASS_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 3/14 libass: new package
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-4-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 1 line
+LIBASS_VERSION = 0.9.12
Hi,
current version is 0.10.2.
Regards, Bernd
PATCH 3/14 libass: new package
In reply to Maxime HadjinlianMaxime, All,
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 6 lines
libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>
[--SNIP--]
package/libass/libass.mk line 1
Quoted 7 lines
package/libass/libass.mk new file +1
-0@@ -0,0 +1,14 @@ +#############################################################
80-chars, please.
package/libass/libass.mk line 5
Quoted 4 lines
package/libass/libass.mk new file +4
-0+# +# libass +# +#############################################################
Ditto.
Rgards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 3/14 libass: new package
Maxime, All,
On 2014-01-14 23:17 +0100, Yann E. MORIN spake thusly:
Quoted 18 lines
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 6 lines
libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>[--SNIP--]
package/libass/libass.mk line 1
Quoted 7 lines
package/libass/libass.mk new file +1
-0@@ -0,0 +1,14 @@ +#############################################################80-chars, please.
Quoted 6 lines
package/libass/libass.mk line 5
Quoted 4 lines
package/libass/libass.mk new file +4
-0+# +# libass +# +#############################################################Ditto.
Otherwise:
Reviewed-by: "Yann E. MORIN" <[email protected]>
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 4/14 libbluray: new package
In reply to Maxime HadjinlianLIBBLURAY is a client library for accessing bluray disks.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libbluray/Config.in | 6 ++++++ package/libbluray/libbluray.mk | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 package/libbluray/Config.in create mode 100644 package/libbluray/libbluray.mk
package/Config.in +1 -0
@@ -621,6 +621,7 @@ endmenu menu "Multimedia" source "package/libass/Config.in" +source "package/libbluray/Config.in" source "package/libdvbsi/Config.in" source "package/libdvdnav/Config.in" source "package/libdvdread/Config.in"
package/libbluray/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBBLURAY + bool "libbluray" + help + libbluray is a client library for accessing bluray disks. + + http://www.videolan.org/developers/libbluray.html
package/libbluray/libbluray.mk new file +14 -0
@@ -0,0 +1,14 @@ +############################################################# +# +# libbluray +# +############################################################# + +LIBBLURAY_VERSION = 0.2.2 +LIBBLURAY_SITE = ftp://ftp.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION) +LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2 +LIBBLURAY_INSTALL_STAGING = YES +LIBBLURAY_LICENSE = LGPLv2.1+ +LIBBLURAY_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 4/14 libbluray: new package
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-5-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 1 line
+LIBBLURAY_VERSION = 0.2.2
Hi,
current version is 0.5.0.
My local package also included these depends, maybe you also need them:
LIBBLURAY_DEPENDENCIES = host-pkgconf freetype bzip2 libxml2 zlib $(if $(BR2 _PACKAGE_LIBICONV),libiconv)
Regards, Bernd
PATCH 4/14 libbluray: new package
In reply to Maxime HadjinlianMaxime, All,
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 1 line
Signed-off-by Maxime Hadjinlian <[email protected]>
[--SNIP--]
package/libbluray/libbluray.mk line 1
Quoted 7 lines
package/libbluray/libbluray.mk new file +1
-0@@ -0,0 +1,14 @@ +#############################################################
80-chars.
package/libbluray/libbluray.mk line 5
Quoted 4 lines
package/libbluray/libbluray.mk new file +4
-0+# +# libbluray +# +#############################################################
Ditto.
Otherwise:
Reviewed-by: "Yann E. MORIN" <[email protected]>
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 5/14 libcdio: new package
In reply to Maxime HadjinlianThe GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libcdio/Config.in | 11 +++++++++++ package/libcdio/libcdio.mk | 18 ++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 package/libcdio/Config.in create mode 100644 package/libcdio/libcdio.mk
package/Config.in +1 -0
@@ -446,6 +446,7 @@ source "package/celt051/Config.in" source "package/fdk-aac/Config.in" source "package/libao/Config.in" source "package/libcdaudio/Config.in" +source "package/libcdio/Config.in" source "package/libcue/Config.in" source "package/libcuefile/Config.in" source "package/libid3tag/Config.in"
package/libcdio/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBCDIO + bool "libcdio" + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + depends on BR2_INSTALL_LIBSTDCPP + help + The GNU Compact Disc Input and Control library. + + http://www.gnu.org/software/libcdio/ + +comment "libcdio requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP
package/libcdio/libcdio.mk new file +18 -0
@@ -0,0 +1,18 @@ +############################################################# +# +# libcdio +# +############################################################# + +LIBCDIO_VERSION = 0.82 +LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio +LIBCDIO_INSTALL_STAGING = YES +LIBCDIO_LICENSE = GPLv3+ +LIBCDIO_LICENSE_FILES = COPYING +LIBCDIO_CONF_OPT = --disable-example-progs + +ifeq ($(BR2_ENABLE_LOCALE),) +LIBCDIO_DEPENDENCIES = libiconv +endif + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 5/14 libcdio: new package
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-6-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 1 line
+LIBCDIO_VERSION = 0.82
Hi,
current version is 0.90.
Regards, Bernd
PATCH 5/14 libcdio: new package
In reply to Maxime HadjinlianMaxime, All,
As seen on IRC: 80 chars... :-p
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 1 line
Signed-off-by Maxime Hadjinlian <[email protected]>
Otherwise:
Reviewed-by: "Yann E. MORIN" <[email protected]>
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 6/14 libmodplug: new package
In reply to Maxime HadjinlianMOD music file decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libmodplug/Config.in | 10 ++++++++++ package/libmodplug/libmodplug.mk | 12 ++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/libmodplug/Config.in create mode 100644 package/libmodplug/libmodplug.mk
package/Config.in +1 -0
@@ -452,6 +452,7 @@ source "package/libcuefile/Config.in" source "package/libid3tag/Config.in" source "package/liblo/Config.in" source "package/libmad/Config.in" +source "package/libmodplug/Config.in" source "package/libmpd/Config.in" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in"
package/libmodplug/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBMODPLUG + bool "libmodplug" + depends on BR2_INSTALL_LIBSTDCPP + help + MOD music file decoder + + http://modplug-xmms.sourceforge.net/ + +comment "libmodplug requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP
package/libmodplug/libmodplug.mk new file +12 -0
@@ -0,0 +1,12 @@ +############################################################# +# +# libmodplug +# +############################################################# + +LIBMODPLUG_VERSION = 0.8.7 +LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION) +LIBMODPLUG_INSTALL_STAGING = YES +LIBMODPLUG_LICENSE = Public Domain + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 6/14 libmodplug: new package
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-7-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 1 line
+LIBMODPLUG_VERSION = 0.8.7
Hi,
current version is 0.8.8.4.
Regards, Bernd
PATCH 6/14 libmodplug: new package
In reply to Maxime HadjinlianMaxime, All,
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 1 line
Signed-off-by Maxime Hadjinlian <[email protected]>
Otherwise:
Reviewed-by: "Yann E. MORIN" <[email protected]>
/me likes the easy ones... :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 6/14 libmodplug: new package
In reply to Maxime HadjinlianQuoted 33 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Hadjinlian <[email protected]> writes:
MOD music file decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>--- package/Config.in | 1 + package/libmodplug/Config.in | 10 ++++++++++ package/libmodplug/libmodplug.mk | 12 ++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/libmodplug/Config.in create mode 100644 package/libmodplug/libmodplug.mkpackage/Config.in +1
-0@@ -452,6 +452,7 @@ source "package/libcuefile/Config.in" source "package/libid3tag/Config.in" source "package/liblo/Config.in" source "package/libmad/Config.in" +source "package/libmodplug/Config.in" source "package/libmpd/Config.in" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in"package/libmodplug/Config.in new file +0
-0
package/libmodplug/Config.in line 10
Quoted 10 lines
package/libmodplug/Config.in new file +10
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBMODPLUG + bool "libmodplug" + depends on BR2_INSTALL_LIBSTDCPP + help + MOD music file decoder + + http://modplug-xmms.sourceforge.net/ + +comment "libmodplug requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP
We've standardized on '<foo> needs a toolchain w/ C++' now.
package/libmodplug/libmodplug.mk line 1
Quoted 7 lines
package/libmodplug/libmodplug.mk new file +1
-0@@ -0,0 +1,12 @@ +#############################################################
80 char #'s.
package/libmodplug/libmodplug.mk line 10
Quoted 9 lines
package/libmodplug/libmodplug.mk new file +9
-0+# +# libmodplug +# +############################################################# + +LIBMODPLUG_VERSION = 0.8.7 +LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION) +LIBMODPLUG_INSTALL_STAGING = YES +LIBMODPLUG_LICENSE = Public Domain
You forgot _LICENSE_FILES.
Committed with these fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 6/14 libmodplug: new package
Hi all,
Quoted 37 lines · Peter Korsgaard
Quoted 37 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Hadjinlian <[email protected]> writes:
MOD music file decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>--- package/Config.in | 1 + package/libmodplug/Config.in | 10 ++++++++++ package/libmodplug/libmodplug.mk | 12 ++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/libmodplug/Config.in create mode 100644 package/libmodplug/libmodplug.mkpackage/Config.in +1
-0@@ -452,6 +452,7 @@ source "package/libcuefile/Config.in" source "package/libid3tag/Config.in" source "package/liblo/Config.in" source "package/libmad/Config.in" +source "package/libmodplug/Config.in" source "package/libmpd/Config.in" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in"package/libmodplug/Config.in new file +4
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBMODPLUG + bool "libmodplug" + depends on BR2_INSTALL_LIBSTDCPP + help
Quoted 8 lines
package/libmodplug/Config.in line 10
Quoted 6 lines
package/libmodplug/Config.in new file +6
-0+ MOD music file decoder + + http://modplug-xmms.sourceforge.net/ + +comment "libmodplug requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPPWe've standardized on '<foo> needs a toolchain w/ C++' now.
Ok, I will fix this, then send again the whole series with all the comments.
Quoted 23 lines
package/libmodplug/libmodplug.mk line 1
Quoted 8 lines
package/libmodplug/libmodplug.mk new file +1
-0@@ -0,0 +1,12 @@ +#############################################################80 char #'s.
package/libmodplug/libmodplug.mk line 10
Quoted 9 lines
package/libmodplug/libmodplug.mk new file +9
-0+# +# libmodplug +# +############################################################# + +LIBMODPLUG_VERSION = 0.8.7 +LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION) +LIBMODPLUG_INSTALL_STAGING = YES +LIBMODPLUG_LICENSE = Public DomainYou forgot
_LICENSE_FILES.
Quoted 1 line
Committed with these fixes, thanks.
Thanks
Quoted 3 lines
--
Bye, Peter Korsgaard
PATCH 7/14 libnfs: new package
In reply to Maxime Hadjinliannfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libnfs/Config.in | 11 +++++++++++ package/libnfs/libnfs.mk | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/libnfs/Config.in create mode 100644 package/libnfs/libnfs.mk
package/Config.in +1 -0
@@ -508,6 +508,7 @@ source "package/libconfig/Config.in" source "package/libconfuse/Config.in" source "package/libfuse/Config.in" source "package/liblockfile/Config.in" +source "package/libnfs/Config.in" source "package/libsysfs/Config.in" source "package/lockdev/Config.in" endmenu
package/libnfs/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBNFS + bool "libnfs" + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC + depends on BR2_LARGEFILE + help + nfs userspace implementation. + + http://github.com/sahlberg/libnfs + +comment "libnfs requires a toolchain with RPC and LARGEFILE support" + depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
package/libnfs/libnfs.mk new file +16 -0
@@ -0,0 +1,16 @@ +############################################################# +# +# libnfs +# +############################################################# + +LIBNFS_VERSION = libnfs-1.3.0 +LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION)) +LIBNFS_INSTALL_STAGING = YES +LIBNFS_AUTORECONF = YES +LIBNFS_MAKE = $(MAKE1) +LIBNFS_LICENSE = LGPLv2.1+ +LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt +LIBNFS_DEPENDENCIES = host-pkgconf + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 7/14 libnfs: new package
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-8-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 1 line
+LIBNFS_VERSION = libnfs-1.3.0
Hi,
current version is 1.8.0.
Regards, Bernd
PATCH 7/14 libnfs: new package
In reply to Maxime HadjinlianMaxime, All,
On 2014-01-12 18:53 +0100, Maxime Hadjinlian spake thusly:
Quoted 1 line
Signed-off-by Maxime Hadjinlian <[email protected]>
Otherwise:
Reviewed-by: "Yann E. MORIN" <[email protected]>
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 8/14 libplist: new package
In reply to Maxime Hadjinlianlibplist is a client for manipulating Apple Property List (.plist) files This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libplist/Config.in | 12 ++++++++++++ package/libplist/libplist.mk | 15 +++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/libplist/Config.in create mode 100644 package/libplist/libplist.mk
package/Config.in +1 -0
@@ -728,6 +728,7 @@ source "package/libical/Config.in" source "package/liblog4c-localtime/Config.in" source "package/libnspr/Config.in" source "package/libpfm4/Config.in" +source "package/libplist/Config.in" source "package/libpthsem/Config.in" source "package/libseccomp/Config.in" source "package/libsigc/Config.in"
package/libplist/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBPLIST + bool "libplist" + select BR2_PACKAGE_LIBXML2 + depends on BR2_INSTALL_LIBSTDCPP + help + libplist is a client for manipulating Apple Property List + (.plist) files + + http://cgit.sukimashita.com/libplist.git + +comment "libplist requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP
package/libplist/libplist.mk new file +15 -0
@@ -0,0 +1,15 @@ +############################################################# +# +# libplist +# +############################################################# + +LIBPLIST_VERSION = 1.6 +LIBPLIST_SITE = http://cgit.sukimashita.com/libplist.git/snapshot +LIBPLIST_DEPENDENCIES = libxml2 +LIBPLIST_INSTALL_STAGING = YES +LIBPLIST_MAKE = $(MAKE1) +LIBPLIST_LICENSE = LGPLv2.1+ +LIBPLIST_LICENSE_FILES = COPYING + +$(eval $(cmake-package))
Signature · 1 line
1.8.5.2
PATCH 9/14 librtmp: new package
In reply to Maxime Hadjinlianrtmpdump - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
Note that this package will only install librtmp in this state. Hence the name librtmp instead of rtmpdump
--- package/Config.in | 1 + package/librtmp/Config.in | 8 ++++++++ package/librtmp/librtmp.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 package/librtmp/Config.in create mode 100644 package/librtmp/librtmp.mk
package/Config.in +1 -0
@@ -542,6 +542,7 @@ source "package/libpng/Config.in" source "package/libqrencode/Config.in" source "package/libraw/Config.in" source "package/librsvg/Config.in" +source "package/librtmp/Config.in" source "package/libsvg/Config.in" source "package/libsvg-cairo/Config.in" source "package/libsvgtiny/Config.in"
package/librtmp/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBRTMP + bool "librtmp" + select BR2_PACKAGE_ZLIB + help + rtmpdump - RTMPDump Real-Time Messaging Protocol API + Only librtmp is installed by this package. + + http://rtmpdump.mplayerhq.hu
package/librtmp/librtmp.mk new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.8.5.2
PATCH 10/14 libshairplay: new package
In reply to Maxime Hadjinlianlibshairplay is a client library that emulates an airplay server This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/libshairplay/Config.in | 12 ++++++++++++ package/libshairplay/libshairplay.mk | 13 +++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/libshairplay/Config.in create mode 100644 package/libshairplay/libshairplay.mk
package/Config.in +1 -0
@@ -676,6 +676,7 @@ source "package/liboping/Config.in" source "package/libosip2/Config.in" source "package/libpcap/Config.in" source "package/librsync/Config.in" +source "package/libshairplay/Config.in" source "package/libsoup/Config.in" source "package/libtirpc/Config.in" source "package/libtorrent/Config.in"
package/libshairplay/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBSHAIRPLAY + bool "libshairplay" + select BR2_PACKAGE_OPENSSL + depends on BR2_INET_IPV6 + help + libshairplay is a client library that emulates an airplay + server + + https://github.com/juhovh/shairplay + +comment "libshairplay requires a toolchain with IPV6 support" + depends on !BR2_INET_IPV6
package/libshairplay/libshairplay.mk new file +13 -0
@@ -0,0 +1,13 @@ +############################################################# +# +# libshairplay +# +############################################################# +LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523 +LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION)) +LIBSHAIRPLAY_INSTALL_STAGING = YES +LIBSHAIRPLAY_INSTALL_TARGET = YES +LIBSHAIRPLAY_AUTORECONF = YES +LIBSHAIRPORT_LICENSE = MIT + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 11/14 tinyxml: new package
In reply to Maxime HadjinlianTiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/tinyxml/Config.in | 11 +++++++++++ package/tinyxml/tinyxml.mk | 15 +++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/tinyxml/Config.in create mode 100644 package/tinyxml/tinyxml.mk
package/Config.in +1 -0
@@ -619,6 +619,7 @@ source "package/libxslt/Config.in" source "package/libyaml/Config.in" source "package/mxml/Config.in" source "package/rapidjson/Config.in" +source "package/tinyxml/Config.in" source "package/xerces/Config.in" source "package/yajl/Config.in" endmenu
package/tinyxml/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_TINYXML + bool "tinyxml" + depends on BR2_INSTALL_LIBSTDCPP + help + TinyXML is a simple, small, C++ XML parser that can be + easily integrating into other programs. + + https://github.com/leethomason/tinyxml2 + +comment "tinyxml requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP
package/tinyxml/tinyxml.mk new file +15 -0
@@ -0,0 +1,15 @@ +############################################################# +# +# tinyxml +# +############################################################# + +TINYXML_VERSION = 2.6.2_2 +TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources +# AUTORECONF is needed because the XBMC's version of TinyXML contains a +# configure.ac which is not present in mainline. +TINYXML_AUTORECONF = YES +TINYXML_INSTALL_STAGING = YES +TINYXML_LICENSE = zlib + +$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
PATCH 12/14 sdl: add host version
In reply to Maxime HadjinlianHost version is needed to build xbmc
--- package/sdl/sdl.mk | 2 ++ 1 file changed, 2 insertions(+)
package/sdl/sdl.mk +2 -0
@@ -18,6 +18,7 @@ define SDL_RUN_AUTOGEN endef SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN +HOST_SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
@@ -80,3 +81,4 @@ endef SDL_POST_INSTALL_STAGING_HOOKS += SDL_FIXUP_SDL_CONFIG $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.8.5.2
PATCH 13/14 sdl_image: add host version
In reply to Maxime HadjinlianHost version is needed to build xbmc
--- package/sdl_image/sdl_image.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)
package/sdl_image/sdl_image.mk +11 -0
@@ -38,4 +38,15 @@ SDL_IMAGE_DEPENDENCIES = sdl \ $(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \ $(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp) +HOST_SDL_IMAGE_CONF_OPT = --with-sdl-prefix=$(HOST_DIR)/usr \ + --with-sdl-exec-prefix=$(HOST_DIR)/usr \ + --disable-sdltest \ + --disable-static \ + --disable-jpg-shared \ + --disable-png-shared \ + --disable-tif-shared \ + +HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl + $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.8.5.2
PATCH 14/14 xbmc: new package
In reply to Maxime HadjinlianXBMC is an award-winning free and open source (GPL) software media player and entertainment hub for digital media.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>
--- package/Config.in | 1 + package/xbmc/Config.in | 202 +++++++++++++++++++++ package/xbmc/S99xbmc.default | 24 +++ package/xbmc/S99xbmc.raspberrypi | 31 ++++ package/xbmc/xbmc-0001-Fixup-include-path.patch | 79 ++++++++ .../xbmc-0002-RaspberryPi-Default-Settings.patch | 167 +++++++++++++++++ package/xbmc/xbmc.mk | 167 +++++++++++++++++ 7 files changed, 671 insertions(+) create mode 100644 package/xbmc/Config.in create mode 100755 package/xbmc/S99xbmc.default create mode 100755 package/xbmc/S99xbmc.raspberrypi create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch create mode 100644 package/xbmc/xbmc.mk
package/Config.in +1 -0
@@ -25,6 +25,7 @@ source "package/tidsp-binaries/Config.in" source "package/tstools/Config.in" source "package/vorbis-tools/Config.in" source "package/wavpack/Config.in" +source "package/xbmc/Config.in" source "package/yavta/Config.in" endmenu
package/xbmc/Config.in new file +202 -0
202 lines not on this page · raw message
package/xbmc/S99xbmc.default new file +24 -0
@@ -0,0 +1,24 @@ +#!/bin/sh + +NAME=xbmc.bin +DAEMON=/usr/lib/xbmc/$NAME +DAEMON_ARGS="--standalone -fs -n" +PIDFILE=/var/run/xbmc.pid + +export HOME=/root + +case "$1" in + start) + echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit + ;; + stop) + start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0
package/xbmc/S99xbmc.raspberrypi new file +31 -0
@@ -0,0 +1,31 @@ +#!/bin/sh + +NAME=xbmc.bin +DAEMON=/usr/lib/xbmc/$NAME +DAEMON_ARGS="--standalone -fs -n" +PIDFILE=/var/run/xbmc.pid + +XRES=1280 +YRES=720 + +export LD_LIBRARY_PATH=$XBMC_BASE/lib:/opt/vc/lib:/usr/lib/mysql:$LD_LIBRARY_PATH +export LD_PRELOAD=/usr/lib/libcofi_rpi.so +export HOME=/root + +case "$1" in + start) + echo 0 > /sys/class/vtconsole/vtcon1/bind + fbset -xres 1 -yres 1 -vxres 1 -vyres 1 + echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit + ;; + stop) + start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0
package/xbmc/xbmc-0001-Fixup-include-path.patch new file +79 -0
79 lines not on this page · raw message
package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch new file +167 -0
167 lines not on this page · raw message
package/xbmc/xbmc.mk new file +167 -0
167 lines not on this page · raw message
Signature · 1 line
1.8.5.2
PATCH 14/14 xbmc: new package
You should note that XBMC needs Java to build. Currently, it uses the JRE of the user's machine.
I could use jamvm with its host variant, but it needs classpath to be built, which itself need java installed. Since I didn't see any way out of this, I kept it this way.
Quoted 743 lines · Maxime Hadjinlian
XBMC is an award-winning free and open source (GPL) software media player and entertainment hub for digital media.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>--- package/Config.in | 1 + package/xbmc/Config.in | 202 +++++++++++++++++++++ package/xbmc/S99xbmc.default | 24 +++ package/xbmc/S99xbmc.raspberrypi | 31 ++++ package/xbmc/xbmc-0001-Fixup-include-path.patch | 79 ++++++++ .../xbmc-0002-RaspberryPi-Default-Settings.patch | 167 +++++++++++++++++ package/xbmc/xbmc.mk | 167 +++++++++++++++++ 7 files changed, 671 insertions(+) create mode 100644 package/xbmc/Config.in create mode 100755 package/xbmc/S99xbmc.default create mode 100755 package/xbmc/S99xbmc.raspberrypi create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch create mode 100644 package/xbmc/xbmc.mkpackage/Config.in +1
-0@@ -25,6 +25,7 @@ source "package/tidsp-binaries/Config.in" source "package/tstools/Config.in" source "package/vorbis-tools/Config.in" source "package/wavpack/Config.in" +source "package/xbmc/Config.in" source "package/yavta/Config.in" endmenupackage/xbmc/Config.in new file +202
-0@@ -0,0 +1,202 @@ +comment "xbmc requires an OpenGL-capable backend" + depends on !(BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_OPENGL_ES) + +# External toolchain are required because of a missing bitdefs.h +comment "xbmc requires an external glibc or eglibc toolchain with C++ and WCHAR support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) || BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_BUILDROOT + +menuconfig BR2_PACKAGE_XBMC + bool "xbmc" + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_JASPER + select BR2_PACKAGE_LIBCDIO + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBFRIBIDI + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBMODPLUG + select BR2_PACKAGE_LIBMPEG2 + select BR2_PACKAGE_LIBUNGIF + select BR2_PACKAGE_LZO + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_BSDDB + select BR2_PACKAGE_PYTHON_BZIP2 + select BR2_PACKAGE_PYTHON_CURSES + select BR2_PACKAGE_PYTHON_PYEXPAT + select BR2_PACKAGE_PYTHON_READLINE + select BR2_PACKAGE_PYTHON_SQLITE + select BR2_PACKAGE_PYTHON_SSL + select BR2_PACKAGE_PYTHON_UNICODEDATA + select BR2_PACKAGE_PYTHON_ZLIB + select BR2_PACKAGE_READLINE + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_TAGLIB + select BR2_PACKAGE_TIFF + select BR2_PACKAGE_TINYXML + select BR2_PACKAGE_YAJL + select BR2_PACKAGE_ZLIB + depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && !BR2_TOOLCHAIN_USES_UCLIBC + depends on !BR2_TOOLCHAIN_USES_UCLIBC + help + XBMC is an award-winning free and open source (GPL) software + media player and entertainment hub for digital media. + + http://xbmc.org + +if BR2_PACKAGE_XBMC + +config BR2_PACKAGE_XBMC_AVAHI + bool "avahi" + select BR2_PACKAGE_AVAHI + select BR2_PACKAGE_AVAHI_DAEMON + help + Enable Avahi support. + Select this if you want XBMC to support Bonjour protocol. + +config BR2_PACKAGE_XBMC_DBUS + bool "dbus" + select BR2_PACKAGE_DBUS + help + Enable DBUS support + +config BR2_PACKAGE_XBMC_FLAC + bool "flac" + select BR2_PACKAGE_FLAC + help + Enable flac input/streaming support. + Select this if you want to play back FLAC files. + +config BR2_PACKAGE_XBMC_LIBASS + bool "libass" + select BR2_PACKAGE_LIBASS + help + Enable ASS sublititles support + +config BR2_PACKAGE_XBMC_LIBBLURAY + bool "libbluray" + select BR2_PACKAGE_LIBBLURAY + help + Enable bluray input support. + Select this if you want to play back bluray content. + +config BR2_PACKAGE_XBMC_LIBCEC + bool "libcec" + select BR2_PACKAGE_LIBCEC + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + help + Enable CEC support. + Select this if you want XBMC to support HDMI CEC. + +if BR2_PACKAGE_XBMC_LIBCEC && BR2_arm + +config BR2_PACKAGE_XBMC_LIBCEC_RBP + bool "rpi support" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE + select BR2_PACKAGE_RPI_USERLAND + select BR2_PACKAGE_LIBCEC_RBP + help + Enable RasberryPi support + +comment "rpi support requires a toolchain with C++ and LARGEFILE support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE) + +endif + +comment "libcec requires a toolchain with C++ and WCHAR support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) + +config BR2_PACKAGE_XBMC_LIBMICROHTTPD + bool "libmicrohttpd" + select BR2_PACKAGE_LIBMICROHTTPD + help + Enable webserver feature + +config BR2_PACKAGE_XBMC_LIBNFS + bool "libnfs" + select BR2_PACKAGE_LIBNFS + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC + help + Enable NFS server support. + +comment "libnfs support requires a toolchain with LARGEFILE and RPC support" + depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_NATIVE_RPC) + +config BR2_PACKAGE_XBMC_LIBRTMP + bool "librtmp" + select BR2_PACKAGE_LIBRTMP + help + Enable rtmp input support. + Select this if you want to play back rtmp stream. + +config BR2_PACKAGE_XBMC_LIBSAMPLERATE + bool "libsamplerate" + select BR2_PACKAGE_LIBSAMPLERATE + help + Enable libsamplerate input support. + Select this for software sample rate conversion. + +config BR2_PACKAGE_XBMC_LIBSHAIRPLAY + bool "libshairport" + select BR2_PACKAGE_LIBSHAIRPLAY + depends on BR2_INET_IPV6 + help + Enable shairport support. + Select this if you want to stream content from Apple device. + +comment "libshairport support requires a toolchain with IPV6 support" + depends on !(BR2_INET_IPV6) + +config BR2_PACKAGE_XBMC_LIBSMBCLIENT + bool "libsmbclient" + select BR2_PACKAGE_SAMBA + select BR2_PACKAGE_SAMBA_LIBSMBCLIENT + help + Enable Samba support + +config BR2_PACKAGE_XBMC_LIBTHEORA + bool "libtheora" + select BR2_PACKAGE_LIBTHEORA + help + Enable theora input support. + Select this if you want to play back OGG/OGV files (Video). + +config BR2_PACKAGE_XBMC_LIBUSB + bool "libusb" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable libusb support. + +config BR2_PACKAGE_XBMC_MAD + bool "mad" + select BR2_PACKAGE_LIBID3TAG + select BR2_PACKAGE_LIBMAD + help + Enable mad input support. + Select this if you want to play back MP3 files. + +config BR2_PACKAGE_XBMC_VORBIS + bool "vorbis" + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBVORBIS + help + Enable vorbis input/streaming support. + Select this if you want to play back OGG files on hardfloat + targets. + +config BR2_PACKAGE_XBMC_WAVPACK + bool "wavpack" + select BR2_PACKAGE_WAVPACK + help + Enable wavpack input support. + Select this if you want to play back WV files. + +endifpackage/xbmc/S99xbmc.default new file +24
-0@@ -0,0 +1,24 @@ +#!/bin/sh + +NAME=xbmc.bin +DAEMON=/usr/lib/xbmc/$NAME +DAEMON_ARGS="--standalone -fs -n" +PIDFILE=/var/run/xbmc.pid + +export HOME=/root + +case "$1" in + start) + echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit + ;; + stop) + start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0package/xbmc/S99xbmc.raspberrypi new file +31
-0@@ -0,0 +1,31 @@ +#!/bin/sh + +NAME=xbmc.bin +DAEMON=/usr/lib/xbmc/$NAME +DAEMON_ARGS="--standalone -fs -n" +PIDFILE=/var/run/xbmc.pid + +XRES=1280 +YRES=720 + +export LD_LIBRARY_PATH=$XBMC_BASE/lib:/opt/vc/lib:/usr/lib/mysql:$LD_LIBRARY_PATH +export LD_PRELOAD=/usr/lib/libcofi_rpi.so +export HOME=/root + +case "$1" in + start) + echo 0 > /sys/class/vtconsole/vtcon1/bind + fbset -xres 1 -yres 1 -vxres 1 -vyres 1 + echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit + ;; + stop) + start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0package/xbmc/xbmc-0001-Fixup-include-path.patch new file +79
-0@@ -0,0 +1,79 @@ +From 63c255f1f5d68363f49193aceed343e602dc8bdf Mon Sep 17 00:00:00 2001 +From: Maxime Hadjinlian <[email protected]> +Date: Thu, 26 Dec 2013 21:17:10 +0100 +Subject: [PATCH] Fixup include path + +Patch originally taken from : +http://repository.timesys.com/buildsources/x/xbmc/xbmc-11.0/xbmc-11.0-fixups.patch +--- + lib/enca/configure | 3 --- + lib/enca/configure.ac | 3 --- + lib/libdvd/libdvdread/misc/dvdread-config.sh | 6 +++--- + lib/timidity/configure.in | 6 +++--- + 4 files changed, 6 insertions(+), 12 deletions(-) + +diff --git a/lib/enca/configure b/lib/enca/configure +index c839a51..7af5a09 100644 +--- a/lib/enca/configure ++++ b/lib/enca/configure +@@ -12011,9 +12011,6 @@ fi + if test "$prefix" = "NONE"; then + LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib" + CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include" +-else +- LDFLAGS="$LDFLAGS -L$prefix/lib" +- CPPFLAGS="$CPPFLAGS -I$prefix/include" + fi + + +diff --git a/lib/enca/configure.ac b/lib/enca/configure.ac +index 41434df..47d5367 100644 +--- a/lib/enca/configure.ac ++++ b/lib/enca/configure.ac +@@ -100,9 +100,6 @@ dnl Dirty path hack. Helps some people with badly set up search paths. + if test "$prefix" = "NONE"; then + LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib" + CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include" +-else +- LDFLAGS="$LDFLAGS -L$prefix/lib" +- CPPFLAGS="$CPPFLAGS -I$prefix/include" + fi + + dnl Checks for libraries. +diff --git a/lib/libdvd/libdvdread/misc/dvdread-config.sh b/lib/libdvd/libdvdread/misc/dvdread-config.sh +index e170c7e..25ee893 100644 +--- a/lib/libdvd/libdvdread/misc/dvdread-config.sh ++++ b/lib/libdvd/libdvdread/misc/dvdread-config.sh +@@ -48,9 +48,9 @@ if test "$echo_prefix" = "yes"; then + fi + + if test "$echo_cflags" = "yes"; then +- echo -I$prefix/include $extracflags ++ echo $extracflags + fi + + if test "$echo_libs" = "yes"; then +- echo -L$libdir $dvdreadlib +-fi ++ echo $dvdreadlib ++fi +diff --git a/lib/timidity/configure.in b/lib/timidity/configure.in +index 9f2835b..733470a 100644 +--- a/lib/timidity/configure.in ++++ b/lib/timidity/configure.in +@@ -100,9 +100,9 @@ done + + # add $prefix if specified. + if test "x$prefix" != xNONE -a "x$prefix" != "x$ac_default_prefix" -a "x$prefix" != "x/usr"; then +- LDFLAGS="-L$prefix/lib $LDFLAGS" +- SHLDFLAGS="-L$prefix/lib $SHLDFLAGS" +- CPPFLAGS="-I$prefix/include $CPPFLAGS" ++ LDFLAGS="$LDFLAGS" ++ SHLDFLAGS="$SHLDFLAGS" ++ CPPFLAGS="$CPPFLAGS" + fi + + dnl add --with-includes, --with-libraries +-- +1.8.5.2 +package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch new file +167
-0@@ -0,0 +1,167 @@ +From 2541772a3ed71402a620466feb6a337b40f08880 Mon Sep 17 00:00:00 2001 +From: Maxime Hadjinlian <[email protected]> +Date: Sat, 15 Dec 2012 23:41:06 +0100 +Subject: [PATCH] RaspberryPi Default Settings + +Add some default settings if the target platform is the RaspberryPi. +Avoid the fact that the user _MUST_ have an advandcedsettings.xml to be able +to use XBMC properly. + +--- + xbmc/settings/AdvancedSettings.cpp | 31 +++++++++++++++++++++++++++ + xbmc/settings/GUISettings.cpp | 8 +++---- + xbmc/settings/GUIWindowSettingsCategory.cpp | 4 ++-- + 3 files changed, 37 insertions(+), 6 deletions(-) + +diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp +index 2cbbf98..42ccabd 100644 +--- a/xbmc/settings/AdvancedSettings.cpp ++++ b/xbmc/settings/AdvancedSettings.cpp +@@ -72,7 +72,11 @@ void CAdvancedSettings::Initialize() + m_karaokeAlwaysEmptyOnCdgs = 1; + m_karaokeUseSongSpecificBackground = 0; + ++ #if defined(TARGET_RASPBERRY_PI) ++ m_audioDefaultPlayer = "omxplayer"; ++ #else + m_audioDefaultPlayer = "paplayer"; ++ #endif + m_audioPlayCountMinimumPercent = 90.0f; + m_audioHost = "default"; + +@@ -93,8 +97,14 @@ void CAdvancedSettings::Initialize() + m_videoBlackBarColour = 0; + m_videoPPFFmpegDeint = "linblenddeint"; + m_videoPPFFmpegPostProc = "ha:128:7,va,dr"; ++ ++ #if defined(TARGET_RASPBERRY_PI) ++ m_videoDefaultPlayer = "omxplayer"; ++ m_videoDefaultDVDPlayer = "omxplayer"; ++ #else + m_videoDefaultPlayer = "dvdplayer"; + m_videoDefaultDVDPlayer = "dvdplayer"; ++ #endif + m_videoIgnoreSecondsAtStart = 3*60; + m_videoIgnorePercentAtEnd = 8.0f; + m_videoPlayCountMinimumPercent = 90.0f; +@@ -287,7 +297,11 @@ void CAdvancedSettings::Initialize() + m_alwaysOnTop = false; + #endif + ++ #if defined(TARGET_RASPBERRY_PI) ++ m_bgInfoLoaderMaxThreads = 2; ++ #else + m_bgInfoLoaderMaxThreads = 5; ++ #endif + + m_iPVRTimeCorrection = 0; + m_iPVRInfoToggleInterval = 3000; +@@ -299,7 +313,12 @@ void CAdvancedSettings::Initialize() + + m_measureRefreshrate = false; + ++ #if defined(TARGET_RASPBERRY_PI) ++ m_cacheMemBufferSize = 1024 * 1024 * 10; ++ #else + m_cacheMemBufferSize = 1024 * 1024 * 20; ++ #endif ++ + m_addonPackageFolderSize = 200; + + m_jsonOutputCompact = true; +@@ -509,11 +528,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file) + RefreshOverride override = {0}; + + float fps; ++ #if defined(TARGET_RASPBERRY_PI) ++ fps = 23.976; ++ override.fpsmin = fps - 0.01f; ++ override.fpsmax = fps + 0.01f; ++ #else + if (XMLUtils::GetFloat(pRefreshOverride, "fps", fps)) + { + override.fpsmin = fps - 0.01f; + override.fpsmax = fps + 0.01f; + } ++ #endif + + float fpsmin, fpsmax; + if (XMLUtils::GetFloat(pRefreshOverride, "fpsmin", fpsmin) && +@@ -524,11 +549,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file) + } + + float refresh; ++ #if defined(TARGET_RASPBERRY_PI) ++ refresh = 24.0; ++ override.refreshmin = refresh - 0.01f; ++ override.refreshmax = refresh + 0.01f; ++ #else + if (XMLUtils::GetFloat(pRefreshOverride, "refresh", refresh)) + { + override.refreshmin = refresh - 0.01f; + override.refreshmax = refresh + 0.01f; + } ++ #endif + + float refreshmin, refreshmax; + if (XMLUtils::GetFloat(pRefreshOverride, "refreshmin", refreshmin) && +diff --git a/xbmc/settings/GUISettings.cpp b/xbmc/settings/GUISettings.cpp +index c1820a7..c00fb18 100644 +--- a/xbmc/settings/GUISettings.cpp ++++ b/xbmc/settings/GUISettings.cpp +@@ -537,11 +537,11 @@ void CGUISettings::Initialize() + AddInt(NULL, "input.appleremotesequencetime", 13603, 500, 50, 50, 1000, SPIN_CONTROL_INT_PLUS, MASK_MS, TEXT_OFF); + AddSeparator(in, "input.sep1"); + #endif +- AddBool(in, "input.remoteaskeyboard", 21449, false); ++ AddBool(in, "input.remoteaskeyboard", 21449, true); + #if defined(TARGET_DARWIN_IOS) + AddBool(NULL, "input.enablemouse", 21369, true); + #else +- AddBool(in, "input.enablemouse", 21369, true); ++ AddBool(in, "input.enablemouse", 21369, false); + #endif + #if defined(HAS_SDL_JOYSTICK) + AddBool(in, "input.enablejoystick", 35100, true); +@@ -831,7 +831,7 @@ void CGUISettings::Initialize() + + #ifdef HAS_WEB_SERVER + CSettingsCategory* srvWeb = AddCategory(SETTINGS_SERVICE, "webserver", 33101); +- AddBool(srvWeb, "services.webserver", 263, false); ++ AddBool(srvWeb, "services.webserver", 263, true); + AddString(srvWeb,"services.webserverport", 730, CUtil::CanBindPrivileged()?"80":"8080", EDIT_CONTROL_NUMBER_INPUT, false, 730); + AddString(srvWeb,"services.webserverusername",1048, "xbmc", EDIT_CONTROL_INPUT); + AddString(srvWeb,"services.webserverpassword",733, "", EDIT_CONTROL_HIDDEN_INPUT, true, 733); +@@ -881,7 +881,7 @@ void CGUISettings::Initialize() + AddInt(laf, "lookandfeel.startupwindow",512,1, WINDOW_HOME, 1, WINDOW_PYTHON_END, SPIN_CONTROL_TEXT); + AddString(laf, "lookandfeel.soundskin",15108,"SKINDEFAULT", SPIN_CONTROL_TEXT); + AddSeparator(laf, "lookandfeel.sep2"); +- AddBool(laf, "lookandfeel.enablerssfeeds",13305, true); ++ AddBool(laf, "lookandfeel.enablerssfeeds",13305, false); + AddString(laf, "lookandfeel.rssedit", 21450, "", BUTTON_CONTROL_STANDARD); + + CSettingsCategory* loc = AddCategory(SETTINGS_APPEARANCE, "locale", 14090); +diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp +index b4cee69..a9bcb7a 100644 +--- a/xbmc/settings/GUIWindowSettingsCategory.cpp ++++ b/xbmc/settings/GUIWindowSettingsCategory.cpp +@@ -1271,7 +1271,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC + if (!g_application.StartWebServer()) + { + CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(33101), "", g_localizeStrings.Get(33100), ""); +- g_guiSettings.SetBool("services.webserver", false); ++ g_guiSettings.SetBool("services.webserver", true); + } + } + else if (strSetting.Equals("services.webserverusername") || strSetting.Equals("services.webserverpassword")) +@@ -1292,7 +1292,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC + else + { + g_application.StopAirplayServer(true); +- g_guiSettings.SetBool("services.airplay", false); ++ g_guiSettings.SetBool("services.airplay", true); + CZeroconf::GetInstance()->Stop(); + } + #endif +-- +1.7.10.4package/xbmc/xbmc.mk new file +167
-1@@ -0,0 +1,167 @@ +################################################################################ +# +# xbmc +# +################################################################################# + +XBMC_VERSION = 12.3-Frodo +XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION)) +XBMC_LICENSE = GPLv2 +XBMC_LICENSE_FILES = LICENSE.GPL +XBMC_DEPENDENCIES = host-lzo host-sdl_image host-swig +XBMC_DEPENDENCIES += libmpeg2 bzip2 libcdio python lzo zlib libgcrypt openssl \ + sqlite fontconfig freetype jasper jpeg libmodplug libpng libungif tiff \ + libcurl boost libfribidi ncurses pcre libplist readline expat libxml2 yajl \ + tinyxml taglib + +XBMC_CONF_ENV += PYTHON_VERSION="$(PYTHON_VERSION_MAJOR)" +XBMC_CONF_ENV += PYTHON_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ -lpython$(PYTHON_VERSION_MAJOR) -lpthread -ldl -lutil -lm" +XBMC_CONF_ENV += PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)" +XBMC_CONF_ENV += PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" +XBMC_CONF_ENV += PYTHON_NOVERSIONCHECK="no-check" +XBMC_CONF_ENV += TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" + +XBMC_PLATFORM = default + +XBMC_MAKE=$(MAKE1) +XBMC_CONF_OPT += --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \ + --disable-optical-drive --disable-dvdcss --disable-joystick \ + --disable-debug --disable-crystalhd --disable-vtbdecoder --disable-vaapi \ + --disable-vdpau --disable-pulse --disable-projectm --enable-optimizations \ + --disable-alsa --disable-ssh --disable-hal --disable-mysql + +ifeq ($(BR2_arm),y) +XBMC_CONF_OPT += --enable-gles --disable-gl +endif + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +XBMC_DEPENDENCIES += rpi-userland +XBMC_CONF_OPT += --with-platform=raspberry-pi --enable-player=omxplayer +XBMC_PLATFORM = raspberrypi +XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \ + -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +XBMC_DEPENDENCIES += dbus +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y) +XBMC_DEPENDENCIES += libusb-compat +XBMC_CONF_OPT += --enable-libusb +else +XBMC_CONF_OPT += --disable-libusb +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBMICROHTTPD),y) +XBMC_DEPENDENCIES += libmicrohttpd +XBMC_CONF_OPT += --enable-webserver +else +XBMC_CONF_OPT += --disable-webserver +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBSMBCLIENT),y) +XBMC_DEPENDENCIES += samba +XBMC_CONF_OPT += --enable-samba +else +XBMC_CONF_OPT += --disable-samba +endif + +ifeq ($(BR2_PACKAGE_XBMC_VORBIS),y) +XBMC_DEPENDENCIES += libogg libvorbis +XBMC_CONF_OPT += --enable-libvorbisenc +else +XBMC_CONF_OPT += --disable-libvorbisenc +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBNFS),y) +XBMC_DEPENDENCIES += libnfs +XBMC_CONF_OPT += --enable-nfs +else +XBMC_CONF_OPT += --disable-nfs +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBRTMP),y) +XBMC_DEPENDENCIES += librtmp +XBMC_CONF_OPT += --enable-rtmp +else +XBMC_CONF_OPT += --disable-rtmp +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBBLURAY),y) +XBMC_DEPENDENCIES += libbluray +XBMC_CONF_OPT += --enable-libbluray +else +XBMC_CONF_OPT += --disable-libbluray +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBSHAIRPLAY),y) +XBMC_DEPENDENCIES += libshairplay +XBMC_CONF_OPT += --enable-airplay +else +XBMC_CONF_OPT += --disable-airplay +endif + +ifeq ($(BR2_PACKAGE_XBMC_AVAHI),y) +XBMC_DEPENDENCIES += avahi +XBMC_CONF_OPT += --enable-avahi +else +XBMC_CONF_OPT += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y) +XBMC_DEPENDENCIES += libcec +XBMC_CONF_OPT += --enable-libcec +else +XBMC_CONF_OPT += --disable-libcec +endif + +ifeq ($(BR2_PACKAGE_XBMC_FLAC),y) +XBMC_DEPENDENCIES += flac +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBASS),y) +XBMC_DEPENDENCIES += libass +endif + +ifeq ($(BR2_PACKAGE_XBMC_MAD),y) +XBMC_DEPENDENCIES += libmad +endif + +ifeq ($(BR2_PACKAGE_XBMC_LIBSAMPLERATE),y) +XBMC_DEPENDENCIES += libsamplerate +endif + +ifeq ($(BR2_PACKAGE_XBMC_WAVPACK),y) +XBMC_DEPENDENCIES += wavpack +endif + +# Add HOST_DIR to PATH for codegenerator.mk to find swig +# TODO: java binary from user's machine is currently used... +define XBMC_BOOTSTRAP + cd $(@D) && PATH="$(HOST_DIR)/usr/bin/:$(PATH)" ./bootstrap +endef + +define XBMC_INSTALL_ETC + $(INSTALL) -D -d -m 755 $(TARGET_DIR)/etc/init.d/ + $(INSTALL) -D -m 755 package/xbmc/S99xbmc.$(XBMC_PLATFORM) $(TARGET_DIR)/etc/init.d/S99xbmc +endef + +define XBMC_CLEAN_UNUSED_ADDONS + rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/screensaver.rsxs.plasma + rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.milkdrop + rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.projectm + rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.itunes +endef + +define XBMC_CLEAN_CONFLUENCE_SKIN + find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.png -delete + find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.jpg -delete +endef + +XBMC_PRE_CONFIGURE_HOOKS += XBMC_BOOTSTRAP +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_INSTALL_ETC +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_UNUSED_ADDONS +XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_CONFLUENCE_SKIN + +$(eval $(autotools-package)) --1.8.5.2
PATCH 14/14 xbmc: new package
Dear Maxime Hadjinlian,
Quoted 6 lines · Maxime Hadjinlian
You should note that XBMC needs Java to build. Currently, it uses the JRE of the user's machine.
I could use jamvm with its host variant, but it needs classpath to be built, which itself need java installed. Since I didn't see any way out of this, I kept it this way.
Maybe it has been discussed later on, but I'm replying to my huge e-mail backlog in a FIFO fashion.
If this package requires Java to be installed, then we can require it to be installed on the user's machine, like we already do for the classpath build.
Search for BR2_PACKAGE_CLASSPATH insupport/dependencies/dependencies.sh.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
cover Introducing XBMC
In reply to Maxime HadjinlianMaxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-1-git-send-email-maxime.hadjinlian at gmail.com:
Quoted 3 lines
Also, it seems it can only build easily with external toolchain (a missing
bitdefs.hfiles).
It doesn't seems that uClibc is supported also.
Hi,
xbmc gotham supports uClibc:
https://github.com/xbmc/xbmc/commit/0fdf7aa6a95f13b34edf42a6e42da47b4bebf68b
You can backport the patch to frodo, several months ago I compiled that version successfully with a buildroot-compiled uClibc toolchain targeting BR2_ARCH="i586".
After your patchset gets comitted I will add vaapi support for hw decoding.
Regards, Bernd
cover Introducing XBMC
Hi Bernd,
Quoted 8 lines · Bernd Kuhls
Maxime Hadjinlian
<[email protected]> wrote in news:1389549208-19078-1-git-send-email-maxime.hadjinlian at gmail.com:Quoted 3 lines
Also, it seems it can only build easily with external toolchain (a missing
bitdefs.hfiles).
It doesn't seems that uClibc is supported also.
Quoted 8 lines
Hi,
xbmc gotham supports uClibc:
https://github.com/xbmc/xbmc/commit/0fdf7aa6a95f13b34edf42a6e42da47b4bebf68bYou can backport the patch to frodo, several months ago I compiled that version successfully with a buildroot-compiled uClibc toolchain targeting BR2_ARCH="i586".
That's nice to know ! I'll push it once this patchset is accepted.
Quoted 2 lines
After your patchset gets comitted I will add vaapi support for hw decoding.
Great :)
Quoted 7 lines
Regards, Bernd
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot