Bug 226136 - [maintainer-update] audio/audacity to 2.2.2
Summary: [maintainer-update] audio/audacity to 2.2.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-23 09:30 UTC by Jack
Modified: 2018-03-01 10:23 UTC (History)
1 user (show)

See Also:


Attachments
patch to upgrade audacity to 2.2.2 (17.04 KB, patch)
2018-02-23 09:30 UTC, Jack
no flags Details | Diff
alsa support is no longer optional (13.71 KB, text/plain)
2018-02-23 22:18 UTC, Jack
no flags Details
Fix build on FreeBSD 10 (19.53 KB, patch)
2018-02-26 11:04 UTC, Jack
no flags Details | Diff
Updated patch. Some of the old patches are still needed to fix other build issues. (14.51 KB, patch)
2018-02-26 20:44 UTC, Jack
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2018-02-23 09:30:41 UTC
Created attachment 190913 [details]
patch to upgrade audacity to 2.2.2

patch attached to upgrade audacity to 2.2.2
Comment 1 Jack 2018-02-23 22:18:03 UTC
Created attachment 190928 [details]
alsa support is no longer optional

New patch removing optional alsa support (now required)
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2018-02-24 03:59:56 UTC
xxjack12xx@gmail.com,

Thank you for your update.

It builds on 11amd64 and 12amd64, but fails on 10i386. Could you please fix it?

Thanks!

--------------------------------------------------------------------------------------------

In file included from FileFormats.cpp:19:
./MemoryX.h:786:50: error: In file included from use of undeclared identifier 'free'BlockFile.cppIn file included from
:DirManager.cpp43:struct freer { void operator() (void *p) const { free(p); } };:
65
In file included from :
                                                 ^./BlockFile.hIn file included from
./DirManager.h::15:
./MemoryX.h:786:50: error: use of undeclared identifier 'free'
14:
./MemoryX.h:786:50: error: use of undeclared identifier 'free'
struct freer { void operator() (void *p) const { free(p); } };
                                                 ^
struct freer { void operator() (void *p) const { free(p); } };
                                                 ^
In file included from Sequence.cpp:32:
In file included from ./Sequence.h:14:
./MemoryX.h:786:50: error: use of undeclared identifier 'free'
struct freer { void operator() (void *p) const { free(p); } };
                                                 ^
Comment 3 Jack 2018-02-24 06:30:57 UTC
Ok, will install FreeBSD 10.4 i386 and see what's wrong and get back to you.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2018-02-24 06:57:35 UTC
(In reply to xxjack12xx from comment #3)

I got this failure in 10.3-RELEASE-p26.

Yuri
Comment 5 Jack 2018-02-26 11:04:09 UTC
Created attachment 191016 [details]
Fix build on FreeBSD 10

New patch to upgrade audacity to 2.2.2
Alsa is now required to build
Make lv2 and soxr use system libs if selected. This also fixes some FreeBSD 10 issues.
Comment 6 Jack 2018-02-26 20:44:59 UTC
Created attachment 191028 [details]
Updated patch. Some of the old patches are still needed to fix other build issues.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-01 10:22:51 UTC
Committed.
Thank you for the update!
Comment 8 commit-hook freebsd_committer freebsd_triage 2018-03-01 10:23:36 UTC
A commit references this bug:

Author: yuri
Date: Thu Mar  1 10:22:47 UTC 2018
New revision: 463291
URL: https://svnweb.freebsd.org/changeset/ports/463291

Log:
  audio/audacity: Update to 2.2.2

  Release notes:
  http://wiki.audacityteam.org/wiki/Release_Notes_2.2.2

  Port changes:
  * Added to LIB_DEPENDS
  * Removed ALSA option
  * Corrected LV2 option, added option dependencies
  * Use system libsoxr
  * Updated WWW
  * A lot of patch changes

  PR:		226136
  Submitted by:	xxjack12xx@gmail.com (maintainer)
  Approved by:	tcberner (mentor, implicit)

Changes:
  head/audio/audacity/Makefile
  head/audio/audacity/distinfo
  head/audio/audacity/files/patch-configure.ac
  head/audio/audacity/files/patch-include_audacity_Types.h
  head/audio/audacity/files/patch-lib-src_libmad_configure.ac
  head/audio/audacity/files/patch-lib-src_portmidi_porttime_ptlinux.c
  head/audio/audacity/files/patch-lib-src_portmixer_configure.ac
  head/audio/audacity/files/patch-lib-src_portmixer_src_px__linux__alsa.c
  head/audio/audacity/files/patch-src_Audacity.h
  head/audio/audacity/files/patch-src_AudioIO.cpp
  head/audio/audacity/files/patch-src_BatchCommands.cpp
  head/audio/audacity/files/patch-src_MemoryX.h
  head/audio/audacity/pkg-descr
  head/audio/audacity/pkg-plist