diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-11 19:26:54 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-11 19:26:54 +0000 |
commit | 182879d229f12bb88edb3865b5c29616ba77fb5d (patch) | |
tree | 775e1fd8b07b357c798c58c96b01f56003057660 /kde-base/kwin/files | |
parent | Add xcomposite useflag for kdebase and kwin. (diff) | |
download | gentoo-2-182879d229f12bb88edb3865b5c29616ba77fb5d.tar.gz gentoo-2-182879d229f12bb88edb3865b5c29616ba77fb5d.tar.bz2 gentoo-2-182879d229f12bb88edb3865b5c29616ba77fb5d.zip |
Add patch to disable composite (kompmgr) support; add xcomposite useflag.
(Portage version: 2529-svn)
Diffstat (limited to 'kde-base/kwin/files')
-rw-r--r-- | kde-base/kwin/files/kwin-3.5.0-composite.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kde-base/kwin/files/kwin-3.5.0-composite.patch b/kde-base/kwin/files/kwin-3.5.0-composite.patch new file mode 100644 index 000000000000..c7f5dab275a0 --- /dev/null +++ b/kde-base/kwin/files/kwin-3.5.0-composite.patch @@ -0,0 +1,21 @@ +Index: kdebase-3.5.0/kwin/kompmgr/configure.in.in +=================================================================== +--- kdebase-3.5.0/kwin/kompmgr/configure.in.in (revision 497003) ++++ kdebase-3.5.0/kwin/kompmgr/configure.in.in (working copy) +@@ -1,5 +1,11 @@ +-compile_kompmgr=yes +-KDE_CHECK_HEADERS(X11/extensions/Xdamage.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) +-KDE_CHECK_HEADERS(X11/extensions/Xcomposite.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) +-KDE_CHECK_HEADERS(X11/extensions/Xrender.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) +-AM_CONDITIONAL(include_kompmgr, test "$compile_kompmgr" = "yes" ) ++AC_ARG_WITH([composite], ++ AS_HELP_STRING([--without-composite], [Disable Xcomposite support (default: check)]) ) ++ ++if test "x$with_composite" != "xno"; then ++ KDE_CHECK_HEADERS(X11/extensions/Xdamage.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) ++ KDE_CHECK_HEADERS(X11/extensions/Xcomposite.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) ++ KDE_CHECK_HEADERS(X11/extensions/Xrender.h,,compile_kompmgr=no,[#include <X11/Xlib.h>]) ++else ++ compile_kompmgr=no ++fi ++AM_CONDITIONAL(include_kompmgr, test x"$compile_kompmgr" != x"no" ) |