[Haskell-cafe] Re: How to build sourceview depend for gtk2hs?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Mar 3 17:14:17 EST 2009

On Mar 3, 2009, at 17:04 , Andy Stewart wrote:
> "Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> writes:
>> On Mar 3, 2009, at 16:52 , Andy Stewart wrote:
>>> * sourceview     : no
>>> * gtksourceview2 : yes
>> I'm pretty sure you can have only one or the other, not both; as  
>> such you want gtksourceview2 if you
>> have both.
> So i can use SourceView if i have config pass "sourceview" or  
> "gtksourceview2"?
> Can you explain the difference between "sourceview" and
> "gtksourceview2"?

gtksourceview2 is a newer version (2.x vs. 1.x),  They're not 100%  
compatible (API changes) so you have to pick one when building Gtk2hs;  
if they were independent packages as with the C versions it would be  
possible to build both and pick one when building an application.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list