Ok, this is quite reasonable. At the same time, I don't understand how do you see installation process. Suppose user doesn't have any config.
cabal install yi cabal install yi-pango How will Yi select UI for him, since it's not hardcoded in configuration file yet? 2011/5/11 Jean-Philippe Bernardy <[email protected]> > On Wed, May 11, 2011 at 3:30 PM, <[email protected]> wrote: > > Do you mean keeping UIs in the same package with core? > > No; they can be separate. > > > Or dropping the > > ability to select frontend on startup with cmd args? > > No. > > I am saying the configuration file can link to any number of UIs desired > (ff they are not installed they cannot be mentioned there), > and the user can pick any on the command line. > > > Specifically: > > * in Yi.Config.Default: remove availableFrontends; that way no > frontend is required by Core > * in Yi.Config: replace startFrondEnd by availableFrontends (defaults to > empty) > * in Yi.Main.getConfig: remove from the availableFrontends list all > that do not match the choice of the user. > * At the time of starting the UI, pick the 1st in the > availableFrontends; if not is available refuse to start. > > Cheers, > JP. > > -- > Yi development mailing list > [email protected] > http://groups.google.com/group/yi-devel > -- Yi development mailing list [email protected] http://groups.google.com/group/yi-devel
