wok rev 15939

Add compton (X compositor) Fork of xcompmgr with bug fixes and lots of improvments
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:24:36 2014 +0100 (2014-02-22)
parents 1810c4d44a48
children 410490fd06f0
files compton/receipt compton/stuff/autostart/compton.desktop compton/stuff/compton.conf compton/stuff/compton.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compton/receipt	Sat Feb 22 19:24:36 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compton"
     1.7 +VERSION="0.1_beta2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Light X Compositor new generation"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="v${VERSION}.tar.gz"
    1.13 +WEB_SITE="https://github.com/chjj/compton"
    1.14 +WGET_URL="https://github.com/chjj/$PACKAGE/archive/$TARBALL"
    1.15 +
    1.16 +DEPENDS="xorg-libXcomposite xorg-libXrandr libdrm xorg-xwininfo \
    1.17 +xorg-xprop"
    1.18 +BUILD_DEPENDS="xorg-dev xorg-libXcomposite xorg-libXrandr-dev libdrm-dev \
    1.19 +wget" #asciidoc
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	sed -i "s:\(COMPTON_VERSION ?= \)git.*:\1v${VERSION}:" Makefile
    1.25 +	make NO_LIBCONFIG="true"
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/etc/xdg/compton $fs/usr/bin
    1.32 +	cp $src/compton $fs/usr/bin
    1.33 +	cp $stuff/compton.conf $fs/etc/xdg/compton
    1.34 +	cp -r $stuff/autostart $fs/etc/xdg
    1.35 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/compton/stuff/autostart/compton.desktop	Sat Feb 22 19:24:36 2014 +0100
     2.3 @@ -0,0 +1,6 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Desktop effects with Compton
     2.7 +Name[fr]=Effects de bureau avec Compton
     2.8 +Exec=compton --config /etc/xdg/compton/compton.conf
     2.9 +NotShowIn=LXDE;XFCE;Razor;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/compton/stuff/compton.conf	Sat Feb 22 19:24:36 2014 +0100
     3.3 @@ -0,0 +1,79 @@
     3.4 +# SliTaz Compton X Compositor config file
     3.5 +
     3.6 +# Shadow
     3.7 +shadow = true;
     3.8 +no-dnd-shadow = true;
     3.9 +no-dock-shadow = true;
    3.10 +clear-shadow = true;
    3.11 +shadow-radius = 7;
    3.12 +shadow-offset-x = -7;
    3.13 +shadow-offset-y = -7;
    3.14 +# shadow-opacity = 0.7;
    3.15 +# shadow-red = 0.0;
    3.16 +# shadow-green = 0.0;
    3.17 +# shadow-blue = 0.0;
    3.18 +shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
    3.19 +# shadow-exclude = "n:e:Notification";
    3.20 +shadow-ignore-shaped = false;
    3.21 +# shadow-exclude-reg = "x10+0+0";
    3.22 +# xinerama-shadow-crop = true;
    3.23 +
    3.24 +# Opacity
    3.25 +menu-opacity = 0.8;
    3.26 +inactive-opacity = 0.8;
    3.27 +# active-opacity = 0.8;
    3.28 +frame-opacity = 0.7;
    3.29 +inactive-opacity-override = false;
    3.30 +alpha-step = 0.06;
    3.31 +# inactive-dim = 0.2;
    3.32 +# inactive-dim-fixed = true;
    3.33 +# blur-background = true;
    3.34 +# blur-background-frame = true;
    3.35 +blur-kern = "3x3box"
    3.36 +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
    3.37 +# blur-background-fixed = true;
    3.38 +blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
    3.39 +# opacity-rule = [ "80:class_g = 'URxvt'" ];
    3.40 +
    3.41 +# Fading
    3.42 +fading = true;
    3.43 +# fade-delta = 30;
    3.44 +fade-in-step = 0.03;
    3.45 +fade-out-step = 0.03;
    3.46 +# no-fading-openclose = true;
    3.47 +fade-exclude = [ ];
    3.48 +
    3.49 +# Other
    3.50 +backend = "xrender"
    3.51 +mark-wmwin-focused = true;
    3.52 +mark-ovredir-focused = true;
    3.53 +# use-ewmh-active-win = true;
    3.54 +detect-rounded-corners = true;
    3.55 +detect-client-opacity = true;
    3.56 +refresh-rate = 0;
    3.57 +vsync = "none";
    3.58 +dbe = false;
    3.59 +paint-on-overlay = true;
    3.60 +# sw-opti = true;
    3.61 +# unredir-if-possible = true;
    3.62 +# unredir-if-possible-delay = 5000;
    3.63 +# unredir-if-possible-exclude = [ ];
    3.64 +focus-exclude = [ "class_g = 'Cairo-clock'" ];
    3.65 +detect-transient = true;
    3.66 +detect-client-leader = true;
    3.67 +invert-color-include = [ ];
    3.68 +# resize-damage = 1;
    3.69 +
    3.70 +# GLX backend
    3.71 +# glx-no-stencil = true;
    3.72 +glx-copy-from-front = false;
    3.73 +# glx-use-copysubbuffermesa = true;
    3.74 +# glx-no-rebind-pixmap = true;
    3.75 +glx-swap-method = "undefined";
    3.76 +# glx-use-gpushader4 = true;
    3.77 +
    3.78 +# Window type settings
    3.79 +wintypes:
    3.80 +{
    3.81 +  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
    3.82 +};
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/compton/stuff/compton.desktop	Sat Feb 22 19:24:36 2014 +0100
     4.3 @@ -0,0 +1,9 @@
     4.4 +[Desktop Entry]
     4.5 +Type=Application
     4.6 +Name=Compton X Effects
     4.7 +Name[fr]=Effets X Compton
     4.8 +Comment=Light X compositor
     4.9 +Comment[fr]=Compositeur X léger
    4.10 +Exec=compton
    4.11 +Icon=user-desktop
    4.12 +Categories=Utility;