From ef37bcb5fb7761e361f055ccc28d6c2750851702 Mon Sep 17 00:00:00 2001 From: raveit65 Date: May 27 2015 19:20:44 +0000 Subject: fix animation-addon plugin --- diff --git a/compiz-plugins-extra.spec b/compiz-plugins-extra.spec index d858955..0d4dbe6 100644 --- a/compiz-plugins-extra.spec +++ b/compiz-plugins-extra.spec @@ -4,7 +4,7 @@ Name: compiz-plugins-extra Version: 0.8.8 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 Summary: Additional Compiz Fusion plugins for Compiz @@ -22,6 +22,7 @@ Patch2: compiz-plugins-extra_remove_gconf_usage.patch Patch3: compiz-plugins-extra_libnotify.patch Patch4: compiz-plugins-extra-aarch64.patch Patch5: compiz-plugins-extra_automake-1.13.patch +Patch6: compiz-plugins-extra_animations-addon-plugin-x11-wm.patch # libdrm is not available on these arches ExcludeArch: s390 s390x @@ -70,6 +71,7 @@ This package contain development files required for developing other plugins %patch3 -p1 -b .libnotify %patch4 -p1 -b .aarch64 %patch5 -p1 -b .automake +%patch6 -p1 -b .animations-addon autoreconf -f -i @@ -104,6 +106,9 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' %changelog +* Wed May 27 2015 Wolfgang Ulbrich - 1:0.8.8-15 +- fix animation-addon plugin + * Wed Mar 18 2015 Wolfgang Ulbrich - 1:0.8.8-14 - rebuild for f22 diff --git a/compiz-plugins-extra_animations-addon-plugin-x11-wm.patch b/compiz-plugins-extra_animations-addon-plugin-x11-wm.patch new file mode 100644 index 0000000..97e5a91 --- /dev/null +++ b/compiz-plugins-extra_animations-addon-plugin-x11-wm.patch @@ -0,0 +1,12 @@ +diff -upr compiz-plugins-extra-0.8.8-orig/src/animationaddon/polygon.c compiz-plugins-extra-0.8.8/src/animationaddon/polygon.c +--- compiz-plugins-extra-0.8.8-orig/src/animationaddon/polygon.c 2011-04-21 13:51:08.000000000 +0200 ++++ compiz-plugins-extra-0.8.8/src/animationaddon/polygon.c 2015-05-27 20:09:38.746185520 +0200 +@@ -1886,7 +1886,7 @@ polygonsDeceleratingAnimStepPolygon (Com + p->rotAngle = moveProgress * p->finalRotAng + p->rotAngleStart; + } + +-static inline AnimStepPolygonProc ++extern inline AnimStepPolygonProc + getAnimStepPolygonFunc (AnimAddonWindow *aw) + { + void *extraProp = aw->com->curAnimEffect->properties.extraProperties;