Bug 267137 - audio/hydrogen: Update to v1.1.1
Summary: audio/hydrogen: Update to v1.1.1
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: Fernando Apesteguía
URL: https://github.com/hydrogen-music/hyd...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-17 02:05 UTC by Shane
Modified: 2022-10-18 09:58 UTC (History)
2 users (show)

See Also:
fernape: merge-quarterly?


Attachments
maintainer update for audio/hydrogen (11.41 KB, patch)
2022-10-17 02:05 UTC, Shane
FreeBSD: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shane 2022-10-17 02:05:50 UTC
Created attachment 237390 [details]
maintainer update for audio/hydrogen

Update audio/hydrogen to v1.1.1
includes patch from https://github.com/hydrogen-music/hydrogen/issues/1665
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-17 05:54:33 UTC
^Triage: Bugfix release, merge to quarterly branch?

^Triage: Maintainer-feedback flag (+) not required unless requested (?) first.

Thanks!
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-17 16:00:16 UTC
Committed,

Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-17 16:00:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19c038c2294b65213bbe660dbc46c2306a610fcb

commit 19c038c2294b65213bbe660dbc46c2306a610fcb
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2022-10-17 05:51:41 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-10-17 15:55:53 +0000

    audio/hydrogen: Update to v1.1.1

    ChangeLog: https://github.com/hydrogen-music/hydrogen/blob/master/ChangeLog#L178

    * Bugfixes
      - fix preferences dialog "OK" button behavior
      - fix rewinding to beginning of pattern in pattern mode with no pattern
        inserted in SongEditor
      - fix display of tempo marker while loading a song (introduced in 1.1.0)
      - fix LADSPA issues, most audible on PulseAudio
      - fix window placement when screen sizes change

    * Explicitly set latency target for PortAudio (Windows) audio driver, enabling
      much lower audio latency on Windows.

    PR:             267137
    Reported by:    FreeBSD@ShaneWare.Biz (maintainer)

 audio/hydrogen/Makefile                            |   7 +-
 audio/hydrogen/distinfo                            |   6 +-
 .../files/patch-data_i18n_CMakeLists.txt (gone)    |  11 --
 .../hydrogen/files/patch-src_core_Logger.cpp (new) |  10 ++
 audio/hydrogen/pkg-plist                           | 146 +++++++++++----------
 5 files changed, 92 insertions(+), 88 deletions(-)
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2022-10-17 16:28:52 UTC
Any reason why we're not using upstream release archive as instructed by USE_GITLAB section is Porters Handbook?

https://github.com/hydrogen-music/hydrogen/releases/download/1.1.1/hydrogen-1.1.1.tar.gz
https://sourceforge.net/projects/hydrogen/files/Hydrogen/1.1.1%20Sources/hydrogen-1.1.1.tar.gz

Are localbase paths needed for options? (localbase:ldflags fixes it perhaps?)

Best regards,
Daniel
Comment 5 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-17 18:17:58 UTC
(In reply to Daniel Engberg from comment #4)

I assume you mean USE_GITHUB, since that is what the port uses?

Yes, I think it would work. Could the maintainer have a look at it?, Or Daniel, please be my guest and have a crack at it if you want.

Cheers.
Comment 6 Shane 2022-10-18 09:42:31 UTC
(In reply to Daniel Engberg from comment #4)

Not sure what you are referring to with the release archive. It uses DISTVERSION to get the tagged release tarball from github.

Not sure that the LIBTAR path is still a requirement, the others are needed. I think this one is from before localbase was created.

Using localbase:ldflags will add -L${LOCALBASE}/lib but lib/ladspa needs to be added for the LADSPA option. Similarly RDF needs the include/raptor2 subpath added.

I do think they should be using PREFIX instead of LOCALBASE
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2022-10-18 09:58:04 UTC
(In reply to Shane from comment #6)
USE_GITHUB pull down a generated "snapshot" of the repo, not the static tarballs which are to be used if available. See  https://cgit.freebsd.org/ports/tree/Mk/bsd.sites.mk#n260 for more information. I would suggest that use use GitHub as primary and SF as fallback in MASTER_SITES.

Regarding localbase, I just found it a bit odd since most distributions seems to not specify paths but I didn't look into it any further.