Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 28, 2012
  1. @trofi

    eclass: sync EAPI=5 support from gentoo-x86

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Sep 14, 2012
  1. @markwright

    sync with portage after updating portage eclass for ghc-pkg --global-…

    markwright authored
    …conf parameter is renamed to --global-package-db in ghc 7.6.1
Commits on Jul 2, 2012
  1. @trofi

    haskell-cabal.eclass: guard against merging packages already shiped b…

    trofi authored
    …y ghc
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on May 30, 2012
  1. @trofi

    darcs.eclass: call 'darcs get --lazy' instead of 'darcs get --partial'

    trofi authored
    'darcs get --partial' gone in darcs-2.8.0.
    'darcs get --lazy' was introduced in darcs-2.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on May 17, 2012
  1. @markwright
Commits on May 13, 2012
  1. @markwright
Commits on Apr 19, 2012
  1. @trofi

    haskell-cabal.eclass: unsplit 'nocabaldep' description

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @qnikst
Commits on Apr 16, 2012
  1. @qnikst

    new CABAL_FEATURE: test-suite

    qnikst authored
    test-suite is CABAL_FEATURE that is used for packages that has
    it's own test suite. This feature automatically adds:
    1). USE="test" variable
    2). adds $(use_enable test tests) to cabal conf
Commits on Apr 14, 2012
  1. @trofi

    haskell-cabal.eclass: move 'cabal' santy check out from 'pkg_setup'

    trofi authored
    It will allow merging binary packages (.tbz2 not providing any
    haskell libraries) without any cabal or ghc installed.
    
    Reported-by: Matthias Maier
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    haskell-cabal.eclass: fix './setup configure' failures against newer …

    trofi authored
    …libffi
    
    A set of preconditions to trigger a bug:
    - system's libffi version should not match ghc's one
    - binary should be built by -dynamic
    
    GHC's libHSrts.so does not embed RPATH to libffi bundled with GHC,
    thus dynamically linking against it leads to broken binaries.
    
    http://hackage.haskell.org/trac/ghc/ticket/5743#comment:3
    
    Disabled -dynamic for now.
    
    Gentoo-bug: http://bugs.gentoo.org/411789
    Reported-by: Leonid Podolny
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 6, 2012
  1. @trofi

    haskell-cabal.eclass: install empty '.conf' files for binaries

    trofi authored
    It will force rebuilding of haskell binaries (alex, happy, haskell-updater)
    on ghc upgrade.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 2, 2012
  1. @trofi

    darcs.eclass: rename 'ESCM_OFFLINE' var to 'EVCS_OFFLINE' to conform …

    trofi authored
    …other eclasses
    
    Proposed in http://bugs.gentoo.org/410467
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Mar 31, 2012
  1. @markwright
  2. @trofi

    ghc-package.eclass: remove old bits for <ghc-6.10 and <cabal-1.8

    trofi authored
    Drop pkg_setup function (checked for ghc/ghc-bin coherence).
    Drop ghc-cabal function (checked for ghc 'package.conf' format)
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  3. @trofi

    haskell-cabal.eclass: remove old bits for <ghc-6.10 and <cabal-1.8

    trofi authored
    Switch to from 'eerror' to 'eqawarn' as suggested by
    Paweł Hajdan, Jr.
        http://www.gossamer-threads.com/lists/gentoo/dev/251259
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  4. @trofi

    darcs.eclass: don't skip _darcs/ when checkout to WORKDIR

    trofi authored
    It unbreaks buildsystems like jhc's and allows recording
    upstream-reapy patches.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Mar 9, 2012
  1. @trofi

    eclass/haskell-cabal.eclass: drop haddock from DEPENDS when USE=doc h…

    trofi authored
    …addock
    
    haddock-2.9.2+ can be used right in the ebuild phase to build it's docs.
    Needs porting to older ebuilds (or dropping USE=doc).
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Feb 6, 2012
  1. @trofi

    haskell-cabal.eclass: add CABAL_EXTRA_BUILD_FLAGS and HCFLAGS magic v…

    trofi authored
    …ariables
    
    CABAL_EXTRA_BUILD_FLAGS allows user to pass arguments to ./setup build phase.
    For example you can get detailed build log this way:
    
        CABAL_EXTRA_BUILD_FLAGS=-v emerge something
    
    HCFLAGS is similar to CFLAGS / CXXFLAGS / FFLAGS in spirit.
    You can use it in make.conf or in one-shot merges to enable
    random ghc features:
    
        HCFLAGS="-O0 -Wall" emerge something-else
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Jan 20, 2012
  1. @trofi

    gentoo-haskell/eclass: sync changes back from portage (new @AUTHOR ta…

    trofi authored
    …g + typo fixes)
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Dec 19, 2011
  1. @markwright
Commits on Nov 27, 2011
  1. @trofi

    haskell-cabal.eclass: echo to stdout all the issued ./setup commands

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Nov 21, 2011
  1. @markwright

    ./setup haddock --hyperlink-source --hoogle # only builds hoogle (not…

    markwright authored
    … haddock), need to split into 2 commands to build both hoogle and haddock docs
Commits on Nov 19, 2011
  1. @markwright

    Add hoogle support

    markwright authored
Commits on May 3, 2011
  1. @trofi

    eclass/haskell-cabal.eclass: pass user's LDFLAGS to dev-haskell/cabal…

    trofi authored
    … as well
    
    It was one of the rare packages using internal cabal-configure function.
    Moved LDFLAGS population there.
    
    Popped up when enabled shared library building:
     * QA Notice: Files built without respecting LDFLAGS have been detected
     *  Please include the following list of files in your report:
     * /usr/lib64/cabal-1.10.1.0/ghc-6.12.3/libHSCabal-1.10.1.0-ghc6.12.3.so
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    eclass/haskell-cabal.eclass: set '--enable-shared' and '-dynamic' def…

    trofi authored
    …ault for dev-haskell/cabal
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on May 2, 2011
  1. @trofi

    haskell-cabal.eclass: add experimental QA warning for './setup build …

    trofi authored
    …--flags=' case
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on May 1, 2011
  1. @trofi

    haskell-cabal.eclass: fix CABAL_FEATURES="nocabaldep" (found by Felip…

    trofi authored
    …e Almeida Lessa)
    
    Felipe's output for ghc-6.12.3:
    > $ ghc-pkg field Cabal version
    > version: 1.8.0.6
    > version: 1.10.1.0
    
    My output for ghc-6.12.3:
    > $ ghc-pkg field Cabal version
    >    version: 1.10.1.0
    >    version: 1.8.0.6
    
    It has unstable order and breaks dev-haskell/cairo setup.
    
    Now we always pick ghc's Cabal version (as CABAL_FROM_GHC name says),
    not the most recently installed.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 17, 2011
  1. @trofi

    eclass/haskell-cabal.eclass: added CABAL_EXTRA_CONFIGURE_FLAGS and GH…

    trofi authored
    …C_BOOTSTRAP_FLAGS variables
    
    Short explanation:
    GHC_BOOTSTRAP_FLAGS:
        ghc --make ${GHC_BOOTSTRAP_FLAGS} -o setup
    
    CABAL_EXTRA_CONFIGURE_FLAGS:
        ./setup configure ${CABAL_EXTRA_CONFIGURE_FLAGS} "$@"
    See the patch for more info.
    
    It's useful to have ability to build all libraries with shared support
    for example:
    /etc/make.conf: CABAL_EXTRA_CONFIGURE_FLAGS="--enable-shared"
    
    Or speedup ./setup binary link time (and reduce it's size):
    /etc/make.conf: GHC_BOOTSTRAP_FLAGS="-dynamic"
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @kolmodin

    Revise ghc-package eclass. Remove redundant protection.

    kolmodin authored
    Remove code put in place to protect libraries registered with ghc-pkg.
    There is no need for this protection as the same PV never will be
    installed by two packages at the same.
    The protection would make sure that only packages installed by one package
    could be uninstalled by the same package. This is the case anyway (more by
    convension than by enforcement) so hereby is the code removed.
    This makes pkg_prerm about a minute faster (becomes instant) when you've got
    200+ packages installed on a Core2Duo 1.6GHz box.
Commits on Mar 3, 2011
  1. @kolmodin

    eclass haskell-cabal: handle EAPI=2 in src_configure

    kolmodin authored
    src_configure is called when compiling EAPI=2 packages. If the package is a
    dummy package, make sure the default src_configure doesn't do anything (like
    building ./setup and configuring).
Commits on Feb 20, 2011
  1. @trofi

    haskell-cabal.eclass: 'PREFIX'ify eclass

    trofi authored
    Borrowed change from prefix overlay.
    Was not tested in prefix environment yet.
  2. @trofi

    ghc-package.eclass: 'PREFIX'ify eclass

    trofi authored
    Borrowed change from prefix overlay.
    Hard work on dev-lang/ghc is still needed though.
Commits on Feb 19, 2011
  1. @trofi
  2. @trofi
Something went wrong with that request. Please try again.