Commit graph

239 commits

Author SHA1 Message Date
Eelco Dolstra f1b459adfd * `aterm_2_0_5' is gone.
svn path=/nixpkgs/trunk/; revision=856
2004-03-27 15:49:59 +00:00
Eelco Dolstra 5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra 0fd59fd7a4 * Re-enabled purity checking: it should work now. First we only
checked whether absolute paths passed to gcc/ld refer to the store,
  which is wrong: they can also refer to the build tree
  (/tmp/nix-...).

* Less static composition in the construction of stdenv-nix-linux:
  gcc-wrapper and generic are now passed in as arguments, rather then
  referenced by relative path.  This makes it easier to hack on a
  specific stage of the bootstrap process (before, a change to, e.g.,
  generic/setup.sh would cause all bootstrap stages to be redone).

svn path=/nixpkgs/trunk/; revision=833
2004-03-12 11:12:18 +00:00
Eelco Dolstra de13527000 * Finally got stdenv-nix-linux working again. Still not perfect,
though.
* libxml2: upgrade to latest.
* octavefront/rna: keep debug info.

svn path=/nixpkgs/trunk/; revision=830
2004-03-11 17:26:14 +00:00
Eelco Dolstra a1b3ae0c81 * stdenv-nix-linux should more-or-less work again now.
svn path=/nixpkgs/trunk/; revision=826
2004-03-09 17:16:02 +00:00
Eelco Dolstra 946a2d4a48 * gcc-wrapper now filters out -L and -I flags referring to paths
outside the store (in pure builds).

svn path=/nixpkgs/trunk/; revision=817
2004-03-08 18:29:08 +00:00
Eelco Dolstra ce50734cf0 * Started reorganising stdenv:
- gcc/ld-wrappers have been factored out into a separate
    derivation.  This allows a working gcc to be installed in the user
    environment.  (Previously the Nix gcc didn't work because it
    needed a whole bunch of flags to point to glibc.)
    
  - Better modularity: packages can specify hooks into the setup
    scripts.  For instance, setup no longer knows about the
    PKG_CONFIG_PATH variable; pkgconfig can set it up instead.

  - gcc not longer depends on binutils.  This simplifies the bootstrap
    process.

svn path=/nixpkgs/trunk/; revision=816
2004-03-08 16:02:46 +00:00
Eelco Dolstra 1b8e9faf08 * Add octavefront to the cache.
svn path=/nixpkgs/trunk/; revision=815
2004-03-08 09:22:09 +00:00
Eelco Dolstra 287edecf42 * Added gperf, texinfo, ncurses.
* Started moving the gcc wrapper stuff out of stdenv.
* Added octavefront and rna.

svn path=/nixpkgs/trunk/; revision=814
2004-03-05 10:13:23 +00:00
Eelco Dolstra f82050134e * Perl nixification fixes. Oh, the humanity.
svn path=/nixpkgs/trunk/; revision=813
2004-02-20 16:25:34 +00:00
Eelco Dolstra 16c0047575 * Use a 2-stage bootstrap for creating the standard build environment
(stdenv) on Linux.  The previous 1-stage bootstrap was insufficient,
  because the tools in stdenv where built by native tools.  For
  instance, the Nix bash had a reference to /lib/libncurses.  This
  doesn't happen with a 2-stage bootstrap, since the bash built in
  stage 2 will be built with the gcc built in stage 1, which doesn't
  search in the "standard" locations.

  Motto: "Disparaging the boot is a bootable offense."

svn path=/nixpkgs/trunk/; revision=809
2004-02-19 16:33:10 +00:00
Eelco Dolstra e5fd37f35d * Added net-tools (for ifconfig, route, hostname).
svn path=/nixpkgs/trunk/; revision=805
2004-02-19 12:46:35 +00:00
Eelco Dolstra cd0e06b9ef * Added the UML utilities (in particular for tunctl). mconsole is
not built since it requires readline, which we don't have right now.

svn path=/nixpkgs/trunk/; revision=804
2004-02-18 16:22:31 +00:00
Eelco Dolstra b79b18dfb7 * Add bittorrent to the cache.
svn path=/nixpkgs/trunk/; revision=798
2004-02-17 20:08:01 +00:00
Eelco Dolstra 90e75450a4 * Added BitTorrent.
svn path=/nixpkgs/trunk/; revision=797
2004-02-17 20:03:12 +00:00
Eelco Dolstra 9261c1eaa5 * Added wxPython.
svn path=/nixpkgs/trunk/; revision=795
2004-02-17 19:19:26 +00:00
Eelco Dolstra 5eea59c2cd * Use separate Berkeley DB and ATerm.
svn path=/nixpkgs/trunk/; revision=793
2004-02-16 16:54:01 +00:00
Eelco Dolstra d113da8bab * Added a Nix expression for Nix.
svn path=/nixpkgs/trunk/; revision=790
2004-02-16 15:40:55 +00:00
Eelco Dolstra e535bc8ad0 * Added e2fsprogs (for e2fsck).
svn path=/nixpkgs/trunk/; revision=788
2004-02-16 14:31:52 +00:00
Eelco Dolstra 500a06b8a9 * Added sysvinit (mostly because it provides a decent `halt'
command).

svn path=/nixpkgs/trunk/; revision=787
2004-02-16 14:09:55 +00:00
Eelco Dolstra a33753a973 * Added util-linux (for mount etc.).
svn path=/nixpkgs/trunk/; revision=786
2004-02-16 10:40:45 +00:00
Eelco Dolstra d6a58594d2 * User-Mode Linux and GNU Patch.
svn path=/nixpkgs/trunk/; revision=779
2004-02-13 14:42:28 +00:00
Eelco Dolstra 191a465665 * Added GHC and Helium. Note that GHC is built using a pre-built GHC
for Linux/x86, which is not pure and doesn't work on other
  platforms!

svn path=/nixpkgs/trunk/; revision=776
2004-02-12 13:18:24 +00:00
Eelco Dolstra 73049cea22 * Ugh.
svn path=/nixpkgs/trunk/; revision=774
2004-02-10 18:32:42 +00:00
Eelco Dolstra ecbf66674f * Override packages in stdenvLinux with those already built in earlier
stages of the bootstrap process (i.e., stdenvLinuxBoot).
* Add those packages to the distribution.  We didn't do that before
  because it would cause them to be built twice.

svn path=/nixpkgs/trunk/; revision=753
2004-02-04 17:25:51 +00:00
Martin Bravenboer 103d1b2c83 Added version 2.6.5 of libxml2
svn path=/nixpkgs/trunk/; revision=750
2004-02-04 16:36:22 +00:00
Eelco Dolstra 9d9c76529f * Use the `inherit' syntax.
svn path=/nixpkgs/trunk/; revision=740
2004-02-02 21:40:18 +00:00
Eelco Dolstra 3f6bf521fc * Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
2004-01-30 17:23:34 +00:00
Eelco Dolstra 9249f4c892 * Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
2004-01-30 15:52:17 +00:00
Eelco Dolstra c0bdcfe274 * A much newer version of flex. The old (GNU) one was from 1997.
svn path=/nixpkgs/trunk/; revision=727
2004-01-30 10:10:06 +00:00
Eelco Dolstra 9db5df37f9 * Added cksfv, a program for verifying sfv checksum files.
svn path=/nixpkgs/trunk/; revision=720
2004-01-25 08:59:20 +00:00
Eelco Dolstra 91184df3b2 * Teletext support for zapping.
svn path=/nixpkgs/trunk/; revision=719
2004-01-25 08:51:03 +00:00
Martin Bravenboer d9cebb072f Added Apache Ant, including configuration of JAVA_HOME and ANT_HOME. Currently only the shell script is patched, but this one is used most in practice.
svn path=/nixpkgs/trunk/; revision=718
2004-01-25 00:50:00 +00:00
Martin Bravenboer 067726f3e2 * Added the j2sdk of Sun for Linux. Downloading this thing is
a big problem, so I decided to require to user to get the
          file and put it in some location in the file system. wget
          doesn't seem to accept the file scheme however, so I had to
          move the copying into the builder itself. The builder checks
          the md5 hash of the downloaded file. Maybe having a separate
          'fetchfile' would be useful to make a file in the outside
          world pure. I tried to add this to build-support, but this
          obviously did not work. I still committed it. Just remove it
          if you think that it sucks.

svn path=/nixpkgs/trunk/; revision=716
2004-01-24 23:46:00 +00:00
Martin Bravenboer 02a4d8ece5 Added jikes, IBM's open source java compiler.
svn path=/nixpkgs/trunk/; revision=715
2004-01-24 22:50:47 +00:00
Martin Bravenboer 94f9bd408e Added the j2re for Linux. My installation of Eclipse runs on an j2re installed in Nix, so I guess it works pretty well. Of course other platforms should be added. This version will not be installed if the platform is not i686-linux.
svn path=/nixpkgs/trunk/; revision=714
2004-01-24 22:04:09 +00:00
Martin Bravenboer 7e813f0999 Added all indivudual packages of the sdf2-bundle
svn path=/nixpkgs/trunk/; revision=708
2004-01-22 19:55:37 +00:00
Martin Bravenboer 4c14c369fe Added sglr
svn path=/nixpkgs/trunk/; revision=707
2004-01-22 19:09:49 +00:00
Martin Bravenboer 362cba8ada Added pt-support 1.0
svn path=/nixpkgs/trunk/; revision=706
2004-01-22 18:57:34 +00:00
Martin Bravenboer 3d0e24c639 Added toolbuslib. This is fun
svn path=/nixpkgs/trunk/; revision=705
2004-01-22 18:46:26 +00:00
Martin Bravenboer ffa5434646 Expression for aterm 2.0.5 at CWI
svn path=/nixpkgs/trunk/; revision=704
2004-01-22 18:13:16 +00:00
Eelco Dolstra 7bee8f0414 * Added Valgrind.
svn path=/nixpkgs/trunk/; revision=685
2004-01-21 14:50:18 +00:00
Eelco Dolstra 50405c5948 * Obscure bug: Zapping needs gettext, otherwise the Automake variable
DATADIRNAME is not set.

svn path=/nixpkgs/trunk/; revision=682
2004-01-21 13:17:18 +00:00
Eelco Dolstra 823b3e4770 * Added `zapping', a TV viewer application. It depends on Gnome, so
lots of packages are needed.

svn path=/nixpkgs/trunk/; revision=681
2004-01-21 09:34:19 +00:00
Eelco Dolstra 8742115007 * Use an actual release of StrategoXT.
svn path=/nixpkgs/trunk/; revision=655
2004-01-15 16:25:21 +00:00
Eelco Dolstra 7b141f7f5a * Build more packages in the distribution of nixpkgs.
svn path=/nixpkgs/trunk/; revision=654
2004-01-15 16:17:58 +00:00
Eelco Dolstra 7ac37f8ee9 * The set of derivations to be built by the automatic release system.
svn path=/nixpkgs/trunk/; revision=640
2004-01-13 14:39:29 +00:00
Eelco Visser d5ec705667 Apparently libtool cannot be installed separately from autoconf
and automake. Copying the files in $libtool/share/aclocal to 
$autoconf/share/aclocal does not work (and causes collisions when
installing the tools in the user environment). The solution seems to
be to install the three distributions in one single $out directory,
i.e., consider them as one package.
 

svn path=/nixpkgs/trunk/; revision=597
2003-12-23 21:31:06 +00:00
Eelco Visser b4ce40af2b added packages: which, libtool
aggregation in all-packages-generic: autotools
building strategoxt from svn

not complete yet since autconf cannot find libtool


svn path=/nixpkgs/trunk/; revision=596
2003-12-23 20:51:58 +00:00
Eelco Dolstra 480d68ece3 * Added some missing semicolons.
* Some packages needed for the Subversion server.

svn path=/nixpkgs/trunk/; revision=586
2003-12-21 20:52:13 +00:00
Eelco Dolstra 4b283d3de7 * Added par2cmdline.
svn path=/nixpkgs/trunk/; revision=583
2003-12-14 20:36:43 +00:00
Eelco Visser e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00
Eelco Dolstra 716904fe0c * Added Graphviz.
svn path=/nixpkgs/trunk/; revision=580
2003-12-10 09:51:32 +00:00
Eelco Dolstra a7055cbe52 * nxml package.
svn path=/nixpkgs/trunk/; revision=578
2003-12-08 11:56:50 +00:00
Eelco Dolstra 57fd5644d2 * vlc and required packages. Finally a good DVD player :-)
svn path=/nixpkgs/trunk/; revision=574
2003-12-03 21:58:16 +00:00
Eelco Dolstra cd0ad9e00a * Added getopt (because sdf2table needs it).
svn path=/nixpkgs/trunk/; revision=568
2003-12-02 12:54:21 +00:00
Eelco Dolstra 4e38179977 * Upgrade to Pan 0.14.2.90.
svn path=/nixpkgs/trunk/; revision=562
2003-12-01 16:34:13 +00:00
Eelco Dolstra 2dc967e656 * Change system name to i686-linux.
* A helper Nix expression used to populate the cache on losser.

svn path=/nixpkgs/trunk/; revision=558
2003-12-01 14:37:42 +00:00
Eelco Dolstra 256aec2e56 * Added GNU hello.
svn path=/nixpkgs/trunk/; revision=555
2003-11-27 12:09:22 +00:00
Eelco Dolstra 306522dd90 * Use all those new packages.
svn path=/nixpkgs/trunk/; revision=545
2003-11-25 18:02:05 +00:00
Eelco Dolstra 2f3d764edb * user-environment.nix is no longer needed, since it is now generated
by nix-env.

svn path=/nixpkgs/trunk/; revision=518
2003-11-20 13:58:49 +00:00
Eelco Dolstra 026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra 48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00
Eelco Dolstra 6b2bb22474 * Delete the old Fix packages.
svn path=/nixpkgs/trunk/; revision=501
2003-11-14 09:57:25 +00:00
Eelco Dolstra ff7acae84b * Added gqview to system
* Enabled build of dotty/lefty in graphviz.

svn path=/nixpkgs/trunk/; revision=383
2003-09-03 15:07:50 +00:00
Eelco Dolstra d883e86e1c * Added graphviz.
svn path=/nixpkgs/trunk/; revision=378
2003-09-03 10:32:30 +00:00
Eelco Dolstra dbe0f07b5b * Don't build the Python bindings for Subversion for now (because I'm too lazy to
make a Python package).

svn path=/nixpkgs/trunk/; revision=354
2003-08-25 18:35:21 +00:00
Eelco Dolstra c173a50869 * Activate libxml (xmllint).
svn path=/nixpkgs/trunk/; revision=291
2003-08-14 17:59:10 +00:00
Eelco Dolstra 269331f74c * Use old strategoxt package.
svn path=/nixpkgs/trunk/; revision=290
2003-08-14 12:41:03 +00:00
Eelco Dolstra 60a97f93b0 * Add Firebird to the system configuration.
svn path=/nixpkgs/trunk/; revision=281
2003-08-13 18:00:57 +00:00
Eelco Dolstra 391c26970d * Allow enabling of httpd.
svn path=/nixpkgs/trunk/; revision=263
2003-08-06 14:53:00 +00:00
Eelco Dolstra 5c88811954 * Make system.fix a function of the high-level variation points in the
system.

svn path=/nixpkgs/trunk/; revision=252
2003-08-05 14:32:49 +00:00
Eelco Dolstra 8aebc012a9 * Make subversion.fix a function (i.e., allow its variation points to
be bound).

svn path=/nixpkgs/trunk/; revision=251
2003-08-05 13:33:13 +00:00
Eelco Dolstra 5e4cbed2b3 * Activate Docbook DTD.
svn path=/nixpkgs/trunk/; revision=227
2003-07-30 14:24:36 +00:00
Eelco Dolstra 3ada6a588d * Add docbook-xml and docbook-xsl packages.
svn path=/nixpkgs/trunk/; revision=223
2003-07-30 09:54:15 +00:00
Eelco Dolstra 01e38f9371 * Use rpaths to ensure that executable and dynamic libraries are automatically linked
against the right dynamic libraries.  set-env.sh add the right linker flags to the 
  NIX_LDFLAGS environment variable, which is passed by gcc-wrapper to the linker.  
  (In many cases these flags could just be passed through LDFLAGS to configure 
  scripts; however, in many other cases this doesn't work properly.)
 --This line, and those below, will be ignored--

M    pkgs/atk/atk-build.sh
M    pkgs/glibc/glibc-build.sh
M    pkgs/expat/expat-build.sh
M    pkgs/freetype/freetype-build.sh
M    pkgs/system/populate-linkdirs.pl
M    pkgs/sdf2/sdf2-build.sh
M    pkgs/pspell/pspell-build.sh
M    pkgs/subversion/subversion-build.sh
M    pkgs/helpers/set-env.sh
M    pkgs/pango/pango-build.sh
M    pkgs/strategoxt/strategoxt-build.sh
M    pkgs/aterm/aterm-build.sh
M    pkgs/libxml2/libxml2-build.sh
M    pkgs/glib-1/glib-build.sh
M    pkgs/glib/glib-build.sh
M    pkgs/pan/pan.fix
M    pkgs/pan/pan-build.sh
M    pkgs/libxslt/libxslt-build.sh
M    pkgs/httpd/httpd-build.sh
M    pkgs/openssl/openssl-build.sh
M    pkgs/gtkspell/gtkspell-build.sh
M    pkgs/fontconfig/fontconfig.fix
M    pkgs/fontconfig/fontconfig-build.sh
M    pkgs/gnet/gnet-build.sh
M    pkgs/gtk+-1/gtk+-build.sh
M    pkgs/gtk+/gtk+-build.sh
M    pkgs/stdenv/gcc-wrapper.sh
M    pkgs/stdenv/stdenv-build.sh
M    pkgs/db4/db4-build.sh
M    pkgs/db4/db4.fix
M    pkgs/MPlayer/MPlayer-build.sh
M    pkgs/swig/swig-build.sh

svn path=/nixpkgs/trunk/; revision=213
2003-07-28 21:15:03 +00:00
Eelco Dolstra a7e18d28f5 * Fix a typo in the g++ wrapper.
svn path=/nixpkgs/trunk/; revision=207
2003-07-26 20:38:23 +00:00
Eelco Dolstra eeabccf147 * Updated packages to use our own glibc.
* Disabled gtkspell support in pan since it (and it alone) has a conflict with the 
  system glibc.
* Use CPU detection in MPlayer so that it also works on systems with different CPUs 
  than the build system's.

svn path=/nixpkgs/trunk/; revision=206
2003-07-25 20:43:25 +00:00
Eelco Dolstra 7ec0df788f * Reduced the size of glibc from 130 to 50 MB.
* Adapted some more packages to use stdenv, "fixed" ld.so problems.
* Added a package for libxslt.

svn path=/nixpkgs/trunk/; revision=204
2003-07-25 14:59:22 +00:00
Eelco Dolstra 1a5e75c192 * Added a package for Sylpheed (which depends on glib/gtk+ 1.2.10).
svn path=/nixpkgs/trunk/; revision=195
2003-07-22 20:33:18 +00:00
Eelco Dolstra d866ee97ed * Changed URL.
svn path=/nixpkgs/trunk/; revision=180
2003-07-20 20:38:49 +00:00
Eelco Dolstra e06e1890f4 * Bump version number.
svn path=/nixpkgs/trunk/; revision=170
2003-07-16 20:33:54 +00:00
Eelco Dolstra 3980a39bd0 * Packages for SDF2, StrategoXT.
svn path=/nixpkgs/trunk/; revision=157
2003-07-13 21:27:09 +00:00
Eelco Dolstra 7ec635589f * Let populate-linkdirs.pl automatically merge libraries.
svn path=/nixpkgs/trunk/; revision=153
2003-07-12 19:18:49 +00:00
Eelco Dolstra 0f0a347992 * Converted some more packages.
svn path=/nixpkgs/trunk/; revision=152
2003-07-12 13:04:41 +00:00
Eelco Dolstra ec3b5134c1 * Converted some old Fix descriptors.
* A solution to the library abstraction problem (i.e., if 
  package X needs library Y, and library Y needs library Z, 
  then we do not (generally) want to declare Z as a input to X 
  since that would break abstraction).  This was not possible 
  under the old Nix.

svn path=/nixpkgs/trunk/; revision=150
2003-07-11 21:08:53 +00:00
Eelco Dolstra 151016ab85 * Build in the current directory, not in the target directory.
* `id' -> `name'.

svn path=/nixpkgs/trunk/; revision=132
2003-07-08 15:34:10 +00:00
Eelco Dolstra 522797e468 * Fix packages.
svn path=/nixpkgs/trunk/; revision=118
2003-07-07 06:43:43 +00:00
Eelco Dolstra 114e76b2a4 * New-style Fix expressions.
svn path=/nixpkgs/trunk/; revision=114
2003-07-04 19:50:24 +00:00