add compiz and apropriate ebuilds with package.unmask file
This commit is contained in:
dev-python/compizconfig-python
portage
x11-apps/ccsm
x11-libs
compiz-bcop
compizconfig-backend-gconf
compizconfig-backend-kconfig4
libcompizconfig
x11-plugins
compiz-plugins-extra
compiz-plugins-main
compiz-plugins-unsupported
x11-themes/emerald-themes
x11-wm
compiz-fusion
compiz
Manifestcompiz-0.8.6-r9999.ebuild
files
0.3.6
compiz-0.6.2-CVE-2007-3920.patchcompiz-0.7.8-framesvg.patchcompiz-0.8.2-gtk-gnome-missing-gconf-flags.patchcompiz-0.8.4-crash-on-opening-windows.patchcompiz-0.8.4-gtk+-2.20-build.patchcompiz-0.8.4-kde44.patchcompiz-0.8.4-libpng14.patchcompiz-0.8.4-place-plugin.patchcompiz-0.8.4-window-region-calculation.patchcompiz-0.8.6-gdk-display-deprecated.patchcompiz-0.8.6-r2-fontcorruption.patchcompiz-managercompiz-no-gconf.patchcompiz.desktopemerald
41
x11-wm/compiz/files/0.3.6/compiz-start
Executable file
41
x11-wm/compiz/files/0.3.6/compiz-start
Executable file
@ -0,0 +1,41 @@
|
||||
# compiz-start script
|
||||
#
|
||||
# hacky autodetection of neccessary options for XGL/AIGLX/NVIDIA
|
||||
#
|
||||
# Hanno Boeck, http://www.hboeck.de/
|
||||
#
|
||||
# Licensed under the same conditions as compiz itself (MIT or GPL)
|
||||
|
||||
if [ ! -x /usr/bin/glxinfo ]; then
|
||||
echo "glxinfo not found, please install mesa-progs."
|
||||
exit -1
|
||||
fi
|
||||
|
||||
GLX_WITH_DIRECT=`glxinfo|grep -c GLX_EXT_texture_from_pixmap`
|
||||
GLX_WITH_INDIRECT=`LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep -c GLX_EXT_texture_from_pixmap`
|
||||
GLX_RENDER=`glxinfo|grep -c "OpenGL renderer string: Mesa GLX Indirect"`
|
||||
|
||||
|
||||
COMPIZ_OPTIONS="--replace"
|
||||
|
||||
if [ $GLX_WITH_DIRECT -eq 3 ]; then
|
||||
if [ $GLX_RENDER -eq 0 ]; then
|
||||
echo NVIDA detected
|
||||
export __GL_YIELD="NOTHING"
|
||||
else
|
||||
echo XGL detected
|
||||
fi
|
||||
elif [ $GLX_WITH_INDIRECT -eq 3 ]; then
|
||||
echo AIGLX detected
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
fi
|
||||
|
||||
if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
|
||||
echo Using KDE decorator
|
||||
kde-window-decorator --replace &
|
||||
else
|
||||
echo Using GTK decorator
|
||||
gtk-window-decorator --replace &
|
||||
fi
|
||||
|
||||
compiz $COMPIZ_OPTIONS gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom dbus
|
Reference in New Issue
Block a user