LyX: add support for spell checking via enchant.

Also comment on testing of other config options.
This commit is contained in:
Vladimír Čunát 2012-08-07 14:45:18 +02:00
parent 21a200d6b2
commit 740cd9b5f4
2 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,5 @@
# I haven't put much effort into this expressions .. so some optional depencencies may be missing - Marc
{ fetchurl, stdenv, texLive, python, makeWrapper, pkgconfig
, libX11, qt
, libX11, qt4, enchant #, mythes, boost
}:
stdenv.mkDerivation rec {
@ -12,7 +11,17 @@ stdenv.mkDerivation rec {
sha256 = "137dzmz1z6aqz9mdj8gmmi0k60s9sfn6gy916j175cwzq6hpncb8";
};
buildInputs = [texLive qt python makeWrapper pkgconfig ];
configureFlags = [
#"--without-included-boost"
/* Boost is a huge dependency from which 1.4 MB of libs would be used.
Using internal boost stuff only increases executable by around 0.2 MB. */
#"--without-included-mythes" # such a small library isn't worth a split package
];
buildInputs = [
texLive qt4 python makeWrapper pkgconfig
enchant # mythes boost
];
meta = {
description = "WYSIWYM frontend for LaTeX, DocBook, etc.";

View File

@ -7170,9 +7170,7 @@ let
lynx = callPackage ../applications/networking/browsers/lynx { };
lyx = callPackage ../applications/misc/lyx {
qt = qt4;
};
lyx = callPackage ../applications/misc/lyx { };
makeself = callPackage ../applications/misc/makeself { };