Commit Graph

25193 Commits

Author SHA1 Message Date
Eelco Dolstra
5c847a370a * fetchsvn' now requires the MD5 hash (as computed by nix-hash') of
the tree being fetched from a Subversion repository.  The revision
  number is now optional (and defaults to HEAD).

  This makes `fetchsvn' more pure.  First, a URL/revision tuple does
  not uniquely identify a file resource, since the repository itself
  might change.  Second, `svn:external' attributes can cause arbitrary
  resources to be exported.

  A script `nix-prefetch-svn' has been provided to determine the hash
  of a URL.

svn path=/nixpkgs/trunk/; revision=938
2004-04-14 10:55:33 +00:00
Eelco Dolstra
f7561cf00e * Obsolete.
svn path=/nixpkgs/trunk/; revision=936
2004-04-14 09:21:41 +00:00
Eelco Dolstra
11f838c363 * Add dependency on Curl.
svn path=/nixpkgs/trunk/; revision=931
2004-04-08 14:17:47 +00:00
Eelco Dolstra
9dddc7f142 * Scrollkeeper requires DocBook XML 4.2 (not 4.3).
svn path=/nixpkgs/trunk/; revision=930
2004-04-08 14:06:15 +00:00
Eelco Dolstra
f1d1900a92 * Upgraded Nix to the latest version.
svn path=/nixpkgs/trunk/; revision=929
2004-04-08 13:50:29 +00:00
Eelco Dolstra
a1c5ff3fb6 * Upgraded the DocBook DTD and the DocBook XSL stylesheets.
* Added the DocBook EBNF module.

svn path=/nixpkgs/trunk/; revision=926
2004-04-08 11:49:27 +00:00
Eelco Dolstra
02ec562596 * GHC now works again.
svn path=/nixpkgs/trunk/; revision=925
2004-04-07 14:16:57 +00:00
Eelco Dolstra
9c55897afc * Accept relative paths such as -I ..' (-I..' was already being
accepted).

svn path=/nixpkgs/trunk/; revision=924
2004-04-07 14:15:54 +00:00
Eelco Dolstra
32e4b9928d * Added xchm, a Windows help viewer for X.
svn path=/nixpkgs/trunk/; revision=923
2004-04-06 17:47:34 +00:00
Eelco Dolstra
381c8b926a * Some applications (notably, everything based on wxGTK) don't work
yet with GTK 2.4.  Fortunately, having several GTKs in parallel is
  no problem for Nix.

svn path=/nixpkgs/trunk/; revision=915
2004-04-05 14:09:01 +00:00
Eelco Dolstra
a1ddfbc3a5 * Some renaming.
svn path=/nixpkgs/trunk/; revision=914
2004-04-05 13:42:41 +00:00
Eelco Dolstra
0233bc614d * Factor groups of strongly related packages out of
`all-packages-generic.nix'.

svn path=/nixpkgs/trunk/; revision=913
2004-04-05 13:34:13 +00:00
Eelco Dolstra
b874f68d80 * Remove docs/ after build.
svn path=/nixpkgs/trunk/; revision=912
2004-04-05 09:34:43 +00:00
Eelco Dolstra
beaff0a892 * Ensure that when building gcc, libstdc++ is linked against the
libgcc of the gcc being built, not the gcc building it.
* Only include a directory in the rpath of an executable/library if it
  is actually used.  Before, the `/lib' directory of every build input
  was added to the rpath, causing many unnecessary retained
  dependencies.  For instance, Perl has a `/lib' directory, but most
  applications whose build process uses Perl don't actually link
  against Perl.  (Also added a test for this.)
* After building glibc, remove glibcbug, to prevent a retained
  dependency on gcc.
* Add a newline after `building X' in GNU Make.

svn path=/nixpkgs/trunk/; revision=911
2004-04-04 22:02:41 +00:00
Eelco Dolstra
0d4967fc35 * Build Firefox in nixpkgs.
* Some TODOs.

svn path=/nixpkgs/trunk/; revision=910
2004-04-03 15:45:42 +00:00
Eelco Dolstra
1550034ac4 * Various bug fixes in setup.sh and ld-wrapper.sh.
svn path=/nixpkgs/trunk/; revision=909
2004-04-02 17:49:44 +00:00
Eelco Dolstra
798a009f1d * Print `building FOO' messages on standard error, not standard
output.  Some build processes actually parse the output of Make
  (like Firefox).

svn path=/nixpkgs/trunk/; revision=908
2004-04-02 17:45:20 +00:00
Eelco Dolstra
8776ba127c * Updated some more packages. However, bittorrent and vlc don't work
right now because wxGTK is broken (it depends on internal symbols in
  GTK which where made private in GTK 2.4).

svn path=/nixpkgs/trunk/; revision=907
2004-04-02 15:36:14 +00:00
Eelco Dolstra
de759967c8 * Update to GTK 2.4.0.
svn path=/nixpkgs/trunk/; revision=906
2004-04-02 13:58:55 +00:00
Eelco Dolstra
36356d7694 * More sed breakage.
svn path=/nixpkgs/trunk/; revision=903
2004-04-01 20:36:40 +00:00
Eelco Dolstra
57c5759250 * Missing file.
svn path=/nixpkgs/trunk/; revision=902
2004-04-01 20:20:09 +00:00
Eelco Dolstra
5c9232e063 * Fix UML - poorly.
svn path=/nixpkgs/trunk/; revision=901
2004-04-01 20:12:54 +00:00
Eelco Dolstra
776554d9e1 * Fixed and/or updated some more components. The number of explicit
builders is dropping steadily.

svn path=/nixpkgs/trunk/; revision=900
2004-04-01 19:11:59 +00:00
Eelco Dolstra
7bf54b734e * Follow redirects.
svn path=/nixpkgs/trunk/; revision=899
2004-04-01 19:10:37 +00:00
Eelco Dolstra
2b58d63ab6 * MPlayer had an undeclared dependency on zlib; found using the
improved purity enforcement in the gcc/ld-wrappers.

svn path=/nixpkgs/trunk/; revision=898
2004-04-01 18:06:09 +00:00
Eelco Dolstra
6d3efc40c1 * I don't know why GHC is broken. But it is.
svn path=/nixpkgs/trunk/; revision=897
2004-04-01 17:10:36 +00:00
Eelco Dolstra
735076eb3c * Doh!.
svn path=/nixpkgs/trunk/; revision=895
2004-04-01 16:07:36 +00:00
Eelco Dolstra
e50417845d * Fixed Stratego.
* Added Zoom, an interpreter for Z-Code.

svn path=/nixpkgs/trunk/; revision=894
2004-04-01 16:02:53 +00:00
Eelco Dolstra
8e4d58631e * Fixed flex-new.
svn path=/nixpkgs/trunk/; revision=893
2004-04-01 14:24:30 +00:00
Eelco Dolstra
9c711700e4 * Fix bison.
svn path=/nixpkgs/trunk/; revision=892
2004-04-01 13:48:08 +00:00
Eelco Dolstra
92b3cc5cfb * Working Graphviz / Athena widgets.
svn path=/nixpkgs/trunk/; revision=891
2004-04-01 13:36:31 +00:00
Eelco Dolstra
8feb5fab5b * Use an unofficial release of libXt.
svn path=/nixpkgs/trunk/; revision=890
2004-04-01 12:24:12 +00:00
Eelco Dolstra
ab7af4709a * Add `--fail' to curl invocation to catch errors.
svn path=/nixpkgs/trunk/; revision=889
2004-04-01 12:23:02 +00:00
Eelco Dolstra
817d1b27ef * Provide a wrapper around `aclocal' (in Automake) that automatically
adds all directories specified in `ACLOCAL_PATH' to the `aclocal'
  command line as `-I' flags.  Also, it provides a setup hook that
  adds the `.../share/aclocal' directory of every build input to
  `ACLOCAL_PATH'.

* Upgraded Libtool.

* Graphviz requires the X Athena widgets, which in turn requires the X
  miscellaneous utilities library; added those.  However it doesn't
  work yet since libXt is broken.
  

svn path=/nixpkgs/trunk/; revision=888
2004-03-31 22:47:06 +00:00
Eelco Dolstra
cbdf9a0408 * Disable some packages known not to build.
svn path=/nixpkgs/trunk/; revision=887
2004-03-31 10:19:24 +00:00
Eelco Dolstra
0376334dde * New Nix release.
svn path=/nixpkgs/trunk/; revision=886
2004-03-31 10:19:01 +00:00
Eelco Dolstra
b3c93a41c1 * Some changes to get Firefox working (it doesn't work yet, since
the freedesktop.org libXt is broken, but never mind that).

svn path=/nixpkgs/trunk/; revision=885
2004-03-31 09:45:19 +00:00
Eelco Dolstra
24cb251dd0 * Some more updates.
svn path=/nixpkgs/trunk/; revision=884
2004-03-30 17:42:45 +00:00
Eelco Dolstra
00004fa6da * More freedesktop.org X11 modules.
* Cleaned up some packages.

svn path=/nixpkgs/trunk/; revision=883
2004-03-30 17:28:41 +00:00
Eelco Dolstra
5a4de2c5de * Remove builder attributes.
* MPlayer: pass stdenv to w32codecs.

svn path=/nixpkgs/trunk/; revision=882
2004-03-30 15:15:19 +00:00
Eelco Dolstra
01a1658c6b * Finally we have a working stdenvLinux again.
On the downside, the build process of stdenvLinux builds gcc 9 times
  (3 x 3 bootstrap stages).  That's a bit excessive.

svn path=/nixpkgs/trunk/; revision=880
2004-03-30 12:46:52 +00:00
Eelco Dolstra
68327c3a9d * Fix brokenness due to automatic transformations.
svn path=/nixpkgs/trunk/; revision=879
2004-03-30 12:40:55 +00:00
Eelco Dolstra
04c272508c * Fix brokenness due to automatic transformations.
svn path=/nixpkgs/trunk/; revision=878
2004-03-30 12:37:17 +00:00
Eelco Dolstra
4fc3dd4a5a * Remove builder.
svn path=/nixpkgs/trunk/; revision=877
2004-03-30 12:35:56 +00:00
Eelco Dolstra
085e197ea3 * Toss out all the linker flags, since any --rpath switch causes the
glibc build to fail.

svn path=/nixpkgs/trunk/; revision=876
2004-03-30 12:35:31 +00:00
Eelco Dolstra
8ed9ea8b51 * Use a Nix shell for gcc-wrapper and ld-wrapper.
svn path=/nixpkgs/trunk/; revision=875
2004-03-29 17:34:00 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
bc71554fc8 * Okay, so something did break.
svn path=/nixpkgs/trunk/; revision=871
2004-03-29 10:27:01 +00:00
Eelco Dolstra
2fcc5fdb08 * "!isNull x" -> "x != null". Done automatically. Hope nothing
broke.

svn path=/nixpkgs/trunk/; revision=870
2004-03-29 10:25:25 +00:00
Eelco Dolstra
e3ff964291 * Fixing ltmain.sh is now done in setup.sh.
svn path=/nixpkgs/trunk/; revision=869
2004-03-29 10:15:12 +00:00
Eelco Dolstra
5862e56f26 * For simple Autotools-style packages (such as the ATerm library), the
builder may now be omitted entirely; the function `mkDerivation'
  will then use a default build script.

svn path=/nixpkgs/trunk/; revision=868
2004-03-28 21:17:56 +00:00
Eelco Dolstra
892b119c9d * It is now possible to execute a builder using a shell inside the Nix
store, rather than outside (such as /bin/sh).

  For instance, the Nix expression for the ATerm library now looks
  like this:

    {stdenv, fetchurl}:

    stdenv.mkDerivation {
      name = "aterm-2.0.5";
      builder = ./builder.sh;
      ...
    }

  where `mkDerivation' is a helper function in `stdenv' that massages
  the given attribute set into using the bash shell that is part of
  the standard environment:

    mkDerivation = attrs: derivation (att s // {
      builder = pkgs.bash ~ /bin/sh;
      args = ["-e" attrs.builder];
      stdenv = (...);
      system = (...).system;
    });

  Note that this makes it unnecessary to set the `stdenv' and `system'
  attributes, since `mkDerivation' already does that.


svn path=/nixpkgs/trunk/; revision=866
2004-03-28 21:07:43 +00:00
Eelco Visser
f8f9f4d12c expression for strategoxt 0.9.5
svn path=/nixpkgs/trunk/; revision=863
2004-03-28 15:52:03 +00:00
Eelco Dolstra
3c699fe619 * Need to specify a dummy unpacker.
svn path=/nixpkgs/trunk/; revision=862
2004-03-27 23:39:02 +00:00
Eelco Dolstra
f45695f7fa * Use $propagatedBuildInputs to find build inputs.
* Bug fix in setup.sh.

svn path=/nixpkgs/trunk/; revision=861
2004-03-27 22:09:34 +00:00
Eelco Dolstra
bd56b7d65c * Started moving from XFree86 to the freedesktop.org Xlibs libraries.
svn path=/nixpkgs/trunk/; revision=860
2004-03-27 21:59:31 +00:00
Eelco Dolstra
8c4a80b585 * Upgrade to gcc 3.3.3. Starting at 3.3.3, the gcc makefile checks
whether the system header file directory actually exists (when
  calling fixinc), so passing a non-existent directory no longer
  works.  Instead we make a empty dummy directory.

svn path=/nixpkgs/trunk/; revision=858
2004-03-27 16:35:59 +00:00
Eelco Dolstra
9c4cfc02ce * Pass a `bootCurl' parameter.
svn path=/nixpkgs/trunk/; revision=857
2004-03-27 15:50:18 +00:00
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
e8295a80b4 * Upgrade to 0.9.7d (another security fix).
svn path=/nixpkgs/trunk/; revision=855
2004-03-27 15:49:20 +00:00
Eelco Dolstra
f0b3c89f89 * Fix all files called `ltmain.sh' in the source tree.
svn path=/nixpkgs/trunk/; revision=854
2004-03-27 15:48:46 +00:00
Eelco Dolstra
4f155b0f7a * Upgrades.
svn path=/nixpkgs/trunk/; revision=853
2004-03-27 15:48:19 +00:00
Eelco Dolstra
158aa95f52 * Upgrade to 1.0.1.
svn path=/nixpkgs/trunk/; revision=852
2004-03-27 15:48:03 +00:00
Eelco Dolstra
ee40be39a4 * Upgrade to 2.0.49.
svn path=/nixpkgs/trunk/; revision=851
2004-03-27 15:47:48 +00:00
Eelco Dolstra
4df6ec860c * Typo fix.
svn path=/nixpkgs/trunk/; revision=850
2004-03-27 15:44:05 +00:00
Eelco Dolstra
cbe3e13bde * Style fix.
svn path=/nixpkgs/trunk/; revision=846
2004-03-19 17:01:46 +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
ab73ec398b * Removed the old gcc.
svn path=/nixpkgs/trunk/; revision=825
2004-03-09 17:10:23 +00:00
Eelco Dolstra
b8b4f9ce4b * Reject inputs outside of the store in ld if NIX_ENFORCE_PURITY is
set.
* Various bug fixes.

svn path=/nixpkgs/trunk/; revision=824
2004-03-09 17:08:41 +00:00
Eelco Dolstra
d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00
Eelco Dolstra
c8455be838 * Use a setup hook to set PKG_CONFIG_PATH.
svn path=/nixpkgs/trunk/; revision=822
2004-03-09 10:45:01 +00:00
Eelco Dolstra
5c5db47443 * Set a flag to indicate whether we're doing a native build.
svn path=/nixpkgs/trunk/; revision=821
2004-03-09 10:36:45 +00:00
Eelco Dolstra
e8d2b1cc36 * Allow Perl to be built using the native stdenv.
svn path=/nixpkgs/trunk/; revision=820
2004-03-09 10:29:30 +00:00
Eelco Dolstra
1b39a96d37 * Create a dummy linux/autoconf.h, which is needed by linux/config.h.
* Updated to 2.4.25.

svn path=/nixpkgs/trunk/; revision=819
2004-03-09 10:28:31 +00:00
Eelco Dolstra
70d26112f2 * Set the TZ variable to UTC to prevent silly errors in date strings.
* Bug fix in PATH initialisation.

svn path=/nixpkgs/trunk/; revision=818
2004-03-09 10:27:42 +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
1999676d30 * Bug fix: don't pass -B to the linker.
svn path=/nixpkgs/trunk/; revision=811
2004-02-20 10:03:46 +00:00
Eelco Dolstra
b7ad383924 * Bah. All this time gcc was linking programs against
/usr/lib/crt1.o, while it should be using $glibc/lib/crt1.o.  This
  quick hack (prepending $glibc/lib to the GCC search path using "-B")
  fixes the problem, but a better solution to prevent this sort of
  thing is to remove these static paths from gcc.

  Note: this problem was found using the pure UML Nix environment
  (where we don't have /usr/lib).

svn path=/nixpkgs/trunk/; revision=810
2004-02-19 16:55:23 +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
08dbd48e8d * Newer version.
svn path=/nixpkgs/trunk/; revision=808
2004-02-19 16:24:43 +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
428f8b4ca3 * Upgraded vlc to 0.7.0.
svn path=/nixpkgs/trunk/; revision=800
2004-02-18 08:17:48 +00:00
Eelco Dolstra
73c7b4a111 * Pass parameters correctly.
svn path=/nixpkgs/trunk/; revision=799
2004-02-18 08:17:12 +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
56712d5032 * Export a variation point `zlibSupport'.
svn path=/nixpkgs/trunk/; revision=796
2004-02-17 20:02:31 +00:00
Eelco Dolstra
9261c1eaa5 * Added wxPython.
svn path=/nixpkgs/trunk/; revision=795
2004-02-17 19:19:26 +00:00
Eelco Dolstra
057ad6798c * Export a variation point `compat22' to specify compatibility with
wxWindows 2.2.

svn path=/nixpkgs/trunk/; revision=794
2004-02-17 19:18:46 +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
9a4afa3f94 * Fix undefined variables.
svn path=/nixpkgs/trunk/; revision=744
2004-02-03 14:44:48 +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
744c434349 * Missing semicolon.
svn path=/nixpkgs/trunk/; revision=729
2004-01-30 15:44:56 +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
66c3040dbb * Semicolons at the end of an attrset are now required.
svn path=/nixpkgs/trunk/; revision=726
2004-01-29 14:28:16 +00:00
Eelco Dolstra
7000802ae8 * Upgrade to Subversion 0.37.0.
svn path=/nixpkgs/trunk/; revision=724
2004-01-27 14:39:05 +00:00
Eelco Dolstra
41c54dd4d9 * j2sdk should not refer to /tmp/j2sdk-1_4_2_03-linux-i586.bin in this
way, since it prevents store expression from being instantiated from
  all-packages-generic.nix. 

svn path=/nixpkgs/trunk/; revision=721
2004-01-26 11:05:07 +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
e0f8b5d722 * Updated to 0.9.8a.
svn path=/nixpkgs/trunk/; revision=674
2004-01-20 20:29:57 +00:00
Eelco Dolstra
9baed5046d * Upgraded to Subversion 0.36.0.
svn path=/nixpkgs/trunk/; revision=659
2004-01-16 11:26:38 +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
9b0306fb9b * Added a version number.
svn path=/nixpkgs/trunk/; revision=641
2004-01-13 15:29:15 +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 Dolstra
a117391400 * Upgraded to 1.64.1.
svn path=/nixpkgs/trunk/; revision=624
2004-01-08 14:35:37 +00:00
Eelco Visser
5fb4265643 clone trunk.nix for building distribution
svn path=/nixpkgs/trunk/; revision=602
2003-12-25 12:21:41 +00:00
Eelco Visser
e2570fd7b7 built StrategoXT from subversion; not sure whether there are problems
with shared libraries.

svn path=/nixpkgs/trunk/; revision=601
2003-12-24 15:58:48 +00:00
Eelco Visser
02a743eb7a junk
svn path=/nixpkgs/trunk/; revision=598
2003-12-23 21:32:25 +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
5e7f5b2ada * Upgrade to Subversion 0.35.1, Berkeley DB 4.2.52.
svn path=/nixpkgs/trunk/; revision=595
2003-12-22 18:30:38 +00:00
Eelco Dolstra
fe1c5cb1e1 * Regression fix.
svn path=/nixpkgs/trunk/; revision=587
2003-12-21 21:25:38 +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
38bc744a0b * Use md5sum instead of nix-hash.
svn path=/nixpkgs/trunk/; revision=584
2003-12-21 16:00:17 +00:00
Eelco Dolstra
4b283d3de7 * Added par2cmdline.
svn path=/nixpkgs/trunk/; revision=583
2003-12-14 20:36:43 +00:00
Eelco Dolstra
f1279496e5 * Upgrade to 1.0pre3.
svn path=/nixpkgs/trunk/; revision=582
2003-12-14 20:36:29 +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
003ce6c40d * A function to fetch sources from a Subversion repository.
svn path=/nixpkgs/trunk/; revision=544
2003-11-25 17:38:48 +00:00
Eelco Dolstra
f16b58e236 * DocBook DTD / XSLT stylesheets.
svn path=/nixpkgs/trunk/; revision=543
2003-11-25 16:59:07 +00:00
Eelco Dolstra
7953d11e3a * Added unzip.
svn path=/nixpkgs/trunk/; revision=541
2003-11-25 14:40:02 +00:00
Eelco Dolstra
58c20ef428 * Added autoconf/automake.
svn path=/nixpkgs/trunk/; revision=540
2003-11-25 13:46:24 +00:00
Eelco Dolstra
ef2f51e930 * Added libxslt.
svn path=/nixpkgs/trunk/; revision=539
2003-11-25 13:45:51 +00:00
Eelco Dolstra
cf9df60603 * Propagate libz.
svn path=/nixpkgs/trunk/; revision=538
2003-11-25 13:45:35 +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
95bf9df10d * Upgraded to Mozilla Firebird 0.7.
svn path=/nixpkgs/trunk/; revision=426
2003-10-17 10:13:18 +00:00
Eelco Dolstra
fe9576d846 * Use ftp.cs.uu.nl mirror.
svn path=/nixpkgs/trunk/; revision=419
2003-10-15 12:42:52 +00:00
Eelco Dolstra
4853310bb8 * Upgraded docbook-xsl.
* Strip gcc's static libraries.

svn path=/nixpkgs/trunk/; revision=415
2003-10-14 12:12:46 +00:00
Eelco Dolstra
88629b5612 * Bug fix: openssl installs some directories unreadable.
svn path=/nixpkgs/trunk/; revision=408
2003-10-09 14:52:07 +00:00
Eelco Dolstra
60017b5191 * Upgraded a bunch of packages (in particular OpenSSL, which had a
security bug).

svn path=/nixpkgs/trunk/; revision=407
2003-10-09 13:24:24 +00:00
Eelco Dolstra
8f20737d52 * Firebird doesn't actually seem to need unzip.
svn path=/nixpkgs/trunk/; revision=406
2003-10-09 08:11:55 +00:00
Eelco Dolstra
2220a171c9 * Berkeley DB bindings for Perl.
svn path=/nixpkgs/trunk/; revision=405
2003-10-09 08:08:05 +00:00
Eelco Dolstra
7f97b73eef * Upgrade to Subversion 0.30.0.
svn path=/nixpkgs/trunk/; revision=404
2003-10-09 08:07:27 +00:00
Eelco Dolstra
915672f858 * Boehm garbage collector.
svn path=/nixpkgs/trunk/; revision=391
2003-09-12 10:20:34 +00:00
Eelco Dolstra
a9f88dae64 * User Mode Linux.
svn path=/nixpkgs/trunk/; revision=390
2003-09-12 10:20:12 +00:00
Eelco Dolstra
64c25128bc * The build of User Mode Linux 2.4.19 fails because the GCC people
thought that it was a good idea to remove support for multi-line
  string literals, which Linux uses.  Added an older GCC to build
  `legacy' software.

svn path=/nixpkgs/trunk/; revision=389
2003-09-12 10:19:47 +00:00
Eelco Dolstra
34dfe18660 * GNU Patch.
svn path=/nixpkgs/trunk/; revision=388
2003-09-11 20:17:17 +00:00
Eelco Dolstra
714a65d9d4 * Upgraded to Subversion 0.29.0.
svn path=/nixpkgs/trunk/; revision=387
2003-09-11 12:25:32 +00:00
Eelco Dolstra
443b81595a * Fixed stdenv-native.
svn path=/nixpkgs/trunk/; revision=386
2003-09-11 12:24:19 +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
35e9ca4fa9 * Added gqview, a nice image viewer.
svn path=/nixpkgs/trunk/; revision=380
2003-09-03 10:56:30 +00:00
Eelco Dolstra
10a53b57d8 * Let graphviz use freetype.
svn path=/nixpkgs/trunk/; revision=379
2003-09-03 10:55:57 +00:00
Eelco Dolstra
d883e86e1c * Added graphviz.
svn path=/nixpkgs/trunk/; revision=378
2003-09-03 10:32:30 +00:00
Eelco Dolstra
15b39d40af * Link in expat if we are *not* building an Apache module.
svn path=/nixpkgs/trunk/; revision=377
2003-09-01 14:53:07 +00:00
Eelco Dolstra
eef0deb633 * Let GUI applications/libraries link against the nixified XFree86.
This makes the system package fully nixified in the sense that

    for i in $(nix -qn $(fix system/system-template-everything.fix))/bin/*; \
    do echo $i; ldd $i; done

  shows that the programs in the system package only link against libraries in
  the Nix store.

  (Some builders still use header files from /usr/X11/include, though.)

svn path=/nixpkgs/trunk/; revision=376
2003-08-29 14:43:45 +00:00
Eelco Dolstra
d60e11c4e2 * Quick fix to allow fontconfig to find client-side fonts.
svn path=/nixpkgs/trunk/; revision=375
2003-08-29 13:18:56 +00:00
Eelco Dolstra
01f6b1026c * Added XFree86 (client-side libraries only).
svn path=/nixpkgs/trunk/; revision=373
2003-08-29 12:23:00 +00:00
Eelco Dolstra
d7d58daff4 * Let gtk use lib{png, tiff, jpeg}.
* Fix gtkspell.

svn path=/nixpkgs/trunk/; revision=371
2003-08-28 11:15:48 +00:00
Eelco Dolstra
8a2a4aee40 * Fixed a silly bug in fontconfig (it generates a broken `fonts.conf' file
if no timezone is set).

svn path=/nixpkgs/trunk/; revision=367
2003-08-27 15:35:07 +00:00
Eelco Dolstra
9f91684adb * A bunch of image file format libraries required by gtk.
svn path=/nixpkgs/trunk/; revision=366
2003-08-27 15:17:15 +00:00
Eelco Dolstra
a291f2a94e * Oops.
svn path=/nixpkgs/trunk/; revision=365
2003-08-27 12:38:36 +00:00
Eelco Dolstra
fe43aeafdc * Upgraded to 0.91.
svn path=/nixpkgs/trunk/; revision=364
2003-08-27 12:37:58 +00:00
Eelco Dolstra
6b66d16116 * Provide an ld-wrapper that sets the linker search path correctly (just like
gcc-wrapper).  Useful for builds that call ld directly.

svn path=/nixpkgs/trunk/; revision=363
2003-08-27 12:37:38 +00:00
Eelco Dolstra
1edcca4322 * Build version.h before installing the header files.
svn path=/nixpkgs/trunk/; revision=362
2003-08-26 20:05:56 +00:00
Eelco Dolstra
e83fe5ee78 * Patched gcc so that it doesn't search the standard include directories
(/usr/include, /usr/local/include, etc.).

* Immediate pay-off: we see that the glibc header files depend on the Linux
  kernel header files.  So I've added a package that extracts the appropriate
  headers from Linux 2.4.22.

svn path=/nixpkgs/trunk/; revision=361
2003-08-26 15:25:26 +00:00
Eelco Dolstra
3638af3cab * gcc: ensure that the compilers past stage-1 and the libraries are linked
against our glibc.

svn path=/nixpkgs/trunk/; revision=360
2003-08-26 13:55:30 +00:00
Eelco Dolstra
d6cbd38bfb * Patched Perl's configure script to stop it from scanning well-known system
directories for libraries.  (Fortunately, the build would still fail because
  Perl's idea of "standard" library directories no longer matched that of the
  linker.)

* `stdenv-linux/setup.sh' now puts the path of glibc in an environment
  variable so that it can be used by other packages (for example, we need to
  pass it to Perl's configure, because otherwise it will think that, e.g.,
  libm.so doesn't exist).

svn path=/nixpkgs/trunk/; revision=359
2003-08-26 10:34:51 +00:00
Eelco Dolstra
0de9e19de7 * Added zlib.
* Use zlib in libxml2.

svn path=/nixpkgs/trunk/; revision=358
2003-08-25 19:41:37 +00:00
Eelco Dolstra
23d90c2324 * Patched binutils so that ld no longer searches any of the "default" directories
(/lib, ...).  So unless a directory is explicitly added using `-L' it won't we 
  searched.  This has already revealed that libxml has a hidden dependance on libz.

svn path=/nixpkgs/trunk/; revision=357
2003-08-25 19:26:46 +00:00
Eelco Dolstra
12e195f313 * Forgot to add zip.
svn path=/nixpkgs/trunk/; revision=355
2003-08-25 18:37:44 +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
f18c7333ba * Fix a typo.
svn path=/nixpkgs/trunk/; revision=352
2003-08-25 14:39:11 +00:00
Eelco Dolstra
ab2b43ae50 * Use stdenv.
svn path=/nixpkgs/trunk/; revision=350
2003-08-25 13:53:55 +00:00
Eelco Dolstra
ff423a1129 * Apache depends on Perl.
svn path=/nixpkgs/trunk/; revision=349
2003-08-25 13:34:41 +00:00
Eelco Dolstra
6a70252255 * Firebird depends on zip/unzip.
* Turn off pedantic checking because of a bug in Firebird.

svn path=/nixpkgs/trunk/; revision=348
2003-08-25 13:34:12 +00:00
Eelco Dolstra
eb545b5142 * Amazingly, sdf2 is still dependent on the non-standard `getopt' tool. So
getopt has been added.

  As part of the build of sdf2 we patch sdf2table to store the full path of
  getopt.  This is so that packages that use sdf2 do not have to declare
  getopt as an input.

svn path=/nixpkgs/trunk/; revision=347
2003-08-25 13:24:48 +00:00
Eelco Dolstra
4de36e3b50 * OpenSSL, Firebird require Perl.
svn path=/nixpkgs/trunk/; revision=345
2003-08-22 15:09:51 +00:00
Eelco Dolstra
55c1068263 * Remove absolute path.
svn path=/nixpkgs/trunk/; revision=344
2003-08-22 15:08:32 +00:00
Eelco Dolstra
84245ad51e * Remove absolute path.
svn path=/nixpkgs/trunk/; revision=343
2003-08-22 15:07:57 +00:00
Eelco Dolstra
f11574c91d * gmake -> make (the stdenv gives us GNU make).
svn path=/nixpkgs/trunk/; revision=342
2003-08-22 15:07:21 +00:00
Eelco Dolstra
33555f6a4d * Added the GNU findutils to the stdenv.
svn path=/nixpkgs/trunk/; revision=341
2003-08-22 15:06:24 +00:00
Eelco Dolstra
3467585b1b * Split off the native build init into setup-nativetools.sh.
* Add the $gcc/lib to the library path in the Nixified stdenv.  (This
  include libgcc.so and libstdc++.so.)

svn path=/nixpkgs/trunk/; revision=340
2003-08-22 13:42:21 +00:00
Eelco Dolstra
ce22795c1c * libIDL requires flex, which requires bison, which requires m4...
svn path=/nixpkgs/trunk/; revision=339
2003-08-22 13:39:36 +00:00
Eelco Dolstra
a78e923fe7 * Some more stuff that needs perl.
svn path=/nixpkgs/trunk/; revision=332
2003-08-20 11:15:07 +00:00
Eelco Dolstra
eaadea1e2a * Initialise the PATH immediately at the start of stdenv-linux, otherwise
baseenv won't work properly (because it can't find programs such as `cat').

svn path=/nixpkgs/trunk/; revision=331
2003-08-20 11:13:13 +00:00
Eelco Visser
ea7ab23109 use natively installed subversion to avoid build problems for subversion
svn path=/nixpkgs/trunk/; revision=330
2003-08-19 21:18:24 +00:00
Eelco Visser
dc35a28b03 use natively installed subversion to avoid build problems for subversion
svn path=/nixpkgs/trunk/; revision=329
2003-08-19 21:17:54 +00:00
Eelco Visser
90778a120c gcc-wrapper moved to baseenv
svn path=/nixpkgs/trunk/; revision=328
2003-08-19 20:52:46 +00:00
Eelco Dolstra
11b6d0629a * I can't believe that anybody is still using `ed', but there you
have it...

svn path=/nixpkgs/trunk/; revision=327
2003-08-19 15:05:02 +00:00
Eelco Dolstra
4ec5cab7a5 * ATK and GLib need Perl.
TODO: clean up the Perl build.  Currently it's still using some external
  libraries, and it doesn't pass all its unit tests.

svn path=/nixpkgs/trunk/; revision=326
2003-08-19 14:52:52 +00:00
Eelco Dolstra
0dc6fd3204 * Added bash.
* Separated stdenv.fix and stdenv-nativetools.fix.

svn path=/nixpkgs/trunk/; revision=324
2003-08-19 10:40:54 +00:00
Eelco Dolstra
6ad771156c * Added GNU gettext. Nixification is paying off: e.g., it revealed that glib
has a dependency on gettext (and Perl; that's next).

svn path=/nixpkgs/trunk/; revision=323
2003-08-19 09:41:43 +00:00
Eelco Dolstra
6da1ac69b5 * Added GNU awk.
svn path=/nixpkgs/trunk/; revision=322
2003-08-19 09:40:09 +00:00
Eelco Dolstra
af9c2a534d * Added bzip2.
Note that I added bzip2 to stdenv, but not unzip.  This raises an interesting 
  point: what packages should be in stdenv?

svn path=/nixpkgs/trunk/; revision=320
2003-08-18 20:58:51 +00:00
Eelco Visser
5c09abea7d * pkgs/strategoxt/pkg-build.sh: generic build script for packages
with the standard untar; bootstrap; configure; make; make install
interface.  The script is parameterized with arguments for
configure. That is, all arguments are passed verbatim to
configure.

* asfix-tools, gpp, sc, srts, stratego-front, xtc: Fix expressions
and (trivial) build script for basic strategoxt packages. All
packages are abstracted on subversion revision.

svn path=/nixpkgs/trunk/; revision=319
2003-08-18 20:56:59 +00:00
Eelco Visser
397901e36f creating tar after obtaining exported subversion directory
svn path=/nixpkgs/trunk/; revision=318
2003-08-18 20:47:12 +00:00
Eelco Dolstra
b86f5facff * Added Info-ZIP UnZip.
svn path=/nixpkgs/trunk/; revision=317
2003-08-18 20:05:23 +00:00
Eelco Dolstra
23154d034f * Get rid of all `-S' flags (to remove debug info); this is now the default.
* Remove all references to set-env.sh; it has been merged into stdenv.fix (actually 
  baseenv.fix).

svn path=/nixpkgs/trunk/; revision=316
2003-08-18 19:52:54 +00:00
Eelco Dolstra
287225e1e1 * Added binutils. The aterm library now builds in a fully Nixified environment.
svn path=/nixpkgs/trunk/; revision=315
2003-08-18 19:41:45 +00:00
Eelco Dolstra
d343a357f1 * Added GCC (C and C++ variant; include libstdc++).
svn path=/nixpkgs/trunk/; revision=314
2003-08-18 17:49:30 +00:00
Eelco Dolstra
185464700d * Added GNU make.
svn path=/nixpkgs/trunk/; revision=313
2003-08-18 17:08:09 +00:00
Eelco Dolstra
5bfb7b04d4 * Added the GNU diffutils.
svn path=/nixpkgs/trunk/; revision=312
2003-08-18 17:04:07 +00:00
Eelco Dolstra
86ac7b60b0 * Added GNU grep, and the Perl Compatible Regular Expressions library used by
grep.

svn path=/nixpkgs/trunk/; revision=311
2003-08-18 16:59:39 +00:00
Eelco Dolstra
aab301d701 * Added GNU sed.
svn path=/nixpkgs/trunk/; revision=310
2003-08-18 16:44:50 +00:00
Eelco Dolstra
4a104ba060 * Added gzip.
svn path=/nixpkgs/trunk/; revision=309
2003-08-18 16:40:22 +00:00
Eelco Dolstra
f6e0983d44 * Added GNU tar.
* Some refactoring on stdenv-linux to prevent unnecessary rebuilds.

svn path=/nixpkgs/trunk/; revision=308
2003-08-18 16:33:38 +00:00
Eelco Dolstra
5cf73363ea * No longer need this.
svn path=/nixpkgs/trunk/; revision=306
2003-08-18 15:32:31 +00:00
Eelco Dolstra
40bc2cc9b6 * Started on working towards the fully Nixified build environment, i.e., one
where we don't use any tools from outside the Nix environment.  For this we
  need the basic POSIX utilities (e.g., GNU coreutils), a shell, GCC, and the
  binutils.

  Normal packages just need to include stdenv/stdenv.fix, which on Linux will
  use the Nixified environment.  However, for the tools in the build
  environment itself we have a bootstrapping problem.  Therefore, these depend
  on the external environment (and include stdenv-linux/stdenv-nativetools).

  The package `baseenv' provides some generic setup and GCC wrappers used by
  both fully Nixified and native environments.

svn path=/nixpkgs/trunk/; revision=305
2003-08-18 15:32:13 +00:00
Eelco Dolstra
53fa95e3ad * Subversion: upgraded to 0.27.0.
svn path=/nixpkgs/trunk/; revision=303
2003-08-18 13:27:44 +00:00
Eelco Dolstra
1445fe4a26 * A package that builds source distributions of Nix. It fetches the
source from Subversion, runs autoreconf and configure, and does a `make 
  dist'.

  The revision number is currently hard-coded into `nix-dist.fix'.

svn path=/nixpkgs/trunk/; revision=302
2003-08-18 10:08:27 +00:00
Eelco Dolstra
dd19f0b526 * Make fetchsvn dependent on Subversion.
svn path=/nixpkgs/trunk/; revision=301
2003-08-18 10:06:23 +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 Visser
e77dea330c fetching a specific revision from a subversion repository
svn path=/nixpkgs/trunk/; revision=287
2003-08-14 12:27:15 +00:00
Eelco Visser
6c8937cbca separate strategoxt packages
svn path=/nixpkgs/trunk/; revision=286
2003-08-14 12:26:13 +00:00
Eelco Visser
41e1c2e039 moving strategoxt to strategoxt-0.9.2
svn path=/nixpkgs/trunk/; revision=285
2003-08-14 12:19:59 +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
6b08880f80 * Added Mozilla Firebird (with gtk2 and antialiasing).
svn path=/nixpkgs/trunk/; revision=280
2003-08-13 17:29:52 +00:00
Eelco Dolstra
3f6b9a05b0 * Added libIDL (which is used by Mozilla).
svn path=/nixpkgs/trunk/; revision=279
2003-08-13 17:29:18 +00:00
Eelco Dolstra
81f3b0eaed * Revert rename.
svn path=/nixpkgs/trunk/; revision=278
2003-08-13 17:29:00 +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
9f94d884b7 * Force use of threads.
* Use /dev/urandom, not /dev/random.

svn path=/nixpkgs/trunk/; revision=262
2003-08-06 14:52:32 +00:00
Martin Bravenboer
101716ac56 * fix expression and build script for sun j2re for linux.
Build script should be improved to handle to installation 
    stuff Sun is doing in their script.

svn path=/nixpkgs/trunk/; revision=260
2003-08-06 14:20:26 +00:00
Eelco Visser
3b783872d2 making room for new strategoxt.fix
svn path=/nixpkgs/trunk/; revision=259
2003-08-06 14:04:52 +00:00
Eelco Dolstra
5da5a72830 * OpenSSL's rpath should include itself.
svn path=/nixpkgs/trunk/; revision=258
2003-08-06 11:30:45 +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
49f7a4afd1 * Use stdenv-linux only on Linux platforms.
svn path=/nixpkgs/trunk/; revision=250
2003-08-05 13:06:06 +00:00
Eelco Dolstra
2264e18f43 * Fix URLs.
svn path=/nixpkgs/trunk/; revision=243
2003-08-05 08:19:49 +00:00
Eelco Dolstra
244d0b4181 * Stdenv-native uses the native build tools of the system.
svn path=/nixpkgs/trunk/; revision=242
2003-08-04 07:22:16 +00:00
Eelco Dolstra
5f248af2a0 * Renamed stdenv to stdenv-linux.
* Fix a bug that occurs when NIX_CFLAGS is empty.

svn path=/nixpkgs/trunk/; revision=241
2003-08-04 07:13:29 +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
b543deb16b * Set the executable bit on these builders, since Nix no longer does that.
svn path=/nixpkgs/trunk/; revision=222
2003-07-30 09:52:11 +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
3372b3f8fd * Converted some more old descriptors.
svn path=/nixpkgs/trunk/; revision=209
2003-07-27 21:26:19 +00:00
Eelco Dolstra
cec4d0dc62 * Strip debug info.
svn path=/nixpkgs/trunk/; revision=208
2003-07-26 21:00:24 +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
2c2cae89e6 * Added a package for expat.
* Don't use GDBM in Subversion.

svn path=/nixpkgs/trunk/; revision=205
2003-07-25 19:03:24 +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
1dda526c66 * Added the GNU C Library (glibc), a big step towards full Nixification of
the build and execution environment.

  This is very useful.  For example, it allows packages built on a SuSE 
  8.2 system to run on a SuSE 8.1 system (this is because 8.2 has a newer 
  glibc; packages built against it cannot be dynamically linked against 
  older glibcs).

  Of course, Fix packages should not directly import glibc since that is 
  very system-specific.  Rather, they should import stdenv/stdenv.fix and 
  in their build scripts source in $stdenv/setup, which will setup the 
  right environment variables.  The idea is that stdenv.fix provides the 
  basic C/Unix build environment (C compiler, POSIX utilities, etc.).

  Note that only the ATerm package currently uses this.

svn path=/nixpkgs/trunk/; revision=203
2003-07-24 15:15:48 +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
daed3bbe7b * Error checking.
svn path=/nixpkgs/trunk/; revision=194
2003-07-22 20:32:26 +00:00
Eelco Dolstra
8f602453b6 * Disable some options.
svn path=/nixpkgs/trunk/; revision=185
2003-07-21 20:09:54 +00:00
Eelco Dolstra
d866ee97ed * Changed URL.
svn path=/nixpkgs/trunk/; revision=180
2003-07-20 20:38:49 +00:00
Eelco Dolstra
4cd39573f2 * MPlayer packages.
svn path=/nixpkgs/trunk/; revision=176
2003-07-17 22:33:21 +00:00
Eelco Dolstra
a119076f9e * Check for failure.
svn path=/nixpkgs/trunk/; revision=175
2003-07-17 22:33:05 +00:00
Eelco Dolstra
e06e1890f4 * Bump version number.
svn path=/nixpkgs/trunk/; revision=170
2003-07-16 20:33:54 +00:00
Eelco Dolstra
d3a6ba4527 * Strip debug information.
svn path=/nixpkgs/trunk/; revision=167
2003-07-16 19:59:52 +00:00
Eelco Dolstra
efb907cf9d * Use a mirror because ftp.stratego-language.org is too slow right
now.

svn path=/nixpkgs/trunk/; revision=165
2003-07-16 10:29:55 +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
07b84525a9 * Propagate libraries.
svn path=/nixpkgs/trunk/; revision=154
2003-07-12 19:45:31 +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
a99e717100 * Moved the fetchutl package to corepkgs.
svn path=/nixpkgs/trunk/; revision=138
2003-07-10 09:11:30 +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
7073d308d9 * Use BaseName().
svn path=/nixpkgs/trunk/; revision=126
2003-07-08 09:54:02 +00:00
Eelco Dolstra
44bf92847f * Forgot to add.
svn path=/nixpkgs/trunk/; revision=123
2003-07-08 07:06:20 +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