Compare commits
328 Commits
cargo-fetc
...
kirkstone
| Author | SHA1 | Date | |
|---|---|---|---|
| ce659b773d | |||
| c0267b61a9 | |||
|
|
7f0166a2a3 | ||
|
|
7a8fe88d85 | ||
|
|
628824e018 | ||
|
|
7fb43843bf | ||
|
|
2a88dfe99c | ||
|
|
c7ab6ffec3 | ||
|
|
aad5c9a3f0 | ||
|
|
2772a40a92 | ||
|
|
26a262e09d | ||
|
|
7d3d625a9e | ||
|
|
8eaf4697c8 | ||
|
|
d514c66041 | ||
|
|
8666f3c03d | ||
|
|
ee711d8e3c | ||
|
|
3872c22b69 | ||
|
|
362f2c89cb | ||
|
|
cfa64685e7 | ||
|
|
9a5af1df17 | ||
|
|
96df5a6be6 | ||
|
|
e36b7522f8 | ||
|
|
23afe277dc | ||
|
|
93211a064c | ||
|
|
f4be8ad84f | ||
|
|
0c7941d73d | ||
|
|
22174117f7 | ||
|
|
0c8185966c | ||
|
|
5b13570f9d | ||
|
|
c260bc4272 | ||
|
|
73615b2c47 | ||
|
|
9dd861fb0d | ||
|
|
a2c8dc8482 | ||
|
|
b8ea312efc | ||
|
|
1f8077b9b6 | ||
|
|
cb27e02c2e | ||
|
|
004d75949a | ||
|
|
cb3a44c65e | ||
|
|
030b5bc5b9 | ||
|
|
29349ce6a1 | ||
|
|
b898b9c3ff | ||
|
|
3d02c2e1d8 | ||
|
|
31f2690b50 | ||
|
|
605a742814 | ||
|
|
80f8eec7d2 | ||
|
|
53de752bd0 | ||
|
|
a4bed43530 | ||
|
|
cf683f3461 | ||
|
|
d4740acba8 | ||
|
|
64872736b1 | ||
|
|
b7050e38e0 | ||
|
|
d4024989c7 | ||
|
|
e850c38a08 | ||
|
|
8415369073 | ||
|
|
b764a906fa | ||
|
|
d5bfe617e5 | ||
|
|
30b433a915 | ||
|
|
2f29c02d8c | ||
|
|
a0de21a8b2 | ||
|
|
427d5f489d | ||
|
|
13e2cb6f94 | ||
|
|
621eb3c956 | ||
|
|
222dba42b3 | ||
|
|
ab1aa80b1a | ||
|
|
9152b80f6c | ||
|
|
486e61386d | ||
|
|
dc02783f89 | ||
|
|
602e806b3b | ||
|
|
68097201d9 | ||
|
|
6f00af890d | ||
|
|
8aa360ac3b | ||
|
|
b65aedac0f | ||
|
|
80b10f870f | ||
|
|
46da175d9a | ||
|
|
b148f645f5 | ||
|
|
a8d4b19405 | ||
|
|
be56ab46c7 | ||
|
|
ffdcd9fded | ||
|
|
97dbbb6b8b | ||
|
|
5574ff98fb | ||
|
|
1230b99f5a | ||
|
|
e55aae0802 | ||
|
|
f16786ba79 | ||
|
|
6d1fec252b | ||
|
|
5d75997a1f | ||
|
|
3276c905a7 | ||
|
|
7eb798aa70 | ||
|
|
f8875ad1ef | ||
|
|
55ee4b99fd | ||
|
|
581cb29a03 | ||
|
|
c6e23e72bf | ||
|
|
31290b949f | ||
|
|
ed404ea7fc | ||
|
|
423aa920c5 | ||
|
|
86ac3ee85e | ||
|
|
0dca487070 | ||
|
|
012b18bbdc | ||
|
|
c72172dc23 | ||
|
|
914b3664fe | ||
|
|
f3d0fea7b3 | ||
|
|
cc79728c4e | ||
|
|
53c05b8b93 | ||
|
|
bc6ed43c77 | ||
|
|
63928358de | ||
|
|
56fe643a15 | ||
|
|
7bdabec82f | ||
|
|
55d6a933d7 | ||
|
|
a19c81a69a | ||
|
|
232b913344 | ||
|
|
ae7714420d | ||
|
|
f84e10c087 | ||
|
|
ce41fa800a | ||
|
|
f593b9be00 | ||
|
|
7d97221d35 | ||
|
|
ca5bda6506 | ||
|
|
3ddd0d3d6b | ||
|
|
12454c2df4 | ||
|
|
605c38d2ee | ||
|
|
8f24a8b318 | ||
|
|
625736eb6d | ||
|
|
9015c3876c | ||
|
|
f52fc4d0b4 | ||
|
|
c9ad369243 | ||
|
|
bc0a2726a3 | ||
|
|
691f21cc31 | ||
|
|
b191d6d985 | ||
|
|
f9027d6a5a | ||
|
|
2d8c007f24 | ||
|
|
4a8466582a | ||
|
|
18b4d8e3fd | ||
|
|
203ede6487 | ||
|
|
4d7525c191 | ||
|
|
a0e43020a2 | ||
|
|
67379ae2b7 | ||
|
|
07c4220c69 | ||
|
|
5e79a83d46 | ||
|
|
6f933f24cf | ||
|
|
a959da6d75 | ||
|
|
9a6cd034e2 | ||
|
|
64c3517c03 | ||
|
|
4980ba42e2 | ||
|
|
7c4fcaf9aa | ||
|
|
a2b6ca9ae8 | ||
|
|
a9d77723ce | ||
|
|
3bbfb2eff1 | ||
|
|
9bf9e8fc21 | ||
|
|
b82c7d0dbc | ||
|
|
98a29e30dc | ||
|
|
5798910ba8 | ||
|
|
538d9ed37f | ||
|
|
42c2b7c0de | ||
|
|
0ad13d6d4b | ||
|
|
0dc1b09685 | ||
|
|
6f08f5bcf7 | ||
|
|
e884723dc1 | ||
|
|
b9079fbaf2 | ||
|
|
b391f32349 | ||
|
|
568f2788da | ||
|
|
b5cd8bb82b | ||
|
|
d16cc68fd6 | ||
|
|
04b7164e67 | ||
|
|
a7dc0cb493 | ||
|
|
54c211c2d8 | ||
|
|
7eb291be97 | ||
|
|
ab3dcb0807 | ||
|
|
070d572320 | ||
|
|
a5a2e8b791 | ||
|
|
cec1e31869 | ||
|
|
1f9c97b481 | ||
|
|
4f4255bfcc | ||
|
|
42a6ec9399 | ||
|
|
88a5ceec31 | ||
|
|
58ae286312 | ||
|
|
6faff0eb07 | ||
|
|
7c2fd8ad64 | ||
|
|
ad646b2a52 | ||
|
|
6f1c736866 | ||
|
|
1549cd7bb8 | ||
|
|
c3396a995e | ||
|
|
1a5db01782 | ||
|
|
e2dc480538 | ||
|
|
a8fbbf61f2 | ||
|
|
50d9bc29a7 | ||
|
|
535914424e | ||
|
|
18c015b7f5 | ||
|
|
5cc5be588f | ||
|
|
f42dfed24a | ||
|
|
14607c3250 | ||
|
|
067c945915 | ||
|
|
4a51c57089 | ||
|
|
9883cc20df | ||
|
|
08968bf6d5 | ||
|
|
43c7fe8918 | ||
|
|
b770597547 | ||
|
|
de08468733 | ||
|
|
180413e999 | ||
|
|
8522593d1a | ||
|
|
abffe6474e | ||
|
|
78093926b4 | ||
|
|
43b14eec0f | ||
|
|
dfec4c8e38 | ||
|
|
4924bf90b6 | ||
|
|
7d083fcbca | ||
|
|
0a52b24081 | ||
|
|
770acc9262 | ||
|
|
ea7afbb50e | ||
|
|
f070cebf03 | ||
|
|
03afb76dc6 | ||
|
|
3015aea92a | ||
|
|
e769073817 | ||
|
|
16003003ec | ||
|
|
0d238d6906 | ||
|
|
a8c991d122 | ||
|
|
658610a368 | ||
|
|
7d6a953fab | ||
|
|
322360f9cb | ||
|
|
9cf40729b3 | ||
|
|
9711328229 | ||
|
|
71bff3e205 | ||
|
|
a7023ac366 | ||
|
|
67c7653fc7 | ||
|
|
9f56d1d9f1 | ||
|
|
3af28c00a9 | ||
|
|
c769cb2301 | ||
|
|
3e96c5b2f4 | ||
|
|
bee25742d6 | ||
|
|
cb6afccb8c | ||
|
|
b0d1a827a4 | ||
|
|
68b3e5ef74 | ||
|
|
5da9c52ce1 | ||
|
|
84cacc5cf0 | ||
|
|
008b213396 | ||
|
|
05a3d25623 | ||
|
|
c3127833ae | ||
|
|
123cd843b1 | ||
|
|
b4b2e6b9cc | ||
|
|
a028808652 | ||
|
|
9db2f082b2 | ||
|
|
62ef42cccd | ||
|
|
01fc0f5b74 | ||
|
|
382af75a07 | ||
|
|
750a9937b6 | ||
|
|
9888d33dbf | ||
|
|
f652d67ce9 | ||
|
|
b706638b98 | ||
|
|
3b9986d51f | ||
|
|
8c720a27c3 | ||
|
|
47119c03f1 | ||
|
|
2ae75ab104 | ||
|
|
2c8a5afadd | ||
|
|
f84064df37 | ||
|
|
9f3e89aeb1 | ||
|
|
e3b1f63265 | ||
|
|
85b18c5c9d | ||
|
|
4990413ee4 | ||
|
|
c6554c2744 | ||
|
|
52b14d670a | ||
|
|
f9000e6c60 | ||
|
|
6bcc78a2d6 | ||
|
|
7986ae195d | ||
|
|
b3a2d70089 | ||
|
|
437a84230c | ||
|
|
d3ad7e6629 | ||
|
|
c3ff6aa3e1 | ||
|
|
2a3f8d0121 | ||
|
|
b4a1cbc776 | ||
|
|
bb7ed69fb5 | ||
|
|
4d4d05a859 | ||
|
|
1887e594f0 | ||
|
|
4fd1bc01df | ||
|
|
a29068f878 | ||
|
|
7c5b8f7c21 | ||
|
|
bb5e914fe2 | ||
|
|
d4f090689e | ||
|
|
1579bc7b7f | ||
|
|
4b0590cefe | ||
|
|
dcc74f936c | ||
|
|
5ba1243fb4 | ||
|
|
a268e9c52a | ||
|
|
31e785bba2 | ||
|
|
42bd4e27f2 | ||
|
|
02bfca0754 | ||
|
|
8d76345c93 | ||
|
|
71fdca79ae | ||
|
|
074f80abdf | ||
|
|
4a9e0fa298 | ||
|
|
b9f02c83b1 | ||
|
|
c703100b5d | ||
|
|
5ae4a993b7 | ||
|
|
26d2bb41a4 | ||
|
|
198698acb5 | ||
|
|
fa6c53b6a6 | ||
|
|
83a9976e4b | ||
|
|
b22496c18b | ||
|
|
888414c9a5 | ||
|
|
830e67634b | ||
|
|
556ba549e6 | ||
|
|
575c5f766f | ||
|
|
b4cd46ed46 | ||
|
|
b524d279f4 | ||
|
|
aa5fb8618d | ||
|
|
9e3e2bee65 | ||
|
|
e4d3338416 | ||
|
|
6ba16a3e6f | ||
|
|
68165108ca | ||
|
|
6543e3f948 | ||
|
|
6698963551 | ||
|
|
bf2e9e8b0a | ||
|
|
56528aa20b | ||
|
|
a776fe93f8 | ||
|
|
6b8b32a929 | ||
|
|
ddf9502ab4 | ||
|
|
d7528b0f18 | ||
|
|
ccd5627c49 | ||
|
|
f78e4f4b55 | ||
|
|
03f6145152 | ||
|
|
c3c46b548b | ||
|
|
9b11e2f6f2 | ||
|
|
337a7675bc | ||
|
|
1f0109da38 | ||
|
|
a27ec57413 | ||
|
|
5d0e200bd7 | ||
|
|
9c6488b142 | ||
|
|
8ec8d7d7de | ||
|
|
5eb5910992 | ||
|
|
e8fe954905 | ||
|
|
b1dd725bb8 | ||
|
|
9cfe01e31d |
@@ -17,8 +17,8 @@ Policies
|
||||
* **Please do not send private emails to maintainer - they will not be answered anymore**. For bug-reports/questions/suggestions.. use [issues](https://github.com/schnitzeltony/meta-musicians/issues).
|
||||
* Pull requests should follow [OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) with the following additions:
|
||||
* Use 4 spaces for indentation always (shell and python code)
|
||||
* For splitting of long list values use four-space indentation on sucessive lines and prefer the closing quote as the first character ([OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) - second example)
|
||||
* Pull-requests with patches fixing issues for musl, clang or gold-linker are accepeted only if patches have upstream-status "Applied" or "Backport" and contain a link to the upstream patch.
|
||||
* For splitting of long list values use four-space indentation on successive lines and prefer the closing quote as the first character ([OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) - second example)
|
||||
* Pull-requests with patches fixing issues for musl, clang or gold-linker are accepted only if patches have upstream-status "Applied" or "Backport" and contain a link to the upstream patch.
|
||||
* Be aware that **this layer changes other layer's defaults by bbappends**. Maintainer disagrees with common 'configure to death practice' and won't waste time explaining dozens of knobs that are mandatory to get working/useful builds. See
|
||||
[appends](appends).
|
||||
Pull requests removing appends for sake of magic 'compliant' scripts are not accepted.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
inherit binconfig
|
||||
|
||||
PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
|
||||
PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
|
||||
PACKAGECONFIG[opengl] = ",,libglu"
|
||||
|
||||
do_patch[postfuncs] += "do_patch_nocross"
|
||||
@@ -13,7 +13,7 @@ do_patch_nocross() {
|
||||
sed -i 's:@cross_compiling@:no:g' ${S}/wx-config.in
|
||||
}
|
||||
|
||||
do_compile_append() {
|
||||
do_compile:append() {
|
||||
if [ -L ${B}/wx-config ]; then
|
||||
echo "wxwidget recipe is not yet updated to wx-config adjustments so we do"
|
||||
# ${B}/wx-config is a symlink for build and not needed after compile
|
||||
|
||||
46
appends/meta-qt5/python3-pyqt5_%.bbappend
Normal file
46
appends/meta-qt5/python3-pyqt5_%.bbappend
Normal file
@@ -0,0 +1,46 @@
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
DEPENDS:class-native = "qtbase-native sip3-native python3-native"
|
||||
|
||||
PYQT_MODULES:class-native = "QtCore"
|
||||
|
||||
# This is a copy from meta-qt5 adjusted to native staging
|
||||
do_configure:prepend:class-native() {
|
||||
cd ${S}
|
||||
echo "py_platform = linux" > pyqt.cfg
|
||||
echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)${PYTHON_ABI}" >> pyqt.cfg
|
||||
echo "py_pylib_dir = %(sysroot)/${libdir}/python%(py_major).%(py_minor)" >> pyqt.cfg
|
||||
echo "py_pylib_lib = python$%(py_major).%(py_minor)" >> pyqt.cfg
|
||||
echo "pyqt_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> pyqt.cfg
|
||||
echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg
|
||||
echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg
|
||||
echo "pyuic_interpreter = ${D}/${bindir}/python%(py_major).%(py_minor)" >> pyqt.cfg
|
||||
echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg
|
||||
echo "qt_shared = True" >> pyqt.cfg
|
||||
QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION`
|
||||
echo "[Qt $QT_VERSION]" >> pyqt.cfg
|
||||
echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg
|
||||
echo yes | ${PYTHON} configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_NATIVE}
|
||||
|
||||
qmake5_base_do_configure
|
||||
|
||||
# avoid running code prepended by recipe
|
||||
return 0
|
||||
}
|
||||
|
||||
CFLAGS:append:class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
|
||||
CXXFLAGS:append:class-native = " -I${STAGING_INCDIR_NATIVE}/${PYTHON_DIR}"
|
||||
|
||||
do_install:class-native() {
|
||||
cd ${S}
|
||||
oe_runmake MAKEFLAGS='-j 1' install
|
||||
|
||||
# should be done for target either...
|
||||
for file in `find ${D}${bindir} -name 'py*5'`; do
|
||||
echo "Remove abs path in $file..."
|
||||
sed -i 's:exec.*${PYTHON_DIR}:exec ${PYTHON_PN}:g' "$file"
|
||||
done
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# * yeah I know yocto does not want us to change this
|
||||
# * we have to do this to avoid our qttools change break qt5-creator
|
||||
PACKAGECONFIG_append = " ${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PACKAGECONFIG_append = " gui imageformats"
|
||||
PACKAGECONFIG:append = " gui imageformats"
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# yeah I know yocto does not want us to change this
|
||||
PACKAGECONFIG_append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"
|
||||
PACKAGECONFIG:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
# 3. Generate ttl-files at first boot / after package was installed
|
||||
|
||||
|
||||
# File containing names of plugins to handle in do_compile_append
|
||||
# File containing names of plugins to handle in do_compile:append
|
||||
# Line-format expected: <some-path-in-build>/<plugin>.so
|
||||
LV2_PLUGIN_INFO_FILE = "${WORKDIR}/lv2-ttl-generator-data"
|
||||
LV2_PLUGIN_INFO_FILE_CLEANED = "${LV2_PLUGIN_INFO_FILE}-cleaned"
|
||||
|
||||
# File containing names of plugins to handle in do_compile_append
|
||||
# File containing names of plugins to handle in do_compile:append
|
||||
# Line-format expected: <path-ontarget>/<plugin>.so
|
||||
LV2_PLUGIN_POSTINST_INFO_FILE = "${LV2_PLUGIN_INFO_FILE}-postinst"
|
||||
|
||||
@@ -33,26 +33,26 @@ inherit qemu-ext-musicians audio-plugin-common
|
||||
|
||||
# override this function and execute sed (or other magic) to adjust Makefiles
|
||||
# so that lv2-ttl-generator is not executed but plugin information. Same here:
|
||||
# Set default matich many dpf-based plugins
|
||||
# Set default match many dpf-based plugins
|
||||
do_ttl_sed() {
|
||||
sed -i 's|"$GEN" "./$FILE"|echo "`realpath "./$FILE"`" >> ${LV2_PLUGIN_INFO_FILE}|g' ${S}/dpf/utils/generate-ttl.sh
|
||||
}
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# 1st configure?
|
||||
if [ ! -f ${LV2_PLUGIN_INFO_FILE} ]; then
|
||||
do_ttl_sed
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile_prepend() {
|
||||
do_compile:prepend() {
|
||||
# remove plugin-info from previous build
|
||||
rm -f ${LV2_PLUGIN_INFO_FILE}
|
||||
rm -f ${LV2_PLUGIN_POSTINST_INFO_FILE}
|
||||
}
|
||||
|
||||
do_compile[vardeps] += "LV2_TTL_GENERATOR"
|
||||
do_compile_append() {
|
||||
do_compile:append() {
|
||||
rm -f ${LV2_PLUGIN_INFO_FILE_CLEANED}
|
||||
if [ -e ${LV2_PLUGIN_INFO_FILE} ]; then
|
||||
echo
|
||||
@@ -106,7 +106,7 @@ python do_ttl_qa() {
|
||||
bb.warn("%i of %i LV2-plugins in %s are postponed to post-install! Check %s and log.do_compile for details" % (num_plugins_postinst, num_plugins, name, lv2_plugin_postinst_info_file))
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
# create postinst manifest
|
||||
if [ -e ${LV2_PLUGIN_POSTINST_INFO_FILE} ]; then
|
||||
install -d ${D}`dirname ${LV2_POSTINST_MANIFEST}`
|
||||
@@ -117,7 +117,7 @@ do_install_append() {
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst_ontarget_${PN_LV2}() {
|
||||
pkg_postinst_ontarget:${PN_LV2}() {
|
||||
if [ -e ${LV2_POSTINST_MANIFEST} ]; then
|
||||
oldpath=`pwd`
|
||||
for sofile in `cat ${LV2_POSTINST_MANIFEST}`; do
|
||||
@@ -133,7 +133,7 @@ pkg_postinst_ontarget_${PN_LV2}() {
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm_${PN_LV2}() {
|
||||
pkg_prerm:${PN_LV2}() {
|
||||
if [ -e ${LV2_POSTINST_MANIFEST} ]; then
|
||||
for sofile in `cat ${LV2_POSTINST_MANIFEST}`; do
|
||||
path=`dirname "$sofile"`
|
||||
@@ -144,5 +144,5 @@ pkg_prerm_${PN_LV2}() {
|
||||
fi
|
||||
}
|
||||
|
||||
FILES_${PN_LV2} += "${LV2_POSTINST_MANIFEST}"
|
||||
RDEPENDS_${PN_LV2} += "lv2-ttl-generator"
|
||||
FILES:${PN_LV2} += "${LV2_POSTINST_MANIFEST}"
|
||||
RDEPENDS:${PN_LV2} += "lv2-ttl-generator"
|
||||
|
||||
@@ -4,8 +4,8 @@ inherit audio-plugin-common
|
||||
|
||||
PACKAGES =+ "${PN_DSSI} ${PN_LADSPA} ${PN_LV2} ${PN_VST} ${PN_VST3}"
|
||||
|
||||
FILES_${PN_DSSI} += "${libdir}/dssi"
|
||||
FILES_${PN_LADSPA} += "${libdir}/ladspa"
|
||||
FILES_${PN_LV2} += "${libdir}/lv2"
|
||||
FILES_${PN_VST} += "${libdir}/vst"
|
||||
FILES_${PN_VST3} += "${libdir}/vst3"
|
||||
FILES:${PN_DSSI} += "${libdir}/dssi"
|
||||
FILES:${PN_LADSPA} += "${libdir}/ladspa"
|
||||
FILES:${PN_LV2} += "${libdir}/lv2"
|
||||
FILES:${PN_VST} += "${libdir}/vst"
|
||||
FILES:${PN_VST3} += "${libdir}/vst3"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
inherit qemu
|
||||
|
||||
DEPENDS_append = " qemu-native coreutils-native"
|
||||
DEPENDS:append = " qemu-native coreutils-native"
|
||||
|
||||
# This is an extended/modified qemu.bbclass tailored four our needs:
|
||||
#
|
||||
@@ -16,7 +16,7 @@ DEPENDS_append = " qemu-native coreutils-native"
|
||||
# meta-microcontroller/vtk that spawning many qemu instances in short time
|
||||
# can lead to zombie processes)
|
||||
|
||||
QEMU_TIMEOUT ?= "600"
|
||||
QEMU_TIMEOUT ?= "180"
|
||||
|
||||
def qemu_run_binary_local(data, rootfs_path, binary):
|
||||
libdir = rootfs_path + data.getVar("libdir")
|
||||
|
||||
@@ -5,7 +5,7 @@ DEPENDS += "qttools-native"
|
||||
# default location
|
||||
QT_TRANSLATION_FILES ??= "${datadir}/*/translations/*.qm ${datadir}/*/translations/*/*.qm ${datadir}/*/translations/*/*/*.qm"
|
||||
|
||||
FILES_${PN}-locale = "${datadir}/*/translations"
|
||||
FILES:${PN}-locale = "${datadir}/*/translations"
|
||||
|
||||
python qt_do_split_locales() {
|
||||
import glob
|
||||
@@ -53,16 +53,16 @@ python qt_do_split_locales() {
|
||||
files = ''
|
||||
for transvar in d.getVar('QT_TRANSLATION_FILES').split():
|
||||
files = '%s %s' % (files, transvar.replace('*.qm', '*_%s.qm' % l))
|
||||
d.setVar('FILES_' + pkg, files )
|
||||
d.setVar('RRECOMMENDS_' + pkg, '%svirtual-locale-%s' % (mlprefix, ln))
|
||||
d.setVar('RPROVIDES_' + pkg, '%s-locale %s%s-translation' % (pn, mlprefix, ln))
|
||||
d.setVar('SUMMARY_' + pkg, '%s - %s translations' % (summary, l))
|
||||
d.setVar('DESCRIPTION_' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l))
|
||||
d.setVar('FILES:' + pkg, files )
|
||||
d.setVar('RRECOMMENDS:' + pkg, '%svirtual-locale-%s' % (mlprefix, ln))
|
||||
d.setVar('RPROVIDES:' + pkg, '%s-locale %s%s-translation' % (pn, mlprefix, ln))
|
||||
d.setVar('SUMMARY:' + pkg, '%s - %s translations' % (summary, l))
|
||||
d.setVar('DESCRIPTION:' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l))
|
||||
if locale_section:
|
||||
d.setVar('SECTION_' + pkg, locale_section)
|
||||
d.setVar('SECTION:' + pkg, locale_section)
|
||||
|
||||
d.setVar('PACKAGES', ' '.join(list(packages)))
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS_prepend = "qt_do_split_locales "
|
||||
PACKAGESPLITFUNCS:prepend = "qt_do_split_locales "
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# avoids build breaks when using no-static-libs.inc
|
||||
DISABLE_STATIC = ""
|
||||
|
||||
EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}"
|
||||
EXTRA_OECONF:append = " ${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
python waf_preconfigure() {
|
||||
import subprocess
|
||||
|
||||
@@ -6,18 +6,21 @@ BBFILES += "${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/
|
||||
# appends
|
||||
BBFILES += "${LAYERDIR}/appends/*/*.bbappend"
|
||||
|
||||
|
||||
BBFILE_COLLECTIONS += "meta-musicians"
|
||||
BBFILE_PATTERN_meta-musicians := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-musicians = "20"
|
||||
|
||||
# ffmpeg4-layer: https://github.com/schnitzeltony/meta-ffmpeg4
|
||||
LAYERDEPENDS_meta-musicians = " \
|
||||
core \
|
||||
openembedded-layer \
|
||||
multimedia-layer \
|
||||
ffmpeg4-layer \
|
||||
networking-layer \
|
||||
xfce-layer \
|
||||
gnome-layer \
|
||||
meta-python \
|
||||
qt5-layer \
|
||||
"
|
||||
LAYERSERIES_COMPAT_meta-musicians = "dunfell gatesgarth"
|
||||
LAYERSERIES_COMPAT_meta-musicians = "kirkstone langdale"
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From f583921012ed1f4e853f41d4fd3d95d1a819ac03 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 4 Aug 2018 02:48:14 +0200
|
||||
Subject: [PATCH] Make sure to find python3 sip code generator
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
configure.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.py b/configure.py
|
||||
index a263efb..daefc0e 100644
|
||||
--- a/configure.py
|
||||
+++ b/configure.py
|
||||
@@ -522,7 +522,7 @@ class TargetConfiguration:
|
||||
self.qtconf_prefix = ''
|
||||
self.qt_shared = False
|
||||
self.qt_version = 0
|
||||
- self.sip = self._find_exe('sip5', 'sip')
|
||||
+ self.sip = self._find_exe('sip3')
|
||||
self.sip_h_version = None
|
||||
self.sip_inc_dir = self.py_venv_inc_dir
|
||||
self.static = False
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
SUMMARY = "Python Qt5 Bindings"
|
||||
AUTHOR = "Phil Thomson @ riverbank.co.uk"
|
||||
HOMEPAGE = "http://riverbankcomputing.co.uk"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "\
|
||||
https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-${PV}/PyQt5_gpl-${PV}.tar.gz \
|
||||
file://0001-Make-sure-to-find-python3-sip-code-generator.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "33d6d2ab8183da17ac18b8132a4b278e"
|
||||
SRC_URI[sha256sum] = "c190dac598c97b0113ca5e7a37c71c623f02d1d713088addfacac4acfa4b8394"
|
||||
|
||||
PE = "1"
|
||||
|
||||
inherit qmake5 python3native
|
||||
|
||||
DEPENDS += "sip3-native sip3 qtbase python3"
|
||||
DEPENDS_append_class-target = "qtsvg"
|
||||
|
||||
S = "${WORKDIR}/PyQt5_gpl-${PV}"
|
||||
B = "${S}"
|
||||
|
||||
DISABLED_FEATURES = "PyQt_Desktop_OpenGL"
|
||||
|
||||
DISABLED_FEATURES_append_arm = " PyQt_qreal_double"
|
||||
|
||||
PYQT_MODULES = "QtCore QtGui QtNetwork QtWidgets QtSvg"
|
||||
PYQT_MODULES_class-native = "QtCore"
|
||||
PYQT_MODULES_aarch64 = "QtCore QtGui QtNetwork QtWidgets QtSvg"
|
||||
|
||||
# full paths
|
||||
SYSROOTDIR = "${STAGING_DIR_HOST}"
|
||||
SYSROOTDIR_class-native = "${STAGING_DIR_NATIVE}"
|
||||
INCLUDEDIR = "${STAGING_INCDIR}"
|
||||
INCLUDEDIR_class-native = "${STAGING_INCDIR_NATIVE}"
|
||||
LIBDIR = "${STAGING_LIBDIR}"
|
||||
LIBDIR_class-native = "${STAGING_LIBDIR_NATIVE}"
|
||||
PYTHONEXEC="${bindir}/${PYTHON_PN}"
|
||||
PYTHONEXEC_class-native="${PYTHON}"
|
||||
|
||||
do_configure() {
|
||||
echo "py_platform = linux" > pyqt.cfg
|
||||
echo "py_inc_dir = ${INCLUDEDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
|
||||
echo "py_pylib_dir = ${LIBDIR}/python${PYTHON_BASEVERSION}" >> pyqt.cfg
|
||||
echo "py_pylib_lib = python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
|
||||
echo "pyqt_module_dir = ${D}/${PYTHON_SITEPACKAGES_DIR}" >> pyqt.cfg
|
||||
echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg
|
||||
echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg
|
||||
echo "pyuic_interpreter = ${PYTHONEXEC}" >> pyqt.cfg
|
||||
echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg
|
||||
echo "qt_shared = True" >> pyqt.cfg
|
||||
QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION`
|
||||
echo "[Qt $QT_VERSION]" >> pyqt.cfg
|
||||
echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg
|
||||
echo yes | python3 configure.py --verbose --qmake ${OE_QMAKE_QMAKE} --configuration pyqt.cfg --sysroot ${SYSROOTDIR}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
do_install_class-native() {
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}_append_class-target = " python3-core python3-sip"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages \
|
||||
${datadir}/sip/PyQt5 \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND += "native nativesdk"
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
SUMMARY = "SIP is a C++/Python Wrapper Generator"
|
||||
HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
|
||||
SECTION = "devel"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
|
||||
|
||||
inherit python3-dir
|
||||
|
||||
DEPENDS = "python3"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "0625fb20347d4ff1b5da551539be0727"
|
||||
SRC_URI[sha256sum] = "7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc"
|
||||
BPN = "sip"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
PACKAGES += "python3-sip"
|
||||
|
||||
do_configure_prepend_class-target() {
|
||||
echo "py_platform = linux" > sip.cfg
|
||||
echo "py_inc_dir = %(sysroot)/${includedir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> sip.cfg
|
||||
echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
|
||||
echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
|
||||
echo "sip_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages" >> sip.cfg
|
||||
echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
|
||||
python3 configure.py --configuration sip.cfg --sysroot ${STAGING_DIR_HOST} CC="${CC}" CXX="${CXX}" LINK="${CXX}" STRIP="" LINK_SHLIB="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
do_configure_prepend_class-native() {
|
||||
echo "py_platform = linux" > sip.cfg
|
||||
echo "py_inc_dir = ${includedir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> sip.cfg
|
||||
echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
|
||||
echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
|
||||
echo "sip_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages" >> sip.cfg
|
||||
echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
|
||||
python3 configure.py --configuration sip.cfg --sysroot ${STAGING_DIR_NATIVE}
|
||||
}
|
||||
do_install() {
|
||||
oe_runmake install
|
||||
# avoid conflicts with sip for python2
|
||||
mv ${D}/${bindir}/sip ${D}/${bindir}/sip3
|
||||
}
|
||||
|
||||
FILES_python3-sip = "${libdir}/${PYTHON_DIR}/site-packages/"
|
||||
@@ -1,20 +0,0 @@
|
||||
SUMMARY = "A simple build configuration and project generation tool using lua"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fdafc691aa5fb7f8e2a9e9521fef771b"
|
||||
HOMEPAGE = "http://premake.github.io/"
|
||||
|
||||
DEPENDS = "lua-native"
|
||||
|
||||
SRC_URI = "http://downloads.sourceforge.net/project/premake/Premake/${PV}/premake-src-${PV}.zip"
|
||||
SRC_URI[md5sum] = "8d30dc5bbc52aad81abb1509c1dd7d8f"
|
||||
SRC_URI[sha256sum] = "b59841a519e75d5b6566848a2c5be2f91455bf0cc6ae4d688fcbd4c40db934d5"
|
||||
S = "${WORKDIR}/Premake-${PV}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${S}/bin/premake ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From 8ca73d78d0e7ce388654b2033cfbb78e3ed5d1f1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sun, 25 Jun 2017 18:54:01 +0200
|
||||
Subject: [PATCH] Premake4.make: keep more of our build defaults
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
build/gmake.unix/Premake4.make | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/build/gmake.unix/Premake4.make b/build/gmake.unix/Premake4.make
|
||||
index bbc159b..80fc136 100644
|
||||
--- a/build/gmake.unix/Premake4.make
|
||||
+++ b/build/gmake.unix/Premake4.make
|
||||
@@ -26,9 +26,9 @@ ifeq ($(config),release)
|
||||
DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
||||
INCLUDES += -I../../src/host/lua-5.1.4/src
|
||||
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
- CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os
|
||||
+ CFLAGS += $(CPPFLAGS) $(ARCH) -Wall
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
- LDFLAGS += -s -rdynamic
|
||||
+ LDFLAGS +=
|
||||
LIBS += -lm -ldl
|
||||
RESFLAGS += $(DEFINES) $(INCLUDES)
|
||||
LDDEPS +=
|
||||
--
|
||||
2.9.4
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
SUMMARY = "A simple build configuration and project generation tool using lua"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6f3a39cc652afb51d2f2bc39b67e308f"
|
||||
HOMEPAGE = "http://premake.github.io/"
|
||||
|
||||
SRC_URI = " \
|
||||
http://downloads.sourceforge.net/project/premake/Premake/${PV}/premake-${PV}-src.zip \
|
||||
file://0001-Premake4.make-keep-more-of-our-build-defaults.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "8cfafee76f9665c93b2e9ad15b015eb7"
|
||||
SRC_URI[sha256sum] = "36536490f8928d8ecde135da80cd8b751ea5bebe50cabba5c0de49cd41cb2780"
|
||||
S = "${WORKDIR}/premake-${PV}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_compile_prepend() {
|
||||
cd ${S}/build/gmake.unix
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${S}/bin/release/premake4 ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
SUMMARY = "A simple build configuration and project generation tool using lua"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4d2a821a590b53e6ca55241102be4dbe"
|
||||
HOMEPAGE = "http://premake.github.io/"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-src.zip \
|
||||
"
|
||||
SRC_URI[md5sum] = "f26699599c53865f7b154e9ed22a0ba4"
|
||||
SRC_URI[sha256sum] = "7c9fa4488156625c819dd03f2b48bfd4712fbfabdc2b5768e8c7f52dd7d16608"
|
||||
S = "${WORKDIR}/premake-${PV}-alpha14"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_compile_prepend() {
|
||||
cd ${S}/build/gmake.unix
|
||||
export config=debug
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${S}/bin/debug/premake5 ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
SUMMARY = "NTK is a fork of FLTK"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPLv2 & FLTK"
|
||||
LICENSE = "LGPL-2.0-only & FLTK"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/original-male/${BPN}.git \
|
||||
git://github.com/falkTX/ntk.git;branch=master;protocol=https \
|
||||
file://0001-wscript-check-compile-instead-of-tun-check-datatype-.patch \
|
||||
file://0002-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "dae177189b12f74ea01ac2389b76326c06d9be78"
|
||||
SRCREV = "720d8d33200ebd030df700c6c7a5a9cdf4581c03"
|
||||
S = "${WORKDIR}/git"
|
||||
PV_LAST_RELEASE = "1.3.1000"
|
||||
PV = "${PV_LAST_RELEASE}+git${SRCPV}"
|
||||
PV = "1.3.1001"
|
||||
|
||||
inherit waf pkgconfig
|
||||
|
||||
@@ -27,14 +26,14 @@ WAF_EXTRA_CONF = " \
|
||||
--libdir=${libdir} \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
rm ${D}${libdir}/libntk.a
|
||||
rm ${D}${libdir}/libntk.a.1
|
||||
mv ${D}${libdir}/libntk.a.${PV_LAST_RELEASE} ${D}${libdir}/libntk.a
|
||||
mv ${D}${libdir}/libntk.a.${PV} ${D}${libdir}/libntk.a
|
||||
|
||||
rm ${D}${libdir}/libntk_images.a
|
||||
rm ${D}${libdir}/libntk_images.a.1
|
||||
mv ${D}${libdir}/libntk_images.a.${PV_LAST_RELEASE} ${D}${libdir}/libntk_images.a
|
||||
mv ${D}${libdir}/libntk_images.a.${PV} ${D}${libdir}/libntk_images.a
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require gst-plugins.inc
|
||||
|
||||
LICENSE = "GPLv2+ & LGPLv2+"
|
||||
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
||||
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
|
||||
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
||||
@@ -32,14 +32,21 @@ PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango"
|
||||
PACKAGECONFIG[x11] = "--enable-x --enable-xvideo,--disable-x --disable-xvideo,virtual/libx11 libxv libsm libice"
|
||||
PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia"
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# This m4 file contains nastiness which conflicts with libtool 2.2.2
|
||||
rm -f ${S}/m4/lib-link.m4
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/${BPN}"
|
||||
do_configure:append() {
|
||||
# remove stay \ introduced by make 4.3
|
||||
if make -v | grep '4\.3'; then
|
||||
sed -i 's:\\#include:#include:g' `find -name Makefile`
|
||||
fi
|
||||
}
|
||||
|
||||
CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
|
||||
FILES:${PN} += "${datadir}/${BPN}"
|
||||
|
||||
CACHED_CONFIGUREVARS:append:x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
|
||||
|
||||
# /usr/bin/gst-visualise-0.10 is a perl script.
|
||||
RDEPENDS_${PN}-apps += "perl"
|
||||
RDEPENDS:${PN}-apps += "perl"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages "
|
||||
PACKAGESPLITFUNCS_append = " set_metapkg_rdepends "
|
||||
PACKAGESPLITFUNCS:prepend = " split_gstreamer10_packages "
|
||||
PACKAGESPLITFUNCS:append = " set_metapkg_rdepends "
|
||||
|
||||
python split_gstreamer10_packages () {
|
||||
gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}')
|
||||
@@ -19,8 +19,8 @@ python set_metapkg_rdepends () {
|
||||
|
||||
pn = d.getVar('PN')
|
||||
metapkg = pn + '-meta'
|
||||
d.setVar('ALLOW_EMPTY_' + metapkg, "1")
|
||||
d.setVar('FILES_' + metapkg, "")
|
||||
d.setVar('ALLOW_EMPTY:' + metapkg, "1")
|
||||
d.setVar('FILES:' + metapkg, "")
|
||||
blacklist = [ pn, pn + '-meta' ]
|
||||
metapkg_rdepends = []
|
||||
pkgdest = d.getVar('PKGDEST')
|
||||
@@ -37,20 +37,20 @@ python set_metapkg_rdepends () {
|
||||
is_empty = len(dir_contents) == 0
|
||||
if not is_empty:
|
||||
metapkg_rdepends.append(pkg)
|
||||
d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
|
||||
d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
|
||||
d.setVar('RDEPENDS:' + metapkg, ' '.join(metapkg_rdepends))
|
||||
d.setVar('DESCRIPTION:' + metapkg, pn + ' meta package')
|
||||
}
|
||||
|
||||
# each plugin-dev depends on PN-dev, plugin-staticdev on PN-staticdev
|
||||
# so we need them even when empty (like in gst-plugins-good case)
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
ALLOW_EMPTY_${PN}-dev = "1"
|
||||
ALLOW_EMPTY_${PN}-staticdev = "1"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
ALLOW_EMPTY:${PN}-dev = "1"
|
||||
ALLOW_EMPTY:${PN}-staticdev = "1"
|
||||
|
||||
PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
|
||||
|
||||
FILES_${PN} = ""
|
||||
FILES_${PN}-apps = "${bindir}"
|
||||
FILES_${PN}-glib = "${datadir}/glib-2.0"
|
||||
FILES:${PN} = ""
|
||||
FILES:${PN}-apps = "${bindir}"
|
||||
FILES:${PN}-glib = "${datadir}/glib-2.0"
|
||||
|
||||
RRECOMMENDS_${PN} += "${PN}-meta"
|
||||
RRECOMMENDS:${PN} += "${PN}-meta"
|
||||
|
||||
@@ -21,7 +21,7 @@ PACKAGES_DYNAMIC += "^${PN}-.*"
|
||||
# apply gstreamer hack after Makefile.in.in in source is replaced by our version from
|
||||
# ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in, but before configure is executed
|
||||
# http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
|
||||
oe_runconf_prepend() {
|
||||
oe_runconf:prepend() {
|
||||
if [ -e ${S}/po/Makefile.in.in ]; then
|
||||
sed -i -e "1a\\" -e 'GETTEXT_PACKAGE = @GETTEXT_PACKAGE@' ${S}/po/Makefile.in.in
|
||||
fi
|
||||
|
||||
@@ -53,7 +53,7 @@ gst_registry_binary_fill_feature(GList **list, GstPluginFeature *orig, GstBinary
|
||||
chk->data = dest;
|
||||
chk->size = sizeof (GstBinaryPluginFeature);
|
||||
|
||||
*list = g_list_append(*list, chk);
|
||||
*list = g_list:append(*list, chk);
|
||||
|
||||
dest->rank = orig->rank;
|
||||
if (!strncpy(dest->typename, name, GST_BINARY_REGISTRY_TYPENAME_TYPENAME_LEN) ||
|
||||
@@ -149,7 +149,7 @@ gst_registry_binary_save_plugin(GList **list, GstRegistry *registry, GstPlugin *
|
||||
|
||||
chk->data = e;
|
||||
chk->size = sizeof (GstBinaryPluginElement);
|
||||
*list = g_list_append(*list, chk);
|
||||
*list = g_list:append(*list, chk);
|
||||
|
||||
if (!strncpy(e->name, plugin->desc.name, GST_BINARY_REGISTRY_NAME_LEN) ||
|
||||
!strncpy(e->description, plugin->desc.description, GST_BINARY_REGISTRY_DESCRIPTION_LEN) ||
|
||||
@@ -235,7 +235,7 @@ gst_registry_binary_write_cache(GstRegistry *registry, const char *location)
|
||||
|
||||
magic_chunck->data = magic;
|
||||
magic_chunck->size = sizeof (GstBinaryRegistryMagic);
|
||||
to_write = g_list_append(to_write, magic_chunck);
|
||||
to_write = g_list:append(to_write, magic_chunck);
|
||||
|
||||
/* Iterate trough the list of plugins in the GstRegistry and adapt them to our structures */
|
||||
for (walk = g_list_last(registry->plugins); walk; walk = g_list_previous(walk))
|
||||
@@ -410,7 +410,7 @@ gst_registry_binary_get_binary_plugin(GstRegistry *registry, gchar *in)
|
||||
return -1;
|
||||
}
|
||||
gstfeat->plugin_name = g_strdup(plugin->desc.name);
|
||||
plugin_features = g_list_prepend(plugin_features, gstfeat);
|
||||
plugin_features = g_list:prepend(plugin_features, gstfeat);
|
||||
}
|
||||
|
||||
GST_DEBUG("Added plugin \"%s\" to global registry from binary registry", plugin->desc.name);
|
||||
|
||||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://gstreamer.freedesktop.org/"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
|
||||
SECTION = "multimedia"
|
||||
|
||||
LICENSE = "LGPLv2+"
|
||||
LICENSE = "LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
||||
file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4 \
|
||||
@@ -42,8 +42,8 @@ CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
|
||||
# apply gstreamer hack after Makefile.in.in in source is replaced by our version from
|
||||
# ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in, but before configure is executed
|
||||
# http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
|
||||
oe_runconf_prepend() {
|
||||
oe_runconf:prepend() {
|
||||
sed -i -e "1a\\" -e 'GETTEXT_PACKAGE = @GETTEXT_PACKAGE@' ${S}/po/Makefile.in.in
|
||||
}
|
||||
|
||||
FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so"
|
||||
FILES:${PN} += " ${libdir}/gstreamer-0.10/*.so"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Software synth with a classic subtractive synthesizer topology"
|
||||
HOMEPAGE = "http://amsynth.github.io/"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=67b604758dd265c185ce36fcf76a889d"
|
||||
|
||||
inherit autotools pkgconfig gtk-icon-cache gettext pack_audio_plugins
|
||||
@@ -10,9 +10,9 @@ DEPENDS += " \
|
||||
intltool-native \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/amsynth/amsynth.git;branch=develop"
|
||||
SRCREV = "4d980f3421f61cc8ea53e92eba5e43e823af7c02"
|
||||
PV = "1.12.2"
|
||||
SRC_URI = "git://github.com/amsynth/amsynth.git;branch=develop;protocol=https"
|
||||
SRCREV = "39bd448fd499e0e802aa6a20273d64655bda356a"
|
||||
PV = "1.12.4"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG ??= "alsa jack lv2 nsm"
|
||||
@@ -25,26 +25,26 @@ PACKAGECONFIG[lv2] = "--with-lv2,--without-lv2,lv2"
|
||||
PACKAGECONFIG[nsm] = "--with-nsm,--without-nsm,liblo,new-session-manager"
|
||||
|
||||
PACKAGES =+ "${PN}-standalone"
|
||||
FILES_${PN}-standalone += " \
|
||||
FILES:${PN}-standalone += " \
|
||||
${datadir}/appdata/amsynth.appdata.xml \
|
||||
${datadir}/applications \
|
||||
${datadir}/icons \
|
||||
${bindir} \
|
||||
"
|
||||
|
||||
FILES_${PN_DSSI} += " \
|
||||
FILES:${PN_DSSI} += " \
|
||||
${datadir}/appdata/dssi-amsynth-plugin.metainfo.xml \
|
||||
"
|
||||
|
||||
FILES_${PN_LV2} += " \
|
||||
FILES:${PN_LV2} += " \
|
||||
${datadir}/appdata/lv2-amsynth-plugin.metainfo.xml \
|
||||
"
|
||||
|
||||
FILES_${PN_VST} += " \
|
||||
FILES:${PN_VST} += " \
|
||||
${datadir}/appdata/vst-amsynth-plugin.metainfo.xml \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-standalone += "${PN}"
|
||||
RDEPENDS_${PN_DSSI} += "${PN}"
|
||||
RDEPENDS_${PN_LV2} += "${PN}"
|
||||
RDEPENDS_${PN_VST} += "${PN}"
|
||||
RDEPENDS:${PN}-standalone += "${PN}"
|
||||
RDEPENDS:${PN_DSSI} += "${PN}"
|
||||
RDEPENDS:${PN_LV2} += "${PN}"
|
||||
RDEPENDS:${PN_VST} += "${PN}"
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
From 24b6038dc7c235780038d3fce2d9c83fada6ac8b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Mon, 6 Feb 2017 23:33:45 +0100
|
||||
Subject: [PATCH] remove all build flags that cause trouble for cross
|
||||
configure/build
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [cross specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
|
||||
---
|
||||
tools/autowaf.py | 1 +
|
||||
wscript | 26 --------------------------
|
||||
2 files changed, 1 insertion(+), 26 deletions(-)
|
||||
|
||||
diff --git a/tools/autowaf.py b/tools/autowaf.py
|
||||
index 375dc5909..bb7714335 100644
|
||||
--- a/tools/autowaf.py
|
||||
+++ b/tools/autowaf.py
|
||||
@@ -93,6 +93,7 @@ def copyfile (task):
|
||||
|
||||
def check_header(conf, lang, name, define='', mandatory=True):
|
||||
"Check for a header"
|
||||
+ return True
|
||||
includes = '' # search default system include paths
|
||||
if sys.platform == "darwin":
|
||||
includes = '/opt/local/include'
|
||||
diff --git a/wscript b/wscript
|
||||
index 9fd84bb2c..d4178cb36 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -476,31 +476,6 @@ int main() { return 0; }''',
|
||||
|
||||
compiler_flags.append ("-DARCH_X86")
|
||||
|
||||
- if platform == 'linux' :
|
||||
-
|
||||
- #
|
||||
- # determine processor flags via /proc/cpuinfo
|
||||
- #
|
||||
-
|
||||
- if conf.env['build_target'] != 'i386':
|
||||
-
|
||||
- flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1]
|
||||
- x86_flags = flag_line.split (": ")[1:][0].split ()
|
||||
-
|
||||
- if "mmx" in x86_flags:
|
||||
- compiler_flags.append ("-mmmx")
|
||||
- if "sse" in x86_flags:
|
||||
- build_host_supports_sse = True
|
||||
- if "3dnow" in x86_flags:
|
||||
- compiler_flags.append ("-m3dnow")
|
||||
-
|
||||
- if cpu == "i586":
|
||||
- compiler_flags.append ("-march=i586")
|
||||
- elif cpu == "i686":
|
||||
- compiler_flags.append ("-march=i686")
|
||||
-
|
||||
- if not is_clang and ((conf.env['build_target'] == 'i686') or (conf.env['build_target'] == 'x86_64')) and build_host_supports_sse:
|
||||
- compiler_flags.extend ([ flags_dict['sse'], flags_dict['fpmath-sse'], flags_dict['xmmintrinsics'] ])
|
||||
|
||||
if (conf.env['build_target'] == 'mingw'):
|
||||
if (re.search ("(x86_64|AMD64)", cpu) != None):
|
||||
@@ -1034,7 +1009,6 @@ def configure(conf):
|
||||
fragment = "#include <dlfcn.h>\n int main(void) { dlopen (\"\", 0); return 0;}\n",
|
||||
linkflags='-ldl', uselib_store='DL', execute = False)
|
||||
conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
|
||||
- execute = "1",
|
||||
mandatory = True,
|
||||
msg = 'Checking for boost library >= 1.39',
|
||||
okmsg = 'ok',
|
||||
@@ -1,229 +0,0 @@
|
||||
From 610ce4e19b0b39d0e8391057b22163d4fdc7bdb4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Mon, 3 Jul 2017 23:24:55 +0200
|
||||
Subject: [PATCH 2/2] Use ARM NEON intrinsics if available for mixing functions
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
libs/ardour/ardour/mix.h | 10 +++
|
||||
libs/ardour/globals.cc | 13 ++++
|
||||
libs/ardour/mix.cc | 157 +++++++++++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 180 insertions(+)
|
||||
|
||||
diff --git a/libs/ardour/ardour/mix.h b/libs/ardour/ardour/mix.h
|
||||
index 4676c01..55919f0 100644
|
||||
--- a/libs/ardour/ardour/mix.h
|
||||
+++ b/libs/ardour/ardour/mix.h
|
||||
@@ -65,6 +65,16 @@ LIBARDOUR_API void veclib_mix_buffers_no_gain (ARDOUR::Sample * dst, cons
|
||||
|
||||
#endif
|
||||
|
||||
+#if defined (__ARM_NEON__)
|
||||
+
|
||||
+LIBARDOUR_API float neon_compute_peak (const ARDOUR::Sample * buf, ARDOUR::pframes_t nsamples, float current);
|
||||
+LIBARDOUR_API void neon_find_peaks (const ARDOUR::Sample * buf, ARDOUR::pframes_t nsamples, float *min, float *max);
|
||||
+LIBARDOUR_API void neon_apply_gain_to_buffer (ARDOUR::Sample * buf, ARDOUR::pframes_t nframes, float gain);
|
||||
+LIBARDOUR_API void neon_mix_buffers_with_gain (ARDOUR::Sample * dst, const ARDOUR::Sample * src, ARDOUR::pframes_t nframes, float gain);
|
||||
+LIBARDOUR_API void neon_mix_buffers_no_gain (ARDOUR::Sample * dst, const ARDOUR::Sample * src, ARDOUR::pframes_t nframes);
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
/* non-optimized functions */
|
||||
|
||||
LIBARDOUR_API float default_compute_peak (const ARDOUR::Sample * buf, ARDOUR::pframes_t nsamples, float current);
|
||||
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
|
||||
index 28eb818..d562b35 100644
|
||||
--- a/libs/ardour/globals.cc
|
||||
+++ b/libs/ardour/globals.cc
|
||||
@@ -222,6 +222,19 @@ setup_hardware_optimization (bool try_optimization)
|
||||
|
||||
info << "Apple VecLib H/W specific optimizations in use" << endmsg;
|
||||
}
|
||||
+#elif defined (__ARM_NEON__)
|
||||
+ // No runtime detection
|
||||
+ compute_peak = neon_compute_peak;
|
||||
+ find_peaks = neon_find_peaks;
|
||||
+ apply_gain_to_buffer = neon_apply_gain_to_buffer;
|
||||
+ mix_buffers_with_gain = neon_mix_buffers_with_gain;
|
||||
+ mix_buffers_no_gain = neon_mix_buffers_no_gain;
|
||||
+ copy_vector = default_copy_vector;
|
||||
+
|
||||
+ generic_mix_functions = false;
|
||||
+
|
||||
+ info << "ARM NEON optimizations in use" << endmsg;
|
||||
+
|
||||
#endif
|
||||
|
||||
/* consider FPU denormal handling to be "h/w optimization" */
|
||||
diff --git a/libs/ardour/mix.cc b/libs/ardour/mix.cc
|
||||
index 96ae624..d1a46a2 100644
|
||||
--- a/libs/ardour/mix.cc
|
||||
+++ b/libs/ardour/mix.cc
|
||||
@@ -182,4 +182,161 @@ veclib_mix_buffers_no_gain (ARDOUR::Sample * dst, const ARDOUR::Sample * src, pf
|
||||
|
||||
#endif
|
||||
|
||||
+#if defined (__ARM_NEON__)
|
||||
+#include <arm_neon.h>
|
||||
+
|
||||
+float
|
||||
+neon_compute_peak (const ARDOUR::Sample * buf, ARDOUR::pframes_t nsamples, float current)
|
||||
+{
|
||||
+ float32x4_t v4current = vdupq_n_f32(current);
|
||||
+ float32x4_t v4work;
|
||||
+ float32x2_t v2current;
|
||||
+
|
||||
+ // unaligned lead (spread single float to vector)
|
||||
+ while (((intptr_t)buf) % 16 != 0 && nsamples > 0) {
|
||||
+ v4work = vdupq_n_f32(*buf);
|
||||
+ v4current = vmaxq_f32(v4current, vabsq_f32(v4work));
|
||||
+
|
||||
+ buf++;
|
||||
+ nsamples--;
|
||||
+ }
|
||||
+ // aligned
|
||||
+ while (nsamples >= 4) {
|
||||
+ v4work = vld1q_f32(buf);
|
||||
+ v4current = vmaxq_f32(v4current, vabsq_f32(v4work));
|
||||
+
|
||||
+ buf+=4;
|
||||
+ nsamples-=4;
|
||||
+ }
|
||||
+ // rest < 4 (spread single float to vector)
|
||||
+ while (nsamples > 0) {
|
||||
+ v4work = vdupq_n_f32(*buf);
|
||||
+ v4current = vmaxq_f32(v4current, vabsq_f32(v4work));
|
||||
+
|
||||
+ buf++;
|
||||
+ nsamples--;
|
||||
+ }
|
||||
+
|
||||
+ // calc max in vector by pairwise max done twice
|
||||
+ v2current = vpmax_f32(vget_low_f32(v4current), vget_high_f32(v4current));
|
||||
+ v2current = vpmax_f32(v2current, v2current);
|
||||
+ return vget_lane_f32(v2current, 0);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+neon_find_peaks (const ARDOUR::Sample * buf, ARDOUR::pframes_t nsamples, float *min, float *max)
|
||||
+{
|
||||
+ float32x4_t v4min = vdupq_n_f32(*min);
|
||||
+ float32x4_t v4max = vdupq_n_f32(*max);
|
||||
+ float32x4_t v4work;
|
||||
+ float32x2_t v2min, v2max;
|
||||
+
|
||||
+ // vector
|
||||
+ while (nsamples >= 4) {
|
||||
+ v4work = vld1q_f32(buf);
|
||||
+ v4min = vminq_f32(v4min, v4work);
|
||||
+ v4max = vmaxq_f32(v4max, v4work);
|
||||
+
|
||||
+ buf+=4;
|
||||
+ nsamples-=4;
|
||||
+ }
|
||||
+ // rest < 4 (spread single float to vector)
|
||||
+ while (nsamples > 0) {
|
||||
+ v4work = vdupq_n_f32(*buf);
|
||||
+ v4min = vminq_f32(v4min, v4work);
|
||||
+ v4max = vmaxq_f32(v4max, v4work);
|
||||
+
|
||||
+ buf++;
|
||||
+ nsamples--;
|
||||
+ }
|
||||
+
|
||||
+ // calc min in vector by pairwise max done twice
|
||||
+ v2min = vpmin_f32(vget_low_f32(v4min), vget_high_f32(v4min));
|
||||
+ v2min = vpmax_f32(v2min, v2min);
|
||||
+ *min = vget_lane_f32(v2min, 0);
|
||||
+ // calc max in vector by pairwise max done twice
|
||||
+ v2max = vpmax_f32(vget_low_f32(v4max), vget_high_f32(v4max));
|
||||
+ v2max = vpmax_f32(v2max, v2max);
|
||||
+ *max = vget_lane_f32(v2max, 0);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+neon_apply_gain_to_buffer (ARDOUR::Sample * buf, ARDOUR::pframes_t nframes, float gain)
|
||||
+{
|
||||
+ float32x4_t v4gain = vdupq_n_f32(gain);
|
||||
+ float32x4_t v4work;
|
||||
+
|
||||
+ // vector
|
||||
+ while (nframes >= 4) {
|
||||
+ v4work = vld1q_f32(buf);
|
||||
+ v4work = vmulq_f32(v4work, v4gain);
|
||||
+ vst1q_f32(buf, v4work);
|
||||
+
|
||||
+ buf+=4;
|
||||
+ nframes-=4;
|
||||
+ }
|
||||
+ // rest < 4
|
||||
+ while (nframes > 0) {
|
||||
+ *buf *= gain;
|
||||
+
|
||||
+ buf++;
|
||||
+ nframes--;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+neon_mix_buffers_with_gain (ARDOUR::Sample * dst, const ARDOUR::Sample * src, ARDOUR::pframes_t nframes, float gain)
|
||||
+{
|
||||
+ float32x4_t v4gain = vdupq_n_f32(gain);
|
||||
+ float32x4_t v4src, v4dst;
|
||||
+
|
||||
+ // vector
|
||||
+ while (nframes >= 4) {
|
||||
+ v4src = vld1q_f32(src);
|
||||
+ v4dst = vld1q_f32(dst);
|
||||
+ // v4dst = v4dst + v4src * v4gain
|
||||
+ v4dst = vmlaq_f32(v4dst, v4src, v4gain);
|
||||
+ vst1q_f32(dst, v4dst);
|
||||
+
|
||||
+ src+=4;
|
||||
+ dst+=4;
|
||||
+ nframes-=4;
|
||||
+ }
|
||||
+ // rest < 4
|
||||
+ while (nframes > 0) {
|
||||
+ *dst += *src * gain;
|
||||
+
|
||||
+ src++;
|
||||
+ dst++;
|
||||
+ nframes--;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+neon_mix_buffers_no_gain (ARDOUR::Sample * dst, const ARDOUR::Sample * src, ARDOUR::pframes_t nframes)
|
||||
+{
|
||||
+ float32x4_t v4src, v4dst;
|
||||
+
|
||||
+ // vector
|
||||
+ while (nframes >= 4) {
|
||||
+ v4src = vld1q_f32(src);
|
||||
+ v4dst = vld1q_f32(dst);
|
||||
+ v4dst = vaddq_f32(v4dst, v4src);
|
||||
+ vst1q_f32(dst, v4dst);
|
||||
+
|
||||
+ src+=4;
|
||||
+ dst+=4;
|
||||
+ nframes-=4;
|
||||
+ }
|
||||
+ // rest < 4
|
||||
+ while (nframes > 0) {
|
||||
+ *dst += *src;
|
||||
+
|
||||
+ src++;
|
||||
+ dst++;
|
||||
+ nframes--;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#endif
|
||||
|
||||
--
|
||||
2.9.4
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
From be826f363522dbca96c8263d404c57c4fe9ff0e2 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Wed, 3 Oct 2018 20:54:14 +0200
|
||||
Subject: [PATCH] Prevent excessive meter redraws for inactive meters at zero
|
||||
|
||||
Upstream-Status: Backport [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/commit/be826f363522dbca96c8263d404c57c4fe9ff0e2
|
||||
|
||||
---
|
||||
libs/widgets/fastmeter.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libs/widgets/fastmeter.cc b/libs/widgets/fastmeter.cc
|
||||
index cf1d9dd07..a9ecf5dad 100644
|
||||
--- a/libs/widgets/fastmeter.cc
|
||||
+++ b/libs/widgets/fastmeter.cc
|
||||
@@ -703,7 +703,7 @@ FastMeter::set (float lvl, float peak)
|
||||
if (pixwidth <= 0 || pixheight <=0) return;
|
||||
|
||||
if (peak == -1) {
|
||||
- if (lvl >= current_peak) {
|
||||
+ if (lvl >= current_peak && lvl > 0) {
|
||||
current_peak = lvl;
|
||||
hold_state = hold_cnt;
|
||||
}
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From 8d5e7e9f4e4372debb9ce285336ccc1ecc0383f6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Wed, 17 Oct 2018 22:10:41 +0200
|
||||
Subject: [PATCH] Prevent excessive meter redraws for inactive meters at zero
|
||||
II
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Same as be826f363522dbca96c8263d404c57c4fe9ff0e2
|
||||
|
||||
Upstream-Status: Applied
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
libs/canvas/meter.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libs/canvas/meter.cc b/libs/canvas/meter.cc
|
||||
index b539a1b4a..76e31bf58 100644
|
||||
--- a/libs/canvas/meter.cc
|
||||
+++ b/libs/canvas/meter.cc
|
||||
@@ -702,7 +702,7 @@ Meter::set (float lvl, float peak)
|
||||
if (pixwidth <= 0 || pixheight <=0) return;
|
||||
|
||||
if (peak == -1) {
|
||||
- if (lvl >= current_peak) {
|
||||
+ if (lvl >= current_peak && lvl > 0) {
|
||||
current_peak = lvl;
|
||||
hold_state = hold_cnt;
|
||||
}
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
From ae281f2135607e55675d7cc18a9fe1a5b88464ec Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Fri, 12 Oct 2018 00:56:59 +0200
|
||||
Subject: [PATCH] Follow fluidsynth's API changes introduced with 2.0.0
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Submitted [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/pull/431
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
libs/ardour/fluid_synth.cc | 14 ++++++++++++++
|
||||
libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc | 27 ++++++++++++++++++++++++++-
|
||||
2 files changed, 40 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libs/ardour/fluid_synth.cc b/libs/ardour/fluid_synth.cc
|
||||
index 45653a9e7..c9b7b526e 100644
|
||||
--- a/libs/ardour/fluid_synth.cc
|
||||
+++ b/libs/ardour/fluid_synth.cc
|
||||
@@ -71,6 +71,7 @@ FluidSynth::load_sf2 (const std::string& fn)
|
||||
}
|
||||
|
||||
size_t count;
|
||||
+#if FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
fluid_preset_t preset;
|
||||
|
||||
sfont->iteration_start (sfont);
|
||||
@@ -83,7 +84,20 @@ FluidSynth::load_sf2 (const std::string& fn)
|
||||
preset.get_banknum (&preset),
|
||||
preset.get_num (&preset)));
|
||||
}
|
||||
+#else
|
||||
+ fluid_preset_t* preset;
|
||||
|
||||
+ fluid_sfont_iteration_start (sfont);
|
||||
+ for (count = 0; (preset = fluid_sfont_iteration_next (sfont)) != 0; ++count) {
|
||||
+ if (count < 16) {
|
||||
+ fluid_synth_program_select (_synth, count, _synth_id, fluid_preset_get_banknum (preset), fluid_preset_get_num (preset));
|
||||
+ }
|
||||
+ _presets.push_back (BankProgram (
|
||||
+ fluid_preset_get_name (preset),
|
||||
+ fluid_preset_get_banknum (preset),
|
||||
+ fluid_preset_get_num (preset)));
|
||||
+ }
|
||||
+#endif
|
||||
if (count == 0) {
|
||||
return false;
|
||||
}
|
||||
diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc
|
||||
index e6cf1e29d..6d168d5fe 100644
|
||||
--- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc
|
||||
+++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc
|
||||
@@ -184,6 +184,7 @@ load_sf2 (AFluidSynth* self, const char* fn)
|
||||
}
|
||||
|
||||
int chn;
|
||||
+#if FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
fluid_preset_t preset;
|
||||
sfont->iteration_start (sfont);
|
||||
pthread_mutex_lock (&self->bp_lock);
|
||||
@@ -192,15 +193,33 @@ load_sf2 (AFluidSynth* self, const char* fn)
|
||||
fluid_synth_program_select (self->synth, chn, synth_id,
|
||||
preset.get_banknum (&preset), preset.get_num (&preset));
|
||||
}
|
||||
+#else
|
||||
+ fluid_preset_t *preset;
|
||||
+ fluid_sfont_iteration_start (sfont);
|
||||
+ pthread_mutex_lock (&self->bp_lock);
|
||||
+ for (chn = 0; (preset = fluid_sfont_iteration_next (sfont)); ++chn) {
|
||||
+ if (chn < 16) {
|
||||
+ fluid_synth_program_select (self->synth, chn, synth_id,
|
||||
+ fluid_preset_get_banknum (preset), fluid_preset_get_num (preset));
|
||||
+ }
|
||||
+#endif // FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
#ifndef LV2_EXTENDED
|
||||
else { break ; }
|
||||
#else
|
||||
+#if FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
self->presets[preset.get_banknum (&preset)].push_back (
|
||||
BankProgram (
|
||||
preset.get_name (&preset),
|
||||
preset.get_banknum (&preset),
|
||||
preset.get_num (&preset)));
|
||||
-#endif
|
||||
+#else
|
||||
+ self->presets[fluid_preset_get_banknum (preset)].push_back (
|
||||
+ BankProgram (
|
||||
+ fluid_preset_get_name (preset),
|
||||
+ fluid_preset_get_banknum (preset),
|
||||
+ fluid_preset_get_num (preset)));
|
||||
+#endif // FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
+#endif // LV2_EXTENDED
|
||||
}
|
||||
pthread_mutex_unlock (&self->bp_lock);
|
||||
|
||||
@@ -681,9 +700,15 @@ work_response (LV2_Handle instance,
|
||||
}
|
||||
|
||||
for (int chn = 0; chn < 16; ++chn) {
|
||||
+#if FLUIDSYNTH_VERSION_MAJOR < 2
|
||||
unsigned int sfid = 0;
|
||||
unsigned int bank = 0;
|
||||
unsigned int program = -1;
|
||||
+#else
|
||||
+ int sfid = 0;
|
||||
+ int bank = 0;
|
||||
+ int program = -1;
|
||||
+#endif
|
||||
if (FLUID_OK == fluid_synth_get_program (self->synth, chn, &sfid, &bank, &program)) {
|
||||
self->program_state[chn].bank = bank;
|
||||
self->program_state[chn].program = program;
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
From de5b65e6e5c558237fbdcfb4c6a284bc17a6054e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 25 Jan 2020 22:11:56 +0100
|
||||
Subject: [PATCH] Find fmt-binding in out-of-tree building
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Submitted [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/pull/465
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
gtk2_ardour/wscript | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
|
||||
index beb5b196b8..ed1d5631dd 100644
|
||||
--- a/gtk2_ardour/wscript
|
||||
+++ b/gtk2_ardour/wscript
|
||||
@@ -852,7 +852,7 @@ def build(bld):
|
||||
# NATIVE ARDOUR BINDING FILES
|
||||
# explicitly state the use of perl here so that it works on windows too
|
||||
#
|
||||
- a_rule = 'perl ../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap ${SRC[0].abspath()} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
|
||||
+ a_rule = 'perl %s/tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap ${SRC[0].abspath()} >${TGT}' % (bld.top_dir, sys.platform, bld.env['WINDOWS_KEY'] )
|
||||
for b in [ 'ardour' ] :
|
||||
obj = bld(
|
||||
target = b + '.keys',
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Ardour 5
|
||||
Comment=Record, mix and master audio
|
||||
Exec=ardour5
|
||||
Icon=ardour5
|
||||
Terminal=false
|
||||
MimeType=application/x-ardour;
|
||||
Type=Application
|
||||
Categories=AudioVideo;Audio;X-Recorders;X-Multitrack;X-Jack;X-AudioEditing;
|
||||
GenericName=Digital Audio Workstation
|
||||
@@ -1,859 +0,0 @@
|
||||
From 2e9ac80e998bc79d5ef9029415008198b22168dc Mon Sep 17 00:00:00 2001
|
||||
From: David Runge <dave@sleepmap.de>
|
||||
Date: Mon, 20 Jan 2020 23:08:11 +0100
|
||||
Subject: [PATCH 1/8] Towards waf python 2+3 support
|
||||
|
||||
Upstream-Status: Backport [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/commit/2e9ac80e998bc79d5ef9029415008198b22168dc
|
||||
|
||||
---
|
||||
gtk2_ardour/wscript | 32 +-
|
||||
libs/ardour/wscript | 2 +-
|
||||
libs/pbd/wscript | 17 +-
|
||||
libs/plugins/a-comp.lv2/wscript | 13 +-
|
||||
libs/plugins/a-delay.lv2/wscript | 14 +-
|
||||
libs/plugins/a-eq.lv2/wscript | 14 +-
|
||||
libs/plugins/a-fluidsynth.lv2/wscript | 16 +-
|
||||
libs/plugins/a-reverb.lv2/wscript | 14 +-
|
||||
libs/plugins/reasonablesynth.lv2/wscript | 14 +-
|
||||
libs/ptformat/wscript | 1 +
|
||||
libs/surfaces/osc/wscript | 2 +-
|
||||
libs/surfaces/push2/wscript | 24 +-
|
||||
libs/surfaces/wiimote/wscript | 2 +-
|
||||
libs/widgets/wscript | 2 +-
|
||||
session_utils/wscript | 2 +-
|
||||
tools/bb/wscript | 15 +-
|
||||
tools/luadevel/wscript | 2 +-
|
||||
tools/misc.py | 355 +++++++++++++++++++++++
|
||||
wscript | 10 +-
|
||||
19 files changed, 457 insertions(+), 94 deletions(-)
|
||||
create mode 100644 tools/misc.py
|
||||
|
||||
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
|
||||
index d3824a0a63..beb5b196b8 100644
|
||||
--- a/gtk2_ardour/wscript
|
||||
+++ b/gtk2_ardour/wscript
|
||||
@@ -369,20 +369,15 @@ def configure(conf):
|
||||
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
- retval = conf.run_c_code (code='#include <AppKit/NSWindow.h>\n\
|
||||
- int main(void) { (void) NSWindowWillStartLiveResizeNotification; return 0; }\n',
|
||||
- env = conf.env.derive (),
|
||||
- features = [ 'c' ],
|
||||
- compiler = 'cc',
|
||||
- compile_filename='test.m',
|
||||
- mandatory = False,
|
||||
- )
|
||||
-
|
||||
- if retval == 0:
|
||||
- autowaf.display_msg (conf, 'Checking for Cocoa live resizing constants', 'ok')
|
||||
- conf.define ('HAVE_COCOA_LIVE_RESIZING', 1)
|
||||
- else:
|
||||
- autowaf.display_msg (conf, 'Checking for Cocoa live resizing constants', 'too old - AU plugin windows will be fixed size')
|
||||
+ conf.check(
|
||||
+ msg ='Checking for Cocoa live resizing constants',
|
||||
+ fragment = '#include <AppKit/NSWindow.h>\n int main(void) { (void) NSWindowWillStartLiveResizeNotification; return 0; }\n',
|
||||
+ define_name = 'HAVE_COCOA_LIVE_RESIZING',
|
||||
+ uselib_store = 'COCOA_LIVE_RESIZING',
|
||||
+ compiler = 'cc',
|
||||
+ compile_filename = 'test.m',
|
||||
+ execute = True,
|
||||
+ mandatory = False)
|
||||
|
||||
conf.write_config_header('gtk2ardour-config.h', remove=False)
|
||||
|
||||
@@ -475,7 +470,6 @@ def build(bld):
|
||||
obj.source = list(gtk2_ardour_sources)
|
||||
obj.target = 'luadoc'
|
||||
obj.includes = ['.', '../libs']
|
||||
- obj.ldflags = ['-no-undefined']
|
||||
obj.use = [
|
||||
'libpbd',
|
||||
'libardour',
|
||||
@@ -515,7 +509,6 @@ def build(bld):
|
||||
# obj.source = [ 'ardour_button.cc', 'ui_config.cc', 'tooltips.cc' ]
|
||||
# obj.target = 'canvas_test'
|
||||
# obj.includes = ['.', '../libs']
|
||||
-# obj.ldflags = ['-no-undefined']
|
||||
# obj.use = [
|
||||
# 'libpbd',
|
||||
# 'libardour',
|
||||
@@ -586,9 +579,8 @@ def build(bld):
|
||||
obj = bld (features = 'cxx c cxxprogram')
|
||||
# operate on copy to avoid adding sources twice
|
||||
obj.source = list(gtk2_ardour_sources)
|
||||
- obj.target = 'ardour-' + str (bld.env['VERSION'])
|
||||
- obj.includes = ['.']
|
||||
- obj.ldflags = ['-no-undefined']
|
||||
+ obj.target = 'ardour-' + str (bld.env['VERSION'])
|
||||
+ obj.includes = ['.']
|
||||
|
||||
if bld.is_defined('WINDOWS_VST_SUPPORT'):
|
||||
# Windows VST support mingw
|
||||
@@ -617,7 +609,7 @@ def build(bld):
|
||||
]
|
||||
obj.install_path = bld.env['DLLDIR']
|
||||
obj.linkflags = ''
|
||||
- obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML '
|
||||
+ obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML LILV'
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' AUDIOUNITS OSX '
|
||||
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
|
||||
index 7148a26042..8a65daaaf0 100644
|
||||
--- a/libs/ardour/wscript
|
||||
+++ b/libs/ardour/wscript
|
||||
@@ -474,7 +474,7 @@ def build(bld):
|
||||
avx_cxxflags = list(bld.env['CXXFLAGS'])
|
||||
avx_cxxflags.append (bld.env['compiler_flags_dict']['avx'])
|
||||
avx_cxxflags.append (bld.env['compiler_flags_dict']['pic'])
|
||||
- bld(features = 'cxx',
|
||||
+ bld(features = 'cxx cxxstlib asm',
|
||||
source = avx_sources,
|
||||
cxxflags = avx_cxxflags,
|
||||
includes = [ '.' ],
|
||||
diff --git a/libs/pbd/wscript b/libs/pbd/wscript
|
||||
index 29d82edcb4..8dffb71dd7 100644
|
||||
--- a/libs/pbd/wscript
|
||||
+++ b/libs/pbd/wscript
|
||||
@@ -108,12 +108,21 @@ def configure(conf):
|
||||
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'giomm-2.4', uselib_store='GIOMM', atleast_version='2.2', mandatory=True)
|
||||
|
||||
- conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT',mandatory=False)
|
||||
conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False)
|
||||
conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
|
||||
if not Options.options.ppc:
|
||||
- conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600', define_name='HAVE_POSIX_MEMALIGN', mandatory=False)
|
||||
- conf.check(function_name='localtime_r', header_name='time.h', define_name='HAVE_LOCALTIME_R',mandatory=False)
|
||||
+ conf.check_cc(
|
||||
+ msg="Checking for function 'posix_memalign' in stdlib.h",
|
||||
+ fragment = "#define _XOPEN_SOURCE 600\n #include <stdlib.h>\n int main(void) { return posix_memalign (0, 64, 1); }\n",
|
||||
+ define_name='HAVE_POSIX_MEMALIGN', execute = False, mandatory=False)
|
||||
+ conf.check_cc(
|
||||
+ msg="Checking for function 'getmntent' in mntent.h",
|
||||
+ fragment = "#include <mntent.h>\n int main(void) { return (int)getmntent(0); }\n",
|
||||
+ define_name='HAVE_GETMNTENT', execute = False, mandatory=False)
|
||||
+ conf.check_cc(
|
||||
+ msg="Checking for function 'localtime_r' in time.h",
|
||||
+ fragment = "#include <time.h>\n int main(void) { return localtime_r(NULL, NULL); }\n",
|
||||
+ define_name='HAVE_LOCALTIME_R', execute = False, mandatory=False)
|
||||
|
||||
# Boost headers
|
||||
autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp')
|
||||
@@ -161,7 +170,7 @@ def build(bld):
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libpbd'
|
||||
obj.target = 'pbd'
|
||||
- obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL'
|
||||
+ obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL XML'
|
||||
if sys.platform == 'darwin':
|
||||
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']
|
||||
if 'cocoa_open_uri.mm' not in obj.source:
|
||||
diff --git a/libs/plugins/a-comp.lv2/wscript b/libs/plugins/a-comp.lv2/wscript
|
||||
index f0ebb1d33d..99d7bb03f1 100644
|
||||
--- a/libs/plugins/a-comp.lv2/wscript
|
||||
+++ b/libs/plugins/a-comp.lv2/wscript
|
||||
@@ -25,15 +25,16 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-comp.ttl', 'a-comp#stereo.ttl', 'presets.ttl']:
|
||||
bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-delay.lv2/wscript b/libs/plugins/a-delay.lv2/wscript
|
||||
index 666ef0d5ab..2af05ff137 100644
|
||||
--- a/libs/plugins/a-delay.lv2/wscript
|
||||
+++ b/libs/plugins/a-delay.lv2/wscript
|
||||
@@ -25,15 +25,15 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-delay.ttl', 'presets.ttl']:
|
||||
- bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-eq.lv2/wscript b/libs/plugins/a-eq.lv2/wscript
|
||||
index 0610ba2eea..e36a804f7f 100644
|
||||
--- a/libs/plugins/a-eq.lv2/wscript
|
||||
+++ b/libs/plugins/a-eq.lv2/wscript
|
||||
@@ -25,15 +25,15 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-eq.ttl']:
|
||||
- bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-fluidsynth.lv2/wscript b/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
index af6fcf08a8..3a093259d6 100644
|
||||
--- a/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
+++ b/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
@@ -24,15 +24,15 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-fluidsynth.ttl']:
|
||||
- bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'cxx cshlib',
|
||||
@@ -42,7 +42,7 @@ def build(bld):
|
||||
includes = [ '../../ardour' ],
|
||||
target = '../../LV2/%s/a-fluidsynth' % bundle,
|
||||
install_path = '${LV2DIR}/%s' % bundle,
|
||||
- uselib = ['LIBFLUIDSYNTH'],
|
||||
+ uselib = ['LIBFLUIDSYNTH', 'GLIB'],
|
||||
use = ['LV2_1_0_0']
|
||||
)
|
||||
|
||||
diff --git a/libs/plugins/a-reverb.lv2/wscript b/libs/plugins/a-reverb.lv2/wscript
|
||||
index 35601f2179..3eb5ce10bc 100644
|
||||
--- a/libs/plugins/a-reverb.lv2/wscript
|
||||
+++ b/libs/plugins/a-reverb.lv2/wscript
|
||||
@@ -24,15 +24,15 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-reverb.ttl']:
|
||||
- bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/reasonablesynth.lv2/wscript b/libs/plugins/reasonablesynth.lv2/wscript
|
||||
index cedda4c308..0eb5c55a04 100644
|
||||
--- a/libs/plugins/reasonablesynth.lv2/wscript
|
||||
+++ b/libs/plugins/reasonablesynth.lv2/wscript
|
||||
@@ -24,15 +24,15 @@ def build(bld):
|
||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||
module_ext = module_pat[module_pat.rfind('.'):]
|
||||
|
||||
- if bld.is_defined ('HAVE_LV2'):
|
||||
+ if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'reasonablesynth.ttl']:
|
||||
- bld(features = 'subst',
|
||||
- source = i + '.in',
|
||||
- target = '../../LV2/%s/%s' % (bundle, i),
|
||||
- install_path = '${LV2DIR}/%s' % bundle,
|
||||
- chmod = Utils.O644,
|
||||
- LIB_EXT = module_ext)
|
||||
+ obj = bld(features='subst')
|
||||
+ obj.source = i + '.in'
|
||||
+ obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
+ obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
+ obj.chmod = Utils.O644
|
||||
+ obj.dict = {'LIB_EXT': module_ext}
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/ptformat/wscript b/libs/ptformat/wscript
|
||||
index 4d381234fe..8dc9ff7430 100644
|
||||
--- a/libs/ptformat/wscript
|
||||
+++ b/libs/ptformat/wscript
|
||||
@@ -35,6 +35,7 @@ def build(bld):
|
||||
obj.name = 'libptformat'
|
||||
obj.target = 'ptformat'
|
||||
obj.use = 'libardour'
|
||||
+ obj.uselib = 'GLIBMM'
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
obj.vnum = LIBPTFORMAT_LIB_VERSION
|
||||
obj.install_path = bld.env['LIBDIR']
|
||||
diff --git a/libs/surfaces/osc/wscript b/libs/surfaces/osc/wscript
|
||||
index 4d0dba6750..5bbe7d3946 100644
|
||||
--- a/libs/surfaces/osc/wscript
|
||||
+++ b/libs/surfaces/osc/wscript
|
||||
@@ -30,7 +30,7 @@ def build(bld):
|
||||
obj.includes = ['.', './osc']
|
||||
obj.name = 'libardour_osc'
|
||||
obj.target = 'ardour_osc'
|
||||
- obj.uselib = 'LO GTKMM GTK GDK'
|
||||
+ obj.uselib = 'LO GTKMM GTK GDK XML'
|
||||
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
|
||||
|
||||
diff --git a/libs/surfaces/push2/wscript b/libs/surfaces/push2/wscript
|
||||
index 9c75f9d69f..f7a5134153 100644
|
||||
--- a/libs/surfaces/push2/wscript
|
||||
+++ b/libs/surfaces/push2/wscript
|
||||
@@ -21,28 +21,28 @@ def build(bld):
|
||||
push2.cc
|
||||
buttons.cc
|
||||
canvas.cc
|
||||
- interface.cc
|
||||
+ interface.cc
|
||||
midi_byte_array.cc
|
||||
leds.cc
|
||||
level_meter.cc
|
||||
- gui.cc
|
||||
- knob.cc
|
||||
- layout.cc
|
||||
- menu.cc
|
||||
- mix.cc
|
||||
- scale.cc
|
||||
- splash.cc
|
||||
- track_mix.cc
|
||||
- utils.cc
|
||||
+ gui.cc
|
||||
+ knob.cc
|
||||
+ layout.cc
|
||||
+ menu.cc
|
||||
+ mix.cc
|
||||
+ scale.cc
|
||||
+ splash.cc
|
||||
+ track_mix.cc
|
||||
+ utils.cc
|
||||
'''
|
||||
obj.export_includes = ['.']
|
||||
obj.defines = [ 'PACKAGE="ardour_push2"' ]
|
||||
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
|
||||
obj.defines += [ 'VERSIONSTRING="' + bld.env['VERSION'] + '"' ]
|
||||
- obj.includes = [ '.', './push2']
|
||||
+ obj.includes = ['.', './push2']
|
||||
obj.name = 'libardour_push2'
|
||||
obj.target = 'ardour_push2'
|
||||
- obj.uselib = 'CAIROMM PANGOMM USB GTKMM SIGCPP'
|
||||
+ obj.uselib = 'CAIROMM PANGOMM USB GTKMM SIGCPP XML'
|
||||
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd libevoral libcanvas libtimecode'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
|
||||
|
||||
diff --git a/libs/surfaces/wiimote/wscript b/libs/surfaces/wiimote/wscript
|
||||
index 03d01635a1..d38296f37f 100644
|
||||
--- a/libs/surfaces/wiimote/wscript
|
||||
+++ b/libs/surfaces/wiimote/wscript
|
||||
@@ -24,7 +24,7 @@ def build(bld):
|
||||
obj.includes = ['.', '../libs']
|
||||
obj.name = 'libardour_wiimote'
|
||||
obj.target = 'ardour_wiimote'
|
||||
- obj.uselib = 'GTKMM CWIID'
|
||||
+ obj.uselib = 'GTKMM CWIID XML'
|
||||
obj.use = 'libardour libardour_cp libgtkmm2ext'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
|
||||
|
||||
diff --git a/libs/widgets/wscript b/libs/widgets/wscript
|
||||
index 0559abe4dc..2216c38348 100644
|
||||
--- a/libs/widgets/wscript
|
||||
+++ b/libs/widgets/wscript
|
||||
@@ -76,7 +76,7 @@ def build(bld):
|
||||
obj.defines = [ ]
|
||||
|
||||
obj.export_includes = ['.']
|
||||
- obj.includes = ['.']
|
||||
+ obj.includes = ['.'] + bld.env['INCLUDES_GLIB']
|
||||
obj.uselib = 'SIGCPP CAIROMM GTKMM BOOST XML'
|
||||
obj.use = [ 'libpbd', 'libgtkmm2ext' ]
|
||||
obj.name = 'libwidgets'
|
||||
diff --git a/session_utils/wscript b/session_utils/wscript
|
||||
index 5fe9445426..a98694f3d6 100644
|
||||
--- a/session_utils/wscript
|
||||
+++ b/session_utils/wscript
|
||||
@@ -86,7 +86,7 @@ def build(bld):
|
||||
utils = bld.path.ant_glob('*.cc', excl=['example.cc', 'common.cc'])
|
||||
|
||||
for util in utils:
|
||||
- fn = str(util)[:-3]
|
||||
+ fn = os.path.splitext(os.path.basename(str(util)))[0]
|
||||
build_ardour_util(bld, fn)
|
||||
if bld.env['build_target'] != 'mingw':
|
||||
bld.symlink_as(bld.env['BINDIR'] + '/' + pgmprefix + "-" + fn, bld.env['LIBDIR'] + '/utils/ardour-util.sh')
|
||||
diff --git a/tools/bb/wscript b/tools/bb/wscript
|
||||
index e419fa2465..3e9fd8d2d7 100644
|
||||
--- a/tools/bb/wscript
|
||||
+++ b/tools/bb/wscript
|
||||
@@ -12,14 +12,13 @@ def configure(ctx):
|
||||
pass
|
||||
|
||||
def build(bld):
|
||||
- obj = bld (features = 'cxx c cxxprogram')
|
||||
- obj.install_path = None
|
||||
- obj.source = [ 'bb.cc', 'gui.cc', 'misc.cc' ]
|
||||
- obj.target = 'bb'
|
||||
- obj.includes = ['.', '../libs']
|
||||
- obj.ldflags = ['-no-undefined']
|
||||
- obj.use = [ 'libardour', 'libevoral', ]
|
||||
- obj.uselib = ' JACK GTKMM '
|
||||
+ obj = bld (features = 'cxx c cxxprogram')
|
||||
+ obj.install_path = None
|
||||
+ obj.source = [ 'bb.cc', 'gui.cc', 'misc.cc' ]
|
||||
+ obj.target = 'bb'
|
||||
+ obj.includes = ['.', '../libs']
|
||||
+ obj.use = [ 'libardour', 'libevoral', ]
|
||||
+ obj.uselib = 'JACK GTKMM XML'
|
||||
|
||||
wrapper_subst_dict = {
|
||||
'INSTALL_PREFIX' : bld.env['PREFIX'],
|
||||
diff --git a/tools/luadevel/wscript b/tools/luadevel/wscript
|
||||
index 3190380091..03889c72d7 100755
|
||||
--- a/tools/luadevel/wscript
|
||||
+++ b/tools/luadevel/wscript
|
||||
@@ -18,7 +18,7 @@ def options(opt):
|
||||
def configure(conf):
|
||||
conf.load('misc')
|
||||
conf.load('compiler_cxx')
|
||||
- conf.check_cc(function_name='readline',
|
||||
+ conf.check_cc(
|
||||
header_name='stdio.h readline/readline.h',
|
||||
lib='readline',
|
||||
uselib_store='READLINE',
|
||||
diff --git a/tools/misc.py b/tools/misc.py
|
||||
new file mode 100644
|
||||
index 0000000000..b82cdb63ba
|
||||
--- /dev/null
|
||||
+++ b/tools/misc.py
|
||||
@@ -0,0 +1,355 @@
|
||||
+#!/usr/bin/env python
|
||||
+# encoding: utf-8
|
||||
+# Thomas Nagy, 2006-2010 (ita)
|
||||
+
|
||||
+"""
|
||||
+This tool is totally deprecated
|
||||
+
|
||||
+Try using:
|
||||
+ .pc.in files for .pc files
|
||||
+ the feature intltool_in - see demos/intltool
|
||||
+ make-like rules
|
||||
+"""
|
||||
+
|
||||
+import shutil, re, os
|
||||
+from waflib import TaskGen, Node, Task, Utils, Build, Errors
|
||||
+from waflib.TaskGen import feature, after_method, before_method
|
||||
+from waflib.Logs import debug
|
||||
+
|
||||
+def copy_attrs(orig, dest, names, only_if_set=False):
|
||||
+ """
|
||||
+ copy class attributes from an object to another
|
||||
+ """
|
||||
+ for a in Utils.to_list(names):
|
||||
+ u = getattr(orig, a, ())
|
||||
+ if u or not only_if_set:
|
||||
+ setattr(dest, a, u)
|
||||
+
|
||||
+def copy_func(tsk):
|
||||
+ "Make a file copy. This might be used to make other kinds of file processing (even calling a compiler is possible)"
|
||||
+ env = tsk.env
|
||||
+ infile = tsk.inputs[0].abspath()
|
||||
+ outfile = tsk.outputs[0].abspath()
|
||||
+ try:
|
||||
+ shutil.copy2(infile, outfile)
|
||||
+ except (OSError, IOError):
|
||||
+ return 1
|
||||
+ else:
|
||||
+ if tsk.chmod: os.chmod(outfile, tsk.chmod)
|
||||
+ return 0
|
||||
+
|
||||
+def action_process_file_func(tsk):
|
||||
+ "Ask the function attached to the task to process it"
|
||||
+ if not tsk.fun: raise Errors.WafError('task must have a function attached to it for copy_func to work!')
|
||||
+ return tsk.fun(tsk)
|
||||
+
|
||||
+@feature('cmd')
|
||||
+def apply_cmd(self):
|
||||
+ "call a command everytime"
|
||||
+ if not self.fun: raise Errors.WafError('cmdobj needs a function!')
|
||||
+ tsk = Task.TaskBase()
|
||||
+ tsk.fun = self.fun
|
||||
+ tsk.env = self.env
|
||||
+ self.tasks.append(tsk)
|
||||
+ tsk.install_path = self.install_path
|
||||
+
|
||||
+@feature('copy')
|
||||
+@before_method('process_source')
|
||||
+def apply_copy(self):
|
||||
+ Utils.def_attrs(self, fun=copy_func)
|
||||
+ self.default_install_path = 0
|
||||
+
|
||||
+ lst = self.to_list(self.source)
|
||||
+ self.meths.remove('process_source')
|
||||
+
|
||||
+ for filename in lst:
|
||||
+ node = self.path.find_resource(filename)
|
||||
+ if not node: raise Errors.WafError('cannot find input file %s for processing' % filename)
|
||||
+
|
||||
+ target = self.target
|
||||
+ if not target or len(lst)>1: target = node.name
|
||||
+
|
||||
+ # TODO the file path may be incorrect
|
||||
+ newnode = self.path.find_or_declare(target)
|
||||
+
|
||||
+ tsk = self.create_task('copy', node, newnode)
|
||||
+ tsk.fun = self.fun
|
||||
+ tsk.chmod = getattr(self, 'chmod', Utils.O644)
|
||||
+
|
||||
+ if not tsk.env:
|
||||
+ tsk.debug()
|
||||
+ raise Errors.WafError('task without an environment')
|
||||
+
|
||||
+####################
|
||||
+## command-output ####
|
||||
+####################
|
||||
+
|
||||
+class cmd_arg(object):
|
||||
+ """command-output arguments for representing files or folders"""
|
||||
+ def __init__(self, name, template='%s'):
|
||||
+ self.name = name
|
||||
+ self.template = template
|
||||
+ self.node = None
|
||||
+
|
||||
+class input_file(cmd_arg):
|
||||
+ def find_node(self, base_path):
|
||||
+ assert isinstance(base_path, Node.Node)
|
||||
+ self.node = base_path.find_resource(self.name)
|
||||
+ if self.node is None:
|
||||
+ raise Errors.WafError("Input file %s not found in " % (self.name, base_path))
|
||||
+
|
||||
+ def get_path(self, env, absolute):
|
||||
+ if absolute:
|
||||
+ return self.template % self.node.abspath()
|
||||
+ else:
|
||||
+ return self.template % self.node.srcpath()
|
||||
+
|
||||
+class output_file(cmd_arg):
|
||||
+ def find_node(self, base_path):
|
||||
+ assert isinstance(base_path, Node.Node)
|
||||
+ self.node = base_path.find_or_declare(self.name)
|
||||
+ if self.node is None:
|
||||
+ raise Errors.WafError("Output file %s not found in " % (self.name, base_path))
|
||||
+
|
||||
+ def get_path(self, env, absolute):
|
||||
+ if absolute:
|
||||
+ return self.template % self.node.abspath()
|
||||
+ else:
|
||||
+ return self.template % self.node.bldpath()
|
||||
+
|
||||
+class cmd_dir_arg(cmd_arg):
|
||||
+ def find_node(self, base_path):
|
||||
+ assert isinstance(base_path, Node.Node)
|
||||
+ self.node = base_path.find_dir(self.name)
|
||||
+ if self.node is None:
|
||||
+ raise Errors.WafError("Directory %s not found in " % (self.name, base_path))
|
||||
+
|
||||
+class input_dir(cmd_dir_arg):
|
||||
+ def get_path(self, dummy_env, dummy_absolute):
|
||||
+ return self.template % self.node.abspath()
|
||||
+
|
||||
+class output_dir(cmd_dir_arg):
|
||||
+ def get_path(self, env, dummy_absolute):
|
||||
+ return self.template % self.node.abspath()
|
||||
+
|
||||
+
|
||||
+class command_output(Task.Task):
|
||||
+ color = "BLUE"
|
||||
+ def __init__(self, env, command, command_node, command_args, stdin, stdout, cwd, os_env, stderr):
|
||||
+ Task.Task.__init__(self, env=env)
|
||||
+ assert isinstance(command, (str, Node.Node))
|
||||
+ self.command = command
|
||||
+ self.command_args = command_args
|
||||
+ self.stdin = stdin
|
||||
+ self.stdout = stdout
|
||||
+ self.cwd = cwd
|
||||
+ self.os_env = os_env
|
||||
+ self.stderr = stderr
|
||||
+
|
||||
+ if command_node is not None: self.dep_nodes = [command_node]
|
||||
+ self.dep_vars = [] # additional environment variables to look
|
||||
+
|
||||
+ def run(self):
|
||||
+ task = self
|
||||
+ #assert len(task.inputs) > 0
|
||||
+
|
||||
+ def input_path(node, template):
|
||||
+ if task.cwd is None:
|
||||
+ return template % node.bldpath()
|
||||
+ else:
|
||||
+ return template % node.abspath()
|
||||
+ def output_path(node, template):
|
||||
+ fun = node.abspath
|
||||
+ if task.cwd is None: fun = node.bldpath
|
||||
+ return template % fun()
|
||||
+
|
||||
+ if isinstance(task.command, Node.Node):
|
||||
+ argv = [input_path(task.command, '%s')]
|
||||
+ else:
|
||||
+ argv = [task.command]
|
||||
+
|
||||
+ for arg in task.command_args:
|
||||
+ if isinstance(arg, str):
|
||||
+ argv.append(arg)
|
||||
+ else:
|
||||
+ assert isinstance(arg, cmd_arg)
|
||||
+ argv.append(arg.get_path(task.env, (task.cwd is not None)))
|
||||
+
|
||||
+ if task.stdin:
|
||||
+ stdin = open(input_path(task.stdin, '%s'))
|
||||
+ else:
|
||||
+ stdin = None
|
||||
+
|
||||
+ if task.stdout:
|
||||
+ stdout = open(output_path(task.stdout, '%s'), "w")
|
||||
+ else:
|
||||
+ stdout = None
|
||||
+
|
||||
+ if task.stderr:
|
||||
+ stderr = open(output_path(task.stderr, '%s'), "w")
|
||||
+ else:
|
||||
+ stderr = None
|
||||
+
|
||||
+ if task.cwd is None:
|
||||
+ cwd = ('None (actually %r)' % os.getcwd())
|
||||
+ else:
|
||||
+ cwd = repr(task.cwd)
|
||||
+ debug("command-output: cwd=%s, stdin=%r, stdout=%r, argv=%r" %
|
||||
+ (cwd, stdin, stdout, argv))
|
||||
+
|
||||
+ if task.os_env is None:
|
||||
+ os_env = os.environ
|
||||
+ else:
|
||||
+ os_env = task.os_env
|
||||
+ command = Utils.subprocess.Popen(argv, stdin=stdin, stdout=stdout, stderr=stderr, cwd=task.cwd, env=os_env)
|
||||
+ return command.wait()
|
||||
+
|
||||
+@feature('command-output')
|
||||
+def init_cmd_output(self):
|
||||
+ Utils.def_attrs(self,
|
||||
+ stdin = None,
|
||||
+ stdout = None,
|
||||
+ stderr = None,
|
||||
+ # the command to execute
|
||||
+ command = None,
|
||||
+
|
||||
+ # whether it is an external command; otherwise it is assumed
|
||||
+ # to be an executable binary or script that lives in the
|
||||
+ # source or build tree.
|
||||
+ command_is_external = False,
|
||||
+
|
||||
+ # extra parameters (argv) to pass to the command (excluding
|
||||
+ # the command itself)
|
||||
+ argv = [],
|
||||
+
|
||||
+ # dependencies to other objects -> this is probably not what you want (ita)
|
||||
+ # values must be 'task_gen' instances (not names!)
|
||||
+ dependencies = [],
|
||||
+
|
||||
+ # dependencies on env variable contents
|
||||
+ dep_vars = [],
|
||||
+
|
||||
+ # input files that are implicit, i.e. they are not
|
||||
+ # stdin, nor are they mentioned explicitly in argv
|
||||
+ hidden_inputs = [],
|
||||
+
|
||||
+ # output files that are implicit, i.e. they are not
|
||||
+ # stdout, nor are they mentioned explicitly in argv
|
||||
+ hidden_outputs = [],
|
||||
+
|
||||
+ # change the subprocess to this cwd (must use obj.input_dir() or output_dir() here)
|
||||
+ cwd = None,
|
||||
+
|
||||
+ # OS environment variables to pass to the subprocess
|
||||
+ # if None, use the default environment variables unchanged
|
||||
+ os_env = None)
|
||||
+
|
||||
+@feature('command-output')
|
||||
+@after_method('init_cmd_output')
|
||||
+def apply_cmd_output(self):
|
||||
+ if self.command is None:
|
||||
+ raise Errors.WafError("command-output missing command")
|
||||
+ if self.command_is_external:
|
||||
+ cmd = self.command
|
||||
+ cmd_node = None
|
||||
+ else:
|
||||
+ cmd_node = self.path.find_resource(self.command)
|
||||
+ assert cmd_node is not None, ('''Could not find command '%s' in source tree.
|
||||
+Hint: if this is an external command,
|
||||
+use command_is_external=True''') % (self.command,)
|
||||
+ cmd = cmd_node
|
||||
+
|
||||
+ if self.cwd is None:
|
||||
+ cwd = None
|
||||
+ else:
|
||||
+ assert isinstance(cwd, CmdDirArg)
|
||||
+ self.cwd.find_node(self.path)
|
||||
+
|
||||
+ args = []
|
||||
+ inputs = []
|
||||
+ outputs = []
|
||||
+
|
||||
+ for arg in self.argv:
|
||||
+ if isinstance(arg, cmd_arg):
|
||||
+ arg.find_node(self.path)
|
||||
+ if isinstance(arg, input_file):
|
||||
+ inputs.append(arg.node)
|
||||
+ if isinstance(arg, output_file):
|
||||
+ outputs.append(arg.node)
|
||||
+
|
||||
+ if self.stdout is None:
|
||||
+ stdout = None
|
||||
+ else:
|
||||
+ assert isinstance(self.stdout, str)
|
||||
+ stdout = self.path.find_or_declare(self.stdout)
|
||||
+ if stdout is None:
|
||||
+ raise Errors.WafError("File %s not found" % (self.stdout,))
|
||||
+ outputs.append(stdout)
|
||||
+
|
||||
+ if self.stderr is None:
|
||||
+ stderr = None
|
||||
+ else:
|
||||
+ assert isinstance(self.stderr, str)
|
||||
+ stderr = self.path.find_or_declare(self.stderr)
|
||||
+ if stderr is None:
|
||||
+ raise Errors.WafError("File %s not found" % (self.stderr,))
|
||||
+ outputs.append(stderr)
|
||||
+
|
||||
+ if self.stdin is None:
|
||||
+ stdin = None
|
||||
+ else:
|
||||
+ assert isinstance(self.stdin, str)
|
||||
+ stdin = self.path.find_resource(self.stdin)
|
||||
+ if stdin is None:
|
||||
+ raise Errors.WafError("File %s not found" % (self.stdin,))
|
||||
+ inputs.append(stdin)
|
||||
+
|
||||
+ for hidden_input in self.to_list(self.hidden_inputs):
|
||||
+ node = self.path.find_resource(hidden_input)
|
||||
+ if node is None:
|
||||
+ raise Errors.WafError("File %s not found in dir %s" % (hidden_input, self.path))
|
||||
+ inputs.append(node)
|
||||
+
|
||||
+ for hidden_output in self.to_list(self.hidden_outputs):
|
||||
+ node = self.path.find_or_declare(hidden_output)
|
||||
+ if node is None:
|
||||
+ raise Errors.WafError("File %s not found in dir %s" % (hidden_output, self.path))
|
||||
+ outputs.append(node)
|
||||
+
|
||||
+ if not (inputs or getattr(self, 'no_inputs', None)):
|
||||
+ raise Errors.WafError('command-output objects must have at least one input file or give self.no_inputs')
|
||||
+ if not (outputs or getattr(self, 'no_outputs', None)):
|
||||
+ raise Errors.WafError('command-output objects must have at least one output file or give self.no_outputs')
|
||||
+
|
||||
+ cwd = self.bld.variant_dir
|
||||
+ task = command_output(self.env, cmd, cmd_node, self.argv, stdin, stdout, cwd, self.os_env, stderr)
|
||||
+ task.generator = self
|
||||
+ copy_attrs(self, task, 'before after ext_in ext_out', only_if_set=True)
|
||||
+ self.tasks.append(task)
|
||||
+
|
||||
+ task.inputs = inputs
|
||||
+ task.outputs = outputs
|
||||
+ task.dep_vars = self.to_list(self.dep_vars)
|
||||
+
|
||||
+ for dep in self.dependencies:
|
||||
+ assert dep is not self
|
||||
+ dep.post()
|
||||
+ for dep_task in dep.tasks:
|
||||
+ task.set_run_after(dep_task)
|
||||
+
|
||||
+ if not task.inputs:
|
||||
+ # the case for svnversion, always run, and update the output nodes
|
||||
+ task.runnable_status = type(Task.TaskBase.run)(runnable_status, task, task.__class__) # always run
|
||||
+ task.post_run = type(Task.TaskBase.run)(post_run, task, task.__class__)
|
||||
+
|
||||
+ # TODO the case with no outputs?
|
||||
+
|
||||
+def post_run(self):
|
||||
+ for x in self.outputs:
|
||||
+ x.sig = Utils.h_file(x.abspath())
|
||||
+
|
||||
+def runnable_status(self):
|
||||
+ return self.RUN_ME
|
||||
+
|
||||
+Task.task_factory('copy', vars=[], func=action_process_file_func)
|
||||
+
|
||||
diff --git a/wscript b/wscript
|
||||
index 4b5acb0ad7..f5d1b28e56 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -1011,9 +1011,15 @@ def configure(conf):
|
||||
if Options.options.dist_target != 'mingw':
|
||||
if Options.options.dist_target != 'msvc' and re.search ("openbsd", sys.platform) == None:
|
||||
if re.search ("freebsd", sys.platform) != None:
|
||||
- conf.check_cc(function_name='dlopen', header_name='dlfcn.h', uselib_store='DL')
|
||||
+ conf.check_cc(
|
||||
+ msg="Checking for function 'dlopen' in dlfcn.h",
|
||||
+ fragment = "#include <dlfcn.h>\n int main(void) { dlopen (\"\", 0); return 0;}\n",
|
||||
+ uselib_store='DL', execute = False)
|
||||
else:
|
||||
- conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL')
|
||||
+ conf.check_cc(
|
||||
+ msg="Checking for function 'dlopen' in dlfcn.h",
|
||||
+ fragment = "#include <dlfcn.h>\n int main(void) { dlopen (\"\", 0); return 0;}\n",
|
||||
+ linkflags='-ldl', uselib_store='DL', execute = False)
|
||||
conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
|
||||
execute = "1",
|
||||
mandatory = True,
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,99 +0,0 @@
|
||||
From 19603d075f7013453c79711a646301df694c7b03 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Mon, 20 Jan 2020 23:08:55 +0100
|
||||
Subject: [PATCH 2/8] Update waf to v2.0.19
|
||||
|
||||
For oe:
|
||||
* Removed waf: we cannot patch binary files. Recipe ships waf
|
||||
* tools/misc.py was added from master in previous patch so no adjustment here
|
||||
|
||||
Upstream-Status: Backport [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/commit/19603d075f7013453c79711a646301df694c7b03
|
||||
---
|
||||
doc/updating_waf.txt | 25 +++++++++++-------
|
||||
tools/autowaf.py | 11 ++++----
|
||||
tools/waf-str.patch | 11 ++++++++
|
||||
4 files changed, 31 insertions(+), 77 deletions(-)
|
||||
create mode 100644 tools/waf-str.patch
|
||||
|
||||
diff --git a/doc/updating_waf.txt b/doc/updating_waf.txt
|
||||
index 69c1225d63..0c192d4489 100644
|
||||
--- a/doc/updating_waf.txt
|
||||
+++ b/doc/updating_waf.txt
|
||||
@@ -1,15 +1,20 @@
|
||||
-Download waf (https://waf.io/)
|
||||
-
|
||||
-autowaf.py is present in the tools directory of the Ardour source code.
|
||||
-a patch for C++11/clang can be found in tools/waflib.patch (needed for waf 1.8.19)
|
||||
-
|
||||
-Current waf is build as follows;
|
||||
+# Download waf (https://waf.io/)
|
||||
+#
|
||||
+# autowaf.py and misc.py are present in the tools directory of the Ardour source code.
|
||||
+# - waf-str.patch is needed for py2/py3 compatible install_dir:
|
||||
+# * in py2 paths are byte-arrays and would need to be converted using .encode("utf-8")
|
||||
+# (otherwise waf expands them /t/o/p/a/t/h/s/l/i/k/e/t/h/i/s)
|
||||
+# * however py3 cannot handled encoded arrays:
|
||||
+# (TypeError: cannot use a string pattern on a bytes-like object)
|
||||
+#
|
||||
+# Current waf is build as follows:
|
||||
|
||||
ARDOURSRC=`pwd`
|
||||
cd /tmp
|
||||
-curl https://waf.io/waf-1.6.11.tar.bz2 | tar xj
|
||||
-cd waf-1.6.11
|
||||
+curl https://waf.io/waf-2.0.19.tar.bz2 | tar xj
|
||||
+cd waf-2.0.19
|
||||
+
|
||||
+patch -p1 < $ARDOURSRC/tools/waf-str.patch
|
||||
|
||||
-patch -p1 < $ARDOURSRC/tools/waflib.patch
|
||||
-./waf-light -v --make-waf --tools=misc,doxygen,$ARDOURSRC/tools/autowaf.py --prelude=''
|
||||
+./waf-light -v --make-waf --tools=misc,doxygen,$ARDOURSRC/tools/autowaf.py,$ARDOURSRC/tools/misc.py --prelude=''
|
||||
cp ./waf $ARDOURSRC/waf
|
||||
diff --git a/tools/autowaf.py b/tools/autowaf.py
|
||||
index f82b80a83f..375dc5909a 100644
|
||||
--- a/tools/autowaf.py
|
||||
+++ b/tools/autowaf.py
|
||||
@@ -140,14 +140,13 @@ def check_pkg(conf, name, **args):
|
||||
found = None
|
||||
pkg_var_name = 'PKG_' + name.replace('-', '_')
|
||||
pkg_name = name
|
||||
- if conf.env.PARDEBUG:
|
||||
- args['mandatory'] = False # Smash mandatory arg
|
||||
- found = conf.check_cfg(package=pkg_name + 'D', args="--cflags --libs", **args)
|
||||
- if found:
|
||||
- pkg_name += 'D'
|
||||
if mandatory:
|
||||
args['mandatory'] = True # Unsmash mandatory arg
|
||||
- if not found:
|
||||
+ if 'atleast_version' in args:
|
||||
+ if not 'msg' in args:
|
||||
+ args['msg'] = 'Checking for %r >= %s' %(pkg_name, args['atleast_version'])
|
||||
+ found = conf.check_cfg(package=pkg_name, args=[pkg_name + " >= " + args['atleast_version'], '--cflags', '--libs'], **args)
|
||||
+ else:
|
||||
found = conf.check_cfg(package=pkg_name, args="--cflags --libs", **args)
|
||||
if found:
|
||||
conf.env[pkg_var_name] = pkg_name
|
||||
|
||||
diff --git a/tools/waf-str.patch b/tools/waf-str.patch
|
||||
new file mode 100644
|
||||
index 0000000000..8d37f68d32
|
||||
--- /dev/null
|
||||
+++ b/tools/waf-str.patch
|
||||
@@ -0,0 +1,11 @@
|
||||
+--- a/waflib/Build.py 2020-01-21 15:01:13.864899388 +0100
|
||||
++++ b/waflib/Build.py 2020-01-21 15:01:59.573030630 +0100
|
||||
+@@ -953,7 +953,7 @@
|
||||
+ tsk.link = kw.get('link', '') or kw.get('install_from', '')
|
||||
+ tsk.relative_trick = kw.get('relative_trick', False)
|
||||
+ tsk.type = kw['type']
|
||||
+- tsk.install_to = tsk.dest = kw['install_to']
|
||||
++ tsk.install_to = tsk.dest = str(kw['install_to'])
|
||||
+ tsk.install_from = kw['install_from']
|
||||
+ tsk.relative_base = kw.get('cwd') or kw.get('relative_base', self.path)
|
||||
+ tsk.install_user = kw.get('install_user')
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 1d2cfd6f2d736144b8c81179126b5850a718f769 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Tue, 21 Jan 2020 02:23:51 +0100
|
||||
Subject: [PATCH 3/8] Change waf/darwin default compiler to prefer gcc (if
|
||||
available)
|
||||
|
||||
---
|
||||
wscript | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/wscript b/wscript
|
||||
index cb3980ed41..e1beb6a86d 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -11,6 +11,13 @@ from waflib.Tools import winres
|
||||
from waflib.Build import Context
|
||||
from waflib.Build import BuildContext
|
||||
|
||||
+# Fixup OSX 10.5/10.6 builds
|
||||
+# prefer gcc, g++ 4.x over ancient clang-1.5
|
||||
+from waflib.Tools.compiler_c import c_compiler
|
||||
+from waflib.Tools.compiler_cxx import cxx_compiler
|
||||
+c_compiler['darwin'] = ['gcc', 'clang' ]
|
||||
+cxx_compiler['darwin'] = ['g++', 'clang++' ]
|
||||
+
|
||||
class i18n(BuildContext):
|
||||
cmd = 'i18n'
|
||||
fun = 'i18n'
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
From 5a841ef4624ef4b776e578af80d2397241754b00 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Wed, 22 Jan 2020 00:47:33 +0100
|
||||
Subject: [PATCH 5/8] Tweaks to build/package scripts for new waf
|
||||
|
||||
* Windows: delete waf installed .dll.a files
|
||||
* Windows: override waf's conf.env.LIBDIR = conf.env.BINDIR
|
||||
with explicit --libdir
|
||||
* Windows: fix asm (`x86_64-w64-mingw32-as` -D flag is for
|
||||
debug messages, -D defines are not available)
|
||||
* Mac: override waf adding -install_name (and
|
||||
-Wl,-compatibility_version -Wl,-current_version)
|
||||
by moving -dynamiclib from linkflags to ldflags
|
||||
* Mac: Allow libs with compat version number suffix
|
||||
(not needed anymore, but may help in the future)
|
||||
|
||||
Upstream-Status: Backport [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/commit/5a841ef4624ef4b776e578af80d2397241754b00
|
||||
---
|
||||
libs/ardour/wscript | 7 ++++++-
|
||||
tools/osx_packaging/osx_build | 2 +-
|
||||
tools/x-win/compile.sh | 3 ++-
|
||||
tools/x-win/package.sh | 1 +
|
||||
wscript | 17 +++++++++++++++++
|
||||
5 files changed, 27 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
|
||||
index 8a65daaaf0..a27826953a 100644
|
||||
--- a/libs/ardour/wscript
|
||||
+++ b/libs/ardour/wscript
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
-from waflib import Options
|
||||
+from waflib import Options, Task, Tools
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
@@ -369,6 +369,11 @@ def build(bld):
|
||||
# micro increment <=> no interface changes
|
||||
LIBARDOUR_LIB_VERSION = "3.0.0"
|
||||
|
||||
+ # remove '${DEFINES_ST:DEFINES}' from run_str.
|
||||
+ # x86_64-w64-mingw32-as (mingw) -D flag is for debug messages
|
||||
+ if bld.env['build_target'] == 'mingw':
|
||||
+ class asm(Task.classes['asm']): run_str = '${AS} ${ASFLAGS} ${ASMPATH_ST:INCPATHS} ${AS_SRC_F}${SRC} ${AS_TGT_F}${TGT}'
|
||||
+
|
||||
# operate on copy to avoid adding sources twice
|
||||
sources = list(libardour_sources)
|
||||
if bld.is_tracks_build():
|
||||
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
|
||||
index 2b417b86af..cb681bafd1 100755
|
||||
--- a/tools/osx_packaging/osx_build
|
||||
+++ b/tools/osx_packaging/osx_build
|
||||
@@ -449,7 +449,7 @@ while [ true ] ; do
|
||||
strip -u -r -arch all $file &>/dev/null
|
||||
fi
|
||||
|
||||
- deps=`otool -L $file | awk '{print $1}' | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/$STDCPP)" | grep -v 'libjack\.' | grep -v "$(basename $file)"`
|
||||
+ deps=`otool -L $file | awk '{print $1}' | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/$STDCPP)" | grep -v 'libjack\.' | egrep -v "$(basename $file .dylib).*.dylib"`
|
||||
# echo -n "."
|
||||
for dep in $deps ; do
|
||||
base=`basename $dep`
|
||||
diff --git a/tools/x-win/compile.sh b/tools/x-win/compile.sh
|
||||
index d778e921b5..4f54f6623d 100755
|
||||
--- a/tools/x-win/compile.sh
|
||||
+++ b/tools/x-win/compile.sh
|
||||
@@ -79,7 +79,8 @@ LDFLAGS="-L${PREFIX}/lib" ./waf configure \
|
||||
--dist-target=mingw \
|
||||
--also-include=${PREFIX}/include \
|
||||
$ARDOURCFG \
|
||||
- --prefix=${PREFIX}
|
||||
+ --prefix=${PREFIX} \
|
||||
+ --libdir=${PREFIX}/lib
|
||||
./waf ${CONCURRENCY}
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
|
||||
index bfb7381e41..032c45a192 100755
|
||||
--- a/tools/x-win/package.sh
|
||||
+++ b/tools/x-win/package.sh
|
||||
@@ -200,6 +200,7 @@ cp gtk2_ardour/icons/cursor_square/* $DESTDIR/share/${LOWERCASE_DIRNAME}/icons/
|
||||
# clean build-dir after depoyment
|
||||
echo " === bundle completed, cleaning up"
|
||||
./waf uninstall
|
||||
+find $DESTDIR -name "*.dll.a" | xargs rm
|
||||
echo " === complete"
|
||||
du -sh $DESTDIR
|
||||
|
||||
diff --git a/wscript b/wscript
|
||||
index d4724ecb72..9fd84bb2ca 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -915,6 +915,12 @@ def configure(conf):
|
||||
conf.env.append_value ('CXXFLAGS', '-DSILENCE_AFTER')
|
||||
conf.define ('FREEBIE', 1)
|
||||
|
||||
+ # set explicit LIBDIR, otherwise mingw/windows builds use
|
||||
+ # conf.env.LIBDIR = conf.env.BINDIR and `waf install` fails
|
||||
+ # because $BINDIR/ardour6 is the main binary, and $LIBDIR/ardour6/ a directory
|
||||
+ if Options.options.libdir:
|
||||
+ conf.env.LIBDIR = Options.options.libdir
|
||||
+
|
||||
if Options.options.lv2dir:
|
||||
conf.env['LV2DIR'] = Options.options.lv2dir
|
||||
else:
|
||||
@@ -1247,6 +1253,17 @@ int main () { return 0; }
|
||||
# Fix utterly braindead FLAC include path to not smash assert.h
|
||||
conf.env['INCLUDES_FLAC'] = []
|
||||
|
||||
+ if sys.platform == 'darwin':
|
||||
+ # override waf's -install_name added in
|
||||
+ # waflib/Tools/ccroot.py when -dynamiclib is used
|
||||
+ if conf.env.LINKFLAGS_cshlib:
|
||||
+ conf.env.LINKFLAGS_cshlib = [];
|
||||
+ conf.env.LDFLAGS_cshlib = ['-dynamiclib']
|
||||
+
|
||||
+ if conf.env.LINKFLAGS_cxxshlib:
|
||||
+ conf.env.LINKFLAGS_cxxshlib = [];
|
||||
+ conf.env.LDFLAGS_cxxshlib = ['-dynamiclib']
|
||||
+
|
||||
config_text = open('libs/ardour/config_text.cc', "w")
|
||||
config_text.write('''#include "ardour/ardour.h"
|
||||
namespace ARDOUR {
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 7c381dab6e0977f61f9bbd08bd1d20f0fe2abcf6 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Sat, 25 Jan 2020 04:17:53 +0100
|
||||
Subject: [PATCH 6/8] Downgrade "using all channels" warning to info - part 2
|
||||
|
||||
---
|
||||
libs/backends/alsa/alsa_audiobackend.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc
|
||||
index 6b044f9fd0..357b00c044 100644
|
||||
--- a/libs/backends/alsa/alsa_audiobackend.cc
|
||||
+++ b/libs/backends/alsa/alsa_audiobackend.cc
|
||||
@@ -883,7 +883,7 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
|
||||
} else {
|
||||
_n_outputs = std::min (_n_outputs, _pcmi->nplay ());
|
||||
}
|
||||
- PBD::warning << _("AlsaAudioBackend: adjusted output channel count to match device.") << endmsg;
|
||||
+ PBD::info << _("AlsaAudioBackend: adjusted output channel count to match device.") << endmsg;
|
||||
}
|
||||
|
||||
if (_n_inputs != _pcmi->ncapt ()) {
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,114 +0,0 @@
|
||||
From 4fe30364951ea46b93e3c93acbaf2f777343d131 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Gareus <robin@gareus.org>
|
||||
Date: Sat, 25 Jan 2020 06:20:16 +0100
|
||||
Subject: [PATCH 7/8] Update waf2.x "subst" feature uses obj attributes
|
||||
|
||||
Upstrem-Status: Backport [1]
|
||||
|
||||
[1] https://github.com/Ardour/ardour/commit/4fe30364951ea46b93e3c93acbaf2f777343d131
|
||||
---
|
||||
libs/fst/wscript | 4 +---
|
||||
libs/plugins/a-comp.lv2/wscript | 2 +-
|
||||
libs/plugins/a-delay.lv2/wscript | 2 +-
|
||||
libs/plugins/a-eq.lv2/wscript | 2 +-
|
||||
libs/plugins/a-fluidsynth.lv2/wscript | 2 +-
|
||||
libs/plugins/a-reverb.lv2/wscript | 2 +-
|
||||
libs/plugins/reasonablesynth.lv2/wscript | 2 +-
|
||||
7 files changed, 7 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/libs/fst/wscript b/libs/fst/wscript
|
||||
index ca90b7207d..bbac8d6f27 100644
|
||||
--- a/libs/fst/wscript
|
||||
+++ b/libs/fst/wscript
|
||||
@@ -52,9 +52,7 @@ def build(bld):
|
||||
obj.target = 'ardour-vst-scanner'
|
||||
obj.chmod = Utils.O755
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
||||
- obj.dict = {
|
||||
- 'VERSION' : bld.env['VERSION'],
|
||||
- }
|
||||
+ obj.VERSION = bld.env['VERSION']
|
||||
|
||||
obj = bld (features = 'c cxx cxxprogram wine')
|
||||
obj.source = (
|
||||
diff --git a/libs/plugins/a-comp.lv2/wscript b/libs/plugins/a-comp.lv2/wscript
|
||||
index 99d7bb03f1..00099cb564 100644
|
||||
--- a/libs/plugins/a-comp.lv2/wscript
|
||||
+++ b/libs/plugins/a-comp.lv2/wscript
|
||||
@@ -34,7 +34,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-delay.lv2/wscript b/libs/plugins/a-delay.lv2/wscript
|
||||
index 2af05ff137..c28d7cabcf 100644
|
||||
--- a/libs/plugins/a-delay.lv2/wscript
|
||||
+++ b/libs/plugins/a-delay.lv2/wscript
|
||||
@@ -33,7 +33,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-eq.lv2/wscript b/libs/plugins/a-eq.lv2/wscript
|
||||
index e36a804f7f..6f380aa232 100644
|
||||
--- a/libs/plugins/a-eq.lv2/wscript
|
||||
+++ b/libs/plugins/a-eq.lv2/wscript
|
||||
@@ -33,7 +33,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/a-fluidsynth.lv2/wscript b/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
index 3a093259d6..681ad1f489 100644
|
||||
--- a/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
+++ b/libs/plugins/a-fluidsynth.lv2/wscript
|
||||
@@ -32,7 +32,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'cxx cshlib',
|
||||
diff --git a/libs/plugins/a-reverb.lv2/wscript b/libs/plugins/a-reverb.lv2/wscript
|
||||
index 3eb5ce10bc..a11e2cf7af 100644
|
||||
--- a/libs/plugins/a-reverb.lv2/wscript
|
||||
+++ b/libs/plugins/a-reverb.lv2/wscript
|
||||
@@ -32,7 +32,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
diff --git a/libs/plugins/reasonablesynth.lv2/wscript b/libs/plugins/reasonablesynth.lv2/wscript
|
||||
index 0eb5c55a04..ee54ce8bee 100644
|
||||
--- a/libs/plugins/reasonablesynth.lv2/wscript
|
||||
+++ b/libs/plugins/reasonablesynth.lv2/wscript
|
||||
@@ -32,7 +32,7 @@ def build(bld):
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||
obj.chmod = Utils.O644
|
||||
- obj.dict = {'LIB_EXT': module_ext}
|
||||
+ obj.LIB_EXT = module_ext
|
||||
|
||||
# Build plugin library
|
||||
obj = bld(features = 'c cshlib',
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
From cf71cc33c44d25a5483ef3ed4ea994f845e0f9b8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 25 Jan 2020 17:20:39 +0100
|
||||
Subject: [PATCH] a-comp.lv2/wscript: sync to master
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Backport
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
libs/plugins/a-comp.lv2/wscript | 12 +++++-------
|
||||
1 file changed, 5 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/libs/plugins/a-comp.lv2/wscript b/libs/plugins/a-comp.lv2/wscript
|
||||
index 00099cb564..c739e4bea7 100644
|
||||
--- a/libs/plugins/a-comp.lv2/wscript
|
||||
+++ b/libs/plugins/a-comp.lv2/wscript
|
||||
@@ -15,10 +15,9 @@ def options(opt):
|
||||
def configure(conf):
|
||||
conf.load('compiler_c')
|
||||
autowaf.configure(conf)
|
||||
- if Options.options.lv2:
|
||||
- autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0',
|
||||
- uselib_store='LV2_1_0_0')
|
||||
- autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12.0')
|
||||
+ autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0',
|
||||
+ uselib_store='LV2_1_0_0')
|
||||
+ autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12.0')
|
||||
|
||||
def build(bld):
|
||||
bundle = 'a-comp.lv2'
|
||||
@@ -28,7 +27,6 @@ def build(bld):
|
||||
if bld.is_defined('HAVE_LV2'):
|
||||
# Build RDF files
|
||||
for i in ['manifest.ttl', 'a-comp.ttl', 'a-comp#stereo.ttl', 'presets.ttl']:
|
||||
- bld(features = 'subst',
|
||||
obj = bld(features='subst')
|
||||
obj.source = i + '.in'
|
||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||
@@ -40,8 +38,8 @@ def build(bld):
|
||||
obj = bld(features = 'c cshlib',
|
||||
source = 'a-comp.c',
|
||||
name = 'a-comp',
|
||||
- cflags = [ '-fPIC', bld.env['compiler_flags_dict']['c99'] ],
|
||||
- includes = [ '../../ardour' ],
|
||||
+ cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||
+ includes = [ '../../ardour', '../shared' ],
|
||||
target = '../../LV2/%s/a-comp' % bundle,
|
||||
install_path = '${LV2DIR}/%s' % bundle,
|
||||
uselib = 'CAIRO',
|
||||
--
|
||||
2.21.0
|
||||
|
||||
172
recipes-musicians/ardour/ardour5/waf-backport/waf
vendored
172
recipes-musicians/ardour/ardour5/waf-backport/waf
vendored
File diff suppressed because one or more lines are too long
@@ -1,127 +0,0 @@
|
||||
SUMMARY = "Ardour is a multi-channel digital audio workstation"
|
||||
HOMEPAGE = "http://ardour.org/"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b"
|
||||
|
||||
DEPENDS += " \
|
||||
gettext-native \
|
||||
gtk+ \
|
||||
gtkmm \
|
||||
cppunit \
|
||||
jack \
|
||||
alsa-lib \
|
||||
fftw \
|
||||
vamp-plugin-sdk \
|
||||
aubio \
|
||||
taglib \
|
||||
boost \
|
||||
virtual/libx11 \
|
||||
dssi \
|
||||
zlib \
|
||||
lrdf \
|
||||
rubberband \
|
||||
suil \
|
||||
lilv \
|
||||
libarchive \
|
||||
libltc \
|
||||
qm-dsp \
|
||||
fluidsynth \
|
||||
"
|
||||
|
||||
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg siteinfo
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/Ardour/ardour.git \
|
||||
file://waf-backport/waf \
|
||||
file://waf-backport/0001-Towards-waf-python-2-3-support.patch \
|
||||
file://waf-backport/0002-Update-waf-to-v2.0.19.patch \
|
||||
file://waf-backport/0003-Change-waf-darwin-default-compiler-to-prefer-gcc-if-.patch \
|
||||
file://waf-backport/0004-Tweaks-to-build-package-scripts-for-new-waf.patch \
|
||||
file://waf-backport/0005-Downgrade-using-all-channels-warning-to-info-part-2.patch \
|
||||
file://waf-backport/0006-Update-waf2.x-subst-feature-uses-obj-attributes.patch \
|
||||
file://waf-backport/0007-a-comp.lv2-wscript-sync-to-master.patch \
|
||||
file://0001-remove-all-build-flags-that-cause-trouble-for-cross-.patch \
|
||||
file://0002-Use-ARM-NEON-intrinsics-if-available-for-mixing-func.patch \
|
||||
file://0003-Prevent-excessive-meter-redraws-for-inactive-meters-.patch \
|
||||
file://0004-Prevent-excessive-meter-redraws-for-inactive-meters-.patch \
|
||||
file://0005-Follow-fluidsynth-s-API-changes-introduced-with-2.0..patch \
|
||||
file://0006-Find-fmt-binding-in-out-of-tree-building.patch \
|
||||
file://ardour5.desktop \
|
||||
"
|
||||
SRCREV = "ae0dcdc0c5d13483271065c360e378202d20170a"
|
||||
PV = "5.12"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# arch specific override - default (tested) is ARM -> no fpu-optimizations
|
||||
# can be something like i686 / x86_64 see file 'wscript' in sourcepath for more details
|
||||
BUILD_DIST_TARGET ??= "none"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--configdir=${sysconfdir} \
|
||||
--bindir=${bindir} \
|
||||
--libdir=${libdir} \
|
||||
--optimize \
|
||||
--cxx11 \
|
||||
--no-phone-home \
|
||||
--use-external-libs \
|
||||
--qm-dsp-include=${STAGING_INCDIR}/qm-dsp \
|
||||
\
|
||||
--with-backends="jack,alsa" \
|
||||
--dist-target=${BUILD_DIST_TARGET} \
|
||||
"
|
||||
|
||||
PATH_append = ":${B}"
|
||||
|
||||
# Asking fails - waf supports --bindir / --libdir
|
||||
waf_preconfigure() {
|
||||
}
|
||||
|
||||
do_configure_prepend() {
|
||||
# link python -> python3
|
||||
ln -sf `which python3` ${B}/python
|
||||
# copy waf
|
||||
cp -f ${WORKDIR}/waf-backport/waf ${S}/
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
# install icons to freedesktop locations
|
||||
for s in 16 22 32 48 256 512; do
|
||||
install -d ${D}${datadir}/icons/hicolor/${s}x${s}/apps
|
||||
ln -s ../../../../${BPN}/resources/Ardour-icon_${s}px.png \
|
||||
${D}${datadir}/icons/hicolor/${s}x${s}/apps/${BPN}.png
|
||||
done
|
||||
|
||||
# install .desktop
|
||||
install -d ${D}${datadir}/applications
|
||||
install -m 0644 ${WORKDIR}/ardour5.desktop ${D}${datadir}/applications
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/${BPN} \
|
||||
${libdir}/${BPN} \
|
||||
"
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
${libdir}/${BPN}/libardour.so \
|
||||
${libdir}/${BPN}/libardouralsautil.so \
|
||||
${libdir}/${BPN}/libaudiographer.so \
|
||||
${libdir}/${BPN}/libcanvas.so \
|
||||
${libdir}/${BPN}/libevoral.so \
|
||||
${libdir}/${BPN}/libgtkmm2ext.so \
|
||||
${libdir}/${BPN}/libmidipp.so \
|
||||
${libdir}/${BPN}/libpbd.so \
|
||||
${libdir}/${BPN}/libptformat.so \
|
||||
${libdir}/${BPN}/libwaveview.so \
|
||||
${libdir}/${BPN}/libwidgets.so \
|
||||
${libdir}/${BPN}/vamp/*.so \
|
||||
"
|
||||
|
||||
FILES_${PN}-staticdev += " \
|
||||
${libdir}/${BPN}/*.a \
|
||||
"
|
||||
|
||||
# did not get ardour6 to fly on 32bit systems - so (r)provide for 32 bits as fallback
|
||||
PROVIDES = "${@oe.utils.conditional('SITEINFO_BITS', '32', 'ardour', '', d)}"
|
||||
RPROVIDES_${PN} = "${@oe.utils.conditional('SITEINFO_BITS', '32', 'ardour', '', d)}"
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Ardour is a multi-channel digital audio workstation"
|
||||
HOMEPAGE = "http://ardour.org/"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b"
|
||||
|
||||
DEPENDS += " \
|
||||
@@ -29,13 +29,13 @@ DEPENDS += " \
|
||||
hidapi \
|
||||
"
|
||||
|
||||
inherit waf features_check gtk-icon-cache pkgconfig python3native mime-xdg siteinfo
|
||||
inherit waf features_check gtk-icon-cache pkgconfig python3native mime mime-xdg
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI = "git://github.com/Ardour/ardour.git"
|
||||
SRCREV = "80e3c191e412be7da5e0d05856e14f2f208b3035"
|
||||
PV = "6.5"
|
||||
SRC_URI = "git://github.com/Ardour/ardour.git;branch=master;protocol=https"
|
||||
SRCREV = "945c8f288077565fe3de32c6ac0cb50e286722e4"
|
||||
PV = "6.9"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# arch specific override - default (tested) is ARM -> no fpu-optimizations
|
||||
@@ -58,31 +58,20 @@ EXTRA_OECONF = " \
|
||||
--dist-target=${BUILD_DIST_TARGET} \
|
||||
"
|
||||
|
||||
PATH_append = ":${B}"
|
||||
PATH:append = ":${B}"
|
||||
|
||||
# Asking fails - waf supports --bindir / --libdir
|
||||
waf_preconfigure() {
|
||||
}
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# link python -> python3
|
||||
ln -sf `which python3` ${B}/python
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
# install icons to freedesktop locations
|
||||
for s in 16 22 32 48 256 512; do
|
||||
install -d ${D}${datadir}/icons/hicolor/${s}x${s}/apps
|
||||
ln -s ../../../../${BPN}/resources/Ardour-icon_${s}px.png \
|
||||
${D}${datadir}/icons/hicolor/${s}x${s}/apps/${BPN}.png
|
||||
done
|
||||
|
||||
# install .desktop
|
||||
install -d ${D}${datadir}/applications
|
||||
install -m 0644 ${B}/gtk2_ardour/ardour6.desktop ${D}${datadir}/applications
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
FILES:${PN}-dev += " \
|
||||
${datadir}/appdata \
|
||||
${datadir}/mime \
|
||||
${libdir}/${BPN}/libardour.so \
|
||||
${libdir}/${BPN}/libardouralsautil.so \
|
||||
${libdir}/${BPN}/libaudiographer.so \
|
||||
@@ -98,10 +87,9 @@ FILES_${PN}-dev += " \
|
||||
${libdir}/${BPN}/vamp/*.so \
|
||||
"
|
||||
|
||||
FILES_${PN}-staticdev += " \
|
||||
FILES:${PN}-staticdev += " \
|
||||
${libdir}/${BPN}/*.a \
|
||||
"
|
||||
|
||||
# did not get ardour6 to fly on 32bit systems - so (r)provide for 64 bits only
|
||||
PROVIDES = "${@oe.utils.conditional('SITEINFO_BITS', '64', 'ardour', '', d)}"
|
||||
RPROVIDES_${PN} = "${@oe.utils.conditional('SITEINFO_BITS', '64', 'ardour', '', d)}"
|
||||
PROVIDES = "ardour"
|
||||
RPROVIDES:${PN} = "ardour"
|
||||
@@ -0,0 +1,27 @@
|
||||
From 8a05420e5dd8c7b8b2447f82dc919765876511b3 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Brossier <piem@piem.org>
|
||||
Date: Tue, 25 Jan 2022 18:30:27 +0100
|
||||
Subject: [PATCH] [source_avcodec] define FF_API_LAVF_AVCTX for libavcodec >
|
||||
59, thx @berolinux (closes gh-353)
|
||||
|
||||
|
||||
Upstream-Status: Accepted[https://github.com/aubio/aubio/commit/8a05420e5dd8c7b8b2447f82dc919765876511b3]
|
||||
---
|
||||
src/io/source_avcodec.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
|
||||
index e0ae93b5..1421bd9a 100644
|
||||
--- a/src/io/source_avcodec.c
|
||||
+++ b/src/io/source_avcodec.c
|
||||
@@ -68,6 +68,10 @@
|
||||
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
|
||||
#endif
|
||||
|
||||
+#if LIBAVCODEC_VERSION_MAJOR >= 59
|
||||
+#define FF_API_LAVF_AVCTX 1
|
||||
+#endif
|
||||
+
|
||||
struct _aubio_source_avcodec_t {
|
||||
uint_t hop_size;
|
||||
uint_t samplerate;
|
||||
35
recipes-musicians/aubio/aubio/0004-fix-waf-binary-read.patch
Normal file
35
recipes-musicians/aubio/aubio/0004-fix-waf-binary-read.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
Index: aubio-0.4.9/waflib/Context.py
|
||||
===================================================================
|
||||
--- aubio-0.4.9.orig/waflib/Context.py
|
||||
+++ aubio-0.4.9/waflib/Context.py
|
||||
@@ -106,7 +106,7 @@ class Context(ctx):
|
||||
cache[node]=True
|
||||
self.pre_recurse(node)
|
||||
try:
|
||||
- function_code=node.read('rU',encoding)
|
||||
+ function_code=node.read('rb',encoding)
|
||||
exec(compile(function_code,node.abspath(),'exec'),self.exec_dict)
|
||||
finally:
|
||||
self.post_recurse(node)
|
||||
@@ -346,7 +346,7 @@ def load_module(path,encoding=None):
|
||||
pass
|
||||
module=imp.new_module(WSCRIPT_FILE)
|
||||
try:
|
||||
- code=Utils.readf(path,m='rU',encoding=encoding)
|
||||
+ code=Utils.readf(path,m='rb',encoding=encoding)
|
||||
except EnvironmentError:
|
||||
raise Errors.WafError('Could not read the file %r'%path)
|
||||
module_dir=os.path.dirname(path)
|
||||
Index: aubio-0.4.9/waflib/ConfigSet.py
|
||||
===================================================================
|
||||
--- aubio-0.4.9.orig/waflib/ConfigSet.py
|
||||
+++ aubio-0.4.9/waflib/ConfigSet.py
|
||||
@@ -146,7 +146,7 @@ class ConfigSet(object):
|
||||
Utils.writef(filename,''.join(buf))
|
||||
def load(self,filename):
|
||||
tbl=self.table
|
||||
- code=Utils.readf(filename,m='rU')
|
||||
+ code=Utils.readf(filename,m='r')
|
||||
for m in re_imp.finditer(code):
|
||||
g=m.group
|
||||
tbl[g(2)]=eval(g(3))
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "aubio is designed for the extraction of annotations from audio signals"
|
||||
HOMEPAGE = "https://aubio.org/"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit waf pkgconfig
|
||||
@@ -17,8 +17,9 @@ SRC_URI = " \
|
||||
https://aubio.org/pub/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-do-not-build-tests.patch \
|
||||
file://0002-Fix-build-for-python3-only-environments.patch \
|
||||
file://0003-define_FF_API_LAVF_AVCTX_for_libavcodec_59.patch \
|
||||
file://0004-fix-waf-binary-read.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "50c9c63b15a2692378af5d602892f16a"
|
||||
SRC_URI[sha256sum] = "d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
SUMMARY = "Audacity is an easy-to-use, multi-track audio editor and recorder"
|
||||
HOMEPAGE = "https://www.audacityteam.org/"
|
||||
LICENSE = "GPL-2.0 & CC-BY-3.0"
|
||||
LICENSE = "GPL-2.0-only & CC-BY-3.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=549b88b1c547acbec8f9e262f30b573e"
|
||||
|
||||
PV = "2.4.2"
|
||||
SRC_URI = " \
|
||||
git://github.com/audacity/audacity.git \
|
||||
git://github.com/audacity/audacity.git;branch=master;protocol=https \
|
||||
file://0001-Do-not-ask-git-for-version-information-it-breaks-bui.patch \
|
||||
file://0002-Build-with-ffmpeg4.patch \
|
||||
"
|
||||
SRCREV ="16d52f63a4183bba77ef7305d14622958dc0d1d5"
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -20,7 +21,7 @@ DEPENDS = " \
|
||||
alsa-lib \
|
||||
jack \
|
||||
libid3tag \
|
||||
ffmpeg \
|
||||
ffmpeg4 \
|
||||
libmad \
|
||||
vamp-plugin-sdk \
|
||||
libogg \
|
||||
@@ -35,9 +36,9 @@ DEPENDS = " \
|
||||
soundtouch \
|
||||
"
|
||||
|
||||
inherit cmake python3native gettext gtk-icon-cache mime mime-xdg
|
||||
inherit cmake pkgconfig python3native gettext gtk-icon-cache mime mime-xdg
|
||||
|
||||
do_configure_append() {
|
||||
do_configure:append() {
|
||||
# do set version
|
||||
# see 0001-Do-not-ask-git-for-version-information-it-breaks-bui.patch
|
||||
# and ${S}/cmake-proxies/cmake-modules/Version.cmake. Think it erros out
|
||||
@@ -46,7 +47,7 @@ do_configure_append() {
|
||||
git show -s "--format=#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n" >> ${B}/src/private/RevisionIdent.h
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${datadir}/appdata \
|
||||
${datadir}/mime \
|
||||
"
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
From 7b62fe6f493f0110ccdea23c9cf7ea493d152f0c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Thu, 17 Mar 2022 21:50:27 +0100
|
||||
Subject: [PATCH] Build with ffmpeg4
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
cmake-proxies/CMakeLists.txt | 2 +-
|
||||
cmake-proxies/ffmpeg/CMakeLists.txt | 6 +++---
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/cmake-proxies/CMakeLists.txt b/cmake-proxies/CMakeLists.txt
|
||||
index 9ca7286ac..62e515491 100644
|
||||
--- a/cmake-proxies/CMakeLists.txt
|
||||
+++ b/cmake-proxies/CMakeLists.txt
|
||||
@@ -137,7 +137,7 @@ addlib( portaudio-v19 portaudio PORTAUDIO YES YES "" )
|
||||
# Optional libraries
|
||||
#
|
||||
# directory option symbol req chk version
|
||||
-addlib( ffmpeg ffmpeg FFMPEG NO NO "libavcodec >= 51.53" "libavformat >= 52.12" "libavutil >= 52.66" )
|
||||
+addlib( ffmpeg ffmpeg FFMPEG NO NO "libavcodec4 >= 51.53" "libavformat4 >= 52.12" "libavutil4 >= 52.66" )
|
||||
addlib( libid3tag id3tag LIBID3TAG NO YES "id3tag >= 0.15.1b" )
|
||||
addlib( libmad mad LIBMAD NO YES "mad >= 0.15.1b" )
|
||||
addlib( libnyquist nyquist NYQUIST NO YES "" )
|
||||
diff --git a/cmake-proxies/ffmpeg/CMakeLists.txt b/cmake-proxies/ffmpeg/CMakeLists.txt
|
||||
index 98f12c86d..f5ed33f33 100644
|
||||
--- a/cmake-proxies/ffmpeg/CMakeLists.txt
|
||||
+++ b/cmake-proxies/ffmpeg/CMakeLists.txt
|
||||
@@ -2,9 +2,9 @@
|
||||
# Add our target and all of it's aliases
|
||||
add_library( ${TARGET} INTERFACE )
|
||||
add_library( ${symbol} ALIAS ${TARGET} )
|
||||
-add_library( libavcodec ALIAS ${TARGET} )
|
||||
-add_library( libavformat ALIAS ${TARGET} )
|
||||
-add_library( libavutil ALIAS ${TARGET} )
|
||||
+add_library( libavcodec4 ALIAS ${TARGET} )
|
||||
+add_library( libavformat4 ALIAS ${TARGET} )
|
||||
+add_library( libavutil4 ALIAS ${TARGET} )
|
||||
|
||||
# Pull in standard variables
|
||||
def_vars()
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -10,4 +10,4 @@ do_install() {
|
||||
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "pam-plugin-limits"
|
||||
RDEPENDS:${PN} = "pam-plugin-limits"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Emulator for vintage synthesisers, electric pianos and organs"
|
||||
HOMEPAGE = "https://sourceforge.net/projects/bristol/"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
@@ -32,7 +32,7 @@ EXTRA_OECONF = " \
|
||||
# The fix necessary is huge and requires background knowledge
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
# the tar magic makes files owned by build user
|
||||
chown -R root:root ${D}${datadir}
|
||||
# align data paths
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SUMMARY = "High quality open source audio plugins for musicians"
|
||||
HOMEPAGE = "http://calf-studio-gear.org/"
|
||||
LICENSE = "GPLv2 & LGPLv2.1"
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=dcf3c825659e82539645da41a7908589 \
|
||||
file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/calf-studio-gear/calf.git \
|
||||
git://github.com/calf-studio-gear/calf.git;branch=master;protocol=https \
|
||||
file://0001-Do-store-calfmakerdf-commandline-for-later-use-in-qe.patch \
|
||||
file://0002-fluidsynth-Activate-synth.dynamic-sample-loading-for.patch \
|
||||
"
|
||||
@@ -31,19 +31,19 @@ EXTRA_OECONF += " \
|
||||
--enable-experimental \
|
||||
"
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
sed -i 's:%QEMUCOMMAND%:${WORKDIR}/QemuCommands:g' `find ${S} -name Makefile.am`
|
||||
}
|
||||
|
||||
QEMU_EXTRA_LIBDIR = "${D}${libdir}/calf"
|
||||
|
||||
do_install_prepend() {
|
||||
do_install:prepend() {
|
||||
# These are installed by calfmakerdf but that's moved to end of installation
|
||||
install -d ${D}${libdir}/lv2
|
||||
install -d ${D}${datadir}/calf
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
# build ttl-files must be done in quemu (lv2-ttl-generator-data loads
|
||||
# so-files and calls functions to create ttl-files)
|
||||
cat ${WORKDIR}/QemuCommands | while read calfmakerdf_param; do
|
||||
@@ -58,5 +58,5 @@ do_install_append() {
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
INSANE_SKIP_${PN} = "dev-so"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
INSANE_SKIP:${PN} = "dev-so"
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
SUMMARY = "Audio plugin host"
|
||||
HOMEPAGE = "http://kxstudio.linuxaudio.org/Applications:Carla"
|
||||
LICENSE = "GPLv2 & LGPLv3"
|
||||
LICENSE = "GPL-2.0-only & LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://doc/GPL.txt;md5=4641e94ec96f98fabc56ff9cc48be14b \
|
||||
file://doc/LGPL.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/falkTX/Carla.git \
|
||||
git://github.com/falkTX/Carla.git;branch=main;protocol=https \
|
||||
file://0001-do-not-try-to-cross-run-carla-lv2-export.patch \
|
||||
file://0002-Do-not-try-to-find-Qt5-host-bins-it-won-t-work.patch \
|
||||
"
|
||||
SRCREV = "1b5080dff02b1e751e32f0582e4aee7bc2c74a67"
|
||||
SRCREV = "6bc9a90ebb1767649d2538108ed4a604ce96dacb"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "2.1.1"
|
||||
PV = "2.5.0"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
inherit qmake5_base pkgconfig qemu-ext-musicians features_check mime mime-xdg gtk-icon-cache
|
||||
inherit qmake5_base python3native pkgconfig qemu-ext-musicians features_check mime mime-xdg gtk-icon-cache
|
||||
|
||||
B = "${S}"
|
||||
|
||||
@@ -48,16 +47,18 @@ do_configure() {
|
||||
oe_runmake features
|
||||
}
|
||||
|
||||
do_compile_append() {
|
||||
do_compile:append() {
|
||||
cd ${S}/bin
|
||||
${@qemu_run_binary_local(d, '${STAGING_DIR_TARGET}', 'carla-lv2-export')}
|
||||
cd ${S}/bin/carla.lv2 && ln -sf ../*bridge-* ../carla-discovery-* .
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} install
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${datadir}/appdata \
|
||||
${datadir}/icons \
|
||||
${datadir}/mime \
|
||||
${libdir}/jack \
|
||||
@@ -65,6 +66,6 @@ FILES_${PN} += " \
|
||||
${libdir}/vst \
|
||||
"
|
||||
|
||||
INSANE_SKIP_${PN} = "dev-so"
|
||||
INSANE_SKIP:${PN} = "dev-so"
|
||||
|
||||
RDEPENDS_${PN} += "python3-pyqt5 bash"
|
||||
RDEPENDS:${PN} += "python3-pyqt5 bash"
|
||||
@@ -1,5 +1,5 @@
|
||||
From 88c61efce068b4cfe6d4c175bd9d1b85def23708 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 15 Jul 2017 00:03:36 +0200
|
||||
Subject: [PATCH] do not try to cross-run carla-lv2-export
|
||||
MIME-Version: 1.0
|
||||
@@ -8,24 +8,27 @@ Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [cross specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
|
||||
---
|
||||
source/plugin/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
source/plugin/Makefile | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/source/plugin/Makefile b/source/plugin/Makefile
|
||||
index 59b5c5d..3bcb368 100644
|
||||
index 389dd77ee..251ecc18c 100644
|
||||
--- a/source/plugin/Makefile
|
||||
+++ b/source/plugin/Makefile
|
||||
@@ -206,7 +206,7 @@ $(BINDIR)/carla.lv2/manifest.ttl: $(OBJDIR)/carla-lv2-export.cpp.o $(LIBS)
|
||||
ifeq ($(BUILDING_FOR_WINDOWS),true)
|
||||
@cd $(BINDIR) && wine ./carla-lv2-export$(APP_EXT)
|
||||
else
|
||||
- @cd $(BINDIR) && ./carla-lv2-export$(APP_EXT)
|
||||
+ @cd $(BINDIR)
|
||||
endif
|
||||
@cd $(BINDIR)/carla.lv2 && ln -sf ../*bridge-* ../carla-discovery-* .
|
||||
@@ -528,9 +528,7 @@ $(BINDIR)/carla.lv2/manifest.ttl: $(OBJDIR)/carla-lv2-export.cpp.o $(BINDIR)/car
|
||||
@echo "Linking carla-lv2-export$(APP_EXT)"
|
||||
$(SILENT)$(CXX) $< $(LIBS_START) $(LIBS) $(LIBS_juce) $(LIBS_END) $(NATIVE_LINK_FLAGS) -o $(BINDIR)/carla-lv2-export$(APP_EXT)
|
||||
|
||||
- @echo "Generating LV2 ttl data"
|
||||
- $(SILENT)cd $(BINDIR) && $(EXE_WRAPPER) ./carla-lv2-export$(APP_EXT)
|
||||
- $(SILENT)cd $(BINDIR)/carla.lv2 && ln -sf ../*bridge-* ../carla-discovery-* .
|
||||
+ @echo "LV2 ttl data creation is postponed"
|
||||
|
||||
$(BINDIR)/carla-lv2-export$(APP_EXT): $(OBJDIR)/carla-lv2-export.cpp.o
|
||||
-@mkdir -p $(BINDIR)
|
||||
--
|
||||
2.9.4
|
||||
2.34.3
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
From 079d1a1b34394b76d23ce7d92254cb785333d3e7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Thu, 20 Sep 2018 22:44:48 +0200
|
||||
Subject: [PATCH] Do not try to find Qt5 host bins - it won't work
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [cross specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
source/Makefile.mk | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/source/Makefile.mk b/source/Makefile.mk
|
||||
index 6d1b24859..37518ef96 100644
|
||||
--- a/source/Makefile.mk
|
||||
+++ b/source/Makefile.mk
|
||||
@@ -285,7 +285,6 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_QT5),true)
|
||||
-QT5_HOSTBINS = $(shell $(PKG_CONFIG) --variable=host_bins Qt5Core)
|
||||
MOC_QT5 ?= $(QT5_HOSTBINS)/moc
|
||||
RCC_QT5 ?= $(QT5_HOSTBINS)/rcc
|
||||
UIC_QT5 ?= $(QT5_HOSTBINS)/uic
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Chromaprint is library that extracts fingerprints from audio sources"
|
||||
HOMEPAGE = "https://acoustid.org/chromaprint"
|
||||
LICENSE = "MIT & LGPLv2.1"
|
||||
LICENSE = "MIT & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5d50f7a9fde1110fa1756b0f5faa26f2"
|
||||
|
||||
inherit cmake
|
||||
@@ -10,7 +10,7 @@ DEPENDS += " \
|
||||
ffmpeg \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/acoustid/chromaprint.git"
|
||||
SRC_URI = "git://github.com/acoustid/chromaprint.git;branch=master;protocol=https"
|
||||
SRCREV = "516e3b31c7fa6e822035ea3b3e31f9c7f51ef4b6"
|
||||
PV = "1.5.0"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SUMMARY = "A sound and music computing system"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
|
||||
|
||||
inherit cmake gettext python3native
|
||||
@@ -25,7 +25,7 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/csound/csound.git;branch=develop \
|
||||
git://github.com/csound/csound.git;branch=develop;protocol=https \
|
||||
file://0001-Do-not-set-include-path-to-usr-local-include.patch \
|
||||
file://0002-use-standard-plugins-path.patch \
|
||||
"
|
||||
@@ -53,10 +53,10 @@ PACKAGES =+ " \
|
||||
${PN}-samples \
|
||||
"
|
||||
|
||||
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
RDEPENDS_${PN}-python += "python3-core"
|
||||
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
RDEPENDS:${PN}-python += "python3-core"
|
||||
|
||||
FILES_${PN}-luajit = "${libdir}/lua"
|
||||
FILES:${PN}-luajit = "${libdir}/lua"
|
||||
|
||||
FILES_${PN}-samples = "${datadir}/samples"
|
||||
FILES:${PN}-samples = "${datadir}/samples"
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From 083bbdcab900d1d3b101ee2adb9eff6f15aa56a2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sun, 26 May 2019 01:20:53 +0200
|
||||
Subject: [PATCH] Remove -Werror from CXXFLAGS
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Works around warning -> errors
|
||||
|
||||
| #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
||||
| ^~~~~~~
|
||||
| In file included from ../../git/src/midiconnectionsmodel.h:7,
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
common.pri | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/common.pri b/common.pri
|
||||
index 11d9315..35f696e 100644
|
||||
--- a/common.pri
|
||||
+++ b/common.pri
|
||||
@@ -10,6 +10,6 @@ INSTALL_BIN = $${INSTALL_PREFIX}/bin
|
||||
INSTALL_TRANSLATION = $${INSTALL_PREFIX}/share/$${APPNAME}/$${APPNAME}
|
||||
|
||||
CONFIG += c++11 link_pkgconfig warn_on
|
||||
-QMAKE_CXXFLAGS += -Werror
|
||||
+#QMAKE_CXXFLAGS += -Werror
|
||||
|
||||
PKGCONFIG += alsa
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -2,24 +2,25 @@ SUMMARY = "A linux editor for the Akai LPD8"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6dc9df5fa3108f437a4580b0aebca196"
|
||||
|
||||
inherit pkgconfig qmake5 gtk-icon-cache
|
||||
inherit cmake_qt5 pkgconfig gtk-icon-cache
|
||||
|
||||
DEPENDS += " \
|
||||
qttools-native \
|
||||
qttools \
|
||||
qtbase \
|
||||
qtsvg \
|
||||
alsa-lib \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/charlesfleche/lpd8editor.git \
|
||||
file://0001-Remove-Werror-from-CXXFLAGS.patch\
|
||||
git://github.com/charlesfleche/lpd8editor.git;branch=master;protocol=https \
|
||||
file://lpd8-editor.desktop \
|
||||
"
|
||||
SRCREV = "c5b3a64487b3f126f9da15e94d547eff8e972c0c"
|
||||
PV = "0.0.13"
|
||||
SRCREV = "ae9072e58d23d5926ca8d0228400eead9248a494"
|
||||
PV = "0.0.16"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
install -Dm 644 ${WORKDIR}/lpd8-editor.desktop ${D}/${datadir}/applications/lpd8-editor.desktop
|
||||
install -Dm 644 ${S}/lpd8editor.svg ${D}/${datadir}/icons/hicolor/scalable/apps/lpd8-editor.svg
|
||||
}
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
SUMMARY = "Collection of synthesizers and plugins"
|
||||
HOMEPAGE = "http://distrho.sourceforge.net/ports"
|
||||
LICENSE = "GPLv2 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://ports/argotlunar/README.md;md5=81abc323be6ba481ab72864b53b3daca \
|
||||
file://ports/protoplug/license.txt;md5=56b9d913eb7c3ef00ca375ab614bf02f \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/DISTRHO/DISTRHO-Ports-Extra.git \
|
||||
"
|
||||
# TODO:
|
||||
# argolunar: no sound (presets?)
|
||||
# pdpulp: segfault
|
||||
# protoplug asks for files
|
||||
|
||||
SRCREV = "b6f25f1feb4de49136844f20d88bec6439cdfbc5"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.0.0+git${SRCPV}"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
inherit lv2-turtle-helper features_check pack_audio_plugins
|
||||
|
||||
# distro-ports dependency for special hack script / libs
|
||||
DEPENDS += " \
|
||||
premake3-native \
|
||||
virtual/libgl \
|
||||
libx11 \
|
||||
libxext \
|
||||
libxcursor \
|
||||
freetype \
|
||||
csound \
|
||||
distrho-ports \
|
||||
"
|
||||
|
||||
LV2_TTL_GENERATOR = "${STAGING_BINDIR}/lv2_ttl_generator"
|
||||
|
||||
do_ttl_sed() {
|
||||
# Seems this collection is not ready for public
|
||||
# scripts/libs are (broken) symlinks to /usr/src/distrho) - copy 'shared'
|
||||
# from distrho-ports (hack but we need to patch distrho-ports only)
|
||||
rm -rf ${S}/libs
|
||||
rm -rf ${S}/scripts
|
||||
cp -r ${STAGING_BINDIR}/scripts ${S}
|
||||
cp -r ${STAGING_LIBDIR}/libs ${S}
|
||||
# manipulate scripts to keep lv2_ttl_generator-calls in script for lv2-turtle-helper
|
||||
sed -i 's|$GEN ./$FILE|echo "`pwd`/$FILE" >> ${LV2_PLUGIN_INFO_FILE}|g' `find ${S}/scripts -name *.sh`
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
cd ${S}
|
||||
# platforms supporting sse2 can override NOOPTIMIZATIONS - later todo?
|
||||
NOOPTIMIZATIONS=1 ${S}/scripts/premake-update.sh linux
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}
|
||||
cp -r ${S}/bin/* ${D}${libdir}
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
${libdir}/cabbage* \
|
||||
"
|
||||
|
||||
# for common (?) cabbage files
|
||||
RDEPENDS_${PN_LV2} += "${PN}"
|
||||
RDEPENDS_${PN_VST} += "${PN}"
|
||||
|
||||
# Have not found what causes stripping - debugging of plugins is unlikely
|
||||
INSANE_SKIP_${PN} = "already-stripped"
|
||||
@@ -1,15 +1,14 @@
|
||||
SUMMARY = "Collection of synthesizers and plugins"
|
||||
HOMEPAGE = "http://distrho.sourceforge.net/ports"
|
||||
LICENSE = "GPLv2 & LGPLv3"
|
||||
LICENSE = "GPL-2.0-only & LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://doc/GPL.txt;md5=4641e94ec96f98fabc56ff9cc48be14b \
|
||||
file://doc/LGPL.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/DISTRHO/DISTRHO-Ports.git \
|
||||
file://0001-Fix-build-with-musl-by-removing-unused-SystemStats-g.patch \
|
||||
file://0002-Further-musl-fix-by-removal-of-unused-function.patch \
|
||||
git://github.com/DISTRHO/DISTRHO-Ports.git;branch=master;protocol=https \
|
||||
file://0001-Modify-ttl-generation-target-so-we-can-sed-it-to-cor.patch \
|
||||
\
|
||||
http://linuxsynths.com/ObxdPatchesDemos/ObxdPatchesBrian-01.tar.gz;name=linuxsynths-obxd-patches1;subdir=linuxsynths-obxd-patches \
|
||||
\
|
||||
@@ -17,9 +16,9 @@ SRC_URI = " \
|
||||
http://linuxsynths.com/VexPatchesDemos/VexPatches02.tar.gz;name=linuxsynths-vex-patches2;subdir=linuxsynths-vex-patches \
|
||||
"
|
||||
|
||||
SRCREV = "65c7c68a79e532d01695466f5b94c0e1cc4ae940"
|
||||
SRCREV = "2131ac41eef308c2ba11df6f1ae3985f3c868485"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "2018-04-16+git${SRCPV}"
|
||||
PV = "2021-03-15+git${SRCPV}"
|
||||
|
||||
SRC_URI[linuxsynths-obxd-patches1.md5sum] = "32244f847a54a71ee3c25079df5c8b84"
|
||||
SRC_URI[linuxsynths-obxd-patches1.sha256sum] = "246fccadd71bb9f0606a95bf7b0aee7807fd3a14f754367425423a51c31e160e"
|
||||
@@ -31,10 +30,9 @@ SRC_URI[linuxsynths-vex-patches2.sha256sum] = "378cff261dab333c5f29246b6f3f557e0
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
inherit dos2unix lv2-turtle-helper features_check pack_audio_plugins
|
||||
inherit meson pkgconfig lv2-turtle-helper features_check pack_audio_plugins
|
||||
|
||||
DEPENDS += " \
|
||||
premake3-native \
|
||||
virtual/libgl \
|
||||
alsa-lib \
|
||||
libx11 \
|
||||
@@ -44,60 +42,36 @@ DEPENDS += " \
|
||||
ladspa-sdk \
|
||||
"
|
||||
|
||||
LV2_TTL_GENERATOR = "${B}/libs/lv2_ttl_generator"
|
||||
LV2_TTL_GENERATOR = "${B}/libs/lv2-ttl-generator/lv2_ttl_generator"
|
||||
|
||||
do_ttl_sed() {
|
||||
# keep unmodified scripts for distrho-ports-extra
|
||||
cp -r ${S}/scripts ${WORKDIR}
|
||||
sed -i 's|%PLUGIN_INFO_FILE%|${LV2_PLUGIN_INFO_FILE}|g' `find ${S} -name meson.build`
|
||||
sed -i 's|$GEN ./$FILE|echo "`pwd`/$FILE" >> ${LV2_PLUGIN_INFO_FILE}|g' `find ${S}/scripts -name *.sh`
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
# platforms supporting sse2 can override NOOPTIMIZATIONS - later todo?
|
||||
NOOPTIMIZATIONS=1 ${S}/scripts/premake-update.sh linux
|
||||
}
|
||||
EXTRA_OEMESON += " \
|
||||
-Doptimizations=false \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}
|
||||
cp -r ${S}/bin/* ${D}${libdir}
|
||||
|
||||
# presets
|
||||
install -d ${D}${libdir}/lv2
|
||||
# obxd
|
||||
do_install:append() {
|
||||
# obxd-presets
|
||||
for file in `find ${WORKDIR}/linuxsynths-obxd-patches -mindepth 1 -maxdepth 1` ; do
|
||||
cp -rf $file ${D}${libdir}/lv2/
|
||||
done
|
||||
# vex
|
||||
# vex-presets
|
||||
for file in `find ${WORKDIR}/linuxsynths-vex-patches -mindepth 1 -maxdepth 1` ; do
|
||||
cp -rf $file ${D}${libdir}/lv2/
|
||||
done
|
||||
|
||||
# install ttl-generator bindir for distrho-ports-extra
|
||||
install -d ${D}/${bindir}/scripts
|
||||
install -m 755 ${S}/libs/lv2_ttl_generator ${D}/${bindir}
|
||||
rm ${S}/libs/lv2_ttl_generator
|
||||
cp -r ${WORKDIR}/scripts ${D}/${bindir}/
|
||||
cp -r ${S}/libs ${D}/${libdir}/
|
||||
mv ${D}/${libdir}/libs/*.a ${D}/${libdir}
|
||||
}
|
||||
# ttl-generator bindir for distrho-ports-extra
|
||||
SYSROOT_DIRS_append = " ${bindir}"
|
||||
|
||||
PACKAGES =+ "${PN}-presets"
|
||||
RDEPENDS_${PN}-presets = "${PN_LV2}"
|
||||
RDEPENDS:${PN}-presets = "${PN_LV2}"
|
||||
|
||||
FILES_${PN}-presets = "${libdir}/lv2/*.preset.lv2"
|
||||
|
||||
# dummy pack ttl-generator for distrho-ports-extra
|
||||
PACKAGES =+ "${PN}-ttl-generator"
|
||||
FILES_${PN}-ttl-generator += " \
|
||||
${bindir}/lv2_ttl_generator \
|
||||
${bindir}/scripts \
|
||||
${libdir}/libs \
|
||||
FILES:${PN}-presets = " \
|
||||
${libdir}/lv2/*.preset.lv2 \
|
||||
${libdir}/lv2/*/presets.ttl \
|
||||
${libdir}/lv2/Vitalium-unfa.lv2 \
|
||||
"
|
||||
# ${PN}-ttl-generator is intented for build of distrho-ports-extra and
|
||||
# definitely nothing to be installed on target
|
||||
INSANE_SKIP_${PN}-ttl-generator = "file-rdeps"
|
||||
|
||||
# Have not found what causes stripping - debugging of plugins is unlikely
|
||||
INSANE_SKIP_${PN} = "already-stripped"
|
||||
INSANE_SKIP:${PN} = "already-stripped"
|
||||
|
||||
@@ -1,134 +0,0 @@
|
||||
From 1a4c189c7c5778951edc57f2840889629ce81135 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Wed, 3 Apr 2019 23:38:30 +0200
|
||||
Subject: [PATCH] Fix build with musl by removing unused
|
||||
SystemStats::getStackBacktrace
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Musl [1] considers itself as the pure POSIX incarnation and unfortunately
|
||||
there are people liking it.
|
||||
Since execinfo.h is not part of POSIX but a GNU header [2], musl fails with
|
||||
|
||||
| ../source/modules/juce_core/juce_core.cpp:98:12: fatal error: execinfo.h: No such file or directory
|
||||
| #include <execinfo.h>
|
||||
| ^~~~~~~~~~~~
|
||||
| compilation terminated.
|
||||
|
||||
Removing SystemStats::getStackBacktrace does not cause any harm because it is
|
||||
not used.
|
||||
|
||||
I am aware that there might be an update of JUCE or other prugins using
|
||||
getStackBacktrace in the future but till then musl fan boys are happy.
|
||||
|
||||
Upstream-Status: Submitted [3]
|
||||
|
||||
[1] https://www.musl-libc.org/
|
||||
[2] https://www.gnu.org/software/gnulib/manual/html_node/execinfo_002eh.html
|
||||
[3] https://github.com/DISTRHO/DISTRHO-Ports/pull/31
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
.../source/modules/juce_core/juce_core.cpp | 3 --
|
||||
.../juce_core/system/juce_SystemStats.cpp | 52 -------------------
|
||||
.../juce_core/system/juce_SystemStats.h | 6 ---
|
||||
3 files changed, 61 deletions(-)
|
||||
|
||||
diff --git a/libs/juce/source/modules/juce_core/juce_core.cpp b/libs/juce/source/modules/juce_core/juce_core.cpp
|
||||
index 136dd284..06c7d17f 100644
|
||||
--- a/libs/juce/source/modules/juce_core/juce_core.cpp
|
||||
+++ b/libs/juce/source/modules/juce_core/juce_core.cpp
|
||||
@@ -94,9 +94,6 @@
|
||||
#include <net/if.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
- #if ! JUCE_ANDROID
|
||||
- #include <execinfo.h>
|
||||
- #endif
|
||||
#endif
|
||||
|
||||
#if JUCE_MAC || JUCE_IOS
|
||||
diff --git a/libs/juce/source/modules/juce_core/system/juce_SystemStats.cpp b/libs/juce/source/modules/juce_core/system/juce_SystemStats.cpp
|
||||
index c073331b..6f814213 100644
|
||||
--- a/libs/juce/source/modules/juce_core/system/juce_SystemStats.cpp
|
||||
+++ b/libs/juce/source/modules/juce_core/system/juce_SystemStats.cpp
|
||||
@@ -118,58 +118,6 @@ bool SystemStats::hasAVX2() noexcept { return getCPUInformation().has
|
||||
bool SystemStats::hasNeon() noexcept { return getCPUInformation().hasNeon; }
|
||||
|
||||
|
||||
-//==============================================================================
|
||||
-String SystemStats::getStackBacktrace()
|
||||
-{
|
||||
- String result;
|
||||
-
|
||||
- #if JUCE_ANDROID || JUCE_MINGW
|
||||
- jassertfalse; // sorry, not implemented yet!
|
||||
-
|
||||
- #elif JUCE_WINDOWS
|
||||
- HANDLE process = GetCurrentProcess();
|
||||
- SymInitialize (process, nullptr, TRUE);
|
||||
-
|
||||
- void* stack[128];
|
||||
- int frames = (int) CaptureStackBackTrace (0, numElementsInArray (stack), stack, nullptr);
|
||||
-
|
||||
- HeapBlock<SYMBOL_INFO> symbol;
|
||||
- symbol.calloc (sizeof (SYMBOL_INFO) + 256, 1);
|
||||
- symbol->MaxNameLen = 255;
|
||||
- symbol->SizeOfStruct = sizeof (SYMBOL_INFO);
|
||||
-
|
||||
- for (int i = 0; i < frames; ++i)
|
||||
- {
|
||||
- DWORD64 displacement = 0;
|
||||
-
|
||||
- if (SymFromAddr (process, (DWORD64) stack[i], &displacement, symbol))
|
||||
- {
|
||||
- result << i << ": ";
|
||||
-
|
||||
- IMAGEHLP_MODULE64 moduleInfo;
|
||||
- zerostruct (moduleInfo);
|
||||
- moduleInfo.SizeOfStruct = sizeof (moduleInfo);
|
||||
-
|
||||
- if (::SymGetModuleInfo64 (process, symbol->ModBase, &moduleInfo))
|
||||
- result << moduleInfo.ModuleName << ": ";
|
||||
-
|
||||
- result << symbol->Name << " + 0x" << String::toHexString ((int64) displacement) << newLine;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- #else
|
||||
- void* stack[128];
|
||||
- int frames = backtrace (stack, numElementsInArray (stack));
|
||||
- char** frameStrings = backtrace_symbols (stack, frames);
|
||||
-
|
||||
- for (int i = 0; i < frames; ++i)
|
||||
- result << frameStrings[i] << newLine;
|
||||
-
|
||||
- ::free (frameStrings);
|
||||
- #endif
|
||||
-
|
||||
- return result;
|
||||
-}
|
||||
|
||||
//==============================================================================
|
||||
static SystemStats::CrashHandlerFunction globalCrashHandler = nullptr;
|
||||
diff --git a/libs/juce/source/modules/juce_core/system/juce_SystemStats.h b/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
index 89d3854e..a99d830a 100644
|
||||
--- a/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
+++ b/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
@@ -186,12 +186,6 @@ public:
|
||||
static int getPageSize();
|
||||
|
||||
//==============================================================================
|
||||
- /** Returns a backtrace of the current call-stack.
|
||||
- The usefulness of the result will depend on the level of debug symbols
|
||||
- that are available in the executable.
|
||||
- */
|
||||
- static String getStackBacktrace();
|
||||
-
|
||||
/** A function type for use in setApplicationCrashHandler(). The parameter will contain
|
||||
platform-specific data about the crash.
|
||||
*/
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From 649914c369578ef2a2db42ec02f4c1836b5eb8b7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Fri, 30 Jul 2021 23:15:40 +0200
|
||||
Subject: [PATCH] Modify ttl generation target so we can sed it to correct path
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate[Configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
ports-legacy/meson.build | 2 +-
|
||||
ports/meson.build | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ports-legacy/meson.build b/ports-legacy/meson.build
|
||||
index cc8a6001..5ebcdd45 100644
|
||||
--- a/ports-legacy/meson.build
|
||||
+++ b/ports-legacy/meson.build
|
||||
@@ -281,7 +281,7 @@ if build_lv2 or build_vst2
|
||||
'mkdir', '-p', plugin_lv2_dir, '&&',
|
||||
'cd', plugin_lv2_dir, '&&',
|
||||
'cp', plugin_lv2_lib.full_path(), plugin_lv2_dir / plugin_name + lib_suffix, '&&',
|
||||
- (meson.is_cross_build() ? 'wine' : 'env'), lv2_ttl_generator, '.' / plugin_name + lib_suffix,
|
||||
+ 'eval', 'echo', plugin_lv2_dir / plugin_name + lib_suffix, '>>', '%PLUGIN_INFO_FILE%',
|
||||
],
|
||||
install: true,
|
||||
install_dir: lv2dir,
|
||||
diff --git a/ports/meson.build b/ports/meson.build
|
||||
index 248c4c71..d6a8ede1 100644
|
||||
--- a/ports/meson.build
|
||||
+++ b/ports/meson.build
|
||||
@@ -224,7 +224,7 @@ foreach plugin : plugins
|
||||
'mkdir', '-p', plugin_lv2_dir, '&&',
|
||||
'cd', plugin_lv2_dir, '&&',
|
||||
'mv', plugin_lv2_lib.full_path(), plugin_lv2_dir / plugin_name + lib_suffix, '&&',
|
||||
- (meson.is_cross_build() ? 'wine' : 'env'), lv2_ttl_generator, '.' / plugin_name + lib_suffix,
|
||||
+ 'eval', 'echo', plugin_lv2_dir / plugin_name + lib_suffix, '>>', '%PLUGIN_INFO_FILE%',
|
||||
],
|
||||
install: true,
|
||||
install_dir: lv2dir,
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -1,146 +0,0 @@
|
||||
From 06be2d073cb86298cba6ae98f8c7ffbec4f15e7e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Thu, 4 Apr 2019 00:19:22 +0200
|
||||
Subject: [PATCH] Further musl fix by removal of unused function
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This time there are _NL_IDENTIFICATION* variables missing. Since the functions
|
||||
|
||||
SystemStats::getUserLanguage()
|
||||
SystemStats::getUserRegion()
|
||||
SystemStats::getDisplayLanguage()
|
||||
|
||||
are not in use there is no harm caused by removing them.
|
||||
|
||||
Same: I am aware that there might be an update of JUCE or other prugins using
|
||||
getStackBacktrace in the future but till then musl fan boys are happy.
|
||||
|
||||
Upstream-Status: Submitted [1]
|
||||
|
||||
[1] https://github.com/DISTRHO/DISTRHO-Ports/pull/31
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
.../native/juce_android_SystemStats.cpp | 4 ----
|
||||
.../native/juce_linux_SystemStats.cpp | 4 ----
|
||||
.../juce_core/native/juce_mac_SystemStats.mm | 11 ----------
|
||||
.../native/juce_win32_SystemStats.cpp | 22 -------------------
|
||||
.../juce_core/system/juce_SystemStats.h | 17 --------------
|
||||
5 files changed, 58 deletions(-)
|
||||
|
||||
diff --git a/libs/juce/source/modules/juce_core/native/juce_android_SystemStats.cpp b/libs/juce/source/modules/juce_core/native/juce_android_SystemStats.cpp
|
||||
index a1bdd59e..6055352f 100644
|
||||
--- a/libs/juce/source/modules/juce_core/native/juce_android_SystemStats.cpp
|
||||
+++ b/libs/juce/source/modules/juce_core/native/juce_android_SystemStats.cpp
|
||||
@@ -445,10 +445,6 @@ String SystemStats::getComputerName()
|
||||
}
|
||||
|
||||
|
||||
-String SystemStats::getUserLanguage() { return AndroidStatsHelpers::getLocaleValue (false); }
|
||||
-String SystemStats::getUserRegion() { return AndroidStatsHelpers::getLocaleValue (true); }
|
||||
-String SystemStats::getDisplayLanguage() { return getUserLanguage() + "-" + getUserRegion(); }
|
||||
-
|
||||
//==============================================================================
|
||||
void CPUInformation::initialise() noexcept
|
||||
{
|
||||
diff --git a/libs/juce/source/modules/juce_core/native/juce_linux_SystemStats.cpp b/libs/juce/source/modules/juce_core/native/juce_linux_SystemStats.cpp
|
||||
index 40f19187..07a99749 100644
|
||||
--- a/libs/juce/source/modules/juce_core/native/juce_linux_SystemStats.cpp
|
||||
+++ b/libs/juce/source/modules/juce_core/native/juce_linux_SystemStats.cpp
|
||||
@@ -129,10 +129,6 @@ static String getLocaleValue (nl_item key)
|
||||
return result;
|
||||
}
|
||||
|
||||
-String SystemStats::getUserLanguage() { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
|
||||
-String SystemStats::getUserRegion() { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
|
||||
-String SystemStats::getDisplayLanguage() { return getUserLanguage() + "-" + getUserRegion(); }
|
||||
-
|
||||
//==============================================================================
|
||||
void CPUInformation::initialise() noexcept
|
||||
{
|
||||
diff --git a/libs/juce/source/modules/juce_core/native/juce_mac_SystemStats.mm b/libs/juce/source/modules/juce_core/native/juce_mac_SystemStats.mm
|
||||
index 81f62192..b0a751dd 100644
|
||||
--- a/libs/juce/source/modules/juce_core/native/juce_mac_SystemStats.mm
|
||||
+++ b/libs/juce/source/modules/juce_core/native/juce_mac_SystemStats.mm
|
||||
@@ -241,17 +241,6 @@ static String getLocaleValue (CFStringRef key)
|
||||
return result;
|
||||
}
|
||||
|
||||
-String SystemStats::getUserLanguage() { return getLocaleValue (kCFLocaleLanguageCode); }
|
||||
-String SystemStats::getUserRegion() { return getLocaleValue (kCFLocaleCountryCode); }
|
||||
-
|
||||
-String SystemStats::getDisplayLanguage()
|
||||
-{
|
||||
- CFArrayRef cfPrefLangs = CFLocaleCopyPreferredLanguages();
|
||||
- const String result (String::fromCFString ((CFStringRef) CFArrayGetValueAtIndex (cfPrefLangs, 0)));
|
||||
- CFRelease (cfPrefLangs);
|
||||
- return result;
|
||||
-}
|
||||
-
|
||||
//==============================================================================
|
||||
/* NB: these are kept outside the HiResCounterInfo struct and initialised to 1 to avoid
|
||||
division-by-zero errors if some other static constructor calls us before this file's
|
||||
diff --git a/libs/juce/source/modules/juce_core/native/juce_win32_SystemStats.cpp b/libs/juce/source/modules/juce_core/native/juce_win32_SystemStats.cpp
|
||||
index e2b44093..c78cf747 100644
|
||||
--- a/libs/juce/source/modules/juce_core/native/juce_win32_SystemStats.cpp
|
||||
+++ b/libs/juce/source/modules/juce_core/native/juce_win32_SystemStats.cpp
|
||||
@@ -469,26 +469,4 @@ static String getLocaleValue (LCID locale, LCTYPE key, const char* defaultValue)
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
-String SystemStats::getUserLanguage() { return getLocaleValue (LOCALE_USER_DEFAULT, LOCALE_SISO639LANGNAME, "en"); }
|
||||
-String SystemStats::getUserRegion() { return getLocaleValue (LOCALE_USER_DEFAULT, LOCALE_SISO3166CTRYNAME, "US"); }
|
||||
-
|
||||
-String SystemStats::getDisplayLanguage()
|
||||
-{
|
||||
- DynamicLibrary dll ("kernel32.dll");
|
||||
- JUCE_LOAD_WINAPI_FUNCTION (dll, GetUserDefaultUILanguage, getUserDefaultUILanguage, LANGID, (void))
|
||||
-
|
||||
- if (getUserDefaultUILanguage == nullptr)
|
||||
- return "en";
|
||||
-
|
||||
- const DWORD langID = MAKELCID (getUserDefaultUILanguage(), SORT_DEFAULT);
|
||||
-
|
||||
- String mainLang (getLocaleValue (langID, LOCALE_SISO639LANGNAME, "en"));
|
||||
- String region (getLocaleValue (langID, LOCALE_SISO3166CTRYNAME, nullptr));
|
||||
-
|
||||
- if (region.isNotEmpty())
|
||||
- mainLang << '-' << region;
|
||||
-
|
||||
- return mainLang;
|
||||
-}
|
||||
-
|
||||
} // namespace juce
|
||||
diff --git a/libs/juce/source/modules/juce_core/system/juce_SystemStats.h b/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
index a99d830a..ca560670 100644
|
||||
--- a/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
+++ b/libs/juce/source/modules/juce_core/system/juce_SystemStats.h
|
||||
@@ -106,23 +106,6 @@ public:
|
||||
/** Returns the host-name of the computer. */
|
||||
static String getComputerName();
|
||||
|
||||
- /** Returns the language of the user's locale.
|
||||
- The return value is a 2 or 3 letter language code (ISO 639-1 or ISO 639-2)
|
||||
- */
|
||||
- static String getUserLanguage();
|
||||
-
|
||||
- /** Returns the region of the user's locale.
|
||||
- The return value is a 2 letter country code (ISO 3166-1 alpha-2).
|
||||
- */
|
||||
- static String getUserRegion();
|
||||
-
|
||||
- /** Returns the user's display language.
|
||||
- The return value is a 2 or 3 letter language code (ISO 639-1 or ISO 639-2).
|
||||
- Note that depending on the OS and region, this may also be followed by a dash
|
||||
- and a sub-region code, e.g "en-GB"
|
||||
- */
|
||||
- static String getDisplayLanguage();
|
||||
-
|
||||
/** This will attempt to return some kind of string describing the device.
|
||||
If no description is available, it'll just return an empty string. You may
|
||||
want to use this for things like determining the type of phone/iPad, etc.
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SUMMARY = "Collection of DPF-based plugins"
|
||||
LICENSE = "ISC & GPLv2 & GPLv3 & LGPLv3 & MIT"
|
||||
LICENSE = "ISC & GPL-2.0-only & GPL-3.0-only & LGPL-3.0-only & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSE;md5=ec024abddfab2ee463c8c1ad98883d12 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/DISTRHO/DPF-Plugins.git"
|
||||
SRCREV = "86084a934adb26f529038cbcf901fd7a09b95897"
|
||||
SRC_URI = "git://github.com/DISTRHO/DPF-Plugins.git;branch=main;protocol=https"
|
||||
SRCREV = "014db6d4ef170b44653b1eb668686b624e4ae3f8"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "v1.3+git${SRCPV}"
|
||||
PV = "v1.4"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
@@ -21,14 +21,18 @@ DEPENDS += " \
|
||||
lv2 \
|
||||
liblo \
|
||||
jack \
|
||||
projectm \
|
||||
"
|
||||
# projectm
|
||||
|
||||
EXTRA_OEMAKE += " \
|
||||
NOOPT=true \
|
||||
SKIP_STRIPPING=true \
|
||||
"
|
||||
|
||||
do_ttl_sed() {
|
||||
sed -i 's|${EXE_WRAPPER} "${GEN}" "./\x24{FILE}"|echo "`realpath "./$FILE"`" >> ${LV2_PLUGIN_INFO_FILE}|g' ${S}/dpf/utils/generate-ttl.sh
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
for executable in `find ${S}/bin/ -executable -mindepth 1 -maxdepth 1 -type f ! -name '*.so'`; do
|
||||
@@ -56,4 +60,4 @@ do_install() {
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-standalone"
|
||||
FILES_${PN}-standalone = "${bindir}"
|
||||
FILES:${PN}-standalone = "${bindir}"
|
||||
|
||||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = " \
|
||||
file://LICENSE;md5=87cb0d450c5426796754d1261693dc57 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/DISTRHO/DPF.git"
|
||||
SRC_URI = "git://github.com/DISTRHO/DPF.git;protocol=https;branch=main"
|
||||
SRCREV = "14842be64ba309b8717592c5cf461925fa8a98af"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.0.0+git${SRCPV}"
|
||||
@@ -22,5 +22,5 @@ do_install() {
|
||||
}
|
||||
|
||||
# There are cases we neet we need target versions
|
||||
SYSROOT_DIRS_append_class-target = " ${bindir}"
|
||||
SYSROOT_DIRS:append:class-target = " ${bindir}"
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
SUMMARY = "A set of free reverb effects"
|
||||
HOMEPAGE = "https://github.com/michaelwillis/dragonfly-reverb"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
inherit lv2-turtle-helper pack_audio_plugins features_check
|
||||
inherit pkgconfig lv2-turtle-helper pack_audio_plugins features_check
|
||||
|
||||
DEPENDS += " \
|
||||
virtual/libx11 \
|
||||
@@ -13,16 +13,20 @@ DEPENDS += " \
|
||||
jack \
|
||||
"
|
||||
|
||||
SRC_URI = "gitsm://github.com/michaelwillis/dragonfly-reverb.git"
|
||||
SRCREV = "bf4b55d5f96ff316109335d957a32bd05e0dc289"
|
||||
SRC_URI = "gitsm://github.com/michaelwillis/dragonfly-reverb.git;branch=master;protocol=https"
|
||||
SRCREV = "465bfa2586a06ec9bd8684a84f402a275e8b65aa"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "3.2.0"
|
||||
PV = "3.2.6"
|
||||
|
||||
EXTRA_OEMAKE += " \
|
||||
NOOPT=true \
|
||||
SKIP_STRIPPING=true \
|
||||
"
|
||||
|
||||
do_ttl_sed() {
|
||||
sed -i 's|${EXE_WRAPPER} "${GEN}" "./\x24{FILE}"|echo "`realpath "./$FILE"`" >> ${LV2_PLUGIN_INFO_FILE}|g' ${S}/dpf/utils/generate-ttl.sh
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
for executable in `find ${S}/bin/ -executable -mindepth 1 -maxdepth 1 -type f ! -name '*.so'`; do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "An LV2 sampler plugin that plays hydrogen drum kits "
|
||||
HOMEPAGE = "https://github.com/nicklan/drmr"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
DEPENDS += " \
|
||||
@@ -14,7 +14,7 @@ DEPENDS += " \
|
||||
inherit cmake pkgconfig
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/nicklan/drmr.git;branch=lv2unstable \
|
||||
git://github.com/nicklan/drmr.git;branch=lv2unstable;protocol=https \
|
||||
file://0001-CMake-Keep-build-system-flags.patch \
|
||||
"
|
||||
SRCREV = "f244f3b09bb290dd6a4b9c14d4abaf69e9861f9d"
|
||||
@@ -26,4 +26,4 @@ EXTRA_OECMAKE = " \
|
||||
-DLV2_INSTALL_DIR:PATH=${baselib}/lv2 \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
SUMMARY = "Ganv is a Gtk widget for interactive graph-like environments"
|
||||
DESCRIPTION = "Ganv is a Gtk widget for interactive graph-like environments, such as modular synthesizers or finite state machines"
|
||||
HOMEPAGE = "http://drobilla.net/software/ganv"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit waf
|
||||
inherit waf pkgconfig
|
||||
|
||||
DEPENDS += " \
|
||||
glib-2.0-native \
|
||||
@@ -13,9 +13,9 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/ganv.git;protocol=https \
|
||||
gitsm://gitlab.com/drobilla/ganv.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "662bcbc0eceab2c3d4013efbd99861e451c8cf3b"
|
||||
SRCREV = "17f58b94abf5e7b1ad7ea3c40d0cd1107298d41a"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.6.0"
|
||||
PV = "1.8.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Ingen is a modular audio processing system for Jack and LV2 based systems"
|
||||
HOMEPAGE = "http://drobilla.net/software/ingen"
|
||||
LICENSE = "AGPLv3"
|
||||
LICENSE = "AGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
|
||||
|
||||
inherit waf pkgconfig gtk-icon-cache pack_audio_plugins python3native
|
||||
@@ -16,7 +16,7 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/ingen.git;protocol=https \
|
||||
gitsm://gitlab.com/drobilla/ingen.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "36949a845cf79e105445b9bc8656f2560469dc4d"
|
||||
@@ -39,18 +39,18 @@ PACKAGES =+ "${PN}-standalone ${PN}-python"
|
||||
|
||||
FILES_SOLIBSDEV = "${libdir}/libingen-*${SOLIBSDEV}"
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${libdir}/libingen_*.so \
|
||||
"
|
||||
|
||||
FILES_${PN}-standalone = " \
|
||||
FILES:${PN}-standalone = " \
|
||||
${datadir}/applications \
|
||||
${datadir}/icons \
|
||||
${bindir}/ingen \
|
||||
"
|
||||
|
||||
# pyton tools are not expected to work: we do not have rdflib yet
|
||||
FILES_${PN}-python = " \
|
||||
FILES:${PN}-python = " \
|
||||
${bindir}/ingenams \
|
||||
${bindir}/ingenish \
|
||||
${PYTHON_SITEPACKAGES_DIR} \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SUMMARY = "Jalv is a simple but fully featured LV2 host for Jack"
|
||||
HOMEPAGE = "http://drobilla.net/software/jalv"
|
||||
LICENSE = "ISC"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2b0c9f0c37e43f926aac5d7732f06dfb"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f6c5b43b95e2c2f1a006d1310332a8fb"
|
||||
|
||||
inherit waf pkgconfig gtk-icon-cache
|
||||
|
||||
@@ -20,13 +20,13 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/jalv.git;protocol=https \
|
||||
gitsm://gitlab.com/drobilla/jalv.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "15f779a8603bc3f020e7000189900c52964771cd"
|
||||
SRCREV = "9ab6e66c6ea7230f716b74d62c03fc5d19f56abe"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.6.4+git${SRCPV}"
|
||||
PV = "1.6.6"
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${libdir}/jack \
|
||||
"
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
SUMMARY = "C library providing simple use of LV2 plugins"
|
||||
HOMEPAGE = "http://drobilla.net/software/lilv"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c06b907cf23a6e8b605bfb2b0d2446cc"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b698a6a2120a83eecb34a9c6f1b93989"
|
||||
|
||||
inherit waf python3native bash-completion pkgconfig
|
||||
|
||||
DEPENDS += "lv2 serd sord sratom"
|
||||
|
||||
PV = "0.24.10"
|
||||
PV = "0.24.14"
|
||||
SRC_URI = " \
|
||||
http://download.drobilla.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "d1bba93d6ddacadb5e742fd10ad732727edb743524de229c70cc90ef81ffc594"
|
||||
SRC_URI[sha256sum] = "6399dfcbead61a143acef3a38ad078047ab225b00470ad5d33745637341d6406"
|
||||
|
||||
EXTRA_OECONF = "--configdir=${sysconfdir} --dyn-manifest"
|
||||
|
||||
PACKAGES += "${PN}-python3"
|
||||
FILES_${PN}-python3 += "${PYTHON_SITEPACKAGES_DIR}"
|
||||
RDEPENDS_${PN}-python3 += "python3-core"
|
||||
FILES:${PN}-python3 += "${PYTHON_SITEPACKAGES_DIR}"
|
||||
RDEPENDS:${PN}-python3 += "python3-core"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "MDA-LV2 is an LV2 port of the MDA plugins by Paul Kellett"
|
||||
HOMEPAGE = "https://drobilla.net/software/mda-lv2"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit waf features_check pkgconfig
|
||||
@@ -10,16 +10,16 @@ REQUIRED_DISTRO_FEATURES = "x11"
|
||||
DEPENDS = "lv2"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/mda-lv2.git;protocol=https \
|
||||
gitsm://gitlab.com/drobilla/mda-lv2.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "1761c1c97a4a4b9b5dc1bbb5b2784bafa8c7d2d5"
|
||||
PV = "1.2.4"
|
||||
SRCREV = "19752af61234581e0f73db539d5609ab14b3d928"
|
||||
PV = "1.2.6"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--lv2dir=${libdir}/lv2 \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SUMMARY = "Patchage is a modular patch bay for audio and MIDI systems"
|
||||
DESCRIPTION = "Patchage is a modular patch bay for audio and MIDI systems based on Jack and Alsa"
|
||||
HOMEPAGE = "http://drobilla.net/software/patchage"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit waf gtk-icon-cache pkgconfig
|
||||
@@ -13,9 +13,9 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/patchage.git;protocol=https \
|
||||
gitsm://gitlab.com/drobilla/patchage.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "b69c3bac42c9cf5cfcd79bce3363b4343bf0cd2e"
|
||||
PV = "1.0.2"
|
||||
SRCREV = "1eed3df05526b22d716a2f89f166804f894ac5b1"
|
||||
PV = "1.0.6"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SUMMARY = "Raul is a utility library primarily aimed at audio/musical applications"
|
||||
DESCRIPTION = "Raul (Realtime Audio Utility Library) is a C++ utility library primarily aimed at audio/musical applications"
|
||||
HOMEPAGE = "https://drobilla.net/software/raul"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit waf
|
||||
inherit waf pkgconfig
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.com/drobilla/raul.git;protocol=https \
|
||||
gitsm://github.com/drobilla/raul.git;protocol=https;branch=main \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRCREV = "e87bb398f025912fb989a09f1450b838b251aea1"
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SUMMARY = "C library for RDF syntax which supports accessing Turtle and NTriples"
|
||||
HOMEPAGE = "http://drobilla.net/software/serd"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c06b907cf23a6e8b605bfb2b0d2446cc"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b698a6a2120a83eecb34a9c6f1b93989"
|
||||
|
||||
inherit waf
|
||||
inherit waf pkgconfig
|
||||
|
||||
PV = "0.30.6"
|
||||
PV = "0.30.12"
|
||||
SRC_URI = " \
|
||||
http://download.drobilla.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "f5a2c74c659d8b318059068f135a43a3771491c367b6947e053a713b23cd37ef"
|
||||
SRC_URI[sha256sum] = "9f9dab4125d88256c1f694b6638cbdbf84c15ce31003cd83cb32fb2192d3e866"
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
SUMMARY = "C library for storing RDF data in memory"
|
||||
HOMEPAGE = "http://drobilla.net/software/sord"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6b8d060e6d32fbd53684f9dc0443b6a3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b698a6a2120a83eecb34a9c6f1b93989"
|
||||
|
||||
inherit waf pkgconfig
|
||||
|
||||
DEPENDS += "libpcre serd"
|
||||
|
||||
PV = "0.16.6"
|
||||
PV = "0.16.10"
|
||||
SRC_URI = " \
|
||||
http://download.drobilla.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "667af27a76085336d3865d087c1bb31a9d5f85b3359bcb27112dc43659229d44"
|
||||
|
||||
SRC_URI[sha256sum] = "9c70b3fbbb0c5c7bf761ef66c3d5b939ab45ad063e055990f17f40f1f6f96572"
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
SUMMARY = "Sratom is a library for serialising LV2 atoms to and from RDF"
|
||||
HOMEPAGE = "http://drobilla.net/software/sratom"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ebc7934238811c788037421c6c548ddf"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=02c12fd13bfe8cd6878ad1ea35778acf"
|
||||
|
||||
inherit waf pkgconfig
|
||||
|
||||
DEPENDS += "lv2 serd sord"
|
||||
|
||||
PV = "0.6.6"
|
||||
PV = "0.6.10"
|
||||
SRC_URI = " \
|
||||
http://download.drobilla.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "fb910bf62a5e69f4430bf09653d386fc4de9ff02bfd58635e1d45cbd31481b9d"
|
||||
SRC_URI[sha256sum] = "e5951c0d7f0618672628295536a271d61c55ef0dab33ba9fc5767ed4db0a634d"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SUMMARY = "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs"
|
||||
HOMEPAGE = "https://drobilla.net/software/suil"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=54e4263214f26373135dee9a81a9bf55"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=323e8282a413e218c2ec674a44c02cf4"
|
||||
|
||||
inherit waf features_check pkgconfig
|
||||
|
||||
@@ -9,11 +9,11 @@ REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
DEPENDS = "gtk+ gtk+3 qtbase lv2"
|
||||
|
||||
PV = "0.10.8"
|
||||
PV = "0.10.12"
|
||||
SRC_URI = " \
|
||||
http://download.drobilla.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-Fix-build-for-python3-only-environments.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "91cd87e17e80d2e43d64700369b93a5c2d0f1648e36411e0233253a0c3840f40"
|
||||
SRC_URI[sha256sum] = "daa763b231b22a1f532530d3e04c1fae48d1e1e03785e23c9ac138f207b87ecd"
|
||||
|
||||
FILES_${PN} += "${libdir}/suil-0"
|
||||
FILES:${PN} += "${libdir}/suil-0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "DrumGizmo drumkit editor"
|
||||
HOMEPAGE = "https://www.drumgizmo.org"
|
||||
LICENSE = "LGPLv3"
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
DEPENDS += " \
|
||||
|
||||
@@ -31,13 +31,13 @@ EXTRA_OECONF = " \
|
||||
--disable-sse \
|
||||
"
|
||||
|
||||
do_compile_append() {
|
||||
do_compile:append() {
|
||||
# build manifest.ttl
|
||||
cd ${B}/plugin
|
||||
${@qemu_run_binary_local(d, '${STAGING_DIR_TARGET}', 'ttlgen')} .libs/drumgizmo.so manifest.ttl || echo "ERROR: at QEMU for ttlgen"
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/pixmaps
|
||||
install -m 0644 ${S}/plugingui/resources/logo.png ${D}${datadir}/pixmaps/drumgizmo-logo.png
|
||||
|
||||
@@ -45,4 +45,4 @@ do_install_append() {
|
||||
install -m 0644 ${WORKDIR}/${BPN}.desktop ${D}${datadir}/applications/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
SUMMARY = "DrumGizmo is drum plugin and stand-alone application"
|
||||
HOMEPAGE = "https://www.drumgizmo.org"
|
||||
LICENSE = "LGPLv3"
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||
|
||||
SRC_URI = "http://www.drumgizmo.org/releases/${BPN}-${PV}/${BPN}-${PV}.tar.gz"
|
||||
SRC_URI = " \
|
||||
http://www.drumgizmo.org/releases/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
|
||||
file://0001-Fix-build-with-gcc11.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "7426f38b58fbb82d3eada60c204d74e6c5de31ef424c017e3f890117e146a2a3"
|
||||
PV = "0.9.19"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 584273e28bceb0b52b5b852b56950a04a4fcc4a2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 8 May 2021 15:42:48 +0200
|
||||
Subject: [PATCH] Fix build with gcc11
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
| translation.h:35:6: error: 'uint64_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
|
||||
| 35 | std::uint64_t constexpr const_hash(const char* input)
|
||||
| | ^~~~~~~~
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/translation.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/translation.h b/src/translation.h
|
||||
index 7f506a6..43545b0 100644
|
||||
--- a/src/translation.h
|
||||
+++ b/src/translation.h
|
||||
@@ -31,6 +31,7 @@
|
||||
#ifdef WITH_NLS
|
||||
|
||||
#include <memory>
|
||||
+#include <cstdint>
|
||||
|
||||
std::uint64_t constexpr const_hash(const char* input)
|
||||
{
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "DSSI plugin wrapper for VST plugins"
|
||||
HOMEPAGE = "http://breakfastquay.com/dssi-vst/"
|
||||
LICENSE = "LGPLv2"
|
||||
LICENSE = "LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3523f03012c30f3347df42d632e5762c"
|
||||
|
||||
inherit pkgconfig
|
||||
@@ -14,7 +14,7 @@ DEPENDS += " \
|
||||
zlib \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/falkTX/dssi-vst.git"
|
||||
SRC_URI = "git://github.com/falkTX/dssi-vst.git;branch=master;protocol=https"
|
||||
SRCREV = "9462b34563af84b452795d4924d4f18af9072529"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.9.2+git${SRCPV}"
|
||||
@@ -33,9 +33,9 @@ do_install() {
|
||||
install -m 755 ${S}/dssi-vst_gui ${D}${libdir}/dssi/dssi-vst
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN} = "dev-so"
|
||||
INSANE_SKIP:${PN} = "dev-so"
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${libdir}/ladspa \
|
||||
${libdir}/dssi \
|
||||
"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "DSSI is an audio plugin API for soft synths and effects"
|
||||
HOMEPAGE = "http://dssi.sourceforge.net"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9f46aa1ea6e91bb339e8fa2f11d17e4d"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
@@ -18,7 +18,7 @@ SRC_URI[md5sum] = "619ab73c883b02dc37ddb37001591f8b"
|
||||
SRC_URI[sha256sum] = "f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e"
|
||||
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = " \
|
||||
FILES:${PN}-examples = " \
|
||||
${bindir}/dssi_* \
|
||||
${bindir}/karplong \
|
||||
${bindir}/*trivial* \
|
||||
|
||||
@@ -1,22 +1,21 @@
|
||||
SUMMARY = "A free software percussion synthesizer"
|
||||
HOMEPAGE = "https://gitlab.com/iurie-sw/geonkick"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
|
||||
|
||||
inherit cmake mime mime-xdg gtk-icon-cache
|
||||
inherit cmake pkgconfig mime mime-xdg gtk-icon-cache
|
||||
|
||||
DEPENDS += " \
|
||||
redkite \
|
||||
redkite-native \
|
||||
libsndfile1 \
|
||||
rapidjson \
|
||||
jack \
|
||||
lv2 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://gitlab.com/iurie-sw/geonkick;protocol=https"
|
||||
SRCREV = "e39c142b82d1e82d282601ccd790993d6970c4a1"
|
||||
PV = "2.6.1"
|
||||
SRC_URI = "git://github.com/quamplex/geonkick.git;protocol=https;branch=main"
|
||||
SRC_URI[sha256sum] = "9e587521a2ac76d52a6032e1c100b7044aab7cad915a29d8ae9bbf9576e77fdb"
|
||||
SRCREV = "ce95f97363de78cc0cc0f0830f965ecced59195d"
|
||||
PV = "2.9.1"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
@@ -24,7 +23,7 @@ EXTRA_OECMAKE = " \
|
||||
-DGKICK_ARCHITECTURE=${TARGET_ARCH} \
|
||||
"
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${datadir}/mime \
|
||||
${libdir}/lv2 \
|
||||
"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SUMMARY = "Redkite is a small free software GUI toolkit"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=84216b5b30fa50e81f28b8f28feb2e10"
|
||||
|
||||
DEPENDS = "cairo"
|
||||
@@ -8,9 +8,9 @@ inherit cmake features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI = "git://github.com/iurie-sw/redkite.git"
|
||||
SRCREV = "008622f9ace72e11d30327dcb2db00271acf0bf6"
|
||||
PV = "1.3.0"
|
||||
SRC_URI = "git://github.com/iurie-sw/redkite.git;branch=master;protocol=https"
|
||||
SRCREV = "5ff4841320716e93a27b5be7c8557df8b333492a"
|
||||
PV = "1.3.1"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
SUMMARY = "GTK+ application that shows MIDI events"
|
||||
LICENSE = "LGPLv2 & PD"
|
||||
LICENSE = "LGPL-2.0-only & PD"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=f1e8b3e96c0abf4e3abb3b0f8e8eaf7f \
|
||||
file://COPYING.icon;md5=1d49e879912b1ea962200c42d117ca6c \
|
||||
"
|
||||
|
||||
inherit meson gtk-icon-cache
|
||||
inherit meson pkgconfig gtk-icon-cache
|
||||
|
||||
DEPENDS += " \
|
||||
gtk+3 \
|
||||
jack \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/schnitzeltony/gmidimonitor.git"
|
||||
SRC_URI = "git://github.com/schnitzeltony/gmidimonitor.git;branch=master;protocol=https"
|
||||
SRCREV = "af366f49970ed91a414e5b832a13436417be4bdb"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
SUMMARY = "Helm - a free polyphonic synth with lots of modulation"
|
||||
HOMEPAGE = "http://tytel.org/helm/"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit dos2unix qemu-ext-musicians features_check gtk-icon-cache pack_audio_plugins mime-xdg
|
||||
inherit dos2unix pkgconfig qemu-ext-musicians features_check gtk-icon-cache pack_audio_plugins mime-xdg
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
@@ -21,7 +21,7 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
git://github.com/mtytel/helm.git \
|
||||
git://github.com/mtytel/helm.git;branch=master;protocol=https \
|
||||
file://0001-do-not-create-ttl-files-it-won-t-work-fo-cross.patch \
|
||||
file://0002-set-VECTORIZE_LOOP-for-gcc.patch \
|
||||
file://0003-use-single-precision-floats-it-performs-much-better.patch \
|
||||
@@ -33,7 +33,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
CXXFLAGS += "-I ${STAGING_INCDIR}/freetype2"
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# not easy to patch:
|
||||
# * the place is platered all over
|
||||
# * we have some <CR><LF> around
|
||||
@@ -62,12 +62,12 @@ do_install() {
|
||||
|
||||
PACKAGES =+ "${PN}-standalone"
|
||||
|
||||
FILES_${PN}-standalone = " \
|
||||
FILES:${PN}-standalone = " \
|
||||
${datadir}/applications \
|
||||
${datadir}/icons \
|
||||
${bindir} \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-standalone += "${PN}"
|
||||
RDEPENDS_${PN}-lv2 += "${PN}"
|
||||
RDEPENDS_${PN}-vst += "${PN}"
|
||||
RDEPENDS:${PN}-standalone += "${PN}"
|
||||
RDEPENDS:${PN}-lv2 += "${PN}"
|
||||
RDEPENDS:${PN}-vst += "${PN}"
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
SUMMARY = "A virtual guitar amplifier"
|
||||
HOMEPAGE = "http://guitarix.org/"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=384f45fb7968a0fe30622ce6160d3b69"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/brummer10/guitarix.git \
|
||||
git://github.com/brummer10/guitarix.git;branch=master;protocol=https \
|
||||
file://0001-Rework-messages-somehow-yes-or-no-is-missing.patch \
|
||||
file://0002-Do-not-strip-LV2-plugins.patch \
|
||||
file://0003-gx_system.h-Make-sure-we-have-a-working-g_atomic_int.patch \
|
||||
file://0004-fix-waf-binary-read.patch \
|
||||
"
|
||||
SRCREV = "a14b455d4d258917a597456c674b6f80470e1d80"
|
||||
PV = "0.42.1"
|
||||
SRCREV = "efccbd14afb5a85be142319b94be088b9cf1d5fd"
|
||||
PV = "0.44.1"
|
||||
S = "${WORKDIR}/git/trunk"
|
||||
|
||||
inherit waf fontcache gettext
|
||||
inherit waf pkgconfig fontcache gettext
|
||||
|
||||
DEPENDS += " \
|
||||
gperf-native \
|
||||
@@ -49,18 +51,18 @@ EXTRA_OECONF = " \
|
||||
python waf_preconfigure() {
|
||||
}
|
||||
|
||||
PATH_prepend = "${B}:"
|
||||
PATH:prepend = "${B}:"
|
||||
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# link python -> python3
|
||||
ln -sf `which python3` ${B}/python
|
||||
}
|
||||
|
||||
do_compile_prepend() {
|
||||
do_compile:prepend() {
|
||||
export STRIP=echo
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
# some corrections [dev-elf] - inspired by https://src.fedoraproject.org/rpms/guitarix/blob/master/f/guitarix.spec
|
||||
chmod 755 ${D}${libdir}/libgxw*.so.0.1
|
||||
rm -rf ${D}${libdir}/libgxw*.so
|
||||
@@ -68,8 +70,9 @@ do_install_append() {
|
||||
ln -sf libgxw.so.0.1 ${D}${libdir}/libgxw.so
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${datadir}/fonts \
|
||||
${datadir}/metainfo \
|
||||
${datadir}/gx_head \
|
||||
${datadir}/ladspa \
|
||||
${libdir}/ladspa \
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From 5b83e4597eb232424db85041eefb6a010a7bb28d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Mon, 4 Apr 2022 21:36:47 +0200
|
||||
Subject: [PATCH] gx_system.h: Make sure we have a working
|
||||
g_atomic_int_compare_and_exchange
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
g_atomic_int_compare_and_exchange is proposed to change [1]. This change is
|
||||
already used in Yocto since [2] and causes
|
||||
|
||||
| ../git/src/headers/gx_system.h: In function 'bool gx_system::atomic_compare_and_exchange(volatile int*, int, int)':
|
||||
| ../recipe-sysroot/usr/include/glib-2.0/glib/gatomic.h:163:44: error: invalid conversion from 'volatile void*' to 'void*' [-fpermissive]
|
||||
| 163 | __atomic_compare_exchange_n ((atomic), &gaicae_oldval, (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
|
||||
| | ^~~~~~~~~~~~~~
|
||||
| | |
|
||||
| | volatile void*
|
||||
|
||||
[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2578
|
||||
[2] https://github.com/openembedded/openembedded-core/commit/a963f71e882e11c8e41dadf77944de408ad12acb
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/headers/gx_system.h | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/src/headers/gx_system.h b/src/headers/gx_system.h
|
||||
index 5f055e28..e4d49404 100644
|
||||
--- a/src/headers/gx_system.h
|
||||
+++ b/src/headers/gx_system.h
|
||||
@@ -80,6 +80,15 @@ inline void AVOIDDENORMALS() {}
|
||||
#define GDK_NO_MOD_MASK (GdkModifierType)0
|
||||
#define SYSTEM_OK (0)
|
||||
|
||||
+#undef g_atomic_int_compare_and_exchange
|
||||
+#define g_atomic_int_compare_and_exchange(atomic, oldval, newval) \
|
||||
+ (G_GNUC_EXTENSION ({ \
|
||||
+ gint gaicae_oldval = (oldval); \
|
||||
+ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \
|
||||
+ (void) (0 ? *(atomic) ^ (newval) ^ (oldval) : 1); \
|
||||
+ __atomic_compare_exchange_n ((atomic), (void *) (&(gaicae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
|
||||
+ }))
|
||||
+
|
||||
|
||||
namespace gx_system {
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: trunk/wscript
|
||||
===================================================================
|
||||
--- trunk.orig/wscript
|
||||
+++ trunk/wscript
|
||||
@@ -532,7 +532,7 @@ def sub_file(task):
|
||||
dst_fname = task.outputs[0].abspath()
|
||||
lst = task.generator.sub_list
|
||||
|
||||
- with open(src_fname, 'rU') as f:
|
||||
+ with open(src_fname, 'r') as f:
|
||||
txt = f.read()
|
||||
for (key, val) in lst:
|
||||
re_pat = re.compile(key, re.M)
|
||||
@@ -1,12 +1,12 @@
|
||||
SUMMARY = "A set of extra lv2 plugins from the guitarix project"
|
||||
HOMEPAGE = "https://github.com/brummer10/GxPlugins.lv2"
|
||||
LICENSE = "GPLv3"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
|
||||
|
||||
SRC_URI = "gitsm://github.com/brummer10/GxPlugins.lv2.git"
|
||||
SRCREV = "e40b34f3fd5dc4c6523dc826062d0ddb2578f573"
|
||||
SRC_URI = "gitsm://github.com/brummer10/GxPlugins.lv2.git;branch=master;protocol=https"
|
||||
SRCREV = "fd110089ea9cb675df62662af89f70701757fd8a"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.8"
|
||||
PV = "0.9"
|
||||
|
||||
inherit pkgconfig features_check
|
||||
|
||||
@@ -28,4 +28,4 @@ do_install() {
|
||||
}
|
||||
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
SUMMARY = "Virtual Midi Keyboard for Jack Audio Connection Kit"
|
||||
HOMEPAGE = "https://github.com/brummer10/Mamba"
|
||||
LICENSE = "BSD-0-Clause"
|
||||
LICENSE = "0BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1a396d84ed72b4a017f02f5c5d1eaafe"
|
||||
|
||||
SRC_URI = "gitsm://github.com/brummer10/Mamba.git"
|
||||
SRCREV = "e5aa1a709757156589715deb2c67d70e19bb0885"
|
||||
PV = "2.1"
|
||||
SRC_URI = "gitsm://github.com/brummer10/Mamba.git;branch=master;protocol=https"
|
||||
SRCREV = "46bdd97df02b93c30eb6f7a1782e2ee454979e87"
|
||||
PV = "2.3"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit pkgconfig features_check mime-xdg gettext
|
||||
@@ -13,6 +13,7 @@ inherit pkgconfig features_check mime-xdg gettext
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
DEPENDS += " \
|
||||
vim-native \
|
||||
cairo \
|
||||
virtual/libx11 \
|
||||
libsigc++-2.0 \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Hydrogen is an advanced drum machine for GNU/Linux"
|
||||
HOMEPAGE = "http://www.hydrogen-music.org"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
|
||||
|
||||
# Note for LADSPA: If I read cmakeFindLadspa.cmake correctly, LASPA plugins
|
||||
@@ -30,7 +30,7 @@ DEPENDS += " \
|
||||
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/hydrogen-music/hydrogen.git;branch=releases/1.0 \
|
||||
git://github.com/hydrogen-music/hydrogen.git;branch=main;protocol=https \
|
||||
file://0001-hydrogen.default.conf-do-not-show-developer-warnings.patch \
|
||||
\
|
||||
http://hydro.smoors.de/Audiophob.h2drumkit;downloadfilename=Audiophob.tar.gz;name=Audiophob;subdir=drumkits \
|
||||
@@ -80,8 +80,8 @@ SRC_URI = " \
|
||||
https://freewavesamples.com/files/YamahaRX15Kit.h2drumkit;downloadfilename=YamahaRX15Kit.tar.gz;name=YamahaRX15Kit;subdir=drumkits \
|
||||
https://freewavesamples.com/files/YamahaTG-55Kit.h2drumkit;downloadfilename=YamahaTG-55Kit.tar.gz;name=YamahaTG-55Kit;subdir=drumkits \
|
||||
"
|
||||
SRCREV = "4886dc95073ec60760df2d860e17446e9c59424c"
|
||||
PV ="1.0.1"
|
||||
SRCREV = "c845af2f0bb14946c23afd0838d1934b0660dd84"
|
||||
PV ="1.1.1"
|
||||
|
||||
###############################################################################
|
||||
# drumkits URIs from http://hydrogen-music.org/feeds/drumkit_list.php
|
||||
@@ -238,7 +238,7 @@ EXTRA_OECMAKE = " \
|
||||
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
install -d ${D}/${datadir}/${BPN}/data/drumkits
|
||||
cp -rf ${WORKDIR}/drumkits/* ${D}/${datadir}/${BPN}/data/drumkits/
|
||||
|
||||
@@ -257,14 +257,14 @@ PACKAGES =+ "${PN}-drumkits"
|
||||
# do not move so-libs to -dev package
|
||||
FILES_SOLIBSDEV = ""
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${datadir}/appdata \
|
||||
${datadir}/icons \
|
||||
${libdir}/libhydrogen-core* \
|
||||
"
|
||||
|
||||
# only extra drumkits - default kits shipped by sources remain in main package
|
||||
FILES_${PN}-drumkits = " \
|
||||
FILES:${PN}-drumkits = " \
|
||||
${datadir}/${BPN}/data/drumkits/3355606kit \
|
||||
${datadir}/${BPN}/data/drumkits/Audiophob \
|
||||
${datadir}/${BPN}/data/drumkits/belofilms_GuitarStrums \
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY = "Audio plugins in the LV2 format"
|
||||
HOMEPAGE = "http://ssj71.github.io/infamousPlugins/"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
DEPENDS += " \
|
||||
@@ -13,7 +13,10 @@ DEPENDS += " \
|
||||
|
||||
inherit cmake pkgconfig gtk-icon-cache
|
||||
|
||||
SRC_URI = "git://github.com/ssj71/infamousPlugins.git"
|
||||
SRC_URI = " \
|
||||
git://github.com/ssj71/infamousPlugins.git;protocol=https;branch=master \
|
||||
file://0001-Fix-build-with-glibc-2.36.patch \
|
||||
"
|
||||
SRCREV = "4c7275b1fa8ea3296446421cbd29ec2df66588c0"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.3.0+git${SRCPV}"
|
||||
@@ -22,4 +25,4 @@ EXTRA_OECMAKE += " \
|
||||
-DLIBDIR=${baselib} \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2"
|
||||
FILES:${PN} += "${libdir}/lv2"
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
From eb4fd9af25362fdd006549c471f4cf0427816dd5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Wed, 31 Aug 2022 21:35:16 +0200
|
||||
Subject: [PATCH] Fix build with glibc 2.36
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
| src/lushlife/lushlife_ui_main.cxx:47:27: error: 'time' was not declared in this scope
|
||||
| 47 | srand ((unsigned int) time (NULL));
|
||||
| | ^~~~
|
||||
| src/lushlife/lushlife_ui_main.cxx:9:1: note: 'time' is defined in header '<ctime>'; did you forget to '#include <ctime>'?
|
||||
|
||||
| src/casynth/casynth_ui_main.cxx:47:27: error: 'time' was not declared in this scope
|
||||
| 47 | srand ((unsigned int) time (NULL));
|
||||
| | ^~~~
|
||||
| src/casynth/casynth_ui_main.cxx:9:1: note: 'time' is defined in header '<ctime>'; did you forget to '#include <ctime>'?
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/ssj71/infamousPlugins/pull/52]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/casynth/casynth_ui_main.cxx | 1 +
|
||||
src/lushlife/lushlife_ui_main.cxx | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/casynth/casynth_ui_main.cxx b/src/casynth/casynth_ui_main.cxx
|
||||
index 818905a..be339d2 100644
|
||||
--- a/src/casynth/casynth_ui_main.cxx
|
||||
+++ b/src/casynth/casynth_ui_main.cxx
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "casynth_ui.h"
|
||||
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
|
||||
+#include <ctime>
|
||||
|
||||
#define CASYNTHUI_URI "http://ssj71.github.io/infamousPlugins/plugs.html#casynth_ui"
|
||||
|
||||
diff --git a/src/lushlife/lushlife_ui_main.cxx b/src/lushlife/lushlife_ui_main.cxx
|
||||
index 75b2ab2..869a087 100644
|
||||
--- a/src/lushlife/lushlife_ui_main.cxx
|
||||
+++ b/src/lushlife/lushlife_ui_main.cxx
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "lushlife_ui.h"
|
||||
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
|
||||
+#include <ctime>
|
||||
|
||||
#define LUSHLIFEUI_URI "http://ssj71.github.io/infamousPlugins/plugs.html#lushlife_ui"
|
||||
|
||||
--
|
||||
2.35.3
|
||||
|
||||
@@ -3,6 +3,7 @@ require ir.lv2.inc
|
||||
SUMMARY = "IR LV2 convolution reverb (automatable)"
|
||||
|
||||
IR_LV2_BRANCH = "automatable"
|
||||
SRC_URI[sha256sum] = "11e241569cca14727ef82d61fb60a779dbbf08ba93744e4fceab5a2de4546ff5"
|
||||
SRCREV = "a523bba0f336d26197b271b64799c4f369e487a8"
|
||||
PV = "1.3.4+git${SRCPV}"
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ require ir.lv2.inc
|
||||
SUMMARY = "IR LV2 convolution reverb (zero-latency)"
|
||||
|
||||
IR_LV2_BRANCH = "zero-latency"
|
||||
SRC_URI[sha256sum] = "11e241569cca14727ef82d61fb60a779dbbf08ba93744e4fceab5a2de4546ff5"
|
||||
SRCREV = "38bf3ec7d370d8234dd55be99c14cf9533b43c60"
|
||||
PV = "1.2.4+git${SRCPV}"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
HOMEPAGE = "http://tomszilagyi.github.io/plugins/ir.lv2/"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
inherit pkgconfig
|
||||
@@ -13,7 +13,7 @@ DEPENDS += " \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/tomszilagyi/ir.lv2.git;branch=${IR_LV2_BRANCH} \
|
||||
git://git.hq.sig7.se/ir.lv2.git;branch=${IR_LV2_BRANCH};protocol=https \
|
||||
file://0001-Makefile-Do-not-add-usr-include-to-include-paths.patch \
|
||||
file://0002-Makefile-force-correct-installation.patch \
|
||||
file://0003-Fix-build-with-lv2-1.1.18.patch \
|
||||
@@ -24,7 +24,7 @@ LV2_NAME = "http://tomszilagyi.github.io/plugins/lv2/ir"
|
||||
IR_LV2_VARIANT ?= ""
|
||||
IR_LV2_DOAP_EXTENSION ?= ""
|
||||
|
||||
do_compile_prepend() {
|
||||
do_compile:prepend() {
|
||||
for file in `grep -rl '${LV2_NAME}'`; do
|
||||
sed -i 's|${LV2_NAME}|${LV2_NAME}_${IR_LV2_VARIANT}|g' $file
|
||||
done
|
||||
@@ -44,4 +44,4 @@ do_install() {
|
||||
sed -i 's|doap:name "IR"|doap:name "IR (${IR_LV2_DOAP_EXTENSION})"|g' ${D}${libdir}/lv2/ir_${IR_LV2_VARIANT}.lv2/ir_${IR_LV2_VARIANT}.ttl
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/lv2/"
|
||||
FILES:${PN} += "${libdir}/lv2/"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user