Browse Source

Pass custom vars into lv2_validate, patch out missing files

tags/v1.0
falkTX 9 months ago
parent
commit
c9937f2c17
5 changed files with 76 additions and 5 deletions
  1. +1
    -1
      .travis.yml
  2. +6
    -3
      .travis/script.sh
  3. +2
    -1
      build-plugins.sh
  4. +13
    -0
      patches/lv2/02_lv2-validate-vars.patch
  5. +54
    -0
      patches/lv2/03_lv2-validate-without-example-plugins.patch

+ 1
- 1
.travis.yml View File

@@ -13,7 +13,7 @@ cache:

env:
global:
- BOOTSTRAP_VERSION=5
- BOOTSTRAP_VERSION=6

jobs:
include:


+ 6
- 3
.travis/script.sh View File

@@ -13,9 +13,9 @@ else
LAST_BOOTSTRAP_VERSION=0
fi

# PLUGINS_BASE="abgate artyfx caps fomp mda"
# PLUGINS_CROSS="blop dpf-plugins"
# PLUGINS_DISTRHO="distrho-ports-arctican distrho-ports-drowaudio distrho-ports-tal-plugins"
PLUGINS_BASE="abgate artyfx caps fomp mda"
PLUGINS_CROSS="blop dpf-plugins"
PLUGINS_DISTRHO="distrho-ports-arctican distrho-ports-drowaudio distrho-ports-tal-plugins"

# TODO
# die-plugins: hangs during fluidsynth runtime check
@@ -42,6 +42,9 @@ else
PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO}"
fi

# TODO build plugins after all libs are correct
PLUGINS=""

${TRAVIS_BUILD_DIR}/build-plugins.sh ${TARGET} ${PLUGINS}
${TRAVIS_BUILD_DIR}/.cleanup.sh ${TARGET}



+ 2
- 1
build-plugins.sh View File

@@ -40,7 +40,8 @@ function validate_lv2_bundle() {
mkdir /tmp/pawpaw-plugin-check
cp -r "${LV2DIR}/${lv2bundle}" /tmp/pawpaw-plugin-check/

env LANG=C LV2_PATH="${LV2DIR}" PATH="${PAWPAW_PREFIX}/bin:${PATH}" \
env LANG=C LV2_PATH="${LV2DIR}" PATH="${PAWPAW_PREFIX}/bin:${PATH}" WINEDEBUG=-all \
APP_EXT="${APP_EXT}" EXE_WRAPPER="${EXE_WRAPPER}" PAWPAW_PREFIX="${PAWPAW_PREFIX}" \
"${PAWPAW_PREFIX}/bin/lv2_validate" \
"${LV2DIR}/kx-*/*.ttl" \
"${LV2DIR}/mod.lv2/*.ttl" \


+ 13
- 0
patches/lv2/02_lv2-validate-vars.patch View File

@@ -0,0 +1,13 @@
diff --git a/util/lv2_validate.in b/util/lv2_validate.in
index d30cd85..08f662d 100755
--- a/util/lv2_validate.in
+++ b/util/lv2_validate.in
@@ -10,7 +10,7 @@ if [ "$#" -eq "0" ]; then
exit 1
fi
-sord_validate \
+exec ${EXE_WRAPPER} "${PAWPAW_PREFIX}/bin/sord_validate${APP_EXT}" \
"$LV2DIR/patch.lv2/manifest.ttl" \
"$LV2DIR/patch.lv2/patch.meta.ttl" \
"$LV2DIR/patch.lv2/patch.ttl" \

+ 54
- 0
patches/lv2/03_lv2-validate-without-example-plugins.patch View File

@@ -0,0 +1,54 @@
diff --git a/util/lv2_validate.in b/util/lv2_validate.in
index 08f662d..4f628ff 100755
--- a/util/lv2_validate.in
+++ b/util/lv2_validate.in
@@ -14,23 +14,15 @@ exec ${EXE_WRAPPER} "${PAWPAW_PREFIX}/bin/sord_validate${APP_EXT}" \
"$LV2DIR/patch.lv2/manifest.ttl" \
"$LV2DIR/patch.lv2/patch.meta.ttl" \
"$LV2DIR/patch.lv2/patch.ttl" \
- "$LV2DIR/eg-amp.lv2/manifest.ttl" \
- "$LV2DIR/eg-amp.lv2/amp.ttl" \
- "$LV2DIR/eg-fifths.lv2/manifest.ttl" \
- "$LV2DIR/eg-fifths.lv2/fifths.ttl" \
"$LV2DIR/port-props.lv2/manifest.ttl" \
"$LV2DIR/port-props.lv2/port-props.meta.ttl" \
"$LV2DIR/port-props.lv2/port-props.ttl" \
- "$LV2DIR/eg-midigate.lv2/manifest.ttl" \
- "$LV2DIR/eg-midigate.lv2/midigate.ttl" \
"$LV2DIR/worker.lv2/worker.meta.ttl" \
"$LV2DIR/worker.lv2/manifest.ttl" \
"$LV2DIR/worker.lv2/worker.ttl" \
"$LV2DIR/buf-size.lv2/manifest.ttl" \
"$LV2DIR/buf-size.lv2/buf-size.meta.ttl" \
"$LV2DIR/buf-size.lv2/buf-size.ttl" \
- "$LV2DIR/eg-scope.lv2/manifest.ttl" \
- "$LV2DIR/eg-scope.lv2/examploscope.ttl" \
"$LV2DIR/midi.lv2/midi.meta.ttl" \
"$LV2DIR/midi.lv2/manifest.ttl" \
"$LV2DIR/midi.lv2/midi.ttl" \
@@ -55,8 +47,6 @@ exec ${EXE_WRAPPER} "${PAWPAW_PREFIX}/bin/sord_validate${APP_EXT}" \
"$LV2DIR/port-groups.lv2/manifest.ttl" \
"$LV2DIR/port-groups.lv2/port-groups.ttl" \
"$LV2DIR/port-groups.lv2/port-groups.meta.ttl" \
- "$LV2DIR/eg-sampler.lv2/manifest.ttl" \
- "$LV2DIR/eg-sampler.lv2/sampler.ttl" \
"$LV2DIR/ui.lv2/manifest.ttl" \
"$LV2DIR/ui.lv2/ui.ttl" \
"$LV2DIR/ui.lv2/ui.meta.ttl" \
@@ -74,16 +64,11 @@ exec ${EXE_WRAPPER} "${PAWPAW_PREFIX}/bin/sord_validate${APP_EXT}" \
"$LV2DIR/log.lv2/log.meta.ttl" \
"$LV2DIR/core.lv2/manifest.ttl" \
"$LV2DIR/core.lv2/lv2core.ttl" \
- "$LV2DIR/core.lv2/lv2core.doap.ttl" \
"$LV2DIR/core.lv2/meta.ttl" \
"$LV2DIR/core.lv2/people.ttl" \
- "$LV2DIR/eg-metro.lv2/manifest.ttl" \
- "$LV2DIR/eg-metro.lv2/metro.ttl" \
"$LV2DIR/presets.lv2/manifest.ttl" \
"$LV2DIR/presets.lv2/presets.ttl" \
"$LV2DIR/presets.lv2/presets.meta.ttl" \
- "$LV2DIR/eg-params.lv2/manifest.ttl" \
- "$LV2DIR/eg-params.lv2/params.ttl" \
"$LV2DIR/urid.lv2/manifest.ttl" \
"$LV2DIR/urid.lv2/urid.ttl" \
"$LV2DIR/urid.lv2/urid.meta.ttl" \

Loading…
Cancel
Save