[oe] What is preferred matchbox-keyboard provider nowadays?

Martin Jansa martin.jansa at gmail.com
Sat Jun 26 12:03:14 UTC 2010


On Fri, Jun 25, 2010 at 08:22:55PM +0200, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 25-06-10 19:16, Martin Jansa wrote:
> > Image build is showing some strange NOTEs when it finds multiple runtime providers (IIRC before it was only about buildtime providers)
> > 
> > NOTE: multiple providers are available for runtime matchbox-keyboard (matchbox-keyboard, matchbox-keyboard-inputmethod)
> > NOTE: consider defining a PREFERRED_PROVIDER entry to match matchbox-keyboard
> > NOTE: multiple providers are available for runtime matchbox-keyboard-inputmethod (matchbox-keyboard-inputmethod, matchbox-keyboard)
> > NOTE: consider defining a PREFERRED_PROVIDER entry to match matchbox-keyboard-inputmethod
> > 
> > git grep shows it used here:
> > recipes/angstrom/angstrom-gpe-task-base.bb:    matchbox-keyboard \
> > recipes/images/x11-sato-image.bb:       matchbox-keyboard matchbox-keyboard-applet matchbox-keyboard-im \
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:RCONFLICTS_${PN} = "matchbox-keyboard"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:RPROVIDES_${PN} = "matchbox-keyboard"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg \
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:             matchbox-keyboard-applet matchbox-keyboard-applet-dbg"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:FILES_matchbox-keyboard-im-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:FILES_matchbox-keyboard-applet = "${libdir}/matchbox-panel/*.so"
> > recipes/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb:FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug"
> > recipes/matchbox-keyboard/matchbox-keyboard_svn.bb:RCONFLICTS_${PN} = matchbox-keyboard-inputmethod
> > recipes/matchbox-keyboard/matchbox-keyboard_svn.bb:RPROVIDES_${PN} = matchbox-keyboard-inputmethod
> > recipes/multitap-pad/multitap-pad_svn.bb:RCONFLICTS_${PN} = matchbox-keyboard-inputmethod
> > recipes/tasks/task-mamona.bb:    matchbox-keyboard \
> > recipes/tasks/task-openmoko-base.bb:#  matchbox-keyboard-inputmethod \
> > recipes/tasks/task-openmoko-base.bb:#  matchbox-keyboard-im \
> > recipes/tasks/task-openmoko-base.bb:#  matchbox-keyboard-applet \
> > recipes/tasks/task-shr-minimal.bb:  matchbox-keyboard-im \
> > 
> > do we need RPROVIDES_${PN} here or can we replace 
> > recipes/angstrom/angstrom-gpe-task-base.bb:    matchbox-keyboard \
> > recipes/tasks/task-mamona.bb:    matchbox-keyboard \
> > if they are not expecting to pull recipes/matchbox-keyboard/matchbox-keyboard_svn.bb
> > 
> > IIRC runtime providers are not handled correctly in this case anyways, right?
> 
> It has been some years since I last looked that this, but at that time,
> angstrom wanted 'matchbox-keyboard'. Dunno what those -om and -applet
> are about.

I tried to compare the output and matchbox-keyboard_svn.bb provides the same 
as matchbox-keyboard-inputmethod package, but matchbox-keyboard-inputmethod has
extra Xsession.d script and builds also matchbox-keyboard-im (used in SHR to propagate
virtual keyboard clicks to gtk apps) and matchbox-keyboard-applet (I guess applet with 
keybard itself?).

So I think that RPROVIDES_${PN} removal should be OK and RCONFLICTS between matchbox-keyboard 
and matchbox-keyboard-inputmethod is enough to block conflicting files on target.

I'll send patch for this.

BTW: I can confirm that those multiple runtime providers are NOTEd 
only with bitbake master and 1.10 doesn't show them.

bitbake at jama ~/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/matchbox-keyboard-inputmethod-0.0+svnr1910-r11/packages-split $ find
.
./matchbox-keyboard-inputmethod-static
./matchbox-keyboard-inputmethod.shlibdeps
./matchbox-keyboard-applet-dbg
./matchbox-keyboard-im
./matchbox-keyboard-im/usr
./matchbox-keyboard-im/usr/lib
./matchbox-keyboard-im/usr/lib/gtk-2.0
./matchbox-keyboard-im/usr/lib/gtk-2.0/2.10.0
./matchbox-keyboard-im/usr/lib/gtk-2.0/2.10.0/immodules
./matchbox-keyboard-im/usr/lib/gtk-2.0/2.10.0/immodules/libmb-im-invoker.so
./matchbox-keyboard-inputmethod
./matchbox-keyboard-inputmethod/etc
./matchbox-keyboard-inputmethod/etc/X11
./matchbox-keyboard-inputmethod/etc/X11/Xsession.d
./matchbox-keyboard-inputmethod/etc/X11/Xsession.d/80matchboxkeyboard
./matchbox-keyboard-inputmethod/usr
./matchbox-keyboard-inputmethod/usr/bin
./matchbox-keyboard-inputmethod/usr/bin/matchbox-keyboard
./matchbox-keyboard-inputmethod/usr/share
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-ru.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-numpad.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-us.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-extended.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-dvorak.xml
./matchbox-keyboard-inputmethod/usr/share/matchbox-keyboard/keyboard-fi.xml
./matchbox-keyboard-inputmethod/usr/share/applications
./matchbox-keyboard-inputmethod/usr/share/applications/inputmethods
./matchbox-keyboard-inputmethod/usr/share/applications/inputmethods/matchbox-keyboard.desktop
./matchbox-keyboard-inputmethod/usr/share/pixmaps
./matchbox-keyboard-inputmethod/usr/share/pixmaps/matchbox-keyboard.png
./matchbox-keyboard-im.shlibdeps
./matchbox-keyboard-applet.shlibdeps
./matchbox-keyboard-inputmethod-dbg
./matchbox-keyboard-inputmethod-dbg/usr
./matchbox-keyboard-inputmethod-dbg/usr/bin
./matchbox-keyboard-inputmethod-dbg/usr/bin/.debug
./matchbox-keyboard-inputmethod-dbg/usr/bin/.debug/matchbox-keyboard
./matchbox-keyboard-inputmethod-dbg/usr/lib
./matchbox-keyboard-inputmethod-dbg/usr/lib/matchbox-panel
./matchbox-keyboard-inputmethod-dbg/usr/lib/matchbox-panel/.debug
./matchbox-keyboard-inputmethod-dbg/usr/lib/matchbox-panel/.debug/libkeyboard.so
./matchbox-keyboard-inputmethod-dev
./matchbox-keyboard-inputmethod-doc
./matchbox-keyboard-applet
./matchbox-keyboard-applet/usr
./matchbox-keyboard-applet/usr/lib
./matchbox-keyboard-applet/usr/lib/matchbox-panel
./matchbox-keyboard-applet/usr/lib/matchbox-panel/libkeyboard.so
./matchbox-keyboard-im-dbg
./matchbox-keyboard-im-dbg/usr
./matchbox-keyboard-im-dbg/usr/lib
./matchbox-keyboard-im-dbg/usr/lib/gtk-2.0
./matchbox-keyboard-im-dbg/usr/lib/gtk-2.0/2.10.0
./matchbox-keyboard-im-dbg/usr/lib/gtk-2.0/2.10.0/immodules
./matchbox-keyboard-im-dbg/usr/lib/gtk-2.0/2.10.0/immodules/.debug
./matchbox-keyboard-im-dbg/usr/lib/gtk-2.0/2.10.0/immodules/.debug/libmb-im-invoker.so
./matchbox-keyboard-inputmethod-locale

bitbake at jama ~/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/matchbox-keyboard-0.0+svnr1910-r8/packages-split $ find
.
./matchbox-keyboard.shlibdeps
./matchbox-keyboard
./matchbox-keyboard/usr
./matchbox-keyboard/usr/bin
./matchbox-keyboard/usr/bin/matchbox-keyboard
./matchbox-keyboard/usr/share
./matchbox-keyboard/usr/share/matchbox-keyboard
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-ru.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-numpad.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-us.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-extended.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-dvorak.xml
./matchbox-keyboard/usr/share/matchbox-keyboard/keyboard-fi.xml
./matchbox-keyboard/usr/share/applications
./matchbox-keyboard/usr/share/applications/inputmethods
./matchbox-keyboard/usr/share/applications/inputmethods/matchbox-keyboard.desktop
./matchbox-keyboard/usr/share/pixmaps
./matchbox-keyboard/usr/share/pixmaps/matchbox-keyboard.png
./matchbox-keyboard-dbg
./matchbox-keyboard-dbg/usr
./matchbox-keyboard-dbg/usr/bin
./matchbox-keyboard-dbg/usr/bin/.debug
./matchbox-keyboard-dbg/usr/bin/.debug/matchbox-keyboard
./matchbox-keyboard-dev
./matchbox-keyboard-doc
./matchbox-keyboard-locale
./matchbox-keyboard-static

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




More information about the Openembedded-devel mailing list