Commit Graph

14 Commits

Author SHA1 Message Date
Jens Petersen
6910d07de7 for ghc-7.6 use --global-package-db and --no-user-package-db 2013-04-23 20:09:58 +09:00
Jens Petersen
a23376405b fix broken duplicate hash output for haskell-platform binaries when locally installed 2012-09-19 20:00:54 +09:00
Jens Petersen
8e22621418 ghc-dep.sh: only use buildroot package.conf.d if it exists 2012-06-09 22:00:32 +09:00
Jens Petersen
1b8536abf1 ghc-deps.sh: look in buildroot package.conf.d for program deps 2012-06-08 14:00:43 +09:00
Jens Petersen
7ffdbdc6d5 change of rpm metadata hash format for new ghc-7.4
- drop prof meta hash data
- no longer include doc files automatically by default
- no longer provide doc subpackage
- do not provide prof when without_prof set
2012-03-21 17:41:59 +09:00
Jens Petersen
0b163b3d06 add ghc_bootstrapping to ghc_bootstrap; fix ghc-deps.sh when bootstrapping 2011-10-18 17:43:47 +09:00
Jens Petersen
c81c65671b ghc-deps.sh: fix ghclibdir path documentation 2011-05-09 13:59:58 +09:00
Jens Petersen
8af86b797a drop ghc_pkg_deps from ghc_package_devel and ghc_package_prof 2011-05-08 23:09:07 +09:00
Jens Petersen
cd30bb3547 check PKGBASEDIR, ghc bootstrapping, ghc_reindex_haddock nop, drop ghc-*-doc provides
- ghc-deps.sh: check PKGBASEDIR exists to avoid warning for bin package
- abort cabal_configure if ghc is not self-bootstrapped
- make ghc_reindex_haddock a safe no-op
- no longer provide ghc-*-doc
- no longer run ghc_reindex_haddock in ghc-*-devel scripts
2011-03-28 15:57:59 +09:00
Jens Petersen
1f4312aeaa fix ghc-deps.sh for without_shared libraries 2011-02-10 22:11:02 +10:00
Jens Petersen
a1abcaaa78 add rpm hash requires for dynamic executables in ghc-deps.sh
- compile Setup in cabal macro
- use _rpmconfigdir
2011-01-23 15:05:38 +10:00
Jens Petersen
2f1663e620 ignore ghc's builtin pseudo-libs 2010-11-23 23:48:16 +10:00
Jens Petersen
7232a81da9 implement rpm ghc-pkg hash metadata for precise automatic library dependency tracking
- add buildroot/ghcpkgbasedir to ghc-deps.sh args
- calculate package and metadata by checking all library files in stdin
- prof depends on devel, devel on base
- update macros.ghc:
  -  rename ghc_requires to ghc_devel_requires
  - drop ghc_doc_requires
  - ghc_reindex_haddock is deprecated and now a no-op
2010-11-23 15:01:27 +10:00
Jens Petersen
742ca58b86 add ghc-deps.sh for hash rpm metadata and add ghc_pkg_obsoletes
- add ghc-deps.sh for ghc package hash rpm metadata provides and requires
- turn on hash provides and disable debuginfo by default
- make shared and hscolour default
- use without_shared and without_hscolour to disble them
- add ghc_pkg_obsoletes for obsoleting old packages
- use ghcpkgbasedir
- always obsolete -doc packages, but keep -o for now for backward compatibility
2010-09-30 12:21:16 +10:00