tslib: Align recipe content to better match v1.15
PATCH 1/1 tslib: Align recipe content to better match v1.15
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
- removed commented-out detect-stylus lines (a detect-stylus recipe was apparently available in OE-Classic)
--- meta-oe/recipes-graphics/tslib/tslib_1.15.bb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
meta-oe/recipes-graphics/tslib/tslib_1.15.bb +6 -8
@@ -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 <[email protected]>" 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"
Signature · 1 line
2.11.0
Quoted 9 lines · Niko Mauno
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)
- updatedLIC_FILES_CHECKSUMto contain COPYING files for both license families
- droppedEXTRA_OECONFaltogether 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.
Quoted 49 lines
- removed commented-out detect-stylus lines (a detect-stylus recipe was apparently available in OE-Classic)
Signed-off-by Niko Mauno <[email protected]>--- meta-oe/recipes-graphics/tslib/tslib_1.15.bb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)meta-oe/recipes-graphics/tslib/tslib_1.15.bb +6
-8@@ -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 <[email protected]>" 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"
Quoted 7 lines · Khem Raj
Quoted 2 lines · Niko Mauno
- dropped
EXTRA_OECONFaltogether as it contained just obsoleted or implied configure optionsPerhaps a set of packageconfigs would be desired. It may not be reflecting exact set as seen here but whatever knobs currently are available.
Submitted v2 which introduces also PACKAGECONFIG