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

Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com * XSelection.hs: use CPP to compile against utf8-string Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com * -DUTF8 flag with -DUSE_UTF8

On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote:
Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com * XSelection.hs: use CPP to compile against utf8-string
Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com * -DUTF8 flag with -DUSE_UTF8
Applied.

On Fri, Sep 26, 2008 at 05:17:34PM -0500, Spencer Janssen wrote:
On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote:
Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com * XSelection.hs: use CPP to compile against utf8-string
Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com * -DUTF8 flag with -DUSE_UTF8
Applied. _______________________________________________ xmonad mailing list xmonad@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

On 2008.09.27 09:14:27 -0400, Sean McEligot
On Fri, Sep 26, 2008 at 05:17:34PM -0500, Spencer Janssen wrote:
On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote:
Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com * XSelection.hs: use CPP to compile against utf8-string
Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com * -DUTF8 flag with -DUSE_UTF8
Applied.
xmonad mailing list xmonad@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
participants (4)
-
Gwern Branwen
-
gwern0@gmail.com
-
Sean McEligot
-
Spencer Janssen