[Xmonad] X11 issues

Don Stewart dons at galois.com
Thu Nov 1 17:26:24 EDT 2007


valery.vv:
> I think that the following X11 issues relate to xmonad. At least
> indirectly. :)
> 
> 1. There is $USER variable in X11/README commands.
>    Is this a typo? Shouldn't $HOME be used instead?

Yes, well spotted! I've corrected this in the darcs repo.
> 
> 2. cd X11 && Setup.hs configure --help
>    Nothing is said about `--without-xinerama' option.

Ah yes, they're not connected to Setup.hs, I think...
I'm not sure that's worked for a while.

I'll put this on the backburner for now though, unless someone 
has a build error due to this.

> 3. There are even more warnings when building without Xinerama:
> 
>    $ runhaskell Setup.hs build
> !  Setup.hs: Warning: Unknown field 'build-type'
> 
>    Preprocessing library X11-1.3.0...
>    Building X11-1.3.0...
>    [ 1 of 17] Compiling Graphics.X11.Xlib.Types (
> Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )
>    [ 2 of 17] Compiling Graphics.X11.Types ( Graphics/X11/Types.hs,
> dist/build/Graphics/X11/Types.o )
>    [ 3 of 17] Compiling Graphics.X11.Xlib.Atom (
> Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.o )
>    [ 4 of 17] Compiling Graphics.X11.Xlib.Color (
> Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.o )
>    [ 5 of 17] Compiling Graphics.X11.Xlib.Context (
> Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.o )
>    [ 6 of 17] Compiling Graphics.X11.Xlib.Display (
> Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.o )
>    [ 7 of 17] Compiling Graphics.X11.Xlib.Event (
> Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.o )
>    [ 8 of 17] Compiling Graphics.X11.Xlib.Font (
> Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.o )
>    [ 9 of 17] Compiling Graphics.X11.Xlib.Misc (
> Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.o )
>    [10 of 17] Compiling Graphics.X11.Xlib.Region (
> Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.o )
>    [11 of 17] Compiling Graphics.X11.Xlib.Screen (
> Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.o )
>    [12 of 17] Compiling Graphics.X11.Xlib.Window (
> Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.o )
>    [13 of 17] Compiling Graphics.X11.Xlib.Image (
> Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.o )
>    [14 of 17] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs,
> dist/build/Graphics/X11/Xlib.o )
>    [15 of 17] Compiling Graphics.X11.Xlib.Extras (
> Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.o )
> !  Warning: orphan instances:
>      instance base:GHC.Read.Read
> [X11-1.3.0:Graphics.X11.Xlib.Types.Rectangle] = $f1
> 
>    [16 of 17] Compiling Graphics.X11.Xinerama (
> Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.o )
> 
> !  Graphics/X11/Xinerama.hsc:28:0:
>        Warning: Module `Foreign' is imported, but nothing from it is used,
>                   except perhaps instances visible in `Foreign'
>                 To suppress this warning, use: import Foreign()
>    [17 of 17] Compiling Graphics.X11     ( Graphics/X11.hs,
> dist/build/Graphics/X11.o )
>    /usr/bin/ar: creating dist/build/libHSX11-1.3.0.a

Ok, that's harmless. 
> Thank you.
> 
> --
> vvv

Thanks for reporting this. It looks like the transition has been 
pretty smooth.

-- Don


More information about the Xmonad mailing list