[oe] [meta-oe][PATCH] tslib: Align recipe content to better match v1.15

Khem Raj raj.khem at gmail.com
Mon Apr 9 22:22:05 UTC 2018


On 4/9/18 9:06 AM, Niko Mauno wrote:
> Respective changes to recipe:
>  - updated AUTHOR field to match current author in tslib/AUTHORS file
>  - updated LICENSE field to 'LGPLv2+ & GPLv2+' to reflect licenses in
>    v1.15 (LGPLv2+ for shared library parts, GPLv2+ for command line
>    utility parts)
>  - updated LIC_FILES_CHECKSUM to contain COPYING files for both license
>    families
>  - dropped EXTRA_OECONF altogether as it contained just obsoleted or
>    implied configure options

Perhaps a set of packageconfigs would be desired. It may not be
reflecting exact set as seen here but whatever knobs currently are
available.

Other parts look good.

>  - removed commented-out detect-stylus lines (a detect-stylus recipe
>    was apparently available in OE-Classic)
> 
> Signed-off-by: Niko Mauno <niko.mauno at vaisala.com>
> ---
>  meta-oe/recipes-graphics/tslib/tslib_1.15.bb | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
> 
> diff --git a/meta-oe/recipes-graphics/tslib/tslib_1.15.bb b/meta-oe/recipes-graphics/tslib/tslib_1.15.bb
> index e87b411a8..dca5506b6 100644
> --- a/meta-oe/recipes-graphics/tslib/tslib_1.15.bb
> +++ b/meta-oe/recipes-graphics/tslib/tslib_1.15.bb
> @@ -5,10 +5,13 @@ Tslib is generally used on embedded devices to provide a common user \
>  space interface to touchscreen functionality."
>  HOMEPAGE = "http://tslib.org/"
>  
> -AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
> +AUTHOR = "Martin Kepplinger <martink at posteo.de>"
>  SECTION = "base"
> -LICENSE = "LGPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=fc178bcd425090939a8b634d1d6a9594"
> +LICENSE = "LGPLv2+ & GPLv2+"
> +LIC_FILES_CHKSUM = "\
> +    file://COPYING;md5=fc178bcd425090939a8b634d1d6a9594 \
> +    file://tests/COPYING;md5=a23a74b3f4caf9616230789d94217acb \
> +"
>  
>  SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz \
>             file://ts.conf \
> @@ -21,8 +24,6 @@ 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
>  }
> @@ -32,9 +33,6 @@ do_install_append() {
>      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 tslib-uinput"
> 




More information about the Openembedded-devel mailing list