Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 01/16] qt4-graphics-system: add
Date: Mon, 02 Jan 2012 10:23:09 -0800	[thread overview]
Message-ID: <4F01F60D.4000304@linux.intel.com> (raw)
In-Reply-To: <fde24903e4f56091470e1e7f2fc00a63a8b86f22.1325101673.git.otavio@ossystems.com.br>

On 12/28/2011 11:55 AM, Otavio Salvador wrote:
> Allow setting default runtime graphics system engine for Qt4
> applications per machine.
>



> Depending on the GPU and Xorg driver, this can boost and impact
> significantly the drawing performance. The default setting is to
> 'raster' as this offer best performance for most machines GPUs.
>
> Signed-off-by: Otavio Salvador<otavio@ossystems.com.br>
> ---
>   .../qt4-graphics-system/qt4-graphics-system_1.0.bb |   24 ++++++++++++++++++++
>   1 files changed, 24 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
>
> diff --git a/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb b/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
> new file mode 100644
> index 0000000..e3a3a1d
> --- /dev/null
> +++ b/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "Set default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}"
> +SECTION = "x11/base"
> +LICENSE = "MIT-X"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +QT_GRAPHICS_SYSTEM ?= "raster"
> +
> +def _get_extra_rdepends(d):
> +    gs = d.getVar('QT_GRAPHICS_SYSTEM', 1)
> +    if gs == "opengl":
> +        return "qt4-plugin-graphicssystems-glgraphicssystem"
> +
> +    return ""
> +
> +do_install () {
> +	install -d ${D}/${sysconfdir}/X11/Xsession.d/
> +	cfg_file=${D}/${sysconfdir}/X11/Xsession.d/85xqt-graphicssystem
> +	echo "export QT_GRAPHICSSYSTEM=${QT_GRAPHICS_SYSTEM}">  $cfg_file
> +	chmod +x $cfg_file
> +}
> +
> +RDEPENDS_${PN} = "xserver-common ${@_get_extra_rdepends(d)}"
> +
We don't have an xserver-common in oe-core, what does it provide?

Is this something that we need to merge over?

Sau!

> +PACKAGE_ARCH = "${MACHINE_ARCH}"



  reply	other threads:[~2012-01-02 18:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28 19:55 [PATCH 00/16] Misc Qt4 and udev changes pending from O.S. Systems Otavio Salvador
2011-12-28 19:55 ` [PATCH 01/16] qt4-graphics-system: add Otavio Salvador
2012-01-02 18:23   ` Saul Wold [this message]
2012-01-02 18:38     ` Martin Jansa
2012-01-04  0:49       ` Otavio Salvador
2011-12-28 19:55 ` [PATCH 02/16] qt4e.bbclass: add QT_BASE_NAME for use in recipes Otavio Salvador
2011-12-28 19:55 ` [PATCH 03/16] qt4x11.bbclass: " Otavio Salvador
2011-12-28 19:55 ` [PATCH 04/16] qt4-embedded.inc: use QT_BASE_NAME from qt4e.bbclass Otavio Salvador
2011-12-28 19:55 ` [PATCH 05/16] qt4-x11-free.inc: use QT_BASE_NAME from qt4x11.bbclass Otavio Salvador
2011-12-28 19:55 ` [PATCH 06/16] udev: drop 145 version Otavio Salvador
2011-12-28 19:55 ` [PATCH 07/16] udev-extraconf: move mount.blacklist to udev-extraconf dir Otavio Salvador
2011-12-28 19:55 ` [PATCH 08/16] udev: reorganize files of 164 version Otavio Salvador
2011-12-28 19:55 ` [PATCH 09/16] udev: use tabs for init script (no code changes) Otavio Salvador
2011-12-28 19:55 ` [PATCH 10/16] udev: skip mounting /dev on tmpfs if it is on devtmpfs Otavio Salvador
2011-12-28 19:55 ` [PATCH 11/16] udev: ensure /dev/pts and /dev/shm does exists Otavio Salvador
2012-01-04 17:12   ` Richard Purdie
2012-01-05 16:59     ` Otavio Salvador
2011-12-28 19:55 ` [PATCH 12/16] udev: improve udev-cache robustness Otavio Salvador
2012-01-04 17:14   ` Richard Purdie
2012-01-05 17:06     ` Otavio Salvador
2011-12-28 19:55 ` [PATCH 13/16] udev: use 'echo' instead of 'echo -n' in init script Otavio Salvador
2011-12-28 19:55 ` [PATCH 14/16] udev: run depmod if modules.dep doesn't exist Otavio Salvador
2012-01-04 17:15   ` Richard Purdie
2012-01-04 18:51     ` Koen Kooi
2012-01-04 23:04       ` Richard Purdie
2011-12-28 19:55 ` [PATCH 15/16] udev: split utilities onto udev-utils Otavio Salvador
2011-12-28 19:55 ` [PATCH 16/16] udev: remove commented code from init script (no code changes) Otavio Salvador
2012-01-04  0:24 ` [PATCH 00/16] Misc Qt4 and udev changes pending from O.S. Systems Saul Wold
2012-01-05 20:25   ` Saul Wold

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=4F01F60D.4000304@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@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