abiword: fix gschemas crash and missing icons

The gtk3 file dialogs were crashing, as always without wrapping.
/cc maintainer @pSub.
This commit is contained in:
Vladimír Čunát 2015-06-11 21:06:35 +02:00
parent cfc753478e
commit 3a90a80a9d
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
, boost, libxslt, goffice
, boost, libxslt, goffice, makeWrapper, iconTheme
}:
stdenv.mkDerivation rec {
@ -16,9 +16,14 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
libgsf enchant wv libjpeg perl boost libxslt goffice
libgsf enchant wv libjpeg perl boost libxslt goffice makeWrapper iconTheme
];
postFixup = ''
wrapProgram "$out/bin/abiword" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
'';
meta = with stdenv.lib; {
description = "Word processing program, similar to Microsoft Word";
homepage = http://www.abisource.com/;

View File

@ -10413,6 +10413,7 @@ let
abiword = callPackage ../applications/office/abiword {
inherit (gnome) libglade libgnomecanvas;
iconTheme = gnome3.defaultIconTheme;
};
abook = callPackage ../applications/misc/abook { };