Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315357 - desktop-effects-0.8.5.ebuild (New Package)
Summary: desktop-effects-0.8.5.ebuild (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 23:16 UTC by Dan Ziemba
Modified: 2010-04-16 09:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
desktop-effects-0.8.5.ebuild (desktop-effects-0.8.5.ebuild,976 bytes, text/plain)
2010-04-14 23:17 UTC, Dan Ziemba
Details
Patch needed for 0.8.5 ebuild (desktop-effects-0.8.5-adapt_to_gentoo.patch,1.88 KB, patch)
2010-04-14 23:18 UTC, Dan Ziemba
Details | Diff
New ebuild for 0.8.6 (desktop-effects-0.8.6.ebuild,983 bytes, text/plain)
2010-04-15 00:07 UTC, Dan Ziemba
Details
patch for new GTK+ 2.20 API (desktop-effects-0.8.6-gtk-2.20-fix.patch,787 bytes, patch)
2010-04-16 09:02 UTC, Michael Weber (RETIRED)
Details | Diff
alternative ebuild which does not pull compiz (desktop-effects-0.8.6-gtk-2.20-fix.patch,787 bytes, text/plain)
2010-04-16 09:09 UTC, Michael Weber (RETIRED)
Details
alternative ebuild which does not pull compiz (desktop-effects-0.8.6.ebuild,1.58 KB, text/plain)
2010-04-16 09:12 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Ziemba 2010-04-14 23:16:34 UTC
I have created a new ebuild for desktop-effects-0.8.5 with a patch to allow it to operate properly in a Gentoo environment.

desktop-effects is a package developed by Fedora, and included in recent versions of Fedora linux, that provides a simple way of enabling and disabling desktop effects such as compiz or gnome-shell.  See here for a screenshot: http://osdir.com/ml/attachments/jpgZIdHg7tSbO.jpg

Fedora's version uses a external script called compiz-gtk from their compiz-gnome package.  I have adapted their source to use Gentoo's compiz-manager. I have also included compiz-manager.desktop so that when 'desktop/gnome/session/required_components/windowmanager' is set to compiz-manager, gnome-session will still load it at login.  I don't think this desktop file is quite right yet because .xsession-errors shows that it failed to register before timeout, but it does at least work.  

I will continue work on this, and I would like to suggest that it be included in portage after the 'failed to register before timeout' problem is solved.
Comment 1 Dan Ziemba 2010-04-14 23:17:30 UTC
Created attachment 227827 [details]
desktop-effects-0.8.5.ebuild
Comment 2 Dan Ziemba 2010-04-14 23:18:09 UTC
Created attachment 227829 [details, diff]
Patch needed for 0.8.5 ebuild
Comment 3 Dan Ziemba 2010-04-15 00:07:48 UTC
Created attachment 227833 [details]
New ebuild for 0.8.6

New upstream release, 0.8.5 patch still works.
Comment 4 Dan Ziemba 2010-04-15 00:11:41 UTC
It seems that the bug about failing to register before timeout has nothing to do with how I wrote the .desktop file.  I looked at the gnome-session code, and found the following:

for (a = manager->priv->pending_apps; a; a = a->next) {
    g_warning ("Application '%s' failed to register before timeout",
               gsm_app_peek_app_id (a->data));
    g_signal_handlers_disconnect_by_func (a->data, app_registered, manager);
    /* FIXME: what if the app was filling in a required slot? */
}

Since the window manager is a required slot, the problem is most likely with gnome-session.  Also, I am running gnome-session-2.30.0, so this may not even effect current in portage builds.
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-04-16 09:02:34 UTC
Created attachment 228001 [details, diff]
patch for new GTK+ 2.20 API

Thanks to hicham at #gentoo-desktop
Comment 6 Michael Weber (RETIRED) gentoo-dev 2010-04-16 09:09:10 UTC
Created attachment 228003 [details]
alternative ebuild which does not pull compiz

I got this from hicham at #gentoo-desktop and updated it. 
Compiz is optional, but compizconfig-backend-gconf should be installed with it.
Comment 7 Michael Weber (RETIRED) gentoo-dev 2010-04-16 09:12:30 UTC
Created attachment 228005 [details]
alternative ebuild which does not pull compiz

I got this from hicham at #gentoo-desktop and updated it. 
Compiz is optional, but compizconfig-backend-gconf should be installed with it.

(sry, uploaded old version)