View | Details | Raw Unified | Return to bug 58768
Collapse All | Expand All

(-)audio/cheesetracker/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	cheesetracker
9
PORTNAME=	cheesetracker
10
PORTVERSION=	0.8.0
10
PORTVERSION=	0.9.0
11
CATEGORIES=	audio
11
CATEGORIES=	audio
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	cheesetronic
13
MASTER_SITE_SUBDIR=	cheesetronic
(-)audio/cheesetracker/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (cheesetracker-0.8.0.tar.gz) = 2c310d1886cd55ba1610f60b224c1162
1
MD5 (cheesetracker-0.9.0.tar.gz) = 2da27c3b5b146263c56cbc5a06817d73
(-)audio/cheesetracker/files/cheesetracker.pro (-16 / +41 lines)
Lines 2-30 Link Here
2
CONFIG =	qt warn_on thread release 
2
CONFIG =	qt warn_on thread release 
3
TERGET =	cheesetracker
3
TERGET =	cheesetracker
4
4
5
DEFINES =	POSIX_ENABLED OSS_ENABLED
5
DEFINES =	POSIX_ENABLED OSS_ENABLED LADSPA_ENABLED
6
LIBS =		-L${LOCALBASE}/lib -lsigc-1.2
6
LIBS =		-L${LOCALBASE}/lib -lsigc-1.2
7
INCLUDEPATH =	${LOCALBASE}/lib/sigc++-1.2/include \
7
INCLUDEPATH =	common \
8
		${LOCALBASE}/include/sigc++-1.2 \
9
		common \
10
		common/components/audio \
8
		common/components/audio \
11
		common/components/data \
9
		common/components/data \
12
		common/components/midi \
10
		common/components/midi \
13
		common/defines \
11
		common/defines \
14
		trackercore \
12
		trackercore \
15
		loaders \
13
		loaders \
16
		savers
14
		savers \
15
		${LOCALBASE}/lib/sigc++-1.2/include \
16
		${LOCALBASE}/include/sigc++-1.2 \
17
		${LOCALBASE}/include
17
18
18
HEADERS = \
19
HEADERS = \
20
		common/interface__QT/helpers/property_bridge_edit.h \
21
		common/interface__QT/helpers/cspinbutton.h \
19
		common/interface__QT/helpers/ccolor_bridge.h \
22
		common/interface__QT/helpers/ccolor_bridge.h \
20
		common/interface__QT/helpers/ccolor_list.h \
23
		common/interface__QT/helpers/ccolor_list.h \
21
		common/interface__QT/helpers/ccolor_panel.h \
22
		common/interface__QT/helpers/cspinbutton.h \
23
		common/interface__QT/helpers/font_bridge.h \
24
		common/interface__QT/helpers/font_bridge.h \
24
		common/interface__QT/helpers/keyboard_input_config.h \
25
		common/interface__QT/helpers/keyboard_input_config.h \
25
		common/interface__QT/helpers/property_bridge_edit.h \
26
		common/interface__QT/helpers/property_bridge_edit_list.h \
27
		common/interface__QT/helpers/vertical_scrolled_window.h \
28
		common/interface__QT/audio/audio_config.h \
26
		common/interface__QT/audio/audio_config.h \
29
		common/interface__QT/audio/sample_editor.h \
27
		common/interface__QT/audio/sample_editor.h \
30
		common/interface__QT/audio/sample_editor_format.h \
28
		common/interface__QT/audio/sample_editor_format.h \
Lines 36-43 Link Here
36
		common/interface__QT/audio/note_bridge.h \
34
		common/interface__QT/audio/note_bridge.h \
37
		common/interface__QT/audio/sample_editor_clipboard.h \
35
		common/interface__QT/audio/sample_editor_clipboard.h \
38
		common/interface__QT/audio/sample_editor_effects.h \
36
		common/interface__QT/audio/sample_editor_effects.h \
39
		common/interface__QT/popups/cspindialog.h \
37
		common/interface__QT/audio/mixer_effects_manager.h \
40
		common/interface__QT/popups/text_area_popup.h \
38
		common/interface__QT/audio/effect_chain_editor.h \
39
		common/interface__QT/popups/effect_select_popup.h \
41
		interface__QT/pattern_edit.h \
40
		interface__QT/pattern_edit.h \
42
		interface__QT/pattern_edit_widget.h \
41
		interface__QT/pattern_edit_widget.h \
43
		interface__QT/sample_edit.h \
42
		interface__QT/sample_edit.h \
Lines 45-63 Link Here
45
		interface__QT/interface.h \
44
		interface__QT/interface.h \
46
		interface__QT/order_and_defaults_editor.h \
45
		interface__QT/order_and_defaults_editor.h \
47
		interface__QT/variables_edit.h \
46
		interface__QT/variables_edit.h \
48
		interface__QT/mdi_main_window.h
47
		interface__QT/mdi_main_window.h \
48
		interface__QT/sample_player_fdialog.h
49
49
50
SOURCES = \
50
SOURCES = \
51
		common/plugins/effects/custom/chorus.cpp \
51
		common/plugins/effects/custom/dummy_effect.cpp \
52
		common/plugins/effects/custom/chorus_effect.cpp \
53
		common/plugins/effects/custom/freeverb_effect.cpp \
54
		common/plugins/effects/custom/effect_amp.cpp \
55
		common/plugins/effects/custom/effect_distort.cpp \
56
		common/plugins/effects/custom/effect_echo.cpp \
57
		common/plugins/effects/custom/effect_stereo_enhancer.cpp \
52
		common/plugins/effects/freeverb/allpass.cpp \
58
		common/plugins/effects/freeverb/allpass.cpp \
53
		common/plugins/effects/freeverb/comb.cpp \
59
		common/plugins/effects/freeverb/comb.cpp \
54
		common/plugins/effects/freeverb/revmodel.cpp \
60
		common/plugins/effects/freeverb/revmodel.cpp \
61
		common/plugins/effects/ladspa/ladspa_effect_source.cpp \
62
		common/plugins/effects/ladspa/ladspa_effect.cpp \
55
		common/plugins/edit_effects/simple_edit_effects.cpp \
63
		common/plugins/edit_effects/simple_edit_effects.cpp \
56
		common/plugins/resamplers/resampler_raw.cpp \
64
		common/plugins/resamplers/resampler_raw.cpp \
57
		common/plugins/resamplers/resampler_linear.cpp \
65
		common/plugins/resamplers/resampler_linear.cpp \
66
		common/plugins/resamplers/resampler_dummy.cpp \
58
		common/os/mutex_lock.cpp \
67
		common/os/mutex_lock.cpp \
59
		common/os/path_data.cpp \
60
		common/os/threaded_class.cpp \
68
		common/os/threaded_class.cpp \
69
		common/os/path_data.cpp \
61
		common/os/timer.cpp \
70
		common/os/timer.cpp \
62
		common/components/audio/sound_driver_manager.cpp \
71
		common/components/audio/sound_driver_manager.cpp \
63
		common/components/audio/effect.cpp \
72
		common/components/audio/effect.cpp \
Lines 73-82 Link Here
73
		common/components/audio/sample_data.cpp \
82
		common/components/audio/sample_data.cpp \
74
		common/components/audio/sample_conversion.cpp \
83
		common/components/audio/sample_conversion.cpp \
75
		common/components/audio/mixer_base.cpp \
84
		common/components/audio/mixer_base.cpp \
85
		common/components/audio/mixer__buffers.cpp \
76
		common/components/audio/ring_buffer.cpp \
86
		common/components/audio/ring_buffer.cpp \
77
		common/components/audio/tables.cpp \
87
		common/components/audio/tables.cpp \
78
		common/components/audio/edit_effect.cpp \
88
		common/components/audio/edit_effect.cpp \
89
		common/components/audio/effect_source_internal.cpp \
90
		common/components/audio/effect_source_manager.cpp \
91
		common/components/audio/effect_chain.cpp \
79
		common/components/audio/sound_driver_dummy.cpp \
92
		common/components/audio/sound_driver_dummy.cpp \
93
		common/components/audio/dds_helpers.cpp \
80
		common/components/midi/midi_client.cpp \
94
		common/components/midi/midi_client.cpp \
81
		common/components/midi/midi_out_device.cpp \
95
		common/components/midi/midi_out_device.cpp \
82
		common/components/midi/midioutdevicemanager.cpp \
96
		common/components/midi/midioutdevicemanager.cpp \
Lines 90-103 Link Here
90
		common/components/data/config_handler.cpp \
104
		common/components/data/config_handler.cpp \
91
		common/components/data/keyboard_input.cpp \
105
		common/components/data/keyboard_input.cpp \
92
		common/components/data/selection.cpp \
106
		common/components/data/selection.cpp \
107
		common/components/data/dds.cpp \
108
		common/components/data/dds_packer.cpp \
93
		common/drivers/posix/timer_rtc.cpp \
109
		common/drivers/posix/timer_rtc.cpp \
94
		common/drivers/posix/timer_sigalarm.cpp \
110
		common/drivers/posix/timer_sigalarm.cpp \
95
		common/drivers/posix/sound_driver_jack.cpp \
111
		common/drivers/posix/sound_driver_jack.cpp \
96
		common/drivers/posix/sound_driver_oss.cpp \
112
		common/drivers/posix/sound_driver_oss.cpp \
97
		common/drivers/posix/midi_out_device_alsa.cpp \
113
		common/drivers/posix/midi_out_device_alsa.cpp \
98
		common/drivers/posix/midi_out_device_oss.cpp \
114
		common/drivers/posix/midi_out_device_oss.cpp \
115
		common/drivers/rtaudio/rt_audio.cpp \
116
		common/drivers/rtaudio/sound_driver_rtaudio.cpp \
99
		common/interface__QT/helpers/property_bridge_edit.cpp \
117
		common/interface__QT/helpers/property_bridge_edit.cpp \
100
		common/interface__QT/helpers/cspinbutton.cpp \
118
		common/interface__QT/helpers/cspinbutton.cpp \
119
		common/interface__QT/helpers/clist_manager.cpp \
101
		common/interface__QT/helpers/vertical_scrolled_window.cpp \
120
		common/interface__QT/helpers/vertical_scrolled_window.cpp \
102
		common/interface__QT/helpers/ccolor_panel.cpp \
121
		common/interface__QT/helpers/ccolor_panel.cpp \
103
		common/interface__QT/helpers/ccolor_bridge.cpp \
122
		common/interface__QT/helpers/ccolor_bridge.cpp \
Lines 116-123 Link Here
116
		common/interface__QT/audio/note_bridge.cpp \
135
		common/interface__QT/audio/note_bridge.cpp \
117
		common/interface__QT/audio/sample_editor_clipboard.cpp \
136
		common/interface__QT/audio/sample_editor_clipboard.cpp \
118
		common/interface__QT/audio/sample_editor_effects.cpp \
137
		common/interface__QT/audio/sample_editor_effects.cpp \
138
		common/interface__QT/audio/mixer_effects_manager.cpp \
139
		common/interface__QT/audio/effect_chain_editor.cpp \
119
		common/interface__QT/popups/cspindialog.cpp \
140
		common/interface__QT/popups/cspindialog.cpp \
120
		common/interface__QT/popups/text_area_popup.cpp \
141
		common/interface__QT/popups/text_area_popup.cpp \
142
		common/interface__QT/popups/effect_select_popup.cpp \
121
		trackercore/file_format_manager.cpp \
143
		trackercore/file_format_manager.cpp \
122
		trackercore/file_reader.cpp \
144
		trackercore/file_reader.cpp \
123
		trackercore/file_writer.cpp \
145
		trackercore/file_writer.cpp \
Lines 149-163 Link Here
149
		loaders/loader_s3m.cpp \
171
		loaders/loader_s3m.cpp \
150
		loaders/loader_wav.cpp \
172
		loaders/loader_wav.cpp \
151
		loaders/loader_xm.cpp \
173
		loaders/loader_xm.cpp \
174
		loaders/loader_ct.cpp \
175
		savers/saver_ct.cpp \
152
		savers/saver_it.cpp \
176
		savers/saver_it.cpp \
153
		savers/saver_raw.cpp \
177
		savers/saver_raw.cpp \
154
		savers/saver_wav.cpp \
178
		savers/saver_wav.cpp \
155
		interface_binds/editor_commands.cpp \
179
		interface_binds/editor_commands.cpp \
156
		interface_binds/editor.cpp \
180
		interface_binds/editor.cpp \
181
		interface_binds/editor_insertion.cpp \
157
		interface_binds/editor_orderlist.cpp \
182
		interface_binds/editor_orderlist.cpp \
158
		interface_binds/editor_selection.cpp \
183
		interface_binds/editor_selection.cpp \
159
		interface_binds/editor_undo.cpp \
184
		interface_binds/editor_undo.cpp \
160
		interface_binds/editor_insertion.cpp \
161
		interface_binds/tracker_instance.cpp \
185
		interface_binds/tracker_instance.cpp \
162
		interface_binds/player_rt_keyboard.cpp \
186
		interface_binds/player_rt_keyboard.cpp \
163
		interface__QT/sample_edit.cpp \
187
		interface__QT/sample_edit.cpp \
Lines 173-177 Link Here
173
		interface__QT/sample_instrument_table.cpp \
197
		interface__QT/sample_instrument_table.cpp \
174
		interface__QT/pattern_edit_widget.cpp \
198
		interface__QT/pattern_edit_widget.cpp \
175
		interface__QT/table_base.cpp \
199
		interface__QT/table_base.cpp \
200
		interface__QT/sample_player_fdialog.cpp \
176
		program__QT/cheesetracker_qt.cpp
201
		program__QT/cheesetracker_qt.cpp
177
202
(-)audio/cheesetracker/files/patch-common::drivers::posix::mutex_lock_pthread.h (+10 lines)
Line 0 Link Here
1
--- common/drivers/posix/mutex_lock_pthreads.h.orig	Tue Oct 28 12:21:45 2003
2
+++ common/drivers/posix/mutex_lock_pthreads.h	Thu Oct 30 00:30:26 2003
3
@@ -37,6 +37,7 @@
4
 
5
 #include "os/mutex_lock.h"
6
 #include <pthread.h>
7
+#include <errno.h>
8
 
9
 /**
10
   *@author Juan Linietsky
(-)audio/cheesetracker/files/patch-common::drivers::rtaudio::rt_audio.cpp (+13 lines)
Line 0 Link Here
1
--- common/drivers/rtaudio/rt_audio.cpp.orig	Mon Jun 30 12:29:43 2003
2
+++ common/drivers/rtaudio/rt_audio.cpp	Thu Oct 30 12:04:02 2003
3
@@ -68,6 +68,10 @@
4
   #define MUTEX_UNLOCK(A)     pthread_mutex_unlock(A)
5
 #endif
6
 
7
+#if defined(__FreeBSD__)
8
+  #define O_SYNC O_FSYNC
9
+#endif
10
+
11
 // *************************************************** //
12
 //
13
 // Public common (OS-independent) methods.
(-)audio/cheesetracker/files/patch-common::interface__QT::audio::sample_editor_format.cpp (+14 lines)
Line 0 Link Here
1
--- common/interface__QT/audio/sample_editor_format.cpp.orig	Fri Oct 24 06:29:26 2003
2
+++ common/interface__QT/audio/sample_editor_format.cpp	Thu Oct 30 12:05:50 2003
3
@@ -36,6 +36,11 @@
4
 #include "interface__QT/icons/transp_semitone_up.xpm"
5
 #include <qpushbutton.h>
6
 #include <qhbox.h>
7
+#include <math.h>
8
+
9
+#if defined(__FreeBSD__)
10
+  #define round(c) rint(c)
11
+#endif
12
 
13
 void Sample_Editor_Format::transpose_up_1_4_cbk() {
14
 
(-)audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp (+19 lines)
Line 0 Link Here
1
--- common/plugins/effects/custom/chorus_effect.cpp.orig	Sun Oct 26 05:07:38 2003
2
+++ common/plugins/effects/custom/chorus_effect.cpp	Thu Oct 30 12:00:04 2003
3
@@ -10,10 +10,16 @@
4
 //
5
 //
6
 #include "chorus_effect.h"
7
+#include <math.h>
8
 
9
 
10
 #define FRACTIONAL_BITS 13
11
 #define MIX_CALCULATE_INCREMENT_INTERVAL 8
12
+
13
+#if defined(__FreeBSD__)
14
+  #define lrint(flt)	((int) (flt))
15
+  #define lrintf(flt)	((int) (flt))
16
+#endif
17
 
18
 
19
 inline static double get_msecs_from_samples(double p_samples,double p_mixfreq) {
(-)audio/cheesetracker/files/patch-common::plugins::effects::custom::freeverb_effect.cpp (+14 lines)
Line 0 Link Here
1
--- common/plugins/effects/custom/freeverb_effect.cpp.orig	Sun Oct 26 05:07:38 2003
2
+++ common/plugins/effects/custom/freeverb_effect.cpp	Thu Oct 30 12:00:43 2003
3
@@ -14,6 +14,11 @@
4
 
5
 #define REVERB_SOFT_BITS 16
6
 
7
+#if defined(__FreeBSD__)
8
+  #define lrint(flt)	((int) (flt))
9
+  #define lrintf(flt)	((int) (flt))
10
+#endif
11
+
12
 void Freeverb_Effect::check_params_changed() {
13
 
14
 	if (
(-)audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect.cpp (+14 lines)
Line 0 Link Here
1
--- common/plugins/effects/ladspa/ladspa_effect.cpp.orig	Sun Oct 26 05:07:38 2003
2
+++ common/plugins/effects/ladspa/ladspa_effect.cpp	Thu Oct 30 12:01:23 2003
3
@@ -18,6 +18,11 @@
4
 #include <dirent.h>
5
 #include <dlfcn.h>
6
 
7
+#if defined(__FreeBSD__)
8
+  #define lrint(flt)	((int) (flt))
9
+  #define lrintf(flt)	((int) (flt))
10
+#endif
11
+
12
 
13
 void LADSPA_Effect::reset() {
14
 
(-)audio/cheesetracker/files/patch-common::plugins::effects::ladspa::ladspa_effect_source.cpp (+10 lines)
Line 0 Link Here
1
--- common/plugins/effects/ladspa/ladspa_effect_source.cpp.orig	Fri Oct 24 12:47:05 2003
2
+++ common/plugins/effects/ladspa/ladspa_effect_source.cpp	Wed Oct 29 22:14:50 2003
3
@@ -16,6 +16,7 @@
4
 #include <sys/types.h>
5
 #include <dirent.h>
6
 #include <dlfcn.h>
7
+#include <algorithm>
8
 
9
 
10
 int LADSPA_Effect_Source::get_effect_count() {
(-)audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h (+14 lines)
Line 0 Link Here
1
--- common/plugins/resamplers/helpers.h.orig	Sun Oct 26 04:16:26 2003
2
+++ common/plugins/resamplers/helpers.h	Thu Oct 30 12:02:04 2003
3
@@ -17,6 +17,11 @@
4
 #define HELPERS_H
5
 
6
 
7
+#if defined(__FreeBSD__)
8
+  #define lrint(flt)	((int) (flt))
9
+  #define lrintf(flt)	((int) (flt))
10
+#endif
11
+
12
 //hardcoded for now!
13
 #define FILTER_BITS 12
14
 #define RAMP_BITS 11
(-)audio/cheesetracker/files/patch-trackercore::tracker_voice.cpp (+14 lines)
Line 0 Link Here
1
--- trackercore/tracker_voice.cpp.orig	Sun Oct 26 05:00:37 2003
2
+++ trackercore/tracker_voice.cpp	Thu Oct 30 12:02:37 2003
3
@@ -16,6 +16,11 @@
4
 
5
 #include "tracker_voice.h"
6
 
7
+#if defined(__FreeBSD__)
8
+  #define lrint(flt)	((int) (flt))
9
+  #define lrintf(flt)	((int) (flt))
10
+#endif
11
+
12
 
13
 int Tracker_Voice::get_current_freq() {
14

Return to bug 58768