[OE-core] [PATCH v2 1/1] xinput-calibrator: move it from meta-oe to oe-core
Martin Jansa
martin.jansa at gmail.com
Tue Jul 2 16:50:27 UTC 2013
On Tue, Jul 02, 2013 at 04:25:19PM +0100, Burton, Ross wrote:
> On 1 July 2013 14:57, Laurentiu Palcu <laurentiu.palcu at intel.com> wrote:
> > +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
> > +}
>
> The file always has content because the file in the main recipe has a
> comment in. Personally I think not installing a useless file is the
> right thing to do, so we should change the default pointercal.xinput
> to be empty.
>
> Relatedly, interestingly Weston has a different approach and attaches
> the calibration to the device using udev properties, which means
> systems where touch devices can be hotplugged actually work. I'm
> incredibly tempted to extend xinput-calibrator to write out udev
> fragments and make Xi respect them if they exist...
>
> > +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
> > +inherit autotools systemd
>
> systemd?
>
> > +RPROVIDES_${PN} += "${PN}-systemd"
> > +RREPLACES_${PN} += "${PN}-systemd"
> > +RCONFLICTS_${PN} += "${PN}-systemd"
>
> It doesn't anymore, so these can be dropped.
That means that xinput-calibrator-systemd will stay installed on devices
which already have it.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130702/ec34e644/attachment-0002.sig>
More information about the Openembedded-core
mailing list