ports/58768: Update port: audio/cheesetrcker to 0.9.0
KATO Tsuguru
tkato at prontomail.com
Fri Oct 31 14:10:28 UTC 2003
>Number: 58768
>Category: ports
>Synopsis: Update port: audio/cheesetrcker to 0.9.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 31 06:10:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.0
New file:
files/patch-common::drivers::posix::mutex_lock_pthread.h
files/patch-common::drivers::rtaudio::rt_audio.cpp
files/patch-common::interface__QT::audio::sample_editor_format.cpp
files/patch-common::plugins::effects::custom::chorus_effect.cpp
files/patch-common::plugins::effects::custom::freeverb_effect.cpp
files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp
files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp
files/patch-common::plugins::resamplers::helpers.h
files/patch-trackercore::tracker_voice.cpp
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/cheesetracker/Makefile audio/cheesetracker/Makefile
--- /usr/ports/audio/cheesetracker/Makefile Mon Jul 28 18:05:56 2003
+++ audio/cheesetracker/Makefile Thu Oct 30 13:09:23 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/distinfo audio/cheesetracker/distinfo
--- /usr/ports/audio/cheesetracker/distinfo Mon Jul 28 18:05:56 2003
+++ audio/cheesetracker/distinfo Wed Oct 29 21:06:16 2003
@@ -1 +1 @@
-MD5 (cheesetracker-0.8.0.tar.gz) = 2c310d1886cd55ba1610f60b224c1162
+MD5 (cheesetracker-0.9.0.tar.gz) = 2da27c3b5b146263c56cbc5a06817d73
diff -urN /usr/ports/audio/cheesetracker/files/cheesetracker.pro audio/cheesetracker/files/cheesetracker.pro
--- /usr/ports/audio/cheesetracker/files/cheesetracker.pro Mon Jul 28 14:56:13 2003
+++ audio/cheesetracker/files/cheesetracker.pro Thu Oct 30 13:09:15 2003
@@ -2,29 +2,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 -urN /usr/ports/audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h
--- /usr/ports/audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h Thu Oct 30 00:30:43 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp Thu Oct 30 12:04:19 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp Thu Oct 30 12:06:06 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp Thu Oct 30 12:06:29 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp Thu Oct 30 12:07:14 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp Thu Oct 30 12:07:39 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp
--- /usr/ports/audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp Wed Oct 29 22:15:10 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
--- /usr/ports/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h Thu Oct 30 12:08:05 2003
@@ -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 -urN /usr/ports/audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp
--- /usr/ports/audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp Thu Jan 1 09:00:00 1970
+++ audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp Thu Oct 30 12:08:27 2003
@@ -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() {
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list