* [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION
@ 2014-01-17 14:51 Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 2/4] packagegroup-rpi-test: Add test packagegroup Andrei Gherzan
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-01-17 14:51 UTC (permalink / raw)
To: yocto
* Update to current git HEAD commit which includes fix for boost 1.55.
* Replace tabs by spaces
* Tweak SUMMARY and DESCRIPTION
* Add bash to PN RDEPENDS as omxplayer is actually a bash script.
* omxplayer is a bash script - add RDEPENDS and fix mktemp inside
Change-Id: I5c8a4cf1005ba49f9b01821e3f832d1da49869bc
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
.../omxplayer/mktemp-compatible-with-busybox.patch | 23 ++++++++++++++++
recipes-multimedia/omxplayer/omxplayer_git.bb | 31 ++++++++++++----------
2 files changed, 40 insertions(+), 14 deletions(-)
create mode 100644 recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
diff --git a/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
new file mode 100644
index 0000000..4e43c7d
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
@@ -0,0 +1,23 @@
+Busybox has a restriction in temp file name. From documentation:
+Create a temporary file with name based on TEMPLATE and print its name.
+TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).
+
+Use 6 x 'X' to be busybox compatible too.
+
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+
+Index: git/omxplayer
+===================================================================
+--- git.orig/omxplayer
++++ git/omxplayer
+@@ -43,8 +43,8 @@ if [ -z $NOREFRESH ] || [ "$NOREFRESH" =
+ fi
+ fi
+
+-OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXX`
+-OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXX`
++OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXXX`
++OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXXX`
+
+ exec 5> $OMXPLAYER_DBUS_ADDR
+ exec 6> $OMXPLAYER_DBUS_PID
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index c77f858..8d444fd 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -1,20 +1,21 @@
-DESCRIPTION = "OMXPlayer is a commandline OMX player for the Raspberry Pi"
+SUMMARY = "A commandline OMX player for the Raspberry Pi"
+DESCRIPTION = "This player was developed as a testbed for the XBMC \
+Raspberry PI implementation and is quite handy to use standalone"
HOMEPAGE = "https://github.com/popcornmix/omxplayer"
SECTION = "console/utils"
-LICENSE = "GPLv2"
+LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "libpcre libav virtual/egl boost freetype dbus"
+PR = "r2"
-PR = "r1"
-
-SRCREV = "c0dd9502ed2c43c487674939195c69680f3d98b0"
-
+SRCREV = "74f4be222be05d3ea50be9f5a70846f7c0e9df6e"
SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
- file://0003-Remove-strip-step-in-Makefile.patch"
+ file://0003-Remove-strip-step-in-Makefile.patch \
+ file://mktemp-compatible-with-busybox.patch"
S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "raspberrypi"
@@ -46,17 +47,17 @@ export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \
export DIST = "${D}"
do_compile() {
- # Needed for compiler test in ffmpeg's configure
- mkdir -p tmp
+ # Needed for compiler test in ffmpeg's configure
+ mkdir -p tmp
- oe_runmake ffmpeg
- oe_runmake
+ oe_runmake ffmpeg
+ oe_runmake
}
do_install() {
- oe_runmake dist
- mkdir -p ${D}/usr/share/fonts/truetype/freefont/
- install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
+ oe_runmake dist
+ mkdir -p ${D}/usr/share/fonts/truetype/freefont/
+ install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
}
FILES_${PN} = "${bindir}/omxplayer* \
@@ -64,3 +65,5 @@ FILES_${PN} = "${bindir}/omxplayer* \
/usr/share/fonts"
FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
+
+RDEPENDS_${PN} += "bash"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [meta-raspberrypi][PATCH 2/4] packagegroup-rpi-test: Add test packagegroup
2014-01-17 14:51 [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
@ 2014-01-17 14:51 ` Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 3/4] rpi-test-image: Add test image Andrei Gherzan
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-01-17 14:51 UTC (permalink / raw)
To: yocto
Change-Id: I74f7c0d33d5f9692a427587bf0f8ef9980ebfcd3
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
recipes-core/packagegroups/packagegroup-rpi-test.bb | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 recipes-core/packagegroups/packagegroup-rpi-test.bb
diff --git a/recipes-core/packagegroups/packagegroup-rpi-test.bb b/recipes-core/packagegroups/packagegroup-rpi-test.bb
new file mode 100644
index 0000000..3f1866a
--- /dev/null
+++ b/recipes-core/packagegroups/packagegroup-rpi-test.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "RaspberryPi Test Packagegroup"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+ omxplayer \
+ bcm2835 \
+ wiringpi \
+"
+
+RRECOMMENDS_${PN} = "\
+ bigbuckbunny-1080p \
+ bigbuckbunny-480p \
+ bigbuckbunny-720p \
+"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [meta-raspberrypi][PATCH 3/4] rpi-test-image: Add test image
2014-01-17 14:51 [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 2/4] packagegroup-rpi-test: Add test packagegroup Andrei Gherzan
@ 2014-01-17 14:51 ` Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 4/4] README: Cleanup and add info about images Andrei Gherzan
2014-01-19 17:24 ` [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
3 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-01-17 14:51 UTC (permalink / raw)
To: yocto
Change-Id: Iff4f58b43d1dcf5ea4f866b565542807345d6066
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
recipes-core/images/rpi-test-image.bb | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 recipes-core/images/rpi-test-image.bb
diff --git a/recipes-core/images/rpi-test-image.bb b/recipes-core/images/rpi-test-image.bb
new file mode 100644
index 0000000..b5602a6
--- /dev/null
+++ b/recipes-core/images/rpi-test-image.bb
@@ -0,0 +1,4 @@
+# Base this image on rpi-basic-image
+include rpi-basic-image.bb
+
+IMAGE_INSTALL_append = " packagegroup-rpi-test"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-raspberrypi][PATCH 4/4] README: Cleanup and add info about images
2014-01-17 14:51 [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 2/4] packagegroup-rpi-test: Add test packagegroup Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 3/4] rpi-test-image: Add test image Andrei Gherzan
@ 2014-01-17 14:51 ` Andrei Gherzan
2014-01-19 17:24 ` [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
3 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-01-17 14:51 UTC (permalink / raw)
To: yocto
Change-Id: I904de647fdd5514d361d33e887fd68977cde7e8c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
README | 58 +++++++++++++++++++++-------------------------------------
1 file changed, 21 insertions(+), 37 deletions(-)
diff --git a/README b/README
index c4be792..474c5f3 100644
--- a/README
+++ b/README
@@ -27,13 +27,15 @@
Contents:
=========
-1. OpenEmbedded BSP Layer - RaspberryPi
+1. Description
2. Yocto BSP Layer - RaspberryPi
2.A. Compressed deployed files
2.B. GPU memory
2.C. Add purchased license codecs
2.D. Disable overscan
2.E. Set overclocking options
+ 2.F. Optional - Video camera support with V4L2 drivers
+ 2.G. Images
3. Extra apps
3.A. omxplayer
4. Source code and mirrors
@@ -44,54 +46,20 @@ Contents:
6. Maintainers
-
-1. OpenEmbedded BSP Layer - RaspberryPi
-=======================================
+1. Description
+==============
This is the general hardware specific BSP overlay for the RaspberryPi device.
-It should be used with openembedded-core (not old-style org.openembedded.dev).
More information can be found at:
-
http://www.raspberrypi.org/ (Official Site)
- http://www.distant-earth.com/ (My Site)
-
-Build scripts patched to support making a firmware image for the RaspberryPi
-with Angstrom can be found at:
-
- http://github.com/Angstrom-distribution/setup-scripts
-
-When not depending on meta-openembedded and not using systemd, you may need to
-mask few recipes requiring systemd or other recipes not included in your
-distribution of choice.
-
-You can achieve this by adding something like the following to local.conf:
-
-BBMASK = "meta-raspberrypi/recipes-multimedia/libav|\
-meta-raspberrypi/recipes-core/systemd"
-
-You can adjust the BBMASK for any .bbappends that your distribution does not
-contain recipes for.
The core BSP part of meta-raspberrypi should work with different
OpenEmbedded/Yocto distributions and layer stacks, such as:
-
* Distro-less (only with OE-Core).
* Angstrom (main focus of testing).
* Yocto/Poky.
-This layer in its entirety depends on:
-
-URI: git://git.openembedded.org/openembedded-core
-branch: master
-revision: HEAD
-
-URI: git://git.openembedded.org/meta-openembedded
-branch: master
-revision: HEAD
-
-
-
2. Yocto BSP Layer - RaspberryPi
================================
@@ -101,6 +69,11 @@ URI: git://git.yoctoproject.org/poky
branch: master
revision: HEAD
+URI: git://github.com/openembedded/meta-oe.git
+layers: meta-multimedia
+branch: master
+revision: HEAD
+
How to use it:
1. source poky/oe-init-build-env rpi-build
@@ -159,9 +132,20 @@ SDRAM_FREQ = "500"
OVER_VOLTAGE = "6"
2.F. Optional - Video camera support with V4L2 drivers
+======================================================
Set this variable to enable support for the video camera (Linux 3.12.4+ required)
VIDEO_CAMERA = "1"
+2.G. Images
+===========
+* rpi-hwup-image
+ Hardware up image
+* rpi-basic-image
+ Based on rpi-hwup-image with some added features (ex: splash)
+* rpi-test-image
+ Image based on rpi-basic-image which includes most of the packages in this
+ layer and some media samples.
+
3. Extra apps
=============
--
1.8.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION
2014-01-17 14:51 [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
` (2 preceding siblings ...)
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 4/4] README: Cleanup and add info about images Andrei Gherzan
@ 2014-01-19 17:24 ` Andrei Gherzan
3 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2014-01-19 17:24 UTC (permalink / raw)
To: yocto
On Fri, Jan 17, 2014 at 04:51:11PM +0200, Andrei Gherzan wrote:
> * Update to current git HEAD commit which includes fix for boost 1.55.
> * Replace tabs by spaces
> * Tweak SUMMARY and DESCRIPTION
> * Add bash to PN RDEPENDS as omxplayer is actually a bash script.
> * omxplayer is a bash script - add RDEPENDS and fix mktemp inside
>
> Change-Id: I5c8a4cf1005ba49f9b01821e3f832d1da49869bc
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
> .../omxplayer/mktemp-compatible-with-busybox.patch | 23 ++++++++++++++++
> recipes-multimedia/omxplayer/omxplayer_git.bb | 31 ++++++++++++----------
> 2 files changed, 40 insertions(+), 14 deletions(-)
> create mode 100644 recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
>
> diff --git a/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
> new file mode 100644
> index 0000000..4e43c7d
> --- /dev/null
> +++ b/recipes-multimedia/omxplayer/omxplayer/mktemp-compatible-with-busybox.patch
> @@ -0,0 +1,23 @@
> +Busybox has a restriction in temp file name. From documentation:
> +Create a temporary file with name based on TEMPLATE and print its name.
> +TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).
> +
> +Use 6 x 'X' to be busybox compatible too.
> +
> +Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> +
> +Index: git/omxplayer
> +===================================================================
> +--- git.orig/omxplayer
> ++++ git/omxplayer
> +@@ -43,8 +43,8 @@ if [ -z $NOREFRESH ] || [ "$NOREFRESH" =
> + fi
> + fi
> +
> +-OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXX`
> +-OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXX`
> ++OMXPLAYER_DBUS_ADDR=`mktemp -t omxplayer-XXXXXX`
> ++OMXPLAYER_DBUS_PID=`mktemp -t omxplayer-XXXXXX`
> +
> + exec 5> $OMXPLAYER_DBUS_ADDR
> + exec 6> $OMXPLAYER_DBUS_PID
> diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
> index c77f858..8d444fd 100644
> --- a/recipes-multimedia/omxplayer/omxplayer_git.bb
> +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
> @@ -1,20 +1,21 @@
> -DESCRIPTION = "OMXPlayer is a commandline OMX player for the Raspberry Pi"
> +SUMMARY = "A commandline OMX player for the Raspberry Pi"
> +DESCRIPTION = "This player was developed as a testbed for the XBMC \
> +Raspberry PI implementation and is quite handy to use standalone"
> HOMEPAGE = "https://github.com/popcornmix/omxplayer"
> SECTION = "console/utils"
> -LICENSE = "GPLv2"
>
> +LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>
> DEPENDS = "libpcre libav virtual/egl boost freetype dbus"
> +PR = "r2"
>
> -PR = "r1"
> -
> -SRCREV = "c0dd9502ed2c43c487674939195c69680f3d98b0"
> -
> +SRCREV = "74f4be222be05d3ea50be9f5a70846f7c0e9df6e"
> SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
> file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
> file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
> - file://0003-Remove-strip-step-in-Makefile.patch"
> + file://0003-Remove-strip-step-in-Makefile.patch \
> + file://mktemp-compatible-with-busybox.patch"
> S = "${WORKDIR}/git"
>
> COMPATIBLE_MACHINE = "raspberrypi"
> @@ -46,17 +47,17 @@ export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \
> export DIST = "${D}"
>
> do_compile() {
> - # Needed for compiler test in ffmpeg's configure
> - mkdir -p tmp
> + # Needed for compiler test in ffmpeg's configure
> + mkdir -p tmp
>
> - oe_runmake ffmpeg
> - oe_runmake
> + oe_runmake ffmpeg
> + oe_runmake
> }
>
> do_install() {
> - oe_runmake dist
> - mkdir -p ${D}/usr/share/fonts/truetype/freefont/
> - install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
> + oe_runmake dist
> + mkdir -p ${D}/usr/share/fonts/truetype/freefont/
> + install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
> }
>
> FILES_${PN} = "${bindir}/omxplayer* \
> @@ -64,3 +65,5 @@ FILES_${PN} = "${bindir}/omxplayer* \
> /usr/share/fonts"
>
> FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
> +
> +RDEPENDS_${PN} += "bash"
> --
> 1.8.1.4
>
Merged the series.
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-19 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 14:51 [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 2/4] packagegroup-rpi-test: Add test packagegroup Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 3/4] rpi-test-image: Add test image Andrei Gherzan
2014-01-17 14:51 ` [meta-raspberrypi][PATCH 4/4] README: Cleanup and add info about images Andrei Gherzan
2014-01-19 17:24 ` [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.