diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
commit | 48c3faca5194fab0d6f19ad33a9756763dddefdd (patch) | |
tree | 24e08e006efef44f671d275a5c896e22d83abb28 /pkgs/applications/networking | |
parent | 6b2bb2247432e5749710576a167a1632c2ec0a61 (diff) |
* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
Diffstat (limited to 'pkgs/applications/networking')
6 files changed, 141 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firebird/builder.sh b/pkgs/applications/networking/browsers/firebird/builder.sh new file mode 100755 index 0000000000000..36225b5760db0 --- /dev/null +++ b/pkgs/applications/networking/browsers/firebird/builder.sh @@ -0,0 +1,30 @@ +#! /bin/sh + +buildinputs="$pkgconfig $gtk $perl $zip $libIDL" +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd mozilla || exit 1 + +cat > .mozconfig <<EOF +export MOZ_PHOENIX=1 +mk_add_options MOZ_PHOENIX=1 +ac_add_options --enable-crypto +ac_add_options --disable-tests +ac_add_options --disable-debug +ac_add_options --disable-mailnews +ac_add_options --disable-composer +ac_add_options --enable-optimize=-O2 +ac_add_options --disable-ldap +ac_add_options --disable-mailnews +ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help +ac_add_options --enable-xft +ac_add_options --enable-swg +ac_add_options --enable-strip +ac_add_options --enable-default-toolkit=gtk2 +EOF +echo "ac_add_options --prefix=$out" >> .mozconfig + +./configure || exit 1 +make -f client.mk build || exit 1 +make install || exit 1 diff --git a/pkgs/applications/networking/browsers/firebird/default.fix b/pkgs/applications/networking/browsers/firebird/default.fix new file mode 100644 index 0000000000000..b17b4a0e47315 --- /dev/null +++ b/pkgs/applications/networking/browsers/firebird/default.fix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL +}: + +assert !isNull pkgconfig && !isNull gtk && !isNull perl + && !isNull zip && !isNull libIDL; + +assert libIDL.glib == gtk.glib; + +derivation { + name = "MozillaFirebird-0.7"; + system = stdenv.system; + + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.mozilla.org/pub/mozilla.org/firebird/releases/0.7/MozillaFirebird-source-0.7.tar.gz; + md5 = "35112566a3dca5bdf363972056afc462"; + }; + + stdenv = stdenv; + pkgconfig = pkgconfig; + gtk = gtk; + perl = perl; + zip = zip; + libIDL = libIDL; +} diff --git a/pkgs/applications/networking/mailreaders/sylpheed/builder.sh b/pkgs/applications/networking/mailreaders/sylpheed/builder.sh new file mode 100755 index 0000000000000..db66df470aa2e --- /dev/null +++ b/pkgs/applications/networking/mailreaders/sylpheed/builder.sh @@ -0,0 +1,20 @@ +#! /bin/sh + +buildinputs="$gtk $gdkpixbuf $openssl" +. $stdenv/setup || exit 1 + +if test $sslSupport; then + extraflags="--enable-ssl $extraflags" +fi + +if test $imageSupport; then + extraflags="--enable-gdk-pixbuf $extraflags" +else + extraflags="--disable-gdk-pixbuf --disable-imlibtest $extraflags" +fi + +tar xvfj $src || exit 1 +cd sylpheed-* || exit 1 +./configure --prefix=$out $extraflags || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.fix b/pkgs/applications/networking/mailreaders/sylpheed/default.fix new file mode 100644 index 0000000000000..c6e8cc066f8c1 --- /dev/null +++ b/pkgs/applications/networking/mailreaders/sylpheed/default.fix @@ -0,0 +1,27 @@ +{ sslSupport ? true +, imageSupport ? true +, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null +}: + +assert !isNull gtk; +assert sslSupport -> !isNull openssl; +assert imageSupport -> !isNull gdkpixbuf; + +derivation { + name = "sylpheed-0.9.7"; + system = stdenv.system; + + builder = ./builder.sh; + src = fetchurl { + url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.7.tar.bz2; + md5 = "399deb5abd52396d26d6475689a5ec3f"; + }; + + sslSupport = sslSupport; + imageSupport = imageSupport; + + stdenv = stdenv; + gtk = gtk; + openssl = if sslSupport then openssl else null; + gdkpixbuf = if imageSupport then gdkpixbuf else null; +} diff --git a/pkgs/applications/networking/newsreaders/pan/builder.sh b/pkgs/applications/networking/newsreaders/pan/builder.sh new file mode 100755 index 0000000000000..b2f160e155dc8 --- /dev/null +++ b/pkgs/applications/networking/newsreaders/pan/builder.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +buildinputs="$pkgconfig $gtk $gtkspell $gnet $libxml2 $perl" +. $stdenv/setup || exit 1 + +tar xvfj $src || exit 1 +cd pan-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs/applications/networking/newsreaders/pan/default.fix b/pkgs/applications/networking/newsreaders/pan/default.fix new file mode 100644 index 0000000000000..26b7e6af2b526 --- /dev/null +++ b/pkgs/applications/networking/newsreaders/pan/default.fix @@ -0,0 +1,29 @@ +{ spellChecking ? true +, stdenv, fetchurl, pkgconfig, gtk, gtkspell ? null, gnet, libxml2, perl +}: + +assert !isNull pkgconfig && !isNull gtk && !isNull gnet + && !isNull libxml2 && !isNull perl; +assert spellChecking -> !isNull gtkspell && gtk == gtkspell.gtk; +assert gtk.glib == gnet.glib; + +derivation { + name = "pan-0.14.2"; + system = stdenv.system; + + builder = ./builder.sh; + src = fetchurl { + url = http://pan.rebelbase.com/download/releases/0.14.2/SOURCE/pan-0.14.2.tar.bz2; + md5 = "ed3188e7059bb6d6c209ee5d46ac1852"; + }; + + spellChecking = spellChecking; + + stdenv = stdenv; + pkgconfig = pkgconfig; + gtk = gtk; + gtkspell = if spellChecking then gtkspell else null; + gnet = gnet; + libxml2 = libxml2; + perl = perl; +} |