summary refs log tree commit diff
path: root/pkgs/applications/window-managers/compiz
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2009-02-21 18:58:32 +0000
committerMichael Raskin <7c6f434c@mail.ru>2009-02-21 18:58:32 +0000
commitf1546e64c4539d83dcc8cd6c3e05a0c6b594dd97 (patch)
tree20fc3ab9484a7ac9a68d31f72c3eae5a704d6a0f /pkgs/applications/window-managers/compiz
parent704e085bfc6902034c14a98b975b56df245697be (diff)
downloadnixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar.gz
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar.bz2
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar.lz
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar.xz
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.tar.zst
nixpkgs-f1546e64c4539d83dcc8cd6c3e05a0c6b594dd97.zip
compiz 0.8.0 - buildable
svn path=/nixpkgs/trunk/; revision=14151
Diffstat (limited to 'pkgs/applications/window-managers/compiz')
-rw-r--r--pkgs/applications/window-managers/compiz/0.8.0.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/compiz/0.8.0.nix b/pkgs/applications/window-managers/compiz/0.8.0.nix
new file mode 100644
index 00000000000..aca1bfb15cb
--- /dev/null
+++ b/pkgs/applications/window-managers/compiz/0.8.0.nix
@@ -0,0 +1,50 @@
+args : with args;
+	let localDefs = builderDefs.passthru.function {
+		src = /* put a fetchurl here */
+		  fetchurl {
+		    url = "http://releases.compiz-fusion.org/core/compiz-0.8.0.tar.gz";
+		    sha256 = "0xhyilfz2cfbdwni774b54171addjqw7hda6j6snzxb1igny7iry";
+		  };
+		buildInputs = [
+			    pkgconfig gtk libwnck GConf libgnome 
+			    libgnomeui metacity gnomegtk glib pango libglade libgtkhtml 
+			    gtkhtml libgnomecanvas libgnomeprint libgnomeprintui gnomepanel 
+			    librsvg fuse gettext intltool
+		];
+		  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 []);
+	};
+	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-0.8.0";
+	builder = writeScript (name + "-builder")
+		(textClosure localDefs [doPatch doConfigure doMakeInstall doPropagate 
+			doForceShare postAll]);
+	inherit propagatedBuildInputs;
+	meta = {
+		description = "
+	Compiz window manager
+";
+		inherit src;
+	};
+}
+