Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13307 - [gtk-qt-engine] Reduce dependencies

Attached to Project: Arch Linux
Opened by paul (pwt) - Monday, 16 February 2009, 19:03 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 18 July 2009, 14:40 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Currently gtk-qt-engine depends on kdelibs and libbonoboui. the latter depends on gtk2 and a whole bunch of gnome related libs.

However, the purpose of gtk-qt-engine is to provide a kde look and feel to gtk apps. It only works WITH and FOR gtk/gnome apps.

I seems to me that the dependency on gtk2 and libbonoboui will be satisfied with the gtk/gnome app and not necessarily by gtk-qt-engine itself.

In particular, when a non-gnome gtk app is used, dependency on gnome is not necessary.

Thus, I would suggest to drop the dependency on libbonoboui.

By the way, this is how it is understood by debian/ubuntu.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Saturday, 18 July 2009, 14:40 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Tuesday, 17 February 2009, 09:44 GMT
Without libbonoboui, gtk-qt-engine will not detect buttons on bonobo toolbars. This shouldn't be a problem, as more and more applications are ported to native GTK toolbars and libbonobo(ui) is not used for new applications.
As for the GTK dependency: it is a dependency. Why would you install a theme engine for a toolkit you don't use?
Comment by paul (pwt) - Tuesday, 17 February 2009, 16:27 GMT
Thanks. libbonoboui needs only to be a makedepends.

I was not clear enough: gtk and libbonoboui depnds will be statisfied by the app runnning aith the gtk-qt-engine theme, if this is the case, not by the theme itself.
An example: under kde, I want to run gimp. gimp only needs gtk, not libbonoboui and the gnome stuff. so when I install gtk-qt-engine ang gimp, I don't need libbonoboui (what for ?). and gtk-qt-engine works ok for gimp because gimp brings on gtk.

Your call. Personnally, I rebuild gtk-qt-engine this way and I have no issue.
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 18 February 2009, 03:25 GMT
In my system, i installed the gtk-qt-engine without the libbonoboui all work OK for GTK+ Themes like Clearlooks, Crux, etc.
The libbonobiui is only needed when use the QT theme ("Use KDE style on my GTK applications" in KDE control panel) or almost for GTK+ only apps.

Then if you select this QT theme, when app starts you can see on the console this message:
"(theappname:pid): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory"

Then maybe the libbonoboui is an optdepends if you use only GTK+ programs:
optdepends=('libbonoboui: for running GTK+/GNOME apps with the QT/KDE theme')

And the libbonoboui is always installed for gnome apps.

I hope I have been clear.
Comment by Jan de Groot (JGC) - Wednesday, 18 February 2009, 07:41 GMT
libbonoboui can't be an optdepend, as it's a hard dependency when compiled with support for libbonoboui. I would just disable the whole libbonobo stuff and just depend on gtk2 only. Bonoboui toolbars aren't very common anymore since a long time, and libbonobo will be completely removed from GNOME next year when GNOME 2.30 is released.

As for the gtk2 dependency that is satisfied with your GTK application: It makes no sense to install this engine without the toolkit. If you don't want to run GTK applications, it makes no sense to install this theme engine either.
Comment by paul (pwt) - Wednesday, 18 February 2009, 22:52 GMT
I'm ok with your views. However, it makes no sens to install this theme and NO gtk app with it.

Loading...