[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libghc6-gtk-dev for lucid and maverick



Hi Christian,

Am Freitag, den 17.09.2010, 15:57 +0200 schrieb Christian Maeder:
> libghc6-gtk-dev for lucid is based
> on the non-hackage gtk2hs release 0.10.1
> (that normally does not compile using ghc-6.12.1)
> 
> Whereas libghc6-gtk-dev for maverick is based on
> http://hackage.haskell.org/package/gtk-0.11.0
> 
> Unfortunately, due to a bug in gtk-0.11.0 our hets application does
> therefore not work under maverick.
> 
> http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/installation_e.htm
> 
> http://trac.informatik.uni-bremen.de:8080/hets/ticket/794
> 
> I think, the best solution is to create new debian packages
> based on gtk-0.11.2 (for lucid and maverick).
> 
> Can you do this? If such new packages are based on ghc-6.12.3 this would
> be also fine, but note that ghc-6.12.2 does not work with gtk!
> 

you can relatively easily build them yourself. Here is what you do:

$ apt-get source haskell-gtk
$ wget http://hackage.haskell.org/packages/archive/gtk/0.11.2/gtk-0.11.2.tar.gz
$ cd haskell-gtk-0.11.0/
$ uupdate ../gtk-0.11.2.tar.gz
$ cd ../haskell-gtk-0.11.2

The following command gives you a version number lower than an eventual
official release:
$ dch -b -v 0.11.2-0~bkb0 'Local build of newer version'

And this removes a patch that is not required in 0.11.2 any more:
$ quilt delete utf8.patch

Now you could build the package with
$ dpkg-buildpackage -uc -us
if you had done the same steps with cairo, glib and pango :-)


If you have trouble with these instructions, please ask.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: