Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0
Commits on Apr 19, 2011
  1. @peti

    archlinux.cabal: re-enable export of getVersionConflicts and getLates…

    peti authored
    …tVersions from HackageTranslation
    
    These functions are used in client-code, and I don't know a better place
    for them.
  2. @peti
  3. @peti

    archlinux.cabal: disable experimental 'HackageTranslation' and 'recde…

    peti authored
    …ps' code
    
    These modules need more polishing before they can be become part of the
    officially published API.
  4. @peti
  5. @peti
  6. @peti
  7. @peti

    CabalTranslation.hs: minor semantic change of PKGBUILD_HASKELL_ENABLE…

    peti authored
    …_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).
Commits on Apr 12, 2011
  1. @listx

    CabalTranslation.hs: optional profiling flag if the user defines it

    listx authored
    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.
Commits on Jan 11, 2011
  1. @peti
Commits on Jan 9, 2011
  1. @peti

    Fixed GHC warnings.

    peti authored
  2. @peti

    Distribution/ArchLinux/SystemProvides.lhs: dropped unused imports

    peti authored
    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.
Commits on Jan 8, 2011
  1. Add support for a "platform package list" : this list is passed to the

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

    Rémy Oudompheng authored
  3. Remove data files for inclusion in cabal2arch.

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

    Rémy Oudompheng authored
  2. Less restrictive version requirements in output

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

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

    Rémy Oudompheng authored
  2. Do not install in /usr/lib/<pkgname> (confusing for many library

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

    Rémy Oudompheng authored
  4. @peti
Commits on Dec 24, 2010
  1. Correctly escape characters in package description.

    Rémy Oudompheng authored
  2. Correct typos.

    Rémy Oudompheng authored
Commits on Nov 24, 2010
  1. The install script should not have leading slashes.

    Rémy Oudompheng authored
Commits on Nov 5, 2010
  1. @peti

    CabalTranslation.hs: configure library builds with --enable-shared

    peti authored
    Building libraries with --enable-shared is simple enough, but unfortunately
    Cabal doesn't take advantage of shared libraries when linking executables (even
    when --enable-shared is specified). Having shared libraries available is
    beneficial anyway, though, because ArchLinux users may choose to build their
    binaries with '--dynamic'.
Commits on Nov 4, 2010
  1. @peti
Commits on Nov 2, 2010
  1. Revert change introduced accidentally in commit 4c9a0e3.

    Rémy Oudompheng authored
    (dependencies on base packages are explicitly listed again)
Commits on Nov 1, 2010
  1. @peti

    Changed getRepoFromDir to ignore all directory names that begin with …

    peti authored
    …a dot.
    
    This change means that '.git' will be ignored as well as '.' and '..'.
  2. @peti

    Drop inappropriate cabal2arch attribution.

    peti authored
    The archlinux library should not make claims about who was responsible
    for the generation of a PKGBUILD. It might have been cabal2arch, but it
    might have been something else. This code is generic: we want it to be
    re-used by other tools. Consequently, a "generated by" line should be
    inserted by the tool that uses the library.
  3. @peti
  4. @peti

    Modified getPkgFromDir so that it doesn't lose information from parse…

    peti authored
    …r errors.
    
    Previously, the function return 'Nothing' in case of a parser error even
    though a more accurate error description was available. Instead, it now
    uses 'fail' to report that error.
  5. @peti

    library-providers.txt: gtk+ refers to 'gtk2'

    peti authored
    This change fixes the build of haskell-gtk.
Commits on Oct 31, 2010
  1. @peti

    drop obsolete comment about 'provides' field

    peti authored
    Our PKGBUILD files feature a comment saying that we provide all package
    dependencies and that the user's front-end to pacman must understand
    'provides'. In fact, this is not true: we no longer specify dependencies
    on packages that are provided by GHC. Instead of that comment, I feel we
    should provide a Maintainer: field, which -- according to namcap -- is
    currently missing.
Commits on Oct 30, 2010
  1. Fix usage of deprecated VersionRange constructors.

    Rémy Oudompheng authored
Something went wrong with that request. Please try again.