[PATCH] LADSPA lib path -> Approval needed
Emmanuel Saracco <[email protected]> Wed, 06 Feb 2008 19:18:48 +0100
| Newsgroups | gmane.comp.audio.jamin.devel |
|---|---|
| Message-ID | <[email protected]> |
Emmanuel Saracco a écrit : Hi all, To avoid this 64-bit problem, can I submit the attached patch on CVS? Are you agree with it? Thanks, Bye > Udo van den Heuvel a écrit : > >> Hello, > > Hi, > >> Just tried running Jamin on the newly built 64-bit Fedora 8 system: >> >> [root@newdaw ~]# jamin >> jamin 0.97.12 >> (C) 2003-2005 J. Depner, S. Harris, J. O'Quin, R. Parker and P. Shirkey >> This is free software, and you are welcome to redistribute it >> under certain conditions; see the file COPYING for details. >> JACK tmpdir identified as [/dev/shm] >> Cannot find plugin 'sc4_1882.so' >> Required plugin sc4_1882.so missing. >> Please load the SWH plugins. >> >> Yet they are there: >> >> [root@newdaw ~]# locate sc4_1882.so >> /usr/lib64/ladspa/sc4_1882.so >> >> Does Jamin look in lib64? > > By default, JAMin look for the LADSPA_PATH env variable. If not found it > default to "/usr/local/lib/ladspa:/usr/lib/ladspa". > > So, a "export LADSPA_PATH=/usr/lib64/ladspa" should do the trick. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jamin-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jamin-devel
jamin-ladspa-path.patch
(text/x-patch, 826 B)
diff -BruNa jamin_orig/src/Makefile.am jamin/src/Makefile.am
--- jamin_orig/src/Makefile.am 2007-05-05 13:51:52.000000000 +0200
+++ jamin/src/Makefile.am 2008-02-06 18:59:27.000000000 +0100
@@ -2,6 +2,7 @@
INCLUDES = \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@PACKAGE_CFLAGS@ @JAMIN_CFLAGS@
diff -BruNa jamin_orig/src/plugin.c jamin/src/plugin.c
--- jamin_orig/src/plugin.c 2003-11-19 16:28:17.000000000 +0100
+++ jamin/src/plugin.c 2008-02-06 18:59:19.000000000 +0100
@@ -29,7 +29,7 @@
if (getenv("LADSPA_PATH")) {
plugin_path = getenv("LADSPA_PATH");
} else {
- plugin_path = "/usr/local/lib/ladspa:/usr/lib/ladspa";
+ plugin_path = PACKAGE_LIB_DIR "/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa";
}
}