All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Gherzan <andrei@gherzan.ro>
To: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH 1/4] omxplayer: Update to HEAD and tweak SUMMARY and DESCRIPTION
Date: Sun, 19 Jan 2014 19:24:10 +0200	[thread overview]
Message-ID: <20140119172410.GA5660@gmail.com> (raw)
In-Reply-To: <1389970274-26349-1-git-send-email-andrei@gherzan.ro>

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


      parent reply	other threads:[~2014-01-19 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Andrei Gherzan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140119172410.GA5660@gmail.com \
    --to=andrei@gherzan.ro \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.