Patchwork [meta-oe,PATCHv2] xinput-calibrator: disable gtk gui explicitly

login
register
mail settings
Submitter Martin Jansa
Date Feb. 26, 2012, 1:55 p.m.
Message ID <1330264545-16277-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/22087/
State Accepted
Commit f40021a4ec8aee03e856e2eaa75432e9ca9a44ec
Headers show

Comments

Martin Jansa - Feb. 26, 2012, 1:55 p.m.
* 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>
---
 .../xinput-calibrator/xinput-calibrator_0.7.5.bb   |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
index 0c75293..f0e85cf 100644
--- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
+++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
@@ -4,7 +4,7 @@  LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc"
 DEPENDS = "virtual/libx11 libxi"
 
-PR = "r1"
+PR = "r2"
 
 inherit autotools
 
@@ -14,6 +14,9 @@  SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475
 
 S = "${WORKDIR}/xinput_calibrator-${PV}"
 
+# force native X11 ui as we don't have gtk+ in DEPENDS
+EXTRA_OECONF += "--with-gui=x11"
+
 do_install_append() {
         install -d ${D}${bindir}
         install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh