[apparmor] Factorize Qt and GTK themes abstractions?

intrigeri intrigeri+debian at boum.org
Wed Aug 22 19:48:17 UTC 2012


Hi,

it was reported as Debian bug #682431 [0] that the AppArmor profile
we've been shipping for Vidalia is incomplete: given a system with Qt
configured to use the GTK theme, which is the Debian Wheezy default,
Vidalia (a Qt application) needs to read files such as
/usr/share/themes/*/gtk-2.0/gtkrc and various ~/.gtk* and friends that
are listed in the gnome abstraction.

On the short term, I could copy these lines from the gnome abstraction
into the Vidalia profile, but for obvious reasons I'd hate doing this
without having better mid-term plans.

So, I think the lines about themes and gtkrc should be extracted from
the gnome abstraction into another abstraction ("gtk"?), that can be
sourced by:

  * the existing "gnome" abstraction
  * a new "qt" abstraction (to be used by the kde abstraction, as well
    as by non-KDE Qt applications)

Thoughts?

If the above makes sense, and given there are tools to do the contrary
(GTK applications using the configured Qt theme), I guess Qt theme
configuration -related lines shall be somehow extracted from the kde
abstraction as well.

 [0] http://bugs.debian.org/682431

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc



More information about the AppArmor mailing list