forked from mirrors/nixpkgs
Added Mozilla Thunderbird
svn path=/nixpkgs/trunk/; revision=1396
This commit is contained in:
parent
a1ad30a00d
commit
4e4cfda97f
|
@ -0,0 +1,22 @@
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
preConfigure() {
|
||||||
|
cat mail/config/mozconfig > .mozconfig
|
||||||
|
cat >> .mozconfig <<EOF
|
||||||
|
ac_add_options --disable-debug
|
||||||
|
ac_add_options --enable-optimize=-O2
|
||||||
|
ac_add_options --disable-ldap
|
||||||
|
ac_add_options --enable-xft
|
||||||
|
ac_add_options --enable-swg
|
||||||
|
ac_add_options --enable-strip
|
||||||
|
ac_add_options --enable-default-toolkit=gtk2
|
||||||
|
ac_add_options --enable-single-profile
|
||||||
|
ac_add_options --prefix=$out
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
preConfigure=preConfigure
|
||||||
|
|
||||||
|
makeFlags="-f client.mk build"
|
||||||
|
|
||||||
|
genericBuild
|
|
@ -0,0 +1,18 @@
|
||||||
|
{stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL}:
|
||||||
|
|
||||||
|
assert pkgconfig != null && gtk != null && perl != null
|
||||||
|
&& zip != null && libIDL != null;
|
||||||
|
|
||||||
|
# !!! assert libIDL.glib == gtk.glib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "thunderbird-code-0.8";
|
||||||
|
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.artfiles.org/mozilla.org/thunderbird/releases/0.8/thunderbird-source-0.8.tar.bz2;
|
||||||
|
md5 = "76de1827d66ac482cfc4dd32e7b1e257";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [pkgconfig gtk perl zip libIDL];
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{name, stdenv, dir, files}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit name dir files;
|
||||||
|
builder = ./linker.sh;
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
mkdir $out
|
||||||
|
for file in $files
|
||||||
|
do
|
||||||
|
subdir=`dirname $file`
|
||||||
|
mkdir -p $out/$subdir
|
||||||
|
ln -s $dir/$file $out/$file
|
||||||
|
done
|
|
@ -754,6 +754,19 @@ rec {
|
||||||
inherit (gnome) libIDL;
|
inherit (gnome) libIDL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
thunderbird =
|
||||||
|
(import ../applications/networking/mailreaders/thunderbird/linker.nix) {
|
||||||
|
name = "thunderbird-0.8";
|
||||||
|
dir =
|
||||||
|
(import ../applications/networking/mailreaders/thunderbird) {
|
||||||
|
inherit fetchurl stdenv pkgconfig perl zip;
|
||||||
|
inherit (gtkLibs) gtk;
|
||||||
|
inherit (gnome) libIDL;
|
||||||
|
};
|
||||||
|
files = ["bin/thunderbird"];
|
||||||
|
inherit stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
lynx = (import ../applications/networking/browsers/lynx) {
|
lynx = (import ../applications/networking/browsers/lynx) {
|
||||||
inherit fetchurl stdenv ncurses openssl;
|
inherit fetchurl stdenv ncurses openssl;
|
||||||
};
|
};
|
||||||
|
|
|
@ -48,6 +48,7 @@ let {
|
||||||
pan
|
pan
|
||||||
sylpheed
|
sylpheed
|
||||||
firefox
|
firefox
|
||||||
|
thunderbird
|
||||||
lynx
|
lynx
|
||||||
MPlayer
|
MPlayer
|
||||||
MPlayerPlugin
|
MPlayerPlugin
|
||||||
|
|
Loading…
Reference in a new issue