New commits:
commit 7ec5b2b2d51373915166fe195018bf238dbe1af4
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
- # Crashes firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=1136417
- # Verified the crash with cairo-1.12.18 and cairo-1.14.2.
- # It's off by default upstream, too, we just avoid suggestion dumb things
- # to our users. They can always enable it via CONFIG_LOCAL.
-# config_query_option CAIRO_OPTS "Enable Xlib/XCB functions feature?" n \
-# "--enable-xlib-xcb" \
-# "--disable-xlib-xcb"
- message "${MESSAGE_COLOR}WARNING: Disabling xlib-xcb, which is unstable
(crashes firefox).$DEFAULT_COLOR" &&
- # Still need to disable it in case CAIRO_OPTS has it still in it.
- list_add CAIRO_OPTS "--disable-xlib-xcb"
-
+ if is_depends_enabled ${SPELL} libxcb; then
+ config_query_option CAIRO_OPTS "Enable Xlib/XCB functions feature?" n \
+ "--enable-xlib-xcb=yes" \
+ "--enable-xlib-xcb=no" &&
+ list_remove CAIRO_OPTS "--enable-xlib-xcb" &&
+ list_remove CAIRO_OPTS "--disable-xlib-xcb"
+ fi
fi &&