[yast-devel] Why you get a Qt UI in your installation - or not
This might be instructive for many of us: User deselects yast2-firewall during installation, and he also doesn't get the Qt UI: https://bugzilla.suse.com/show_bug.cgi?id=952169#c19 Bottom line: There are many indirections; there is no direct 'requires', but a number of conditions: You get a yast-qt-ui if the yast2_basis pattern is fulfilled AND you are installing any of the X11 desktops. If any of the yast2_basis requirements is not fulfilled (in this case: no yast2-firewall), you won't get a yast2-qt-ui, and you'll have a hard time tracking down why not. The NCurses UI, however, is required much more often (and not in such complicated ways), so you can be pretty sure that you'll get that one. CU -- Stefan Hundhammer <shundhammer@suse.de> YaST Developer SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Wed, 4 Nov 2015 17:19:35 +0100 Stefan Hundhammer <shundhammer@suse.de> wrote:
This might be instructive for many of us:
User deselects yast2-firewall during installation, and he also doesn't get the Qt UI:
https://bugzilla.suse.com/show_bug.cgi?id=952169#c19
Bottom line: There are many indirections; there is no direct 'requires', but a number of conditions: You get a yast-qt-ui if the yast2_basis pattern is fulfilled AND you are installing any of the X11 desktops. If any of the yast2_basis requirements is not fulfilled (in this case: no yast2-firewall), you won't get a yast2-qt-ui, and you'll have a hard time tracking down why not.
The NCurses UI, however, is required much more often (and not in such complicated ways), so you can be pretty sure that you'll get that one.
To be honest I do not see reason why qt need yast2_basis and ncurses not. Both should need it or none of it and only differentiator should be some X or qt libraries. ( or kde desktop ). Josef
CU
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 04.11.2015 17:23, Josef Reidinger wrote:
To be honest I do not see reason why qt need yast2_basis and ncurses not. Both should need it or none of it and only differentiator should be some X or qt libraries. ( or kde desktop ).
I guess the reasoning was that with libyui-ncurses there is no harm done - rather get it in one case too many than in one case too few. It doesn't add many dependencies. With libyui-qt, that's another matter: It depends on Qt which has quite a number of subpackages and a large number of dependencies like X11 etc.; even if you install X11 anyway, it might drag quite a number of other X11 stuff in that you wouldn't have otherwise. I can understand why the pattern makers are considerably more reluctant to add libyui-qt to any pattern than libyui-ncurses. IIRC in former times we had something like 'provides: yast2-ui' for all 3 of the UIs, but for some reason that was changed. CU -- Stefan Hundhammer <shundhammer@suse.de> YaST Developer SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Hello, Am Mittwoch, 4. November 2015 schrieb Stefan Hundhammer:
I guess the reasoning was that with libyui-ncurses there is no harm done - rather get it in one case too many than in one case too few. It doesn't add many dependencies.
With libyui-qt, that's another matter: It depends on Qt which has quite a number of subpackages and a large number of dependencies like X11 etc.; even if you install X11 anyway, it might drag quite a number of other X11 stuff in that you wouldn't have otherwise.
Untested idea: in the libyui-qt6 package, add something like Supplements: libQt5Core5 which is basically a "reverse Recommends" - if libQt5Core5 is installed, it should also cause installation of libyui-qt6. (There's also the packageand() syntax if you want it to depend on multiple packages.) Regards, Christian Boltz -- So... Hm... ich bin etwas aufgeschmissen. How to troubleshoot without trouble? [Ratti in fontlinge-devel] -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 4.11.2015 v 20:59 Christian Boltz napsal(a):
Untested idea: in the libyui-qt6 package, add something like
Supplements: libQt5Core5
Um, like looks like a good idea...
which is basically a "reverse Recommends" - if libQt5Core5 is installed, it should also cause installation of libyui-qt6.
(There's also the packageand() syntax if you want it to depend on multiple packages.)
Yes, IMO we should really use the packageand() in this case, you might want to install libQt5 but without YaST. IMHO libyui-qt should be automatically added when libQt5Core5 and yast2 (or yast2-core or any base YaST package) is installed. -- -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (4)
-
Christian Boltz
-
Josef Reidinger
-
Ladislav Slezak
-
Stefan Hundhammer