Commit graph

10571 commits

Author SHA1 Message Date
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
Eelco Dolstra
db92a6b313 * Updated for the new Nix model.
svn path=/nixpkgs/trunk/; revision=98
2003-06-18 17:17:33 +00:00
Eelco Dolstra
8a74e5e56f * Create the union of all directories, not just ["bin", "lib", ...].
svn path=/nixpkgs/trunk/; revision=77
2003-06-03 13:03:06 +00:00
Eelco Dolstra
93c7c89b1a * Descriptors for Berkeley DB and SWIG.
* Updated to Apache httpd 2.0.46.
* Build Subversion/Python bindings.

svn path=/nixpkgs/trunk/; revision=76
2003-05-30 20:57:34 +00:00
Eelco Dolstra
c43c6511f4 * Populate the `man' subdirectory.
svn path=/nixpkgs/trunk/; revision=70
2003-05-30 11:49:43 +00:00
Eelco Dolstra
9878a15478 * Xft support in gtk+ (for anti-aliased fonts :-) ).
The problem of transitive imports needs to be adressed, though, as
  evidenced by, e.g., the descriptor for pan.  That is, if C depends
  on library B, and B depends on library A, then C also depends on
  library A.  However, this breaks modularity: C should not have to
  declare a dependency on A explicitly.

  The solution is to have B re-export A, e.g., by creating symlinks
  from B to the files in A.

svn path=/nixpkgs/trunk/; revision=68
2003-05-28 00:02:55 +00:00
Eelco Dolstra
fec63483b9 * Subversion is also dependant on libxml.
svn path=/nixpkgs/trunk/; revision=67
2003-05-27 11:59:47 +00:00
Eelco Dolstra
a97eec1644 * Updated to Subversion 0.23.0.
svn path=/nixpkgs/trunk/; revision=64
2003-05-26 19:23:10 +00:00
Eelco Dolstra
e501be70c6 * Moved `nix-populate' here.
svn path=/nixpkgs/trunk/; revision=61
2003-05-26 14:03:24 +00:00
Eelco Dolstra
4066121043 * Renamed.
svn path=/nixpkgs/trunk/; revision=60
2003-05-26 13:59:18 +00:00
Eelco Dolstra
02eafbd549 * Some refactoring.
svn path=/nix/trunk/pkg/; revision=57
2003-05-26 13:45:00 +00:00
Eelco Dolstra
426e175c6a * Updated Fix descriptors to reflect the new Fix abstract syntax.
svn path=/nix/trunk/test/; revision=55
2003-05-25 22:43:33 +00:00
Eelco Dolstra
94dbdc53b2 * Cleaned up the semantics of Fix expressions.
* Conditionals and variables in Fix expressions.  This allows, e.g.,

    Descr(
    [ Bind("pkgId", "subversion-0.21.0")

    , Bind("httpsClient", Bool(True))
    , Bind("httpServer", Bool(True))

    , Bind("ssl", If(Var("httpsClient"), Fix("./openssl-0.9.7b.fix"), ""))

    , Bind("httpd", If(Var("httpServer"), Fix("./httpd-2.0.45.fix"), ""))
    ...
    ])

  which introduces domain feature variables httpsClient and httpServer
  (i.e., whether Subversion is built with https client and webdav
  server support); the values of the variables influences package
  dependencies and the build scripts.

  The next step is to allow that packages can express constraints on
  each other.  E.g., StrategoXT is dependent on an ATerm library with
  the "gcc" variant enabled.  In fact, this may cause several
  Nix instantiations to be created from a single Fix descriptor.  If
  possible, Fix should try to find the least set of instantiations
  that obeys the constraints.


svn path=/nix/trunk/test/; revision=53
2003-04-25 15:33:50 +00:00
Eelco Dolstra
7fa3a3f2fa * Removed old Nix descriptors.
svn path=/nix/trunk/test/; revision=50
2003-04-24 11:45:23 +00:00
Eelco Dolstra
935ac37000 * Fix descriptors for Pan and its dependencies.
svn path=/nix/trunk/test/; revision=46
2003-04-23 21:21:06 +00:00