move tslib, pointercal and xtscal recipes from oe-core
v2 cover move tslib, pointercal and xtscal recipes from oe-core
Move tslib, pointercal and xtscal recipes from oe-core. These recipes are already removed from oe-core with these commits:
1. xtscal: remove recipe : 5bcdb9f0995474635789cf0774aba9b774277c53
2. tslib: remove recipe : d37f6b595fd9ce53c79ff9281f2e20df7fa0503d
3. pointercal: remove recipe: d56dffe629dfc86a8d3c7a043c8c2893004f803e
Changes in v2:
Addressed the review comments about indentation.
Maxin B. John (4):
pointercal: move recipe from oe-core
meta-gpe: add pointercal to layer.conf
xtscal: move recipe from oe-core
tslib: move recipe from oe-core
meta-gpe/conf/layer.conf | 2 + meta-gpe/recipes-bsp/pointercal/pointercal/COPYING | 2 + .../recipes-bsp/pointercal/pointercal/pointercal | 0 .../pointercal/pointercal/qemuarm/pointercal | 1 + .../pointercal/pointercal/qemuarmv6/pointercal | 1 + .../pointercal/pointercal/qemuarmv7/pointercal | 1 + .../pointercal/pointercal/qemumips/pointercal | 1 + .../pointercal/pointercal/qemuppc/pointercal | Bin 0 -> 36 bytes .../pointercal/pointercal/qemux86-64/pointercal | 1 + .../pointercal/pointercal/qemux86/pointercal | 1 + meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb | 22 + meta-gpe/recipes-graphics/tslib/tslib/ts.conf | 25 + meta-gpe/recipes-graphics/tslib/tslib/tslib.sh | 8 + meta-gpe/recipes-graphics/tslib/tslib_1.1.bb | 53 ++ .../xtscal/xtscal/30xTs_Calibrate.sh | 13 + .../xtscal/xtscal/change-cross.patch | 18 + .../recipes-graphics/xtscal/xtscal/cleanup.patch | 621 +++++++++++++++++++++ .../xtscal/dso_linking_change_build_fix.patch | 27 + meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb | 33 ++ 19 files changed, 830 insertions(+) create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb
Signature · 1 line
2.4.0
PATCH v2 1/4 pointercal: move recipe from oe-core
Move pointercal recipe from oe-core layer.
--- meta-gpe/recipes-bsp/pointercal/pointercal/COPYING | 2 ++ .../recipes-bsp/pointercal/pointercal/pointercal | 0 .../pointercal/pointercal/qemuarm/pointercal | 1 + .../pointercal/pointercal/qemuarmv6/pointercal | 1 + .../pointercal/pointercal/qemuarmv7/pointercal | 1 + .../pointercal/pointercal/qemumips/pointercal | 1 + .../pointercal/pointercal/qemuppc/pointercal | Bin 0 -> 36 bytes .../pointercal/pointercal/qemux86-64/pointercal | 1 + .../pointercal/pointercal/qemux86/pointercal | 1 + meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb | 22 +++++++++++++++++++++ 10 files changed, 30 insertions(+) create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
meta-gpe/recipes-bsp/pointercal/pointercal/COPYING new file +2 -0
@@ -0,0 +1,2 @@ +This is a blank COPYING file, and should be filled in by original author in future. +
meta-gpe/recipes-bsp/pointercal/pointercal/pointercal new file +0 -0
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal new file +1 -0
@@ -0,0 +1 @@ +8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal new file +1 -0
@@ -0,0 +1 @@ +8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal new file +1 -0
@@ -0,0 +1 @@ +8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal new file +1 -0
@@ -0,0 +1 @@ +8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal new file binary +0 -0
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal new file +1 -0
@@ -0,0 +1 @@ +1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal new file +1 -0
@@ -0,0 +1 @@ +1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Touchscreen calibration data" +SECTION = "base" +PR = "r11" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf" + +SRC_URI = "file://pointercal \ + file://COPYING" + +S = "${WORKDIR}" + +do_install() { + # Only install file if it has a contents + if [ -s ${S}/pointercal ]; then + install -d ${D}${sysconfdir}/ + install -m 0644 ${S}/pointercal ${D}${sysconfdir}/ + fi +} + +ALLOW_EMPTY_${PN} = "1" +PACKAGE_ARCH = "${MACHINE_ARCH}" +INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
2.4.0
PATCH v2 2/4 meta-gpe: add pointercal to layer.conf
In reply to Maxin B. Johnadd pointercal to SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf
--- meta-gpe/conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+)
meta-gpe/conf/layer.conf +2 -0
@@ -13,3 +13,5 @@ BBFILE_PRIORITY_gpe-layer = "7" LAYERVERSION_gpe-layer = "1" LAYERDEPENDS_gpe-layer = "core openembedded-layer" + +SIGGEN_EXCLUDERECIPES_ABISAFE += "pointercal"
Signature · 1 line
2.4.0
PATCH v2 3/4 xtscal: move recipe from oe-core
In reply to Maxin B. JohnMove xtscal recipe from oe-core layer.
--- .../xtscal/xtscal/30xTs_Calibrate.sh | 13 + .../xtscal/xtscal/change-cross.patch | 18 + .../recipes-graphics/xtscal/xtscal/cleanup.patch | 621 +++++++++++++++++++++ .../xtscal/dso_linking_change_build_fix.patch | 27 + meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb | 33 ++ 5 files changed, 712 insertions(+) create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb
meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh new file +13 -0
@@ -0,0 +1,13 @@ +#!/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-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch new file +18 -0
@@ -0,0 +1,18 @@ +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-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch new file +621 -0
621 lines not on this page · raw message
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch new file +27 -0
@@ -0,0 +1,27 @@ +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-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb new file +33 -0
@@ -0,0 +1,33 @@ +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 v2 4/4 tslib: move recipe from oe-core
In reply to Maxin B. JohnMove tslib recipe from oe-core layer.
--- meta-gpe/recipes-graphics/tslib/tslib/ts.conf | 25 ++++++++++++ meta-gpe/recipes-graphics/tslib/tslib/tslib.sh | 8 ++++ meta-gpe/recipes-graphics/tslib/tslib_1.1.bb | 53 ++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +25 -0
@@ -0,0 +1,25 @@ +# Uncomment if you wish to use the linux input layer event interface +module_raw input + +# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d +# module_raw collie + +# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860 +# module_raw corgi + +# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface +# module_raw ucb1x00 + +# Uncomment if you're using an HP iPaq h3600 or similar +# module_raw h3600 + +# Uncomment if you're using a Hitachi Webpad +# module_raw mk712 + +# Uncomment if you're using an IBM Arctic II +# module_raw arctic2 + +module pthres pmin=1 +module variance delta=30 +module dejitter delta=100 +module linear
meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file +8 -0
@@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -e /dev/input/touchscreen0 ]; then + TSLIB_TSDEVICE=/dev/input/touchscreen0 + + export TSLIB_TSDEVICE +fi +
meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.4.0