20 Commits

Author SHA1 Message Date
Martin Jansa 4f3cabc874 xinput-calibrator: install .service only with systemd in DISTRO_FEATURES
* Otavio reported unpackaged files without systemd enabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:28 +02: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 f2b3287cc1 xinput-calibrator: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Mario Domenech Goulart 10cd81211f xinput-calibrator: remove hardcoded path from xinput_calibrator.desktop
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-05 14:04:43 +01:00
Mario Domenech Goulart 3cd0866c28 xinput-calibrator: update to 2012 Aug 2nd's git snapshot
Change-Id: I16dedd2623cc6230fccbe9765592d29dcdb2aa72
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:46:34 +01:00
Andreas Müller 34fe984fc6 xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Martin Jansa 21b85f3426 recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used without PN* suffix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:52 +02:00
Koen Kooi bab6476691 xinput-calibrator 0.7.5: add xterm to RDEPENDS, the menu item doesn't work without it
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-05 09:00:20 +02:00
Koen Kooi 67a2bd88ab xinput-calibrator 0.7.5: run xinput_calibrator_once.sh using XDG autostart mechanism
This runs when the session starts so after the DM. Not a great solution, but at least it will popup a calibration dialog automatically and restore calibration on subsequent sessions.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-11 18:20:46 +02:00
Martin Jansa be2ae063d1 xinput-calibrator: add systemd service
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-03-29 16:14:38 +02:00
Koen Kooi dd44dc50ad xinput-calibrator 0.7.5: fix calibration script
The 'auto' format switched to 'xorg.conf.d' which broke the script. The pointercal package also installed an 'empty' pointercal by default, which also broke the script. Fix these 2 in one go.

Also remove the hal script since hal isn't supported in the oe-core universe anymore

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-28 15:49:59 +01:00
Martin Jansa f40021a4ec xinput-calibrator: disable gtk gui explicitly
* if gtk is autodetected then gtkmm, glibmm, libcairomm-1.0-1,
  libpangomm-1.4-1, libsigc-2.0-0 are pulled to image like here:
  http://git.shr-project.org/git/?p=buildhistory.git;a=blobdiff;f=images/crespo/eglibc/shr-image/installed-package-names.txt;h=83e1a027de80d97421564226685a74298d2a5b80;hp=470b765b53eb6c795dc9dfb9ea5c30ec19d25f64;hb=0ab60c7419522ef527d744bc0ad756124b9d432a;hpb=21fe622ab8fe123a3a45369440eaaa3785be2516

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26 17:12:22 +01:00
Koen Kooi f8911a3231 xinput-calibrator 0.7.5: fix LICENSE syntax and style issues
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-12 09:38:14 +01:00
Martin Jansa d06417a892 pointercal-xinput: move machine specific files to their bsp layers, remove SECTION
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-17 11:17:40 +02:00
Martin Jansa a8242537b6 xinput-calibrator: add new version 0.7.5 and include .inc to recipe directly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10 13:57:33 +02:00
Koen Kooi 9477e53e8a pointercal-xinput: don't allow empty packages
Now that it is a soft dependency for xinput-calibrator only generate packages for machines with actual calibration data

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-21 12:20:01 +02:00
Koen Kooi 199d08c139 xinput-calibrator: make pointercal-xinput a soft dependency
pointercal-xinput is machine specific and empty for most machines, so it it's only a soft dependency.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-21 12:18:58 +02:00
Koen Kooi 408601b9d4 meta-oe: catch up with POKYBASE -> COREBASE renaming
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-21 09:58:39 +02:00
Koen Kooi 623e38e59d use COPYING.MIT from POKYBASE instead of meta-shr
This fixes builds where meta-shr isn't in TOPDIR/meta-shr but somewhere else (sources/meta-shr in my case)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-17 13:39:55 +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