Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.3.5

Nov 02, 2010

  1. Revert change introduced accidentally in commit 4c9a0e3.

    (dependencies on base packages are explicitly listed again)
    Rémy Oudompheng authored

Nov 01, 2010

  1. Peter Simons

    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 authored
  2. Peter Simons

    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 authored
  3. Peter Simons

    PkgBuild.hs: cosmetic update to comment

    peti authored
  4. Peter Simons

    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 authored
  5. Peter Simons

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

    This change fixes the build of haskell-gtk.
    peti authored

Oct 31, 2010

  1. Peter Simons

    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 authored

Oct 30, 2010

  1. Fix usage of deprecated VersionRange constructors.

    Rémy Oudompheng authored
  2. Peter Simons

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

    …s, probably a left-over from a debugging session
    peti authored
  3. Peter Simons

    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 authored
  4. Peter Simons

    Updated 'provides' configuration for ghc 6.12.3.

    peti authored

Oct 29, 2010

  1. Peter Simons

    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 authored
  2. Peter Simons

    Fixed Text instance of AnnotatedPkgBuild to handle empty comment sect…

    …ions correctly.
    peti authored
  3. Peter Simons

    fixed GHC warnings

    peti authored
  4. Peter Simons

    reverse_deps.hs: clean up GHC warnings

    peti authored
  5. Peter Simons

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

    …r own dependencies
    peti authored
  6. Peter Simons

    reverse_deps.hs: removing debug output accidentally checked-in earlier

    peti authored
  7. Peter Simons

    reverse_deps.hs: expect path to ABS repository as first command-line …

    …argument
    
    The script no longer has to run in the ABS tree. Also, if the tree cannot be
    read, the binary throws an error (instead of returning "0" silently).
    peti authored
  8. Peter Simons

    SrcRepo.hs: getRepoFromDir shouldn't fail silently

    All PKGBUILD files in the habs tree must to be valid, and if they are
    not, then we want to know!
    peti authored
  9. Peter Simons

    SrcRepo.hs: getRepoFromDir ignores packages called "." or ".."

    peti authored
  10. Peter Simons

    SrcRepo.hs: derive an instance of Show for SrcRepo

    peti authored
  11. Peter Simons

    CabalTranslation.hs: patch "--force" flag into the generated unregist…

    …er.sh script
    
    If package A depends on B, and B is updated (say because of pkgrel bump) then
    Pacman un-registers the current version of B before registering the new
    version. At this point, ghc-pkg detects that un-registering B would break A,
    and aborts the procedure. The update works anyway, because our generated shell
    script script loses the error code, but we can avoid that error altogether by
    giving ghc-pkg the flag '--force'. Unfortunately, there is no way to tell Cabal
    that --force should be set in the generated "unregister.sh" script, so we have
    to patch that flag into the command line using mad sed(1) magic.
    
    With that change, an update of a package that's a prerequisite for another one
    will look like this:
    
     | [...]
     |
     | (1/1) checking for file conflicts
     | unregistering tar-0.3.1.0 would break the following packages: archlinux-0.3.4 (ignoring)
     | (1/1) upgrading haskell-tar
     |
     | [...]
    
    Basically, we tell ghc-pkg to shut up and trust that Pacman does the right
    thing.
    peti authored
  12. Peter Simons

    CabalTranslation.hs: updated generated shell code to take advantage o…

    …f the ${_hkgname} variable
    peti authored
  13. Peter Simons

    CabalTranslation.hs: minor cosmetic changes to the comment section

    peti authored

Oct 28, 2010

  1. Remove obsolete syntax from install file.

    Rémy Oudompheng authored

Oct 27, 2010

  1. Peter Simons

    Distribution/ArchLinux/CabalTranslation.hs: build executables with op…

    …timization enabled
    peti authored

Oct 26, 2010

  1. CabalTranslation: relax constraints on pkglist syntax to allow blank

    lines and comments (with "# ")
    Rémy Oudompheng authored
  2. Peter Simons

    Distribution/ArchLinux/CabalTranslation.hs: removed configure flag --…

    …enable-shared again
    
    Shared library builds work, alright, but the compiled executables don't
    seem to take advantage of the dynamic objects. Until that's been figured
    out, there's little point in building libraries with 'dyn' enabled. It
    just takes twice as long.
    peti authored
  3. Peter Simons

    Distribution/ArchLinux/PkgBuild.hs: fixed GHC warnings

    peti authored
  4. Peter Simons

    Distribution/ArchLinux/PkgBuild.hs: dropped unnecessary imports

    peti authored

Oct 24, 2010

  1. Peter Simons

    Distribution/ArchLinux/SrcRepo.hs: added signature for insertpkg for …

    …readability
    peti authored
  2. Peter Simons

    getSpecifiedCabalsFromTarball: fail fatally if a package descriptor d…

    …oesn't parse
    
    Previously, Debug.Trace.trace was used to write out a warning, but in
    the plethora of output cabal2arch generates this warnings tends to be
    missed. Now, such an error triggers an exception.
    peti authored
  3. Peter Simons

    Distribution/ArchLinux/HackageTranslation.hs: improved error message …

    …readability
    peti authored
  4. Peter Simons

    Distribution/ArchLinux/HackageTranslation.hs: stripped trailing white…

    …space
    peti authored

Oct 23, 2010

  1. Peter Simons

    Enable split-objects, shared libraries, and optimization.

    peti authored
Something went wrong with that request. Please try again.