Date: Tue, 10 Jun 2003 01:32:45 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53125: New port: audio/aube Message-ID: <E19PW85-000Arr-QZ@voodoo.oberon.net> Resent-Message-ID: <200306092340.h59Ne8lT090383@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53125 >Category: ports >Synopsis: New port: audio/aube >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 16:40:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-STABLE i386 >Organization: Oberon.net >Environment: >Description: New port: audio/aube System for sound generation and processing >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # audio/aube # audio/aube/Makefile # audio/aube/distinfo # audio/aube/files # audio/aube/files/patch-src::Makefile.in # audio/aube/files/patch-configure # audio/aube/pkg-descr # audio/aube/pkg-plist # echo c - audio/aube mkdir -p audio/aube > /dev/null 2>&1 echo x - audio/aube/Makefile sed 's/^X//' >audio/aube/Makefile << 'END-of-audio/aube/Makefile' X# New ports collection makefile for: aube X# Date created: 09.06.2003 X# Whom: Kirill Ponomarew <ponomarew@oberon.net> X# X# $FreeBSD$ X# X XPORTNAME= aube XPORTVERSION= 0.30.2 XCATEGORIES= audio gnome XMASTER_SITES= http://www.metadecks.org/software/aube/download/ X XMAINTAINER= ponomarew@oberon.net XCOMMENT= System for sound generation and processing X XLIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile X XUSE_X_PREFIX= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_REINPLACE= yes XUSE_GNOME= gnomeprefix gnomehier gnomehack gtk12 imlib XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" X XMAN1= aube.1 X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's|-lpthread|${PTHREAD_LIBS}|g' \ X ${WRKSRC}/configure X X.include <bsd.port.mk> END-of-audio/aube/Makefile echo x - audio/aube/distinfo sed 's/^X//' >audio/aube/distinfo << 'END-of-audio/aube/distinfo' XMD5 (aube-0.30.2.tar.gz) = dffa22ed759d05d2b110f03d09906ccf END-of-audio/aube/distinfo echo c - audio/aube/files mkdir -p audio/aube/files > /dev/null 2>&1 echo x - audio/aube/files/patch-src::Makefile.in sed 's/^X//' >audio/aube/files/patch-src::Makefile.in << 'END-of-audio/aube/files/patch-src::Makefile.in' X--- src/Makefile.in.orig Tue Jun 10 00:01:16 2003 X+++ src/Makefile.in Tue Jun 10 00:01:40 2003 X@@ -88,7 +88,7 @@ X INCLUDES = -DDATADIR=\"$(pkgdatadir)\" @GTK_CFLAGS@ @AUDIOFILE_CFLAGS@ X X X-aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ -lgdk_imlib X+aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ @GDK_IMLIB_LIBS@ X X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs X CONFIG_HEADER = ../config.h END-of-audio/aube/files/patch-src::Makefile.in echo x - audio/aube/files/patch-configure sed 's/^X//' >audio/aube/files/patch-configure << 'END-of-audio/aube/files/patch-configure' X--- configure.orig Tue Jun 10 00:01:58 2003 X+++ configure Tue Jun 10 00:04:25 2003 X@@ -2250,27 +2250,29 @@ X X #AM_PATH_GENERIC(xml, 0.99.0) X X-echo $ac_n "checking for in -l""... $ac_c" 1>&6 X-echo "configure:2255: checking for in -l" >&5 X-ac_lib_var=`echo '_' | sed 'y%./+-%__p_%'` X+LIBS="" X+echo $ac_n "checking for gdk_imlib_render in -lgdk_imlib""... $ac_c" 1>&6 X+echo "configure:6942: checking for gdk_imlib_render in -lgdk_imlib" >&5 X+ac_lib_var=`echo gdk_imlib'_'gdk_imlib_render | sed 'y%./+-%__p_%'` X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 X else X ac_save_LIBS="$LIBS" X-LIBS="-l $LIBS" X-cat > conftest.$ac_ext <<EOF X-#line 2263 "configure" X+GDK_IMLIB_LIBS=`imlib-config --libs-gdk` X+LIBS="${GTK_LIBS} ${GDK_IMLIB_LIBS} $LIBS" X+cat > conftest.$ac_ext <<EOF X+#line 6950 "configure" X #include "confdefs.h" X /* Override any gcc2 internal prototype to avoid an error. */ X /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ X-char (); X+char gdk_imlib_render(); X X int main() { X-() X+gdk_imlib_render() X ; return 0; } X EOF X-if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X+if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" X else X@@ -2285,18 +2287,19 @@ X fi X if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X- ac_tr_lib=HAVE_LIB`echo | sed -e 's/[^a-zA-Z0-9_]/_/g' \ X+ ac_tr_lib=HAVE_LIB`echo gdk_imlib | sed -e 's/[^a-zA-Z0-9_]/_/g' \ X -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` X cat >> confdefs.h <<EOF X #define $ac_tr_lib 1 X EOF X X- LIBS="-l $LIBS" X+ LIBS="-lgdk_imlib $LIBS" X X else X echo "$ac_t""no" 1>&6 X+echo "Imlib not found!"; exit 0 X fi X- (gdk_imlib, gdk_imlib_init) X+ X X echo $ac_n "checking for XpmReadFileToXpmImage in -lXpm""... $ac_c" 1>&6 X echo "configure:2303: checking for XpmReadFileToXpmImage in -lXpm" >&5 X@@ -2743,6 +2746,7 @@ X s%@GTK_CONFIG@%$GTK_CONFIG%g X s%@GTK_CFLAGS@%$GTK_CFLAGS%g X s%@GTK_LIBS@%$GTK_LIBS%g X+s%@GDK_IMLIB_LIBS@%$GDK_IMLIB_LIBS%g X X CEOF X EOF END-of-audio/aube/files/patch-configure echo x - audio/aube/pkg-descr sed 's/^X//' >audio/aube/pkg-descr << 'END-of-audio/aube/pkg-descr' XAUBE is a system for sound generation and processing. You can Xprocess audio on the fly by setting up arbitrary configurations Xof sound generators, sequencers and effects modules, through Xwhich sound is played, filtered, and recorded. X XWWW: http://www.metadecks.org/software/aube END-of-audio/aube/pkg-descr echo x - audio/aube/pkg-plist sed 's/^X//' >audio/aube/pkg-plist << 'END-of-audio/aube/pkg-plist' Xbin/aube Xshare/gnome/aube/aube_logo.ppm Xshare/gnome/aube/aube_mini.png Xshare/gnome/aube/gtkrc X@dirrm share/gnome/aube END-of-audio/aube/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19PW85-000Arr-QZ>