Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 5/7] gtkperf: Create 0.40 version
Date: Tue, 11 Mar 2014 15:14:26 +0100	[thread overview]
Message-ID: <20140311141426.GB2137@jama> (raw)
In-Reply-To: <1394227575-27897-5-git-send-email-lauren.post@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 3535 bytes --]

On Fri, Mar 07, 2014 at 03:26:13PM -0600, Lauren Post wrote:
> gtkperf is a GTK Performance tool
> 
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> ---
>  meta-oe/recipes-graphics/gtkperf/gtkperf/Makevars |   25 ++++++++++++++++++++
>  meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb  |   26 +++++++++++++++++++++
>  2 files changed, 51 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/gtkperf/gtkperf/Makevars
>  create mode 100644 meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
> 
> diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf/Makevars b/meta-oe/recipes-graphics/gtkperf/gtkperf/Makevars
> new file mode 100644
> index 0000000..8b09f53
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/gtkperf/gtkperf/Makevars
> @@ -0,0 +1,25 @@
> +# Makefile variables for PO directory in any package using GNU gettext.
> +
> +# Usually the message domain is the same as the package name.
> +DOMAIN = $(PACKAGE)
> +
> +# These two variables depend on the location of this directory.
> +subdir = po
> +top_builddir = ..
> +
> +# These options get passed to xgettext.
> +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
> +
> +# This is the copyright holder that gets inserted into the header of the
> +# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
> +# package.  (Note that the msgstr strings, extracted from the package's
> +# sources, belong to the copyright holder of the package.)  Translators are
> +# expected to transfer the copyright for their translations to this person
> +# or entity, or to disclaim their copyright.  The empty string stands for
> +# the public domain; in this case the translators are expected to disclaim
> +# their copyright.
> +COPYRIGHT_HOLDER = Free Software Foundation, Inc.
> +
> +# This is the list of locale categories, beyond LC_MESSAGES, for which the
> +# message catalogs shall be used.  It is usually empty.
> +EXTRA_LOCALE_CATEGORIES =
> diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
> new file mode 100644
> index 0000000..7e97a11
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
> @@ -0,0 +1,26 @@
> +SUMMARY = "GTK Performance tool"
> +DESCRIPTION = "GTK Performance tools"

Don't duplicate SUMMARY (extra 's' doesn't count)

> +SECTION = "libs"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +SRC_URI = "http://prdownloads.sourceforge.net/gtkperf/gtkperf_${PV}.tar.gz \

gtkperf -> ${BPN}

> +           file://Makevars"
> +
> +SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
> +SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"
> +
> +S = "${WORKDIR}/gtkperf"

gtkperf -> ${BPN}

> +
> +inherit autotools binconfig pkgconfig gettext
> +
> +do_configure_prepend () {
> +	rm -f ${S}/m4/init.m4
> +	cp -f ${WORKDIR}/Makevars ${S}/po/

Please use consistent indentation: tab -> 4 spaces

> +}
> +
> +do_install_append () {
> +     rm -rf ${WORKDIR}/image/usr/doc

Please use consistent indentation: 5 spaces -> 4 spaces

${WORKDIR}/image -> ${D}

> +}
> +
> +FILES_${PN} += "${exec_prefix}/share/duck.png"

${exec_prefix}/share -> ${datadir}

I've made above modifications when cherry-picking from patchwork to
master-next, so don't send v2 (unless you need to change something else
as well)

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2014-03-11 14:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lauren.post@freescale.com>
2014-03-07 21:26 ` [meta-oe][PATCH 1/7] linuxptp: Create 1.4 version Lauren Post
2014-03-07 21:26   ` [meta-oe][PATCH 2/7] obexftp: Create 0.23 version Lauren Post
2014-03-07 21:26   ` [meta-oe][PATCH 3/7] can-utils: Create git version Lauren Post
2014-03-11 14:08     ` Martin Jansa
2014-03-11 14:26       ` Otavio Salvador
2014-03-07 21:26   ` [meta-oe][PATCH 4/7] glcompbench: Create 2012.08 version Lauren Post
2014-03-11 15:51     ` Martin Jansa
2014-03-07 21:26   ` [meta-oe][PATCH 5/7] gtkperf: Create 0.40 version Lauren Post
2014-03-11 14:14     ` Martin Jansa [this message]
2014-03-07 21:26   ` [meta-oe][PATCH 6/7] vlan: Create 1.9 version Lauren Post
2014-03-11 14:17     ` Martin Jansa
2014-03-17 16:26       ` Otavio Salvador
2014-03-17 17:24         ` Martin Jansa
2014-03-07 21:26   ` [meta-oe][PATCH 7/7] openobex: Remove --enable-dump to disable dumping Lauren Post
2014-03-28 18:00   ` [meta-oe][PATCH 1/7] linuxptp: Create 1.4 version Denys Dmytriyenko
2014-03-29 18:40     ` Otavio Salvador
2014-03-29 21:08       ` Denys Dmytriyenko
2014-06-27 17:13 ` [meta-oe][PATCH v3] cpuburn-neon: Upgrade to version 20140626 Lauren Post
2014-07-15 18:27   ` Otavio Salvador
2014-07-15 19:06     ` Martin Jansa

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=20140311141426.GB2137@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox