Skip to content

Commit

Permalink
Merge pull request #7 from pierreguillot/v0.0.5
Browse files Browse the repository at this point in the history
V0.0.5
  • Loading branch information
pierreguillot committed Mar 12, 2016
2 parents 54b331e + 70fc80e commit 678e073
Show file tree
Hide file tree
Showing 39 changed files with 41,504 additions and 632 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*.so
*.dylib
*.dll
*.pd_darwin

# Fortran module files
*.mod
Expand Down Expand Up @@ -39,6 +40,8 @@
# Juce & ThirdParty
ThirdParty/Vst/*
!ThirdParty/Vst/README.txt
ThirdParty/PthreadWindows/*
!ThirdParty/PthreadWindows/README.txt
/Binaries
/Builds/MacOSX/build/
/Builds/LinuxMakefile/build/
4 changes: 2 additions & 2 deletions Builds/LinuxMakefile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ifeq ($(CONFIG),Debug)
TARGET_ARCH :=
endif

CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "PD=1" -D "HAVE_UNISTD_H=1" -D "USEAPI_DUMMY=1" -D "HAVE_ALLOCA_H=1" -D "LIBPD_EXTRA=1" -D "DHAVE_LIBDL=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=0.0.3" -D "JUCE_APP_VERSION_HEX=0x3" -I /usr/include -I /usr/include/freetype2 -I ../../ThirdParty/Vst -I ../../ThirdParty/Vst/vstsdk2.4 -I ../../JuceLibraryCode -I ../../ThirdParty/Juce/modules -I ../../ThirdParty/PureData/src
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "PD=1" -D "USEAPI_DUMMY=1" -D "PD_INTERNAL=1" -D "HAVE_UNISTD_H=1" -D "HAVE_LIBDL=1" -D "HAVE_ALLOCA_H=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=0.0.5" -D "JUCE_APP_VERSION_HEX=0x5" -I /usr/include -I /usr/include/freetype2 -I ../../ThirdParty/Vst -I ../../ThirdParty/Vst/vstsdk2.4 -I ../../JuceLibraryCode -I ../../ThirdParty/Juce/modules -I ../../ThirdParty/PureData/src
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0
CXXFLAGS += $(CFLAGS) -std=c++11
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -Wl,--no-undefined -shared -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -ldl -lfreetype -lpthread -lrt
Expand All @@ -38,7 +38,7 @@ ifeq ($(CONFIG),Release)
TARGET_ARCH :=
endif

CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "PD=1" -D "HAVE_UNISTD_H=1" -D "USEAPI_DUMMY=1" -D "HAVE_ALLOCA_H=1" -D "LIBPD_EXTRA=1" -D "DHAVE_LIBDL=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=0.0.3" -D "JUCE_APP_VERSION_HEX=0x3" -I /usr/include -I /usr/include/freetype2 -I ../../ThirdParty/Vst -I ../../ThirdParty/Vst/vstsdk2.4 -I ../../JuceLibraryCode -I ../../ThirdParty/Juce/modules -I ../../ThirdParty/PureData/src
CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "PD=1" -D "USEAPI_DUMMY=1" -D "PD_INTERNAL=1" -D "HAVE_UNISTD_H=1" -D "HAVE_LIBDL=1" -D "HAVE_ALLOCA_H=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=0.0.5" -D "JUCE_APP_VERSION_HEX=0x5" -I /usr/include -I /usr/include/freetype2 -I ../../ThirdParty/Vst -I ../../ThirdParty/Vst/vstsdk2.4 -I ../../JuceLibraryCode -I ../../ThirdParty/Juce/modules -I ../../ThirdParty/PureData/src
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -O3
CXXFLAGS += $(CFLAGS) -std=c++11
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -Wl,--no-undefined -shared -fvisibility=hidden -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -ldl -lfreetype -lpthread -lrt
Expand Down
25 changes: 25 additions & 0 deletions Builds/VisualStudio2015/Camomile.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2015
Project("{23411925-3D33-FDB5-BEE5-9EC9BA5C4A81}") = "Camomile", "Camomile.vcxproj", "{9AB5403A-2942-9151-4946-07CB19FDC4B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug32|Win32 = Debug32|Win32
Release32|Win32 = Release32|Win32
Debug64|x64 = Debug64|x64
Release64|x64 = Release64|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Debug32|Win32.ActiveCfg = Debug32|Win32
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Debug32|Win32.Build.0 = Debug32|Win32
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Release32|Win32.ActiveCfg = Release32|Win32
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Release32|Win32.Build.0 = Release32|Win32
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Debug64|x64.ActiveCfg = Debug64|x64
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Debug64|x64.Build.0 = Debug64|x64
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Release64|x64.ActiveCfg = Release64|x64
{9AB5403A-2942-9151-4946-07CB19FDC4B9}.Release64|x64.Build.0 = Release64|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
1,829 changes: 1,829 additions & 0 deletions Builds/VisualStudio2015/Camomile.vcxproj

Large diffs are not rendered by default.

3,062 changes: 3,062 additions & 0 deletions Builds/VisualStudio2015/Camomile.vcxproj.filters

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions Builds/VisualStudio2015/resources.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#ifdef JUCE_USER_DEFINED_RC_FILE
#include JUCE_USER_DEFINED_RC_FILE
#else

#undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,5,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "CICM\0"
VALUE "FileDescription", "Camomile\0"
VALUE "FileVersion", "0.0.5\0"
VALUE "ProductName", "Camomile\0"
VALUE "ProductVersion", "0.0.5\0"
END
END

BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END

#endif
48 changes: 39 additions & 9 deletions Camomile.jucer
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<JUCERPROJECT id="y2ndru" name="Camomile" projectType="audioplug" version="0.0.3"
<JUCERPROJECT id="y2ndru" name="Camomile" projectType="audioplug" version="0.0.5"
bundleIdentifier="com.cicm.Camomile" includeBinaryInAppConfig="1"
buildVST="1" buildVST3="1" buildAU="0" buildRTAS="0" buildAAX="0"
pluginName="Camomile" pluginDesc="Camomile" pluginManufacturer="Pierre Guillot"
Expand All @@ -9,13 +9,12 @@
pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="1"
pluginAUExportPrefix="CamomileAU" pluginRTASCategory="" aaxIdentifier="com.cicm.Camomile"
pluginAAXCategory="AAX_ePlugInCategory_Dynamics" jucerVersion="4.1.0"
companyName="CICM" companyEmail="https://github.com/pierreguillot/Camomile"
companyWebsite="http://cicm.mshparisnord.org/" defines="PD=1&#10;HAVE_UNISTD_H=1&#10;USEAPI_DUMMY=1&#10;HAVE_ALLOCA_H=1&#10;LIBPD_EXTRA=1&#10;DHAVE_LIBDL=1"
pluginIsMidiEffectPlugin="0">
companyName="CICM" companyEmail="" companyWebsite="https://github.com/pierreguillot/Camomile"
defines="PD=1&#10;USEAPI_DUMMY=1&#10;PD_INTERNAL=1&#10;" pluginIsMidiEffectPlugin="0">
<MAINGROUP id="Lkdhlo" name="Camomile">
<GROUP id="{6858D652-D432-5FB6-C946-D9F3FA76E6E9}" name="Source">
<FILE id="HhHZI4" name="LookAndFeel.cpp" compile="1" resource="0" file="Source/LookAndFeel.cpp"/>
<FILE id="EJAZHs" name="LookAndFeel.h" compile="0" resource="0" file="Source/LookAndFeel.h"/>
<FILE id="C0BhX9" name="LookAndFeel.hpp" compile="0" resource="0" file="Source/LookAndFeel.hpp"/>
<FILE id="BUNrem" name="InstanceProcessor.cpp" compile="1" resource="0"
file="Source/InstanceProcessor.cpp"/>
<FILE id="shFm3X" name="InstanceProcessor.hpp" compile="0" resource="0"
Expand Down Expand Up @@ -160,6 +159,8 @@
</GROUP>
</GROUP>
<GROUP id="{8DE6AA0C-11D5-0E76-0B00-0843C90E25ED}" name="Ressources">
<FILE id="nAtHON" name="clear0.png" compile="0" resource="1" file="Ressources/clear0.png"/>
<FILE id="UvnyC9" name="clear1.png" compile="0" resource="1" file="Ressources/clear1.png"/>
<FILE id="pAFpl1" name="flower1.png" compile="0" resource="1" file="Ressources/flower1.png"/>
<FILE id="aZl9d4" name="flower2.png" compile="0" resource="1" file="Ressources/flower2.png"/>
<FILE id="ABes24" name="flowerG.png" compile="0" resource="1" file="Ressources/flowerG.png"/>
Expand All @@ -168,13 +169,13 @@
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="ThirdParty/Vst/vstsdk2.4"
postbuildCommand="&#10;# This script takes the build product and copies it to the AU, VST, VST3, RTAS and AAX folders, depending on &#10;# which plugin types you've built&#10;&#10;original=$CONFIGURATION_BUILD_DIR/$FULL_PRODUCT_NAME&#10;&#10;# this looks inside the binary to detect which platforms are needed.. &#10;copyAU=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'AudioUnit' | wc -l&#96;&#10;copyVST=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'VSTPlugin' | wc -l&#96;&#10;copyVST3=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'GetPluginFactory' | wc -l&#96;&#10;copyRTAS=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'CProcess' | wc -l&#96;&#10;copyAAX=&#96;nm -g &quot;$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH&quot; | grep -i 'ACFStartup' | wc -l&#96;&#10;&#10;if [ $copyAU -gt 0 ]; then&#10; echo &quot;Copying to AudioUnit folder...&quot;&#10; AUDir=~/Library/Audio/Plug-Ins/Components&#10; mkdir -p &quot;$AUDir&quot;&#10; AU=$AUDir/$PRODUCT_NAME.component&#10; if [ -d &quot;$AU&quot; ]; then &#10; rm -r &quot;$AU&quot;&#10; fi&#10;&#10; cp -r &quot;$original&quot; &quot;$AU&quot;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$AU/Contents/PkgInfo&quot;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$AU/Contents/$INFOPLIST_FILE&quot;&#10;fi&#10;&#10;if [ $copyVST -gt 0 ]; then&#10; echo &quot;Copying to VST folder...&quot;&#10; VSTDir=~/Library/Audio/Plug-Ins/VST&#10; mkdir -p &quot;$VSTDir&quot;&#10; VST=$VSTDir/$PRODUCT_NAME.vst&#10; if [ -d &quot;$VST&quot; ]; then &#10; rm -r &quot;$VST&quot;&#10; fi&#10;&#10; cp -r &quot;$original&quot; &quot;$VST&quot;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$VST/Contents/PkgInfo&quot;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$VST/Contents/$INFOPLIST_FILE&quot;&#10;fi&#10;&#10;if [ $copyVST3 -gt 0 ]; then&#10; echo &quot;Copying to VST3 folder...&quot;&#10; VST3Dir=~/Library/Audio/Plug-Ins/VST3&#10; mkdir -p &quot;$VST3Dir&quot;&#10; VST3=$VST3Dir/$PRODUCT_NAME.vst3&#10; if [ -d &quot;$VST3&quot; ]; then &#10; rm -r &quot;$VST3&quot;&#10; fi&#10;&#10; cp -r &quot;$original&quot; &quot;$VST3&quot;&#10; sed -i &quot;&quot; -e 's/TDMwPTul/BNDLPTul/g' &quot;$VST3/Contents/PkgInfo&quot;&#10; sed -i &quot;&quot; -e 's/TDMw/BNDL/g' &quot;$VST3/Contents/$INFOPLIST_FILE&quot;&#10;fi&#10;&#10;if [ $copyRTAS -gt 0 ]; then&#10; echo &quot;Copying to RTAS folder...&quot;&#10; RTASDir=/Library/Application\ Support/Digidesign/Plug-Ins&#10; if [ -d &quot;$RTASDir&quot; ]; then&#10; RTAS=$RTASDir/$PRODUCT_NAME.dpm&#10; if [ -d &quot;$RTAS&quot; ]; then&#10; rm -r &quot;$RTAS&quot;&#10; fi&#10;&#10; cp -r &quot;$original&quot; &quot;$RTAS&quot;&#10; fi&#10;fi&#10;&#10;if [ $copyAAX -gt 0 ]; then&#10; echo &quot;Copying to AAX folder...&quot;&#10;&#10; if [ -d &quot;/Applications/ProTools_3PDev/Plug-Ins&quot; ]; then&#10; AAX1=&quot;/Applications/ProTools_3PDev/Plug-Ins/$PRODUCT_NAME.aaxplugin&quot;&#10;&#10; if [ -d &quot;$AAX1&quot; ]; then&#10; rm -r &quot;$AAX1&quot;&#10; fi&#10;&#10; cp -R -H &quot;$original&quot; &quot;$AAX1&quot;&#10; fi&#10;&#10; if [ -d &quot;/Library/Application Support/Avid/Audio/Plug-Ins&quot; ]; then&#10; AAX2=&quot;/Library/Application Support/Avid/Audio/Plug-Ins/$PRODUCT_NAME.aaxplugin&quot;&#10;&#10; if [ -d &quot;$AAX2&quot; ]; then&#10; rm -r &quot;$AAX2&quot;&#10; fi&#10;&#10; cp -R -H &quot;$original&quot; &quot;$AAX2&quot;&#10; fi&#10;fi&#10;"
vst3Folder="ThirdParty/Vst/" externalLibraries="" extraDefs=""
vst3Folder="ThirdParty/Vst/" externalLibraries="" extraDefs="HAVE_UNISTD_H=1&#10;HAVE_ALLOCA_H=1"
extraLinkerFlags="" extraCompilerFlags="">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" osxSDK="default" osxCompatibility="default" osxArchitecture="64BitUniversal"
<CONFIGURATION name="Debug" osxSDK="default" osxCompatibility="10.9 SDK" osxArchitecture="64BitUniversal"
isDebug="1" optimisation="1" targetName="Camomile" headerPath="../../ThirdParty/PureData/src"
libraryPath="" defines="" binaryPath="/Library/Audio/Plug-Ins"/>
<CONFIGURATION name="Release" osxSDK="default" osxCompatibility="default" osxArchitecture="64BitUniversal"
<CONFIGURATION name="Release" osxSDK="default" osxCompatibility="10.9 SDK" osxArchitecture="64BitUniversal"
isDebug="0" optimisation="3" targetName="Camomile" headerPath="../../ThirdParty/PureData/src"
libraryPath="" defines="" binaryPath="/Library/Audio/Plug-Ins"
linkTimeOptimisation="1"/>
Expand All @@ -192,7 +193,7 @@
</MODULEPATHS>
</XCODE_MAC>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile" vstFolder="ThirdParty/Vst/vstsdk2.4"
vst3Folder="ThirdParty/Vst/">
vst3Folder="ThirdParty/Vst/" extraDefs="HAVE_UNISTD_H=1&#10;HAVE_LIBDL=1&#10;HAVE_ALLOCA_H=1">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" libraryPath="/usr/X11R6/lib/" isDebug="1" optimisation="1"
targetName="Camomile" linuxArchitecture="" headerPath="../../ThirdParty/PureData/src"/>
Expand All @@ -211,6 +212,35 @@
<MODULEPATH id="juce_audio_basics" path="ThirdParty/Juce/modules"/>
</MODULEPATHS>
</LINUX_MAKE>
<VS2015 targetFolder="Builds/VisualStudio2015" vstFolder="ThirdParty\Vst\vstsdk2.4"
vst3Folder="ThirdParty\Vst" extraDefs="HAVE_STRUCT_TIMESPEC=1&#10;PTW32_STATIC_LIB=1"
externalLibraries="pthread_lib.lib">
<CONFIGURATIONS>
<CONFIGURATION name="Debug32" winWarningLevel="4" generateManifest="1" winArchitecture="32-bit"
isDebug="1" optimisation="1" targetName="Camomile" headerPath="../../ThirdParty/PureData/src&#10;../../ThirdParty/PthreadWindows/include"
useRuntimeLibDLL="0" libraryPath="../../ThirdParty/PthreadWindows/lib/x86"/>
<CONFIGURATION name="Release32" winWarningLevel="4" generateManifest="1" winArchitecture="32-bit"
isDebug="0" optimisation="3" targetName="Camomile" headerPath="../../ThirdParty/PureData/src&#10;../../ThirdParty/PthreadWindows/include"
useRuntimeLibDLL="0" libraryPath="../../ThirdParty/PthreadWindows/lib/x86"/>
<CONFIGURATION name="Debug64" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
isDebug="1" optimisation="1" targetName="Camomile" headerPath="../../ThirdParty/PureData/src&#10;../../ThirdParty/PthreadWindows/include"
useRuntimeLibDLL="0" libraryPath="../../ThirdParty/PthreadWindows/lib/x64&#10;"/>
<CONFIGURATION name="Release64" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
isDebug="0" optimisation="3" targetName="Camomile" headerPath="../../ThirdParty/PureData/src&#10;../../ThirdParty/PthreadWindows/include"
useRuntimeLibDLL="0" libraryPath="../../ThirdParty/PthreadWindows/lib/x64&#10;"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_gui_basics" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_graphics" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_events" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_data_structures" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_core" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_audio_processors" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_audio_plugin_client" path="ThirdParty/Juce/modules"/>
<MODULEPATH id="juce_audio_basics" path="ThirdParty/Juce/modules"/>
</MODULEPATHS>
</VS2015>
</EXPORTFORMATS>
<MODULES>
<MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0"/>
Expand Down
10 changes: 5 additions & 5 deletions JuceLibraryCode/AppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@
#define JucePlugin_Manufacturer "Pierre Guillot"
#endif
#ifndef JucePlugin_ManufacturerWebsite
#define JucePlugin_ManufacturerWebsite "http://cicm.mshparisnord.org/"
#define JucePlugin_ManufacturerWebsite "https://github.com/pierreguillot/Camomile"
#endif
#ifndef JucePlugin_ManufacturerEmail
#define JucePlugin_ManufacturerEmail "https://github.com/pierreguillot/Camomile"
#define JucePlugin_ManufacturerEmail ""
#endif
#ifndef JucePlugin_ManufacturerCode
#define JucePlugin_ManufacturerCode 'CICM'
Expand All @@ -181,13 +181,13 @@
#define JucePlugin_EditorRequiresKeyboardFocus 1
#endif
#ifndef JucePlugin_Version
#define JucePlugin_Version 0.0.3
#define JucePlugin_Version 0.0.5
#endif
#ifndef JucePlugin_VersionCode
#define JucePlugin_VersionCode 0x3
#define JucePlugin_VersionCode 0x5
#endif
#ifndef JucePlugin_VersionString
#define JucePlugin_VersionString "0.0.3"
#define JucePlugin_VersionString "0.0.5"
#endif
#ifndef JucePlugin_VSTUniqueID
#define JucePlugin_VSTUniqueID JucePlugin_PluginCode
Expand Down
Loading

0 comments on commit 678e073

Please sign in to comment.