aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/compiz-plugins-extra
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-10-29 19:22:40 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-10-29 19:22:40 +0000
commit31eb629e5b1a851158122b649c82d32a5a6038c8 (patch)
tree5f63abbbbb1f4ea9e9f1c1a47d4ad8596421652d /x11-wm/compiz-plugins-extra
parent1ea36b8f14cbf9e0029472c38f9ebacc04c88331 (diff)
- Update compiz-fusion components to 0.6.0.
- Add new compiz-fusion meta-port. Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=202341
Diffstat (limited to 'x11-wm/compiz-plugins-extra')
-rw-r--r--x11-wm/compiz-plugins-extra/Makefile5
-rw-r--r--x11-wm/compiz-plugins-extra/distinfo6
-rw-r--r--x11-wm/compiz-plugins-extra/files/patch-metadata-widget.xml.in10
-rw-r--r--x11-wm/compiz-plugins-extra/files/patch-src-widget-widget.c288
-rw-r--r--x11-wm/compiz-plugins-extra/pkg-plist17
5 files changed, 16 insertions, 310 deletions
diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile
index 6f4b436cd1fc..0e489c937730 100644
--- a/x11-wm/compiz-plugins-extra/Makefile
+++ b/x11-wm/compiz-plugins-extra/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= compiz-fusion-plugins-extra
-PORTVERSION= 0.5.2
-PORTREVISION= 2
+PORTVERSION= 0.6.0
+#PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz-fusion.org/${PORTVERSION}/
@@ -40,7 +40,6 @@ GCONF_SCHEMAS= compiz-addhelper.schemas \
compiz-fadedesktop.schemas \
compiz-firepaint.schemas \
compiz-gears.schemas \
- compiz-gotovp.schemas \
compiz-group.schemas \
compiz-mblur.schemas \
compiz-reflex.schemas \
diff --git a/x11-wm/compiz-plugins-extra/distinfo b/x11-wm/compiz-plugins-extra/distinfo
index a2b4ea67178d..2f0a154a01bf 100644
--- a/x11-wm/compiz-plugins-extra/distinfo
+++ b/x11-wm/compiz-plugins-extra/distinfo
@@ -1,3 +1,3 @@
-MD5 (compiz-fusion-plugins-extra-0.5.2.tar.bz2) = 866a4e5decb8b40df6bd0161dbd24a53
-SHA256 (compiz-fusion-plugins-extra-0.5.2.tar.bz2) = 0fa0259bea5983df832c782751e509b4d392f34124163fb91d387746c93c4f6b
-SIZE (compiz-fusion-plugins-extra-0.5.2.tar.bz2) = 1647092
+MD5 (compiz-fusion-plugins-extra-0.6.0.tar.bz2) = eb5a4ed9c54aa9e0fdf47b24d94b2262
+SHA256 (compiz-fusion-plugins-extra-0.6.0.tar.bz2) = 7eb7a636d327a68da55c1db38a268c6b821203d2fc96fb365ff80817fa3904cd
+SIZE (compiz-fusion-plugins-extra-0.6.0.tar.bz2) = 2293746
diff --git a/x11-wm/compiz-plugins-extra/files/patch-metadata-widget.xml.in b/x11-wm/compiz-plugins-extra/files/patch-metadata-widget.xml.in
deleted file mode 100644
index 5cac61b46763..000000000000
--- a/x11-wm/compiz-plugins-extra/files/patch-metadata-widget.xml.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- metadata/widget.xml.in.orig 2007-08-13 08:12:47.000000000 -0400
-+++ metadata/widget.xml.in 2007-08-24 17:56:48.000000000 -0400
-@@ -6,6 +6,7 @@
- <deps>
- <relation type="before">
- <plugin>fade</plugin>
-+ <plugin>animation</plugin>
- </relation>
- </deps>
- <display>
diff --git a/x11-wm/compiz-plugins-extra/files/patch-src-widget-widget.c b/x11-wm/compiz-plugins-extra/files/patch-src-widget-widget.c
deleted file mode 100644
index ce64f3ced01f..000000000000
--- a/x11-wm/compiz-plugins-extra/files/patch-src-widget-widget.c
+++ /dev/null
@@ -1,288 +0,0 @@
---- src/widget/widget.c.orig 2007-08-24 18:24:42.000000000 -0400
-+++ src/widget/widget.c 2007-08-24 18:25:02.000000000 -0400
-@@ -68,7 +68,6 @@
- PreparePaintScreenProc preparePaintScreen;
- DonePaintScreenProc donePaintScreen;
- PaintWindowProc paintWindow;
-- WindowAddNotifyProc windowAddNotify;
-
- WidgetState state;
-
-@@ -82,7 +81,9 @@
- {
- Bool isWidget;
- Bool wasUnmapped;
-+ CompWindow *parentWidget;
- CompTimeoutHandle matchUpdateHandle;
-+ CompTimeoutHandle inferiorUpdateHandle;
- WidgetPropertyState propertyState;
- } WidgetWindow;
-
-@@ -106,6 +107,41 @@
- GET_WIDGET_SCREEN (w->screen, \
- GET_WIDGET_DISPLAY (w->screen->display)))
-
-+static void
-+widgetUpdateTreeStatus (CompWindow *w)
-+{
-+ CompWindow *p;
-+ WidgetWindow *pww;
-+
-+ WIDGET_SCREEN (w->screen);
-+
-+ /* first clear out every reference to our window */
-+ for (p = w->screen->windows; p; p = p->next)
-+ {
-+ pww = GET_WIDGET_WINDOW (p, ws);
-+ if (pww->parentWidget == w)
-+ pww->parentWidget = NULL;
-+ }
-+
-+ for (p = w->screen->windows; p; p = p->next)
-+ {
-+ Window clientLeader;
-+
-+ if (p->attrib.override_redirect)
-+ clientLeader = getClientLeader (p);
-+ else
-+ clientLeader = p->clientLeader;
-+
-+ if ((clientLeader == w->clientLeader) && (w->id != p->id))
-+ {
-+ WIDGET_SCREEN (w->screen);
-+
-+ pww = GET_WIDGET_WINDOW (p, ws);
-+ pww->parentWidget = w;
-+ }
-+ }
-+}
-+
- static Bool
- widgetUpdateWidgetStatus (CompWindow *w)
- {
-@@ -131,7 +167,7 @@
- return retval;
- }
-
--static void
-+static Bool
- widgetUpdateWidgetPropertyState (CompWindow *w)
- {
- CompDisplay *d = w->screen->display;
-@@ -144,7 +180,7 @@
- WIDGET_WINDOW (w);
-
- result = XGetWindowProperty (d->display, w->id, wd->compizWidgetAtom,
-- 0, 1L, FALSE, XA_CARDINAL, &retType,
-+ 0, 1L, FALSE, AnyPropertyType, &retType,
- &format, &nitems, &remain, &data);
-
- if (result == Success && nitems && data)
-@@ -159,7 +195,7 @@
- else
- ww->propertyState = PropertyNotSet;
-
-- widgetUpdateWidgetStatus (w);
-+ return widgetUpdateWidgetStatus (w);
- }
-
- static void
-@@ -271,6 +307,8 @@
- map = !ww->isWidget || (ws->state != StateOff);
- widgetUpdateWidgetMapState (w, map);
-
-+ widgetUpdateTreeStatus (w);
-+
- (*d->matchPropertyChanged) (d, w);
- }
- }
-@@ -295,19 +333,13 @@
-
- switch (ws->state) {
- case StateOff:
-+ case StateFadeOut:
- widgetSetWidgetLayerMapState (s, TRUE);
- ws->fadeTime = 1000.0f * widgetGetFadeTime (s);
- ws->state = StateFadeIn;
- break;
-- case StateFadeIn:
-- ws->fadeTime = (1000.0f * widgetGetFadeTime (s)) - ws->fadeTime;
-- ws->state = StateFadeOut;
-- break;
-- case StateFadeOut:
-- ws->fadeTime = (1000.0f * widgetGetFadeTime (s)) - ws->fadeTime;
-- ws->state = StateFadeIn;
-- break;
- case StateOn:
-+ case StateFadeIn:
- widgetSetWidgetLayerMapState (s, FALSE);
- ws->fadeTime = 1000.0f * widgetGetFadeTime (s);
- ws->state = StateFadeOut;
-@@ -345,8 +377,33 @@
- w = findWindowAtDisplay (d, event->xproperty.window);
- if (w)
- {
-- widgetUpdateWidgetPropertyState (w);
-- (*d->matchPropertyChanged) (d, w);
-+ if (widgetUpdateWidgetPropertyState (w))
-+ {
-+ Bool map;
-+
-+ WIDGET_SCREEN (w->screen);
-+ WIDGET_WINDOW (w);
-+
-+ map = !ww->isWidget || (ws->state != StateOff);
-+ widgetUpdateWidgetMapState (w, map);
-+ widgetUpdateTreeStatus (w);
-+ (*d->matchPropertyChanged) (d, w);
-+ }
-+ }
-+ }
-+ else if (event->xproperty.atom == d->wmClientLeaderAtom)
-+ {
-+ CompWindow *w;
-+
-+ w = findWindowAtDisplay (d, event->xproperty.window);
-+ if (w)
-+ {
-+ WIDGET_WINDOW (w);
-+
-+ if (ww->isWidget)
-+ widgetUpdateTreeStatus (w);
-+ else if (ww->parentWidget)
-+ widgetUpdateTreeStatus (ww->parentWidget);
- }
- }
- break;
-@@ -368,7 +425,7 @@
- {
- WIDGET_WINDOW (w);
-
-- if (!ww->isWidget)
-+ if (!ww->isWidget && !ww->parentWidget)
- {
- CompOption o;
-
-@@ -409,12 +466,54 @@
- WIDGET_WINDOW (w);
-
- if (widgetUpdateWidgetStatus (w))
-+ {
-+ widgetUpdateTreeStatus (w);
- (*w->screen->display->matchPropertyChanged) (w->screen->display, w);
-+ }
-
- ww->matchUpdateHandle = 0;
- return FALSE;
- }
-
-+static Bool
-+widgetUpdateInferiors (void *closure)
-+{
-+ CompWindow *w = (CompWindow *) closure;
-+ Window clientLeader;
-+
-+ WIDGET_WINDOW (w);
-+
-+ if (w->attrib.override_redirect)
-+ clientLeader = getClientLeader (w);
-+ else
-+ clientLeader = w->clientLeader;
-+
-+ if (ww->isWidget)
-+ {
-+ widgetUpdateTreeStatus (w);
-+ }
-+ else if (clientLeader)
-+ {
-+ CompWindow *lw;
-+
-+ lw = findWindowAtScreen (w->screen, clientLeader);
-+ if (lw)
-+ {
-+ WidgetWindow *lww;
-+
-+ WIDGET_SCREEN (w->screen);
-+ lww = GET_WIDGET_WINDOW (lw, ws);
-+
-+ if (lww->isWidget)
-+ ww->parentWidget = lw;
-+ else if (lww->parentWidget)
-+ ww->parentWidget = lww->parentWidget;
-+ }
-+ }
-+
-+ ww->inferiorUpdateHandle = 0;
-+ return FALSE;
-+}
-
- static void
- widgetMatchPropertyChanged (CompDisplay *d,
-@@ -435,20 +534,6 @@
- WRAP (wd, d, matchPropertyChanged, widgetMatchPropertyChanged);
- }
-
--static void
--widgetWindowAddNotify (CompWindow *w)
--{
-- WIDGET_SCREEN (w->screen);
-- WIDGET_WINDOW (w);
--
-- if (ww->isWidget)
-- widgetUpdateWidgetMapState (w, (ws->state != StateOff));
--
-- UNWRAP (ws, w->screen, windowAddNotify);
-- (*w->screen->windowAddNotify) (w);
-- WRAP (ws, w->screen, windowAddNotify, widgetWindowAddNotify);
--}
--
- static Bool
- widgetPaintWindow (CompWindow *w,
- const WindowPaintAttrib *attrib,
-@@ -478,7 +563,7 @@
- fadeProgress = 1.0f - fadeProgress;
- }
-
-- if (!ww->isWidget)
-+ if (!ww->isWidget && !ww->parentWidget)
- {
- float progress;
-
-@@ -572,6 +657,7 @@
- map = !ww->isWidget || (ws->state != StateOff);
- widgetUpdateWidgetMapState (w, map);
-
-+ widgetUpdateTreeStatus (w);
- (*s->display->matchPropertyChanged) (s->display, w);
- }
- }
-@@ -700,12 +786,18 @@
- return FALSE;
-
- ww->isWidget = FALSE;
-+ ww->parentWidget = NULL;
- ww->wasUnmapped = FALSE;
- ww->matchUpdateHandle = 0;
-+ ww->inferiorUpdateHandle = 0;
-
- w->privates[ws->windowPrivateIndex].ptr = ww;
-
-- widgetUpdateWidgetPropertyState (w);
-+ if (widgetUpdateWidgetPropertyState (w))
-+ widgetUpdateWidgetMapState (w, (ws->state != StateOff));
-+
-+ ww->inferiorUpdateHandle = compAddTimeout (0, widgetUpdateInferiors,
-+ (void *) w);
-
- return TRUE;
- }
-@@ -722,6 +814,9 @@
- if (ww->matchUpdateHandle)
- compRemoveTimeout (ww->matchUpdateHandle);
-
-+ if (ww->inferiorUpdateHandle)
-+ compRemoveTimeout (ww->inferiorUpdateHandle);
-+
- free (ww);
- }
-
diff --git a/x11-wm/compiz-plugins-extra/pkg-plist b/x11-wm/compiz-plugins-extra/pkg-plist
index 1282f620984a..359b61e91d37 100644
--- a/x11-wm/compiz-plugins-extra/pkg-plist
+++ b/x11-wm/compiz-plugins-extra/pkg-plist
@@ -26,9 +26,6 @@ lib/compiz/libfirepaint.la
lib/compiz/libfirepaint.a
lib/compiz/libgears.la
lib/compiz/libgears.a
-lib/compiz/libgotovp.so
-lib/compiz/libgotovp.la
-lib/compiz/libgotovp.a
lib/compiz/libgroup.so
lib/compiz/libgroup.la
lib/compiz/libgroup.a
@@ -58,9 +55,14 @@ share/locale/el/LC_MESSAGES/compiz-fusion-plugins-extra.mo
share/locale/fr/LC_MESSAGES/compiz-fusion-plugins-extra.mo
share/locale/it/LC_MESSAGES/compiz-fusion-plugins-extra.mo
share/locale/ja/LC_MESSAGES/compiz-fusion-plugins-extra.mo
-share/locale/pt_PT/LC_MESSAGES/compiz-fusion-plugins-extra.mo
share/locale/zh_CN/LC_MESSAGES/compiz-fusion-plugins-extra.mo
-share/locale/pl_PL/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/ca/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/gl/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/nb/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/pl/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/pt/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/sv/LC_MESSAGES/compiz-fusion-plugins-extra.mo
+share/locale/tr/LC_MESSAGES/compiz-fusion-plugins-extra.mo
share/compiz/addhelper.xml
share/compiz/bench.xml
share/compiz/crashhandler.xml
@@ -70,7 +72,6 @@ share/compiz/extrawm.xml
share/compiz/fadedesktop.xml
share/compiz/firepaint.xml
share/compiz/gears.xml
-share/compiz/gotovp.xml
share/compiz/group.xml
share/compiz/mblur.xml
share/compiz/reflex.xml
@@ -80,3 +81,7 @@ share/compiz/splash.xml
share/compiz/trailfocus.xml
share/compiz/widget.xml
share/compiz/reflection.png
+share/compiz/fusioncap.png
+share/compiz/compizcap.png
+share/compiz/splash_background.png
+share/compiz/splash_logo.png