Skip to contentSkip to conversation

move tslib, pointercal and xtscal recipes from oe-core

PATCH Superseded Maxin B. John 8 participants 17 messages Sep 1, 2016 – Sep 21, 2016

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover move tslib, pointercal and xtscal recipes from oe-core

Move tslib 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

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
#1 lore raw

PATCH 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
new file mode 100644
index 0000000..63f5293
@@ -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
new file mode 100644
index 0000000..e69de29
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal new file +1 -0
new file mode 100644
index 0000000..640053d
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal new file +1 -0
new file mode 100644
index 0000000..640053d
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb new file +22 -0
new file mode 100644
index 0000000..df735a5
@@ -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
#2 lore raw

Re: [PATCH 1/4] pointercal: move recipe from oe-core

Quoted 103 lines · Maxin B. John

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
new file mode 100644
index 0000000..63f5293
@@ -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
new file mode 100644
index 0000000..e69de29
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal new file +1 -0
new file mode 100644
index 0000000..abd84ca
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal new file +1 -0
new file mode 100644
index 0000000..640053d
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal new file +1 -0
new file mode 100644
index 0000000..640053d
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb new file +8 -0
new file mode 100644
index 0000000..df735a5
@@ -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"

meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb line 18

Quoted 10 lines
meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb new file +10 -0
+
+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
+}

Use 4 spaces for indentation.

Quoted 12 lines
meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb new file +4 -0
+
+ALLOW_EMPTY_${PN} = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+INHIBIT_DEFAULT_DEPS = "1"
Signature · 7 lines
2.4.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

PATCH 2/4 meta-gpe: add pointercal to layer.conf

In reply to Maxin B. John

add 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
index 00f3929..477e4a8 100644
@@ -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
#4 lore raw

PATCH 3/4 xtscal: move recipe from oe-core

In reply to Maxin B. John

Move 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
new file mode 100644
index 0000000..fa43617
@@ -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
new file mode 100644
index 0000000..1da7717
@@ -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
new file mode 100644
index 0000000..3e4533f
@@ -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
new file mode 100644
index 0000000..4bfddf0
@@ -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
#5 lore raw

PATCH 4/4 tslib: move recipe from oe-core

In reply to Maxin B. John

Move 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
new file mode 100644
index 0000000..1b0da93
@@ -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
new file mode 100644
index 0000000..7068e8d
@@ -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
#6 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 87 lines · Maxin B. John

Move 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
new file mode 100644
index 0000000..1b0da93
@@ -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
new file mode 100644
index 0000000..7068e8d
@@ -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 +24 -0
new file mode 100644
index 0000000..b0264c3
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz \
+           file://ts.conf \
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] = "fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
+
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb line 34

Quoted 10 lines
meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +10 -0
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
+
+do_install_prepend() {
+	install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/profile.d/
+	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}

Use 4 spaces for indentation.

Quoted 27 lines
meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +19 -0
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
+FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"
Signature · 7 lines
2.4.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

In reply to Maxin B. John
Quoted 118 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 index 0000000..1b0da93

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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 index 0000000..7068e8d

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
+
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 index 0000000..b0264c3

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +13 -0
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI =

"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.x
z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +5 -0
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] =

"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" +

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +29 -2
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input
--disable-corgi --disable-collie --disable-mk712 --disable-arctic2
--disable-ucb1x00" +
+do_install_prepend() {
+	install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/profile.d/
+	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh

${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +2 -0
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print
Quoted 1 line

${bindir}/ts_print_raw ${bindir}/ts_test"

So it seems like this has been blocked purely based on indentation that arguably doesn't even really matter, and as a result we no longer have tslib anywhere. Can you guys please resolve this ASAP?

Thanks,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#8 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 122 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 121 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 index 0000000..1b0da93

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +10 -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

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +15 -0
+# 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 index 0000000..7068e8d

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
+
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 index 0000000..b0264c3

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +13 -0
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI =

"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. x
z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +5 -0
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] =

"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" +

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +29 -2
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input
--disable-corgi --disable-collie --disable-mk712 --disable-arctic2
--disable-ucb1x00" +
+do_install_prepend() {
+	install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/profile.d/
+	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf

${sysconfdir}/profile.d/tslib.sh

Quoted 8 lines
Quoted 4 lines

${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +2 -0
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print

${bindir}/ts_print_raw ${bindir}/ts_test"

So it seems like this has been blocked purely based on indentation that arguably doesn't even really matter, and as a result we no longer have tslib anywhere. Can you guys please resolve this ASAP?

Also, is meta-gpe really an appropriate place for this?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#9 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Hi Paul,

Quoted 11 lines · Paul Eggleton
Quoted 10 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 9 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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

Apparently I missed to notice some replies to these patches (recently my inbox has been behaving a bit strangely - missing or delaying some mails for a day or two). Sorry for that!

Quoted 2 lines

Also, is meta-gpe really an appropriate place for this?

I am open to suggestions. xtscal had HOMEPAGE set as "http://gpe.linuxtogo.org". Since other packages were logically connected to that, moved them to meta-gpe as well.

Quoted 2 lines

Cheers,
Paul

Best Regards,
Maxin

#10 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 19 lines · Maxin B. John

Hi Paul,

Quoted 11 lines · Paul Eggleton
Quoted 10 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 9 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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

Apparently I missed to notice some replies to these patches (recently my inbox has been behaving a bit strangely - missing or delaying some mails for a day or two). Sorry for that!

Quoted 5 lines
Quoted 2 lines

Also, is meta-gpe really an appropriate place for this?

I am open to suggestions. xtscal had HOMEPAGE set as "http://gpe.linuxtogo.org". Since other packages were logically connected to that, moved them to meta-gpe as well.

Hi,

meta-gpe is almost empty..time to merge it down in one other generic/middleware layer?
Plus there are other recipes depending on tslib as for example zaurusd (meta-handheld).

Now, where to put stuff like this tslib?
To avoid the creation of another one I'd say we could start putting things in meta-oe.
Well, there is still one drawback...the 'custom' xserver-nodm-init is still present but there are patches on the ML for its removal.

Opinions?

Cheers
Andrea

Quoted 11 lines
Quoted 3 lines

Cheers,
Paul

Best Regards,
Maxin
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#11 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 3 lines · Andrea Adami

Well, there is still one drawback...the 'custom' xserver-nodm-init is still present but there are patches on the ML for its removal.

Hopefully the improvements in oe-core mean the meta-oe recipe can be removed, but it was decided that it was too late in the cycle to push this and will wait for 2.3 to release before looking at deleting bits of meta-oe.

Ross

#12 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 7 lines · Ross
Quoted 2 lines · Andrea Adami

Well, there is still one drawback...the 'custom' xserver-nodm-init is still present but there are patches on the ML for its removal.

Hopefully the improvements in oe-core mean the meta-oe recipe can be removed, but it was decided that it was too late in the cycle to push this and will wait for 2.3 to release before looking at deleting bits of meta-oe.

The trouble is there are still people using it and we didn't wait for the recipe to be merged into meta-oe before removing it from oe-core. Can we please put in place procedures to avoid this happening in future?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#13 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 5 lines · Paul Eggleton
Quoted 4 lines · Ross
Quoted 2 lines · Andrea Adami

Well, there is still one drawback...the 'custom' xserver-nodm-init is still present but there are patches on the ML for its removal.

Quoted 7 lines
Quoted 3 lines

Hopefully the improvements in oe-core mean the meta-oe recipe can be removed, but it was decided that it was too late in the cycle to push this and will wait for 2.3 to release before looking at deleting bits of meta-oe.

The trouble is there are still people using it and we didn't wait for the recipe to be merged into meta-oe before removing it from oe-core. Can we please put in place procedures to avoid this happening in future?

... again.

Has happened a few times before, and it's really frustrating...

Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.com

Please consider the environment before printing this e-mail

Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/

#14 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

In reply to Paul Eggleton
Quoted 132 lines · Paul Eggleton
Quoted 122 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 121 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 index 0000000..1b0da93

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +10 -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

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +15 -0
+# 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 index 0000000..7068e8d

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
+
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 index 0000000..b0264c3

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +13 -0
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI =

"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. x
z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +5 -0
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] =

"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" +

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +29 -2
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input
--disable-corgi --disable-collie --disable-mk712 --disable-arctic2
--disable-ucb1x00" +
+do_install_prepend() {
+   install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+   install -d ${D}${sysconfdir}/profile.d/
+   install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf

${sysconfdir}/profile.d/tslib.sh

Quoted 8 lines
Quoted 4 lines

${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +2 -0
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print

${bindir}/ts_print_raw ${bindir}/ts_test"

So it seems like this has been blocked purely based on indentation that arguably doesn't even really matter, and as a result we no longer have tslib anywhere. Can you guys please resolve this ASAP?

Quoted 1 line

Also, is meta-gpe really an appropriate place for this?

It should go into meta-oe

Quoted 13 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#15 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 134 lines · Khem Raj
Quoted 132 lines · Paul Eggleton
Quoted 130 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 124 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 index 0000000..1b0da93

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +10 -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

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +15 -0
+# 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 index 0000000..7068e8d

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
+
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 index 0000000..b0264c3

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +13 -0
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI =

"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. x
z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +5 -0
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] =

"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" +

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +29 -2
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input
--disable-corgi --disable-collie --disable-mk712 --disable-arctic2
--disable-ucb1x00" +
+do_install_prepend() {
+   install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+   install -d ${D}${sysconfdir}/profile.d/
+   install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf

${sysconfdir}/profile.d/tslib.sh
${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +2 -0
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print
Quoted 1 line

${bindir}/ts_print_raw ${bindir}/ts_test"

So it seems like this has been blocked purely based on indentation that arguably doesn't even really matter, and as a result we no longer have tslib anywhere. Can you guys please resolve this ASAP?

Quoted 4 lines
Quoted 1 line

Also, is meta-gpe really an appropriate place for this?

It should go into meta-oe

+1
I think so too.

Quoted 18 lines
Quoted 6 lines

Cheers,
Paul

--

Quoted 7 lines

Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#16 lore raw

Re: [PATCH 4/4] tslib: move recipe from oe-core

Quoted 135 lines · Jonathan Liu
Quoted 134 lines · Khem Raj
Quoted 132 lines · Paul Eggleton
Quoted 130 lines · On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
Quoted 124 lines · On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:

Move 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 index 0000000..1b0da93

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +10 -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

meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file +15 -0
+# 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
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 index 0000000..7068e8d

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
+
(quoted diff) +0 -0

b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 index 0000000..b0264c3

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +13 -0
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/"
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI =

"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. x
z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +5 -0
+           file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] =

"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" +

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +29 -2
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input
--disable-corgi --disable-collie --disable-mk712 --disable-arctic2
--disable-ucb1x00" +
+do_install_prepend() {
+   install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+   install -d ${D}${sysconfdir}/profile.d/
+   install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf

${sysconfdir}/profile.d/tslib.sh
${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"

meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file +2 -0
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print
Quoted 1 line

${bindir}/ts_print_raw ${bindir}/ts_test"

So it seems like this has been blocked purely based on indentation that arguably doesn't even really matter, and as a result we no longer have tslib anywhere. Can you guys please resolve this ASAP?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Also, is meta-gpe really an appropriate place for this?

It should go into meta-oe

+1
I think so too.

Yes it should as there are recipes depending on it in meta-oe and meta-efl which don't (can't) depend on meta-gpe:

meta-efl/recipes-efl/efl/efl.inc:DEPENDS = "virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg freetype libpng tiff libxext virtual/libx11 libxdamage libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native util-linux libunwind" meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb:DEPENDS += "tslib"

Quoted 24 lines
Quoted 19 lines
Quoted 7 lines

Cheers,
Paul

--

Quoted 7 lines

Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]