diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-31 21:55:34 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-31 21:55:34 +0000 |
commit | 446c90c275cd40c0349715dff560dd989b20dce7 (patch) | |
tree | a5d1a56331472aa8339bef3f89aa9656cbc65701 /audio/cheesetracker | |
parent | 3956173918ac0fec0982aab944be5d9ff5c3f5ab (diff) | |
download | ports-446c90c275cd40c0349715dff560dd989b20dce7.tar.gz ports-446c90c275cd40c0349715dff560dd989b20dce7.zip |
Notes
Diffstat (limited to 'audio/cheesetracker')
12 files changed, 165 insertions, 18 deletions
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile index b33db94d4230..cc19a76fafb5 100644 --- a/audio/cheesetracker/Makefile +++ b/audio/cheesetracker/Makefile @@ -7,7 +7,7 @@ # PORTNAME= cheesetracker -PORTVERSION= 0.8.0 +PORTVERSION= 0.9.0 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= cheesetronic diff --git a/audio/cheesetracker/distinfo b/audio/cheesetracker/distinfo index cf27fb59bae1..f84894fdfb96 100644 --- a/audio/cheesetracker/distinfo +++ b/audio/cheesetracker/distinfo @@ -1 +1 @@ -MD5 (cheesetracker-0.8.0.tar.gz) = 2c310d1886cd55ba1610f60b224c1162 +MD5 (cheesetracker-0.9.0.tar.gz) = 2da27c3b5b146263c56cbc5a06817d73 diff --git a/audio/cheesetracker/files/cheesetracker.pro b/audio/cheesetracker/files/cheesetracker.pro index 027d7dbd207c..ca2ce7354c1a 100644 --- a/audio/cheesetracker/files/cheesetracker.pro +++ b/audio/cheesetracker/files/cheesetracker.pro @@ -2,29 +2,27 @@ TEMPLATE = app CONFIG = qt warn_on thread release TERGET = cheesetracker -DEFINES = POSIX_ENABLED OSS_ENABLED +DEFINES = POSIX_ENABLED OSS_ENABLED LADSPA_ENABLED LIBS = -L${LOCALBASE}/lib -lsigc-1.2 -INCLUDEPATH = ${LOCALBASE}/lib/sigc++-1.2/include \ - ${LOCALBASE}/include/sigc++-1.2 \ - common \ +INCLUDEPATH = common \ common/components/audio \ common/components/data \ common/components/midi \ common/defines \ trackercore \ loaders \ - savers + savers \ + ${LOCALBASE}/lib/sigc++-1.2/include \ + ${LOCALBASE}/include/sigc++-1.2 \ + ${LOCALBASE}/include HEADERS = \ + common/interface__QT/helpers/property_bridge_edit.h \ + common/interface__QT/helpers/cspinbutton.h \ common/interface__QT/helpers/ccolor_bridge.h \ common/interface__QT/helpers/ccolor_list.h \ - common/interface__QT/helpers/ccolor_panel.h \ - common/interface__QT/helpers/cspinbutton.h \ common/interface__QT/helpers/font_bridge.h \ common/interface__QT/helpers/keyboard_input_config.h \ - common/interface__QT/helpers/property_bridge_edit.h \ - common/interface__QT/helpers/property_bridge_edit_list.h \ - common/interface__QT/helpers/vertical_scrolled_window.h \ common/interface__QT/audio/audio_config.h \ common/interface__QT/audio/sample_editor.h \ common/interface__QT/audio/sample_editor_format.h \ @@ -36,8 +34,9 @@ HEADERS = \ common/interface__QT/audio/note_bridge.h \ common/interface__QT/audio/sample_editor_clipboard.h \ common/interface__QT/audio/sample_editor_effects.h \ - common/interface__QT/popups/cspindialog.h \ - common/interface__QT/popups/text_area_popup.h \ + common/interface__QT/audio/mixer_effects_manager.h \ + common/interface__QT/audio/effect_chain_editor.h \ + common/interface__QT/popups/effect_select_popup.h \ interface__QT/pattern_edit.h \ interface__QT/pattern_edit_widget.h \ interface__QT/sample_edit.h \ @@ -45,19 +44,29 @@ HEADERS = \ interface__QT/interface.h \ interface__QT/order_and_defaults_editor.h \ interface__QT/variables_edit.h \ - interface__QT/mdi_main_window.h + interface__QT/mdi_main_window.h \ + interface__QT/sample_player_fdialog.h SOURCES = \ - common/plugins/effects/custom/chorus.cpp \ + common/plugins/effects/custom/dummy_effect.cpp \ + common/plugins/effects/custom/chorus_effect.cpp \ + common/plugins/effects/custom/freeverb_effect.cpp \ + common/plugins/effects/custom/effect_amp.cpp \ + common/plugins/effects/custom/effect_distort.cpp \ + common/plugins/effects/custom/effect_echo.cpp \ + common/plugins/effects/custom/effect_stereo_enhancer.cpp \ common/plugins/effects/freeverb/allpass.cpp \ common/plugins/effects/freeverb/comb.cpp \ common/plugins/effects/freeverb/revmodel.cpp \ + common/plugins/effects/ladspa/ladspa_effect_source.cpp \ + common/plugins/effects/ladspa/ladspa_effect.cpp \ common/plugins/edit_effects/simple_edit_effects.cpp \ common/plugins/resamplers/resampler_raw.cpp \ common/plugins/resamplers/resampler_linear.cpp \ + common/plugins/resamplers/resampler_dummy.cpp \ common/os/mutex_lock.cpp \ - common/os/path_data.cpp \ common/os/threaded_class.cpp \ + common/os/path_data.cpp \ common/os/timer.cpp \ common/components/audio/sound_driver_manager.cpp \ common/components/audio/effect.cpp \ @@ -73,10 +82,15 @@ SOURCES = \ common/components/audio/sample_data.cpp \ common/components/audio/sample_conversion.cpp \ common/components/audio/mixer_base.cpp \ + common/components/audio/mixer__buffers.cpp \ common/components/audio/ring_buffer.cpp \ common/components/audio/tables.cpp \ common/components/audio/edit_effect.cpp \ + common/components/audio/effect_source_internal.cpp \ + common/components/audio/effect_source_manager.cpp \ + common/components/audio/effect_chain.cpp \ common/components/audio/sound_driver_dummy.cpp \ + common/components/audio/dds_helpers.cpp \ common/components/midi/midi_client.cpp \ common/components/midi/midi_out_device.cpp \ common/components/midi/midioutdevicemanager.cpp \ @@ -90,14 +104,19 @@ SOURCES = \ common/components/data/config_handler.cpp \ common/components/data/keyboard_input.cpp \ common/components/data/selection.cpp \ + common/components/data/dds.cpp \ + common/components/data/dds_packer.cpp \ common/drivers/posix/timer_rtc.cpp \ common/drivers/posix/timer_sigalarm.cpp \ common/drivers/posix/sound_driver_jack.cpp \ common/drivers/posix/sound_driver_oss.cpp \ common/drivers/posix/midi_out_device_alsa.cpp \ common/drivers/posix/midi_out_device_oss.cpp \ + common/drivers/rtaudio/rt_audio.cpp \ + common/drivers/rtaudio/sound_driver_rtaudio.cpp \ common/interface__QT/helpers/property_bridge_edit.cpp \ common/interface__QT/helpers/cspinbutton.cpp \ + common/interface__QT/helpers/clist_manager.cpp \ common/interface__QT/helpers/vertical_scrolled_window.cpp \ common/interface__QT/helpers/ccolor_panel.cpp \ common/interface__QT/helpers/ccolor_bridge.cpp \ @@ -116,8 +135,11 @@ SOURCES = \ common/interface__QT/audio/note_bridge.cpp \ common/interface__QT/audio/sample_editor_clipboard.cpp \ common/interface__QT/audio/sample_editor_effects.cpp \ + common/interface__QT/audio/mixer_effects_manager.cpp \ + common/interface__QT/audio/effect_chain_editor.cpp \ common/interface__QT/popups/cspindialog.cpp \ common/interface__QT/popups/text_area_popup.cpp \ + common/interface__QT/popups/effect_select_popup.cpp \ trackercore/file_format_manager.cpp \ trackercore/file_reader.cpp \ trackercore/file_writer.cpp \ @@ -149,15 +171,17 @@ SOURCES = \ loaders/loader_s3m.cpp \ loaders/loader_wav.cpp \ loaders/loader_xm.cpp \ + loaders/loader_ct.cpp \ + savers/saver_ct.cpp \ savers/saver_it.cpp \ savers/saver_raw.cpp \ savers/saver_wav.cpp \ interface_binds/editor_commands.cpp \ interface_binds/editor.cpp \ + interface_binds/editor_insertion.cpp \ interface_binds/editor_orderlist.cpp \ interface_binds/editor_selection.cpp \ interface_binds/editor_undo.cpp \ - interface_binds/editor_insertion.cpp \ interface_binds/tracker_instance.cpp \ interface_binds/player_rt_keyboard.cpp \ interface__QT/sample_edit.cpp \ @@ -173,5 +197,6 @@ SOURCES = \ interface__QT/sample_instrument_table.cpp \ interface__QT/pattern_edit_widget.cpp \ interface__QT/table_base.cpp \ + interface__QT/sample_player_fdialog.cpp \ program__QT/cheesetracker_qt.cpp diff --git a/audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h b/audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h new file mode 100644 index 000000000000..31a858e7ea3e --- /dev/null +++ b/audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h @@ -0,0 +1,10 @@ +--- common/drivers/posix/mutex_lock_pthreads.h.orig Tue Oct 28 12:21:45 2003 ++++ common/drivers/posix/mutex_lock_pthreads.h Thu Oct 30 00:30:26 2003 +@@ -37,6 +37,7 @@ + + #include "os/mutex_lock.h" + #include <pthread.h> ++#include <errno.h> + + /** + *@author Juan Linietsky diff --git a/audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp b/audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp new file mode 100644 index 000000000000..45b59f4b42dd --- /dev/null +++ b/audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp @@ -0,0 +1,13 @@ +--- common/drivers/rtaudio/rt_audio.cpp.orig Mon Jun 30 12:29:43 2003 ++++ common/drivers/rtaudio/rt_audio.cpp Thu Oct 30 12:04:02 2003 +@@ -68,6 +68,10 @@ + #define MUTEX_UNLOCK(A) pthread_mutex_unlock(A) + #endif + ++#if defined(__FreeBSD__) ++ #define O_SYNC O_FSYNC ++#endif ++ + // *************************************************** // + // + // Public common (OS-independent) methods. diff --git a/audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp b/audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp new file mode 100644 index 000000000000..5f26436a5b87 --- /dev/null +++ b/audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp @@ -0,0 +1,14 @@ +--- common/interface__QT/audio/sample_editor_format.cpp.orig Fri Oct 24 06:29:26 2003 ++++ common/interface__QT/audio/sample_editor_format.cpp Thu Oct 30 12:05:50 2003 +@@ -36,6 +36,11 @@ + #include "interface__QT/icons/transp_semitone_up.xpm" + #include <qpushbutton.h> + #include <qhbox.h> ++#include <math.h> ++ ++#if defined(__FreeBSD__) ++ #define round(c) rint(c) ++#endif + + void Sample_Editor_Format::transpose_up_1_4_cbk() { + diff --git a/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp b/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp new file mode 100644 index 000000000000..4d991ac9587d --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp @@ -0,0 +1,19 @@ +--- common/plugins/effects/custom/chorus_effect.cpp.orig Sun Oct 26 05:07:38 2003 ++++ common/plugins/effects/custom/chorus_effect.cpp Thu Oct 30 12:00:04 2003 +@@ -10,10 +10,16 @@ + // + // + #include "chorus_effect.h" ++#include <math.h> + + + #define FRACTIONAL_BITS 13 + #define MIX_CALCULATE_INCREMENT_INTERVAL 8 ++ ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif + + + inline static double get_msecs_from_samples(double p_samples,double p_mixfreq) { diff --git a/audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp b/audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp new file mode 100644 index 000000000000..7edc2aa91cf8 --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp @@ -0,0 +1,14 @@ +--- common/plugins/effects/custom/freeverb_effect.cpp.orig Sun Oct 26 05:07:38 2003 ++++ common/plugins/effects/custom/freeverb_effect.cpp Thu Oct 30 12:00:43 2003 +@@ -14,6 +14,11 @@ + + #define REVERB_SOFT_BITS 16 + ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif ++ + void Freeverb_Effect::check_params_changed() { + + if ( diff --git a/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp b/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp new file mode 100644 index 000000000000..524499aaa6a6 --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp @@ -0,0 +1,14 @@ +--- common/plugins/effects/ladspa/ladspa_effect.cpp.orig Sun Oct 26 05:07:38 2003 ++++ common/plugins/effects/ladspa/ladspa_effect.cpp Thu Oct 30 12:01:23 2003 +@@ -18,6 +18,11 @@ + #include <dirent.h> + #include <dlfcn.h> + ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif ++ + + void LADSPA_Effect::reset() { + diff --git a/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp b/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp new file mode 100644 index 000000000000..8653657060ac --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp @@ -0,0 +1,10 @@ +--- common/plugins/effects/ladspa/ladspa_effect_source.cpp.orig Fri Oct 24 12:47:05 2003 ++++ common/plugins/effects/ladspa/ladspa_effect_source.cpp Wed Oct 29 22:14:50 2003 +@@ -16,6 +16,7 @@ + #include <sys/types.h> + #include <dirent.h> + #include <dlfcn.h> ++#include <algorithm> + + + int LADSPA_Effect_Source::get_effect_count() { diff --git a/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h new file mode 100644 index 000000000000..5389cfe01f78 --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h @@ -0,0 +1,14 @@ +--- common/plugins/resamplers/helpers.h.orig Sun Oct 26 04:16:26 2003 ++++ common/plugins/resamplers/helpers.h Thu Oct 30 12:02:04 2003 +@@ -17,6 +17,11 @@ + #define HELPERS_H + + ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif ++ + //hardcoded for now! + #define FILTER_BITS 12 + #define RAMP_BITS 11 diff --git a/audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp b/audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp new file mode 100644 index 000000000000..67ee20472fb0 --- /dev/null +++ b/audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp @@ -0,0 +1,14 @@ +--- trackercore/tracker_voice.cpp.orig Sun Oct 26 05:00:37 2003 ++++ trackercore/tracker_voice.cpp Thu Oct 30 12:02:37 2003 +@@ -16,6 +16,11 @@ + + #include "tracker_voice.h" + ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif ++ + + int Tracker_Voice::get_current_freq() { + |