Browse Source

Set seeAlso modgui.ttl in manifest files when available

tags/v1.0
falkTX 10 years ago
parent
commit
7ef669c33d
7 changed files with 9 additions and 21 deletions
  1. +3
    -2
      dpf/distrho/src/DistrhoPluginLV2export.cpp
  2. +1
    -5
      plugins/AmplitudeImposer/DistrhoUIAmplitudeImposer.hpp
  3. +1
    -5
      plugins/CycleShifter/DistrhoUICycleShifter.hpp
  4. +1
    -0
      plugins/Kars/DistrhoPluginInfo.h
  5. +1
    -0
      plugins/MVerb/DistrhoPluginInfo.h
  6. +1
    -0
      plugins/PingPongPan/DistrhoPluginInfo.h
  7. +1
    -9
      plugins/SoulForce/DistrhoUISoulForce.hpp

+ 3
- 2
dpf/distrho/src/DistrhoPluginLV2export.cpp View File

@@ -116,7 +116,8 @@ void lv2_generate_ttl(const char* const basename)
manifestString += " a lv2:Plugin ;\n";
manifestString += " lv2:binary <" + pluginDLL + "." DISTRHO_DLL_EXTENSION "> ;\n";
#if DISTRHO_PLUGIN_USES_MODGUI
manifestString += " rdfs:seeAlso <" + pluginTTL + " , modgui.ttl> .\n";
manifestString += " rdfs:seeAlso <" + pluginTTL + "> ,\n";
manifestString += " <modgui.ttl> .\n";
#else
manifestString += " rdfs:seeAlso <" + pluginTTL + "> .\n";
#endif
@@ -166,7 +167,7 @@ void lv2_generate_ttl(const char* const basename)
presetString = "<" DISTRHO_PLUGIN_URI + presetSeparator + "preset" + strBuf + ">\n";
presetString += " a pset:Preset ;\n";
presetString += " lv2:appliesTo <" DISTRHO_PLUGIN_URI "> ;\n";
presetString += " rdfs:label \"" + plugin.getProgramName(i) + "\" ;\n\n";
presetString += " rdfs:label \"" + plugin.getProgramName(i) + "\" ;\n";
presetString += " rdfs:seeAlso <presets.ttl> .\n";
presetString += "\n";



+ 1
- 5
plugins/AmplitudeImposer/DistrhoUIAmplitudeImposer.hpp View File

@@ -26,14 +26,10 @@
#define DISTRHO_UI_AMPLITUDE_IMPOSER_HPP_INCLUDED

#include "DistrhoUI.hpp"

#include "ImageSlider.hpp"
#include "ImageWidgets.hpp"

#include "DistrhoArtworkAmplitudeImposer.hpp"

using DGL::Image;
using DGL::ImageSlider;

START_NAMESPACE_DISTRHO

// -----------------------------------------------------------------------


+ 1
- 5
plugins/CycleShifter/DistrhoUICycleShifter.hpp View File

@@ -26,14 +26,10 @@
#define DISTRHO_UI_CYCLE_SHIFTER_HPP_INCLUDED

#include "DistrhoUI.hpp"

#include "ImageSlider.hpp"
#include "ImageWidgets.hpp"

#include "DistrhoArtworkCycleShifter.hpp"

using DGL::Image;
using DGL::ImageSlider;

START_NAMESPACE_DISTRHO

// -----------------------------------------------------------------------


+ 1
- 0
plugins/Kars/DistrhoPluginInfo.h View File

@@ -25,5 +25,6 @@
#define DISTRHO_PLUGIN_IS_SYNTH 1
#define DISTRHO_PLUGIN_NUM_INPUTS 0
#define DISTRHO_PLUGIN_NUM_OUTPUTS 1
#define DISTRHO_PLUGIN_USES_MODGUI 1

#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED

+ 1
- 0
plugins/MVerb/DistrhoPluginInfo.h View File

@@ -27,6 +27,7 @@
#define DISTRHO_PLUGIN_NUM_INPUTS 2
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2
#define DISTRHO_PLUGIN_WANT_PROGRAMS 1
#define DISTRHO_PLUGIN_USES_MODGUI 1

#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin"



+ 1
- 0
plugins/PingPongPan/DistrhoPluginInfo.h View File

@@ -25,6 +25,7 @@
#define DISTRHO_PLUGIN_NUM_INPUTS 2
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2
#define DISTRHO_PLUGIN_WANT_PROGRAMS 1
#define DISTRHO_PLUGIN_USES_MODGUI 1

#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:SpatialPlugin"



+ 1
- 9
plugins/SoulForce/DistrhoUISoulForce.hpp View File

@@ -26,18 +26,10 @@
#define DISTRHO_UI_SOUL_FORCE_HPP_INCLUDED

#include "DistrhoUI.hpp"

#include "ImageButton.hpp"
#include "ImageKnob.hpp"
#include "ImageSwitch.hpp"
#include "ImageWidgets.hpp"

#include "DistrhoArtworkSoulForce.hpp"

using DGL::Image;
using DGL::ImageButton;
using DGL::ImageKnob;
using DGL::ImageSwitch;

START_NAMESPACE_DISTRHO

// -----------------------------------------------------------------------


Loading…
Cancel
Save