summaryrefslogtreecommitdiff
path: root/audio/marlin
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-11 20:54:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-11 20:54:17 +0000
commit6208594758a2f7b7eb622d611aca70f47719b197 (patch)
tree4a428f6c15d9a090a930312c6679b388efe65201 /audio/marlin
parent- Fix compilation with GCC 3.4.2. (diff)
Add marlin, an audio editor similar to Audacity, with Gstreamer backend.
It can open files, record from microphone and rip from AudioCD.
Diffstat (limited to 'audio/marlin')
-rw-r--r--audio/marlin/Makefile27
-rw-r--r--audio/marlin/distinfo2
-rw-r--r--audio/marlin/files/patch-marlin-marlin-channel.h10
-rw-r--r--audio/marlin/files/patch-marlin-marlin-sample-view.c12
-rw-r--r--audio/marlin/files/patch-src-libegg-egg-toolbar-editor.c18
-rw-r--r--audio/marlin/files/patch-src_marlin-cdda-record.c11
-rw-r--r--audio/marlin/files/patch-src_marlin-window-menu.c12
-rw-r--r--audio/marlin/pkg-descr5
-rw-r--r--audio/marlin/pkg-plist113
9 files changed, 210 insertions, 0 deletions
diff --git a/audio/marlin/Makefile b/audio/marlin/Makefile
new file mode 100644
index 000000000000..ec3ba4562e24
--- /dev/null
+++ b/audio/marlin/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: marlin
+# Date created: 16 Nov 2003
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= marlin
+PORTVERSION= 0.5
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Sample editor for GNOME 2 using Gstreamer backend
+
+LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
+ uuid.1:${PORTSDIR}/sysutils/e2fsprogs
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnometarget gstreamerplugins intlhack libgnomeui
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lcam"
+
+.include <bsd.port.mk>
diff --git a/audio/marlin/distinfo b/audio/marlin/distinfo
new file mode 100644
index 000000000000..da3cb6ac7cce
--- /dev/null
+++ b/audio/marlin/distinfo
@@ -0,0 +1,2 @@
+MD5 (marlin-0.5.tar.gz) = ed5ba4d112d67711d7769c82f85afc6e
+SIZE (marlin-0.5.tar.gz) = 959341
diff --git a/audio/marlin/files/patch-marlin-marlin-channel.h b/audio/marlin/files/patch-marlin-marlin-channel.h
new file mode 100644
index 000000000000..a099f3cd3e6f
--- /dev/null
+++ b/audio/marlin/files/patch-marlin-marlin-channel.h
@@ -0,0 +1,10 @@
+--- marlin/marlin-channel.h.orig Sat Oct 11 01:02:22 2003
++++ marlin/marlin-channel.h Sun Nov 16 23:53:22 2003
+@@ -22,6 +22,7 @@
+ #ifndef __MARLIN_CHANNEL_H__
+ #define __MARLIN_CHANNEL_H__
+
++#include <sys/types.h>
+ #include <glib.h>
+
+ #include <marlin/marlin-types.h>
diff --git a/audio/marlin/files/patch-marlin-marlin-sample-view.c b/audio/marlin/files/patch-marlin-marlin-sample-view.c
new file mode 100644
index 000000000000..4dabdf046661
--- /dev/null
+++ b/audio/marlin/files/patch-marlin-marlin-sample-view.c
@@ -0,0 +1,12 @@
+--- marlin/marlin-sample-view.c.orig Sun Aug 8 00:41:40 2004
++++ marlin/marlin-sample-view.c Wed Aug 11 20:01:45 2004
+@@ -157,6 +157,9 @@
+ guint64 new_position,
+ gboolean extend_selection);
+
++void marlin_sample_view_vzoom_in (MarlinSampleView *view);
++void marlin_sample_view_vzoom_out (MarlinSampleView *view);
++
+ /* Stuff to register the coverage enum */
+ #define MARLIN_TYPE_COVERAGE (coverage_get_type ())
+ static GType
diff --git a/audio/marlin/files/patch-src-libegg-egg-toolbar-editor.c b/audio/marlin/files/patch-src-libegg-egg-toolbar-editor.c
new file mode 100644
index 000000000000..3d8ff6e7f04d
--- /dev/null
+++ b/audio/marlin/files/patch-src-libegg-egg-toolbar-editor.c
@@ -0,0 +1,18 @@
+--- src/libegg/egg-toolbar-editor.c.orig Sat Jul 3 16:37:44 2004
++++ src/libegg/egg-toolbar-editor.c Sat Jul 3 16:38:00 2004
+@@ -102,12 +102,12 @@
+ static gint
+ compare_actions (gconstpointer a, gconstpointer b)
+ {
+- g_return_val_if_fail (GTK_IS_ACTION (a), 0);
+- g_return_val_if_fail (GTK_IS_ACTION (b), 0);
+-
+ GValue value_a = { 0, }, value_b = { 0, };
+ const char *short_label_a, *short_label_b;
+ int ret;
++
++ g_return_val_if_fail (GTK_IS_ACTION (a), 0);
++ g_return_val_if_fail (GTK_IS_ACTION (b), 0);
+
+ g_value_init (&value_a, G_TYPE_STRING);
+ g_object_get_property (G_OBJECT (a), "short_label", &value_a);
diff --git a/audio/marlin/files/patch-src_marlin-cdda-record.c b/audio/marlin/files/patch-src_marlin-cdda-record.c
new file mode 100644
index 000000000000..2420b39090a7
--- /dev/null
+++ b/audio/marlin/files/patch-src_marlin-cdda-record.c
@@ -0,0 +1,11 @@
+--- src/marlin-cdda-record.c.orig Mon Nov 17 12:45:49 2003
++++ src/marlin-cdda-record.c Mon Nov 17 12:46:17 2003
+@@ -506,7 +506,7 @@
+ if (res) {
+ if (i > 0) {
+ char *start_str, *finish_str, *length_str;
+- gint64 length = time - time_count;;
++ gint64 length = time - time_count;
+ char *full;
+
+ cdda->track_starts[i] = time;
diff --git a/audio/marlin/files/patch-src_marlin-window-menu.c b/audio/marlin/files/patch-src_marlin-window-menu.c
new file mode 100644
index 000000000000..47139a1d85ab
--- /dev/null
+++ b/audio/marlin/files/patch-src_marlin-window-menu.c
@@ -0,0 +1,12 @@
+--- src/marlin-window-menu.c.orig Thu Aug 5 12:47:19 2004
++++ src/marlin-window-menu.c Wed Aug 11 22:06:41 2004
+@@ -634,8 +634,8 @@
+ GtkWidget *editor, *dialog;
+ EphyToolbarsModel *model;
+ Toolbar *toolbar;
+- GtkUIManager *ui_manager = marlin_window_get_menu_merge (MARLIN_WINDOW (data));;
+ char *xml;
++ GtkUIManager *ui_manager = marlin_window_get_menu_merge (MARLIN_WINDOW (data));;
+
+ toolbar = marlin_window_get_toolbar (MARLIN_WINDOW (data));
+ model = marlin_get_toolbars_model ();
diff --git a/audio/marlin/pkg-descr b/audio/marlin/pkg-descr
new file mode 100644
index 000000000000..a9542529ed1c
--- /dev/null
+++ b/audio/marlin/pkg-descr
@@ -0,0 +1,5 @@
+Marlin is a audio sample editor for GNOME 2. It uses Gstreamer as a backend
+to provide support for numerous file formats. Marlin can also record
+from microphone or rip audio from CD.
+
+WWW: http://marlin.sourceforge.net/
diff --git a/audio/marlin/pkg-plist b/audio/marlin/pkg-plist
new file mode 100644
index 000000000000..23f2c0a00214
--- /dev/null
+++ b/audio/marlin/pkg-plist
@@ -0,0 +1,113 @@
+bin/marlin
+@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/marlin.schemas > /dev/null || /usr/bin/true
+etc/gconf/schemas/marlin.schemas
+@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/marlin.schemas > /dev/null || /usr/bin/true
+include/libmarlin/marlin-a11y-helper.h
+include/libmarlin/marlin-block.h
+include/libmarlin/marlin-cross-fader.h
+include/libmarlin/marlin-cursors.h
+include/libmarlin/marlin-file-chooser.h
+include/libmarlin/marlin-file-selection.h
+include/libmarlin/marlin-file-utils.h
+include/libmarlin/marlin-gst-extras.h
+include/libmarlin/marlin-channel.h
+include/libmarlin/marlin-load-pipeline.h
+include/libmarlin/marlin-marker-model.h
+include/libmarlin/marlin-marker-view.h
+include/libmarlin/marlin-msgport.h
+include/libmarlin/marlin-mt.h
+include/libmarlin/marlin-object.h
+include/libmarlin/marlin-operation.h
+include/libmarlin/marlin-overview-bar.h
+include/libmarlin/marlin-pipeline.h
+include/libmarlin/marlin-play-pipeline.h
+include/libmarlin/marlin-position-spinner.h
+include/libmarlin/marlin-program.h
+include/libmarlin/marlin-read-write-lock.h
+include/libmarlin/marlin-record-pipeline.h
+include/libmarlin/marlin-sample.h
+include/libmarlin/marlin-sample-drawing.h
+include/libmarlin/marlin-sample-element.h
+include/libmarlin/marlin-sample-selection.h
+include/libmarlin/marlin-sample-view.h
+include/libmarlin/marlin-save-pipeline.h
+include/libmarlin/marlin-stock.h
+include/libmarlin/marlin-time-line.h
+include/libmarlin/marlin-types.h
+include/libmarlin/marlin-utils.h
+include/libmarlin/marlin-x-utils.h
+lib/libmarlinx.a
+lib/libmarlinx.so
+lib/libmarlinx.so.0
+lib/libmarlin.a
+lib/libmarlin.so
+lib/libmarlin.so.0
+share/gnome/applications/marlin.desktop
+share/gnome/help/marlin/C/figures/marlin-main-window.png
+share/gnome/help/marlin/C/figures/new_sample_dialog.png
+share/gnome/help/marlin/C/figures/new_sample_dialog_cancel.png
+share/gnome/help/marlin/C/figures/new_sample_dialog_create.png
+share/gnome/help/marlin/C/figures/new_sample_dialog_help.png
+share/gnome/help/marlin/C/figures/new_sample_dialog_channels.png
+share/gnome/help/marlin/C/figures/new_sample_dialog_rate.png
+share/gnome/help/marlin/C/legal.xml
+share/gnome/help/marlin/C/marlin.xml
+share/gnome/marlin/ui/marlin.xml
+share/gnome/marlin/ui/toolbars.xml
+share/gnome/marlin/ui/toolbar-popup-ui.xml
+share/gnome/omf/marlin/marlin-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/marlin/marlin-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/pixmaps/marlin/hand-open.png
+share/gnome/pixmaps/marlin/marlin-cdda-extract.png
+share/gnome/pixmaps/marlin/marlin-ffwd.png
+share/gnome/pixmaps/marlin/marlin-icon.png
+share/gnome/pixmaps/marlin/marlin-logo.png
+share/gnome/pixmaps/marlin/marlin-new-sample.png
+share/gnome/pixmaps/marlin/marlin-next.png
+share/gnome/pixmaps/marlin/marlin-paste-as-new.png
+share/gnome/pixmaps/marlin/marlin-pause.png
+share/gnome/pixmaps/marlin/marlin-play.png
+share/gnome/pixmaps/marlin/marlin-previous.png
+share/gnome/pixmaps/marlin/marlin-record.png
+share/gnome/pixmaps/marlin/marlin-repeat.png
+share/gnome/pixmaps/marlin/marlin-rewind.png
+share/gnome/pixmaps/marlin/marlin-selection-grow.png
+share/gnome/pixmaps/marlin/marlin-selection-shrink.png
+share/gnome/pixmaps/marlin/marlin-select-all.png
+share/gnome/pixmaps/marlin/marlin-select-none.png
+share/gnome/pixmaps/marlin/marlin-sound-properties.png
+share/gnome/pixmaps/marlin/marlin-stop.png
+share/gnome/pixmaps/marlin/marlin-zoom-in-h.png
+share/gnome/pixmaps/marlin/marlin-zoom-in-v.png
+share/gnome/pixmaps/marlin/marlin-zoom-out-h.png
+share/gnome/pixmaps/marlin/marlin-zoom-out-v.png
+share/locale/ca/LC_MESSAGES/marlin.mo
+share/locale/cs/LC_MESSAGES/marlin.mo
+share/locale/de/LC_MESSAGES/marlin.mo
+share/locale/el/LC_MESSAGES/marlin.mo
+share/locale/en_CA/LC_MESSAGES/marlin.mo
+share/locale/en_GB/LC_MESSAGES/marlin.mo
+share/locale/es/LC_MESSAGES/marlin.mo
+share/locale/fr/LC_MESSAGES/marlin.mo
+share/locale/ga/LC_MESSAGES/marlin.mo
+share/locale/hr/LC_MESSAGES/marlin.mo
+share/locale/ko/LC_MESSAGES/marlin.mo
+share/locale/nl/LC_MESSAGES/marlin.mo
+share/locale/no/LC_MESSAGES/marlin.mo
+share/locale/pa/LC_MESSAGES/marlin.mo
+share/locale/pt/LC_MESSAGES/marlin.mo
+share/locale/pt_BR/LC_MESSAGES/marlin.mo
+share/locale/sr/LC_MESSAGES/marlin.mo
+share/locale/sr@Latn/LC_MESSAGES/marlin.mo
+share/locale/sv/LC_MESSAGES/marlin.mo
+share/locale/tr/LC_MESSAGES/marlin.mo
+share/locale/zh_CN/LC_MESSAGES/marlin.mo
+@dirrm share/gnome/pixmaps/marlin
+@dirrm share/gnome/omf/marlin
+@dirrm share/gnome/marlin/ui
+@dirrm share/gnome/marlin
+@dirrm share/gnome/help/marlin/C/figures
+@dirrm share/gnome/help/marlin/C
+@dirrm share/gnome/help/marlin
+@dirrm include/libmarlin
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/marlin/marlin-C.omf 2>/dev/null || /usr/bin/true