Skip to content

Commit

Permalink
Update deps for plugins
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Mar 7, 2024
1 parent 7771775 commit 9c5e8ef
Show file tree
Hide file tree
Showing 14 changed files with 127 additions and 130 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:

env:
CACHE_VERSION: 0
CACHE_VERSION: 11
DEBIAN_FRONTEND: noninteractive
PAWPAW_SKIP_TESTS: 1

Expand Down
24 changes: 23 additions & 1 deletion bootstrap-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ LIBLO_EXTRAFLAGS="--enable-threads --disable-examples --disable-tools"

if [ -n "${PAWPAW_SKIP_TESTS}" ] && [ "${PAWPAW_SKIP_TESTS}" -eq 1 ]; then
LIBLO_EXTRAFLAGS+=" --disable-tests"
else
LIBLO_EXTRAFLAGS+=" --disable-network-tests"
fi

# auto-detection fails
Expand All @@ -431,6 +433,26 @@ if ([ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]) && [ "${M
run_make liblo "${LIBLO_VERSION}" check
fi

# ---------------------------------------------------------------------------------------------------------------------
# zix

if [ -z "${PAWPAW_SKIP_LV2}" ] || [ "${PAWPAW_SKIP_LV2}" -eq 0 ]; then

ZIX_EXTRAFLAGS=""

if [ "${WASM}" -eq 1 ]; then
ZIX_EXTRAFLAGS+=" -Dtests=disabled -Dtests_cpp=disabled -Dthreads=disabled"
elif [ "${CROSS_COMPILING}" -eq 1 ] && [ "${LINUX}" -eq 0 ] && [ -z "${EXE_WRAPPER}" ]; then
ZIX_EXTRAFLAGS+=" -Dtests=disabled -Dtests_cpp=disabled"
fi

export EXTRA_CFLAGS="-fno-finite-math-only"

download zix "${ZIX_VERSION}" "${ZIX_URL}" "tar.xz"
build_meson zix "${ZIX_VERSION}" "-Dbenchmarks=disabled -Ddefault_library=static -Ddocs=disabled ${ZIX_EXTRAFLAGS}"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# serd

Expand Down Expand Up @@ -501,7 +523,7 @@ fi # PAWPAW_SKIP_LV2
if [ -z "${PAWPAW_SKIP_LV2}" ] || [ "${PAWPAW_SKIP_LV2}" -eq 0 ]; then

if [ "${LV2LINT_SUPPORTED}" -eq 1 ]; then
download lv2lint "${LV2LINT_VERSION}" "${LV2LINT_URL}"
git_clone lv2lint "${LV2LINT_VERSION}" "${LV2LINT_URL}"
build_meson lv2lint "${LV2LINT_VERSION}"
# "-Donline-tests=true -Delf-tests=true"
fi
Expand Down
8 changes: 4 additions & 4 deletions patches/fontconfig/02_skip-tests.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ index bea1b79..2f57bb7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -223,7 +223,7 @@ CTAGS = ctags
CSCOPE = cscope
done | $(am__uniquify_input)`
DIST_SUBDIRS = fontconfig fc-case fc-lang src fc-cache fc-cat \
fc-conflist fc-list fc-match fc-pattern fc-query fc-scan \
- fc-validate conf.d its po po-conf test doc
+ fc-validate conf.d its po po-conf doc
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/fontconfig-zip.in $(srcdir)/fontconfig.pc.in \
$(srcdir)/fontconfig.spec.in ABOUT-NLS AUTHORS COPYING \
ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README.md \
@@ -456,7 +456,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = fontconfig fc-case fc-lang src fc-cache fc-cat fc-conflist \
fc-list fc-match fc-pattern fc-query fc-scan fc-validate \
- conf.d its po po-conf test $(am__append_1)
+ conf.d its po po-conf $(am__append_1)
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config.rpath fontconfig.pc.in fonts.conf.in fonts.dtd \
fontconfig.spec.in fontconfig.spec fontconfig-zip.in \
MESON_FILES = \
conf.d/link_confs.py \
13 changes: 0 additions & 13 deletions patches/fontconfig/03_fix-wasm-build.patch

This file was deleted.

16 changes: 16 additions & 0 deletions patches/liblo/02_fix-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/src/server.c b/src/server.c
index 130f6d5..2106b1f 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1394,7 +1394,10 @@ int lo_server_wait(lo_server s, int timeout)

int lo_servers_wait(lo_server *s, int *status, int num_servers, int timeout)
{
- int i, j, k, sched_timeout;
+ int i, j, sched_timeout;
+#ifdef HAVE_POLL
+ int k;
+#endif

if (!status)
status = alloca(sizeof(int) * num_servers);
22 changes: 0 additions & 22 deletions patches/liblo/02_fix-use-after-free.patch

This file was deleted.

23 changes: 13 additions & 10 deletions patches/lilv/01_hidden-lilv-api.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
diff --git a/include/lilv/lilv.h b/include/lilv/lilv.h
index 5fd7a9f..368df82 100644
index 9f52925..e6b7a80 100644
--- a/include/lilv/lilv.h
+++ b/include/lilv/lilv.h
@@ -27,15 +27,7 @@
@@ -14,18 +14,7 @@
#include <stdint.h>
#include <stdio.h>

-#if defined(_WIN32) && !defined(LILV_STATIC) && defined(LILV_INTERNAL)
-# define LILV_API __declspec(dllexport)
-#elif defined(_WIN32) && !defined(LILV_STATIC)
-# define LILV_API __declspec(dllimport)
-#elif defined(__GNUC__)
-# define LILV_API __attribute__((visibility("default")))
-#else
-# define LILV_API
-// LILV_API must be used to decorate things in the public API
-#ifndef LILV_API
-# if defined(_WIN32) && !defined(LILV_STATIC) && defined(LILV_INTERNAL)
-# define LILV_API __declspec(dllexport)
-# elif defined(_WIN32) && !defined(LILV_STATIC)
-# define LILV_API __declspec(dllimport)
-# elif defined(__GNUC__)
-# define LILV_API __attribute__((visibility("default")))
-# else
-# define LILV_API
-# endif
-#endif
+#define LILV_API

Expand Down
22 changes: 0 additions & 22 deletions patches/lilv/wasm/11_fix-build.patch

This file was deleted.

23 changes: 13 additions & 10 deletions patches/serd/01_hidden-serd-api.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
diff --git a/include/serd/serd.h b/include/serd/serd.h
index e550541..c2ee87d 100644
index 2e7a13e..fb99b48 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -25,15 +25,7 @@
@@ -12,18 +12,7 @@
#include <stdint.h>
#include <stdio.h>

-#if defined(_WIN32) && !defined(SERD_STATIC) && defined(SERD_INTERNAL)
-# define SERD_API __declspec(dllexport)
-#elif defined(_WIN32) && !defined(SERD_STATIC)
-# define SERD_API __declspec(dllimport)
-#elif defined(__GNUC__)
-# define SERD_API __attribute__((visibility("default")))
-#else
-# define SERD_API
-// SERD_API must be used to decorate things in the public API
-#ifndef SERD_API
-# if defined(_WIN32) && !defined(SERD_STATIC) && defined(SERD_INTERNAL)
-# define SERD_API __declspec(dllexport)
-# elif defined(_WIN32) && !defined(SERD_STATIC)
-# define SERD_API __declspec(dllimport)
-# elif defined(__GNUC__)
-# define SERD_API __attribute__((visibility("default")))
-# else
-# define SERD_API
-# endif
-#endif
+#define SERD_API

Expand Down
22 changes: 0 additions & 22 deletions patches/serd/wasm/11_fix-build.patch

This file was deleted.

23 changes: 13 additions & 10 deletions patches/sord/01_hidden-sord-api.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
diff --git a/include/sord/sord.h b/include/sord/sord.h
index a327031..486a981 100644
index 93f9c07..3e37b0d 100644
--- a/include/sord/sord.h
+++ b/include/sord/sord.h
@@ -27,15 +27,7 @@
@@ -14,18 +14,7 @@
#include <stddef.h>
#include <stdint.h>

-#if defined(_WIN32) && !defined(SORD_STATIC) && defined(SORD_INTERNAL)
-# define SORD_API __declspec(dllexport)
-#elif defined(_WIN32) && !defined(SORD_STATIC)
-# define SORD_API __declspec(dllimport)
-#elif defined(__GNUC__)
-# define SORD_API __attribute__((visibility("default")))
-#else
-# define SORD_API
-// SORD_API must be used to decorate things in the public API
-#ifndef SORD_API
-# if defined(_WIN32) && !defined(SORD_STATIC) && defined(SORD_INTERNAL)
-# define SORD_API __declspec(dllexport)
-# elif defined(_WIN32) && !defined(SORD_STATIC)
-# define SORD_API __declspec(dllimport)
-# elif defined(__GNUC__)
-# define SORD_API __attribute__((visibility("default")))
-# else
-# define SORD_API
-# endif
-#endif
+#define SORD_API

Expand Down
24 changes: 24 additions & 0 deletions patches/zix/01_hidden-zix-api.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/include/zix/attributes.h b/include/zix/attributes.h
index 518e5fb..c3a5633 100644
--- a/include/zix/attributes.h
+++ b/include/zix/attributes.h
@@ -19,18 +19,7 @@
# define ZIX_END_DECLS ///< End public API definitions
#endif

-// ZIX_API must be used to decorate things in the public API
-#ifndef ZIX_API
-# if defined(_WIN32) && !defined(ZIX_STATIC) && defined(ZIX_INTERNAL)
-# define ZIX_API __declspec(dllexport)
-# elif defined(_WIN32) && !defined(ZIX_STATIC)
-# define ZIX_API __declspec(dllimport)
-# elif defined(__GNUC__)
-# define ZIX_API __attribute__((visibility("default")))
-# else
-# define ZIX_API
-# endif
-#endif
+#define ZIX_API

// GCC function attributes
#ifdef __GNUC__
1 change: 1 addition & 0 deletions setup/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if [ "${WASM}" -eq 1 ]; then
"${PAWPAW_DIR}/emsdk/emsdk" install ${EMSCRIPTEN_VERSION} && "${PAWPAW_DIR}/emsdk/emsdk" activate ${EMSCRIPTEN_VERSION}
fi

export EMSDK_QUIET=1
source "${PAWPAW_DIR}/emsdk/emsdk_env.sh"
fi

Expand Down
34 changes: 19 additions & 15 deletions setup/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,22 @@ ZLIB_URL=https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}
# ---------------------------------------------------------------------------------------------------------------------
# bootstrap plugins

LIBPNG_VERSION=1.6.39
LIBPNG_VERSION=1.6.43
LIBPNG_URL=http://download.sourceforge.net/libpng

LIBXML2_VERSION=2.10.3
LIBXML2_URL=https://download.gnome.org/sources/libxml2/2.10
LIBXML2_VERSION=2.12.4
LIBXML2_URL=https://download.gnome.org/sources/libxml2/2.12

PIXMAN_VERSION=0.42.2
PIXMAN_URL=https://cairographics.org/releases

FREETYPE_VERSION=2.12.1
FREETYPE_VERSION=2.13.2
FREETYPE_URL=http://download.sourceforge.net/freetype

FONTCONFIG_VERSION=2.13.1
FONTCONFIG_VERSION=2.15.0
FONTCONFIG_URL=https://www.freedesktop.org/software/fontconfig/release

# TODO update and adapt to meson
CAIRO_VERSION=1.16.0
CAIRO_URL=https://cairographics.org/releases

Expand All @@ -86,31 +87,34 @@ fi
LIBFFI_URL=https://github.com/libffi/libffi/releases/download/v${LIBFFI_VERSION}
GLIB_URL=https://download.gnome.org/sources/glib/${GLIB_MVERSION}

LIBLO_VERSION=0.31
LIBLO_VERSION=0.32
LIBLO_URL=http://download.sourceforge.net/liblo

LV2_VERSION=0bcde338db1c63bbc503b4d1f6d7b55ed43154af # 1.18.10
LV2_URL=https://gitlab.com/lv2/lv2.git

SERD_VERSION=0.30.16
ZIX_VERSION=0.4.2
ZIX_URL=${DROBILLA_URL}

SERD_VERSION=0.32.0
SERD_URL=${DROBILLA_URL}

SORD_VERSION=0.16.14
SORD_VERSION=0.16.16
SORD_URL=${DROBILLA_URL}

SRATOM_VERSION=0.6.14
SRATOM_VERSION=0.6.16
SRATOM_URL=${DROBILLA_URL}

LILV_VERSION=0.24.20
LILV_VERSION=0.24.22
LILV_URL=${DROBILLA_URL}

LV2LINT_VERSION=0.16.2
LV2LINT_URL=https://gitlab.com/OpenMusicKontrollers/lv2lint/-/archive/${LV2LINT_VERSION}
LV2LINT_VERSION=ea7126042356d245610ecf7a56354dd196fafff7 # 0.16.2
LV2LINT_URL=https://git.open-music-kontrollers.ch/~hp/lv2lint

KXSTUDIO_LV2_EXTENSIONS_VERSION=58010323797754dc6cd50084d456e5ac2e7c034c
KXSTUDIO_LV2_EXTENSIONS_VERSION=6e76943b360b65b18cf95a9bd1a3bfd155d0630b
KXSTUDIO_LV2_EXTENSIONS_URL=https://github.com/KXStudio/LV2-Extensions.git

MOD_SDK_VERSION=60abe7176b4e4f46f20a41cdf3d65d909c8d8a34
MOD_SDK_VERSION=f4341a6c2b2f50e2eb405b06ce19f9f0b4b1a62b
MOD_SDK_URL=https://github.com/moddevices/mod-lv2-extensions.git

FLUIDSYNTH_VERSION=f65c6ba25fb2c7e37c89fc6a4afc5aa645e208c2 # 1.1.11
Expand All @@ -119,7 +123,7 @@ FLUIDSYNTH_URL=https://github.com/FluidSynth/fluidsynth.git
MXML_VERSION=3.3.1
MXML_URL=https://github.com/michaelrsweet/mxml/releases/download/v${MXML_VERSION}

CARLA_VERSION=73ddea269b927770a338d352a0d0db20aad87624 # 2.6.x
CARLA_VERSION=66afe24a08790732cc17d81d4b846a1e0cfa0118 # 2.6.x
CARLA_URL=https://github.com/falkTX/Carla.git

# ---------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 9c5e8ef

Please sign in to comment.