Skip to contentSkip to conversation

Introducing XBMC

PATCH Superseded Maxime Hadjinlian 2 participants 20 messages Jan 19, 2014 – Jan 22, 2014 Broadcom BCM2711/BCM2835 Arm architecture

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v3 cover Introducing XBMC

Here we are again for the v3 :).
Including all the comments made during the last round of reviews.
Note: librtmp is now rtmpdump

Maxime Hadjinlian (12):
libbluray: new package
libcdio: new package
libnfs: new package
libplist: new package
rtmpdump: new package
libshairplay: new package
tinyxml: new package
sdl: add host version
sdl_image: add host version
libenca: new package
libass: new package
xbmc: new package

 package/Config.in                                  |  10 +
 package/libass/Config.in                           |  11 ++
 package/libass/libass.mk                           |  14 ++
 package/libbluray/Config.in                        |   6 +
 package/libbluray/libbluray.mk                     |  19 ++
 package/libcdio/Config.in                          |  11 ++
 package/libcdio/libcdio.mk                         |  18 ++
 package/libenca/Config.in                          |   6 +
 .../libenca/libenca-000-do-not-build-tools.patch   |  44 +++++
 .../libenca-001-fix-installation-error.patch       |  44 +++++
 ...benca-002-remove-prefix-hack-in-configure.patch |  33 ++++
 package/libenca/libenca.mk                         |  36 ++++
 package/libnfs/Config.in                           |  11 ++
 package/libnfs/libnfs.mk                           |  16 ++
 package/libplist/Config.in                         |  12 ++
 package/libplist/libplist.mk                       |  15 ++
 package/libshairplay/Config.in                     |  11 ++
 package/libshairplay/libshairplay.mk               |  15 ++
 package/rtmpdump/Config.in                         |   9 +
 package/rtmpdump/rtmpdump.mk                       |  50 +++++
 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 +++++++++++++++++
 30 files changed, 1100 insertions(+)
 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-000-do-not-build-tools.patch
 create mode 100644 package/libenca/libenca-001-fix-installation-error.patch
 create mode 100644 package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
 create mode 100644 package/libenca/libenca.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/libshairplay/Config.in
 create mode 100644 package/libshairplay/libshairplay.mk
 create mode 100644 package/rtmpdump/Config.in
 create mode 100644 package/rtmpdump/rtmpdump.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

#1 lore raw

PATCH v3 1/12 libbluray: new package

LIBBLURAY is a client library for accessing bluray disks.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 0.5.0 and add missing build dependency (Bernd Kuhls)

---
 package/Config.in              |  1 +
 package/libbluray/Config.in    |  6 ++++++
 package/libbluray/libbluray.mk | 19 +++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/libbluray/Config.in
 create mode 100644 package/libbluray/libbluray.mk
package/Config.in +1 -0
index 2f62d6c..3f78651 100644
@@ -627,6 +627,7 @@ source "package/yajl/Config.in"
 endmenu
 
 menu "Multimedia"
+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
new file mode 100644
index 0000000..eeb93dc
@@ -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 +19 -0
new file mode 100644
index 0000000..e1e6bdd
@@ -0,0 +1,19 @@
+################################################################################
+#
+# libbluray
+#
+################################################################################
+
+LIBBLURAY_VERSION = 0.5.0
+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
+LIBBLURAY_DEPENDENCIES = host-pkgconf freetype bzip2 libxml2 zlib
+
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+	LIBBLURAY_DEPENDENCIES += libiconv
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
#2 lore raw

PATCH v3 1/12 libbluray: new package

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

LIBBLURAY is a client library for accessing bluray disks.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 0.5.0 and add missing build dependency (Bernd Kuhls)

package/libbluray/libbluray.mk line 13

Quoted 8 lines
package/libbluray/libbluray.mk new file +8 -0
+
+LIBBLURAY_VERSION = 0.5.0
+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
+LIBBLURAY_DEPENDENCIES = host-pkgconf freetype bzip2 libxml2 zlib

You need to select these in Config.in. Looking closer I see that bzip2 and zlib aren't used, and freetype/libxml2 are optional.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH v3 2/12 libcdio: new package

In reply to Maxime Hadjinlian

The GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 0.90 (Bernd Kuhls)
- Fix comment for requiring C++ (Peter Korsgaard)

---
 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
index 3f78651..749ffea 100644
@@ -451,6 +451,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
new file mode 100644
index 0000000..d2d61e7
@@ -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 needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libcdio/libcdio.mk new file +18 -0
new file mode 100644
index 0000000..a55c7b4
@@ -0,0 +1,18 @@
+################################################################################
+#
+# libcdio
+#
+################################################################################
+
+LIBCDIO_VERSION = 0.90
+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
#4 lore raw

PATCH v3 2/12 libcdio: new package

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

The GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

Quoted 6 lines

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 0.90 (Bernd Kuhls)
- Fix comment for requiring C++ (Peter Korsgaard)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH v3 3/12 libnfs: new package

In reply to Maxime Hadjinlian

nfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 1.8.0 (Bernd Kuhls)
- Fix comment on toolchain option needed (Peter Korsgaard)

---
 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
index 749ffea..0bb0d2d 100644
@@ -514,6 +514,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
new file mode 100644
index 0000000..657bdda
@@ -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 needs a toolchain w/ RPC and LARGEFILE"
+	depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
package/libnfs/libnfs.mk new file +16 -0
new file mode 100644
index 0000000..a17d8c3
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libnfs
+#
+################################################################################
+
+LIBNFS_VERSION = libnfs-1.8.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
#6 lore raw

PATCH v3 3/12 libnfs: new package

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

nfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

Quoted 6 lines

---
Changes v2 -> v3:
- None
Changes v1 -> v2
- Bump version to 1.8.0 (Bernd Kuhls)
- Fix comment on toolchain option needed (Peter Korsgaard)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH v3 4/12 libplist: new package

In reply to Maxime Hadjinlian

libplist 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]>

---
Changes v2 -> v3:
- None
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comments on toolchain option (Peter Korsgaard)

---
 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
index 0bb0d2d..028c4ff 100644
@@ -733,6 +733,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
new file mode 100644
index 0000000..c9d511b
@@ -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 needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libplist/libplist.mk new file +15 -0
new file mode 100644
index 0000000..87f09c6
@@ -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
#8 lore raw

PATCH v3 4/12 libplist: new package

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

libplist 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]>

Quoted 8 lines

---
Changes v2 -> v3:
- None
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comments on toolchain option (Peter Korsgaard)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#9 lore raw

PATCH v3 5/12 rtmpdump: new package

In reply to Maxime Hadjinlian

rtmpdump - 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 shown librtmp instead of rtmpdump

---
Changes v2 -> v3:
- Change name librtmp->rtmpdump (Yann E. Morin)
- Fix definitions order (Yann E. Morin)
- Add uses of prefix instead of nasty sed (Yann E. Morin)
- Fix dependency to openssl/gnutls/polarssl (Yann E. Morin)
Changes v1 -> v2:
- None

---
 package/Config.in            |  1 +
 package/rtmpdump/Config.in   |  9 ++++++++
 package/rtmpdump/rtmpdump.mk | 50 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)
 create mode 100644 package/rtmpdump/Config.in
 create mode 100644 package/rtmpdump/rtmpdump.mk
package/Config.in +1 -0
index 028c4ff..3a867b0 100644
@@ -691,6 +691,7 @@ source "package/nss-mdns/Config.in"
 source "package/omniorb/Config.in"
 source "package/openpgm/Config.in"
 source "package/ortp/Config.in"
+source "package/rtmpdump/Config.in"
 source "package/slirp/Config.in"
 source "package/snmppp/Config.in"
 source "package/thrift/Config.in"
package/rtmpdump/Config.in new file +9 -0
new file mode 100644
index 0000000..d13c55b
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_RTMPDUMP
+	bool "librtmp"
+	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS
+	help
+	  rtmpdump - RTMPDump Real-Time Messaging Protocol API
+	  Only librtmp is installed by this package.
+
+	  http://rtmpdump.mplayerhq.hu
package/rtmpdump/rtmpdump.mk new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
1.8.5.2
#10 lore raw

PATCH v3 5/12 rtmpdump: new package

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

rtmpdump - 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 shown librtmp instead of rtmpdump

Quoted 8 lines

---
Changes v2 -> v3:
- Change name librtmp->rtmpdump (Yann E. Morin)
- Fix definitions order (Yann E. Morin)
- Add uses of prefix instead of nasty sed (Yann E. Morin)
- Fix dependency to openssl/gnutls/polarssl (Yann E. Morin)
Changes v1 -> v2:
- None

Committed with some minor changes, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#11 lore raw

PATCH v3 6/12 libshairplay: new package

In reply to Maxime Hadjinlian

libshairplay 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]>

---
Changes v2 -> v3:
- Fix dependencies (Yann E. Morin)
- Fix licenses (Yann E. Morin)
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)

---
 package/Config.in                    |  1 +
 package/libshairplay/Config.in       | 11 +++++++++++
 package/libshairplay/libshairplay.mk | 15 +++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/libshairplay/Config.in
 create mode 100644 package/libshairplay/libshairplay.mk
package/Config.in +1 -0
index 3a867b0..d400ea2 100644
@@ -680,6 +680,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 +11 -0
new file mode 100644
index 0000000..9fad7b4
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBSHAIRPLAY
+  bool "libshairplay"
+  depends on BR2_INET_IPV6
+  help
+    libshairplay is a client library that emulates an airplay
+    server
+
+    https://github.com/juhovh/shairplay
+
+comment "libshairplay needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
package/libshairplay/libshairplay.mk new file +15 -0
new file mode 100644
index 0000000..c40a1b5
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libshairplay
+#
+################################################################################
+
+LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523
+LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION))
+LIBSHAIRPLAY_INSTALL_STAGING = YES
+LIBSHAIRPLAY_INSTALL_TARGET = YES
+LIBSHAIRPLAY_AUTORECONF = YES
+LIBSHAIRPLAY_LICENSE = MIT, BSD-3c, LGPLv2.1+
+LIBSHAIRPLAY_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
#12 lore raw

PATCH v3 6/12 libshairplay: new package

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

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

libshairplay 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]>

Committed with minor fixes (see below) - Thanks.

package/libshairplay/Config.in line 4

Quoted 4 lines
package/libshairplay/Config.in new file +4 -0
+config BR2_PACKAGE_LIBSHAIRPLAY
+  bool "libshairplay"
+  depends on BR2_INET_IPV6
+  help

Indentation is wrong (should be tab).

It uses pthreads, so it should also depend on BR2_TOOLCHAIN_HAS_THREADS.

package/libshairplay/libshairplay.mk line 10

Quoted 12 lines

+++ b/package/libshairplay/libshairplay.mk

package/libshairplay/libshairplay.mk new file +10 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libshairplay
+#
+################################################################################
+
+LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523
+LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION))
+LIBSHAIRPLAY_INSTALL_STAGING = YES
+LIBSHAIRPLAY_INSTALL_TARGET = YES

This defaults to YES, so that isn't needed.

package/libshairplay/libshairplay.mk line 13

Quoted 3 lines
package/libshairplay/libshairplay.mk new file +3 -0
+LIBSHAIRPLAY_AUTORECONF = YES
+LIBSHAIRPLAY_LICENSE = MIT, BSD-3c, LGPLv2.1+
+LIBSHAIRPLAY_LICENSE_FILES = LICENSE

The configure script uses pkg-config so it should depend on host-pkgconf. It also has optional support for libao, so we should add that as well if enabled.

Signature · 1 line
Bye, Peter Korsgaard
#13 lore raw

PATCH v3 7/12 tinyxml: new package

In reply to Maxime Hadjinlian

Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- Fix indent (Yann E. Morin)
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)

---
 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
index d400ea2..80fe1ba 100644
@@ -624,6 +624,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
new file mode 100644
index 0000000..061ff67
@@ -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 needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/tinyxml/tinyxml.mk new file +15 -0
new file mode 100644
index 0000000..9622d36
@@ -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
#14 lore raw

PATCH v3 7/12 tinyxml: new package

Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 -> v3:
- Fix indent (Yann E. Morin)
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)
---

package/tinyxml/tinyxml.mk new file +3 -0
+################################################################################
+#
+# tinyxml

package/tinyxml/tinyxml.mk line 13

Quoted 10 lines
package/tinyxml/tinyxml.mk new file +10 -0
+#
+################################################################################
+
+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

It's missing a LICENSE_FILES tag (to README).

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#15 lore raw

PATCH v3 8/12 sdl: add host version

In reply to Maxime Hadjinlian

Host version is needed to build xbmc

---
Changes v2 -> v3:
- None
Changes v1 -> v2:
- None

---
 package/sdl/sdl.mk | 2 ++
 1 file changed, 2 insertions(+)
package/sdl/sdl.mk +2 -0
index ba5fbca..0972acb 100644
@@ -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
#16 lore raw

PATCH v3 9/12 sdl_image: add host version

In reply to Maxime Hadjinlian

Host version is needed to build xbmc

---
Changes v2 -> v3:
- None
Changes v1 -> v2:
- None

---
 package/sdl_image/sdl_image.mk | 11 +++++++++++
 1 file changed, 11 insertions(+)
package/sdl_image/sdl_image.mk +11 -0
index ba9751d..05b9a1f 100644
@@ -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
#17 lore raw

PATCH v3 10/12 libenca: new package

In reply to Maxime Hadjinlian

Extremely Naive Charset Analyser.

This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
Changes v2 --> v3:
- Bump libenca to 1.15 (1.9 was 4 years ago)
- Rework the whole libenca.mk file
- Switch source to github
- New patch against Makefile.am and do AUTORECONF (Thomas Petazzoni, Yann E. Morin)
- Remove the uses of prefix by adding a patch which removes a hack in the configure.ac (Yann E. Morin)
Changes v1 --> v2:
- Rename patch files (Thomas Petazzoni)
- Fix header of the mk files (Thomas Petazzoni)
- Fix indent (Thomas Petazzoni)
- Put LIBENCA_CONF_ENV on one line (Thomas Petazzoni)

---
 package/Config.in                                  |  1 +
 package/libenca/Config.in                          |  6 +++
 .../libenca/libenca-000-do-not-build-tools.patch   | 44 ++++++++++++++++++++++
 .../libenca-001-fix-installation-error.patch       | 44 ++++++++++++++++++++++
 ...benca-002-remove-prefix-hack-in-configure.patch | 33 ++++++++++++++++
 package/libenca/libenca.mk                         | 36 ++++++++++++++++++
 6 files changed, 164 insertions(+)
 create mode 100644 package/libenca/Config.in
 create mode 100644 package/libenca/libenca-000-do-not-build-tools.patch
 create mode 100644 package/libenca/libenca-001-fix-installation-error.patch
 create mode 100644 package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
 create mode 100644 package/libenca/libenca.mk
package/Config.in +1 -0
index 80fe1ba..675e5a2 100644
@@ -771,6 +771,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
new file mode 100644
index 0000000..5e951ed
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBENCA
+	bool "libenca"
+	help
+	  Extremely Naive Charset Analyser
+
+	  http://cihar.com/software/enca/
package/libenca/libenca-000-do-not-build-tools.patch new file +44 -0

44 lines not on this page · raw message

package/libenca/libenca-001-fix-installation-error.patch new file +44 -0

44 lines not on this page · raw message

package/libenca/libenca-002-remove-prefix-hack-in-configure.patch new file +33 -0
new file mode 100644
index 0000000..45701f9
@@ -0,0 +1,33 @@
+From 354a8217eb735c9678f42436d647571fcebc3ead Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <[email protected]>
+Date: Wed, 15 Jan 2014 00:46:10 +0100
+Subject: [PATCH 3/3] Remove prefix hack in configure
+
+Signed-off-by: Maxime Hadjinlian <[email protected]>
+---
+ configure.ac | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9db3b21..9b99df4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -100,15 +100,6 @@ gtk_CHECK_GTK_DOC
+ dnl Check for good random number sources
+ AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
+ 
+-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.
+ ye_CHECK_LIBM
+ 
+-- 
+1.8.5.2
+
package/libenca/libenca.mk new file +36 -0
new file mode 100644
index 0000000..e69c124
@@ -0,0 +1,36 @@
+################################################################################
+#
+# libenca
+#
+################################################################################
+
+LIBENCA_VERSION = 1.15
+LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION))
+LIBENCA_INSTALL_STAGING = YES
+LIBENCA_AUTORECONF = YES
+LIBENCA_LICENSE = GPLv2
+LIBENCA_LICENSE_FILES = COPYING
+
+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
+
+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
+	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
+
+$(eval $(autotools-package))
+
+XERCES_CONF_OPT = --disable-threads \
+		  --with-gnu-ld
+
Signature · 1 line
1.8.5.2
#18 lore raw

PATCH v3 11/12 libass: new package

In reply to Maxime Hadjinlian

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]>

---
Changes v2 -> v3
- Add missing libfribidi dependency
- Fix header
Changes v1 -> v2
- Bump version to 0.10.2 (Bernd Kuhls)

---
 package/Config.in        |  1 +
 package/libass/Config.in | 11 +++++++++++
 package/libass/libass.mk | 14 ++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/libass/Config.in
 create mode 100644 package/libass/libass.mk
package/Config.in +1 -0
index 675e5a2..bce1039 100644
@@ -630,6 +630,7 @@ source "package/yajl/Config.in"
 endmenu
 
 menu "Multimedia"
+source "package/libass/Config.in"
 source "package/libbluray/Config.in"
 source "package/libdvbsi/Config.in"
 source "package/libdvdnav/Config.in"
package/libass/Config.in new file +11 -0
new file mode 100644
index 0000000..9170c6f
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBASS
+	bool "libass"
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_LIBENCA
+	select BR2_PACKAGE_LIBFRIBIDI
+	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
new file mode 100644
index 0000000..5c2a1b3
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libass
+#
+################################################################################
+
+LIBASS_VERSION = 0.10.2
+LIBASS_SITE = http://libass.googlecode.com/files
+LIBASS_INSTALL_STAGING = YES
+LIBASS_DEPENDENCIES = freetype fontconfig libenca libfribidi
+LIBASS_LICENSE = BSD-3c
+LIBASS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
#19 lore raw

PATCH v3 12/12 xbmc: new package

In reply to 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]>

---
Changes v2 -> v3:
- Fix indent
- Change librtmp to rtmpdump
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)

---
 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
index bce1039..0b455a6 100644
@@ -26,6 +26,7 @@ source "package/tstools/Config.in"
 source "package/vlc/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
new file mode 100755
index 0000000..a15d3f9
@@ -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
new file mode 100755
index 0000000..833aea5
@@ -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