From 9785f941e5025a109f0e51220f365fc3bcfadda1 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 22 Nov 2017 20:48:03 +0100 Subject: [PATCH] Don't build experimental plugins Closes #539 --- source/Makefile.mk | 10 ---- source/native-plugins/external/Makefile | 15 ------ source/native-plugins/external/Makefile.mk | 53 ---------------------- 3 files changed, 78 deletions(-) diff --git a/source/Makefile.mk b/source/Makefile.mk index 7b78ec6ac..e70a5cdeb 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -10,9 +10,6 @@ # Build external plugins EXTERNAL_PLUGINS = true -# Enable experimental plugins, don't complain if the build fails when using this! -EXPERIMENTAL_PLUGINS = false - # --------------------------------------------------------------------------------------------------------------------- # DO NOT MODIFY PAST THIS POINT! @@ -70,13 +67,6 @@ ifeq ($(MACOS),true) UNIX=true endif -# --------------------------------------------------------------------------------------------------------------------- -# Force some features on MacOS and Windows - -ifeq ($(MACOS_OR_WIN32),true) -EXPERIMENTAL_PLUGINS = false -endif - # --------------------------------------------------------------------------------------------------------------------- # Set build and link flags diff --git a/source/native-plugins/external/Makefile b/source/native-plugins/external/Makefile index 5b8ea0925..3205b7598 100644 --- a/source/native-plugins/external/Makefile +++ b/source/native-plugins/external/Makefile @@ -79,21 +79,6 @@ ZYN_UI_FILES_H = \ endif endif -# --------------------------------------------------------------------------------------------------------------------- -# Experimental plugins - -ifeq ($(EXPERIMENTAL_PLUGINS),true) -OBJS_all += \ - $(OBJDIR)/zita-at1.cpp.o \ - $(OBJDIR)/zita-bls1.cpp.o \ - $(OBJDIR)/zita-rev1.cpp.o - -TARGETS += \ - resources/zita-at1-ui$(APP_EXT) \ - resources/zita-bls1-ui$(APP_EXT) \ - resources/zita-rev1-ui$(APP_EXT) -endif - # --------------------------------------------------------------------------------------------------------------------- zynaddsubfx/UI/%.cpp: zynaddsubfx/UI/%.fl diff --git a/source/native-plugins/external/Makefile.mk b/source/native-plugins/external/Makefile.mk index c8df59220..38982a5e8 100644 --- a/source/native-plugins/external/Makefile.mk +++ b/source/native-plugins/external/Makefile.mk @@ -63,10 +63,6 @@ BASE_FLAGS += -DHAVE_ZYN_UI_DEPS endif endif -ifeq ($(EXPERIMENTAL_PLUGINS),true) -BASE_FLAGS += -DHAVE_EXPERIMENTAL_PLUGINS -endif - # --------------------------------------------------------------------------------------------------------------------- ifeq ($(HAVE_DGL),true) @@ -156,24 +152,6 @@ ZYN_DSP_FLAGS += -DNO_UI endif # HAVE_ZYN_UI_DEPS endif # HAVE_ZYN_DEPS - -# --------------------------------------------------------------------------------------------------------------------- -# Flags for Zita Plugins (DSP and UI separated) - -ifeq ($(EXPERIMENTAL_PLUGINS),true) -ZITA_DSP_FLAGS = $(shell pkg-config --cflags fftw3f) -ZITA_DSP_FLAGS += -Wno-unused-parameter -ZITA_DSP_LIBS = -lzita-convolver -lzita-resampler -lclthreads -ZITA_DSP_LIBS += $(shell pkg-config --libs fftw3f) -ZITA_DSP_LIBS += -lpthread -lrt - -ZITA_UI_FLAGS = $(shell pkg-config --cflags cairo libpng12 freetype2 x11 xft zlib) -ZITA_UI_FLAGS += -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-result -ZITA_UI_LIBS = $(shell pkg-config --libs cairo libpng12 freetype2 zlib) -ZITA_UI_LIBS += -lclxclient -lclthreads $(shell pkg-config --libs x11 xft) -ZITA_UI_LIBS += $(LIBDL_LIBS) -lpthread -lrt -endif - # --------------------------------------------------------------------------------------------------------------------- NATIVE_PLUGINS_LIBS += $(DGL_LIBS) @@ -208,32 +186,6 @@ ifeq ($(HAVE_ZYN_UI_DEPS),true) endif endif -ifeq ($(EXPERIMENTAL_PLUGINS),true) - # Create directories (experimental plugins) - install -d $(DESTDIR)$(DATADIR)/carla/resources/at1 - install -d $(DESTDIR)$(DATADIR)/carla/resources/bls1 - install -d $(DESTDIR)$(DATADIR)/carla/resources/rev1 - - # Install resources (experimental plugins) - install -m 644 \ - bin/resources/at1/*.png \ - $(DESTDIR)$(DATADIR)/carla/resources/at1 - - install -m 644 \ - bin/resources/bls1/*.png \ - $(DESTDIR)$(DATADIR)/carla/resources/bls1 - - install -m 644 \ - bin/resources/rev1/*.png \ - $(DESTDIR)$(DATADIR)/carla/resources/rev1 - - install -m 755 \ - bin/resources/zita-at1-ui \ - bin/resources/zita-bls1-ui \ - bin/resources/zita-rev1-ui \ - $(DESTDIR)$(DATADIR)/carla/resources -endif - features_print_external_plugins: @printf -- "\n" @printf -- "$(tS)---> External plugins: $(tE)\n" @@ -265,10 +217,5 @@ endif else @printf -- "ZynAddSubFX: $(ANS_NO) $(mS)liblo, fftw3, mxml or zlib missing$(mE)\n" endif -ifeq ($(EXPERIMENTAL_PLUGINS),true) - @printf -- "Experimental: YES\n" -else - @printf -- "Experimental: NO\n" -endif # ---------------------------------------------------------------------------------------------------------------------