Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: What is preferred matchbox-keyboard provider nowadays?
Date: Sat, 26 Jun 2010 14:03:14 +0200	[thread overview]
Message-ID: <20100626120314.GL17650@jama> (raw)
In-Reply-To: <i02s5v$j7s$1@dough.gmane.org>

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@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@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@gmail.com



  reply	other threads:[~2010-06-26 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-25 17:16 What is preferred matchbox-keyboard provider nowadays? Martin Jansa
2010-06-25 18:22 ` Koen Kooi
2010-06-26 12:03   ` Martin Jansa [this message]
2010-06-26 12:11     ` [PATCH] matchbox-keyboard*: drop RPROVIDES Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100626120314.GL17650@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox