Added Mozilla NSS, NSPR and Gaim to Nix. Gaim in Nix supports SSL

svn path=/nixpkgs/trunk/; revision=3676
This commit is contained in:
Martin Bravenboer 2005-08-24 09:54:42 +00:00
parent 49220563df
commit 975db72a72
6 changed files with 79 additions and 4 deletions

View File

@ -0,0 +1,9 @@
. $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,27 @@
/**
* Possible missing configuration:
*
* - silcclient
* - libstartup-notification
* - libebook-1.2
* - libedata-book-1.2
* - checking for XScreenSaverRegister in -lXext... no
* - checking for XScreenSaverRegister in -lXss... no
* - gtkspell
* - ao
* - audiofile-config
* - doxygen
*/
{stdenv, fetchurl, pkgconfig, glib, gtk, perl, libxml2, openssl, nss}:
stdenv.mkDerivation {
name = "gaim-1.5.0";
builder = ./builder.sh;
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/gaim/gaim-1.5.0.tar.gz;
md5 = "dd984bd3116d8146545a492d314b0dae";
};
inherit nss;
buildInputs = [pkgconfig glib gtk perl libxml2 openssl nss];
}

View File

@ -0,0 +1,17 @@
. $stdenv/setup
# This must be the ugliest builder in the Nix Packages
tar zxvf $nsssrc
tar zxvf $nsprsrc
mv nspr-*/mozilla/nsprpub nss-*/mozilla
cd nss-*/mozilla/security/nss
make nss_build_all
make install
mkdir -p $out/lib
mkdir -p $out/include/nspr
find ../../dist/*/lib -type l -name "*.so" -o -name "*.chk" | xargs --replace cp -L {} $out/lib
cp -Lr ../../dist/public/* $out/include
cp -Lr ../../dist/*/include/* $out/include/nspr

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, perl, zip}:
stdenv.mkDerivation {
name = "nss-3.10";
builder = ./builder.sh;
nsssrc = fetchurl {
url = ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_10_RTM/src/nss-3.10.tar.gz;
md5 = "f0d75d52aff21f88d9c055bdb78f54f8";
};
nsprsrc = fetchurl {
url = ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6/src/nspr-4.6.tar.gz;
md5 = "a37c3cde875502e05576429312452465";
};
buildInputs = [perl zip];
}

View File

@ -693,6 +693,10 @@ rec {
inherit fetchurl stdenv perl;
};
nss = (import ../development/libraries/nss) {
inherit fetchurl stdenv perl zip;
};
freetype = (import ../development/libraries/freetype) {
inherit fetchurl stdenv;
};
@ -1253,11 +1257,10 @@ rec {
inherit fetchurl stdenv ncurses openssl;
};
/*
kopete = (import ../applications/networking/instant-messengers/kopete) {
inherit fetchurl stdenv xlibs zlib libjpeg perl qt3;
gaim = (import ../applications/networking/instant-messengers/gaim) {
inherit fetchurl stdenv pkgconfig perl libxml2 openssl nss;
inherit (gtkLibs) glib gtk;
};
*/
cdparanoiaIII = (import ../applications/audio/cdparanoia) {
inherit fetchurl stdenv;

View File

@ -67,6 +67,7 @@ let {
firefoxWrapper
thunderbird
lynx
gaim
MPlayer
MPlayerPlugin
vlc