xtscal: remove recipe
PATCH 1/4 xtscal: remove recipe
Remove xtscal in preference of xinput-calibrator
[YOCTO #9365]
--- .../xtscal/xtscal/30xTs_Calibrate.sh | 13 - .../xtscal/xtscal/change-cross.patch | 18 - meta/recipes-graphics/xtscal/xtscal/cleanup.patch | 621 --------------------- .../xtscal/dso_linking_change_build_fix.patch | 27 - meta/recipes-graphics/xtscal/xtscal_0.6.3.bb | 33 -- 5 files changed, 712 deletions(-) delete mode 100644 meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh delete mode 100644 meta/recipes-graphics/xtscal/xtscal/change-cross.patch delete mode 100644 meta/recipes-graphics/xtscal/xtscal/cleanup.patch delete mode 100644 meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch delete mode 100644 meta/recipes-graphics/xtscal/xtscal_0.6.3.bb
meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh deleted +0 -13
@@ -1,13 +0,0 @@ -#!/bin/sh - -. /etc/formfactor/config - -if [ "$HAVE_TOUCHSCREEN" = "1" ]; then - n=1 - while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 5 ] - do - /usr/bin/xtscal - sleep 1 - n=$(($n+1)) - done -fi
meta/recipes-graphics/xtscal/xtscal/change-cross.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Upstream-Status: Pending - ---- tmp/main.c.orig 2007-01-02 15:39:54.000000000 +0000 -+++ tmp/main.c 2007-01-02 15:39:54.000000000 +0000 -@@ -131,9 +131,10 @@ - { - XRenderFillRectangles (dpy, PictOpSrc, pict, &rect_color, rectangles, 2); - -- XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1, -- (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1, -- WIDTH + 1, WIDTH + 1, 0, 360 * 64); -+ XFillRectangle (dpy, crosshair_w, crosshair_gc, -+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2), -+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2), -+ WIDTH, WIDTH); - } - - void
meta/recipes-graphics/xtscal/xtscal/cleanup.patch deleted +0 -621
621 lines not on this page · raw message
meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch deleted +0 -27
@@ -1,27 +0,0 @@ -after gcc linking has changed, all the libraries must be explicitely specified -This patch avoids this linking error: - -| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xtscal main.o calibrate.o -lX11 -lXft -lXext -lXcalibrate^M -| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: ^?: invalid DSO for symbol `XRenderChangePicture' definition^M -| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so.1: could not read symbols: Bad value^M -| collect2: ld returned 1 exit status^M -| make: *** [xtscal] Error 1 - -Nitin A Kamble <[email protected]> -Date: 2011/01/11 - -Upstream-Status: Pending - -Index: xtscal-0.6.3/configure.ac -=================================================================== ---- xtscal-0.6.3.orig/configure.ac -+++ xtscal-0.6.3/configure.ac -@@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2]) - # Checks for programs. - AC_PROG_CC - --PKG_CHECK_MODULES(XTSCAL, x11 xft xext xcalibrate) -+PKG_CHECK_MODULES(XTSCAL, x11 xft xext xcalibrate xrender) - - AC_CONFIG_FILES([Makefile]) - AC_OUTPUT
meta/recipes-graphics/xtscal/xtscal_0.6.3.bb deleted +0 -33
@@ -1,33 +0,0 @@ -SUMMARY = "Touchscreen calibration utility" - -DESCRIPTION = "Basic touchscreen calibration utility" - -HOMEPAGE = "http://gpe.linuxtogo.org" -BUGTRACKER = "http://bugs.linuxtogo.org" -LICENSE = "GPLv2 & GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://main.c;endline=10;md5=8721bcb08ae9f24e5fe4c82941873c87" - -SECTION = "x11/base" - -DEPENDS = "virtual/libx11 libxft libxcalibrate" - -PR = "r13" - -SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ - file://change-cross.patch \ - file://cleanup.patch \ - file://dso_linking_change_build_fix.patch \ - file://30xTs_Calibrate.sh" - -SRC_URI[md5sum] = "9bcab80b474d5454477d1ca166a68c34" -SRC_URI[sha256sum] = "27b9dc2203de9b1706ca39fa6ca80ecab8807909ec901c4a345b8e41178800a1" - -inherit autotools pkgconfig distro_features_check -# depends on virtual/libx11 -REQUIRED_DISTRO_FEATURES = "x11" - -do_install_append() { - install -d ${D}${sysconfdir}/X11/Xsession.d/ - install -m 0755 ${WORKDIR}/30xTs_Calibrate.sh ${D}${sysconfdir}/X11/Xsession.d/ -}
Signature · 1 line
2.4.0
PATCH 2/4 x11-common: replace xtscal with xinput-calibrator
Replace xtscal with xinput-calibrator as part of removing xtscal.
[YOCTO #9365]
--- meta/recipes-graphics/x11-common/x11-common_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/x11-common/x11-common_0.1.bb +1 -1
@@ -26,5 +26,5 @@ do_install() { chmod -R 755 ${D}${sysconfdir} } -RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xtscal xinit formfactor" +RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xinput-calibrator xinit formfactor"
Signature · 1 line
2.4.0
PATCH 3/4 distro_alias.inc: remove xtscal
In reply to Maxin B. JohnRemove xtscal reference from this file as we remove xtscal from oe-core
[YOCTO #9365]
--- meta/conf/distro/include/distro_alias.inc | 1 - 1 file changed, 1 deletion(-)
meta/conf/distro/include/distro_alias.inc +0 -1
@@ -455,7 +455,6 @@ DISTRO_PN_ALIAS_pn-xserver-xf86-dri-lite = "Fedora=xorg-x11-server Ubuntu=xserve DISTRO_PN_ALIAS_pn-xserver-xf86-lite = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" DISTRO_PN_ALIAS_pn-xserver-xorg = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" DISTRO_PN_ALIAS_pn-xset = "Fedora=xorg-x11-server-utils Ubuntu=x11-xserver-utils Debian=x11-xserver-utils Opensuse=xorg-x11" -DISTRO_PN_ALIAS_pn-xtscal = "OSPDT upstream=http://gpe.linuxtogo.org/download/source/" DISTRO_PN_ALIAS_pn-xuser-account = "OE-Core" DISTRO_PN_ALIAS_pn-xvideo-tests = "OpenedHand" DISTRO_PN_ALIAS_pn-xvinfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils"
Signature · 1 line
2.4.0
PATCH 4/4 pointercal-xinput: add a dummy calibration file for qemu
In reply to Maxin B. JohnIn qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate" device and that makes xinput_calibrator think it could be calibrated.
Add a dummy calibration file as a work around to prevent xinput_calibrator from popping up on every boot in qemu.
[YOCTO #8380]
--- .../xinput-calibrator/pointercal-xinput/qemuall/pointercal.xinput | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/qemuall/pointercal.xinput
meta/recipes-graphics/xinput-calibrator/pointercal-xinput/qemuall/pointercal.xinput new file +2 -0
@@ -0,0 +1,2 @@ +# Dummy pointercal.xinput file to prevent xinput_calibrator +# from running on qemu startup
Signature · 1 line
2.4.0
Re: [PATCH 4/4] pointercal-xinput: add a dummy calibration file for qemu
Quoted 4 lines · Maxin B. John
In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makesxinput_calibratorthink it could be calibrated.
Quoted 8 lines
Add a dummy calibration file as a work around to prevent
xinput_calibratorfrom
popping up on every boot in qemu.[YOCTO #8380]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Jussi Kukkonen <[email protected]>
This doesn't sound right. In qemu, we add a usb touchpad which allows absolute coordinate entry, which means qemu doesn't have to grab the mouse.
Are there two devices? A mouse shouldn't be seen as an absolute coordinate device.
Cheers,
Richard
Re: [PATCH 4/4] pointercal-xinput: add a dummy calibration file for qemu
Hi RP,
Quoted 14 lines · Richard Purdie
Quoted 4 lines · Maxin B. John
In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makesxinput_calibratorthink it could be calibrated.Quoted 8 lines
Add a dummy calibration file as a work around to prevent
xinput_calibratorfrom
popping up on every boot in qemu.[YOCTO #8380]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Jussi Kukkonen <[email protected]>
Quoted 6 lines
This doesn't sound right. In qemu, we add a usb touchpad which allows absolute coordinate entry, which means qemu doesn't have to grab the mouse.
Are there two devices? A mouse shouldn't be seen as an absolute coordinate device.
Yes, both qemu monitor and xinput_calibrator in target shows two devices:
(qemu) info mice
Mouse #2: QEMU PS/2 Mouse
* Mouse #3: QEMU HID Tablet (absolute)
# xinput_calibrator --list
Device "QEMU QEMU USB Tablet" id=8
Device "ImExPS/2 Generic Explorer Mouse" id=9
Quoted 3 lines
Cheers,
Richard
Best Regards,
Maxin
Re: [PATCH 4/4] pointercal-xinput: add a dummy calibration file for qemu
Quoted 30 lines · Maxin B. John
Hi RP,
Quoted 15 lines · Richard Purdie
Quoted 5 lines · Maxin B. John
In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makesxinput_calibratorthink it could be calibrated.Quoted 8 lines
Add a dummy calibration file as a work around to prevent
xinput_calibratorfrom
popping up on every boot in qemu.[YOCTO #8380]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Jussi Kukkonen <[email protected]>Quoted 8 lines
This doesn't sound right. In qemu, we add a usb touchpad which allows
absolute coordinate entry, which means qemu doesn't have to grab the
mouse.Are there two devices? A mouse shouldn't be seen as an absolute coordinate device.
Yes, both qemu monitor and
xinput_calibratorin target shows two devices:
Quoted 7 lines
(qemu) info mice
Mouse #2: QEMU PS/2 Mouse
* Mouse #3: QEMU HID Tablet (absolute)#
xinput_calibrator--list
Device "QEMU QEMU USB Tablet" id=8
Device "ImExPS/2 Generic Explorer Mouse" id=9
So with these patches, are we still calibrating the tablet input?
pointercal ships default calibrations for that under the current setup but those likely aren't compatible with xinput and we'd need the same thing but for xinput here?
Cheers,
Richard
Re: [PATCH 4/4] pointercal-xinput: add a dummy calibration file for qemu
Hi,
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Maxin B. John
Hi RP,
Quoted 15 lines · Richard Purdie
Quoted 5 lines · Maxin B. John
In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makesxinput_calibratorthink it could be calibrated.Quoted 8 lines
Add a dummy calibration file as a work around to prevent
xinput_calibratorfrom
popping up on every boot in qemu.[YOCTO #8380]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Jussi Kukkonen <[email protected]>Quoted 8 lines
This doesn't sound right. In qemu, we add a usb touchpad which allows
absolute coordinate entry, which means qemu doesn't have to grab the
mouse.Are there two devices? A mouse shouldn't be seen as an absolute coordinate device.
Yes, both qemu monitor and
xinput_calibratorin target shows two devices:(qemu) info mice
Mouse #2: QEMU PS/2 Mouse
* Mouse #3: QEMU HID Tablet (absolute)
Quoted 5 lines
Quoted 3 lines
#
xinput_calibrator--list
Device "QEMU QEMU USB Tablet" id=8
Device "ImExPS/2 Generic Explorer Mouse" id=9So with these patches, are we still calibrating the tablet input?
We won't be calibrating tablet input in qemu targets.This patch is supposed to be a work-around to avoid mouse input calibration only in qemu targets.
Quoted 3 lines
pointercal ships default calibrations for that under the current setup but those likely aren't compatible with xinput and we'd need the same thing but for xinput here?
Yes, the default values shipped by pointercal aren't compatible with xinput.
Quoted 2 lines
Cheers,
Richard
Best Regards,
Maxin