From f5b2036a60134c354a783a0fb6556a544f9f5ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 24 Jan 2009 21:55:16 +0000 Subject: [PATCH] Cairomm 1.7.2. svn path=/nixpkgs/trunk/; revision=13836 --- .../development/libraries/cairomm/default.nix | 28 ++++++++++++++++--- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/cairomm/default.nix b/pkgs/development/libraries/cairomm/default.nix index a22788c288ec..712a5068a995 100644 --- a/pkgs/development/libraries/cairomm/default.nix +++ b/pkgs/development/libraries/cairomm/default.nix @@ -1,15 +1,35 @@ -args: with args; +{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }: stdenv.mkDerivation rec { - name = "cairomm-1.4.6"; + name = "cairomm-1.7.2"; src = fetchurl { url = "http://cairographics.org/releases/${name}.tar.gz"; - sha256 = "1zd5pq5jd507w1v994awpsl7m26g4dfl0rwgrxig2823hl3rqmrp"; + sha256 = "0rcbkk16yj9k1y491ms5j6f9z5wrvv4qkd7wbx44nziwhw6hc0qx"; }; buildInputs = [pkgconfig]; - propagatedBuildInputs = [cairo x11 fontconfig freetype]; + propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ]; configureFlags = "--enable-shared --disable-static"; + + meta = { + description = "A 2D graphics library with support for multiple output devices"; + + longDescription = '' + Cairo is a 2D graphics library with support for multiple output + devices. Currently supported output targets include the X + Window System, Quartz, Win32, image buffers, PostScript, PDF, + and SVG file output. Experimental backends include OpenGL + (through glitz), XCB, BeOS, OS/2, and DirectFB. + + Cairo is designed to produce consistent output on all output + media while taking advantage of display hardware acceleration + when available (e.g., through the X Render Extension). + ''; + + homepage = http://cairographics.org/; + + licenses = [ "LGPLv2+" "MPLv1" ]; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dbea6c8cb3e7..066eb8be7c6b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2728,7 +2728,7 @@ let }; cairomm = import ../development/libraries/cairomm { - inherit fetchurl stdenv pkgconfig cairo x11 fontconfig freetype; + inherit fetchurl stdenv pkgconfig cairo x11 fontconfig freetype libsigcxx; }; chipmunk = builderDefsPackage (import ../development/libraries/chipmunk) {