> On October 19, 2014 09:15:44 PM Andrew Deryabin wrote: >> Hi, All! >> >> Due to several hacks, that where implemented to bypass suil library >> algorithms, I've decided to rewrite gui support code from scratch and >> exclude suil from dependences. Here are the reasons: >> >> 1. pure X11 windows are not embedded properly in QMainWindow widget >> (suil returns QX11EmbedContainer instead QX11EmbedWindow). Tested with >> qtractor - the same issue here (it also uses suil). >> 2. suil can only embed gtk2 widgets. But if plugin uses gtkmm2 >> framework, opening gui crashes program, because gtkmm main classes are >> not instantiated by suil library. (the same behavior with qtractor, but >> not with ardour3, as it uses gtkmm2 natively). >> >> The drawbacks are: >> >> Excluding suil leads to 2 optional dependences for muse: gtk2 and gtkmm2. >> Though the code will be more predictable as all the gui code internals >> will not be changed without changing lv2 host code itself. > Hm, a Qt4 program with GTK dependencies. Weird. > Yeah I guess making them optional would be the most desirable thing... > Not so weird I guess, if you make clear that it is strictly for LV2 support. > > Tim.
Ok. I've made modifications to CMakeLists.txt to inform users, that gtk2 and gtkmm2 are used only for supporting lv2 guis made in gtk2 and gtkmm2 (though most of guis are using gtk2 now. qt4 used much rarely). If libraries can not be found, this support is silently excluded from compilation. Also external ui interfaces with gtk2 will work without gtk2 support compiled in. Regards, Andrew >> It was a necessary decision because I don't want to rewrite and debug >> lv2 gui code every time suil library changes internally. > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Lmuse-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lmuse-developer ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
