Skip to content
Commits on Jan 11, 2011
  1. @peti
Commits on Jan 9, 2011
  1. @peti

    Fixed GHC warnings.

    peti committed Jan 9, 2011
  2. @peti

    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
  4. @peti
Commits on Dec 24, 2010
  1. Correctly escape characters in package description.

    Rémy Oudompheng committed Dec 24, 2010
  2. Correct typos.

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

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

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

    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'.
    peti committed Nov 5, 2010
Commits on Nov 4, 2010
  1. @peti
Commits on Nov 2, 2010
  1. Revert change introduced accidentally in commit 4c9a0e3.

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

    Changed getRepoFromDir to ignore all directory names that begin with …

    …a dot.
    This change means that '.git' will be ignored as well as '.' and '..'.
    peti committed Nov 1, 2010
  2. @peti

    Drop inappropriate cabal2arch attribution.

    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.
    peti committed Nov 1, 2010
  3. @peti
  4. @peti

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

    …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.
    peti committed Nov 1, 2010
  5. @peti

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

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

    drop obsolete comment about 'provides' field

    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.
    peti committed Oct 31, 2010
Commits on Oct 30, 2010
  1. Fix usage of deprecated VersionRange constructors.

    Rémy Oudompheng committed Oct 30, 2010
  2. @peti

    CabalTranslation.hs: dropped useless literal PKGBUILD file in comment…

    …s, probably a left-over from a debugging session
    peti committed Oct 30, 2010
  3. @peti

    Split the more generic version cabal2pkg' out of cabal2pkg.

    cabal2pkg includes a hard-coded decision about the $pkgname of the generated
    PKGBUILD file. The user, however, may want to override that name, so the
    desired package name should to be passed as a parameter. The same applies to
    the value of $pkgrel, which is currently hard-coded to "1".
    The more generic function cabal2pkg' accomplishes this.
    peti committed Oct 30, 2010
  4. @peti
Commits on Oct 29, 2010
  1. @peti

    PkgBuild: drop warning about arbitrary version intervals

    The archlinux library issues warnings while converting Cabal files that
    specify lower and upper bounds for dependencies, like "foo > 1 && < 2",
    because those restrictions cannot be expressed in a PKGBUILD file.
    Now, what are those warnings good for?
    That kind of version restriction is exceedingly common in Cabal files. An
    attempt to convert all of Hackage results in hundreds of warnings, yet
    it's not clear what anyone is supposed to do about them. There is just no
    way to convert those specifications so that Pacman can process them.
    Basically, we ensure that those restrictions are fulfilled long before a
    PKGBUILD is ever created: i.e. by means of the PKGLIST, which specifies
    the exact set of package versions that ought to be converted to ArchLinux.
    peti committed Oct 30, 2010
  2. @peti
  3. @peti

    fixed GHC warnings

    peti committed Oct 30, 2010
  4. @peti
  5. @peti

    reverse_deps.hs: don't print the packages that were requested as thei…

    …r own dependencies
    peti committed Oct 29, 2010
Something went wrong with that request. Please try again.