1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Add anthem, a KDE midi sequencer.

PR: ports/59243
Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
This commit is contained in:
Michael Nottebrock 2004-08-14 23:34:22 +00:00
parent c843f82c98
commit bf370981a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116226
20 changed files with 451 additions and 0 deletions

View File

@ -16,6 +16,7 @@
SUBDIR += amarok
SUBDIR += amp
SUBDIR += ample
SUBDIR += anthem
SUBDIR += arts
SUBDIR += artswrapper
SUBDIR += ascd

37
audio/anthem/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: anthem
# Date created: Wed Nov 12 14:10:12 PST 2003
# Whom: Mathew Kanner <mat@hak.cnd.mcgill.ca>
#
# $FreeBSD$
PORTNAME= anthem
PORTVERSION= 0.0.17
CATEGORIES= audio
MASTER_SITES= http://people.freebsd.org/~lofi/
MAINTAINER= ports@FreeBSD.org
COMMENT= A KDE midi sequencer
LIB_DEPENDS= tse3:${PORTSDIR}/audio/tse3
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CPPFLAGS+= -DQT_NO_ASCII_CAST
post-configure:
@${REINPLACE_CMD} -e 's|-Wall -g|${CFLAGS}|g' \
${WRKSRC}/anthem/dialogues/Makefile \
${WRKSRC}/anthem/gadgets/Makefile \
${WRKSRC}/anthem/misc/Makefile \
${WRKSRC}/anthem/phraseeditors/Makefile \
${WRKSRC}/anthem/settings/Makefile \
${WRKSRC}/anthem/songwindow/Makefile \
${WRKSRC}/anthem/tse3/kdeui/Makefile \
${WRKSRC}/Makefile
.include <bsd.port.mk>

2
audio/anthem/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (anthem-0.0.17.tar.gz) = 5f9b9e1c2a2b190bbd754994482f9000
SIZE (anthem-0.0.17.tar.gz) = 1397988

View File

@ -0,0 +1,36 @@
*** ../anthem-0.0.17.old/anthem/songwindow/Actions.cpp Sun Jul 28 11:13:08 2002
--- anthem/songwindow/Actions.cpp Wed Nov 12 21:47:26 2003
***************
*** 101,107 ****
AutoRepeatAction::AutoRepeatAction(const QString& text, const QString& pix,
int accel, const QObject* receiver,
const char* slot,
! QObject* parent, const char* name = 0)
: KAction(text, pix, accel, receiver, slot, parent, name)
{
}
--- 101,107 ----
AutoRepeatAction::AutoRepeatAction(const QString& text, const QString& pix,
int accel, const QObject* receiver,
const char* slot,
! QObject* parent, const char* name )
: KAction(text, pix, accel, receiver, slot, parent, name)
{
}
***************
*** 138,144 ****
RepeatToggleAction::RepeatToggleAction(const QString& text, const QString& pix,
int accel, const QObject* receiver,
const char* slot,
! QObject* parent, const char* name = 0)
: KToggleAction(text, pix, accel, receiver, slot, parent, name)
{
}
--- 138,144 ----
RepeatToggleAction::RepeatToggleAction(const QString& text, const QString& pix,
int accel, const QObject* receiver,
const char* slot,
! QObject* parent, const char* name )
: KToggleAction(text, pix, accel, receiver, slot, parent, name)
{
}

View File

@ -0,0 +1,21 @@
*** ../anthem-0.0.17.old/anthem/tse3/kdeui/ClockWidget.cpp Sun Jul 28 11:13:09 2002
--- anthem/tse3/kdeui/ClockWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 61,68 ****
};
! ClockSpinBox::ClockSpinBox(int min, int max, int step = 1,
! QWidget *parent = 0, const char *name = 0)
: QSpinBox(min, max, step, parent, name), replace(false)
{
}
--- 61,68 ----
};
! ClockSpinBox::ClockSpinBox(int min, int max, int step ,
! QWidget *parent , const char *name )
: QSpinBox(min, max, step, parent, name), replace(false)
{
}

View File

@ -0,0 +1,19 @@
*** ../anthem-0.0.17.old/anthem/gadgets/FilteredKListView.cpp Sun Jul 28 11:13:05 2002
--- anthem/gadgets/FilteredKListView.cpp Wed Nov 12 21:47:26 2003
***************
*** 17,23 ****
#include <algorithm>
! FilteredKListView::FilteredKListView(QWidget *parent, const char *name = 0)
: KListView(parent, name), lastClickIndex(-1)
{
setMargins(0,0,0,horizontalScrollBar()->sizeHint().height());
--- 17,23 ----
#include <algorithm>
! FilteredKListView::FilteredKListView(QWidget *parent, const char *name )
: KListView(parent, name), lastClickIndex(-1)
{
setMargins(0,0,0,horizontalScrollBar()->sizeHint().height());

View File

@ -0,0 +1,19 @@
*** ../anthem-0.0.17.old/anthem/gadgets/KeyWidgets.cpp Sun Jul 28 11:12:53 2002
--- anthem/gadgets/KeyWidgets.cpp Wed Nov 12 21:47:26 2003
***************
*** 140,146 ****
};
! KeySpinBox::KeySpinBox(QWidget *parent = 0, const char *name = 0)
: QSpinBox(0, 127, 1, parent, name)
{
}
--- 140,146 ----
};
! KeySpinBox::KeySpinBox(QWidget *parent , const char *name )
: QSpinBox(0, 127, 1, parent, name)
{
}

View File

@ -0,0 +1,36 @@
*** ../anthem-0.0.17.old/anthem/gadgets/PhraseSelectWidget.cpp Sun Jul 28 11:13:05 2002
--- anthem/gadgets/PhraseSelectWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 34,40 ****
PhraseSelectWidget::PhraseSelectWidget(TSE3::PhraseList *phraseList,
bool allowNone,
TSE3::Phrase *selected,
! QWidget *parent, const char *name = 0)
: QComboBox(false, parent, name), phraseList(phraseList), allowNone(allowNone)
{
setInsertionPolicy(NoInsertion);
--- 34,40 ----
PhraseSelectWidget::PhraseSelectWidget(TSE3::PhraseList *phraseList,
bool allowNone,
TSE3::Phrase *selected,
! QWidget *parent, const char *name )
: QComboBox(false, parent, name), phraseList(phraseList), allowNone(allowNone)
{
setInsertionPolicy(NoInsertion);
***************
*** 107,113 ****
TSE3::Phrase *selected,
TSE3::Song *song,
QWidget *parent,
! const char *name = 0)
: QWidget(parent, name), song(song)
{
QHBoxLayout *layout = new QHBoxLayout(this, 0, KDialogBase::spacingHint());
--- 107,113 ----
TSE3::Phrase *selected,
TSE3::Song *song,
QWidget *parent,
! const char *name )
: QWidget(parent, name), song(song)
{
QHBoxLayout *layout = new QHBoxLayout(this, 0, KDialogBase::spacingHint());

View File

@ -0,0 +1,36 @@
*** ../anthem-0.0.17.old/anthem/gadgets/RubberSelectionBox.cpp Sun Jul 28 11:13:06 2002
--- anthem/gadgets/RubberSelectionBox.cpp Wed Nov 12 21:47:26 2003
***************
*** 41,47 ****
void RubberSelectionBox::startAnchoredDrag(int x, int y, int width, int height,
! int private_word = 0,
bool autoScroll,
bool constrain,
int minx, int miny,
--- 41,47 ----
void RubberSelectionBox::startAnchoredDrag(int x, int y, int width, int height,
! int private_word ,
bool autoScroll,
bool constrain,
int minx, int miny,
***************
*** 75,81 ****
void RubberSelectionBox::startDragBox(int x, int y,
! int private_word = 0,
int boxx, int boxy,
int boxwidth, int boxheight,
bool autoScroll,
--- 75,81 ----
void RubberSelectionBox::startDragBox(int x, int y,
! int private_word ,
int boxx, int boxy,
int boxwidth, int boxheight,
bool autoScroll,

View File

@ -0,0 +1,19 @@
*** ../anthem-0.0.17.old/anthem/tse3/kdeui/SnapWidget.cpp Sun Jul 28 11:08:05 2002
--- anthem/tse3/kdeui/SnapWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 34,40 ****
};
! SnapWidget::SnapWidget(QWidget *parent, const char *name = 0)
: QComboBox(false, parent, name)
{
setInsertionPolicy(NoInsertion);
--- 34,40 ----
};
! SnapWidget::SnapWidget(QWidget *parent, const char *name )
: QComboBox(false, parent, name)
{
setInsertionPolicy(NoInsertion);

View File

@ -0,0 +1,36 @@
*** ../anthem-0.0.17.old/anthem/gadgets/VoiceWidget.cpp Sun Jul 28 11:13:06 2002
--- anthem/gadgets/VoiceWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 198,204 ****
* VoiceByNumberPopup class
*****************************************************************************/
! VoiceByNumberPopup::VoiceByNumberPopup(QWidget *parent, const char *name = 0)
: QPopupMenu(parent, name)
{
QWidget *item = new QWidget(this);
--- 198,204 ----
* VoiceByNumberPopup class
*****************************************************************************/
! VoiceByNumberPopup::VoiceByNumberPopup(QWidget *parent, const char *name )
: QPopupMenu(parent, name)
{
QWidget *item = new QWidget(this);
***************
*** 313,319 ****
};
}
! VoiceByNamePopup::VoiceByNamePopup(QWidget *parent, const char *name = 0)
: QPopupMenu(parent, name), channel(0), port(0)
{
QWidget *item = new QWidget(this);
--- 313,319 ----
};
}
! VoiceByNamePopup::VoiceByNamePopup(QWidget *parent, const char *name )
: QPopupMenu(parent, name), channel(0), port(0)
{
QWidget *item = new QWidget(this);

View File

@ -0,0 +1,11 @@
--- anthem/misc/Clipboard.cpp.orig Thu May 27 22:05:22 2004
+++ anthem/misc/Clipboard.cpp Thu May 27 22:07:57 2004
@@ -112,7 +112,7 @@
{
QClipboard *clipboard = Application::application()->clipboard();
QString text = clipboard->text();
- if (text)
+ if (!text.isEmpty())
{
if (text.startsWith("Track"))
{

View File

@ -0,0 +1,11 @@
--- anthem/settings/Instrument.cpp.orig Thu May 27 22:07:04 2004
+++ anthem/settings/Instrument.cpp Thu May 27 22:07:48 2004
@@ -87,7 +87,7 @@
// Add new instrument
QString file = KFileDialog::getOpenFileName
("", "*.ins", this, "Select an instrument definition file");
- if (file)
+ if (!file.isEmpty())
{
InstrumentChoiceWindow *icw = new InstrumentChoiceWindow(file, this);
connect(icw, SIGNAL(instrument(TSE3::Ins::Instrument*)),

View File

@ -0,0 +1,11 @@
--- anthem/songwindow/SongWindow.cpp.orig Thu May 27 22:16:01 2004
+++ anthem/songwindow/SongWindow.cpp Thu May 27 22:14:48 2004
@@ -853,7 +853,7 @@
void SongWindow::slotRevert()
{
- if (filename && modified.modified())
+ if (!filename.isEmpty() && modified.modified())
{
if (messageBoxSave())
{

View File

@ -0,0 +1,19 @@
*** ../anthem-0.0.17.old/anthem/gadgets/PartInsertActionWidget.cpp Sun Jul 28 11:09:48 2002
--- anthem/gadgets/PartInsertActionWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 30,36 ****
PartInsertActionWidget::PartInsertActionWidget(QWidget *parent,
! const char *name = 0)
: QComboBox(false, parent, name)
{
setInsertionPolicy(NoInsertion);
--- 30,36 ----
PartInsertActionWidget::PartInsertActionWidget(QWidget *parent,
! const char *name )
: QComboBox(false, parent, name)
{
setInsertionPolicy(NoInsertion);

View File

@ -0,0 +1,19 @@
--- configure.orig Thu May 27 21:18:02 2004
+++ configure Thu May 27 23:03:36 2004
@@ -16128,6 +16128,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -23221,7 +23222,7 @@
return version.compare("$REQUIREDTSEVERSIONNO") < 0;
}
EOF
- $CXX $CXXFLAGS -I$inc_libtse3 -L$lib_libtse3 tse3vtest.cpp -Wl,-rpath $lib_libtse3 -ltse3 -o tse3vtest
+ $CXX $CXXFLAGS -I$inc_libtse3 -L$lib_libtse3 tse3vtest.cpp -Wl,-rpath $lib_libtse3 -ltse3 $PTHREAD_LIBS -o tse3vtest
if test $? -ne 0; then
echo ""
echo " Error: Couldn't build a simple TSE3 example program."

View File

@ -0,0 +1,31 @@
*** ../anthem-0.0.17.old/anthem/misc/debug.cpp Sun Jul 28 11:13:06 2002
--- anthem/misc/debug.cpp Wed Nov 12 21:47:26 2003
***************
*** 24,36 ****
{
for (unsigned int n = 0; n < depth; n++) std::cerr << " ";
depth++;
! std::cerr << "> " << m_fn_name << endl;
}
dbg::trace_function::~trace_function()
{
depth--;
for (unsigned int n = 0; n < depth; n++) std::cerr << " ";
! std::cerr << "< " << m_fn_name << endl;
}
--- 24,36 ----
{
for (unsigned int n = 0; n < depth; n++) std::cerr << " ";
depth++;
! std::cerr << "> " << m_fn_name << std::endl;
}
dbg::trace_function::~trace_function()
{
depth--;
for (unsigned int n = 0; n < depth; n++) std::cerr << " ";
! std::cerr << "< " << m_fn_name << std::endl;
}

View File

@ -0,0 +1,21 @@
*** ../anthem-0.0.17.old/anthem/gadgets/DPColourWidget.cpp Sun Jul 28 11:13:05 2002
--- anthem/gadgets/DPColourWidget.cpp Wed Nov 12 21:47:26 2003
***************
*** 47,54 ****
}
! DPColourWidget::DPColourWidget(TSE3::DisplayParams *dp = 0, bool useDefault,
! QWidget *parent = 0, const char *name = 0)
: QComboBox(parent, name), _style(0), _preset(0)
{
if (useDefault)
--- 47,54 ----
}
! DPColourWidget::DPColourWidget(TSE3::DisplayParams *dp , bool useDefault ,
! QWidget *parent , const char *name )
: QComboBox(parent, name), _style(0), _preset(0)
{
if (useDefault)

10
audio/anthem/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Anthem is an advanced open source MIDI sequencer. Anthem allows you
to record, edit and playback music using a sophisticated and acclaimed
object oriented song technology. It runs under the KDE desktop
environment, on Unix-based platforms.
It is based on the TSE3 sequencer engine and therefore provides a
great deal of power, combining the innovative object oriented TSE3
song technology with a simple, intuitive interface.
WWW: http://anthem.sourceforge.net/

56
audio/anthem/pkg-plist Normal file
View File

@ -0,0 +1,56 @@
bin/anthem
include/anthem/kde/ChannelWidget.h
include/anthem/kde/ClockDisplayWidget.h
include/anthem/kde/ClockWidget.h
include/anthem/kde/FlagComboBox.h
include/anthem/kde/PortWidget.h
include/anthem/kde/SnapWidget.h
lib/libtse3kdeui.so
lib/libtse3kdeui.so.0
share/applnk/Multimedia/anthem.desktop
share/apps/anthem/SongWindow.rc
share/apps/anthem/tips
share/apps/anthem/toolbar/a_gobck.xpm
share/apps/anthem/toolbar/a_gofwd.xpm
share/apps/anthem/toolbar/a_play.xpm
share/apps/anthem/toolbar/a_record.xpm
share/apps/anthem/toolbar/a_stop.xpm
share/apps/anthem/toolbar/cross.xpm
share/apps/anthem/toolbar/glue.xpm
share/apps/anthem/toolbar/midi/midi08.xpm
share/apps/anthem/toolbar/midi/midi09.xpm
share/apps/anthem/toolbar/midi/midi0A.xpm
share/apps/anthem/toolbar/midi/midi0B.xpm
share/apps/anthem/toolbar/midi/midi0C.xpm
share/apps/anthem/toolbar/midi/midi0D.xpm
share/apps/anthem/toolbar/midi/midi0E.xpm
share/apps/anthem/toolbar/midi/midi0F.xpm
share/apps/anthem/toolbar/panic.xpm
share/apps/anthem/toolbar/part.xpm
share/apps/anthem/toolbar/phraselist.xpm
share/apps/anthem/toolbar/punchin.xpm
share/apps/anthem/toolbar/repeat.xpm
share/apps/anthem/toolbar/select.xpm
share/apps/anthem/toolbar/snip.xpm
share/apps/anthem/toolbar/solo.xpm
share/apps/anthem/toolbar/solooff.xpm
share/apps/anthem/toolbar/speaker.xpm
share/apps/anthem/toolbar/speakeroff.xpm
share/apps/anthem/toolbar/synchro.xpm
share/apps/anthem/toolbar/tick.xpm
share/apps/anthem/toolbar/tile.xpm
share/apps/anthem/toolbar/time.xpm
share/apps/anthem/toolbar/tse3.xpm
share/icons/locolor/16x16/apps/anthem.xpm
share/icons/locolor/32x32/apps/anthem.xpm
@dirrm share/icons/locolor/32x32/apps
@dirrm share/icons/locolor/32x32
@dirrm share/icons/locolor/16x16/apps
@dirrm share/icons/locolor/16x16
@dirrm share/icons/locolor
@dirrm share/apps/anthem/toolbar/midi
@dirrm share/apps/anthem/toolbar
@dirrm share/apps/anthem
@dirrm share/applnk/Multimedia
@dirrm include/anthem/kde
@dirrm include/anthem