- update to version 1.9.9 (based on gtk+2 now)

This commit is contained in:
ajacoutot 2008-02-03 20:18:09 +00:00
parent 69ab201451
commit f745a591d8
5 changed files with 86 additions and 29 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2007/09/15 20:04:19 merdely Exp $
# $OpenBSD: Makefile,v 1.5 2008/02/03 20:18:09 ajacoutot Exp $
COMMENT= audio visualization plugin for the X-Window System
DISTNAME= extace-1.9.6
PKGNAME= ${DISTNAME}p1
DISTNAME= extace-1.9.9
CATEGORIES= x11 audio
HOMEPAGE= http://extace.sourceforge.net/
@ -18,24 +17,23 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=extace/}
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xi audiofile c gdk glib \
gmodule gthread gtk jpeg m png pthread tiff ungif z
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 audiofile c cairo \
expat fontconfig freetype glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre png pthread z
MODULES= devel/gettext
LIB_DEPENDS= esd.>=2::audio/esound \
fftw3.>=4::math/fftw3 \
gdk_imlib.>=19::graphics/imlib
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0.>=1200::x11/gtk+2 \
esd.>=2::audio/esound \
fftw3.>=4::math/fftw3
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
pre-configure:
perl -pi -e 's,-O2 ,${CFLAGS},g' ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (extace-1.9.6.tar.gz) = xOPm3vcqf3nf/FOOReZdGA==
RMD160 (extace-1.9.6.tar.gz) = OAudT6hVd3HljTMx737EbDiagQM=
SHA1 (extace-1.9.6.tar.gz) = fMtLqYmVHHjw/PIV85nsnpTY82s=
SHA256 (extace-1.9.6.tar.gz) = 9cxKlVI/yaGZCdVN5oFbGLafsIlKZrKy9Jxh1CqM6Tk=
SIZE (extace-1.9.6.tar.gz) = 428608
MD5 (extace-1.9.9.tar.gz) = de7tZ1mDYK42RXl8pA53yg==
RMD160 (extace-1.9.9.tar.gz) = 21WnTazFpewiftmoLmGvLpTXUBY=
SHA1 (extace-1.9.9.tar.gz) = prVzKuutxbGD9WefUp4ayFgkH4o=
SHA256 (extace-1.9.9.tar.gz) = HR4xricJwOQzCi6Lcfk0FNUnRP/j/ZEMJrj1V63RDxg=
SIZE (extace-1.9.9.tar.gz) = 425480

View File

@ -0,0 +1,38 @@
$OpenBSD: patch-configure,v 1.1 2008/02/03 20:18:09 ajacoutot Exp $
--- configure.orig Wed Jan 23 00:58:14 2008
+++ configure Wed Jan 23 11:40:35 2008
@@ -19885,13 +19885,13 @@ fi
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -19951,7 +19951,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
else
{ echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
@@ -20026,8 +20026,6 @@ fi
fi
-
-CFLAGS="-O2 "
EFENCE=""

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2008/02/03 20:18:09 ajacoutot Exp $
--- src/Makefile.in.orig Wed Jan 23 11:39:17 2008
+++ src/Makefile.in Wed Jan 23 11:39:29 2008
@@ -134,7 +134,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
-LIBS = -lpthread
+LIBS = -pthread
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@

View File

@ -1,12 +1,21 @@
$OpenBSD: patch-src_input_c,v 1.1.1.1 2007/01/08 11:00:40 ajacoutot Exp $
--- src/input.c.orig Sun Jan 7 12:44:44 2007
+++ src/input.c Sun Jan 7 12:44:57 2007
@@ -303,7 +303,7 @@ int open_datasource(DataSource source)
gtk_window_set_title(GTK_WINDOW(errbox),"ERROR!!!");
label = gtk_label_new(
"Error, Cannot connect to input source!!\n"
- "PLease check settings in the options panel.\n");
+ "Please check settings in the options panel.\n");
gtk_container_add(GTK_CONTAINER(errbox), label);
gtk_widget_show_all(errbox);
$OpenBSD: patch-src_input_c,v 1.2 2008/02/03 20:18:09 ajacoutot Exp $
--- src/input.c.orig Fri Dec 14 02:41:08 2007
+++ src/input.c Sun Feb 3 21:09:47 2008
@@ -67,7 +67,7 @@ int open_datasource(DataSource source)
/* esd rate is rate for each channel */
ring_rate=ESD_DEFAULT_RATE;
update_ring_channels(2); /* since ESD_STEREO is set */
- handle.fd=esd_monitor_stream(ESD_BITS16|ESD_STEREO|ESD_STREAM|ESD_RECORD,ring_rate,"127.0.0.1","eXtace");
+ handle.fd=esd_monitor_stream(ESD_BITS16|ESD_STEREO|ESD_STREAM|ESD_RECORD,ring_rate,NULL,"eXtace");
if (handle.fd > 0)
handle.open = 1;
break;
@@ -91,7 +91,7 @@ int open_datasource(DataSource source)
errbox = gtk_message_dialog_new(NULL,GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,
- "Error, Cannot connect to input source!!\nPLease check settings in the options panel.\n");
+ "Error, Cannot connect to input source!!\nPlease check settings in the options panel.\n");
gtk_dialog_run(GTK_DIALOG(errbox));