Added aspell

Added gtkspell

Added pidgin, builds but does not run yet:

running pidgin fails to find libX11.so.6. ldd on pidgin reports:

  libX11.so.6 => not found
  ....
  libX11.so.6 => /nix/store/brsva6rh1p2ymjvk7054a90is5panrhf-libX11-1.1.1/lib/libX11.so.6 (0xb7358000)

which looks a bit weird ... Maybe some problem with patchelf? Or just
a build problem and should the library path be set using an
environment variable?


svn path=/nixpkgs/trunk/; revision=8660
This commit is contained in:
Martin Bravenboer 2007-05-13 14:22:24 +00:00
parent 8a04982b8a
commit 93393a6748
5 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,9 @@
source $stdenv/setup
configureFlags="\
--with-nspr-includes=$nss/include/nspr \
--with-nspr-libs=$nss/lib \
--with-nss-includes=$nss/include/nss \
--with-nss-libs=$nss/lib"
genericBuild

View File

@ -0,0 +1,32 @@
/**
* Possible missing configuration:
*
* - silcclient
* - libebook-1.2
* - libedata-book-1.2
* - checking for XScreenSaverRegister in -lXext... no
* - checking for XScreenSaverRegister in -lXss... no
* - ao
* - audiofile-config
* - doxygen
*/
{ stdenv, fetchurl, pkgconfig, glib, gtk, gtkspell, aspell,
GStreamer, startupnotification, gettext,
perl, perlXMLParser, libxml2, openssl, nss
} :
stdenv.mkDerivation {
name = "pidgin-2.0.0";
builder = ./builder.sh;
src = fetchurl {
url = http://kent.dl.sourceforge.net/sourceforge/pidgin/pidgin-2.0.0.tar.bz2;
md5 = "132355d7e236d9c2820a2668621eef43";
};
inherit nss;
buildInputs = [
pkgconfig glib gtk gtkspell aspell
GStreamer startupnotification gettext
perl perlXMLParser libxml2 openssl nss
];
}

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, perl}:
stdenv.mkDerivation {
name = "aspell-0.60.5";
src = fetchurl {
url = ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.5.tar.gz;
md5 = "17fd8acac6293336bcef44391b71e337";
};
buildInputs = [perl];
}

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, gtk, aspell, pkgconfig}:
stdenv.mkDerivation {
name = "gtkspell-2.0.11";
src = fetchurl {
url = http://gtkspell.sourceforge.net/download/gtkspell-2.0.11.tar.gz;
md5 = "494869f67146a12a3f17a958f51aeb05";
};
buildInputs = [aspell pkgconfig gtk];
}

View File

@ -1200,6 +1200,10 @@ rec {
inherit fetchurl stdenv;
};
aspell = import ../development/libraries/aspell {
inherit fetchurl stdenv perl;
};
audiofile = import ../development/libraries/audiofile {
inherit fetchurl stdenv;
};
@ -1396,6 +1400,12 @@ rec {
gtksharp = gtksharp2;
};
gtkspell = import ../development/libraries/gtkspell {
inherit fetchurl stdenv pkgconfig;
inherit (gtkLibs) gtk;
inherit aspell;
};
id3lib = import ../development/libraries/id3lib {
inherit fetchurl stdenv;
};
@ -2667,6 +2677,12 @@ rec {
inherit (gtkLibs) glib gtk;
};
pidgin = import ../applications/networking/instant-messengers/pidgin {
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss gtkspell GStreamer aspell gettext;
inherit (gtkLibs) glib gtk;
inherit (gnome) startupnotification;
};
gimp = import ../applications/graphics/gimp {
inherit fetchurl stdenv pkgconfig freetype fontconfig
libtiff libjpeg libpng libexif zlib perl perlXMLParser python pygtk gettext;