Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: [PATCH 1/4] mesa-dri/xlib: use target commands in mklib file
From: Martin Jansa @ 2011-10-13  9:13 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <57a9134211e3be47d7072ad2b1aa06b443a95927.1318496401.git.kai.kang@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 6733 bytes --]

On Thu, Oct 13, 2011 at 05:05:33PM +0800, Kang Kai wrote:
> the bin/mklib file in mesa-dri/xlib source code uses commands on
> hosts, this may cause build failed on some platform.
> 
> Patches are from WindRiver Linux, and CQID are:
>     WIND00266791
>     WIND00266497

Please check my mesa patchset in 
openembedded-core-contrib/jansa/x11-v4
and please test it if it still applies to mesa-git too

And mesa-use-target-commands-in-mklib.patch doesn't have Upstream-Status

Regards,

> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  .../mesa-use-target-commands-in-mklib.patch        |  104 ++++++++++++++++++++
>  meta/recipes-graphics/mesa/mesa-dri_7.11.bb        |    3 +-
>  meta/recipes-graphics/mesa/mesa-xlib_7.11.bb       |    3 +-
>  3 files changed, 108 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
> 
> diff --git a/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
> new file mode 100644
> index 0000000..1bc2a57
> --- /dev/null
> +++ b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
> @@ -0,0 +1,104 @@
> +This patch is merged from WindRiver linux commits, and it is to avoid build failed on some platform because of using the commands on host.
> +
> +And original commits are:
> +
> +commit 8d5ccc8113e1b51b0529a00c18a4aba956247e1b
> +Author: Yulong Pei <Yulong.pei@windriver.com>
> +Date:   Tue Apr 12 22:14:10 2011 +0800
> +
> +    fix mesa-dri build fails on x86-64
> +    
> +    CQID: WIND00266791
> +    
> +    1. mesa-dri uses it's own script (mklib) to generate libraries, and it
> +    calls the host's ar/ranlib/gcc/g++. This fixes mklib so that it calls the
> +    cross-compiling tools properly.
> +    
> +    2. override PYTHON2 with 'python', 'python2' is not available in host-tools python.
> +    Only 'python' and 'python2.6' are provided. So force configure to use 'python'.
> +    
> +    And the above two changes are ported from mesa-xlib.
> +    
> +    Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> +
> +commit 5c4212084b871a0c0fb7d174280ec9a634637deb
> +Author: Bowen <Bowen.zhu@windriver.com>
> +Date:   Mon Apr 11 16:25:02 2011 +0800
> +
> +    Fix freeglut build failed for mips64_octeon-glibc_std_xapps
> +    
> +    CQID: 266497
> +    
> +    freeglut build failed on some hosts, because of mesa-xlib uses host ar command,
> +    in some hosts, host ar command can't recognize target library, which will make some
> +    symbols in libGL undefined.
> +    
> +    The fix is modifing mklib script in mesa-xlib, change fixed "ar" command to variable
> +    $AR that set by our LDAT.
> +
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Kang Kai <kai.kang@windriver.com>
> +
> +--- Mesa-7.10.2/bin/mklib.orig	2011-09-28 16:15:34.170000074 +0800
> ++++ Mesa-7.10.2/bin/mklib	2011-09-28 16:15:42.370000073 +0800
> +@@ -49,8 +49,8 @@
> +                     /*) ;;
> +                     *)  FILE="$ORIG_DIR/$FILE" ;;
> +                 esac
> +-                MEMBERS=`ar t $FILE`
> +-                ar x $FILE
> ++                MEMBERS=`${AR} t $FILE`
> ++                ${AR} x $FILE
> +                 for MEMBER in $MEMBERS ; do
> +                     NEWFILES="$NEWFILES $DIR/$MEMBER"
> +                 done
> +@@ -77,7 +77,7 @@
> + make_ar_static_lib() {
> +     OPTS=$1
> +     shift;
> +-    RANLIB=$1
> ++    USE_RANLIB=$1
> +     shift;
> +     LIBNAME=$1
> +     shift;
> +@@ -87,11 +87,11 @@
> +     rm -f ${LIBNAME}
> + 
> +     # make static lib
> +-    ar ${OPTS} ${LIBNAME} ${OBJECTS}
> ++    ${AR} ${OPTS} ${LIBNAME} ${OBJECTS}
> + 
> +     # run ranlib
> +-    if [ ${RANLIB} = 1 ] ; then
> +-        ranlib ${LIBNAME}
> ++    if [ ${USE_RANLIB} = 1 ] ; then
> ++        ${RANLIB} ${LIBNAME}
> +     fi
> + 
> +     echo ${LIBNAME}
> +@@ -313,9 +313,9 @@
> + 	if [ "x$LINK" = "x" ] ; then
> + 	    # -linker was not specified so set default link command now
> +             if [ $CPLUSPLUS = 1 ] ; then
> +-                LINK=g++
> ++                LINK=$CXX
> +             else
> +-                LINK=gcc
> ++                LINK=$CC
> +             fi
> + 	fi
> + 
> +@@ -531,9 +531,9 @@
> + 	if [ "x$LINK" = "x" ] ; then
> + 	    # -linker was not specified so set default link command now
> +             if [ $CPLUSPLUS = 1 ] ; then
> +-                LINK=g++
> ++                LINK=${CXX}
> +             else
> +-                LINK=gcc
> ++                LINK=${CC}
> +             fi
> + 	fi
> + 
> diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> index 6fc8d95..0f026b1 100644
> --- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> +++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> @@ -9,11 +9,12 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat
>  DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native python-native"
>  DEPENDS += "mesa-dri-glsl-native"
>  
> -PR = "r5"
> +PR = "r6"
>  
>  SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
>             file://crossfix.patch \
>             file://uclibc.patch \
> +           file://mesa-use-target-commands-in-mklib.patch \
>            "
>  
>  SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
> diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> index ea4acc6..3301068 100644
> --- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> +++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> @@ -4,6 +4,7 @@ FILESPATH =. "${FILE_DIRNAME}/mesa-dri:"
>  
>  SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
>             file://uclibc.patch \
> +           file://mesa-use-target-commands-in-mklib.patch \
>             "
>  
>  SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
> @@ -17,7 +18,7 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-nativ
>  DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native"
>  
>  PE = "1"
> -PR = "r1"
> +PR = "r2"
>  
>  EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
>  
> -- 
> 1.7.5.1.300.gc565c
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply

* Re: [PATCH 4/4] xinput-calibrator: add touchscreen support
From: Koen Kooi @ 2011-10-13  9:11 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <604d642870b01d3eed3c469dc42faf7d73433f52.1318496401.git.kai.kang@windriver.com>


Op 13 okt. 2011, om 11:05 heeft Kang Kai het volgende geschreven:

> Add the xinput_calibrator package to support evdev touchscreens,
> which both programs the xinput settings and writes out xorg.conf
> information that can be used to initialize the touchscreen in
> subsequent X start-ups.
> 
> Add dependency pointercal-xinput at same time.
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>

If you would have imported the meta-oe version you wouldn't have dragged in BSP stuff.

I know I said this before, but I'll say it again: look at the meta-oe versions of all this


> ---
> .../pointercal-xinput/bug20/pointercal.xinput      |    1 +
> .../pointercal-xinput/iphone3g/pointercal.xinput   |    1 +
> .../pointercal-xinput/nokia900/pointercal.xinput   |    2 +
> .../pointercal-xinput/om-gta01/pointercal.xinput   |    2 +
> .../pointercal-xinput/om-gta02/pointercal.xinput   |    2 +
> .../pointercal-xinput/pointercal.xinput            |    1 +
> .../xinput-calibrator/pointercal-xinput_0.0.bb     |   21 +++++++++++++++++
> .../xinput-calibrator/xinput-calibrator_0.7.5.bb   |   24 ++++++++++++++++++++
> 8 files changed, 54 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
> create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> create mode 100644 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
> 
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
> new file mode 100644
> index 0000000..50e2632
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
> @@ -0,0 +1 @@
> +xinput set-int-prop "TSC2004 Touchscreen" "Evdev Axis Calibration" 32 239 10 232 6;
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
> new file mode 100644
> index 0000000..d6ce56b
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
> @@ -0,0 +1 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 -102 4739 6 7321;
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
> new file mode 100644
> index 0000000..66bb32c
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 204 3897 3763 178;
> +
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
> new file mode 100644
> index 0000000..be25da3
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
> +xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
> new file mode 100644
> index 0000000..be25da3
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
> +xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
> new file mode 100644
> index 0000000..9633fc5
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
> @@ -0,0 +1 @@
> +# replace with valid machine specific pointercal.xinput
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> new file mode 100644
> index 0000000..5b7b967
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Touchscreen calibration data from xinput-calibrator"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +SECTION = "base"
> +
> +PR = "r0"
> +
> +SRC_URI = "file://pointercal.xinput"
> +S = "${WORKDIR}"
> +
> +do_install() {
> +	# Only install file if it has a contents
> +	if [ -s ${S}/pointercal.xinput ]; then
> +	        install -d ${D}${sysconfdir}/
> +	        install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
> +	fi
> +}
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
> diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
> new file mode 100644
> index 0000000..879f7e5
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "A generic touchscreen calibration program for X.Org"
> +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator"
> +LICENSE = "MIT/X11"
> +LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc"
> +DEPENDS = "virtual/libx11 libxi"
> +
> +inherit autotools
> +
> +RDEPENDS_${PN} = "xinput"
> +RRECOMMENDS_${PN} = "pointercal-xinput"
> +
> +PR = "r0"
> +
> +SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz"
> +SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa"
> +SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971"
> +
> +S = "${WORKDIR}/xinput_calibrator-${PV}"
> +
> +do_install_append() {
> +        install -d ${D}${bindir}
> +        install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
> +        install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
> +}
> -- 
> 1.7.5.1.300.gc565c
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply

* Re: [PATCH 4/4] xinput-calibrator: add touchscreen support
From: Martin Jansa @ 2011-10-13  9:10 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <604d642870b01d3eed3c469dc42faf7d73433f52.1318496401.git.kai.kang@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 7338 bytes --]

On Thu, Oct 13, 2011 at 05:05:36PM +0800, Kang Kai wrote:
> Add the xinput_calibrator package to support evdev touchscreens,
> which both programs the xinput settings and writes out xorg.conf
> information that can be used to initialize the touchscreen in
> subsequent X start-ups.
> 
> Add dependency pointercal-xinput at same time.
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  .../pointercal-xinput/bug20/pointercal.xinput      |    1 +
>  .../pointercal-xinput/iphone3g/pointercal.xinput   |    1 +
>  .../pointercal-xinput/nokia900/pointercal.xinput   |    2 +
>  .../pointercal-xinput/om-gta01/pointercal.xinput   |    2 +
>  .../pointercal-xinput/om-gta02/pointercal.xinput   |    2 +
>  .../pointercal-xinput/pointercal.xinput            |    1 +
>  .../xinput-calibrator/pointercal-xinput_0.0.bb     |   21 +++++++++++++++++
>  .../xinput-calibrator/xinput-calibrator_0.7.5.bb   |   24 ++++++++++++++++++++
>  8 files changed, 54 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
>  create mode 100644 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb

those pointercal-xinput files should be in BSP layers and it was already
cleaned in meta-oe so please update this patch..

> 
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
> new file mode 100644
> index 0000000..50e2632
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
> @@ -0,0 +1 @@
> +xinput set-int-prop "TSC2004 Touchscreen" "Evdev Axis Calibration" 32 239 10 232 6;
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
> new file mode 100644
> index 0000000..d6ce56b
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
> @@ -0,0 +1 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 -102 4739 6 7321;
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
> new file mode 100644
> index 0000000..66bb32c
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 204 3897 3763 178;
> +
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
> new file mode 100644
> index 0000000..be25da3
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
> +xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
> new file mode 100644
> index 0000000..be25da3
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
> @@ -0,0 +1,2 @@
> +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
> +xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
> new file mode 100644
> index 0000000..9633fc5
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
> @@ -0,0 +1 @@
> +# replace with valid machine specific pointercal.xinput
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> new file mode 100644
> index 0000000..5b7b967
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Touchscreen calibration data from xinput-calibrator"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +SECTION = "base"
> +
> +PR = "r0"
> +
> +SRC_URI = "file://pointercal.xinput"
> +S = "${WORKDIR}"
> +
> +do_install() {
> +	# Only install file if it has a contents
> +	if [ -s ${S}/pointercal.xinput ]; then
> +	        install -d ${D}${sysconfdir}/
> +	        install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
> +	fi
> +}
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
> diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
> new file mode 100644
> index 0000000..879f7e5
> --- /dev/null
> +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "A generic touchscreen calibration program for X.Org"
> +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator"
> +LICENSE = "MIT/X11"
> +LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc"
> +DEPENDS = "virtual/libx11 libxi"
> +
> +inherit autotools
> +
> +RDEPENDS_${PN} = "xinput"
> +RRECOMMENDS_${PN} = "pointercal-xinput"
> +
> +PR = "r0"
> +
> +SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz"
> +SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa"
> +SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971"
> +
> +S = "${WORKDIR}/xinput_calibrator-${PV}"
> +
> +do_install_append() {
> +        install -d ${D}${bindir}
> +        install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
> +        install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
> +}
> -- 
> 1.7.5.1.300.gc565c
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply

* Re: [PATCH 3/4] xinput: add xinput from oe
From: Koen Kooi @ 2011-10-13  9:09 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <2020cc16e581438254e80e4f6400e2b3c8b85c23.1318496401.git.kai.kang@windriver.com>


Op 13 okt. 2011, om 11:05 heeft Kang Kai het volgende geschreven:

> xinput is requred by xinput-calibrator, so pull it from oe.
> Reset PR and add LIC_FILES_CHKSUM.
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
> meta/recipes-graphics/xorg-app/xinput_1.5.3.bb |   10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
> 
> diff --git a/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb b/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
> new file mode 100644
> index 0000000..5f0d351
> --- /dev/null
> +++ b/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
> @@ -0,0 +1,10 @@
> +require xorg-app-common.inc
> +DESCRIPTION = "a utility to configure and test XInput devices"
> +
> +LIC_FILES_CHKSUM="file://COPYING;md5=22c34ea36136407a77702a8b784f9bd0"
> +
> +DEPENDS += " libxi"
> +PR = "r0"

That will make PR go backwards compared to the meta-oe version


^ permalink raw reply

* [PATCH 4/4] xinput-calibrator: add touchscreen support
From: Kang Kai @ 2011-10-13  9:05 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1318496401.git.kai.kang@windriver.com>

Add the xinput_calibrator package to support evdev touchscreens,
which both programs the xinput settings and writes out xorg.conf
information that can be used to initialize the touchscreen in
subsequent X start-ups.

Add dependency pointercal-xinput at same time.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../pointercal-xinput/bug20/pointercal.xinput      |    1 +
 .../pointercal-xinput/iphone3g/pointercal.xinput   |    1 +
 .../pointercal-xinput/nokia900/pointercal.xinput   |    2 +
 .../pointercal-xinput/om-gta01/pointercal.xinput   |    2 +
 .../pointercal-xinput/om-gta02/pointercal.xinput   |    2 +
 .../pointercal-xinput/pointercal.xinput            |    1 +
 .../xinput-calibrator/pointercal-xinput_0.0.bb     |   21 +++++++++++++++++
 .../xinput-calibrator/xinput-calibrator_0.7.5.bb   |   24 ++++++++++++++++++++
 8 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
 create mode 100644 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb

diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
new file mode 100644
index 0000000..50e2632
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
@@ -0,0 +1 @@
+xinput set-int-prop "TSC2004 Touchscreen" "Evdev Axis Calibration" 32 239 10 232 6;
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
new file mode 100644
index 0000000..d6ce56b
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
@@ -0,0 +1 @@
+xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 -102 4739 6 7321;
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
new file mode 100644
index 0000000..66bb32c
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 204 3897 3763 178;
+
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
new file mode 100644
index 0000000..be25da3
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
+xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
new file mode 100644
index 0000000..be25da3
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98
+xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
new file mode 100644
index 0000000..9633fc5
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
@@ -0,0 +1 @@
+# replace with valid machine specific pointercal.xinput
diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
new file mode 100644
index 0000000..5b7b967
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Touchscreen calibration data from xinput-calibrator"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SECTION = "base"
+
+PR = "r0"
+
+SRC_URI = "file://pointercal.xinput"
+S = "${WORKDIR}"
+
+do_install() {
+	# Only install file if it has a contents
+	if [ -s ${S}/pointercal.xinput ]; then
+	        install -d ${D}${sysconfdir}/
+	        install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
+	fi
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
new file mode 100644
index 0000000..879f7e5
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "A generic touchscreen calibration program for X.Org"
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator"
+LICENSE = "MIT/X11"
+LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc"
+DEPENDS = "virtual/libx11 libxi"
+
+inherit autotools
+
+RDEPENDS_${PN} = "xinput"
+RRECOMMENDS_${PN} = "pointercal-xinput"
+
+PR = "r0"
+
+SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz"
+SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa"
+SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971"
+
+S = "${WORKDIR}/xinput_calibrator-${PV}"
+
+do_install_append() {
+        install -d ${D}${bindir}
+        install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
+        install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
+}
-- 
1.7.5.1.300.gc565c




^ permalink raw reply related

* [PATCH 3/4] xinput: add xinput from oe
From: Kang Kai @ 2011-10-13  9:05 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1318496401.git.kai.kang@windriver.com>

xinput is requred by xinput-calibrator, so pull it from oe.
Reset PR and add LIC_FILES_CHKSUM.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb

diff --git a/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb b/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
new file mode 100644
index 0000000..5f0d351
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xinput_1.5.3.bb
@@ -0,0 +1,10 @@
+require xorg-app-common.inc
+DESCRIPTION = "a utility to configure and test XInput devices"
+
+LIC_FILES_CHKSUM="file://COPYING;md5=22c34ea36136407a77702a8b784f9bd0"
+
+DEPENDS += " libxi"
+PR = "r0"
+
+SRC_URI[archive.md5sum] = "1e2f0ad4f3fa833b65c568907f171d28"
+SRC_URI[archive.sha256sum] = "6aade131cecddaeefc39ddce1dd5e8473f6039c2e4efbfd9fbb5ee2a75885c76"
-- 
1.7.5.1.300.gc565c




^ permalink raw reply related

* [PATCH 2/4] gdk-pixbuf: pick up ${NM} to fix libtool naming issue
From: Kang Kai @ 2011-10-13  9:05 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1318496401.git.kai.kang@windriver.com>

When gdk-pixbuf configures, it should pick up ${NM} from the
environment if it is defined, instead of just looking
for "nm".

The patch is from WindRiver Linux.
CQID:  WIND00260200

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../gdk-pixbuf-2.24.0/configure-nm.patch           |   32 ++++++++++++++++++++
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb |    3 ++
 2 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch

diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch
new file mode 100644
index 0000000..71defd0
--- /dev/null
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch
@@ -0,0 +1,32 @@
+This patch is from WindRiver Linux, to fix libtool naming issue.
+The original commit info is:
+
+commit 684b9d2daab517856222cc078ac51c72ce3ca3a9
+Author: David Borman <david.borman@windriver.com>
+Date:   Thu Mar 10 07:51:11 2011 -0600
+
+    Have gdk-pixbuf pick up ${NM}, fix libtool naming issue
+    
+    CQID: WIND00260200
+    
+    The configuration for gdk-pixbuf needs to pick up $NM
+    from the environment, this is the same patch that was
+    applied to gdk+.
+    
+    Signed-off-by: David Borman <david.borman@windriver.com>
+
+Upstream-Status: Pending
+
+Signed-off-by: Kang Kai <kai.kang@windriver.com>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -149,7 +149,7 @@
+ AC_SYS_LARGEFILE
+ 
+ AM_PROG_AS
+-AC_PATH_PROG(NM, nm, nm)
++AC_PATH_PROG(NM, [$NM nm], nm)
+ 
+ AC_MSG_CHECKING([for some Win32 platform])
+ AS_CASE(["$host"],
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
index 9fabbe2..2099b98 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb
@@ -10,9 +10,12 @@ SECTION = "libs"
 
 DEPENDS = "libpng glib-2.0 jpeg"
 
+PR = "r1"
+
 SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${PV}.tar.bz2 \
            file://hardcoded_libtool.patch \
            file://configure_fix.patch \
+           file://configure-nm.patch;patch=1 \
            "
 
 SRC_URI[md5sum] = "d8ece3a4ade4a91c768328620e473ab8"
-- 
1.7.5.1.300.gc565c




^ permalink raw reply related

* [PATCH 1/4] mesa-dri/xlib: use target commands in mklib file
From: Kang Kai @ 2011-10-13  9:05 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1318496401.git.kai.kang@windriver.com>

the bin/mklib file in mesa-dri/xlib source code uses commands on
hosts, this may cause build failed on some platform.

Patches are from WindRiver Linux, and CQID are:
    WIND00266791
    WIND00266497

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../mesa-use-target-commands-in-mklib.patch        |  104 ++++++++++++++++++++
 meta/recipes-graphics/mesa/mesa-dri_7.11.bb        |    3 +-
 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb       |    3 +-
 3 files changed, 108 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch

diff --git a/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
new file mode 100644
index 0000000..1bc2a57
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
@@ -0,0 +1,104 @@
+This patch is merged from WindRiver linux commits, and it is to avoid build failed on some platform because of using the commands on host.
+
+And original commits are:
+
+commit 8d5ccc8113e1b51b0529a00c18a4aba956247e1b
+Author: Yulong Pei <Yulong.pei@windriver.com>
+Date:   Tue Apr 12 22:14:10 2011 +0800
+
+    fix mesa-dri build fails on x86-64
+    
+    CQID: WIND00266791
+    
+    1. mesa-dri uses it's own script (mklib) to generate libraries, and it
+    calls the host's ar/ranlib/gcc/g++. This fixes mklib so that it calls the
+    cross-compiling tools properly.
+    
+    2. override PYTHON2 with 'python', 'python2' is not available in host-tools python.
+    Only 'python' and 'python2.6' are provided. So force configure to use 'python'.
+    
+    And the above two changes are ported from mesa-xlib.
+    
+    Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
+
+commit 5c4212084b871a0c0fb7d174280ec9a634637deb
+Author: Bowen <Bowen.zhu@windriver.com>
+Date:   Mon Apr 11 16:25:02 2011 +0800
+
+    Fix freeglut build failed for mips64_octeon-glibc_std_xapps
+    
+    CQID: 266497
+    
+    freeglut build failed on some hosts, because of mesa-xlib uses host ar command,
+    in some hosts, host ar command can't recognize target library, which will make some
+    symbols in libGL undefined.
+    
+    The fix is modifing mklib script in mesa-xlib, change fixed "ar" command to variable
+    $AR that set by our LDAT.
+
+
+Upstream-Status: Pending
+
+Signed-off-by: Kang Kai <kai.kang@windriver.com>
+
+--- Mesa-7.10.2/bin/mklib.orig	2011-09-28 16:15:34.170000074 +0800
++++ Mesa-7.10.2/bin/mklib	2011-09-28 16:15:42.370000073 +0800
+@@ -49,8 +49,8 @@
+                     /*) ;;
+                     *)  FILE="$ORIG_DIR/$FILE" ;;
+                 esac
+-                MEMBERS=`ar t $FILE`
+-                ar x $FILE
++                MEMBERS=`${AR} t $FILE`
++                ${AR} x $FILE
+                 for MEMBER in $MEMBERS ; do
+                     NEWFILES="$NEWFILES $DIR/$MEMBER"
+                 done
+@@ -77,7 +77,7 @@
+ make_ar_static_lib() {
+     OPTS=$1
+     shift;
+-    RANLIB=$1
++    USE_RANLIB=$1
+     shift;
+     LIBNAME=$1
+     shift;
+@@ -87,11 +87,11 @@
+     rm -f ${LIBNAME}
+ 
+     # make static lib
+-    ar ${OPTS} ${LIBNAME} ${OBJECTS}
++    ${AR} ${OPTS} ${LIBNAME} ${OBJECTS}
+ 
+     # run ranlib
+-    if [ ${RANLIB} = 1 ] ; then
+-        ranlib ${LIBNAME}
++    if [ ${USE_RANLIB} = 1 ] ; then
++        ${RANLIB} ${LIBNAME}
+     fi
+ 
+     echo ${LIBNAME}
+@@ -313,9 +313,9 @@
+ 	if [ "x$LINK" = "x" ] ; then
+ 	    # -linker was not specified so set default link command now
+             if [ $CPLUSPLUS = 1 ] ; then
+-                LINK=g++
++                LINK=$CXX
+             else
+-                LINK=gcc
++                LINK=$CC
+             fi
+ 	fi
+ 
+@@ -531,9 +531,9 @@
+ 	if [ "x$LINK" = "x" ] ; then
+ 	    # -linker was not specified so set default link command now
+             if [ $CPLUSPLUS = 1 ] ; then
+-                LINK=g++
++                LINK=${CXX}
+             else
+-                LINK=gcc
++                LINK=${CC}
+             fi
+ 	fi
+ 
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 6fc8d95..0f026b1 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -9,11 +9,12 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat
 DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native python-native"
 DEPENDS += "mesa-dri-glsl-native"
 
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
            file://crossfix.patch \
            file://uclibc.patch \
+           file://mesa-use-target-commands-in-mklib.patch \
           "
 
 SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index ea4acc6..3301068 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -4,6 +4,7 @@ FILESPATH =. "${FILE_DIRNAME}/mesa-dri:"
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
            file://uclibc.patch \
+           file://mesa-use-target-commands-in-mklib.patch \
            "
 
 SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
@@ -17,7 +18,7 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-nativ
 DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native"
 
 PE = "1"
-PR = "r1"
+PR = "r2"
 
 EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
 
-- 
1.7.5.1.300.gc565c




^ permalink raw reply related

* [PATCH 0/4] Import some patches from WindRiver Linux
From: Kang Kai @ 2011-10-13  9:05 UTC (permalink / raw)
  To: openembedded-core

Hi All,

I import some patches from  WindRiver Linux. The first and second are
try to use target commands instead of the commands on the build machine.
And the last two will add the xinput-calibrator to add touchscreen support.

Regards,

The following changes since commit b92b776d56e64a437181de9bc76f8dcc8e15a5f8:

  meta-yocto: Catch up with xserver and mesa upgrades/rename (2011-10-12 23:05:12 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/distro
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro

Kang Kai (4):
  mesa-dri/xlib: use target commands in mklib file
  gdk-pixbuf: pick up ${NM} to fix libtool naming issue
  xinput: add xinput from oe
  xinput-calibrator: add touchscreen support

 .../gdk-pixbuf-2.24.0/configure-nm.patch           |   32 ++++++
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb |    3 +
 .../mesa-use-target-commands-in-mklib.patch        |  104 ++++++++++++++++++++
 meta/recipes-graphics/mesa/mesa-dri_7.11.bb        |    3 +-
 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb       |    3 +-
 .../pointercal-xinput/bug20/pointercal.xinput      |    1 +
 .../pointercal-xinput/iphone3g/pointercal.xinput   |    1 +
 .../pointercal-xinput/nokia900/pointercal.xinput   |    2 +
 .../pointercal-xinput/om-gta01/pointercal.xinput   |    2 +
 .../pointercal-xinput/om-gta02/pointercal.xinput   |    2 +
 .../pointercal-xinput/pointercal.xinput            |    1 +
 .../xinput-calibrator/pointercal-xinput_0.0.bb     |   21 ++++
 .../xinput-calibrator/xinput-calibrator_0.7.5.bb   |   24 +++++
 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb     |   10 ++
 14 files changed, 207 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.24.0/configure-nm.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/bug20/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/iphone3g/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/nokia900/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta01/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/om-gta02/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput/pointercal.xinput
 create mode 100644 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
 create mode 100644 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb
 create mode 100644 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb

-- 
1.7.5.1.300.gc565c




^ permalink raw reply

* missing mesa-dri dependency?
From: Koen Kooi @ 2011-10-13  8:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

I remember fixing this in meta-oe, but now exactly how. IIRC both mesa-xlib and mesa-dri needed to get built.

configure: error: Package requirements (glproto >= 1.4.14 dri >= 7.8.0) were not met:
| 
| No package 'dri' found
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables DRI_CFLAGS
| and DRI_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
| + exit 1
| ERROR: Function 'do_configure' failed (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/xserver-xorg-1_1.11.1-r0/temp/log.do_configure.3602 for further information)
NOTE: package xserver-xorg-1_1.11.1-r0: task do_configure: Failed
ERROR: Task 1842 (/OE/tentacle/sources/openembedded-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb, do_configure) failed with exit code '1'

regards,

Koen


^ permalink raw reply

* [PATCH 1/1] qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
From: wenzong.fan @ 2011-10-13  2:22 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1318472103.git.wenzong.fan@windriver.com>

From: Wenzong Fan <wenzong.fan@windriver.com>

[YOCTO #1671]

qt4-x11-free's recipe includes a sed script to sanitize it's .prl files,
which are used by qmake to generate a list of libs and includes in the
Makefiles it generates. It however, fails to take into account the possibility
of trailing slashes, and thus leaves them in, and breaks gcc's syntax.
Update these regexes to account for them.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-qt/qt4/qt4.inc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index d6382f5..1406a87 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -294,13 +294,13 @@ do_install() {
 	rm -f ${D}/${bindir}/lrelease
 
 	# fix pkgconfig, libtool and prl files
-	sed -i -e s#-L${S}/lib##g \
-			-e s#-L${STAGING_LIBDIR}##g \
+	sed -i -e s#-L${S}/lib/\?##g \
+			-e s#-L${STAGING_LIBDIR}/\?##g \
 			-e 's#STAGING_LIBDIR}#libdir}'#g \
-			-e s#-L${libdir}##g \
+			-e s#-L${libdir}/\?##g \
 			-e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \
-			-e s#" -Wl,-rpath-link,${S}/lib"##g \
-			-e s#" -Wl,-rpath-link,${libdir}"##g \
+			-e s#" -Wl,-rpath-link,${S}/lib/\?"##g \
+			-e s#" -Wl,-rpath-link,${libdir}/\?"##g \
 			-e 's#Iin#I${in#g' \
 			${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc
 
-- 
1.7.0.4




^ permalink raw reply related

* [PATCH 0/1] qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
From: wenzong.fan @ 2011-10-13  2:22 UTC (permalink / raw)
  To: openembedded-core

From: Wenzong Fan <wenzong.fan@windriver.com>

This patch merged from Wind River Linux, it fix a potential '/' issue for
qt4-x11-free.

[yocto bug id: 1671]

The following changes since commit b92b776d56e64a437181de9bc76f8dcc8e15a5f8:
  Richard Purdie (1):
        meta-yocto: Catch up with xserver and mesa upgrades/rename

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/qt4_trailingslash
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/qt4_trailingslash

Wenzong Fan (1):
  qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.

 meta/recipes-qt/qt4/qt4.inc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)




^ permalink raw reply

* GIT_CORE_CONFIG needed? set by default?
From: McClintock Matthew-B29882 @ 2011-10-12 23:37 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

All,

I was having more issues with git over our proxy (again) and realized
we were not setting GIT_CORE_CONFIG. This enables creation of the
gitconfig file - otherwise it's not created. I'm not entirely sure if
it falls back to the users gitconfig or not - point is I was thinking
we should have this set by default so the gitconfig is created for the
git related fetching and we can count on a consistent environment when
it comes to debugging (we don't want to get messages with git failures
only to find out the user has some weird foo in their own gitconfig).

Comments?

-M



^ permalink raw reply

* [PATCH] gamin: Fix glib 2.30 deprecation issues
From: Richard Purdie @ 2011-10-12 22:33 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-extended/gamin/gamin/noconst.patch b/meta/recipes-extended/gamin/gamin/noconst.patch
new file mode 100644
index 0000000..7b2998c
--- a/dev/null
+++ b/meta/recipes-extended/gamin/gamin/noconst.patch
@@ -0,0 +1,59 @@
+G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
+build failures.
+
+RP 2011/10/12
+
+Upstream-Status: Pending
+
+Index: gamin-0.1.10/server/gam_node.c
+===================================================================
+--- gamin-0.1.10.orig/server/gam_node.c	2011-10-12 15:25:45.217178314 +0100
++++ gamin-0.1.10/server/gam_node.c	2011-10-12 15:26:17.807178293 +0100
+@@ -122,7 +122,7 @@
+  * it has finished with the string.  If it must keep it longer, it
+  * should makes its own copy.  The returned string must not be freed.
+  */
+-G_CONST_RETURN char *
++const char *
+ gam_node_get_path(GamNode * node)
+ {
+     g_assert(node);
+Index: gamin-0.1.10/server/gam_node.h
+===================================================================
+--- gamin-0.1.10.orig/server/gam_node.h	2011-10-12 15:25:46.857178269 +0100
++++ gamin-0.1.10/server/gam_node.h	2011-10-12 15:26:28.637178297 +0100
+@@ -58,7 +58,7 @@
+ void                  gam_node_set_is_dir          (GamNode         *node,
+ 						   gboolean        is_dir);
+ 	
+-G_CONST_RETURN char  *gam_node_get_path            (GamNode         *node);
++const char  *gam_node_get_path            (GamNode         *node);
+ 
+ GList                *gam_node_get_subscriptions   (GamNode         *node);
+ 
+Index: gamin-0.1.10/server/gam_subscription.c
+===================================================================
+--- gamin-0.1.10.orig/server/gam_subscription.c	2011-10-12 15:25:40.497177525 +0100
++++ gamin-0.1.10/server/gam_subscription.c	2011-10-12 15:26:39.867178304 +0100
+@@ -141,7 +141,7 @@
+  * @param sub the GamSubscription
+  * @returns The path being monitored.  It should not be freed.
+  */
+-G_CONST_RETURN char *
++const char *
+ gam_subscription_get_path(GamSubscription * sub)
+ {
+     if (sub == NULL)
+Index: gamin-0.1.10/server/gam_subscription.h
+===================================================================
+--- gamin-0.1.10.orig/server/gam_subscription.h	2011-10-12 15:25:28.507178266 +0100
++++ gamin-0.1.10/server/gam_subscription.h	2011-10-12 15:25:58.817178285 +0100
+@@ -21,7 +21,7 @@
+ 
+ int                  gam_subscription_get_reqno    (GamSubscription *sub);
+ 
+-G_CONST_RETURN char *gam_subscription_get_path     (GamSubscription *sub);
++const char *gam_subscription_get_path     (GamSubscription *sub);
+ 
+ GamListener         *gam_subscription_get_listener (GamSubscription *sub);
+ 
diff --git a/meta/recipes-extended/gamin/gamin_0.1.10.bb b/meta/recipes-extended/gamin/gamin_0.1.10.bb
index 080a325..9da7e51 100644
--- a/meta/recipes-extended/gamin/gamin_0.1.10.bb
+++ b/meta/recipes-extended/gamin/gamin_0.1.10.bb
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=412a9be54757a155d0b997b52b519f62"
 
 DEPENDS = "glib-2.0"
 PROVIDES = "fam"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.gnome.org/~veillard/gamin/sources/gamin-${PV}.tar.gz \
-           file://no-abstract-sockets.patch"
+           file://no-abstract-sockets.patch \
+           file://noconst.patch"
 
 SRC_URI[md5sum] = "b4ec549e57da470c04edd5ec2876a028"
 SRC_URI[sha256sum] = "28085f0ae8be10eab582ff186af4fb0be92cc6c62b5cc19cd09b295c7c2899a1"





^ permalink raw reply related

* Re: [PATCH] eds: Update to work with glib-2.0
From: Richard Purdie @ 2011-10-12 22:29 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
In-Reply-To: <4E96082C.3040803@intel.com>

On Wed, 2011-10-12 at 14:35 -0700, Saul Wold wrote:
> On 10/12/2011 06:39 AM, Richard Purdie wrote:
> > Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> > ---
> > diff --git a/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch b/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch
> > new file mode 100644
> > index 0000000..0785a93
> > --- a/dev/null
> > +++ b/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch
> > @@ -0,0 +1,78 @@
> > +G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
> > +build failures. Also resolve other deprecation issues.
> > +
> > +RP 2011/10/12
>
> Shouldn't this really be a "Signed-off-by" line?

The original intent with patches was to understand who wrote them. That
is extremely useful information in X years time and was missing in many
cases. The sign-off doesn't mean much in this context. The above does
identify who wrote it (and when) so I'm not convinced there is a problem
there. Admittedly I have not put my full name or email address so its
not as clear as it could be but I've been doing this for a while now and
I'm the only one signing patches with those initials...

Cheers,

Richard




^ permalink raw reply

* Re: [PATCHv2 29/30] mesa: add new version 7.11
From: Richard Purdie @ 2011-10-12 22:03 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <461d8d90b6867c179cf5cfac8a5f5a2dd9347e26.1317648041.git.Martin.Jansa@gmail.com>

On Mon, 2011-10-03 at 15:29 +0200, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-graphics/mesa/mesa-7.11.inc           |   15 ++++++++++
>  .../mesa/mesa-dri-glsl-native_7.11.bb              |   28 ++++++++++++++++++++
>  meta/recipes-graphics/mesa/mesa-dri_7.11.bb        |    4 +++
>  meta/recipes-graphics/mesa/mesa-xlib_7.11.bb       |    4 +++
>  4 files changed, 51 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
>  create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
>  create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb
>  create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb

I've been seeing a ton of different issues after the xserver upgrade
with mesa/driver mismatches. In order to try and get some stability back
to master, I've merged just enough of the mesa upgrade to 7.11 to get
things building again.

Looking at the rest of the patch, I have worried about "machine
specific" elements in something which is not machine specific. The rest
of the pieces are likley going to need more thought (per arch default
config?).

We should be able to sort through the remaining changes in this patch
series as I like moving things to the common include, it just needs to
be split from the version upgrade and the machine issue resolved.

I've also bumped the video-intel driver version and merged a fix to get
things to build.

Cheers,

Richard






^ permalink raw reply

* Re: [PATCH] eds: Update to work with glib-2.0
From: Saul Wold @ 2011-10-12 21:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <1318426805.23801.164.camel@ted>

On 10/12/2011 06:39 AM, Richard Purdie wrote:
> Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch b/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch
> new file mode 100644
> index 0000000..0785a93
> --- a/dev/null
> +++ b/meta/recipes-sato/eds/eds-dbus/depbuildfix.patch
> @@ -0,0 +1,78 @@
> +G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
> +build failures. Also resolve other deprecation issues.
> +
> +RP 2011/10/12
> +
Shouldn't this really be a "Signed-off-by" line?

Sau!

> +Upstream-Status: Pending
> +
> +Index: git/libedataserver/e-data-server-util.c
> +===================================================================
> +--- git.orig/libedataserver/e-data-server-util.c	2011-10-12 01:42:40.622045788 +0100
> ++++ git/libedataserver/e-data-server-util.c	2011-10-12 01:48:16.732045664 +0100
> +@@ -165,7 +165,8 @@
> + static gunichar
> + stripped_char (gunichar ch)
> + {
> +-        gunichar *decomp, retval;
> ++        gunichar decomp[4];
> ++        gunichar retval;
> +         GUnicodeType utype;
> +         gsize dlen;
> +
> +@@ -175,7 +176,7 @@
> +         case G_UNICODE_CONTROL:
> +         case G_UNICODE_FORMAT:
> +         case G_UNICODE_UNASSIGNED:
> +-        case G_UNICODE_COMBINING_MARK:
> ++        case G_UNICODE_SPACING_MARK:
> +                 /* Ignore those */
> +                 return 0;
> +                break;
> +@@ -183,7 +184,7 @@
> +                 /* Convert to lowercase, fall through */
> +                 ch = g_unichar_tolower (ch);
> +         case G_UNICODE_LOWERCASE_LETTER:
> +-                if ((decomp = g_unicode_canonical_decomposition (ch,&dlen))) {
> ++                if ((dlen = g_unichar_fully_decompose (ch, FALSE, decomp, 4))) {
> +                         retval = decomp[0];
> +                         g_free (decomp);
> +                         return retval;
> +Index: git/addressbook/libedata-book/e-data-book-factory.c
> +===================================================================
> +--- git.orig/addressbook/libedata-book/e-data-book-factory.c	2011-10-12 01:52:25.692045500 +0100
> ++++ git/addressbook/libedata-book/e-data-book-factory.c	2011-10-12 01:53:31.862045707 +0100
> +@@ -238,7 +238,7 @@
> + 	return g_strdup_printf (
> + 		"/org/gnome/evolution/dataserver/addressbook/%d/%u",
> + 		getpid (),
> +-		g_atomic_int_exchange_and_add (&counter, 1));
> ++		g_atomic_int_add (&counter, 1));
> + }
> +
> + static void
> +Index: git/addressbook/libedata-book/e-data-book.c
> +===================================================================
> +--- git.orig/addressbook/libedata-book/e-data-book.c	2011-10-12 01:54:40.752045465 +0100
> ++++ git/addressbook/libedata-book/e-data-book.c	2011-10-12 01:55:16.012045897 +0100
> +@@ -553,7 +553,7 @@
> +
> + 	return g_strdup_printf ("/org/gnome/evolution/dataserver/addressbook/BookView/%d/%d",
> + 				getpid (),
> +-				g_atomic_int_exchange_and_add ((int*)&counter, 1));
> ++				g_atomic_int_add ((int*)&counter, 1));
> + }
> +
> + static void
> +Index: git/calendar/libedata-cal/e-data-cal-factory.c
> +===================================================================
> +--- git.orig/calendar/libedata-cal/e-data-cal-factory.c	2011-10-12 01:57:56.612045081 +0100
> ++++ git/calendar/libedata-cal/e-data-cal-factory.c	2011-10-12 01:57:58.832045211 +0100
> +@@ -227,7 +227,7 @@
> + 	return g_strdup_printf (
> + 		"/org/gnome/evolution/dataserver/calendar/%d/%u",
> + 		getpid (),
> +-		g_atomic_int_exchange_and_add (&counter, 1));
> ++		g_atomic_int_add (&counter, 1));
> + }
> +
> + static void
> diff --git a/meta/recipes-sato/eds/eds-dbus_git.bb b/meta/recipes-sato/eds/eds-dbus_git.bb
> index 7fa8311..9424353 100644
> --- a/meta/recipes-sato/eds/eds-dbus_git.bb
> +++ b/meta/recipes-sato/eds/eds-dbus_git.bb
> @@ -12,7 +12,7 @@ DEPENDS = "intltool-native glib-2.0 gtk+ gconf dbus db gnome-common virtual/libi
>
>   SRCREV = "7337d11aed576e7caaa12b4e881ad8d33668799f"
>   PV = "2.30+git${SRCPV}"
> -PR = "r1"
> +PR = "r3"
>
>   SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \
>              file://oh-contact.patch;striplevel=0 \
> @@ -20,6 +20,7 @@ SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \
>              file://optional_imapx_provider.patch \
>              file://new-contact-fix.patch \
>              file://old-gdk-api.patch \
> +           file://depbuildfix.patch \
>              file://iconv-detect.h"
>
>   S = "${WORKDIR}/git"
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




^ permalink raw reply

* Re: [oe-core 3/4] conf: machine: includes: add armv6-novfp support
From: Phil Blundell @ 2011-10-12 21:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <9e0189cadfc1211c918dac076619f71ec3e4d19a.1318405370.git.Martin.Jansa@gmail.com>

On Wed, 2011-10-12 at 09:45 +0200, Martin Jansa wrote:
>-TUNE_FEATURES_tune-armv6 ?= "armv6 vfp"
<-TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb"
> +AVAILTUNES += "armv6 armv6t"
> +TUNE_FEATURES_tune-armv6 ?= "armv6"
> +TUNE_FEATURES_tune-armv6t ?= "armv6 thumb"
> +PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv6"
> +PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv6 armv6t"
> +
> +# Little Endian +  VFP
> +AVAILTUNES += "armv6-vfp armv6t-vfp armv6hf-vfp armv6thf-vfp"
> +TUNE_FEATURES_tune-armv6-vfp ?= "armv6 vfp"

This patch doesn't seem to do what it says in the subject line.  It
doesn't add an "armv6-novfp" tune, instead it removes vfp from the
existing armv6 and armv6t tunes.

p.





^ permalink raw reply

* [PATCH 0/1] linux-yocto: config cleanup and streamlining
From: Bruce Ashfield @ 2011-10-12 20:58 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Richard/Saul,

This is a master only pull request (not that I need to
tell you that) that contains some cleanups that Tom has been
doing for various intel BSPs (although the changes will be
useful elsewhere).

I've also pushed these out to the dev kernel, in case anyone
is interested.

This incorporates the following meta branch commits:

  353d43d fri2: cleanup bsp config
  2a605e2 sugarbay: cleanup bsp config
  47b76ed fishriver: cleanup bsp config
  ad6edab jasperforest: cleanup bsp config
  07f7e89 emenlow: cleanup bsp config
  d32a651 crownbay: cleanup bsp config
  ad2d621 meta: add vesafb feature
  913facf features/drm-psb: add related config options

cc: Tom Zanussi <tom.zanussi@intel.com>

Cheers,

Bruce

The following changes since commit 2cf9fb4df498fe0e4fa8356dc663fdfdec9a98cc:

  hal/hal-info: This is unsed in OE-Core and deprecated, drop (2011-10-12 14:12:10 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib zedd/kernel
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (1):
  linux-yocto: config cleanup and streamlining

 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.4.1




^ permalink raw reply

* [PATCH 1/1] linux-yocto: config cleanup and streamlining
From: Bruce Ashfield @ 2011-10-12 20:58 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold
In-Reply-To: <cover.1318452930.git.bruce.ashfield@windriver.com>

This incorporates the following meta branch commits:

  353d43d fri2: cleanup bsp config
  2a605e2 sugarbay: cleanup bsp config
  47b76ed fishriver: cleanup bsp config
  ad6edab jasperforest: cleanup bsp config
  07f7e89 emenlow: cleanup bsp config
  d32a651 crownbay: cleanup bsp config
  ad2d621 meta: add vesafb feature
  913facf features/drm-psb: add related config options

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
index 9746f1a..72db7bf 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
@@ -16,7 +16,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 SRCREV_machine ?= "0936e13cc65d816f1759e2322c5e3fc82a5037f3"
 SRCREV_machine_qemuppc ?= "0936e13cc65d816f1759e2322c5e3fc82a5037f3"
-SRCREV_meta ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"
+SRCREV_meta ?= "353d43d340e87996b4be4c5f6ddb4447e050b65c"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
index c36e8b5..9da7cc1 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -18,7 +18,7 @@ SRCREV_machine_qemuppc ?= "eccd57eaa4c2b580b9adbbc39e19ecbff56779ae"
 SRCREV_machine_qemux86 ?= "72671808fdbe69a9fe03fd8f094e7c59da04a28c"
 SRCREV_machine_qemux86-64 ?= "2b2d0954a6fd12b4bb7f02f019bc62633c8060a1"
 SRCREV_machine ?= "6b2c7d65b844e686eae7d5cccb9b638887afe28e"
-SRCREV_meta ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"
+SRCREV_meta ?= "353d43d340e87996b4be4c5f6ddb4447e050b65c"
 
 PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
-- 
1.7.4.1




^ permalink raw reply related

* Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
From: Eric Bénard @ 2011-10-12 20:09 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <4E95EFEB.6040204@gravedo.de>

Hi,

Le 12/10/2011 21:52, Simon Busch a écrit :
> I will provide another patch in the following days which just makes
> qte.sh use of a std. linux input dev node instead of a tslib one if
> nobody has any objections against this.
>
maybe moving qt4-embedded-conf in its own recipe would be better : that would 
allow qte.sh customization without having to rebuild qt4-embedded.
Then you could have qte.sh with linux input in your machine's overlay and 
could keep the default qte.sh as it actually is in oe-core.

Also, does defaulting to linux input dev works in qemu machines (for example 
with qt4e-demo-image ?

Eric



^ permalink raw reply

* Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
From: Simon Busch @ 2011-10-12 19:52 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <4E95EA85.5040301@gravedo.de>

On 12.10.2011 21:29, Simon Busch wrote:
> On 12.10.2011 21:24, Simon Busch wrote:
>> On 12.10.2011 21:09, Koen Kooi wrote:
>>>> What is breaking qt:e in this case? For me it's just a feature reduction
>>>> and not a break (as qt:e still works fine with the linux input interface).
>>>
>>> When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
>>
>> You're talking here about one case where tslib is needed to get a
>> working touchscreen. But there are even cases where tslib is not needed
>> to get a working touchscreen.
>>
>> qt:e does not strongly depends on tslib, it can work without. So if you
>> need it you should add it to your machine layer as it is really machine
>> specific if you need tslib or not.
> 
> Eric brings it to the point, only resetting the qte.sh script to a
> default one which uses a linux input even node should be enough.

Sorry for my little generic trip ... :)

I will provide another patch in the following days which just makes
qte.sh use of a std. linux input dev node instead of a tslib one if
nobody has any objections against this.

regards,
Simon

-- 
Simon Busch - http://mm.gravedo.de/blog/



^ permalink raw reply

* Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
From: Chris Larson @ 2011-10-12 19:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <4E95E97B.10707@gravedo.de>

On Wed, Oct 12, 2011 at 12:24 PM, Simon Busch <morphis@gravedo.de> wrote:
> On 12.10.2011 21:09, Koen Kooi wrote:
>>> What is breaking qt:e in this case? For me it's just a feature reduction
>>> and not a break (as qt:e still works fine with the linux input interface).
>>
>> When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
>
> You're talking here about one case where tslib is needed to get a
> working touchscreen. But there are even cases where tslib is not needed
> to get a working touchscreen.

The base should be the bare min necessary to function in the common
case, in my opinion. Touchscreens that don't require calibration are
few and far between, so making the majority of machines with
touchscreens have to override it seems far from ideal.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



^ permalink raw reply

* Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
From: Simon Busch @ 2011-10-12 19:29 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <4E95E97B.10707@gravedo.de>

On 12.10.2011 21:24, Simon Busch wrote:
> On 12.10.2011 21:09, Koen Kooi wrote:
>>> What is breaking qt:e in this case? For me it's just a feature reduction
>>> and not a break (as qt:e still works fine with the linux input interface).
>>
>> When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.
> 
> You're talking here about one case where tslib is needed to get a
> working touchscreen. But there are even cases where tslib is not needed
> to get a working touchscreen.
> 
> qt:e does not strongly depends on tslib, it can work without. So if you
> need it you should add it to your machine layer as it is really machine
> specific if you need tslib or not.

Eric brings it to the point, only resetting the qte.sh script to a
default one which uses a linux input even node should be enough.


-- 
Simon Busch - http://mm.gravedo.de/blog/



^ permalink raw reply

* Re: [oe-core 1/4] qt4-embedded: remove dependency on tslib and use std. linux input
From: Simon Busch @ 2011-10-12 19:24 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <E575A7CF-9F72-418C-8143-9BA2701599BC@dominion.thruhere.net>

On 12.10.2011 21:09, Koen Kooi wrote:
>> What is breaking qt:e in this case? For me it's just a feature reduction
>> and not a break (as qt:e still works fine with the linux input interface).
> 
> When your TS is suddenly uncalibrated and jittery, it's a breakage, not a feature reduction.

You're talking here about one case where tslib is needed to get a
working touchscreen. But there are even cases where tslib is not needed
to get a working touchscreen.

qt:e does not strongly depends on tslib, it can work without. So if you
need it you should add it to your machine layer as it is really machine
specific if you need tslib or not.

regards,
Simon

-- 
Simon Busch - http://mm.gravedo.de/blog/



^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox