From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 16/32 v2] package/matchbox-common: fix dependencies
Date: Tue, 9 Jun 2015 23:51:04 +0200 [thread overview]
Message-ID: <20150609215104.GA3671@free.fr> (raw)
In-Reply-To: <20150609230440.6a91bd70@free-electrons.com>
Thomas, All,
On 2015-06-09 23:04 +0200, Thomas Petazzoni spake thusly:
> On Wed, 3 Jun 2015 22:41:33 +0200, Yann E. MORIN wrote:
> > matchbox-common can be used by both matchbox-desktop and matchbox-panel,
> > so it needs to depend on either, not both.
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> > ---
> > package/matchbox-common/Config.in | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/package/matchbox-common/Config.in b/package/matchbox-common/Config.in
> > index 33d6cc4..5a038e1 100644
> > --- a/package/matchbox-common/Config.in
> > +++ b/package/matchbox-common/Config.in
> > @@ -1,7 +1,7 @@
> > config BR2_PACKAGE_MATCHBOX_COMMON
> > bool "matchbox-common"
> > select BR2_PACKAGE_MATCHBOX_LIB
> > - depends on BR2_PACKAGE_MATCHBOX_PANEL && BR2_PACKAGE_MATCHBOX_DESKTOP
> > + depends on BR2_PACKAGE_MATCHBOX_PANEL || BR2_PACKAGE_MATCHBOX_DESKTOP
> > help
> > Common desktop folders and matchbox-session script.
> >
>
> I'll apply because I want to apply the rest of the series, but why are
> we doing this in the first place? I don't think packages in Buildroot
> have a "depends on" on things that can *use* them. The dependencies in
> Buildroot are always the other way around: you use a 'depends on' or a
> 'select' because you need some other thing.
>
> Why isn't matchbox-common maybe always visible, like we do for all
> packages ?
As far as I understand it, matchbox-common installs the "desktop
folders" which are only meaningful with a "desktop manager", i.e. either
matchbox-panel or matchbox-desktop.
Conversely, neither "matchbox-panel" nor "matchbox-desktop" require
"matchbox-common".
So I still believe the dependency is correct:
- no reason to expose matchbox-common if neither matchbox-panel nor
matchbox-desktop is available,
- expose matchbox-common when either or both are enabled,
- no reason to forcibly select matchbox-common from either of those
two packages.
Of course, someone actually using matchbox may well prove me wrong. ;-)
Until then, that's all I can explain of what I understand of the
matchbox stack.
[
Unrelated to that patch, but worth commenting on, however:
Besides, matchbox-panel and matchbox-desktop are not mutually exclusive
at build time; at runtime, they can't both run simultaneously on the
same X display, probably (it would be like running both Kwin and Unity
at the same time on the same X display).
]
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-06-09 21:51 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-03 20:41 [Buildroot] [PATCH 0/32 v2] matchbox: huge cleanups (branch yem/matchbox) Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 01/32 v2] package/matchbox-wm: drop useless commented options Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 02/32 v2] package/matchbox: make matchbox-lib a real package Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 03/32 v2] package/matchbox: make matchbox-wm " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 04/32 v2] package/matchbox: make matchbox-panel " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 05/32 v2] package/matchbox: make matchbox-desktop " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 06/32 v2] package/matchbox: make matchbox-common " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 07/32 v2] package/matchbox: make matchbox-fakekey " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 08/32 v2] package/matchbox: make matchbox-keyboard " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 09/32 v2] package/matchbox: make match-startup-monitor " Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 10/32 v2] package/matchbox: remove superfluous conditional includes Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 11/32 v2] package/matchbox: point to new home Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 12/32 v2] package/matchbox: get rid of intermediate non-package matchbox Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 13/32 v2] package/matchbox-common: move one directory higher Yann E. MORIN
2015-06-03 20:59 ` Arnout Vandecappelle
2015-06-03 20:41 ` [Buildroot] [PATCH 14/32 v2] package/matchbox: fix option prompts Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 15/32 v2] package/matchbox: add missing dependencies to matchbox-lib Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 16/32 v2] package/matchbox-common: fix dependencies Yann E. MORIN
2015-06-09 21:04 ` Thomas Petazzoni
2015-06-09 21:51 ` Yann E. MORIN [this message]
2015-06-09 21:55 ` Thomas Petazzoni
2015-06-03 20:41 ` [Buildroot] [PATCH 17/32 v2] package/matchbox-fakekey: add missing dependency Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 18/32 v2] package/matchbox: finally add prompts to all sub-packages Yann E. MORIN
2015-06-03 21:04 ` Arnout Vandecappelle
2015-06-03 20:41 ` [Buildroot] [PATCH 19/32 v2] package/matchbox-startup-monitor: invert dependency chain Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 20/32 v2] package/matchbox: forcibly disable gconf Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 21/32 v2] package/matchbox: forcibly disable support for compositing Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 22/32 v2] package/matchbox: make it a menu Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 23/32 v2] package/matchbox: enable support for the Xsession manager Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 24/32 v2] package/matchbox: drop useless dependencies Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 25/32 v2] package/matchbox-keyboard: enforce disabling support for cairo Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 26/32 v2] package/matchbox-common: explicitly disable PDA folders when not selected Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 27/32 v2] package/matchbox: wrap long lines Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 28/32 v2] package/matchbox: xlib-libXcursor is an optional dependency Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 29/32 v2] package/matchbox: xlib_libXfixes " Yann E. MORIN
2015-06-03 21:05 ` Arnout Vandecappelle
2015-06-03 20:41 ` [Buildroot] [PATCH 30/32 v2] package/matchbox-panel: use ACPI for the battery applet Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 31/32 v2] package/matchbox-panel: add support for dnotify Yann E. MORIN
2015-06-03 20:41 ` [Buildroot] [PATCH 32/32 v2] package/matchbox-panel: fix WiFi monitoring Yann E. MORIN
2015-06-09 21:12 ` [Buildroot] [PATCH 0/32 v2] matchbox: huge cleanups (branch yem/matchbox) Thomas Petazzoni
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=20150609215104.GA3671@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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