diff options
author | Tomasz Kontusz <tomasz.kontusz@gmail.com> | 2014-01-05 19:50:03 +0100 |
---|---|---|
committer | Tomasz Kontusz <tomasz.kontusz@gmail.com> | 2014-01-05 23:50:25 +0100 |
commit | 14eba9f3f9231a4a4656e66826bc5fdeb9224bc1 (patch) | |
tree | bf3521487b5caf0f916f409cb6074fa97a968d40 /pkgs/development/libraries/libwnck | |
parent | 053e029ee6b5d3ec4f14df0f0e4ea88f425075f6 (diff) | |
download | nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar.gz nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar.bz2 nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar.lz nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar.xz nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.tar.zst nixlib-14eba9f3f9231a4a4656e66826bc5fdeb9224bc1.zip |
Bump libwnck3 and pygobject3, and enable introspection
Diffstat (limited to 'pkgs/development/libraries/libwnck')
-rw-r--r-- | pkgs/development/libraries/libwnck/3.x.nix | 10 | ||||
-rw-r--r-- | pkgs/development/libraries/libwnck/install_introspection_to_prefix.patch | 12 |
2 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libwnck/3.x.nix b/pkgs/development/libraries/libwnck/3.x.nix index 17393fab0745..6c6c0812c43c 100644 --- a/pkgs/development/libraries/libwnck/3.x.nix +++ b/pkgs/development/libraries/libwnck/3.x.nix @@ -1,15 +1,15 @@ {stdenv, fetchurl, pkgconfig, libX11, gtk3, intltool}: stdenv.mkDerivation { - name = "libwnck-3.2.1"; + name = "libwnck-3.4.7"; src = fetchurl { - url = mirror://gnome/sources/libwnck/3.2/libwnck-3.2.1.tar.xz; - sha256 = "1nm34rpr0n559x1ba4kmxbhqclvvnlz0g8xqbbj709q9irnmifpa"; + url = mirror://gnome/sources/libwnck/3.4/libwnck-3.4.7.tar.xz; + sha256 = "d48ac9c7f50c0d563097f63d07bcc83744c7d92a1b4ef65e5faeab32b5ccb723"; }; + patches = [ ./install_introspection_to_prefix.patch ]; + buildInputs = [ pkgconfig intltool ]; propagatedBuildInputs = [ libX11 gtk3 ]; - - configureFlags = [ "--disable-introspection" ]; } diff --git a/pkgs/development/libraries/libwnck/install_introspection_to_prefix.patch b/pkgs/development/libraries/libwnck/install_introspection_to_prefix.patch new file mode 100644 index 000000000000..1bcf4a12ea31 --- /dev/null +++ b/pkgs/development/libraries/libwnck/install_introspection_to_prefix.patch @@ -0,0 +1,12 @@ +--- libwnck-3.4.7/configure 2013-08-20 14:46:14.000000000 +0000 ++++ libwnck-3.4.7-fix/configure 2014-01-05 17:18:56.665427787 +0000 +@@ -16150,7 +16150,7 @@ $as_echo "$found_introspection" >&6; } + INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` + INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` +- INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` ++ INTROSPECTION_GIRDIR="${datadir}/gir-1.0" +- INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" ++ INTROSPECTION_TYPELIBDIR="${libdir}/girepository-1.0" + INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` + INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` + INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |