Quantcast

How to run xmonad from development repository

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to run xmonad from development repository

Adam Sjøgren
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                                 [hidden email]
  If that feels good
  This is the end"

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to run xmonad from development repository

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
                                                         [hidden email]

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to run xmonad from development repository

Steffen Schuldenzucker-2
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.

---- [hidden email] wrote ----

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
                                                         [hidden email]

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Loading...