Summary: | x11-wm/compiz-plugins-extra: - Compiz crashes when using animation | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | andy |
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | andy, freebsd-ports, pi, samy.mahmoudi, w.schwarzenfeld |
Priority: | --- | Flags: | pi:
maintainer-feedback-
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
andy
2017-03-12 19:27:16 UTC
/usr/local/lib/compiz/libanimationaddon.so is actually provided by x11-wm/compiz-plugins-extra, not by x11-wm/compiz. Besides, both source headers animation-internal.h (from x11-wm/compiz-plugins-main) and animationaddon.h (from x11-wm/compiz-plugins-extra) include compiz-animation.h which uses gnu89 inline semantics. However, x11-wm/compiz-plugins-main is built with -std=gnu89 whereas x11-wm/compiz-plugins-extra is not. This why main animations work properly whereas extra animations do not. # /usr/ports/x11-wm/compiz-plugins-extra/patch-Makefile --- Makefile.orig 2018-06-16 18:40:54.361456000 +0200 +++ Makefile 2018-06-16 15:21:33.174930000 +0200 @@ -20,6 +20,7 @@ GNU_CONFIGURE= yes USE_GL= yes USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 +USE_CSTD= gnu89 USE_GNOME= gconf2 intltool USE_XORG= glproto USE_LDCONFIG= yes # End of file testbuilds@work I confirm that adding +USE_CSTD= gnu89 to the makefile fixes the problem for me, compiz-plugins-extra now works correctly. Thanks to Samy Mahmoudi for providing the fix. Also, Samy is correct bug should refer to x11-wm/compiz-plugins-extra. - Summary corrected Committed, thanks! A commit references this bug: Author: pi Date: Sun Jul 29 03:44:59 UTC 2018 New revision: 475624 URL: https://svnweb.freebsd.org/changeset/ports/475624 Log: x11-wm/compiz-plugins-extra: fix crashes when using animation - source headers animation-internal.h (from x11-wm/compiz-plugins-main) and animationaddon.h (from x11-wm/compiz-plugins-extra) include compiz-animation.h which uses gnu89 inline semantics. - x11-wm/compiz-plugins-main is built with -std=gnu89 whereas x11-wm/compiz-plugins-extra is not. This why main animations work properly whereas extra animations do not. PR: 217731 Reported by: andy@neu.net Submitted by: Samy Mahmoudi <samy.mahmoudi@gmail.com> Approved by: freebsd-ports@dan.me.uk (maintainer timeout) Changes: head/x11-wm/compiz-plugins-extra/Makefile Thank you both for your attention. |