Commit Graph

73547 Commits

Author SHA1 Message Date
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