summaryrefslogtreecommitdiff
path: root/audio/midimountain
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-05 17:05:11 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-05 17:05:11 +0000
commit80598a7fb11e2a05837d3e1ab968b5e238e05c32 (patch)
treee29a5eab4ea5e26b3e4c1ce5b0b91553bbec88b2 /audio/midimountain
parentupgrade to 4.78 for alpha arch. (diff)
add midimountain
MIDI sequencer
Notes
Notes: svn path=/head/; revision=45837
Diffstat (limited to 'audio/midimountain')
-rw-r--r--audio/midimountain/Makefile25
-rw-r--r--audio/midimountain/distinfo1
-rw-r--r--audio/midimountain/files/patch-midimountain::Makefile.in20
-rw-r--r--audio/midimountain/files/patch-midimountain::glade_interface.cpp74
-rw-r--r--audio/midimountain/files/patch-midimountain::mcIO.cpp17
-rw-r--r--audio/midimountain/pkg-comment1
-rw-r--r--audio/midimountain/pkg-descr10
-rw-r--r--audio/midimountain/pkg-plist1
8 files changed, 149 insertions, 0 deletions
diff --git a/audio/midimountain/Makefile b/audio/midimountain/Makefile
new file mode 100644
index 000000000000..a55626c95d34
--- /dev/null
+++ b/audio/midimountain/Makefile
@@ -0,0 +1,25 @@
+# ex:ts=8
+# New ports collection makefile for: midimountain
+# Date created: Aug 5, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= midimountain
+PORTVERSION= 0.2.1
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.music-community.ch/midimountain/download/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_GTK= yes
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_GMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/audio/midimountain/distinfo b/audio/midimountain/distinfo
new file mode 100644
index 000000000000..21f655efe556
--- /dev/null
+++ b/audio/midimountain/distinfo
@@ -0,0 +1 @@
+MD5 (midimountain-0.2.1-src.tar.gz) = d5d4e3672855fd8253d350cf64a8b9fc
diff --git a/audio/midimountain/files/patch-midimountain::Makefile.in b/audio/midimountain/files/patch-midimountain::Makefile.in
new file mode 100644
index 000000000000..dac7a8102a44
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::Makefile.in
@@ -0,0 +1,20 @@
+--- midimountain/Makefile.in.orig Wed Apr 11 10:16:40 2001
++++ midimountain/Makefile.in Thu Apr 19 11:32:23 2001
+@@ -69,7 +69,7 @@
+ ####### kdevelop will overwrite this part!!! (end)############
+ bin_PROGRAMS = midimountain
+ midimountain_SOURCES = mcPlayback.cpp mvcMidiDeviceOptions.cpp stlini.cpp mvcUserSnapProperties.cpp mvcPianoRoll.cpp mvcHeader.cpp mvcKeySignatureProperties.cpp mvcKeySignatureList.cpp mvcTimeSignatureProperties.cpp mvcTimeSignatureList.cpp mvcMarkerProperties.cpp mvcMarkerList.cpp mvcTrackProperties.cpp mvcSongProperties.cpp mvcEventProperties.cpp mvcEventList.cpp mvcMessageBox.cpp mvcMainView.cpp mvcMain.cpp mvcBase.cpp glade_support.cpp glade_interface.cpp glade_callbacks.cpp mcIO.cpp mcTrack.cpp mcSequence.cpp mcEvent.cpp mcBase.cpp main.cpp
+-midimountain_LDADD = -lglib -lgtk -lgdk
++midimountain_LDADD = `${GTK_CONFIG} --libs`
+
+ SUBDIRS = docs
+
+@@ -80,7 +80,7 @@
+ PROGRAMS = $(bin_PROGRAMS)
+
+
+-DEFS = @DEFS@ -I. -I$(srcdir) -I..
++DEFS = @DEFS@ -I. -I$(srcdir) -I.. `${GTK_CONFIG} --cflags`
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
diff --git a/audio/midimountain/files/patch-midimountain::glade_interface.cpp b/audio/midimountain/files/patch-midimountain::glade_interface.cpp
new file mode 100644
index 000000000000..b4d7799c75d0
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::glade_interface.cpp
@@ -0,0 +1,74 @@
+--- midimountain/glade_interface.cpp.orig Wed Apr 11 10:19:44 2001
++++ midimountain/glade_interface.cpp Thu Apr 19 11:27:30 2001
+@@ -10,6 +10,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <string.h>
++#include <assert.h>
+
+ #include <gdk/gdkkeysyms.h>
+ #include <gtk/gtk.h>
+@@ -18,6 +19,22 @@
+ #include "glade_interface.h"
+ #include "glade_support.h"
+
++void gtk_widget_add_accelerator (GtkWidget *widget,
++ const gchar *accel_signal,
++ GtkAccelGroup *accel_group,
++ guint accel_key,
++ guint accel_mods,
++ int accel_flags)
++{
++ assert(0 <= accel_flags && accel_flags <= 8);
++ gtk_widget_add_accelerator(widget,
++ accel_signal,
++ accel_group,
++ accel_key,
++ accel_mods,
++ (GtkAccelFlags)accel_flags);
++}
++
+ GtkWidget*
+ create_wndMain (void)
+ {
+@@ -1788,7 +1805,7 @@
+ gtk_box_pack_start (GTK_BOX (hboMainViewHeader), scrMainViewHeader, TRUE, TRUE, 0);
+ gtk_widget_set_usize (scrMainViewHeader, 500, -2);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrMainViewHeader), GTK_POLICY_NEVER, GTK_POLICY_NEVER);
+- gtk_range_set_update_policy (GTK_RANGE (GTK_SCROLLED_WINDOW (scrMainViewHeader)->hscrollbar), GTK_POLICY_AUTOMATIC);
++ gtk_range_set_update_policy (GTK_RANGE (GTK_SCROLLED_WINDOW (scrMainViewHeader)->hscrollbar), GtkUpdateType(GTK_POLICY_AUTOMATIC));
+
+ vpoMainViewHeader = gtk_viewport_new (NULL, NULL);
+ gtk_widget_set_name (vpoMainViewHeader, "vpoMainViewHeader");
+@@ -2545,7 +2562,7 @@
+ gtk_box_pack_end (GTK_BOX (hboViewController), cboPianoRollController, FALSE, FALSE, 0);
+ gtk_widget_set_usize (cboPianoRollController, 230, -2);
+ gtk_combo_set_value_in_list (GTK_COMBO (cboPianoRollController), TRUE, TRUE);
+- cboPianoRollController_items = g_list_append (cboPianoRollController_items, "");
++ cboPianoRollController_items = g_list_append (cboPianoRollController_items, (void*)"");
+ gtk_combo_set_popdown_strings (GTK_COMBO (cboPianoRollController), cboPianoRollController_items);
+ g_list_free (cboPianoRollController_items);
+
+@@ -5534,14 +5551,14 @@
+ (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_combo_set_use_arrows_always (GTK_COMBO (cboDenominator), TRUE);
+- cboDenominator_items = g_list_append (cboDenominator_items, "1");
+- cboDenominator_items = g_list_append (cboDenominator_items, "2");
+- cboDenominator_items = g_list_append (cboDenominator_items, "4");
+- cboDenominator_items = g_list_append (cboDenominator_items, "8");
+- cboDenominator_items = g_list_append (cboDenominator_items, "16");
+- cboDenominator_items = g_list_append (cboDenominator_items, "32");
+- cboDenominator_items = g_list_append (cboDenominator_items, "64");
+- cboDenominator_items = g_list_append (cboDenominator_items, "128");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"1");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"2");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"4");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"8");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"16");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"32");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"64");
++ cboDenominator_items = g_list_append (cboDenominator_items, (void*)"128");
+ gtk_combo_set_popdown_strings (GTK_COMBO (cboDenominator), cboDenominator_items);
+ g_list_free (cboDenominator_items);
+
diff --git a/audio/midimountain/files/patch-midimountain::mcIO.cpp b/audio/midimountain/files/patch-midimountain::mcIO.cpp
new file mode 100644
index 000000000000..5266b4eaf4a0
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::mcIO.cpp
@@ -0,0 +1,17 @@
+--- midimountain/mcIO.cpp.orig Thu Apr 19 11:29:46 2001
++++ midimountain/mcIO.cpp Thu Apr 19 11:29:55 2001
+@@ -1,7 +1,7 @@
+ //=============================================================================
+ // implementation class midi IO
+ //=============================================================================
+-#include <linux/soundcard.h>
++#include <sys/soundcard.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+@@ -626,4 +626,4 @@
+ }
+
+ ::write(getFd(), synth_write_message, sizeof(synth_write_message));
+-}
++}
diff --git a/audio/midimountain/pkg-comment b/audio/midimountain/pkg-comment
new file mode 100644
index 000000000000..a6a444edeb12
--- /dev/null
+++ b/audio/midimountain/pkg-comment
@@ -0,0 +1 @@
+MIDI sequencer
diff --git a/audio/midimountain/pkg-descr b/audio/midimountain/pkg-descr
new file mode 100644
index 000000000000..2f369f504745
--- /dev/null
+++ b/audio/midimountain/pkg-descr
@@ -0,0 +1,10 @@
+MidiMountain is a MIDI sequencer aimed to edit standard midi files. The easy
+to use interface should help even beginners to edit and create midi songs
+(sequences) with this application. For professionals, MidiMountain is designed
+to edit every definition known to standard midi files and the midi transfer
+protocol.
+
+From easy piano roll editing to changing binary system exclusive messages,
+MidiMountain is complete and usable for every midi user.
+
+WWW: http://www.music-community.ch/midimountain/
diff --git a/audio/midimountain/pkg-plist b/audio/midimountain/pkg-plist
new file mode 100644
index 000000000000..8a44e3514b5c
--- /dev/null
+++ b/audio/midimountain/pkg-plist
@@ -0,0 +1 @@
+bin/midimountain