Bug 285918 - audio/furnace: Unbundle libraries and modernize port
Summary: audio/furnace: Unbundle libraries and modernize port
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: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-06 17:18 UTC by Daniel Engberg
Modified: 2025-04-06 19:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments
Patch for furnace (3.07 KB, patch)
2025-04-06 17:18 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2025-04-06 17:18:07 UTC
Created attachment 259359 [details]
Patch for furnace

* Unbundle fftw3, freetype, libsndfile and portaudio (this is also more inline with other distros)
* Add USES= compiler:c++14-lang
* Remove USES= tar:xz
* Remove entries for sdl and fmt in GH_TUPLE
* Add EXTRACT_AFTER_ARGS to reduce I/O (reduces workdir size with ~40%) and as build script "leaks"
* Use CMAKE_OFF/ON/BOOL helpers
* Add patch to fix path for system rtmidi

Compile tested on FreeBSD 14.2-RELEASE (amd64) (make, make check-plist)

Poudriere testport OK 13.4-RELEASE (amd64)
Poudriere testport OK 13.4-RELEASE (i386)
Poudriere testport OK 14.2-RELEASE (amd64)

Note: Disabling NLS causes build to fail
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2025-04-06 19:49:26 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-04-06 19:49:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b7d73b61bb4d65fb0d4578070d7847148d4a4a9

commit 9b7d73b61bb4d65fb0d4578070d7847148d4a4a9
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-04-06 19:48:35 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2025-04-06 19:48:52 +0000

    audio/furnace: Refactor port

    * Unbundle fftw3, freetype, libsndfile and portaudio (this is also more
      inline with other distros)
    * Add USES= compiler:c++14-lang
    * Remove USES= tar:xz
    * Remove entries for sdl and fmt in GH_TUPLE
    * Add EXTRACT_AFTER_ARGS to reduce I/O (reduces workdir size with ~40%)
      and as build script "leaks"
    * Use CMAKE_OFF/ON/BOOL helpers
    * Add patch to fix path for system rtmidi

    PR:             285918

 audio/furnace/Makefile                             | 45 ++++++++++++++--------
 audio/furnace/files/patch-src_audio_rtmidi.h (new) | 18 +++++++++
 2 files changed, 46 insertions(+), 17 deletions(-)