1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Update to version 0.9.0

PR:		58768
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2003-10-31 21:55:34 +00:00
parent 3956173918
commit 446c90c275
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92752
12 changed files with 165 additions and 18 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (cheesetracker-0.8.0.tar.gz) = 2c310d1886cd55ba1610f60b224c1162
MD5 (cheesetracker-0.9.0.tar.gz) = 2da27c3b5b146263c56cbc5a06817d73

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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() {

View File

@ -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) {

View File

@ -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 (

View File

@ -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() {

View File

@ -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() {

View File

@ -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

View File

@ -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() {