Discussion:
[xmonad] How to run xmonad from development repository
Adam Sjøgren
2016-06-12 16:09:02 UTC
Permalink
I am trying to get back into fixing the border colormap stuff¹ that I got
half way through last year².

I am wondering - still being new to this - how to efficiently do
development of xmonad.

What I did previous was to rebuild Debian packages with my changes,
installing them, and then "xmonad --recompile" and restarting xmonad.

That is quite cumbersome, as Debian has dependencies between the X11
code, X11 xft and xmonad, so there is a lot of rebuilding just to
realize that I made a(nother) mistake.

How do you run xmonad from a cloned git repository and do a
change-compile-run cycle efficiently?

Is there a way to point "xmonad --recompile" at my local repository, or?


Best regards,

Adam


¹ https://github.com/asjo/xmonad/commit/e7d0e004d0a1acfd1ff149eaabf274fe2519c4fc
² https://github.com/xmonad/X11/pull/35
--
"Close the door to it all Adam Sjøgren
A crash and a fireball ***@koldfront.dk
If that feels good
This is the end"
Adam Sjøgren
2016-06-12 16:45:53 UTC
Permalink
Ok, I found that simply uninstalling the Debian packages (maybe that
wasn't even necessary), and then doing cabal configure && cabal build &&
cabal install in X11, xmonad, and xmonad-contrib repositories allows me
to "xmonad --recompile" and use my modified code.

Cool!


Best regards,

Adam
--
"Accept failure gracefully." Adam Sjøgren
***@koldfront.dk
Steffen Schuldenzucker
2016-06-12 16:58:37 UTC
Permalink
As a side note, it is also possible to place modules in ~/.xmonad/lib/ and import them into ~/.xmonad/xmonad.hs. I've been doing this for prototype extensions not quite ready for inclusion in xmonad-contrib.
Post by Adam Sjøgren
Ok, I found that simply uninstalling the Debian packages (maybe that
wasn't even necessary), and then doing cabal configure && cabal build &&
cabal install in X11, xmonad, and xmonad-contrib repositories allows me
to "xmonad --recompile" and use my modified code.
Cool!
Best regards,
Adam
--
"Accept failure gracefully." Adam SjÞgren
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Loading...