2007-02-27 03:52:28 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libpng, libXcomposite, libXfixes
|
|
|
|
, libXdamage, libXrandr, libXinerama, libICE, libSM
|
2007-03-01 01:40:27 +01:00
|
|
|
, startupnotification, libXrender, xextproto, mesa, gtk, libwnck, GConf
|
2007-05-28 16:10:46 +02:00
|
|
|
, libgnome, libgnomeui, metacity
|
|
|
|
, gnomegtk, glib, pango, libglade, libgtkhtml, gtkhtml, libgnomecanvas, libgnomeprint, libgnomeprintui, gnomepanel
|
|
|
|
, librsvg, fuse
|
2007-02-27 03:52:28 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-04-18 22:16:06 +02:00
|
|
|
name = "compiz-0.5.0";
|
2007-02-27 03:52:28 +01:00
|
|
|
src = fetchurl {
|
2007-04-18 22:16:06 +02:00
|
|
|
url = http://xorg.freedesktop.org/archive/individual/app/compiz-0.5.0.tar.gz;
|
|
|
|
sha256 = "1fac5fc37b218k34lpxqlhs7srqxm7jly0hfncs3ghmjmxdlj03y";
|
2007-02-27 03:52:28 +01:00
|
|
|
};
|
2007-04-18 22:16:06 +02:00
|
|
|
patches = [
|
|
|
|
./tfp-server-extension.patch
|
|
|
|
];
|
2007-02-27 03:52:28 +01:00
|
|
|
buildInputs = [
|
2007-05-28 16:10:46 +02:00
|
|
|
pkgconfig libXrender xextproto gtk libwnck GConf libgnome libgnomeui metacity gnomegtk glib pango libglade libgtkhtml gtkhtml libgnomecanvas libgnomeprint libgnomeprintui gnomepanel librsvg fuse
|
2007-03-05 14:44:27 +01:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libpng libXcomposite libXfixes libXdamage libXrandr libXinerama
|
2007-05-28 16:10:46 +02:00
|
|
|
libICE libSM startupnotification mesa GConf
|
2007-02-27 03:52:28 +01:00
|
|
|
];
|
2007-05-28 16:10:46 +02:00
|
|
|
configureFlags = "--enable-gtk --enable-fuse --enable-annotate --enable-librsvg";
|
|
|
|
|
|
|
|
postFixup = "
|
|
|
|
for i in $out/bin/*; do
|
2007-06-09 21:46:27 +02:00
|
|
|
patchelf --set-rpath /var/run/opengl-driver/lib:$(patchelf --print-rpath $i) $i
|
2007-05-28 16:10:46 +02:00
|
|
|
done
|
|
|
|
";
|
|
|
|
|
2007-02-27 03:52:28 +01:00
|
|
|
}
|