3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

199863 commits

Author SHA1 Message Date
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
Eelco Dolstra 955ae188b2 * Fix descriptor for Subversion 0.21.0.
svn path=/nix/trunk/test/; revision=45
2003-04-23 09:02:53 +00:00
Eelco Dolstra d563648841 * Add "... || exit 1" to every command to catch failure.
svn path=/nix/trunk/test/; revision=44
2003-04-23 07:23:01 +00:00
Eelco Dolstra 7dec82e241 * We no longer use nix-populate standalone, rather we use it as a
build action for `system' packages (like system.fix) that have
  dependencies on all packages we want to activate.

  So the command sequence to switch to a new activation configuration
  of the system would be:

    $ fix -i .../fixdescriptors/system.fix
    ...
    system.fix -> 89cf4713b37cc66989304abeb9ea189f

    $ nix-switch 89cf4713b37cc66989304abeb9ea189f

* A nix-profile.sh script that can be included in .bashrc.

svn path=/nix/trunk/test/; revision=39
2003-04-09 12:26:48 +00:00
Eelco Dolstra 81e4ff797d * Descriptor importing in Fix.
svn path=/nix/trunk/test/; revision=38
2003-04-08 15:36:54 +00:00
Eelco Dolstra 6c0e7440ad * `Fix' is a high-level descriptor instantiator for Nix. It replaces
nix-instantiate.

svn path=/nix/trunk/test/; revision=35
2003-04-08 12:00:51 +00:00
Eelco Dolstra 3d459917c2 * Better installation: make directories, create database.
* Fixed the register script.

svn path=/nix/trunk/test/; revision=34
2003-04-06 22:19:26 +00:00
Eelco Dolstra 7d02aa1fd4 * The latest version of Pan.
svn path=/nix/trunk/test/; revision=33
2003-04-06 22:17:47 +00:00
Eelco Dolstra 9552d1fbd7 * Delete source after building.
svn path=/nix/trunk/test/; revision=32
2003-04-06 22:09:47 +00:00