Skip to contentSkip to conversation

Pull request for branch xbmc

GIT PULL New Maxime Hadjinlian 5 participants 30 messages Feb 21, 2013 – Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

Hello All!

This series introduces a number of packages that are necessary to push XBMC later on.
The main reason to push this series without XBMC patch is to lighten the maintenance on my branch.

The patch introducing XBMC still need some works, I'm currently unable to dedicate all the time I would like to it, but I hope to push it in 2/3 weeks.

Thanks

The following changes since commit 54d68be3072fbb8306e217b203e3197c9cc66f6f:

jasper: new package (2013-02-20 10:06:33 +0100)

are available in the git repository at:

git://github.com/maximeh/buildroot.git xbmc

for you to fetch changes up to ba6371a6ed52c760f18dbf14b662f6310b29f776:

Install libfribidi to staging (2013-02-20 10:08:03 +0100)

----------------------------------------------------------------
Maxime Hadjinlian (13):
libenca: new package
libass: new package
libbluray: new package
libcdio: new package
lockdev: new package
libcec: new package
libmodplug: new package
libnfs: new package
libplist: new package
librtmp: new package
libshairport: new package
tinyxml: new package
Install libfribidi to staging

 package/Config.in                                  |   12 +
 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/libcec/Config.in                           |   30 +
 package/libcec/libcec.mk                           |   22 +
 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/libfribidi/libfribidi.mk                   |    1 +
 package/libmodplug/Config.in                       |   11 +
 package/libmodplug/libmodplug.mk                   |   11 +
 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                         |   27 +
 package/libshairport/Config.in                     |   12 +
 .../libshairport-1.2.0.20310_lib-001_add_ao.patch  |  270 +++++++
 ...rt-1.2.0.20310_lib-002_fix_install_header.patch |   12 +
 ...hairport-1.2.0.20310_lib-003_fix_deadlock.patch |   10 +
 ...irport-1.2.0.20310_lib-004_fix_bad_access.patch |   22 +
 ...hairport-1.2.0.20310_lib-005_fix_shutdown.patch |   10 +
 ...ibshairport-1.2.0.20310_lib-006_no_printf.patch |  843 ++++++++++++++++++++
 ...rt-1.2.0.20310_lib-007_fix_syslog_defines.patch |   24 +
 ...port-1.2.0.20310_lib-008-add-missing-libs.patch |   21 +
 ...libshairport-1.2.0.20310_lib-009_fix_ipv6.patch |   22 +
 package/libshairport/libshairport.mk               |   13 +
 package/lockdev/Config.in                          |    6 +
 package/lockdev/lockdev.mk                         |   30 +
 package/tinyxml/Config.in                          |   12 +
 package/tinyxml/tinyxml.mk                         |   12 +
 38 files changed, 1674 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/libcec/Config.in
 create mode 100644 package/libcec/libcec.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/libshairport/Config.in
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-002_fix_install_header.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-003_fix_deadlock.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-004_fix_bad_access.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-005_fix_shutdown.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-006_no_printf.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-007_fix_syslog_defines.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-008-add-missing-libs.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-009_fix_ipv6.patch
 create mode 100644 package/libshairport/libshairport.mk
 create mode 100644 package/lockdev/Config.in
 create mode 100644 package/lockdev/lockdev.mk
 create mode 100644 package/tinyxml/Config.in
 create mode 100644 package/tinyxml/tinyxml.mk

Regards,
Maxime Hadjinlian

--

#1 lore raw

PATCH 1/13 libenca: new package

Extremely 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
index 3d7866a..e56c13f 100644
@@ -569,6 +569,7 @@ source "package/liblog4c-localtime/Config.in"
 endmenu
 
 menu "Text and terminal handling"
+source "package/libenca/Config.in"
 source "package/enchant/Config.in"
 source "package/libfribidi/Config.in"
 source "package/icu/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-1.9-dont-build-tools.patch new file +33 -0
new file mode 100644
index 0000000..16c3747
@@ -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
new file mode 100644
index 0000000..9c6f097
@@ -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 -sf $$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
new file mode 100644
index 0000000..d268b5d
@@ -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
new file mode 100644
index 0000000..e9dba18
@@ -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.7.10.4
#3 lore raw

PATCH 2/13 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]>

---
 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 e56c13f..0da1905 100644
@@ -473,6 +473,7 @@ source "package/jsmin/Config.in"
 endmenu
 
 menu "Multimedia"
+source "package/libass/Config.in"
 source "package/libdvdread/Config.in"
 source "package/libdvdnav/Config.in"
 source "package/libebml/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..3fd748a
@@ -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.7.10.4
#4 lore raw

PATCH 3/13 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]>

---
 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
index 0da1905..5682cd2 100644
@@ -474,6 +474,7 @@ endmenu
 
 menu "Multimedia"
 source "package/libass/Config.in"
+source "package/libbluray/Config.in"
 source "package/libdvdread/Config.in"
 source "package/libdvdnav/Config.in"
 source "package/libebml/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 +14 -0
new file mode 100644
index 0000000..a1fc69b
@@ -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.7.10.4
#6 lore raw

PATCH 4/13 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]>

---
 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 5682cd2..01eeee8 100644
@@ -350,6 +350,7 @@ source "package/audiofile/Config.in"
 source "package/celt051/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..4e6c800
@@ -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
new file mode 100644
index 0000000..71ffe91
@@ -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.7.10.4
#8 lore raw

PATCH 5/13 lockdev: new package

In reply to Maxime Hadjinlian

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

---
 package/Config.in          |    1 +
 package/lockdev/Config.in  |    6 ++++++
 package/lockdev/lockdev.mk |   30 ++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 package/lockdev/Config.in
 create mode 100644 package/lockdev/lockdev.mk
package/Config.in +1 -0
index 01eeee8..2106391 100644
@@ -555,6 +555,7 @@ source "package/libffi/Config.in"
 source "package/gsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
+source "package/lockdev/Config.in"
 source "package/libnspr/Config.in"
 source "package/libsigc/Config.in"
 source "package/libtpl/Config.in"
package/lockdev/Config.in new file +6 -0
new file mode 100644
index 0000000..abb640c
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LOCKDEV
+	bool "lockdev"
+	help
+	  library for locking devices
+
+	  http://packages.debian.org/source/sid/lockdev
package/lockdev/lockdev.mk new file +30 -0
new file mode 100644
index 0000000..2012211
@@ -0,0 +1,30 @@
+#############################################################
+#
+# lockdev
+#
+#############################################################
+
+LOCKDEV_VERSION = 1.0.3
+LOCKDEV_SITE = http://ftp.de.debian.org/debian/pool/main/l/lockdev
+LOCKDEV_SOURCE = lockdev_$(LOCKDEV_VERSION).orig.tar.gz
+LOCKDEV_INSTALL_STAGING = YES
+LOCKDEV_LICENSE = LGPLv2.1
+LOCKDEV_LICENSE_FILES = LICENSE
+
+define LOCKDEV_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) OPTIM= -C $(@D) V=1 shared
+endef
+
+define LOCKDEV_INSTALL_STAGING_CMDS
+	$(MAKE) basedir=$(STAGING_DIR)/usr -C $(@D) install
+	ln -s $(STAGING_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so
+	ln -s $(STAGING_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so.1
+endef
+
+define LOCKDEV_INSTALL_TARGET_CMDS
+	$(MAKE) basedir=$(TARGET_DIR)/usr -C $(@D) install
+	ln -s $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so
+	ln -s $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.1
+endef
+
+$(eval $(generic-package))
Signature · 1 line
1.7.10.4
#10 lore raw

PATCH 6/13 libcec: new package

In reply to Maxime Hadjinlian

libCEC allows you in combination with the right hardware to control your device with your TV remote control. Utilising your existing HDMI cabling This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
 package/Config.in        |    1 +
 package/libcec/Config.in |   30 ++++++++++++++++++++++++++++++
 package/libcec/libcec.mk |   22 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 package/libcec/Config.in
 create mode 100644 package/libcec/libcec.mk
package/Config.in +1 -0
index 2106391..c6e1fd4 100644
@@ -448,6 +448,7 @@ source "package/imx-lib/Config.in"
 source "package/lcdapi/Config.in"
 source "package/libaio/Config.in"
 source "package/libatasmart/Config.in"
+source "package/libcec/Config.in"
 source "package/libraw1394/Config.in"
 source "package/tslib/Config.in"
 source "package/libfreefare/Config.in"
package/libcec/Config.in new file +30 -0
new file mode 100644
index 0000000..5051b94
@@ -0,0 +1,30 @@
+config BR2_PACKAGE_LIBCEC
+	bool "libcec"
+	select BR2_PACKAGE_LOCKDEV
+	depends on BR2_USE_WCHAR
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libCEC allows you in combination with the right hardware to
+	  control your device with your TV remote control. Utilising your
+	  existing HDMI cabling.
+	  
+	  https://github.com/Pulse-Eight/libcec
+
+if BR2_PACKAGE_LIBCEC && BR2_arm
+
+config BR2_PACKAGE_LIBCEC_RBP
+	bool "rpi support"
+	depends on BR2_LARGEFILE
+	depends on BR2_INSTALL_LIBSTDCPP
+	select BR2_PACKAGE_RPI_USERLAND
+	help
+	  Enable RasberryPi support
+
+comment "rpi support requires a toolchain with LARGEFILE and C++ support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE)
+
+endif
+
+comment "libcec requires a toolchain with WCHAR and C++ support"
+	depends on !(BR2_USE_WCHAR && BR2_INSTALL_LIBSTDCPP)
+
package/libcec/libcec.mk new file +22 -0
new file mode 100644
index 0000000..2974cbf
@@ -0,0 +1,22 @@
+#############################################################
+#
+# libcec
+#
+#############################################################
+
+LIBCEC_VERSION = 89ea1724e7a4bde3f7a4f958b414889cefddb841
+LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/master
+LIBCEC_INSTALL_STAGING = YES
+LIBCEC_AUTORECONF = YES
+LIBCEC_LICENSE = GPLv2
+LIBCEC_LICENSE_FILES = COPYING
+LIBCEC_DEPENDENCIES = lockdev host-pkgconf
+
+ifeq ($(BR2_PACKAGE_LIBCEC_RBP),y)
+LIBCEC_DEPENDENCIES += rpi-userland
+LIBCEC_CONF_OPT += --enable-rpi \
+	--with-rpi-lib-path=$(STAGING_DIR)/usr/lib \
+	--with-rpi-include-path=$(STAGING_DIR)/usr/include
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#12 lore raw

PATCH 7/13 libmodplug: new package

In reply to Maxime Hadjinlian

MOD 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     |   11 +++++++++++
 package/libmodplug/libmodplug.mk |   11 +++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/libmodplug/Config.in
 create mode 100644 package/libmodplug/libmodplug.mk
package/Config.in +1 -0
index c6e1fd4..ac021e8 100644
@@ -349,6 +349,7 @@ source "package/alsa-lib/Config.in"
 source "package/audiofile/Config.in"
 source "package/celt051/Config.in"
 source "package/libao/Config.in"
+source "package/libmodplug/Config.in"
 source "package/libcdaudio/Config.in"
 source "package/libcdio/Config.in"
 source "package/libcue/Config.in"
package/libmodplug/Config.in new file +11 -0
new file mode 100644
index 0000000..cdb591f
@@ -0,0 +1,11 @@
+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 +11 -0
new file mode 100644
index 0000000..889056e
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libmodplug
+#
+#############################################################
+
+LIBMODPLUG_VERSION = 0.8.7
+LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
+LIBMODPLUG_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#14 lore raw

PATCH 8/13 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]>

---
 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 ac021e8..a9cb9ed 100644
@@ -404,6 +404,7 @@ source "package/gamin/Config.in"
 source "package/libconfig/Config.in"
 source "package/libconfuse/Config.in"
 source "package/libfuse/Config.in"
+source "package/libnfs/Config.in"
 source "package/liblockfile/Config.in"
 source "package/libsysfs/Config.in"
 endmenu
package/libnfs/Config.in new file +11 -0
new file mode 100644
index 0000000..29e5a43
@@ -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
new file mode 100644
index 0000000..693de46
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libnfs
+#
+#############################################################
+
+LIBNFS_VERSION = libnfs-1.3.0
+LIBNFS_SITE = http://github.com/sahlberg/libnfs/tarball/$(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.7.10.4
#16 lore raw

PATCH 9/13 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]>

---
 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 a9cb9ed..382d859 100644
@@ -559,6 +559,7 @@ source "package/gsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
 source "package/lockdev/Config.in"
+source "package/libplist/Config.in"
 source "package/libnspr/Config.in"
 source "package/libsigc/Config.in"
 source "package/libtpl/Config.in"
package/libplist/Config.in new file +12 -0
new file mode 100644
index 0000000..a4a3adb
@@ -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
new file mode 100644
index 0000000..16ea5ff
@@ -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 = GPLv2
+LIBPLIST_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))
Signature · 1 line
1.7.10.4
#18 lore raw

PATCH 10/13 librtmp: new package

In reply to Maxime Hadjinlian

librtmp - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

---
 package/Config.in          |    1 +
 package/librtmp/Config.in  |    8 ++++++++
 package/librtmp/librtmp.mk |   27 +++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 100644 package/librtmp/Config.in
 create mode 100644 package/librtmp/librtmp.mk
package/Config.in +1 -0
index 382d859..6e926bf 100644
@@ -434,6 +434,7 @@ source "package/libgtk2/Config.in"
 source "package/libpng/Config.in"
 source "package/libraw/Config.in"
 source "package/librsvg/Config.in"
+source "package/librtmp/Config.in"
 source "package/libsvgtiny/Config.in"
 source "package/libungif/Config.in"
 source "package/opencv/Config.in"
package/librtmp/Config.in new file +8 -0
new file mode 100644
index 0000000..8152f87
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBRTMP
+	bool "librtmp"
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_ZLIB
+	help
+	  librtmp - RTMPDump Real-Time Messaging Protocol API
+
+	  http://rtmpdump.mplayerhq.hu
package/librtmp/librtmp.mk new file +27 -0
new file mode 100644
index 0000000..5e60428
@@ -0,0 +1,27 @@
+#############################################################
+#
+#librtmp
+#
+#############################################################
+
+LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
+LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
+LIBRTMP_INSTALL_STAGING = YES
+LIBRTMP_LICENSE = GPLv2
+LIBRTMP_LICENSE_FILES = COPYING
+LIBRTMP_DEPENDENCIES = openssl zlib
+
+define LIBRTMP_BUILD_CMDS
+	sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)/librtmp
+endef
+
+define LIBRTMP_INSTALL_STAGING_CMDS
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
+endef
+
+define LIBRTMP_INSTALL_TARGET_CMDS
+	$(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
+endef
+
+$(eval $(generic-package))
Signature · 1 line
1.7.10.4
#21 lore raw

PATCH 11/13 libshairport: new package

In reply to Maxime Hadjinlian

libshairport 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/libshairport/Config.in                     |   12 +
 .../libshairport-1.2.0.20310_lib-001_add_ao.patch  |  270 +++++++
 ...rt-1.2.0.20310_lib-002_fix_install_header.patch |   12 +
 ...hairport-1.2.0.20310_lib-003_fix_deadlock.patch |   10 +
 ...irport-1.2.0.20310_lib-004_fix_bad_access.patch |   22 +
 ...hairport-1.2.0.20310_lib-005_fix_shutdown.patch |   10 +
 ...ibshairport-1.2.0.20310_lib-006_no_printf.patch |  843 ++++++++++++++++++++
 ...rt-1.2.0.20310_lib-007_fix_syslog_defines.patch |   24 +
 ...port-1.2.0.20310_lib-008-add-missing-libs.patch |   21 +
 ...libshairport-1.2.0.20310_lib-009_fix_ipv6.patch |   22 +
 package/libshairport/libshairport.mk               |   13 +
 12 files changed, 1260 insertions(+)
 create mode 100644 package/libshairport/Config.in
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-002_fix_install_header.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-003_fix_deadlock.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-004_fix_bad_access.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-005_fix_shutdown.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-006_no_printf.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-007_fix_syslog_defines.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-008-add-missing-libs.patch
 create mode 100644 package/libshairport/libshairport-1.2.0.20310_lib-009_fix_ipv6.patch
 create mode 100644 package/libshairport/libshairport.mk
package/Config.in +1 -0
index 6e926bf..d798137 100644
@@ -526,6 +526,7 @@ source "package/liboping/Config.in"
 source "package/libpcap/Config.in"
 source "package/libosip2/Config.in"
 source "package/librsync/Config.in"
+source "package/libshairport/Config.in"
 source "package/libsoup/Config.in"
 source "package/libtirpc/Config.in"
 source "package/libtorrent/Config.in"
package/libshairport/Config.in new file +12 -0
new file mode 100644
index 0000000..23ba5ed
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBSHAIRPORT
+	bool "libshairport"
+	select BR2_PACKAGE_OPENSSL
+	depends on BR2_INET_IPV6
+	help
+	  libshaiport is a client library that emulates an airplay
+	  server
+
+	  https://github.com/albertz/shairport
+
+comment "libshairport requires a toolchain with IPV6 support"
+	depends on !BR2_INET_IPV6
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +270 -0

270 lines not on this page · raw message

package/libshairport/libshairport-1.2.0.20310_lib-002_fix_install_header.patch new file +12 -0
new file mode 100644
index 0000000..0563f6b
@@ -0,0 +1,12 @@
+--- libshairport-1.2.0.20310_lib-org/src/Makefile.am.old	2011-09-23 23:14:39.000000000 +0200
++++ libshairport-1.2.0.20310_lib-mod/src/Makefile.am	2011-09-25 21:38:08.000000000 +0200
+@@ -1,7 +1,7 @@
+ lib_LTLIBRARIES=libshairport.la
+ 
+-library_includedir=$(includedir)
+-library_include_HEADERS = shairport.h
++library_includedir=$(includedir)/shairport
++library_include_HEADERS = shairport.h ao.h socketlib.h
+ 
+ libshairport_la_SOURCES=shairport.c hairtunes.c socketlib.c alac.c
+ libshairport_la_LDFLAGS=-dynamiclib
package/libshairport/libshairport-1.2.0.20310_lib-003_fix_deadlock.patch new file +10 -0
new file mode 100644
index 0000000..e419ffb
@@ -0,0 +1,10 @@
+--- libshairport-1.2.0.20310_lib-org/src/hairtunes.c.orig	2011-09-25 21:58:08.000000000 +0200
++++ libshairport-1.2.0.20310_lib-mod/src/hairtunes.c	2011-09-25 21:58:12.000000000 +0200
+@@ -991,6 +991,7 @@
+ 
+ void hairtunes_cleanup(void)
+ {
++  pthread_cond_signal(&ab_buffer_ready);
+   clean_output();
+   clean_rtp();
+   clean_buffer();
package/libshairport/libshairport-1.2.0.20310_lib-004_fix_bad_access.patch new file +22 -0
new file mode 100644
index 0000000..f61bdef
@@ -0,0 +1,22 @@
+--- libshairport-1.2.0.20310_lib-org/src/hairtunes.c.orig	2011-09-25 23:26:56.000000000 +0200
++++ libshairport-1.2.0.20310_lib-mod/src/hairtunes.c	2011-09-25 23:29:27.000000000 +0200
+@@ -89,7 +89,6 @@
+ // maximal resampling shift - conservative
+ #define OUTFRAME_BYTES (4*(frame_size+3))
+ 
+-
+ alac_file *decoder_info;
+ 
+ #ifdef FANCY_RESAMPLING
+@@ -849,6 +848,11 @@
+             inbuf = buffer_get_frame();
+         } while (!inbuf && audio_running);
+ 
++        if(!audio_running)
++        {
++          return 0; //don't access inbuf if audio stopped
++        }
++
+ #ifdef FANCY_RESAMPLING
+         if (fancy_resampling) {
+ 	        int i;
package/libshairport/libshairport-1.2.0.20310_lib-005_fix_shutdown.patch new file +10 -0
new file mode 100644
index 0000000..8cb0d88
@@ -0,0 +1,10 @@
+--- libshairport-1.2.0.20310_lib-org/src/shairport.c	2011-09-25 23:58:06.000000000 +0200
++++ libshairport-1.2.0.20310_lib-mod/src/shairport.c.new	2011-09-25 23:57:54.000000000 +0200
+@@ -368,6 +368,7 @@
+ void shairport_exit(void)
+ {
+   m_running = 0;
++  close(tServerSock);
+ }
+ 
+ int shairport_is_running(void)
package/libshairport/libshairport-1.2.0.20310_lib-006_no_printf.patch new file +843 -0

843 lines not on this page · raw message

package/libshairport/libshairport-1.2.0.20310_lib-007_fix_syslog_defines.patch new file +24 -0
new file mode 100644
index 0000000..c394bbd
@@ -0,0 +1,24 @@
+--- libshairport-1.2.0.20310_lib-org/src/shairport.h	2011-10-01 04:09:16.000000000 +0200
++++ libshairport-1.2.0.20310_lib-mod/src/shairport.h	2011-11-07 18:05:05.000000000 +0100
+@@ -16,10 +16,17 @@
+ 
+ #define HWID_SIZE 6
+ #define SHAIRPORT_LOG 1
+-#define LOG_INFO     1
+-#define LOG_DEBUG    5
+-#define LOG_DEBUG_V  6
+-#define LOG_DEBUG_VV 7
++
++#ifndef LOG_INFO
++#define LOG_INFO     5
++#endif
++
++#ifndef LOG_DEBUG
++#define LOG_DEBUG    6
++#endif
++
++#define LOG_DEBUG_V  7
++#define LOG_DEBUG_VV 8
+ 
+ struct shairbuffer
+ {
package/libshairport/libshairport-1.2.0.20310_lib-008-add-missing-libs.patch new file +21 -0
new file mode 100644
index 0000000..0396923
@@ -0,0 +1,21 @@
+--- libshairport-1.2.0.20310_lib-org/configure.in-org	2011-11-08 11:53:42.802419355 -0500
++++ libshairport-1.2.0.20310_lib-mod/configure.in	2011-11-08 11:55:38.082419413 -0500
+@@ -11,8 +11,9 @@ AC_PROG_LIBTOOL
+ 
+ # Checks for libraries.
+ #AC_CHECK_LIB([c],   [main])
+-#AC_CHECK_LIB([m],   [main])
++AC_CHECK_LIB([m],   [main])
+ AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library))
++AC_CHECK_LIB([crypto], [main],, AC_MSG_ERROR($missing_library))
+ AC_CHECK_LIB([pthread], [main],, AC_MSG_ERROR($missing_library))
+ 
+ OUTPUT_FILES="Makefile"
+@@ -21,4 +22,4 @@ LIBDIR=$PREFIX
+ 
+ AC_CONFIG_FILES([${OUTPUT_FILES}])
+ AC_OUTPUT(Makefile src/Makefile)
+-AC_OUTPUT
+\ No newline at end of file
++AC_OUTPUT
+
package/libshairport/libshairport-1.2.0.20310_lib-009_fix_ipv6.patch new file +22 -0
new file mode 100644
index 0000000..ea2b2e4
@@ -0,0 +1,22 @@
+--- libshairport-1.2.0.20310_lib-org/src/socketlib.c	2012-01-04 20:41:05.000000000 +0100
++++ libshairport-1.2.0.20310_lib-mod/src/socketlib.c	2012-01-04 20:35:53.000000000 +0100
+@@ -48,7 +48,7 @@
+   if((tSock==-1) && (pAddrInfo->ai_family == AF_INET6) && (errno == EAFNOSUPPORT))
+   {
+     //Fallback to ipv4
+-    perror("Failed to create ipv6 socket. Trying ipv4");
++    xprintf("Failed to create ipv6 socket. Trying ipv4");
+     pAddrInfo->ai_family = AF_INET;
+     tSock = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, 0);
+   }
+@@ -158,8 +158,8 @@
+     sprintf(tService, "%d", pPort); // copies port to string
+     int tFamily = AF_INET;
+     #ifdef AF_INET6
+-    //printf("Listening on IPv6 Socket\n");
+-    //tFamily = AF_INET6;
++    xprintf("Listening on IPv6 Socket\n");
++    tFamily = AF_INET6;
+     #else
+     //printf("Listening on IPv4 Socket");
+     #endif
package/libshairport/libshairport.mk new file +13 -0
new file mode 100644
index 0000000..6c3491c
@@ -0,0 +1,13 @@
+#############################################################
+#
+# libshairport
+#
+#############################################################
+
+LIBSHAIRPORT_VERSION = 1.2.0.20310_lib
+LIBSHAIRPORT_SITE = http://mirrors.xbmc.org/build-deps/darwin-libs
+LIBSHAIRPORT_INSTALL_STAGING = YES
+LIBSHAIRPORT_AUTORECONF = YES
+LIBSHAIRPORT_DEPENDENCIES = openssl
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#24 lore raw

PATCH 12/13 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]>

---
 package/Config.in          |    1 +
 package/tinyxml/Config.in  |   12 ++++++++++++
 package/tinyxml/tinyxml.mk |   12 ++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/tinyxml/Config.in
 create mode 100644 package/tinyxml/tinyxml.mk
package/Config.in +1 -0
index d798137..7db8ba9 100644
@@ -604,6 +604,7 @@ source "package/libxml2/Config.in"
 source "package/libxslt/Config.in"
 source "package/libyaml/Config.in"
 source "package/mxml/Config.in"
+source "package/tinyxml/Config.in"
 source "package/xerces/Config.in"
 source "package/yajl/Config.in"
 endmenu
package/tinyxml/Config.in new file +12 -0
new file mode 100644
index 0000000..b549d00
@@ -0,0 +1,12 @@
+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 +12 -0
new file mode 100644
index 0000000..f4f042b
@@ -0,0 +1,12 @@
+#############################################################
+#
+# tinyxml
+#
+#############################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+TINYXML_AUTORECONF = YES
+TINYXML_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#27 lore raw

PATCH 13/13 Install libfribidi to staging

In reply to Maxime Hadjinlian

Install libfribi to staging to be able to link against it.

---
 package/libfribidi/libfribidi.mk |    1 +
 1 file changed, 1 insertion(+)
package/libfribidi/libfribidi.mk +1 -0
index 538997c..45568ca 100644
@@ -9,5 +9,6 @@ LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2
 LIBFRIBIDI_SITE = http://www.fribidi.org/download/
 LIBFRIBIDI_LICENSE = LGPLv2.1+
 LIBFRIBIDI_LICENSE_FILES = COPYING
+LIBFRIBIDI_INSTALL_STAGING = YES
 
 $(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#22 lore raw

PATCH 11/13 libshairport: new package

In reply to Maxime Hadjinlian

Hi Maxime,

2013/2/21 Maxime Hadjinlian <[email protected]>:

Quoted 18 lines

libshairport 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/libshairport/Config.in                     |   12 +
 .../libshairport-1.2.0.20310_lib-001_add_ao.patch  |  270 +++++++
 ...rt-1.2.0.20310_lib-002_fix_install_header.patch |   12 +
 ...hairport-1.2.0.20310_lib-003_fix_deadlock.patch |   10 +
 ...irport-1.2.0.20310_lib-004_fix_bad_access.patch |   22 +
 ...hairport-1.2.0.20310_lib-005_fix_shutdown.patch |   10 +
 ...ibshairport-1.2.0.20310_lib-006_no_printf.patch |  843 ++++++++++++++++++++
 ...rt-1.2.0.20310_lib-007_fix_syslog_defines.patch |   24 +
 ...port-1.2.0.20310_lib-008-add-missing-libs.patch |   21 +
 ...libshairport-1.2.0.20310_lib-009_fix_ipv6.patch |   22 +
 package/libshairport/libshairport.mk               |   13 +

[...]

package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch line 3

Quoted 9 lines
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +3 -0
new file mode 100644
index 0000000..b2debed
@@ -0,0 +1,270 @@
+diff -uP libshairport-1.2.0.20310_lib/src/ao.h ../../../../../libshairport-1.2.0.20310_lib/src/ao.h
+--- libshairport-1.2.0.20310_lib-org/src/ao.h  1970-01-01 01:00:00.000000000 +0100
++++ libshairport-1.2.0.20310_lib-mod/src/ao.h  2011-09-25 20:36:36.000000000 +0200

I guess you get the patches from the web?

Could you reformat the patches' header according to:
http://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
and/or:
http://buildroot.org/downloads/manual/manual.html#_integrating_patches_found_on_the_web

[...]

package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch line 7

Quoted 4 lines
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +4 -0
+LIBSHAIRPORT_VERSION = 1.2.0.20310_lib
+LIBSHAIRPORT_SITE = http://mirrors.xbmc.org/build-deps/darwin-libs
+LIBSHAIRPORT_INSTALL_STAGING = YES
+LIBSHAIRPORT_AUTORECONF = YES

A short comment why autoreconf is necessary would be appreciated.

package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch line 10

Quoted 3 lines
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +3 -0
+LIBSHAIRPORT_DEPENDENCIES = openssl
+
+$(eval $(autotools-package))

Regards,

Signature · 1 line
Samuel
#2 lore raw

PATCH 1/13 libenca: new package

In reply to Maxime Hadjinlian

Maxime, All,

I'm eager to see the following patch(es) finally adding XBMC! ;-)

Quoted 1 line · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

Extremely Naive Charset Analyser.

[--SNIP--]

package/Config.in source "package/liblog4c-localtime/Config.in" · line 575

Quoted 12 lines
package/Config.in +1 -0
index 3d7866a..e56c13f 100644
@@ -569,6 +569,7 @@ source "package/liblog4c-localtime/Config.in"
 endmenu
 
 menu "Text and terminal handling"
+source "package/libenca/Config.in"
 source "package/enchant/Config.in"
 source "package/libfribidi/Config.in"
 source "package/icu/Config.in"

Order alphabetically, even taking account of the 'lib' prefix, please. The order should be:
enchant
libenca
libfribidi

[--SNIP--]

package/libenca/libenca-1.9-dont-build-tools.patch

Quoted 3 lines
package/libenca/libenca-1.9-dont-build-tools.patch new file +0 -0
new file mode 100644
index 0000000..16c3747

Please, format patches as you would for commit message. Do not forget to also SoB the patches.

[--SNIP--]

Quoted 15 lines
package/libenca/libenca-1.9-fix-clean.patch new file +9 -0
new file mode 100644
index 0000000..9c6f097
@@ -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 -sf $$inst1$(EXEEXT) $$inst2$(EXEEXT)
+ 

package/libenca/libenca-1.9-fix-clean.patch line 19

Quoted 10 lines
package/libenca/libenca-1.9-fix-clean.patch new file +10 -0
+ 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

Please, be consistent. In src/Makefile.in, you hard-code 'ln -sf', while in Makefile.in, you use '$(LN_S)f' (which I find dubious, I'd rather that you use '$(LN_S) -f'

Quoted 14 lines
package/libenca/libenca.mk new file +8 -0
new file mode 100644
index 0000000..e9dba18
@@ -0,0 +1,26 @@
+#############################################################
+#
+# libenca
+#
+#############################################################
+
+LIBENCA_VERSION = 1.9
+LIBENCA_SITE = http://dl.cihar.com/enca

package/libenca/libenca.mk line 18

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

Please explain that yeti one.

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

PATCH 3/13 libbluray: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

Quoted 7 lines
package/libbluray/libbluray.mk new file +1 -0
new file mode 100644
index 0000000..a1fc69b
@@ -0,0 +1,14 @@
+#############################################################

package/libbluray/libbluray.mk line 11

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

It is LGPLv2.1+.

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

PATCH 4/13 libcdio: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

Quoted 6 lines
package/libcdio/libcdio.mk new file +0 -0
new file mode 100644
index 0000000..71ffe91

package/libcdio/libcdio.mk line 10

Quoted 10 lines
package/libcdio/libcdio.mk new file +10 -0
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libcdio
+#
+#############################################################
+
+LIBCDIO_VERSION = 0.82
+LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
+LIBCDIO_INSTALL_STAGING = YES
+LIBCDIO_LICENSE = GPLv3

It is GPLv3+.

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

PATCH 5/13 lockdev: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

package/Config.in source "package/libffi/Config.in" · line 558

Quoted 9 lines
package/Config.in +1 -0
index 01eeee8..2106391 100644
@@ -555,6 +555,7 @@ source "package/libffi/Config.in"
 source "package/gsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
+source "package/lockdev/Config.in"

Alphabetical order, please.

[--SNIP--]

Quoted 11 lines
package/lockdev/lockdev.mk new file +5 -0
new file mode 100644
index 0000000..2012211
@@ -0,0 +1,30 @@
+#############################################################
+#
+# lockdev
+#
+#############################################################

package/lockdev/lockdev.mk line 15

Quoted 10 lines
package/lockdev/lockdev.mk new file +10 -0
+
+LOCKDEV_VERSION = 1.0.3
+LOCKDEV_SITE = http://ftp.de.debian.org/debian/pool/main/l/lockdev
+LOCKDEV_SOURCE = lockdev_$(LOCKDEV_VERSION).orig.tar.gz
+LOCKDEV_INSTALL_STAGING = YES
+LOCKDEV_LICENSE = LGPLv2.1
+LOCKDEV_LICENSE_FILES = LICENSE
+
+define LOCKDEV_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) OPTIM= -C $(@D) V=1 shared

No 'V=1' please. Add building the static version (if possible).

package/lockdev/lockdev.mk line 21

Quoted 6 lines
package/lockdev/lockdev.mk new file +6 -0
+endef
+
+define LOCKDEV_INSTALL_STAGING_CMDS
+	$(MAKE) basedir=$(STAGING_DIR)/usr -C $(@D) install
+	ln -s $(STAGING_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so
+	ln -s $(STAGING_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so.1

And install the static version, too. ;-)

package/lockdev/lockdev.mk line 30

Quoted 9 lines
package/lockdev/lockdev.mk new file +9 -0
+endef
+
+define LOCKDEV_INSTALL_TARGET_CMDS
+	$(MAKE) basedir=$(TARGET_DIR)/usr -C $(@D) install
+	ln -s $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so
+	ln -s $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.1
+endef
+
+$(eval $(generic-package))

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

PATCH 6/13 libcec: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 4 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

libCEC allows you in combination with the right hardware to control your device with your TV remote control. Utilising your existing HDMI cabling This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

[--SNIP--]

Quoted 14 lines
package/libcec/Config.in new file +8 -0
new file mode 100644
index 0000000..5051b94
@@ -0,0 +1,30 @@
+config BR2_PACKAGE_LIBCEC
+	bool "libcec"
+	select BR2_PACKAGE_LOCKDEV
+	depends on BR2_USE_WCHAR
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libCEC allows you in combination with the right hardware to
+	  control your device with your TV remote control. Utilising your

package/libcec/Config.in line 18

Quoted 10 lines
package/libcec/Config.in new file +10 -0
+	  existing HDMI cabling.
+	  
+	  https://github.com/Pulse-Eight/libcec
+
+if BR2_PACKAGE_LIBCEC && BR2_arm
+
+config BR2_PACKAGE_LIBCEC_RBP
+	bool "rpi support"
+	depends on BR2_LARGEFILE
+	depends on BR2_INSTALL_LIBSTDCPP

No need for 'depends on BR2_INSTALL_LIBSTDCPP', it's guaranteed by the same depends on for the main symbol.

package/libcec/Config.in line 24

Quoted 6 lines
package/libcec/Config.in new file +6 -0
+	select BR2_PACKAGE_RPI_USERLAND
+	help
+	  Enable RasberryPi support
+
+comment "rpi support requires a toolchain with LARGEFILE and C++ support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE)

Ditto, just mention LARGEFILE.

[--SNIP--]

Quoted 7 lines
package/libcec/libcec.mk new file +1 -0
new file mode 100644
index 0000000..2974cbf
@@ -0,0 +1,22 @@
+#############################################################

package/libcec/libcec.mk line 11

Quoted 10 lines
package/libcec/libcec.mk new file +10 -0
+#
+# libcec
+#
+#############################################################
+
+LIBCEC_VERSION = 89ea1724e7a4bde3f7a4f958b414889cefddb841
+LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/master
+LIBCEC_INSTALL_STAGING = YES
+LIBCEC_AUTORECONF = YES
+LIBCEC_LICENSE = GPLv2

It's GPLv2+

(The rest of the series I'll look at after dinner. Hang on tight! ;-) )

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

PATCH 7/13 libmodplug: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

package/Config.in source "package/alsa-lib/Config.in" · line 352

Quoted 9 lines
package/Config.in +1 -0
index c6e1fd4..ac021e8 100644
@@ -349,6 +349,7 @@ source "package/alsa-lib/Config.in"
 source "package/audiofile/Config.in"
 source "package/celt051/Config.in"
 source "package/libao/Config.in"
+source "package/libmodplug/Config.in"

Alphabetical order, please.

Quoted 6 lines
package/libmodplug/libmodplug.mk new file +0 -0
new file mode 100644
index 0000000..889056e

package/libmodplug/libmodplug.mk line 9

Quoted 9 lines
package/libmodplug/libmodplug.mk new file +9 -0
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libmodplug
+#
+#############################################################
+
+LIBMODPLUG_VERSION = 0.8.7
+LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
+LIBMODPLUG_INSTALL_STAGING = YES

Add the license; it is "Public Domain".

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 8/13 libnfs: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

package/Config.in source "package/gamin/Config.in" · line 408

Quoted 10 lines
package/Config.in +1 -0
index ac021e8..a9cb9ed 100644
@@ -404,6 +404,7 @@ source "package/gamin/Config.in"
 source "package/libconfig/Config.in"
 source "package/libconfuse/Config.in"
 source "package/libfuse/Config.in"
+source "package/libnfs/Config.in"
 source "package/liblockfile/Config.in"

Alphabetical order, please.

Quoted 8 lines
package/libnfs/libnfs.mk new file +2 -0
new file mode 100644
index 0000000..693de46
@@ -0,0 +1,16 @@
+#############################################################
+#

package/libnfs/libnfs.mk line 12

Quoted 10 lines
package/libnfs/libnfs.mk new file +10 -0
+# libnfs
+#
+#############################################################
+
+LIBNFS_VERSION = libnfs-1.3.0
+LIBNFS_SITE = http://github.com/sahlberg/libnfs/tarball/$(LIBNFS_VERSION)
+LIBNFS_INSTALL_STAGING = YES
+LIBNFS_AUTORECONF = YES
+LIBNFS_MAKE = $(MAKE1)
+LIBNFS_LICENSE = LGPLv2.1

It looks like it is in fact LGPLv2.1+.

There's at least one file (lib/init.c) that does not have the 'or later' clause, but just a terse reference to the license, while all other files I've looked at explicitly state 'or later'.

So, I'd be enclined to believe it is LGPLv2.1+.

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

PATCH 9/13 libplist: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

package/Config.in source "package/gsl/Config.in" · line 563

Quoted 10 lines
package/Config.in +1 -0
index a9cb9ed..382d859 100644
@@ -559,6 +559,7 @@ source "package/gsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
 source "package/lockdev/Config.in"
+source "package/libplist/Config.in"
 source "package/libnspr/Config.in"

Alphabetical order, please.

[--SNIP--]

Quoted 8 lines
package/libplist/libplist.mk new file +2 -0
new file mode 100644
index 0000000..16ea5ff
@@ -0,0 +1,15 @@
+#############################################################
+#

package/libplist/libplist.mk line 12

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

Although both COPYING and COPYING.LESSER are present, there's no file I could find under the GPLv2. They all refer to the LGPLv2.1+.

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

PATCH 10/13 librtmp: new package

In reply to Maxime Hadjinlian

Maxime, All,

package/librtmp/Config.in line 2

Quoted 12 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

librtmp - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <[email protected]>

package/librtmp/Config.in new file +2 -0
new file mode 100644
index 0000000..8152f87
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBRTMP
+	bool "librtmp"

The package is 'rtmpdump' so I'd just call it 'rtmpdump' in Buildroot as well (you can add in the help text that only the librtmp is installed).

package/librtmp/Config.in line 3

Quoted 1 line
package/librtmp/Config.in new file +1 -0
+	select BR2_PACKAGE_OPENSSL

rtmpdump can also use gnutls, so I'd rather do:

    select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS

And adapt the .mk accordingly, of course.

There is no point in forcing openssl if the user already chose to use another SSL library.

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

package/librtmp/librtmp.mk line 10

Quoted 10 lines
package/librtmp/librtmp.mk new file +10 -0
@@ -0,0 +1,27 @@
+#############################################################
+#
+#librtmp
+#
+#############################################################
+
+LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
+LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
+LIBRTMP_INSTALL_STAGING = YES
+LIBRTMP_LICENSE = GPLv2

Since you only install the library, it's LGPLv2.1+.

librtmp/ has its own COPYING file, which is LGPLv2.1, and source files in librtmp/ all refer to LGPLv2.1 or later. So, GPLv2.1+.

Add a comment in this file that the LICENSE should be updated, should the program(s) be one day installed.

package/librtmp/librtmp.mk line 12

Quoted 2 lines
package/librtmp/librtmp.mk new file +2 -0
+LIBRTMP_LICENSE_FILES = COPYING
+LIBRTMP_DEPENDENCIES = openssl zlib

And here, I'd do something like:

    LIBRTMP_DEPENDENCIES = openssl zlib
    ifeq ($(BR2_PACKAGE_GNUTLS),y)
    LIBRTMP_DEPENDENCIES += gnutls
    else
    ifeq ($(BR2_PACKAGE_POLARSSL),y)
    LIBRTMP_DEPENDENCIES += polarssl
    else
    LIBRTMP_DEPENDENCIES += openssl
    endif
    endif

package/librtmp/librtmp.mk line 15

Quoted 2 lines
package/librtmp/librtmp.mk new file +2 -0
+define LIBRTMP_BUILD_CMDS
+	sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile

I'd do that as a post-extract (or post-patch) hook instead.

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

PATCH 11/13 libshairport: new package

In reply to Samuel Martin

Maxime, Samuel, All,

Quoted 17 lines · On Thursday 21 February 2013 Samuel Martin wrote:

2013/2/21 Maxime Hadjinlian <[email protected]>:

Quoted 3 lines

libshairport 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/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch line 3

Quoted 9 lines
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +3 -0
new file mode 100644
index 0000000..b2debed
@@ -0,0 +1,270 @@
+diff -uP libshairport-1.2.0.20310_lib/src/ao.h ../../../../../libshairport-1.2.0.20310_lib/src/ao.h
+--- libshairport-1.2.0.20310_lib-org/src/ao.h  1970-01-01 01:00:00.000000000 +0100
++++ libshairport-1.2.0.20310_lib-mod/src/ao.h  2011-09-25 20:36:36.000000000 +0200

I guess you get the patches from the web?

Quoted 4 lines

Could you reformat the patches' header according to:
http://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
and/or:
http://buildroot.org/downloads/manual/manual.html#_integrating_patches_found_on_the_web

Or better yet, grab them from the net with

    LIBSHAIRPORT_PATCH = http://path/to/patch-1  \
                         http://path/to/patch-2  \
                         http://path/to/patch-3
Quoted 6 lines

[...]

package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch

Quoted 4 lines
package/libshairport/libshairport-1.2.0.20310_lib-001_add_ao.patch new file +4 -0
+LIBSHAIRPORT_VERSION = 1.2.0.20310_lib
+LIBSHAIRPORT_SITE = http://mirrors.xbmc.org/build-deps/darwin-libs
+LIBSHAIRPORT_INSTALL_STAGING = YES
+LIBSHAIRPORT_AUTORECONF = YES

A short comment why autoreconf is necessary would be appreciated.

And add the license. It looks like it is an MIT (or MIT-like) license, as it is very similar to that:
https://spdx.org/licenses/MIT

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

PATCH 12/13 tinyxml: new package

In reply to Maxime Hadjinlian

Maxime, All,

Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

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

[--SNIP--]

package/tinyxml/Config.in line 3

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

Indent-damage. Leading tabs, please.

Quoted 6 lines
package/tinyxml/tinyxml.mk new file +0 -0
new file mode 100644
index 0000000..f4f042b

package/tinyxml/tinyxml.mk line 10

Quoted 10 lines
package/tinyxml/tinyxml.mk new file +10 -0
@@ -0,0 +1,12 @@
+#############################################################
+#
+# tinyxml
+#
+#############################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+TINYXML_AUTORECONF = YES
+TINYXML_INSTALL_STAGING = YES

License is the Zlib license:
https://github.com/leethomason/tinyxml2/blob/master/tinyxml2.cpp
https://spdx.org/licenses/Zlib

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

PATCH 12/13 tinyxml: new package

In reply to Maxime Hadjinlian

Maxime, All,

Sorry, I forgot something in the previous review...

On Thursday 21 February 2013 Maxime Hadjinlian wrote:
[--SNIP--]

Quoted 6 lines
package/tinyxml/tinyxml.mk new file +0 -0
new file mode 100644
index 0000000..f4f042b

package/tinyxml/tinyxml.mk line 9

Quoted 9 lines
package/tinyxml/tinyxml.mk new file +9 -0
@@ -0,0 +1,12 @@
+#############################################################
+#
+# tinyxml
+#
+#############################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+TINYXML_AUTORECONF = YES

Explain why it needs autoreconf.

As you point the help text to the git repository, I looked there, and there is *no* configure.{ac,in}.

But looking at the download URL, I downloaded the tarball, and it seems the XBMC folks have added a configure.ac in their distribution of tinyxml2.

But looking even more closely, it seems XBMC is using tinyxml, and *not* tinyxml2. Specifically, they are using tinyxml 2.6.2, originally available there (not to say that's the one we should use):
http://sourceforge.net/projects/tinyxml/

So, Id 'update the help text to refer to tinyxml, not tinyxml2.

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

PATCH 13/13 Install libfribidi to staging

In reply to Maxime Hadjinlian
Quoted 3 lines · On Thursday 21 February 2013 Maxime Hadjinlian wrote:

Install libfribi to staging to be able to link against it.

Quoted 24 lines
---
 package/libfribidi/libfribidi.mk |    1 +
 1 file changed, 1 insertion(+)
package/libfribidi/libfribidi.mk +1 -0
index 538997c..45568ca 100644
@@ -9,5 +9,6 @@ LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2
 LIBFRIBIDI_SITE = http://www.fribidi.org/download/
 LIBFRIBIDI_LICENSE = LGPLv2.1+
 LIBFRIBIDI_LICENSE_FILES = COPYING
+LIBFRIBIDI_INSTALL_STAGING = YES
 
 $(eval $(autotools-package))
Signature · 6 lines
1.7.10.4

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

PATCH 10/13 librtmp: new package

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 6 lines · Yann E. MORIN

package/librtmp/librtmp.mk line 12

Quoted 2 lines
package/librtmp/librtmp.mk new file +2 -0
+LIBRTMP_LICENSE_FILES = COPYING
+LIBRTMP_DEPENDENCIES = openssl zlib

And here, I'd do something like:

LIBRTMP_DEPENDENCIES = openssl zlib

This line should be:

LIBRTMP_DEPENDENCIES = zlib

Quoted 9 lines
    ifeq ($(BR2_PACKAGE_GNUTLS),y)
    LIBRTMP_DEPENDENCIES += gnutls
    else
    ifeq ($(BR2_PACKAGE_POLARSSL),y)
    LIBRTMP_DEPENDENCIES += polarssl
    else
    LIBRTMP_DEPENDENCIES += openssl
    endif
    endif

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com