[compiz] What about splitting the gtk-window-decorator ?!

Treviño trevi55 at gmail.com
Wed Jun 6 17:14:14 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yesterday I sent a patch (http://paste.ubuntu-nl.org/24252/) against
the latest compiz ubuntu gutsy source package to Amaranth, to make
compiz compile (and package, of course) the gtk-window-decorator in
two ways:

 1) as gtk-window-decorator (= compiz-gtk package) using these
configuration parameters:
        --disable-gnome \
        --disable-metacity \
        --disable-gconf \
        [--disable-dbus --disable-dbus-glib] # those can be disabled
too, isn't it?!

 A so built package on an ubuntu environment will depend on:

    libatk1.0-0, libc6, libcairo2, libdbus-1-3, libdbus-glib-1-2,
    libdecoration0, libfontconfig1, libglib2.0-0, libgtk2.0-0,
    libpango1.0-0, libwnck18, libx11-6, libxcursor1, libxext6,
    libxfixes3, libxi6, libxinerama1, libxrandr2


2) as gnome-window-decorator (= compiz-gnome package) enabling all the
gnome related options (and so, metacity teming support, gconf support...)
A package built in this way will depend on:

    libatk1.0-0, libc6, libcairo2, libdbus-1-3, libdbus-glib-1-2,
    libdecoration0, libfontconfig1, libgconf2-4, libglib2.0-0,
    libgtk2.0-0, libmetacity0, liborbit2, libpango1.0-0, libwnck18,
    libx11-6, libxcursor1, libxext6, libxfixes3, libxi6, libxinerama1,
    libxrandr2, libxrender1

As you can see there's no much difference between the two, but the few
differencies are important for non-gnome users since they make them
install gnome related packages like libgconf and libmetacity first of
all, generally unneeded on other environments.

So, in facts, I'd suggest to rename a gtk window decorator with gnome
extensions as gnome-window-decorator, while keeping the
gtk-window-decorator as the default for all the environments...

Of course, the implementation I made for the package is only a
workaround for this and it's working only on debian-based distros, but
I don't think that would be hard to patch the code to make compile
both the gtk-window-decorator and the gnome-winow-decorator in a
different way.
If this isn't possible, I'd suggest to compiz packagers (Amaranth
already knows this) to use a way to split the packages similar to this
for keeping a cross-Desktop-environment.

Regards,
Treviño

- --
Treviño's Blog - Life and Linux
http://3v1n0.tuxfamily.org/blog/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ03VLWz7RN2ADNkRAiePAJ0Xk4L3uXxM2+rSevBFN3PUHKbYcQCgkRqG
WGZr7fb2h4Lo2IWVZoa3bs0=
=k7Uu
-----END PGP SIGNATURE-----



More information about the compiz mailing list