Bug#469852: [xmonad] Ubuntu, Xmonad, and Xinerama

2008-03-18 Thread Joachim Breitner
Hi,

Am Dienstag, den 18.03.2008, 12:23 -0400 schrieb Chris Sanner:
 I ask!  (thanks for the speedy response)
 I've got the libxinerama-dev and x11proto-xinerama-dev packages
 installed...haskell-x11 and xmonad-contrib aren't available in the
 ubuntu repositories for hardy heron.
 I do, however, have these:
 ii  ghc6   6.8.2-2ubuntu1
 
 ii  ghc6-doc   6.8.2-2ubuntu1
 
 ii  ghc6-prof  6.8.2-2ubuntu1
 
 ii  libghc6-cairo-dev  0.9.12.1-1ubuntu1
 
 ii  libghc6-glib-dev   0.9.12.1-1ubuntu1
 
 ii  libghc6-mtl-dev1.1.0.0-2
 
 ii  libghc6-mtl-doc1.1.0.0-2
 
 ii  libghc6-mtl-prof   1.1.0.0-2
 
 ii  libghc6-quickcheck-dev 1.1.0.0-2
 
 ii  libghc6-quickcheck-doc 1.1.0.0-2
 
 ii  libghc6-quickcheck-prof1.1.0.0-2
 
 ii  libghc6-x11-dev1.4.1-1
 
 ii  libghc6-x11-doc1.4.1-1
 
 ii  libghc6-x11-prof   1.4.1-1
 
 ii  libghc6-xmonad-dev 0.6-3
 
 ii  libghc6-xmonad-doc 0.6-3
 
 ii  libghc6-xmonad-prof0.6-3
 
 
 If I need to download the packages listed, should I do so from the
 debian repos?
 can I do what I need to do with these?
 and how?
 (Thanks again!  and thanks for your initial packages for gutsy.  Got me
 hooked on this sucker a few weeks back after I got tired of ion3)

Something like this should do (it uses the source from your ubuntu
repository, but it’s probably the same than in debian). Commands are
untested, no guarantee that they are typo-free:

apt-get source haskell-x11
cd haskell-x11-1.4.1/
dch -l hitch Local recompilation with xinerama
debian/rules update-generated-files
dpkg-buildpackage -rfakeroot -uc -us
sudo debi libghc6-x11-dev
cd ..

apt-get source xmonad
cd xmonad-0.6/
dch -l hitch Local recompilation with xinerama
debian/rules update-generated-files
dpkg-buildpackage -rfakeroot -uc -us
sudo debi xmonad libghc6-xmonad-dev
cd ..

apt-get source xmonad-contrib
cd xmonad-contrib-0.6/
dch -l hitch Local recompilation with xinerama
debian/rules update-generated-files
dpkg-buildpackage -rfakeroot -uc -us
sudo debi libghc6-xmonad-contrib-dev
cd ..

When you install haskell-x11 (the debi step), it might remove the
installed version of xmonad or ask you to do so. This is ok, as you will
re-build xmonad suitable for your haskell-x11 in the next step.

You can also install the -doc packages with the debi command.

Greetings,
Joachim




-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#469852: [xmonad] Ubuntu, Xmonad, and Xinerama

2008-03-18 Thread Joachim Breitner
Hi,

Am Dienstag, den 18.03.2008, 11:47 -0400 schrieb Chris Sanner:
 So color me a newbie, to xmonad, haskell, programming, etc.
 I was running the unofficial xmonad package for gutsy, but upgraded to
 hardy heron and their included versions of xmonad and associated haskell
 libraries (right term?) because it appeared to be more cleanly set up to
 modify my xmonad install.
 Unfortunately, when I did this my xinerama/twinview support went away. 
 I've now got one giant expanse of screen instead of two discrete workspaces.
 
 The digging I've done on google suggested that libghc6-x11 is built
 without xinerama support, but i found:
 /usr/lib/X11-1.4.1/ghc-6.8.2/Graphics/X11/Xinerama.hi
 in the package.
 
 There were a lot of scripts and commands suggested to be run, but I need
 a few more basic pieces to the instruction before I can run those - any
 help would be appreciated, and I'm willing to run (and probably install)
 most anything to get it right.  I'd *prefer* not to step too far outside
 the boundaries of the debs, but would be willing to do so to submit
 patches/bug reports upstream.

Thanks for the report. I guess this problem can be traced back to the
Debian package for haskell-x11. I’m not sure if Igloo, haskell-x11’s
maintainer, sees a problem in Xinerama support. If not, I’m sure he will
fix this in the near future. See 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469852

You can locally recompile and install (in that order) haskell-x11,
xmonad, xmonad-contrib. If you have libxinerama-dev and
x11proto-xinerama-dev (not sure which) installed while doing so, you’ll
get xinerama support. If you need more detailed instructions, feel free
to ask.

Greetings,
Joachim



-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil