Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 18:26:32 -0500 (EST)
From:      David Magda <dmagda+fbugs@magda.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sobomax@FreeBSD.org
Subject:   ports/47827: audio/sweep: patch to update to latest version (0.8.0)
Message-ID:  <200302022326.h12NQW7h004557@number6.magda.ca>

next in thread | raw e-mail | index | archive | help

>Number:         47827
>Category:       ports
>Synopsis:       audio/sweep: patch to update to latest version (0.8.0)
>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:   Sun Feb 02 15:30:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Magda
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
We're organized?
>Environment:
System: FreeBSD number6.magda.ca 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Dec 27 10:36:12 EST 2002 dave@number6.magda.ca:/usr/obj/usr/src/sys/MYKERNELE i386

>Description:

The audio/sweep port has not been updated for about two years. The
version in the Ports tree is 0.1.1, the lastest is 0.8.0.

I guess no one really uses it.

>How-To-Repeat:

make install

>Fix:

PR 47821 must be applied first since the library mentioned in it
(audio/libsamplerate) is a dependency for audio/sweep.

Get rid of the files/ directory (neither of the patches applies
any more), and apply the attached patch in the audio/sweep
directory.

I've compiled and run the version on 4-STABLE and 5-CURRENT.

During the 'configure' stage I get the following ominous error:
[...]
checking for Vorbis... Segmentation fault (core dumped)
no
*** Could not run Vorbis test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Vorbis or finding the wrong
*** version of Vorbis. If it is not finding Vorbis, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH

*** Trying explicit detection of Ogg Vorbis libraries and headers ...
checking for vorbis_info_init in -lvorbis... yes
[...]

but it doesn't seem to do anything. <shrug>

Most of the LIB_DEPENDS are optional, but I figured I would include
them all as it makes the program more useful. Vorbis, speex, and mad
could probably be conditionalized or do a ".if exists(/some/lib)" like
in the multimedia/mplayer port.

--- Makefile	Sun Feb  2 17:49:01 2003
+++ Makefile.new	Sun Feb  2 17:50:52 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sweep
-PORTVERSION=	0.1.1
+PORTVERSION=	0.8.0
 CATEGORIES=	audio gnome
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,12 +14,27 @@
 MAINTAINER=	sobomax@FreeBSD.org
 
 USE_X_PREFIX=	yes
-USE_GNOME=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
+USE_GNOMENG=	yes
+USE_GNOME=	gtk12
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+
+CONFIGURE_ARGS=	--with-extralibdir=${LOCALBASE}/lib \
+		--with-extraincdir=${LOCALBASE}/include \
+		--with-vorbis=${LOCALBASE}/lib \
+		--with-vorbis=${LOCALBASE}/include/vorbis \
+		--with-ogg=${LOCALBASE}/lib \
+		--with-ogg=${LOCALBASE}/include/ogg
+
+LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
+		samplerate.0:${PORTSDIR}/audio/libsamplerate \
+		vorbis.2:${PORTSDIR}/audio/libvorbis \
+		speex.0:${PORTSDIR}/audio/speex \
+		mad.1:${PORTSDIR}/audio/mad \
+		tdb.1:${PORTSDIR}/databases/tdb
 
 MAN1=		sweep.1
 
--- distinfo	Sun Feb  2 17:49:15 2003
+++ distinfo.new	Sun Feb  2 17:49:24 2003
@@ -1 +1 @@
-MD5 (sweep-0.1.1.tar.gz) = 6676bbd453e33863626a17a8892dde7a
+MD5 (sweep-0.8.0.tar.gz) = 9089996c81da430e29749a4b18dd0833
--- pkg-descr	Sun Feb  2 17:49:43 2003
+++ pkg-descr.new	Sun Feb  2 17:49:37 2003
@@ -1,30 +1,7 @@
-Sweep is an editor for sound samples. It operates on files of various formats
-such as .wav, .aiff and .au, and has multiple undo/redo levels and filters.
+Sweep is an audio editor and live playback tool for GNU/Linux, BSD and
+compatible systems. It supports many music and voice formats including
+WAV, AIFF, Ogg Vorbis, Speex and MP3, with multichannel editing and
+LADSPA effects plugins.
 
-Sweep features: 
- o Loading and saving of PCM encoded sound formats including AIFF, Sun/NeXT AU
-   and WAV. 
- o Multiple views of each sound: you can view different parts of the same sound
-   in different windows simultaneously, with variable zooming in each view. You
-   can view the entire sound at once, or zoom right down to the individual
-   sample values. 
- o Discontinuous selections: you can select regions of a sound with the mouse.
-   By holding down the <Shift> key whilst selecting more regions, each region
-   is added to the total selection. Also, selection boundaries can be moved,
-   and selection regions merged, at any time.
- o Cut, copy and paste: conventional cut or copy selected regions of a sound,
-   and paste into the same or other sounds.
- o Multiple undo and redo: all operations are reversible and can be re-applied.
- o Simple effects filters: normalisation (maximal amplification without
-   degradation) and time reversing of selected regions. 
- o Playback: playback of entire sound, or of selected regions only. Looped
-   playback of entire sound or selected regions. Editing and effects are not
-   disabled during playback, giving you instantaneous feedback of the result of
-   each action. 
- o Piano-style playback: the computer keyboard keys behave like musical keys
-   for playback of instrument samples, so you can hear how the sample will
-   sound when used in a sequencer or tracker. 
- o Separate volume levels per view, which can be adjusted with the mouse wheel
-   if available. 
 
--- pkg-comment	Sun Feb  2 17:52:04 2003
+++ pkg-comment.new	Sun Feb  2 17:51:55 2003
@@ -1 +1 @@
-A sound editor for GNOME desktop
+A sound editor for the GNOME/GTK 1.2 desktop
--- pkg-plist	Sun Feb  2 17:50:05 2003
+++ pkg-plist.new	Sun Feb  2 17:52:57 2003
@@ -1,5 +1,4 @@
 bin/sweep
-include/sweep/config.h
 include/sweep/sweep.h
 include/sweep/sweep_filter.h
 include/sweep/sweep_i18n.h
@@ -11,27 +10,56 @@
 include/sweep/sweep_undo.h
 include/sweep/sweep_version.h
 lib/sweep/libbyenergy.a
+lib/sweep/libbyenergy.la
 lib/sweep/libbyenergy.so
 lib/sweep/libbyenergy.so.1
 lib/sweep/libecho.a
+lib/sweep/libecho.la
 lib/sweep/libecho.so
 lib/sweep/libecho.so.1
+lib/sweep/libfade.a
+lib/sweep/libfade.la
+lib/sweep/libfade.so
+lib/sweep/libfade.so.1
 lib/sweep/libladspameta.a
+lib/sweep/libladspameta.la
 lib/sweep/libladspameta.so
 lib/sweep/libladspameta.so.1
 lib/sweep/libnormalise.a
+lib/sweep/libnormalise.la
 lib/sweep/libnormalise.so
 lib/sweep/libnormalise.so.1
 lib/sweep/libreverse.a
+lib/sweep/libreverse.la
 lib/sweep/libreverse.so
 lib/sweep/libreverse.so.1
-share/gnome/apps/Multimedia/sweep.desktop
-share/gnome/pixmaps/sweep.png
-share/gnome/sweep/sweep_logo.ppm
+share/apps/Multimedia/sweep.desktop
 share/locale/de/LC_MESSAGES/sweep.mo
+share/locale/en_AU/LC_MESSAGES/sweep.mo
 share/locale/fr/LC_MESSAGES/sweep.mo
 share/locale/hu/LC_MESSAGES/sweep.mo
 share/locale/it/LC_MESSAGES/sweep.mo
-@dirrm share/gnome/sweep
+share/locale/pl/LC_MESSAGES/sweep.mo
+share/locale/ru/LC_MESSAGES/sweep.mo
+share/pixmaps/sweep.png
+share/sweep/sweep_logo.ppm
+@dirrm share/sweep
+@dirrm share/locale/ru/LC_MESSAGES
+@dirrm share/locale/ru
+@dirrm share/locale/pl/LC_MESSAGES
+@dirrm share/locale/pl
+@dirrm share/locale/it/LC_MESSAGES
+@dirrm share/locale/it
+@dirrm share/locale/hu/LC_MESSAGES
+@dirrm share/locale/hu
+@dirrm share/locale/fr/LC_MESSAGES
+@dirrm share/locale/fr
+@dirrm share/locale/en_AU/LC_MESSAGES
+@dirrm share/locale/en_AU
+@dirrm share/locale/de/LC_MESSAGES
+@dirrm share/locale/de
+@dirrm share/locale
+@dirrm share/apps/Multimedia
+@dirrm share/apps
 @dirrm lib/sweep
 @dirrm include/sweep


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302022326.h12NQW7h004557>