1. 08 Mar, 2004 1 commit
  2. 11 Jan, 2004 1 commit
    • panne's avatar
      [project @ 2004-01-11 14:43:14 by panne] · e43235be
      panne authored
      Fixed the previous commit: All lists of Strings in package configuration files
      were split at commas to allow list-based variables, but this broke perfectly
      sensible things like
      
         ["-Wl,-rpath,/usr/lib/jvm-bridge/lib/"]
      
      into
      
         ["-Wl","-rpath","/usr/lib/jvm-bridge/lib/"]
      
      which is plainly wrong. Now we do this *only* when a variable occurs on its own,
      like:
      
         ["${deps}","foo"] => ["base","haskell98","network","foo"]
      
      I have slight doubts about this obscure feature, but Sigbjorn seems to want
      it...
      
      Merge to STABLE
      e43235be
  3. 01 Nov, 2003 1 commit
    • sof's avatar
      [project @ 2003-11-01 01:52:01 by sof] · a61ed6ae
      sof authored
      expandEnvVars.expandStrings: flatten the expanded strings so as to
      permit a substitution to expand into multiple elements of the final
      list.
      
      merge to stable.
      a61ed6ae
  4. 09 Sep, 2003 1 commit
  5. 08 Sep, 2003 1 commit
    • sof's avatar
      [project @ 2003-09-08 17:55:40 by sof] · 39ea6a04
      sof authored
      New option, -DNAME=VAL, for adding to the set of
      variables substituted for when processing a package
      description.
      
      (Needed to support Windows installers for GHC packages.)
      39ea6a04
  6. 17 Aug, 2003 1 commit
  7. 30 May, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-05-30 13:32:20 by simonmar] · be5d16a5
      simonmar authored
      Rename --list-packages-local to --list-local-packages, because it
      seems that having one long option which is a prefix of another doesn't
      work too well with GetOpt.
      be5d16a5
  8. 16 May, 2003 1 commit
  9. 25 Mar, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-03-25 16:50:18 by simonmar] · 5b4b4197
      simonmar authored
      Handle multiple config files correctly.  Now it is possible to specify
      a dependency on a package in another config file, and --list-packages
      lists all the packages in each file.
      
      The last file mentioned on the command line is the one to which
      updates are applied, packages are added, etc.
      5b4b4197
  10. 29 Oct, 2002 2 commits
  11. 27 Oct, 2002 1 commit
  12. 13 Sep, 2002 1 commit
  13. 09 Sep, 2002 1 commit
  14. 02 Jul, 2002 1 commit
  15. 12 Jun, 2002 1 commit
    • wolfgang's avatar
      [project @ 2002-06-12 22:04:25 by wolfgang] · 643a2f70
      wolfgang authored
      Added support for Frameworks on MacOS X.
      *) On MacOS X, two additional command-line options are supported:
      -framework <FRAMEWORK>    link with framework, gets passed on to ld
      -framework-path <PATH>    gets passed on to ld as "-F<PATH>". (-F is already taken for GHC).
      *) Two corresponding additional options for package.conf files:
      framework_dirs
      extra_frameworks
      These options are allowed on any platform. They are ignored everywhere except on MacOS X.
      *) ghc-pkg no longer uses Read. Instead, it uses a Happy parser. ghc/utils/ghc-pkg/ParsePkgConfLite.y is basically a copy of ghc/compiler/main/ParsePkgConf.y. "Light" refers to the fact that it doesn't depend on other GHC modules and has less sophisticated error reporting.
      *) Frameworks will need some additional work for GHCi.
      643a2f70
  16. 03 Jun, 2002 1 commit
  17. 29 May, 2002 1 commit
    • sof's avatar
      [project @ 2002-05-29 22:11:58 by sof] · 712f906d
      sof authored
      Use HOSTPLATFORM / *_HOST_OS (instead of TARGET equivalents), as we're
      dealing with host-specific properties, not that of the target.
      712f906d
  18. 22 Apr, 2002 1 commit
  19. 12 Feb, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-02-12 15:17:13 by simonmar] · 2cc5b907
      simonmar authored
      Switch over to the new hierarchical libraries
      ---------------------------------------------
      
      This commit reorganises our libraries to use the new hierarchical
      module namespace extension.
      
      The basic story is this:
      
         - fptools/libraries contains the new hierarchical libraries.
           Everything in here is "clean", i.e. most deprecated stuff has
           been removed.
      
      	- fptools/libraries/base is the new base package
      	  (replacing "std") and contains roughly what was previously
      	  in std, lang, and concurrent, minus deprecated stuff.
      	  Things that are *not allowed* in libraries/base include:
      		Addr, ForeignObj, ByteArray, MutableByteArray,
      		_casm_, _ccall_, ``'', PrimIO
      
      	  For ByteArrays and MutableByteArrays we use UArray and
      	  STUArray/IOUArray respectively now.
      
      	  Modules previously called PrelFoo are now under
      	  fptools/libraries/GHC.  eg. PrelBase is now GHC.Base.
      
      	- fptools/libraries/haskell98 provides the Haskell 98 std.
      	  libraries (Char, IO, Numeric etc.) as a package.  This
      	  package is enabled by default.
      
      	- fptools/libraries/network is a rearranged version of
      	  the existing net package (the old package net is still
      	  available; see below).
      
      	- Other packages will migrate to fptools/libraries in
      	  due course.
      
           NB. you need to checkout fptools/libraries as well as
           fptools/hslibs now.  The nightly build scripts will need to be
           tweaked.
      
         - fptools/hslibs still contains (almost) the same stuff as before.
           Where libraries have moved into the new hierarchy, the hslibs
           version contains a "stub" that just re-exports the new version.
           The idea is that code will gradually migrate from fptools/hslibs
           into fptools/libraries as it gets cleaned up, and in a version or
           two we can remove the old packages altogether.
      
         - I've taken the opportunity to make some changes to the build
           system, ripping out the old hslibs Makefile stuff from
           mk/target.mk; the new package building Makefile code is in
           mk/package.mk (auto-included from mk/target.mk).
      
           The main improvement is that packages now register themselves at
           make boot time using ghc-pkg, and the monolithic package.conf
           in ghc/driver is gone.
      
           I've updated the standard packages but haven't tested win32,
           graphics, xlib, object-io, or OpenGL yet.  The Makefiles in
           these packages may need some further tweaks, and they'll need
           pkg.conf.in files added.
      
         - Unfortunately all this rearrangement meant I had to bump the
           interface-file version and create a bunch of .hi-boot-6 files :-(
      2cc5b907
  20. 03 Feb, 2002 1 commit
    • sof's avatar
      [project @ 2002-02-03 17:06:12 by sof] · 5f67cbb7
      sof authored
      Provide support for authors that want to distribute packages, by
      expanding occurrences of "${foo}" in an input package spec with
      the value of the 'foo' environment variable. This permits easy
      configuration at install-time, e.g.,
      
        $ libdir=/opt/haskell/packages/lib ghc-pkg -a < NewPackage.pkg
      
      [Clearly, a separate preprocessing pass using some other tool could
       provide identical functionality. However, the benefits to the
       package author of not having to depend on such a tool being present
       on a user's box was considered more important.
      ]
      5f67cbb7
  21. 30 Dec, 2001 1 commit
  22. 13 Dec, 2001 1 commit
    • sof's avatar
      [project @ 2001-12-13 00:59:57 by sof] · 501474ee
      sof authored
      New option, -i <file> / --input-file=<file>, which controls
      where to read new package specs from. If <file> is equal to
      "-", stdin is used as input source. The default value for
      <file> is "-".
      501474ee
  23. 10 Oct, 2001 1 commit
    • sof's avatar
      [project @ 2001-10-10 23:17:14 by sof] · 3f1b7ac4
      sof authored
      savePackageConfig: Robustified - remove existing .old file before saving
      away new. In case of failure, print out a msg detailing what files were
      involved.
      3f1b7ac4
  24. 18 Sep, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-09-18 11:07:58 by simonmar] · 9e549ccb
      simonmar authored
      - Add some sanity checking to --add-package: it won't accept a package
        config that refers to directories that don't exist, and it will
        check for the existence of the Haskell libraries.
      
      - Automatically generate the GHCi .o versions of the .a libs, if the
        --auto-ghci-libs option is given (otherwise, just warn about their
        non-existence).
      9e549ccb
  25. 21 Aug, 2001 3 commits
  26. 13 Aug, 2001 1 commit
  27. 11 Jul, 2001 1 commit
  28. 04 Jun, 2001 1 commit
  29. 07 Apr, 2001 1 commit
  30. 27 Mar, 2001 2 commits
    • simonmar's avatar
      [project @ 2001-03-27 14:10:34 by simonmar] · ff21a38c
      simonmar authored
      - add --show-package option to display the config info for a particular
        package.
      
      - add --field info, for use with --show-package, which displays the
        contents of the given field in the package config only.  The field
        is displayed one string per line.
      ff21a38c
    • simonmar's avatar
      [project @ 2001-03-27 13:38:03 by simonmar] · aa35c9d3
      simonmar authored
      - add ghc-pkg-$(ProjectVersion) and ghc-pkg-inplace scripts
      - add ghc-pkg script link
      - rename ghc-pkg to ghc-pkg.bin and put it in $(libdir)
      - remove the hacky passing of $(libdir) to the binary
      aa35c9d3
  31. 25 Mar, 2001 2 commits
  32. 24 Mar, 2001 1 commit
  33. 20 Mar, 2001 1 commit
  34. 16 Mar, 2001 1 commit
  35. 15 Mar, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-03-15 15:51:38 by simonmar] · 88ce0186
      simonmar authored
      New package management tool, basically a broken-out version of ghc
      --list-packages, --add-package and --remove-package.
      
      These flags will be removed from GHC; use ghc-pkg instead.
      88ce0186