Compiz 0.7.4. Unfortunately, open-source ATi drivers do not support 3D on my card, so it is not tested.
svn path=/nixpkgs/trunk/; revision=11559
This commit is contained in:
parent
6f35c8fdf8
commit
938e11754e
@ -0,0 +1,34 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compiz-bcop-0.7.4.tar.bz2;
|
||||||
|
sha256 = "1dfkwac45p6bl64gn58jnj5h99w81mlqkzfn7jni96kgspvnipjf";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args);
|
||||||
|
propagatedBuildInputs = [getopt libxslt];
|
||||||
|
configureFlags = [];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
let
|
||||||
|
fixPkgconfig = FullDepEntry ("
|
||||||
|
ensureDir \$out/lib
|
||||||
|
ln -fs \$out/share/pkgconfig \$out/lib/pkgconfig
|
||||||
|
") [minInit doMakeInstall defEnsureDir];
|
||||||
|
fixInterpreter = FullDepEntry ("
|
||||||
|
sed -e 's@^#!/bin/bash@#! ${stdenv.bash}/bin/bash@' -i \$out/bin/bcop
|
||||||
|
") [minInit doMakeInstall];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compiz-bcop-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doAutotools doConfigure doMakeInstall fixPkgconfig fixInterpreter doForceShare
|
||||||
|
doPropagate]);
|
||||||
|
inherit propagatedBuildInputs;
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz BCOP.
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/simple-ccsm-0.7.4.tar.bz2;
|
||||||
|
sha256 = "1clb0ag73dylslqvg7f4rsk5d3iv4aj5lvhfq7wb99m6k9bksh5y";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args) ++
|
||||||
|
[libcompizconfig bcop compizConfigPython python gettext pygtk
|
||||||
|
pycairo configBackendGConf];
|
||||||
|
configureFlags = [];
|
||||||
|
wrappedEnv = [
|
||||||
|
"PYTHONPATH" "$(toPythonPath \$out)"
|
||||||
|
"PYTHONPATH" "\$PYTHONPATH"
|
||||||
|
"PYTHONPATH" "$(toPythonPath ${pygtk})/gtk-2.0"
|
||||||
|
];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compizconfig-settings-"+args.version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [installPythonPackage (doWrap "\$out/bin/simple-ccsm")]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz Settings Manager (simplified)
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/ccsm-0.7.4.tar.bz2;
|
||||||
|
sha256 = "0267xvz2j476r1awiwkfhfahjh8p1al6ip0qjzlw1lidmd9fdbxv";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args) ++
|
||||||
|
[libcompizconfig bcop compizConfigPython python gettext pygtk
|
||||||
|
pycairo configBackendGConf];
|
||||||
|
configureFlags = [];
|
||||||
|
wrappedEnv = [
|
||||||
|
"PYTHONPATH" "$(toPythonPath \$out)"
|
||||||
|
"PYTHONPATH" "\$PYTHONPATH"
|
||||||
|
"PYTHONPATH" "$(toPythonPath ${pygtk})/gtk-2.0"
|
||||||
|
];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compizconfig-settings-"+args.version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [installPythonPackage (doWrap "\$out/bin/ccsm")]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz Settings Manager
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compizconfig-python-0.7.4.tar.bz2;
|
||||||
|
sha256 = "0y9r1cp0f5c3x7ysbdkil6156nhy4a7aqhmxqdg3hjwwgkfsgi9d";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args) ++
|
||||||
|
[libcompizconfig bcop python pyrex configBackendGConf];
|
||||||
|
configureFlags = [];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compizconfig-python-"+args.version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doAutotools doConfigure doMakeInstall doForceShare]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz configuration - Python part.
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compizconfig-backend-gconf-0.7.4.tar.bz2;
|
||||||
|
sha256 = "0gvb81zlp0wciq0cp7g1wnldm5p1n21i6zfwjm26ialphi4m47ly";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args) ++
|
||||||
|
[bcop libcompizconfig];
|
||||||
|
configureFlags = [];
|
||||||
|
forceShare = ["man" "doc" "info" "lib/compizconfig"];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compizconfig-backend-GConf-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doAutotools doConfigure doMakeInstall doForceShare doPropagate]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz configuration backend (GConf).
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -11,4 +11,5 @@ rec
|
|||||||
pluginsMain = selectVersion ./main (args //{inherit bcop ;});
|
pluginsMain = selectVersion ./main (args //{inherit bcop ;});
|
||||||
pluginsExtra = selectVersion ./extra (args //{inherit bcop pluginsMain;});
|
pluginsExtra = selectVersion ./extra (args //{inherit bcop pluginsMain;});
|
||||||
compizManager = selectVersion ./compiz-manager (args // {inherit bcop ccsm;});
|
compizManager = selectVersion ./compiz-manager (args // {inherit bcop ccsm;});
|
||||||
|
ccsmSimple = selectVersion ./ccsm-simple (args // {inherit libcompizconfig bcop compizConfigPython configBackendGConf;});
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compiz-fusion-plugins-extra-0.7.4.tar.bz2;
|
||||||
|
sha256 = "0zncmzccnw8avvj20h1xfh8s5f1xgwwry0fkhw444phx7pwcds3w";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args)++
|
||||||
|
[bcop libjpeg gettext pluginsMain];
|
||||||
|
configureFlags = [];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
let
|
||||||
|
sharePlugins = FullDepEntry ("
|
||||||
|
ensureDir \$out/share/compiz-plugins
|
||||||
|
ln -vsf \$out/lib/compiz \$out/share/compiz-plugins
|
||||||
|
") [minInit doMakeInstall defEnsureDir];
|
||||||
|
fixIncludes = FullDepEntry ("
|
||||||
|
sed -e 's@#include <compiz-text.h>@#include <compiz/compiz-text.h>@' -i src/group/group-internal.h;
|
||||||
|
sed -e 's@#include <compiz-text.h>@#include <compiz/compiz-text.h>@' -i src/scalefilter/scalefilter.c;
|
||||||
|
sed -e 's@#include <compiz-mousepoll.h>@#include <compiz/compiz-mousepoll.h>@' -i src/showmouse/showmouse.c;
|
||||||
|
") [minInit doUnpack];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compiz-fusion-plugins-extra-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [fixIncludes doConfigure doMakeInstall sharePlugins doForceShare]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Extra Compiz Fusion plugins.
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/libcompizconfig-0.7.4.tar.bz2;
|
||||||
|
sha256 = "0y5hfah30giszilg8v0v10vg45rnc9gdjbsqawdjn2q6bh3xzmr3";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args)++
|
||||||
|
[bcop];
|
||||||
|
configureFlags = [];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libcompizconfig-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doAutotools doConfigure doMakeInstall doForceShare]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz configuration backend library.
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compiz-fusion-plugins-main-0.7.4.tar.bz2;
|
||||||
|
sha256 = "1dk8gb0ysij9ny51x9xgz595zbh6cm37hfbn1y738s471cjh7mp3";
|
||||||
|
};
|
||||||
|
buildInputs = (import ../general-dependencies.nix args)++
|
||||||
|
[bcop libjpeg gettext];
|
||||||
|
configureFlags = [];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
let
|
||||||
|
sharePlugins = FullDepEntry ("
|
||||||
|
ensureDir \$out/share/compiz-plugins
|
||||||
|
ln -vsf \$out/lib/compiz \$out/share/compiz-plugins
|
||||||
|
") [minInit doMakeInstall defEnsureDir];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "compiz-fusion-plugins-main-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doConfigure doMakeInstall sharePlugins doForceShare]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Main Compiz Fusion plugins.
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
51
pkgs/applications/window-managers/compiz/0.7.4.nix
Normal file
51
pkgs/applications/window-managers/compiz/0.7.4.nix
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://releases.compiz-fusion.org/0.7.4/compiz/compiz-0.7.4.tar.bz2;
|
||||||
|
sha256 = "1ik2wlrc469l0l9j7yhfapcmwkshhva5b5sh5h4czg3bj5iivaf7";
|
||||||
|
};
|
||||||
|
buildInputs = [
|
||||||
|
pkgconfig gtk libwnck GConf libgnome
|
||||||
|
libgnomeui metacity gnomegtk glib pango libglade libgtkhtml
|
||||||
|
gtkhtml libgnomecanvas libgnomeprint libgnomeprintui gnomepanel
|
||||||
|
librsvg fuse
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
libpng libXcomposite libXfixes libXdamage libXrandr libXinerama
|
||||||
|
libICE libSM startupnotification mesa GConf perl perlXMLParser libxslt
|
||||||
|
dbus.libs dbus_glib compositeproto fixesproto damageproto randrproto
|
||||||
|
xineramaproto renderproto kbproto xextproto libXrender xproto libX11
|
||||||
|
libxcb
|
||||||
|
];
|
||||||
|
configureFlags = ["--enable-gtk" "--enable-fuse"
|
||||||
|
"--enable-annotate" "--enable-librsvg"] ++
|
||||||
|
(if args ? extraConfigureFlags then args.extraConfigureFlags else []);
|
||||||
|
patches = [ ./glx-patch-0.6.2.patch ];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
let
|
||||||
|
postAll = FullDepEntry ("
|
||||||
|
for i in $out/bin/*; do
|
||||||
|
patchelf --set-rpath /var/run/opengl-driver/lib:$(patchelf --print-rpath $i) $i
|
||||||
|
done
|
||||||
|
ensureDir \$out/share/compiz-plugins/
|
||||||
|
ln -sfv \$out/lib/compiz \$out/share/compiz-plugins/
|
||||||
|
") [minInit doMakeInstall defEnsureDir];
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation
|
||||||
|
rec {
|
||||||
|
name = "compiz-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [doPatch doConfigure doMakeInstall doPropagate
|
||||||
|
doForceShare postAll]);
|
||||||
|
inherit propagatedBuildInputs;
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Compiz window manager
|
||||||
|
";
|
||||||
|
inherit src;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user