Added Mozilla NSS, NSPR and Gaim to Nix. Gaim in Nix supports SSL
svn path=/nixpkgs/trunk/; revision=3676
This commit is contained in:
parent
49220563df
commit
975db72a72
@ -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
|
@ -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];
|
||||||
|
}
|
17
pkgs/development/libraries/nss/builder.sh
Normal file
17
pkgs/development/libraries/nss/builder.sh
Normal 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
|
18
pkgs/development/libraries/nss/default.nix
Normal file
18
pkgs/development/libraries/nss/default.nix
Normal 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];
|
||||||
|
}
|
@ -693,6 +693,10 @@ rec {
|
|||||||
inherit fetchurl stdenv perl;
|
inherit fetchurl stdenv perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nss = (import ../development/libraries/nss) {
|
||||||
|
inherit fetchurl stdenv perl zip;
|
||||||
|
};
|
||||||
|
|
||||||
freetype = (import ../development/libraries/freetype) {
|
freetype = (import ../development/libraries/freetype) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
@ -1253,11 +1257,10 @@ rec {
|
|||||||
inherit fetchurl stdenv ncurses openssl;
|
inherit fetchurl stdenv ncurses openssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
gaim = (import ../applications/networking/instant-messengers/gaim) {
|
||||||
kopete = (import ../applications/networking/instant-messengers/kopete) {
|
inherit fetchurl stdenv pkgconfig perl libxml2 openssl nss;
|
||||||
inherit fetchurl stdenv xlibs zlib libjpeg perl qt3;
|
inherit (gtkLibs) glib gtk;
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
cdparanoiaIII = (import ../applications/audio/cdparanoia) {
|
cdparanoiaIII = (import ../applications/audio/cdparanoia) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
|
@ -67,6 +67,7 @@ let {
|
|||||||
firefoxWrapper
|
firefoxWrapper
|
||||||
thunderbird
|
thunderbird
|
||||||
lynx
|
lynx
|
||||||
|
gaim
|
||||||
MPlayer
|
MPlayer
|
||||||
MPlayerPlugin
|
MPlayerPlugin
|
||||||
vlc
|
vlc
|
||||||
|
Loading…
Reference in New Issue
Block a user