Page MenuHomeSolus

D10112.id24328.diff
No OneTemporary

D10112.id24328.diff

diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# Solus LMMS maintainer guidelines
+
+This document includes notes on maintaining and testing LMMS and its various features.
+
+## VST support
+
+For VST support, LMMS uses Wine. It makes sense to pull Wine as a rundep as attempting to use Vestige without Wine results in a very broken-looking behavior and doesn't produce an error message except for command line. It should be noted that currently (as of 1.2-stable branch) LMMS supports only 32-bit VST plugins through Wine. 64-bit plugins will silently fail.
+
+## Testing VST support
+
+There are several VST instruments known to work with LMMS. Synth1 is a good testing candidate, as it seems to work reliably on many DAWs.
+Synth1 is available at https://daichilab.sakura.ne.jp/softsynth/index.html#down
+A listing for tested VSTs can be found here https://lmms.io/wiki/index.php?title=Tested_VSTs
+
+You should run LMMS once to have the configuration folders created to ~/Documents/lmms
+VST plugins go to ~/Documents/lmms/plugins/vst regardless of whether they are instruments or effects.
+
+To test your plugin, drag Vestige to the Sound Editor or Beat+Bassline Editor and open its properties.
+Click on a green folder icon next to the "No VST-plugin loaded" text and search for your plugin. The plugin interface should pop up after loading and the plugin should produce a sound when playing with either keyboard or MIDI.
+
+To test effect plugins, open FX-Mixer, click Add effect button on the effects chain and search for your plugin. The plugin should load without problems and alter the sound how it's supposed to.
+
+## Unknown symbol errors
+
+The dependency discover phase shows errors for these libraries:
+- libZynAddSubFxCore.so
+- libgig.so.9
+- libvstbase.so
+- libZynAddSubFxCore.so
+These can be ignored as they're private libraries used only by LMMS.
diff --git a/abi_used_libs b/abi_used_libs
--- a/abi_used_libs
+++ b/abi_used_libs
@@ -2,8 +2,10 @@
libQt5Core.so.5
libQt5Gui.so.5
libQt5Widgets.so.5
+libQt5X11Extras.so.5
libQt5Xml.so.5
libSDL-1.2.so.0
+libX11.so.6
libasound.so.2
libc.so.6
libcarla_native-plugin.so
@@ -28,4 +30,5 @@
libvorbis.so.0
libvorbisenc.so.2
libvorbisfile.so.3
+libxcb.so.1
libz.so.1
diff --git a/abi_used_libs32 b/abi_used_libs32
new file mode 100644
--- /dev/null
+++ b/abi_used_libs32
@@ -0,0 +1,3 @@
+libc.so.6
+libpthread.so.0
+libstdc++.so.6
diff --git a/files/0001-Fix-building-VST-plugin.patch b/files/0001-Fix-building-VST-plugin.patch
new file mode 100644
--- /dev/null
+++ b/files/0001-Fix-building-VST-plugin.patch
@@ -0,0 +1,25 @@
+From 8595903044a41e7501b44c25a4b004d300694de0 Mon Sep 17 00:00:00 2001
+From: Jarno Turkki <stalebrim@posteo.net>
+Date: Fri, 11 Dec 2020 00:53:26 +0200
+Subject: [PATCH 1/1] Fix building VST plugin
+
+---
+ plugins/vst_base/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/vst_base/CMakeLists.txt b/plugins/vst_base/CMakeLists.txt
+index 441b961f4..75f1c4421 100644
+--- a/plugins/vst_base/CMakeLists.txt
++++ b/plugins/vst_base/CMakeLists.txt
+@@ -84,7 +84,7 @@ ADD_CUSTOM_COMMAND(
+ COMMAND ${WINE_CXX}
+ ARGS ${WINE_CXX_ARGS}
+ # Ensure correct file extension
+- COMMAND sh -c "mv ../RemoteVstPlugin.exe ../RemoteVstPlugin || true"
++ COMMAND /bin/sh -c "/bin/mv ../RemoteVstPlugin.exe ../RemoteVstPlugin || /bin/true"
+ TARGET vstbase
+ OUTPUTS ../RemoteVstPlugin
+ VERBATIM
+--
+2.29.2
+
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,8 +1,8 @@
name : lmms
-version : 1.2.1
-release : 16
+version : 1.2.2
+release : 17
source :
- - git|https://github.com/LMMS/lmms.git : v1.2.1
+ - git|https://github.com/LMMS/lmms.git : v1.2.2
license : GPL-2.0-or-later
component : multimedia.audio
summary : Free cross-platform alternative to commercial music production suites like FL Studio®
@@ -25,9 +25,13 @@
- pkgconfig(sndfile)
- pkgconfig(vorbis)
- pkgconfig(xcb-util)
+ - pkgconfig(xext)
+ - pkgconfig(xfixes)
- pkgconfig(xft)
- carla-devel
+ - doxygen
- fltk-devel
+ - glibc-32bit-devel
- ladspa-devel
- lame-devel
- qt5-tools-devel
@@ -35,21 +39,20 @@
- stk-devel
- xcb-util-keysyms-devel
- libgig
+ - wine-32bit-devel
rundeps :
- fluid-soundfont
- libgig
+ - wine-32bit # for vst support
setup : |
- # Turn off the VST support as it requires Wine
+ %patch -p1 < $pkgfiles/0001-Fix-building-VST-plugin.patch
%cmake_ninja -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=%libdir% \
-DOpenGL_GL_PREFERENCE="GLVND" \
-DWANT_QT5=ON \
- -DWANT_SOUNDIO=OFF \
- -DWANT_VST=OFF
+ -DWANT_SOUNDIO=OFF
build : |
%ninja_build
install : |
%ninja_install
find $installdir/%libdir% -name '*.a' -delete
- # in the dep discovery phase, the missing zynaddsubfx.so library can be ignored
- # as it's actually a private library only used in lmms
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
<Source>
<Name>lmms</Name>
<Packager>
- <Name>Bryan T. Meyers</Name>
- <Email>bmeyers@datadrake.com</Email>
+ <Name>Jarno Turkki</Name>
+ <Email>stalebrim@posteo.net</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>multimedia.audio</PartOf>
@@ -20,6 +20,8 @@
<PartOf>multimedia.audio</PartOf>
<Files>
<Path fileType="executable">/usr/bin/lmms</Path>
+ <Path fileType="library">/usr/lib64/lmms/RemoteVstPlugin</Path>
+ <Path fileType="library">/usr/lib64/lmms/RemoteVstPlugin.exe.so</Path>
<Path fileType="library">/usr/lib64/lmms/RemoteZynAddSubFx</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/alias_1407.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/allpass_1895.so</Path>
@@ -73,7 +75,6 @@
<Path fileType="library">/usr/lib64/lmms/ladspa/impulse_1885.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/inv_1429.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/karaoke_1409.so</Path>
- <Path fileType="library">/usr/lib64/lmms/ladspa/ladspa-util.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/latency_1914.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/lcr_delay_1436.so</Path>
<Path fileType="library">/usr/lib64/lmms/ladspa/lowpass_iir_1891.so</Path>
@@ -180,7 +181,10 @@
<Path fileType="library">/usr/lib64/lmms/libstereoenhancer.so</Path>
<Path fileType="library">/usr/lib64/lmms/libstereomatrix.so</Path>
<Path fileType="library">/usr/lib64/lmms/libtripleoscillator.so</Path>
+ <Path fileType="library">/usr/lib64/lmms/libvestige.so</Path>
<Path fileType="library">/usr/lib64/lmms/libvibedstrings.so</Path>
+ <Path fileType="library">/usr/lib64/lmms/libvstbase.so</Path>
+ <Path fileType="library">/usr/lib64/lmms/libvsteffect.so</Path>
<Path fileType="library">/usr/lib64/lmms/libwatsyn.so</Path>
<Path fileType="library">/usr/lib64/lmms/libwaveshaper.so</Path>
<Path fileType="library">/usr/lib64/lmms/libzynaddsubfx.so</Path>
@@ -2910,7 +2914,7 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
- <Dependency release="16">lmms</Dependency>
+ <Dependency release="17">lmms</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/lmms/AboutDialog.h</Path>
@@ -3146,12 +3150,12 @@
</Files>
</Package>
<History>
- <Update release="16">
- <Date>2020-05-17</Date>
- <Version>1.2.1</Version>
+ <Update release="17">
+ <Date>2020-12-11</Date>
+ <Version>1.2.2</Version>
<Comment>Packaging update</Comment>
- <Name>Bryan T. Meyers</Name>
- <Email>bmeyers@datadrake.com</Email>
+ <Name>Jarno Turkki</Name>
+ <Email>stalebrim@posteo.net</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 2:31 PM (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5792509
Default Alt Text
D10112.id24328.diff (8 KB)

Event Timeline