28.10.2014 22:26, Robert Jonsson пишет:
> Sorry it was a false report!
> I had a LV2_PATH set to nowhere.
> I got a gui now :)
>
> /Robert
Wow! Cool!
I've added fallback library names to lv2 gtk2 helper. Now the order in
which libraries are searched is:
const char *gtk2LibraryNames []= {"libgtk-x11-2.0.so",
"libgtk-x11-2.0.so.0", NULL};
const char *gtk2mmLibraryNames [] = {"libgtkmm-2.4.so",
"libgtkmm-2.4.so.1", NULL};
So, it can solve problem on distros where only versioned libraries are
installed (ubuntu case, I think).
Changes are in lv2 branch.
Regards,
Andrew.
>
> 2014-10-28 19:22 GMT+01:00 Robert Jonsson <[email protected]>:
>> Hi Andrew,
>>
>> 2014-10-27 23:01 GMT+01:00 Andrew Deryabin <[email protected]>:
>>> Hi, Robert!
>>>
>>>> Hi Andrew,
>>>>
>>>> I managed a quick test but came to the error dialog you mentioned.
>>>> I tried ldd:ing the .so file and it's there and all symbols seem ok.
>>>> Nothing in the terminal I can see.
>>>>
>>>> Any ideas?
>>>> I'll investigate more tomorrow!
>>> I've just made lv2host to print some debug messages from dlerror() to
>>> console. Can you pull and retest again?
>> Trying now on another computer, kubuntu 14.04 (the other one was 14.10beta).
>>
>> haven't run the old solution on this computer but they should have
>> about the same configuration.
>> --
>> This is the printout without debug enabled.
>> ddskrjo@faeroe:~$ muse_lv2/bin/muse2 -p -N -I
>> Config File </home/ddskrjo/.config/MusE/MusE.cfg>
>> LOCALE en_US
>> Denormal protection enabled.
>> Trying RTC timer...
>> got timer = 69
>> Aquired timer frequency: 1024
>> Lv2Gtk2Helper: dlerror = (null)
>> Lv2Gtk2Helper: dlerror = (null)
>> Lv2Gtk2Helper: dlerror = (null)
>> JACK: buffersize changed 128
>> starting with template /usr/local/share/muse-2.1/templates/default.med
>> Bus::open: Can not get ibus-daemon's address.
>> IBusInputContext::createInputContext: no connection to ibus-daemon
>> JACK: buffersize changed 128
>>
>> Trying debug now.
>>
>> Regards,
>> Robert
>>
>>
>>> P.S. What distro do you have? I can install it and check too.
>>> P.P.S in kubuntu everything worked fine, but in ubuntu I had to install
>>> libgtkmm2-dev package (libgtkmm-2.4.so link was not copied by ubuntu
>>> installer)
>>> P.P.P.S. May be I have to make helper module to search for several files in
>>> that order (now only the first entry is searched):
>>> libgtkmm-2.4.so
>>> libgtkmm-2.4.so.1
>>>
>>> libgtk-x11-2.0.so
>>> libgtk-x11-2.0.so.0
>>>
>>>
>>> Regards,
>>> Andrew
>>>
>>>
>>>> Regards,
>>>> Robert
>>>>
>>>>
>>>> 2014-10-26 1:05 GMT+02:00 Andrew Deryabin <[email protected]>:
>>>>> Robert,
>>>>>
>>>>> I made some changes to lv2Gtk2Helper api to support resize requests from
>>>>> gtk
>>>>> widgets.
>>>>> When there will be time to test, pull the latest changes from lv2 branch
>>>>> (helper *.so files will also be updated)
>>>>>
>>>>> Regards,
>>>>> Andrew
>>>>>
>>>>>> HI Andrew,
>>>>>> Just a ping, sounds cool but no time to test at the moment. Will try
>>>>>> soon
>>>>>> :)
>>>>>>
>>>>>> Regards,
>>>>>> Robert
>>>>>>
>>>>>> 2014-10-23 19:57 GMT+02:00 Andrew Deryabin <[email protected]>:
>>>>>>> Hi, All!
>>>>>>>
>>>>>>> After several days rewriting gtk gui support for lv2 host I
>>>>>>> think
>>>>>>> it's ready for testing :).
>>>>>>>
>>>>>>> What was made:
>>>>>>>
>>>>>>> 1. Excluded suil dependency from muse CMakeLists.txt.
>>>>>>> 2. I decided not to include gtk2/gtkmm2 dependency to muse at all.
>>>>>>> 3. Simple gtk2/gtkmm2 helper was created and compiled into 2 shared
>>>>>>> libraries (for x64 and x32 arch).
>>>>>>>
>>>>>>> How it works:
>>>>>>>
>>>>>>> New precompiled lv2 gtk2 helper libraries are installed in muse modules
>>>>>>> dir (lv2Gtk2Helper32.so for x32 and lv2Gtk2Helper64.so for x64).
>>>>>>> While initLV2() function is called it tries to dlopen gtk2 gui helper.
>>>>>>> If all runtime dependences are met, gtk2/gtkmm2 are initialized and
>>>>>>> gtk2
>>>>>>> gui support is turned on.
>>>>>>>
>>>>>>> Of course there is ability to compile helpers from source if needed
>>>>>>> (but
>>>>>>> I think, that in 99% of time these precompiled libraries should just
>>>>>>> work). Wrapper code resides in muse2/muse/lv2Gtk2Helper folder. Cmake
>>>>>>> script just copies *.so files from this dir to destination modules dir
>>>>>>> while installing.
>>>>>>>
>>>>>>> So, there is no explicit gtk2/gtkmm2 dependency now (and no -dev files
>>>>>>> are needed, which makes ubuntu distros very happy). If gtk2/gtkmm2 libs
>>>>>>> were not found during MusE start, informative message will be shown
>>>>>>> about what can be checked (like ldd lv2Gtk2HelperXX.so and so on).
>>>>>>>
>>>>>>> I've tested clean MusE build on ubuntu 14.04 32 and 64 bit installs, on
>>>>>>> arch linux 64 bit install - it works as expected :).
>>>>>>>
>>>>>>> Now the sumary of ui types supported:
>>>>>>>
>>>>>>> 1. Qt4 gui - supported natively. Tested plugins: drumkv1, samplv1.
>>>>>>> 2. External ui types (deprecated and kxstudio specification) -
>>>>>>> supported
>>>>>>> without external dependences. Tested plugins: Dexed synth, distrho
>>>>>>> plugins.
>>>>>>> 3. X11 ui types - works without external dependences. Tested plugins:
>>>>>>> Dexed synth, TAL plugins, some distrho plugins.
>>>>>>> 4. Gtk2 ui types - works with lv2Gtk2HelperXX.so. Tested plugins: calf
>>>>>>> plugins.
>>>>>>> 5. Gtkmm2 ui types - works with lv2Gtk2HelperXX.so. Tested plugins:
>>>>>>> eq10q equalizer and compressor.
>>>>>>>
>>>>>>> all changes (with precompiled gtk2 helpers) are pushed to lv2 branch
>>>>>>> and
>>>>>>> ready for testing :).
>>>>>>>
>>>>>>> Regards,
>>>>>>> Andrew
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Lmuse-developer mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/lmuse-developer
>>>>>
------------------------------------------------------------------------------
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer