Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Müller
a6716ee2c7 lv2-postinst-helper.bbclass: remove we moved to lv2-turtle-helper.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-12 00:18:06 +01:00
Andreas Müller
c04392ec85 lv2-turtle-helper: handle inifite qemu runs as error
distrho-ports ttl generation with qemu has alway been pain: For unknown reasons
some plugins caues qemu to run infinite. Up to now we could ignore particular
plugins by adding them to LV2_PLUGIN_BLACKLIST_QEMU} but since the affected
plugins change from time to time maintaining this turned into pain. So handle
infinit qemu runs as error. To achive we:

* add qemu-with-timeout-native which injects coreutils' 'timeout' into command
  line by creatin wrappers for all qemu-* available
* rework qemu-ext-musicians.bbclass (was renamed to avoid conflicts with
  meta-qt5-extra's qemu-ext)
* rework lv2-turtle-helper.bbclass and adjust logs

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-12 00:16:39 +01:00
Andreas Müller
6eb74aa8a8 lv2-turtle-helper.bbclass: replace 'plugins' by 'LV2-plugins'
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-09 00:23:59 +02:00
Andreas Müller
e46ce55528 lv2-turtle-helper.bbclass: Create console warnings for postponed plugins
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-08 22:12:49 +02:00
Andreas Müller
ff1c5ed297 lv2-turtle-helper.bbclass: add blacklist
For some plugins ttl-generation with qemu runs infinite. Avoid that by
blacklisting.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 21:52:37 +02:00
Andreas Müller
bb7e7490d6 Allover: we must us plugin-package variables
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 20:57:10 +02:00
Andreas Müller
04ca0edfaf lv2-turtle-helper.bbclass: rename LV2-TTL-GENERATOR -> LV2_TTL_GENERATOR
While at it: write the generator used to log file in case of error

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 08:03:48 +02:00
Andreas Müller
5faff09fd0 Introduce audio-plugin-common.bbclass for global audio-plugin settings
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 08:02:18 +02:00
Andreas Müller
82848fe66f lv2-turtle-helper: do not run do_ttl_sed on subsequenct configures
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 06:56:29 +02:00
Andreas Müller
740b2452c4 lv2-turtle-helper.bbclass: initial add
QEMU ttl-generation has been far from reliable for many reasons.
This class decides per lv2-plugin which way to go:
If qemu survives we are done - if not: try first boot.

Should have done done this much earlier because it is a major enhancement:

* It reduces 1st boot delay - only those plugins which failed at qemu are
  handled at 1st boot - not all in affected recipe.
* Up to now it was maintainer's business to decide which way to go. Have seen
  it more than once: Aargh QEMU creation failes -> move to 1st boot - or: Hey
  QEMU has seen enhancements - is 1st boot still necessary: Try to remember how
  to move (back) to qemu - aargh fails still...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-07 00:14:33 +02:00
Andreas Müller
45fe61f5e9 lv2-postinst-helper.bbclass: sort plugins and avoid double calls
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-06 18:07:50 +02:00
Andreas Müller
9e0e492ba4 lv2-postinst-helper.bbclass: Do not abort on failure but report error in postinstalllog
lv2-postinst-helper is last chance for plugins not working with qemu. So errors
are likely to happen. So it is better to have most plugins running and - more
important: avoid package-manager retry postinst every time some package is
installed.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-06 18:06:13 +02:00
Andreas Müller
0b1208795e qt5-translation.bbclass: remove True option in getVar calls
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-29 00:40:43 +01:00
Andreas Müller
3979a01af9 qt5-translation.bbclass: remove True option in getVar calls
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-28 17:41:50 +01:00
Andreas Müller
a35e5f9d75 Add qt5-translation.bbclass
As long as I am not brave enough to psuh this to meta-qt5 have a copy of
the version found in meta-qt5-extra here.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-18 00:07:10 +01:00
Andreas Müller
ff9499a1c7 Initial commit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-16 19:58:53 +01:00