<div dir="ltr"><div class="gmail_default" style="font-size:small">Today GG is looking into LV2 problems as you have noted in your 4 emails on this subject.  Thanks for logs and patches which he will consider and look at.  Do not know where this will be going though.  gg/Phyllis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 22, 2020 at 11:27 AM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">with this patch at least I can see LV2 plugin UIs!<br>
<br>
but please bear in mind I have non-standard X11 prefix, so even if trimmed down patch<br>
works for you - it may fail for me again if checked without this 'pkg-config --libs x11' part.<br>
<br>
diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile<br>
index 0c595ee..84331c8 100644<br>
--- a/cinelerra-5.1/thirdparty/Makefile<br>
+++ b/cinelerra-5.1/thirdparty/Makefile<br>
@@ -261,15 +261,15 @@ define waf-setup<br>
 $(1).cfg_vars+=./waf --version; find .waf* -type f -name "*.py" | \<br>
  while read f; do sed -e '/StopIter/d' -i "$(DS)f"; done; \<br>
  echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \<br>
- ./configure;  PKG_CONFIG_PATH=$(LV2_PKGCFG) LD_LIBRARY_PATH=$(LV2_LIBPATH) <br>
+ ./configure;  PKG_CONFIG_PATH=$(LV2_PKGCFG):$(PKG_CONFIG_PATH)  LD_LIBRARY_PATH=$(LV2_LIBPATH) <br>
 $(1).cfg_params+=\<br>
  CFLAGS="-I$(call bld_path,lv2) $(foreach f,$(2), $(call inc_path,$(f))) -fPIC -std=c99"\<br>
- LDFLAGS="-lm $(foreach f,$(2), $(call ld_path,$(f),usr/local/lib)) "<br>
+ LDFLAGS="-lm `pkg-config --libs x11` $(foreach f,$(2), $(call ld_path,$(f),usr/local/lib)) "<br>
 $(1).mak_vars=(echo "all:"; echo "     ./waf -v build") > $(call bld_path,$(1),Makefile); <br>
 $(1).mak_params+=; ( cd $(1)*; ./waf install --destdir=$(call bld_path,$(1)) )<br>
 endef<br>
<br>
-SYS_LIB:=$(notdir $(lastword $(wildcard /usr/lib /usrlib32 /usr/lib64)))<br>
+SYS_LIB:=$(notdir $(lastword $(wildcard /usr/lib /usr/lib32 /usr/lib64)))<br>
 SYS_LV2:=$(lastword $(wildcard /usr/$(SYS_LIB)/lv2 /usr/local/$(SYS_LIB)/lv2))<br>
 $(if $(SYS_LV2),,$(eval SYS_LV2:=/usr/$(SYS_LIB)/lv2))<br>
 lv2.cfg_params?= --lv2dir=$(SYS_LV2)<br>
@@ -281,7 +281,7 @@ sratom.cfg_params?= --static --no-shared<br>
 serd.cfg_params?= --static --no-shared<br>
 sord.cfg_params?= --static --no-shared<br>
 lilv.cfg_params?= --static --dyn-manifest<br>
-suil.cfg_params?= --static --no-qt<br>
+suil.cfg_params?= --static --no-qt --no-qt5<br>
<br>
 $(eval $(call waf-setup,lv2))<br>
 $(eval $(call waf-setup,serd))<br>
<br>
----<br>
<br>
AND, after installation I moved files from<br>
cinelerra-5.1/thirdparty/suil-0.10.6/usr/local/lib/suil-0<br>
<br>
into real (system) /usr/local/lib/suil-0<br>
<br>
All this dance probably not needed if you have lv2 setup system-wide.<br>
But I haven't, and for me embedded build was incomplete (no UI in LV2 plugins).<br>
<br>
Feel free  to improve ....<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>