From 3fadcd9eca25e2d11250fefd4839fa1364c68194 Mon Sep 17 00:00:00 2001 From: mezz Date: Tue, 25 Jul 2006 03:32:48 +0000 Subject: USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6776 df743ca5-7f9a-e211-a948-0013205c9059 --- audio/extace/Makefile | 33 ++++++++++++++++++++++++++++ audio/extace/distinfo | 3 +++ audio/extace/files/patch-src::color_win.c | 35 ++++++++++++++++++++++++++++++ audio/extace/files/patch-src::input.c | 36 +++++++++++++++++++++++++++++++ audio/extace/pkg-descr | 7 ++++++ 5 files changed, 114 insertions(+) create mode 100644 audio/extace/Makefile create mode 100644 audio/extace/distinfo create mode 100644 audio/extace/files/patch-src::color_win.c create mode 100644 audio/extace/files/patch-src::input.c create mode 100644 audio/extace/pkg-descr (limited to 'audio') diff --git a/audio/extace/Makefile b/audio/extace/Makefile new file mode 100644 index 000000000..ed48f88b4 --- /dev/null +++ b/audio/extace/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: extace +# Date created: 8 April 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= extace +PORTVERSION= 1.9.5 +PORTREVISION= 2 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= An Audio Visualization plugin for the X Window System + +LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 + +USE_XLIB= yes +USE_GNOME= esound imlib gnomehack gnometarget gnomeprefix +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +PLIST_FILES= bin/extace \ + share/gnome/apps/Multimedia/extace.desktop + +post-patch: + @${REINPLACE_CMD} -e 's|-O2 |$$CFLAGS|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^LIBS =|#LIBS =|g' ${WRKSRC}/src/Makefile.in + +.include diff --git a/audio/extace/distinfo b/audio/extace/distinfo new file mode 100644 index 000000000..36f6faef0 --- /dev/null +++ b/audio/extace/distinfo @@ -0,0 +1,3 @@ +MD5 (extace-1.9.5.tar.gz) = c82bd3e7552652f77b585afde4b0b8d5 +SHA256 (extace-1.9.5.tar.gz) = 35b45ab071bbd8e7402beab4f7d6d5195bab02b0d5c885925b3000213408de79 +SIZE (extace-1.9.5.tar.gz) = 424382 diff --git a/audio/extace/files/patch-src::color_win.c b/audio/extace/files/patch-src::color_win.c new file mode 100644 index 000000000..bce1bbef4 --- /dev/null +++ b/audio/extace/files/patch-src::color_win.c @@ -0,0 +1,35 @@ + +$FreeBSD: ports/audio/extace/files/patch-src::color_win.c,v 1.2 2003/06/04 20:58:33 adamw Exp $ + +--- src/color_win.c.orig Wed Feb 26 01:22:19 2003 ++++ src/color_win.c Fri May 23 18:26:18 2003 +@@ -579,12 +579,12 @@ + button = gtk_button_new_with_label("Set Color"); + gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0); + gtk_signal_connect(GTK_OBJECT(button), "clicked", +- (GtkSignalFunc)color_button, (gpointer)SET_COLOR); ++ (GtkSignalFunc)color_button, (gint)SET_COLOR); + + button = gtk_button_new_with_label("Close"); + gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0); + gtk_signal_connect(GTK_OBJECT(button), "clicked", +- (GtkSignalFunc)color_button, (gpointer)CLOSE); ++ (GtkSignalFunc)color_button, (gint)CLOSE); + + hbox = gtk_hbox_new(TRUE,0); + gtk_box_pack_start(GTK_BOX(vbox),hbox,FALSE,FALSE,0); +@@ -592,12 +592,12 @@ + button = gtk_button_new_with_label("Save"); + gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0); + gtk_signal_connect(GTK_OBJECT(button), "clicked", +- (GtkSignalFunc)color_button, (gpointer)SAVE); ++ (GtkSignalFunc)color_button, (gint)SAVE); + + button = gtk_button_new_with_label("Load"); + gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0); + gtk_signal_connect(GTK_OBJECT(button), "clicked", +- (GtkSignalFunc)color_button, (gpointer)LOAD); ++ (GtkSignalFunc)color_button, (gint)LOAD); + + gtk_widget_show_all(grad_win); + } diff --git a/audio/extace/files/patch-src::input.c b/audio/extace/files/patch-src::input.c new file mode 100644 index 000000000..ea9cef934 --- /dev/null +++ b/audio/extace/files/patch-src::input.c @@ -0,0 +1,36 @@ +--- src/input.c.orig Mon Aug 23 23:35:00 2004 ++++ src/input.c Sun Oct 31 00:44:56 2004 +@@ -52,8 +52,12 @@ + } handles[MAX_HANDLES]; + + static GtkWidget *errbox; ++GtkWidget *label; + static int errorbox_up =0; + gint tag; /* Used by gdk_input_* */ ++gint timeo; ++gint res; ++gint to_get; + + /*--- globals to this file */ + +@@ -295,7 +299,6 @@ + + /* The rest is error handling */ + +- GtkWidget *label; + if (errorbox_up) + return(-1); /* ERROR window already onscreen */ + errbox = gtk_window_new(GTK_WINDOW_DIALOG); +@@ -536,9 +539,9 @@ + struct pollfd ufds; + ufds.fd = source; + ufds.events = POLLIN; +- gint timeo = 100; /* wait 100ms max before timeout */ +- gint res = -1; +- gint to_get = 0; ++ timeo = 100; /* wait 100ms max before timeout */ ++ res = -1; ++ to_get = 0; + + /* adjust position in ring buffer to be on first channel */ + ring_pos -= ring_pos%ring_channels; diff --git a/audio/extace/pkg-descr b/audio/extace/pkg-descr new file mode 100644 index 000000000..9a3f1a1c3 --- /dev/null +++ b/audio/extace/pkg-descr @@ -0,0 +1,7 @@ +eXtace is a Audio Visualization plugin for the X-Window System. It connects to +ESD (Enlightened Sound Daemon) and displays the audio data as either a 3D +textured landscape, 3d pointed landscape, 16-256 channel graphic EQ, a +multi-mode Oscilloscope, or a Spectragram. All modes are fully scalable to +nearly ANY resolution! + +WWW: http://eXtace.sourceforge.net/ -- cgit v1.2.3