Pull request for branch for-2011.11/packages
The following changes since commit 102a93bdca09742c99e110f144bf0c9267bbdd14:
support: move package/gnuconfig to support/gnuconfig (2011-09-17 08:22:12 +0200)
are available in the git repository at:
http://free-electrons.com/~maxime/git/buildroot.git for-2011.11/packages
Maxime Ripard (4):
Add the picocom package
Add Transmission package
Add lame support in gstreamer
Add the libplayer package
package/Config.in | 2 + package/multimedia/Config.in | 1 + package/multimedia/gst-plugins-ugly/Config.in | 4 + .../gst-plugins-ugly/gst-plugins-ugly.mk | 7 + package/multimedia/libplayer/Config.in | 20 +++ package/multimedia/libplayer/libplayer.mk | 42 +++++ package/picocom/Config.in | 8 + package/picocom/picocom.mk | 19 +++ package/transmission/Config.in | 35 ++++ package/transmission/S92transmission | 169 ++++++++++++++++++++ package/transmission/transmission.mk | 46 ++++++ 11 files changed, 353 insertions(+), 0 deletions(-) create mode 100644 package/multimedia/libplayer/Config.in create mode 100644 package/multimedia/libplayer/libplayer.mk create mode 100644 package/picocom/Config.in create mode 100644 package/picocom/picocom.mk create mode 100644 package/transmission/Config.in create mode 100644 package/transmission/S92transmission create mode 100644 package/transmission/transmission.mk
Thanks,
Signature · 1 line
Maxime Ripard
PATCH 1/4 Add the picocom package
From: Maxime Ripard <[email protected]>
--- package/Config.in | 1 + package/picocom/Config.in | 8 ++++++++ package/picocom/picocom.mk | 19 +++++++++++++++++++ 3 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 package/picocom/Config.in create mode 100644 package/picocom/picocom.mk
package/Config.in +1 -0
@@ -192,6 +192,7 @@ source "package/mtd/Config.in" source "package/ntfs-3g/Config.in" source "package/ntfsprogs/Config.in" source "package/pciutils/Config.in" +source "package/picocom/Config.in" source "package/rng-tools/Config.in" source "package/sdparm/Config.in" source "package/setserial/Config.in"
package/picocom/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PICOCOM + bool "picocom" + help + picocom is a minimal dumb-terminal emulation program. It + is, in principle, very much like minicom, only it's pico + instead of mini! + + http://code.google.com/p/picocom/
package/picocom/picocom.mk new file +19 -0
@@ -0,0 +1,19 @@ +############################################################# +# +# picocom +# +############################################################# + +PICOCOM_VERSION = 1.6 +PICOCOM_SITE = http://picocom.googlecode.com/files/ + +define PICOCOM_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) -C $(@D) +endef + +define PICOCOM_INSTALL_TARGET_CMDS + install -D -m 0755 $(@D)/picocom $(TARGET_DIR)/usr/bin/picocom +endef + +$(eval $(call GENTARGETS,package,picocom))
Signature · 1 line
1.7.4.1
PATCH 1/4 Add the picocom package
Le Wed, 28 Sep 2011 13:48:31 +0200,
Maxime Ripard <[email protected]> a ?crit :
package/picocom/Config.in line 8
Quoted 2 lines
package/picocom/Config.in new file +1
-0+ http://code.google.com/p/picocom/
Peter would like to see a newline here.
package/picocom/picocom.mk line 12
Quoted 3 lines
package/picocom/picocom.mk new file +3
-0+define PICOCOM_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) -C $(@D)
Nitpicking: it probably can be on one single line.
Quoted 2 lines
+$(eval $(call GENTARGETS,package,picocom))
\ No newline at end of file
newline needed here.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 2/4 Add Transmission package
In reply to Maxime RipardFrom: Maxime Ripard <[email protected]>
--- package/Config.in | 1 + package/transmission/Config.in | 35 +++++++ package/transmission/S92transmission | 169 ++++++++++++++++++++++++++++++++++ package/transmission/transmission.mk | 46 +++++++++ 4 files changed, 251 insertions(+), 0 deletions(-) create mode 100644 package/transmission/Config.in create mode 100644 package/transmission/S92transmission create mode 100644 package/transmission/transmission.mk
package/Config.in +1 -0
@@ -467,6 +467,7 @@ source "package/thttpd/Config.in" source "package/tinyhttpd/Config.in" endif source "package/tn5250/Config.in" +source "package/transmission/Config.in" source "package/ttcp/Config.in" source "package/udpcast/Config.in" source "package/vpnc/Config.in"
package/transmission/Config.in new file +35 -0
@@ -0,0 +1,35 @@ +config BR2_PACKAGE_TRANSMISSION + bool "transmission" + depends on BR2_INET_IPV6 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBEVENT + help + Transmission is a cross-platform BitTorrent client. + +comment "Transmission requires a toolchain with IPv6 support" + depends on !BR2_INET_IPV6 + +config BR2_PACKAGE_TRANSMISSION_UTP + bool "Transmission uTP support" + depends on BR2_PACKAGE_TRANSMISSION + depends on BR2_INSTALL_LIBSTDCPP + help + Install support for uTorrent Transport Protocol + +comment "uTP requires a toolchain with C++ support" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_TRANSMISSION_CLI + bool "transmission-cli" + depends on BR2_PACKAGE_TRANSMISSION + help + Install transmission command line interface. + +config BR2_PACKAGE_TRANSMISSION_REMOTE + bool "transmission-remote" + depends on BR2_PACKAGE_TRANSMISSION + default y + help + Install transmission remote management tool.
package/transmission/S92transmission new file +169 -0
170 lines not on this page · raw message
package/transmission/transmission.mk new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 2/4 Add Transmission package
Le Wed, 28 Sep 2011 13:48:32 +0200,
Maxime Ripard <[email protected]> a ?crit :
Quoted 15 lines
package/transmission/Config.in new file +12
-0@@ -0,0 +1,35 @@ +config BR2_PACKAGE_TRANSMISSION + bool "transmission" + depends on BR2_INET_IPV6 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBEVENT + help + Transmission is a cross-platform BitTorrent client. + +comment "Transmission requires a toolchain with IPv6 support" + depends on !BR2_INET_IPV6
package/transmission/Config.in line 22
Quoted 10 lines
package/transmission/Config.in new file +10
-0+ +config BR2_PACKAGE_TRANSMISSION_UTP + bool "Transmission uTP support" + depends on BR2_PACKAGE_TRANSMISSION + depends on BR2_INSTALL_LIBSTDCPP + help + Install support for uTorrent Transport Protocol + +comment "uTP requires a toolchain with C++ support" + depends on !BR2_INSTALL_LIBSTDCPP
&& BR2_PACKAGE_TRANSMISSION
otherwise this comment will be visible even when transmission is not enabled.
Or better, enclose all config options (except the main one) in a "if BR2_PACKAGE_TRANSMISSION ... endif" clause, so you can remove all depends on BR2_PACKAGE_TRANSMISSION.
Quoted 6 lines
package/transmission/S92transmission new file +0
-0
package/transmission/S92transmission line 8
Quoted 8 lines
package/transmission/S92transmission new file +8
-0@@ -0,0 +1,169 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: transmission-daemon +# Required-Start: networking +# Required-Stop: networking +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Short-Description: Start the transmission BitTorrent daemon client.
I guess this is for some specific version of init, we don't usually include this in Buildroot init scripts.
package/transmission/S92transmission line 18
Quoted 10 lines
package/transmission/S92transmission new file +10
-0+ifeq ($(BR2_PACKAGE_TRANSMISSION_REMOTE),y) + TRANSMISSION_CONF_OPT += --enable-remote +else + TRANSMISSION_CONF_OPT += --disable-remote +define TRANSMISSION_INIT_SCRIPT_INSTALL + $(INSTALL) -m 0755 -D package/transmission/S92transmission \ + $(TARGET_DIR)/etc/init.d/S92transmission +endef + TRANSMISSION_POST_INSTALL_TARGET_HOOKS += TRANSMISSION_INIT_SCRIPT_INSTALL +endif
To improve readability, probably you could put TRANSMISSION_INIT_SCRIPT_INSTALL outside the ifeq..else..endif.
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
PATCH 3/4 Add lame support in gstreamer
In reply to Maxime RipardFrom: Maxime Ripard <[email protected]>
--- package/multimedia/gst-plugins-ugly/Config.in | 4 ++++ .../gst-plugins-ugly/gst-plugins-ugly.mk | 7 +++++++ 2 files changed, 11 insertions(+), 0 deletions(-)
package/multimedia/gst-plugins-ugly/Config.in +4 -0
@@ -38,6 +38,10 @@ config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_SYNAESTHESIA comment "plugins with external dependencies (there may be more available)" +config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME + bool "lame (*.mp3 audio encoder)" + select BR2_PACKAGE_LAME + config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD bool "mad (*.mp3 audio)" select BR2_PACKAGE_LIBID3TAG
package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk +7 -0
@@ -60,6 +60,13 @@ else GST_PLUGINS_UGLY_CONF_OPT += --disable-synaesthesia endif +ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME),y) +GST_PLUGINS_UGLY_CONF_OPT += --enable-lame +GST_PLUGINS_UGLY_DEPENDENCIES += lame +else +GST_PLUGINS_UGLY_CONF_OPT += --disable-lame +endif + ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD),y) GST_PLUGINS_UGLY_CONF_OPT += --enable-mad GST_PLUGINS_UGLY_DEPENDENCIES += libid3tag libmad
Signature · 1 line
1.7.4.1
PATCH 4/4 Add the libplayer package
In reply to Maxime RipardFrom: Maxime Ripard <[email protected]>
--- package/multimedia/Config.in | 1 + package/multimedia/libplayer/Config.in | 20 +++++++++++++ package/multimedia/libplayer/libplayer.mk | 42 +++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 package/multimedia/libplayer/Config.in create mode 100644 package/multimedia/libplayer/libplayer.mk
package/multimedia/Config.in +1 -0
@@ -26,6 +26,7 @@ source "package/multimedia/libmms/Config.in" source "package/multimedia/libmpd/Config.in" source "package/multimedia/libmpeg2/Config.in" source "package/multimedia/libogg/Config.in" +source "package/multimedia/libplayer/Config.in" source "package/multimedia/libreplaygain/Config.in" source "package/multimedia/libsamplerate/Config.in" source "package/multimedia/libsndfile/Config.in"
package/multimedia/libplayer/Config.in new file +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBPLAYER + depends on BR2_LARGEFILE + bool "libplayer" + help + libplayer provides a generic A/V API that relies on various multimedia + player for Linux systems. It currently supports MPlayer, xine VLC and + GStreamer only + + http://libplayer.geexbox.org/ + +comment "Libplayer requires a toolchain with LARGEFILE support" + depends on !BR2_LARGEFILE + +config BR2_PACKAGE_LIBPLAYER_MPLAYER + depends on BR2_PACKAGE_MPLAYER + bool "Libplayer mplayer backend" + +config BR2_PACKAGE_LIBPLAYER_GSTREAMER + depends on BR2_PACKAGE_GSTREAMER + bool "Libplayer GStreamer backend"
package/multimedia/libplayer/libplayer.mk new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 4/4 Add the libplayer package
Hello,
Le Wed, 28 Sep 2011 13:48:34 +0200,
Maxime Ripard <[email protected]> a ?crit :
Quoted 13 lines
package/multimedia/libplayer/Config.in new file +10
-0@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBPLAYER + depends on BR2_LARGEFILE + bool "libplayer" + help + libplayer provides a generic A/V API that relies on various multimedia + player for Linux systems. It currently supports MPlayer, xine VLC and + GStreamer only + + http://libplayer.geexbox.org/ +
package/multimedia/libplayer/Config.in line 20
Quoted 10 lines
package/multimedia/libplayer/Config.in new file +10
-0+comment "Libplayer requires a toolchain with LARGEFILE support" + depends on !BR2_LARGEFILE + +config BR2_PACKAGE_LIBPLAYER_MPLAYER + depends on BR2_PACKAGE_MPLAYER + bool "Libplayer mplayer backend" + +config BR2_PACKAGE_LIBPLAYER_GSTREAMER + depends on BR2_PACKAGE_GSTREAMER + bool "Libplayer GStreamer backend"
What happens if we select none of those backends ?
package/multimedia/libplayer/Config.in
Quoted 5 lines
package/multimedia/libplayer/Config.in new file +5
-0+define LIBPLAYER_CONFIGURE_CMDS + (cd $(@D) && rm -rf config.cache && \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + $(LIBPLAYER_CONF_ENV) \
LIBPLAYER_CONF_ENV is not defined anywhere.
package/multimedia/libplayer/Config.in
Quoted 6 lines
package/multimedia/libplayer/Config.in new file +6
-0+ ./configure \ + --prefix=/usr \ + --cross-compile \ + $(SHARED_STATIC_LIBS_OPTS) \ + $(QUIET) $(LIBPLAYER_CONF_OPT) \ + )
This looks like a normal ./configure invocation. Why don't you use the default foo_CONFIGURE_CMDS provided by the autotargets infrastructure ?
Quoted 1 line
+ifeq ($(BR2_PACKAGE_LIBPLAYER_PYTHON),y)
This option is not defined in your Config.in.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 4/4 Add the libplayer package
Hi,
Le 30/09/2011 21:44, Thomas Petazzoni a ?crit :
Quoted 11 lines
Le Wed, 28 Sep 2011 13:48:34 +0200,
Maxime Ripard<[email protected]> a ?crit :package/multimedia/libplayer/Config.in line 20
Quoted 7 lines
package/multimedia/libplayer/Config.in new file +7
-0+config BR2_PACKAGE_LIBPLAYER_MPLAYER + depends on BR2_PACKAGE_MPLAYER + bool "Libplayer mplayer backend" + +config BR2_PACKAGE_LIBPLAYER_GSTREAMER + depends on BR2_PACKAGE_GSTREAMER + bool "Libplayer GStreamer backend"What happens if we select none of those backends ?
Hmmm, good question. I'll check.
Quoted 7 lines
package/multimedia/libplayer/libplayer.mk line 14
Quoted 5 lines
package/multimedia/libplayer/libplayer.mk new file +5
-0+define LIBPLAYER_CONFIGURE_CMDS + (cd $(@D)&& rm -rf config.cache&& \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + $(LIBPLAYER_CONF_ENV) \
LIBPLAYER_CONF_ENVis not defined anywhere.
Ah, you're right, I missed that one.
Quoted 10 lines
package/multimedia/libplayer/libplayer.mk line 20
Quoted 7 lines
package/multimedia/libplayer/libplayer.mk new file +6
-0+ ./configure \ + --prefix=/usr \ + --cross-compile \ + $(SHARED_STATIC_LIBS_OPTS) \ + $(QUIET) $(LIBPLAYER_CONF_OPT) \ + )This looks like a normal ./configure invocation. Why don't you use the default
foo_CONFIGURE_CMDSprovided by the autotargets infrastructure ?
The configure script breaks if we pass --target or --host, I did this to avoid it.
Quoted 3 lines
Quoted 1 line
+ifeq ($(BR2_PACKAGE_LIBPLAYER_PYTHON),y)
This option is not defined in your Config.in.
Ah, yup.
I'll resend the whole patchset once it will be updated.
Maxime
PATCH 4/4 Add the libplayer package
Le Fri, 30 Sep 2011 23:48:22 +0200,
Maxime Ripard <[email protected]> a ?crit :
Quoted 5 lines
Quoted 2 lines
This looks like a normal ./configure invocation. Why don't you use the default
foo_CONFIGURE_CMDSprovided by the autotargets infrastructure ?The configure script breaks if we pass --target or --host, I did this to avoid it.
Hum, ok. Then a comment on top of the LIBPLAYER_CONFIGURE_CMDS would be good.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com