forked from mirrors/nixpkgs
hexchat: fix enchant dependency usage at runtime.
xchat: correctly use gtkspell for spell checking.
This commit is contained in:
parent
a413b8fde1
commit
067467edf3
|
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
|||
desktop_file_utils hicolor_icon_theme
|
||||
];
|
||||
|
||||
#hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
|
||||
patchPhase = ''
|
||||
sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-shm" "--enable-textfe" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, pkgconfig, tcl, gtk}:
|
||||
{stdenv, fetchurl, pkgconfig, tcl, gtk, gtkspell }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xchat-2.8.8";
|
||||
|
@ -6,8 +6,8 @@ stdenv.mkDerivation {
|
|||
url = http://www.xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2;
|
||||
sha256 = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0";
|
||||
};
|
||||
buildInputs = [pkgconfig tcl gtk];
|
||||
configureFlags = "--disable-nls";
|
||||
buildInputs = [pkgconfig tcl gtk gtkspell];
|
||||
configureFlags = "--disable-nls --enable-spell=gtkspell";
|
||||
|
||||
patches = [ ./glib-top-level-header.patch ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue