Tuesday, 2014-08-26

*** falktx has quit IRC03:41
*** zth has joined #lv204:55
*** zth has quit IRC05:02
*** ddom has quit IRC07:30
*** edogawa has joined #lv207:35
*** ddom has joined #lv208:44
*** ddom_ has joined #lv210:15
*** ddom has quit IRC10:19
*** bgribble has joined #lv211:01
*** bgribble has quit IRC11:26
*** NickSB2 has quit IRC11:47
*** bgribble has joined #lv211:52
*** bgribble has quit IRC12:31
*** ricardocrudo has joined #lv212:52
*** edogawa_ has joined #lv213:24
*** edogawa has quit IRC13:25
*** mlpug has joined #lv214:16
*** zth has joined #lv214:46
drobillargareus: suil doesn't need to do anything for x in x, it just passes the UI through for anything15:25
* drobilla has said this so many bloody times a suil FAQ is in order15:26
*** falktx has joined #lv215:45
*** ddom_ has quit IRC16:04
rgareusdrobilla:  ardour is a gtk+-quartz app. and the plugin a carbon UI.17:19
falktxisn't carbon 32bit only?17:42
rgareusfalktx: yes it is17:53
rgareuswhen ardour is compiled as 32bit app it supports carbon and cocoa UI AUs17:53
rgareuswhe it's compiled as 64bit apps it only supports cocoa17:53
rgareusthere's a #ifdef WITH_CARBON  in gtk2_ardour/au_pluginui.mm17:54
*** ddom has joined #lv218:10
*** falktx_ has joined #lv218:32
*** falktx has quit IRC18:32
*** zth has quit IRC18:35
*** zth has joined #lv218:48
*** zth has quit IRC18:53
*** mlpug has quit IRC19:57
drobillargareus: WTF would a plugin be a carbon UI?20:49
drobillaWe don't even have a standard type for that, but suil will pass it through anyway20:50
drobillaThere is not and probably will never be cocoa<=>carbon stuff in suil20:51
rgareusdrobilla: some [older] AU plugins do have carbon UIs20:51
rgareusdrobilla:  what we need is a  Cocoa in  gtk+-quartz20:51
drobillargareus: Older AU plugins ain't LV2 plugins20:52
rgareusAFAIK, gtk itself only uses the lowlevel quartz20:52
rgareusdrobilla:  right ardour handles the AU case   for both.20:52
drobillaThough there could be a bridge20:53
rgareusdrobilla: but for LV2 ardour delegates everything to libsuil20:53
rgareusdrobilla: and we only need to handle the Cocoa part for LV220:53
drobillargareus: Yes, a cocoa_in_gtk2 for suil would be nice20:53
rgareuseither we convince libsuil that  ardour gtk+-quartz is really Cocoa  (which may or may not be true) so that it can just pass trhough20:54
rgareusor we need some special case in libsuil20:54
drobillaI don't know how Cocoa embedding works, but presumably Ardour would have to pass a parent feature and such20:55
drobillaThe host can always make the target parent itself and skip the suil wrapper, but a wrapper in suil would be better (works for everyone)20:55
rgareusgtk2  != gtk2 I think.   there's gtk+X11 and gtk+quartz  behind gtk220:55
rgareusand maybe even  gtk+win20:56
drobillaor perhaps it should work at the quartz level if there's some kind of XWindow-like thing you can easily get from an NSView20:56
rgareusat least the pkgconfig file on OSX is   gtk+-quartz-2.020:56
rgareusalike   gtk+-x11-2.0.pc   on Linux20:57
drobillaTrue.  There is no platform selection stuff currently20:58
drobillaThough a compile-time option that just does one of them is good enough for me20:58
drobillaand anyone bundling20:58
drobillaso, whatever, really20:58
rgareusdrobilla: last I looked libsuil did check for  gtk+-x11-2.020:58
drobillargareus: Yes.  Plug/Socket only exist for X1120:59
rgareusdrobilla: but not for gtk+-quartz-2.020:59
drobillaThere is no gtk-quartz code, so no, it doesn't20:59
rgareusdrobilla: gtk2_ardour/au_pluginui.mm  sieht so aus als ob man den NSView direkt in eine Gtk::HBox einbinden kann21:04
rgareusgdk_quartz_window_get_nsview21:04
drobillaEasy enough.  So how to stick the plugin UI NSView in that one is the question21:05
rgareusoh dear.21:05
rgareus^^ looks like you can embedd  NSView directly into a Gtk::HBox21:06
* rgareus is chatting with some other people in german, quite confusing to switch tabs.21:06
*** ricardocrudo has quit IRC21:55
*** edogawa_ has quit IRC22:01
*** falktx__ has joined #lv222:23
*** falktx_ has quit IRC22:37
*** triune has quit IRC22:37
*** triune has joined #lv222:42
falktx__is there a win32 UI (plugin) known to work?22:46
*** gabrbedd has quit IRC22:47
*** gabrbedd has joined #lv222:47
falktx__drobilla: lilv doesn't work on wine because of GetLongPathNameW22:50
falktx__not sure where that call is coming from, doesn't seem used in lilv code...22:53
falktx__I only get stuff like this:22:53
falktx__Error opening file Z:/home/falktx/Personal/Muzyks/manifest.ttl (No such file or directory)22:53
falktx__lilv_world_load_bundle(): error: Error reading file://Z:/home/falktx/Personal/Muzyks/manifest.ttl22:53
falktx__I should update to latest lilv22:54
*** triune has quit IRC22:54
*** triune has joined #lv222:54
*** triune has joined #lv222:54
rgareusfalktx__: did you try winepath -w  ?22:55
rgareusfalktx__: that should be    Z:\home\falktx\...22:55
falktx__I'm running the carla binary as if it was windows, it doesn't know it's wine22:56
rgareusfile://Z:/home/   is certainly not a proper URI22:56
falktx__tbh I don't know how URIs are supposed to look like for win32 paths22:56
rgareuseither   file:///z:/...   or file:///c|/....22:57
rgareus(ie empty hostname)22:58
rgareusfile://hostname/path   goes for a network share on host22:59
falktx__new lilv has a function to create an uri right?22:59
rgareusfalktx__: I think even old liblilv. Mixbus2 on windows uses liblilv to save/load presets and the preset path+url management is not in Ardour2/MB itself.23:02
rgareusfalktx__: so something in liblilv or its LV2-lib friends must do that.23:03
falktx__"* Add convenient lilv_new_file_uri for creating file URIs"23:04
falktx__http://dev.drobilla.net/browser/trunk/lilv/NEWS23:05
rgareusmaybe that broke it :) lilv_new_uri() needs to be older23:07
rgareusfalktx__: for a test, can you somehow override the URI  to file:///z:/... ?23:10
rgareusfalktx__: or change the filename to  Z:\home\..... somehow23:11
falktx__I'm already updating lilv stuff23:11
falktx__had to do that anyway23:11
falktx__ok updated, still same issue. I'll use that handy new lilv func now23:32
falktx__still not working, something is not right23:38
falktx__"Z:/home/falktx/Personal/Muzyks/WinLV2\3BandEQ.lv2" gets the URI "file:///Z:/home/falktx/Personal/Muzyks/WinLV2/3BandEQ.lv2"23:42
falktx__but then lilv complains:23:42
falktx__Error opening file Z:/home/falktx/Personal/Muzyks/WinLV2/manifest.ttl (No such file or directory)23:42
falktx__aaaaaaah damn it lilv23:43
falktx__drobilla: lilv on win32 at least fails to load bundles that don't terminate on "/"23:43
falktx__drobilla: I was passing lilv_new_file_uri output into lilv_load_bundle, which fails23:44
falktx__I need to add the last slash23:44
drobillaLookis like a missing last slash in the base URI23:51
drobillafalktx__: As it should be.  Resolving e.g. "file" against base /foo/bar => /foo/file23:52
drobillanot /foo/bar/file23:52

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!