summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common
Commit message (Collapse)AuthorAgeFilesLines
* xserver-nodm-init: Use useradd to add the xuser for rootless XSaul Wold2012-01-301-18/+10
| | | | | | | | | | | | | | This also address an issue with dbus and connman, since connmand needs to start as the xuser in the rootless X situation. Fixes: [YOCTO #1699] (From OE-Core rev: 6823a32035de5d0bcd82a3b41a6ad536aaddbc58) (From OE-Core rev: 26573a84583793f64979100c2b89a95146d38dd1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: Change hidraw mode to allow normal user accessZhai Edwin2011-09-071-0/+4
| | | | | | | | | | USB HID like touch screen could be presented as hidraw* device, this change make user under rootless X can access them. (From OE-Core rev: ddb54d4a467b51f5f8f305f532bd5ea64df92876) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm: Disable dbus-wait as it causes users too much confusionRichard Purdie2011-08-312-3/+4
| | | | | | | | | | | | In the event the xserver fails to start the dbus-wait has to time out and this causes many users a lot of confusion. If we wish to reinstate this, we need to find a safer mechanism to do it where X failing to start cancels the timeout (sends a dbus event at that point?) The comments are left in the file as an example in case some user does wish to enable is. (From OE-Core rev: 0471b17b061e57231387ef90c95fc0c34fc0e66b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: Fix X start failure on some platformZhai Edwin2011-08-041-4/+2
| | | | | | | | | | | | | | sudo is used to run rootless X in xserver-nodm, and start to fail with "xf86OpenConsole: Cannot open /dev/tty0" error after upgrade to 1.8.1. sudo seems wait for some resource that is unavailable in early phase of booting. This patch swith to "su" for rootless X starting as a fix. [YOCTO #1211] got fixed (From OE-Core rev: cb935833a128d67e6c1fbe745cf68a58df6470d1) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie2011-05-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. (From OE-Core rev: 26e5e5feb695864b11e47e24017e254c28f14494) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11-common: fix dbus-launch RDEPENDSKoen Kooi2011-05-271-2/+2
| | | | | | | | | /usr/bin/dbus-launch is in the dbus-x11 packages, the dbus-launch package doesn't exist (From OE-Core rev: 69763109038fc4a29720d9ff692f2001722862ce) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11-common 0.1: add runtime dep on dbus-x11Koen Kooi2011-05-261-4/+5
| | | | | | | | | | | dbus-launch moved into the dbus-x11 packages, so we need to drag it in. Also reorder fields to better fit with the styleguide (From OE-Core rev: 5457a4ddefac2262067172d0db5c7d646aacb5c0) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add Upstream-Status for multiple recipesYu Ke2011-05-132-0/+4
| | | | | | | | | | | | | | | | iputils: update patch Upstream-Status mktemp: update patch Upstream-Status xinetd: update Upstream-Status libdrm: update patch Upstream-Status qemugl: update patch Upstream-Status x11-common: update patch Upstream-Status xorg-app: update patch Upstream-Status xorg-driver: update patch Upstream-Status (From OE-Core rev: 6c49b8e881bc811386c5f1ebac95829d44ad9bb3) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: Mark as machine specific after recent rootless X changesRichard Purdie2011-03-191-1/+1
| | | | | | | | | | Fix summplied by ke.yu@intel.com [YOCTO #906] (From OE-Core rev: f0afe5827570eff5442d2f9a9846b4098e5c3333) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: add xuser to group audioDongxiao Xu2011-03-151-2/+3
| | | | | | | | | | | | add rootless X user to group audio to access /dev/snd/* Fixes [YOCTO #799] CC: Ke Yu <ke.yu@intel.com> (From OE-Core rev: 4df75586c0f5447670fe945285c7ad01c5e1f37f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: add rootless-x supportYu Ke2011-02-233-1/+26
| | | | | | | | | | | | most rootless X work are already done in the kernel, xserver and graphics driver, this patches add the the remaining userspace setting: - create /etc/X11/Xusername to set rootless X user - add rootless X user to group video, tty to access /dev/tty[0-4] and /dev/dri/card0 - grant rootless X user access right to /dev/input/*, /var/log Signed-off-by: Yu Ke <ke.yu@intel.com>
* recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONSMark Hatle2011-02-031-1/+1
| | | | | | | | | | | | | Add more detailed SUMMARY and DESCRIPTIONS to various graphics and graphics related components. I've recently gotten question from users what something is, or why it was needed.. this should go a long way toward answering those questions. Many of the descriptions were taken directly from the upstream location, where one was not available the Debian packages were consulted for information. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* x11-common: Fix unusable serial consoleWolfgang Denk2011-01-282-2/+2
| | | | | | | | | | | | | | | | | | The serial console port is basicly unusable in images containing X. Login works fine, but at the shell prompt only one out of N input characters (N usually between 2 and 10) gets through to the shell. dbus-launch (running as "dbus-launch --sh-syntax --exit-with-session") is also reading from /dev/console and "eating" the missing characters. As soon as I stop the Xserver ("sh /etc/init.d/xserver-nodm stop") the serial console starts wroking fine (because dbus-launch is not running any more). This patch addresses the problem. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: add license checksumYu Ke2010-12-092-3/+359
| | | | Signed-off-by: Yu Ke <ke.yu@intel.com>
* x11-common: add license checksumYu Ke2010-12-092-2/+358
| | | | | | | it is local file recipe and no GPLv2 license file, so add a patch to add GPLv2 license file Signed-off-by: Yu Ke <ke.yu@intel.com>
* x11-common: correct the syntax for the -mouse arg to XfbdevRichard Griffiths2010-10-041-1/+1
| | | | | | | | | | | Fixes [BUGID #99] The mouse option as passed to Xfbdev was correct for most targets, except mips (and a PS/2 mouse). Modifying the syntax of the option fixes the mips case, and has no impact on other users. Signed-off-by: Richard Griffiths <rgriffit@windriver.com>
* Major layout change to the packages directoryRichard Purdie2010-08-2710-0/+493
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>