[seq24-users] [PATCH] seq24 / gtkmm-2.8 (2.4)
Brought to you by:
rcbuse
|
From: <seq...@li...> - 2005-11-14 02:23:20
|
Hi, I just installed a 64-bit distro which had no binary package for gtkmm-2.2 (slamd64 with gnome libs from freerock gnome). So when I tried to compile seq24 it of course complained about its gtkmm calls. Perhaps foolishly ( Ok, very stupidly..! :-) I decided to try and make seq24 compile against the version of gtkmm that came with freerock's 64-bit gnome packages. That version calls itself gtkmm-2.8 but installs as gtkmm-2.4 (!) I presume it knows what it is doing and there is some clever reason for this. I thought this would be easier than compiling my own gtkmm-2.2 from source - which is probably not true! So some amount of repetitive edits later, I now have a version that compiles against the latest stable gtkmm (adding -I/usr/include/cairo to the CPPFLAGS when running ./configure). It appears to work correctly to the extent I was able to send midi to ams. I can't say I've tested it with any thoroughness! In particular, I haven't methodically tested affected dialog box calls, which had to be supplied with some new boolean values (defaults, I guess). but it looks ok.. I know there is no planned official support for gtkmm > 2.2, and I'm not offering to maintain a gtkmm-2.4 version - I don't have the skills, and most of my changes were sheer guesswork/googling because I'm not a gtk programmer at all, so please note: this patch comes with no support at all! Anyway, despite that, I thought maybe it might be useful to someone, or someone might be curious to inspect it, so I decided to send it here to the list.. To apply it, assuming you have /usr/local/src/seq24-0.7.0, (and assuming the patch makes it to the list as an attachment! :) save and unzip the patch, then cd /usr/local/src/seq24-0.7.0 and patch -p1 < /wherever/you/put/seq24-gtkmm-2.4-patch then to build do CPPFLAGS=3D-I/usr/include/cairo ./configure <configure options> (I think you should have cairo.h in /usr/include/cairo or somewhere else if you're using gtkmm-2.8, if it's somewhere else then use that location) If it doesn't work: sorry! it worked on my system! Again, just to re-iterate, this patch is purely a FYI affair, and implies no support whatsoever - use it at your own discretion and risk ;-) - Pete. |