From a2c48451a25ca95d82090c3e5e8134dd3a923c97 Mon Sep 17 00:00:00 2001 From: Roelof Wobben Date: Thu, 12 Dec 2013 19:41:51 +0100 Subject: [PATCH] enabled introspection for clutter,cogl and json-glib --- pkgs/development/libraries/clutter/default.nix | 8 +++++--- pkgs/development/libraries/cogl/default.nix | 7 +++++-- pkgs/development/libraries/json-glib/default.nix | 6 ++++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/clutter/default.nix b/pkgs/development/libraries/clutter/default.nix index 33bc196143b1..df3ffc8f60f8 100644 --- a/pkgs/development/libraries/clutter/default.nix +++ b/pkgs/development/libraries/clutter/default.nix @@ -1,5 +1,7 @@ { stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes -, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib }: +, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib, +gobjectIntrospection +}: stdenv.mkDerivation { name = "clutter-1.8.2"; @@ -12,10 +14,10 @@ stdenv.mkDerivation { nativeBuildInputs = [ pkgconfig ]; propagatedBuildInputs = [ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango - atk json_glib + atk json_glib gobjectIntrospection ]; - configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK + configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK meta = { description = "Clutter, a library for creating fast, dynamic graphical user interfaces"; diff --git a/pkgs/development/libraries/cogl/default.nix b/pkgs/development/libraries/cogl/default.nix index abb92f7b08b4..b02319fd3e88 100644 --- a/pkgs/development/libraries/cogl/default.nix +++ b/pkgs/development/libraries/cogl/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, pkgconfig, mesa, glib, gdk_pixbuf, libXfixes, libXcomposite , libXdamage, libintlOrEmpty -, pangoSupport ? true, pango, cairo }: +, pangoSupport ? true, pango, cairo, gobjectIntrospection }: stdenv.mkDerivation rec { name = "cogl-1.8.2"; @@ -12,8 +12,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; + configureFlags = " --enable-introspection " ; + propagatedBuildInputs = - [ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage ] + [ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage +gobjectIntrospection ] ++ libintlOrEmpty; buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ]; diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index 8ca1445b1f6d..005b9fac2e55 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl_gnome, glib, pkgconfig }: +{ stdenv, fetchurl_gnome, glib, pkgconfig, gobjectIntrospection }: stdenv.mkDerivation rec { name = src.pkgname; @@ -9,8 +9,10 @@ stdenv.mkDerivation rec { sha256 = "19wlpsbdnm3mq2a6yjpzj0cwrmlkarp2m5x6g63b0r2n7vxaa5mq"; }; + configureflags= " --with-introspection " ; + propagatedBuildInputs = [ glib ]; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig gobjectIntrospection]; meta = { homepage = http://live.gnome.org/JsonGlib;