14 Commits

Author SHA1 Message Date
Martin Jansa f96d27193f xserver-common: Rename Xsession.d files to end with .sh extension
* oe-core version of xinput-calibrator installs
  30xinput_calibrate.sh and ls -X used in Xsession script sorts it as
  last (not respecting the numbers) and xinput-calibrator is executed
  too late (after 90xXWindowManager)
* don't forget to update all your components installing Xsession.d
  files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-30 16:46:51 +01:00
Martin Jansa 8efa63e1a8 xserver-common: start Xsession when starting Xserver
* since this commit
  commit 305038f932
  Author: Jonathan Liu <net147@gmail.com>
  Date:   Wed Jun 12 08:30:15 2013 +0000
    xserver-nodm-init: do not execute Xsession twice

  xserver-nodm-init wasn't working correctly when it was used together
  with xserver-common which doesn't start Xsession from Xserver (unlike
  x11-common in oe-core).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:28:53 +01:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa f1b3d559f7 xserver-common: add support for tuna
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 10:02:47 +02:00
Denis Carikli e19f6ed0b2 xserver-common 1.34: sync /etc/X11/Xsession.d/90xXWindowManager with x11-common(oe-core)
Without that fix environments like sato cannot start because
  they require x-session-manager to be started instead of
  x-window-manager.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-09 15:35:36 +02:00
Otavio Salvador 1c2e52a30e xserver-common: drop xinput-calibrator call as it is done by xdg now
The new xinput-calibrator package provides a xdg file that handles
this logic so drop it from session.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-04-25 13:58:56 +02:00
Martin Jansa bc0243c2a2 xserver-common: use git patches and add functions file
* otherwise we were depending on initscripts to provide it without RDEPENDing on it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-13 10:50:16 +02:00
Klaus Kurzmann e4aee60b23 xserver-common_1.34: patch Xserver to add support for gta04
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 08:54:41 +01:00
GNUtoo 4b40111d74 xserver-common 1.34: Add Nexus One support
Since we only use Xorg(and not kdrive) on the nexus one,
  only Xorg support was included.

The DPI value was taken from:
  http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-12 13:02:55 +02:00
Denis 'GNUtoo' Carikli e2aecd230e xserver-common 1.34: Add Nexus S support
Since we only use Xorg(and not kdrive) on the nexus S,
only Xorg support was included.

The DPI value was taken from:
http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-12 13:02:55 +02:00
Martin Jansa ea8d7d2d14 recipes: use allarch.bbclass instead just PACKAGE_ARCH = all
* otherwise such recipes are rebuilt or reused from sstate after every
  MACHINE change, because of different checksums see [YOCTO #1075]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-06-02 10:04:54 +02:00
Koen Kooi 09c8584833 xserver-common 1.34: make it work with xserver-nodm-init
* Move SHR patches to main SRC_URI, they are generic and good enough for everyone
* Start x-window-manager
* Run through oe-stylize
* Remove duplicated LICENSE
* Add reconflicts with x11-common as well

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-21 12:10:27 +02:00
Martin Jansa f09b3426b3 xserver-common: add fbset to RDEPENDS
* used by xserver-common script to find out geometry

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-18 12:28:52 +02:00
Martin Jansa 89500c583e recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
2011-04-10 14:43:41 +02:00