forked from mirrors/nixpkgs
* Get rid of more old Compiz versions.
svn path=/nixpkgs/trunk/; revision=16871
This commit is contained in:
parent
ca13d6918e
commit
54207c7ce2
|
@ -1,34 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/compiz-bcop-0.6.0.tar.bz2;
|
||||
sha256 = "0hw2ivvw696z325cqy7pmxb8cz30bqh67giw5fg6kzb9sn0x8v8f";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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 = [];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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"
|
||||
];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/ccsm-0.6.0.tar.bz2;
|
||||
sha256 = "11vv7ljy79szf74bp7wq969aj05p0x785zbiap1jnqlwq1wjkhir";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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"
|
||||
];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/compiz-manager-0.6.0.tar.bz2;
|
||||
sha256 = "0bjl0kwzl4mc9nw2id8z5q5ikgm8c5zrknn9nm851if005479q3v";
|
||||
};
|
||||
buildInputs = (import ../general-dependencies.nix args) ++
|
||||
[bcop ccsm xvinfo glxinfo xdpyinfo ];
|
||||
shellReplacements = ["compiz-manager" [
|
||||
"COMPIZ_BIN_PATH" "${compiz}/bin/"
|
||||
"PLUGIN_PATH" "/var/run/current-system/sw/share/compiz-plugins/compiz/"
|
||||
"GLXINFO" "${glxinfo}/bin/glxinfo"
|
||||
"KWIN" "/var/run/current-system/sws/bin/kwin"
|
||||
"METACITY" "/var/run/current-system/sws/bin/metacity"
|
||||
"COMPIZ_NAME" "compiz"
|
||||
"FALLBACKWM" "'\''\"\${KWIN}\"'\''"
|
||||
"WHITELIST" "nvidia intel ati radeon i810 i830 i915"
|
||||
"INDIRECT" "yes"
|
||||
"XORG_DRIVER_PATH" "/nix/store/.*"
|
||||
]];
|
||||
};
|
||||
in with localDefs;
|
||||
let
|
||||
install = fullDepEntry ("
|
||||
sed -e '/Checking for texture_from_pixmap:/areturn 0' -i compiz-manager
|
||||
sed -e '/Checking for non power of two support: /areturn 0' -i compiz-manager
|
||||
sed -e '/^\s*$/aPATH=\$PATH:${xvinfo}/bin:${xdpyinfo}/bin' -i compiz-manager
|
||||
|
||||
ensureDir \$out/bin
|
||||
cp compiz-manager \$out/bin
|
||||
")
|
||||
[minInit doUnpack defEnsureDir];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "compiz-manager-"+args.version;
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs [doUnpack doReplaceScripts install doPropagate doForceShare]);
|
||||
meta = {
|
||||
description = "
|
||||
Compiz Launch Manager
|
||||
";
|
||||
inherit src;
|
||||
};
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0.1/compizconfig-python-0.6.0.1.tar.bz2;
|
||||
sha256 = "0im67mxnm30a3xd3rvfwrgfp4ic2x5axpjdahx0f5p9pnfy0jm4n";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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 = [];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/compizconfig-backend-gconf-0.6.0.tar.bz2;
|
||||
sha256 = "0h0r9sicc4pla5vag0j5qkllyagbs8dv5ai7fga48ln7q35y2mjr";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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"];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/compiz-fusion-plugins-extra-0.6.0.tar.bz2;
|
||||
sha256 = "1k8477x1f27qbwvgp5pws81i50kbihk8mcqxbjjqv9i7scvaddvy";
|
||||
};
|
||||
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 <text.h>@#include <compiz/text.h>@' -i src/group/group-internal.h;
|
||||
sed -e 's@#include <text.h>@#include <compiz/text.h>@' -i src/scalefilter/scalefilter.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;
|
||||
};
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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 = [];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/libcompizconfig-0.6.0.tar.bz2;
|
||||
sha256 = "1p75p29qg2syk1b4cvkf9ds5qv3h2jnqa6gs38rivbyqqvrcgkij";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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 = [];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://releases.compiz-fusion.org/0.6.0/compiz-fusion-plugins-main-0.6.0.tar.bz2;
|
||||
sha256 = "1pn6s8lrzgg2allfp1rdmd6kinx8whnj8sb38aqzirmy1s6gfsvi";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
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 = [];
|
||||
} ;
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue