Permalink
Switch branches/tags
Commits on Jun 2, 2015
  1. Merge pull request #16 from ony/master

    Fix Applicative-Monad for GHC 7.10.1
    magthe committed Jun 2, 2015
Commits on May 31, 2015
  1. adapt to Cabal-1.22

    ony committed May 31, 2015
  2. adapt to Applicative-Monad

    Get rid of warnings in GHC 7.8.2:
    
    Distribution/ArchLinux/PkgBuild.hs:291:10: Warning:
        ‘GetPKG’ is an instance of Monad but not Applicative - this will
        become an error in GHC 7.10, under the Applicative-Monad Proposal.
    
    Distribution/ArchLinux/PkgBuild.hs:37:1: Warning:
        Module ‘Control.Monad.Instances’ is deprecated:
          This module now contains no instances and will be removed in the
          future
    
    And error in 7.10.1:
    
    Distribution/ArchLinux/PkgBuild.hs:291:10:
        No instance for (Applicative GetPKG)
          arising from the superclasses of an instance declaration
        In the instance declaration for ‘Monad GetPKG’
    
    Fix according to
    https://wiki.haskell.org/Functor-Applicative-Monad_Proposal#Missing_superclasses
    ony committed May 31, 2015
Commits on Mar 4, 2012
Commits on Jun 27, 2011
Commits on May 9, 2011
Commits on Apr 28, 2011
  1. Merged pull request #8 from LeifW/patch-1.

    xmonad-extras ought to match xmonad and xmonad-contrib in package name.
    peti committed Apr 28, 2011
Commits on Apr 27, 2011
Commits on Apr 19, 2011
  1. archlinux.cabal: re-enable export of getVersionConflicts and getLates…

    …tVersions from HackageTranslation
    
    These functions are used in client-code, and I don't know a better place
    for them.
    peti committed Apr 19, 2011
  2. archlinux.cabal: disable experimental 'HackageTranslation' and 'recde…

    …ps' code
    
    These modules need more polishing before they can be become part of the
    officially published API.
    peti committed Apr 19, 2011
  3. CabalTranslation.hs: minor semantic change of PKGBUILD_HASKELL_ENABLE…

    …_PROFILING
    
    In order to enable building of profiling libraries, set the
    environment variable PKGBUILD_HASKELL_ENABLE_PROFILING to any
    non-empty string, i.e. "1", "0", "yes", or "no". To disable support,
    undefine PKGBUILD_HASKELL_ENABLE_PROFILING (or set it to an empty
    string).
    
    These semantics feel slightly more robust than expecting the user to
    specify a specific value, a number even, to turn this feature on. By
    default, that environment variable is undefined, so profiling
    libraries are off by default.
    
    For those who are running chroot builds -- i.e. by means of the
    makeworld script shipped in HABS --, please note that the shell
    environment of the caller will not be exported into the chroot build
    environment! As of now, it seems like the only way to enable
    profiling in chroot builds is to add an assignment of the variable
    PKGBUILD_HASKELL_ENABLE_PROFILING to /etc/makepkg.conf (in the
    chroot environment).
    peti committed Apr 19, 2011
Commits on Apr 12, 2011
  1. CabalTranslation.hs: optional profiling flag if the user defines it

    The problem:
    
    Some Arch Haskell developers rely on profiling their
    programs, which in turn rely on certain Haskell AUR packages.
    Previously, these packages did not have profiling enabled in their
    PKGBUILDs, which meant that those who wanted profiling had to rebuild
    all packages in the dependency chain that did not have profiling
    enabled.
    
    The solution:
    
    This one-liner simply adds in a Bash conditional statement into the
    default PKGBUILD for haskell library programs. The statement depends on
    the new $PKGBUILD_HASKELL_ENABLE_PROFILING variable having a value "1".
    E.g., "export PKGBUILD_HASKELL_ENABLE_PROFILING=1". An Arch Haskell user
    can now export this variable in his ~/.bashrc or somewhere else, which
    will trigger the conditional statement to enable profiling.
    
    This way, only those users who want profiling will get it, and it will
    not affect anyone who does not care about profiling.
    listx committed Apr 12, 2011
Commits on Jan 11, 2011
Commits on Jan 9, 2011
  1. Fixed GHC warnings.

    peti committed Jan 9, 2011
  2. Distribution/ArchLinux/SystemProvides.lhs: dropped unused imports

    It's particularly nice to be able to drop the module Paths_archlinux,
    because without that this code be easily run outside of the Cabal build
    system, i.e. from ghci.
    peti committed Jan 9, 2011
Commits on Jan 8, 2011
  1. Add support for a "platform package list" : this list is passed to the

    Cabal library, it can be used to favour a particular dependency
    version in the resulting PKGBUILD.
    Rémy Oudompheng committed Jan 8, 2011
  2. Update code for removal of data files.

    Rémy Oudompheng committed Jan 8, 2011
  3. Remove data files for inclusion in cabal2arch.

    Rémy Oudompheng committed Jan 8, 2011
Commits on Jan 2, 2011
  1. Modify warning message accordingly.

    Rémy Oudompheng committed Jan 2, 2011
  2. Less restrictive version requirements in output

    Rémy Oudompheng committed Jan 2, 2011
Commits on Jan 1, 2011
Commits on Dec 28, 2010
  1. Revert to usual escaping for quotes.

    Rémy Oudompheng committed Dec 28, 2010
Commits on Dec 25, 2010
  1. Map gl to mesa (which actually provides the pkg-config file).

    Rémy Oudompheng committed Dec 25, 2010
  2. Do not install in /usr/lib/<pkgname> (confusing for many library

    bindings) but under /usr/lib/ghc-*/site-local.
    Rémy Oudompheng committed Dec 25, 2010
  3. Fuzzier escaping of special characters in PKGBUILDs.

    Rémy Oudompheng committed Dec 25, 2010
Commits on Dec 24, 2010
  1. Correctly escape characters in package description.

    Rémy Oudompheng committed Dec 24, 2010