Skip to contentSkip to conversation

Introducing XBMC

PATCH Superseded Maxime Hadjinlian 4 participants 28 messages Jan 16, 2014 – Jan 19, 2014 Broadcom BCM2711/BCM2835 Arm architecture

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v2 cover Introducing XBMC

This is the v2 of the series introducing XBMC with the different comments taken into accounts.
Note that the packages already commited were ommited this time.

Maxime Hadjinlian (12):
libass: new package
libbluray: new package
libcdio: 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
libenca: new package
xbmc: new package

 package/Config.in                                  |  10 +
 package/libass/Config.in                           |  10 +
 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/librtmp/Config.in                          |   8 +
 package/librtmp/librtmp.mk                         |  51 ++++++
 package/libshairplay/Config.in                     |  12 ++
 package/libshairplay/libshairplay.mk               |  14 ++
 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, 1099 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/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

#1 lore raw

PATCH v2 1/12 libass: new package

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
- Fix header
Changes v1 -> v2
- Bump version to 0.10.2 (Bernd Kuhls)

---
 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
index 2f62d6c..1d6c9c6 100644
@@ -627,6 +627,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
new file mode 100644
index 0000000..ff34b64
@@ -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
new file mode 100644
index 0000000..854a7d5
@@ -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
+LIBASS_LICENSE = BSD-3c
+LIBASS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.5.2
#2 lore raw

PATCH v2 1/12 libass: new package

Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

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
- Fix header
Changes v1 -> v2
- Bump version to 0.10.2 (Bernd Kuhls)

package/libass/Config.in line 5

Quoted 5 lines
package/libass/Config.in new file +5 -0
+config BR2_PACKAGE_LIBASS
+	bool "libass"
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_LIBENCA

The patch ordering is wrong. You only introduce libenca in patch
11. Otherwise it looks OK.

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

PATCH v2 1/12 libass: new package

In reply to Maxime Hadjinlian

Maxime Hadjinlian
<[email protected]> wrote in news:1389831355-19983-2-git-send-email-maxime.hadjinlian at gmail.com:

Quoted 1 line

+LIBASS_DEPENDENCIES = freetype fontconfig libenca

Hi,

please add libfribidi as dependency as its needed for xbmc gotham.

Regards, Bernd

#4 lore raw

PATCH v2 2/12 libbluray: new package

In reply to Maxime Hadjinlian

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 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 1d6c9c6..0d3c0ce 100644
@@ -628,6 +628,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
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
#5 lore raw

PATCH v2 3/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 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 0d3c0ce..27592d7 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
#6 lore raw

PATCH v2 4/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 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 27592d7..bd5bec1 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
#7 lore raw

PATCH v2 5/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 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 bd5bec1..8aa4a2a 100644
@@ -734,6 +734,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 v2 6/12 librtmp: 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 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
index 8aa4a2a..a5a7572 100644
@@ -548,6 +548,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
new file mode 100644
index 0000000..b04b9f6
@@ -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
#9 lore raw

PATCH v2 6/12 librtmp: new package

Maxime Hadjinlian
<[email protected]> wrote in news:1389831355-19983-7-git-send-email-maxime.hadjinlian at gmail.com:

Quoted 1 line

rtmpdump - RTMPDump Real-Time Messaging Protocol API

Hi,

please add

$(if $(BR2_PACKAGE_LIBRTMP),librtmp) \

to LIBCURL_DEPENDENCIES in package/libcurl/libcurl.mk

Regards, Bernd

#10 lore raw

PATCH v2 6/12 librtmp: new package

In reply to Maxime Hadjinlian

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 6 lines

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

Just call it rtmpdump, even if it currently only install librtmp: when we also build rtmpdump, we'd have to rename the package, which would require adding yet another Config.in.legacy option.

Better to avoid it from the beginning if we can, no?

You may just have the prompt read "librtmp" if you prefer (I'm OK with that), but just name the package from its upstream name.

(IIRC, we already have some package (eg. flex?) that by default only install a library, and require a specific option to activate the tool).

[--SNIP--]

Quoted 6 lines
package/librtmp/librtmp.mk new file +0 -0
new file mode 100644
index 0000000..3cb1b91

package/librtmp/librtmp.mk line 10

Quoted 10 lines
package/librtmp/librtmp.mk new file +10 -0
@@ -0,0 +1,51 @@
+################################################################################
+#
+#librtmp
+#
+################################################################################
+
+LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
+LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
+LIBRTMP_INSTALL_STAGING = YES
+# Note that LIBRTMP is GPLv2 but librtmp has its own license and since we only

s/LIBRTMP/rtmdump/

package/librtmp/librtmp.mk line 11

Quoted 1 line
package/librtmp/librtmp.mk new file +1 -0
+# care about the librtmp, it's LGPLv2.1+

s/the librtmp/librtmp/

package/librtmp/librtmp.mk line 18

Quoted 8 lines
package/librtmp/librtmp.mk new file +7 -0
+LIBRTMP_LICENSE = LGPLv2.1+
+LIBRTMP_LICENSE_FILES = librtmp/COPYING
+LIBRTMP_DEPENDENCIES = zlib
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+    LIBRTMP_DEPENDENCIES += gnutls
+else
+    ifeq ($(BR2_PACKAGE_POLARSSL),y)

We normaly don't indent nested ifeq-blocks.

package/librtmp/librtmp.mk line 21

Quoted 3 lines
package/librtmp/librtmp.mk new file +3 -0
+        LIBRTMP_DEPENDENCIES += polarssl
+    else
+        LIBRTMP_DEPENDENCIES += openssl

What if opensl is not selected in the menuconfig?
You need to replicate these dependencies in the Config.in, too.

I was able to build librtmp without any of those dependencies, not even with openssl, so I guess it also is optional?

What if all are selected? Which does librtmp will pick? Don't you need to pass some flagsto the build to set which lib to use?

Quoted 6 lines
package/librtmp/librtmp.mk new file +6 -0
+    endif
+endif
+
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+	LIBRTMP_PIC =
+else

package/librtmp/librtmp.mk line 37

Quoted 10 lines
package/librtmp/librtmp.mk new file +10 -0
+	LIBRTMP_PIC = -fPIC
+endif
+
+define LIBRTMP_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) $(LIBRTMP_PIC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)/librtmp
+endef
+
+define LIBRTMP_FIX_PREFIX
+	sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile
+endef

Try to keep the definitions and hooks ordered: move the definition before the BUILD_CMDS. It makes it easier to review and follow.

Also, should we netter do that with a patch, instead?
Or you could pass prefix=/usr as a make argument, it will override the definition in the Makefile.

package/librtmp/librtmp.mk line 49

Quoted 11 lines
package/librtmp/librtmp.mk new file +11 -0
+define LIBRTMP_INSTALL_STAGING_CMDS
+	mkdir -p $(STAGING_DIR)/usr/local/lib
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
+endef
+
+define LIBRTMP_INSTALL_TARGET_CMDS
+	mkdir -p $(STAGING_DIR)/usr/local/lib
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR)
+endef
+
+LIBRTMP_POST_EXTRACT_HOOKS += LIBRTMP_FIX_PREFIX

Put this just below the definition.

Quoted 8 lines

+$(eval $(generic-package))

Signature · 6 lines
1.8.5.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
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.  |
'------------------------------^-------^------------------^--------------------'
#11 lore raw

PATCH v2 7/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 v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)

---
 package/Config.in                    |  1 +
 package/libshairplay/Config.in       | 12 ++++++++++++
 package/libshairplay/libshairplay.mk | 14 ++++++++++++++
 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 a5a7572..59a75cd 100644
@@ -682,6 +682,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
new file mode 100644
index 0000000..dd94ef2
@@ -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 needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
package/libshairplay/libshairplay.mk new file +14 -0
new file mode 100644
index 0000000..3488c24
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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
#12 lore raw

PATCH v2 7/12 libshairplay: new package

Maxime, All,

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 1 line

libshairplay is a client library that emulates an airplay server

[--SNIP--]

Quoted 26 lines
package/libshairplay/Config.in new file +12 -0
new file mode 100644
index 0000000..dd94ef2
@@ -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 needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
package/libshairplay/libshairplay.mk new file +2 -0
new file mode 100644
index 0000000..3488c24
@@ -0,0 +1,14 @@
+################################################################################
+#

package/libshairplay/libshairplay.mk line 12

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

Licensing is a bit more complicated, as explained in the LICENSE file:

---8<---
Following licenses apply:

src/lib/alac/* - MIT License
src/lib/crypto/* - New BSD License
src/lib/http_parser.* - MIT License
src/lib/* - LGPLv2.1+ License
src/bindings/* - MIT License
src/* - MIT License
AirTV-Qt/* - LGPLv2.1+ License

Also the following files are used, although not necessary:

AirTV-Qt/qtsingleapplication/src/* - New BSD License ---8<---

So I'd say:
LIBSHAIRPLAY_LICENSE = MIT, BSD-3c, LGPLv2.1+
LIBSHAIRPLAY_LICENSE_FILES = LICENSE

You also forgot:
LIBSHAIRPLAY_DEPENDENCIES = openssl

-,
Yann E. MORIN.
.-----------------.--------------------.------------------.--------------------.

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

'------------------------------^-------^------------------^--------------------'

#13 lore raw

PATCH v2 8/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 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 59a75cd..b5edacd 100644
@@ -625,6 +625,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..33d87ca
@@ -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 v2 8/12 tinyxml: new package

Maxime, All,

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 1 line

Tiny XML Parser.

[--SNIP--]

package/tinyxml/Config.in line 3

Quoted 9 lines
package/tinyxml/Config.in new file +3 -0
new file mode 100644
index 0000000..33d87ca
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TINYXML
+	bool "tinyxml"
+	  depends on BR2_INSTALL_LIBSTDCPP

Leading tabs, please.

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.  |
'------------------------------^-------^------------------^--------------------'
#15 lore raw

PATCH v2 8/12 tinyxml: new package

Maxime, All,

On 2014-01-19 16:41 +0100, Yann E. MORIN spake thusly:

Quoted 14 lines

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 1 line

Tiny XML Parser.

[--SNIP--]

package/tinyxml/Config.in line 3

Quoted 9 lines
package/tinyxml/Config.in new file +3 -0
new file mode 100644
index 0000000..33d87ca
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TINYXML
+	bool "tinyxml"
+	  depends on BR2_INSTALL_LIBSTDCPP

Leading tabs, please.

My bad, there's a leading tab, but also two spaces before 'depends on'.

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.  |
'------------------------------^-------^------------------^--------------------'
#16 lore raw

PATCH v2 9/12 sdl: add host version

In reply to Maxime Hadjinlian

Host version is needed to build xbmc

---
 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
#17 lore raw

PATCH v2 9/12 sdl: add host version

Maxime, All,

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 3 lines

Host version is needed to build xbmc

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.  |
'------------------------------^-------^------------------^--------------------'
#18 lore raw

PATCH v2 10/12 sdl_image: add host version

In reply to Maxime Hadjinlian

Host 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
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
#19 lore raw

PATCH v2 10/12 sdl_image: add host version

Maxime, All,

On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:

Quoted 3 lines

Host version is needed to build xbmc

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.  |
'------------------------------^-------^------------------^--------------------'
#20 lore raw

PATCH v2 11/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 v3 --> v4:
- 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 v2 --> v3:
- Bump libenca to 1.15 (1.9 was 4 years ago)
- Rework the whole libenca.mk file
- Switch source to github
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 b5edacd..66a91f5 100644
@@ -772,6 +772,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
#21 lore raw

PATCH v2 11/12 libenca: new package

Quoted 42 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

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

---
Changes v3 --> v4:
- 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)

package/libenca/libenca.mk new file +26 -0
@@ -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

package/libenca/libenca.mk line 36

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

Huh, what is this about?

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

PATCH v2 11/12 libenca: new package

Quoted 11 lines · Bernd Kuhls

Maxime Hadjinlian
<[email protected]> wrote in news:1389831355-19983-12-git-send-email-maxime.hadjinlian at gmail.com:

Quoted 2 lines
 package/Config.in                                  |  1 +
 package/libenca/Config.in                          |  6 +++

Hi,

please merge this patch http://patchwork.ozlabs.org/patch/312281/ to add iconv support.

Will do.
I have corrected a few things, I will send for v3.

Quoted 7 lines

Regards, Bernd

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#24 lore raw

PATCH v2 11/12 libenca: new package

Maxime Hadjinlian
<[email protected]> wrote in news:CAGduivziDg2_ororsgKT_oE=hGQg2NeKCxbkr9pfmp0Wd7GZuw at mail.gmail.com:

Quoted 4 lines
Quoted 2 lines

please merge this patch http://patchwork.ozlabs.org/patch/312281/ to add iconv support.

Will do.
I have corrected a few things, I will send for v3.

Hi,

please include http://patchwork.ozlabs.org/patch/312284/ as it adds a necessary patch to fix autoreconf.

Regards, Bernd

#25 lore raw

PATCH v2 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 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 66a91f5..d0428ac 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
#26 lore raw

v2 cover Introducing XBMC

In reply to Maxime Hadjinlian

Maxime Hadjinlian
<[email protected]> wrote in news:1389831355-19983-1-git-send-email-maxime.hadjinlian at gmail.com:

Quoted 3 lines

This is the v2 of the series introducing XBMC with the different comments taken into accounts.
Note that the packages already commited were ommited this time.

Hi,

currently I am syncing your patches with my local stuff, which compiles current git snapshots of xbmc gotham. Because of the new features present in gotham, most notably the new audio engine and, added by a currently not- committed patch, yadif deinterlacing[1], I would like to suggest to keep gotham in mind when adding new libraries to buildroot.

Right now I stumbled across fribidi, which is a required dependency for gotham, it also needs to be included in libass, this patch for libass.mk is enough:

-LIBASS_DEPENDENCIES = freetype fontconfig libenca +LIBASS_DEPENDENCIES = freetype fontconfig libenca fribidi

These are the files for the fribidi package:

Config.in
-------------------------
config BR2_PACKAGE_FRIBIDI
bool "fribidi"
help
Free Implementation of the Unicode BiDi algorithm for Hebrew
and/or Arabic languages.

http://fribidi.org

fribidi.mk
-------------------------
FRIBIDI_VERSION = 0.19.5
FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.bz2 FRIBIDI_SITE = http://fribidi.org/download
FRIBIDI_INSTALL_STAGING = YES

FRIBIDI_CONF_OPT = \
        --with-glib=no

$(eval $(autotools-package))

Please consider to include fribidi in your patch set.

Regards, Bernd

[1] http://forum.xbmc.org/showthread.php?tid=165707

#27 lore raw

v2 cover Introducing XBMC

Bernd Kuhls <[email protected]> wrote in news:oktpqaxbuu.ln2 at ID-313208.user.individual.net:

Review

Quoted 6 lines

Right now I stumbled across fribidi, which is a required dependency for gotham, it also needs to be included in libass, this patch for libass.mk is enough:

(quoted diff) +1 -1
-LIBASS_DEPENDENCIES = freetype fontconfig libenca
+LIBASS_DEPENDENCIES = freetype fontconfig libenca fribidi

Hi,

oops, just found out, that libfridi was added to buildroot 2013-01-05, so its just

-LIBASS_DEPENDENCIES = freetype fontconfig libenca +LIBASS_DEPENDENCIES = freetype fontconfig libenca libfribidi

Regards, Bernd