Page MenuHomeFreeBSD

New port: audio/eq10q-lv2: Parametric equalizer LV2 audio plugin
ClosedPublic

Authored by yuri on Oct 31 2017, 8:11 AM.
Tags
None
Referenced Files
F83478743: D12846.id35269.diff
Sat, May 11, 1:17 AM
F83478740: D12846.id34492.diff
Sat, May 11, 1:17 AM
F83467192: D12846.diff
Fri, May 10, 8:44 PM
Unknown Object (File)
Tue, May 7, 5:20 PM
Unknown Object (File)
Sat, May 4, 1:12 PM
Unknown Object (File)
Fri, Apr 19, 1:11 PM
Unknown Object (File)
Sun, Apr 14, 5:26 PM
Unknown Object (File)
Feb 19 2024, 11:52 PM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

You need to add a SUBDIR += eq10q-lv2 line to audio/Makefile

audio/eq10q-lv2/Makefile
1 ↗(On Diff #34492)

^ These comments are being phased out [afaik], so I would not add them anylonger.

5 ↗(On Diff #34492)

^ DISTVERSION is prefered over PORTVERSION

21 ↗(On Diff #34492)

^ I would use cmake:outsource if it's possible

35 ↗(On Diff #34492)

^ using patches in files/ is often more readable than sed-calls.

This revision now requires changes to proceed.Oct 31 2017, 11:02 AM
audio/eq10q-lv2/Makefile
32 ↗(On Diff #34492)

If this is for 10, it should be done with an OSVERSION check, so that it can be removed when the version of FreeBSD is not supported any more.

dbaio added inline comments.
audio/eq10q-lv2/Makefile
10 ↗(On Diff #34492)

@FreeBSD.org

yuri marked 6 inline comments as done.Nov 1 2017, 6:39 AM
yuri added inline comments.
audio/eq10q-lv2/Makefile
21 ↗(On Diff #34492)

Only <30% of cmake ports use cmake:outsource. Normally, cmake projects build fine in-place. cmake:outsource is for situations when in-place build breaks. It usually breaks due to bugs.

I think, USES=cmake is a good default.

32 ↗(On Diff #34492)

This option fails in 10, but it is also not needed in general. This option is only meaningful in conjunction with the 'inline' keyword, that is deemed obsolete by clang (gcc might still make use of it).

I will clarify the comment.

35 ↗(On Diff #34492)

Recently another committer, ultima@, convinced me that the opposite is true for one-liner comments.

Also, section 4.4.3 says "Simple replacements can be performed directly from the port Makefile using the in-place mode of sed". All these are one-line changes in each instance.

yuri marked 3 inline comments as done.
audio/eq10q-lv2/Makefile
35 ↗(On Diff #34492)

It's down to taste, but in a patch-foo you always at least have some context around the change, which you don't have in the sed-calls.

audio/eq10q-lv2/Makefile
21 ↗(On Diff #34492)

Well, not really, only <30% of ports use cmake:oursource because someone has not gone and replaced the rest with cmake:outsource, it should probably be the default, please, change it to cmake:outsource.

35 ↗(On Diff #34492)

I agree with @tcberner here, use patches when possible (so, when you are not replacing by something variable), otherwise, you end up having a dozen sed one-liners that you have no idea if they are still:

  1. useful
  2. needed
  3. doing something

With a patch, you know right away if it is still needed or not.

yuri edited the summary of this revision. (Show Details)

Requested changes.

@tcberner

Tobias, it seems that everything has been resolved, and it achieved the state of uncontroversialness. :)

Looks good.

audio/eq10q-lv2/Makefile
22 ↗(On Diff #35173)

^ as a warning for the future. dos2unix eats everything - even binaries

This revision is now accepted and ready to land.Nov 15 2017, 6:21 AM
yuri marked an inline comment as done.Nov 15 2017, 8:05 AM
yuri added inline comments.
audio/eq10q-lv2/Makefile
22 ↗(On Diff #35173)

Ok.

This revision was automatically updated to reflect the committed changes.
yuri marked an inline comment as done.