Bug 388586

Summary: get YaST GTK support on a KDE install is a bit awkward
Product: [openSUSE] openSUSE 11.0 Reporter: Johannes Meixner <jsmeix>
Component: GNOMEAssignee: Mauro Parra Miranda <mauro>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P2 - High CC: forgotten_h13THG8RK1, hpj, jsuchome
Version: Beta 2   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.0   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2008-05-09 07:26:08 UTC
I did a 11.0 beta2 installation from scratch
with KDE4 on x86_64 hardware (i.e. without Gnome).

I just liked to run a yast module with the GTK UI using
yast2 --gtk module
but got it in Qt without any hint why
(even y2log didn't show me why I didn't get GTK).

I guessed that some GTK stuff is missing and
that yast2 silently falls back to Qt in this case.

If my assumption is right, plase let is show a stderr
message and write it also to y2log to inform the user
what happened.

Then I installed the yast2-control-center-gnome RPM
because I thought that this would pull in all
what is necessary for the GTK UI.

But now
yast2 --gtk module
fails with a stderr message abuout missing "gnomesu"
because there was no libgnomesu installed.

It would be nice to have appropriate RPM requirements
(of course wak requirements like "recommends")
so that the installer pulls in automatically
all what is necessary to run it with the GTK UI.

I didn't investigate further what else might be missing
and simply installed the whole Gnome pattern.

Now
yast2 --gtk module
works.

Perhaps the same kind of problems happen also the other way round
when Gnome is installed and one wants to run "yast2 --qt module".
Comment 1 Jiří Suchomel 2008-05-12 07:06:14 UTC
According to PDB, yast2-control-center-gnome is maintained by gnome-maintainers@suse.de.


Ricardo, can you do anything about it?
Stefan?

Comment 2 Forgotten User h13THG8RK1 2008-05-12 14:54:27 UTC
Yeah, the gnomesu dependency should be asked by yast2-control-center-gnome -- libgnomesu is the package that delivers /usr/bin/gnomesu. yast2-gtk itself doesn't have any use for it; we could be using control-center-qt, those are just wrappers so the user doesn't have to launch yast tools manually.
I don't package yast2-gtk; I can't help packing the control-center-gnome thing.
Comment 3 Jiří Suchomel 2008-05-13 06:52:52 UTC
Please, adapt yast2-control-center-gnome dependency.

Comment 4 JP Rosevear 2008-09-10 12:36:25 UTC
Mauro, please add a Requires here.
Comment 5 Mauro Parra Miranda 2008-09-23 22:03:24 UTC
fixed package submitted to stable.