Bug 47827 - audio/sweep: patch to update to latest version (0.8.0)
Summary: audio/sweep: patch to update to latest version (0.8.0)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Maxim Sobolev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-02 23:30 UTC by David Magda
Modified: 2003-02-03 13:27 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (5.29 KB, patch)
2003-02-02 23:30 UTC, David Magda
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Magda 2003-02-02 23:30:14 UTC
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.

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.
How-To-Repeat: 
make install
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-02-02 23:33:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sobomax

Over to Maintainer
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2003-02-03 13:26:49 UTC
State Changed
From-To: open->closed

Update committed with some modifications. Please next time use portlint -a 
to discover the common problems before submitting the report. 

Thank you anyway!