[xmonad] darcs patch: XSelection.hs: use CPP to compile agains... (and 1 more)

Gwern Branwen gwern0 at gmail.com
Sat Sep 27 11:04:42 EDT 2008


On 2008.09.27 09:14:27 -0400, Sean McEligot <seanmce33 at gmail.com> scribbled 1.0K characters:
> On Fri, Sep 26, 2008 at 05:17:34PM -0500, Spencer Janssen wrote:
> > On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0 at gmail.com wrote:
> > > Sat Sep 20 11:16:15 EDT 2008  gwern0 at gmail.com
> > >   * XSelection.hs: use CPP to compile against utf8-string
> > >
> > > Sun Sep 21 11:40:14 EDT 2008  gwern0 at gmail.com
> > >   * -DUTF8 flag with -DUSE_UTF8
> >
> > Applied.
>
> > xmonad mailing list
> > xmonad at haskell.org
> > http://www.haskell.org/mailman/listinfo/xmonad
>
> This seems to break haddock.
>
> XMonadContrib [51:1]% runghc Setup.lhs haddock
> Preprocessing library xmonad-contrib-0.8...
> Running Haddock for xmonad-contrib-0.8...
> Warning: The documentation for the following packages are not installed.
> No
> links will be generated to these packages: X11-1.4.3, base-3.0.1.0,
>       containers-0.1.0.1, directory-1.0.0.0, mtl-1.1.0.1,
>       old-locale-1.0.0.0,
>       old-time-1.0.0.0, process-1.0.0.0, random-1.0.0.0, unix-2.3.0.0,
>       utf8-string-0.3.1.1, xmonad-0.8
> dist/build/tmp/XMonad/Util/XSelection.hs:"dist/build/tmp/XMonad/Util/XSelection.hs": 33:1: Parse error

Actually, it doesn't. If you issue a darcs trackdown command like

 darcs trackdown "runhaskell Setup configure --user && runhaskell Setup haddock"

you would see that the patch that breaks haddocks is the one which adds XPaste.hs, not the one which adds CPP to XSelection.hs. The issue seems to be '$usage'. I have sent a patch fixing this.

--
gwern
DT Pornstars industrial Islam noise surveillance S ge information Albright
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/dba90022/attachment.bin


More information about the xmonad mailing list