[yoshimi] Re: Change in LV2 location

  • From: Nicola Pandini <nicola.pandini@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Mon, 07 Dec 2015 20:02:06 +0100

Hi Will,
just to report my compilation of 1.3.7.1 on my Debian Jessie.
I did the steps I've always followed with all previous versions:
- cd /src/
- (I edit CMakeList.txt to set default alsa MIDI and compilation flags for core2)
- cmake .
- make
- sudo make install

The "sudo make install" command correctly install the LV2 plugin, but all the data files are being installed in the root filesystem, ie: the banks files are installed in /yoshimi/banks/ (I attach the "sudo make install" output).

It seems that there's a problem with the cmake variable CMAKE_INSTALL_DATAROOTDIR, because if I edit CMakeCache.txt, replacing the line
CMAKE_INSTALL_DATADIR:PATH=
with
CMAKE_INSTALL_DATADIR:PATH=/usr/local

the data files are installed in the correct locations.

Cheers

Nicola

Il 06/12/2015 16:53, Will Godfrey ha scritto:

On Sat, 5 Dec 2015 23:33:18 +0000
Adam Huffman <bloch@xxxxxxxxxxxx> wrote:
Hi Will,

I'm afraid Fedora RPM builds are broken again with this release:

https://kojipkgs.fedoraproject.org//work/tasks/3125/12033125/build.log

As you can see at the end, banks are being installed without the proper
prefix now i.e. for some reason '/usr/share' is being omitted.

Cheers,
Adam
Hi Adam. Sorry to hear you this is *still* giving you headaches :(
I never can follow exactly how multi-arch is supposed to work, and from that
log it seems quite a lot of stuff is being put in the wrong place.

Try using CMakeListsAlt.txt instead, although I think you may need to swap lines
516 and 517. I can't remember which one worked for you previously.

Until (and unless) this can be finally sorted out I'll maintain both copies
from now on.

[ 51%] Built target yoshimi
[ 51%] Built target yoshimi_lv2_ttl
[100%] Built target yoshimi_lv2
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/yoshimi
-- Installing: /yoshimi/banks
-- Installing: /yoshimi/banks/Brass
-- Installing: /yoshimi/banks/Brass/0067-Brass Pad1.xiz
...
...
-- Installing: /yoshimi/banks/Dual/0001-Layered1.xiz
-- Installing: /yoshimi/examples
-- Installing: /yoshimi/examples/Saw.xmz
...
...
-- Installing: /yoshimi/examples/Arpeggio 3.xmz
-- Installing: /yoshimi/presets
-- Installing: /yoshimi/presets/WahWah1.Peffect.xpz
...
...
-- Installing: /yoshimi/presets/A01.Presonance.xpz
-- Installing: /doc/yoshimi-1.3.7.1
-- Installing: /doc/yoshimi-1.3.7.1/Yoshimi_License_History.txt
-- Installing: /doc/yoshimi-1.3.7.1/MIDI.txt
-- Installing: /doc/yoshimi-1.3.7.1/MIDI_Controllers.html
-- Installing: /doc/yoshimi-1.3.7.1/Yoshimi_Policies.txt
-- Installing: /doc/yoshimi-1.3.7.1/ALSA_Setup.txt
-- Installing: /doc/yoshimi-1.3.7.1/Using_NRPNs.txt
-- Installing: /doc/yoshimi-1.3.7.1/Direct_Part_Control.txt
-- Installing: /doc/yoshimi-1.3.7.1/NewFeatures.txt
-- Installing: /doc/yoshimi-1.3.7.1/Dynamic_System_Settings.txt
-- Installing: /doc/yoshimi-1.3.7.1/Dependencies
-- Installing: /doc/yoshimi-1.3.7.1/Instrument_Kits.txt
-- Installing: /doc/yoshimi-1.3.7.1/Histories
-- Installing: /doc/yoshimi-1.3.7.1/Histories/README.txt
-- Installing: /doc/yoshimi-1.3.7.1/Histories/V_1.3.5-features.txt
-- Installing: /doc/yoshimi-1.3.7.1/Histories/Zyn_ChangeLog
-- Installing: /doc/yoshimi-1.3.7.1/Histories/Zyn_HISTORY.txt
-- Installing: /doc/yoshimi-1.3.7.1/Yoshi_Zyn_NRPNs.txt
-- Installing: /doc/yoshimi-1.3.7.1/Output_Levels.txt
-- Installing: /doc/yoshimi-1.3.7.1/Yoshi-Zyn_Sound_Differences.txt
-- Installing: /doc/yoshimi-1.3.7.1/Command_Line.txt
-- Installing: /doc/yoshimi-1.3.7.1/Vector_Control.txt
-- Installing: /doc/yoshimi-1.3.7.1/ToDo_Maybe.txt
-- Installing: /doc/yoshimi-1.3.7.1/Using_More_Parts.txt
-- Installing: /doc/yoshimi-1.3.7.1/Banks.txt
-- Installing: /doc/yoshimi-1.3.7.1/1stReadMe.txt
-- Installing: /doc/yoshimi-1.3.7.1/AddSynthModulation.txt
-- Installing: /doc/yoshimi-1.3.7.1/Yoshimi_1.3.6-features.txt
-- Installing: /applications/yoshimi.desktop
-- Installing: /pixmaps/yoshimi.png
-- Installing: /icons/hicolor/scalable/apps/yoshimi.svg
-- Installing: /icons/hicolor/scalable/apps/yoshimi_alt.svg
-- Installing: /appdata/yoshimi.appdata.xml
-- Installing: /usr/local/lib/lv2/yoshimi.lv2/yoshimi_lv2.so
-- Installing: /usr/local/lib/lv2/yoshimi.lv2/manifest.ttl
-- Installing: /usr/local/lib/lv2/yoshimi.lv2/yoshimi.ttl
nicola@agora:~/Progetti/AudioPRO/Yoshimi/yoshimi-1.3.7.1/src$

Other related posts: