Bug 220958 - audio/zynaddsubfx: Update to 3.0.3
Summary: audio/zynaddsubfx: Update to 3.0.3
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: Hans Petter Selasky
URL:
Keywords:
Depends on:
Blocks: 223635
  Show dependency treegraph
 
Reported: 2017-07-24 02:09 UTC by Yuri Victorovich
Modified: 2017-12-06 17:30 UTC (History)
1 user (show)

See Also:
pi: maintainer-feedback+


Attachments
patch (70.68 KB, patch)
2017-07-24 02:09 UTC, Yuri Victorovich
no flags Details | Diff
patch (70.71 KB, patch)
2017-07-24 03:04 UTC, Yuri Victorovich
no flags Details | Diff
patch-3.0.3 (69.66 KB, patch)
2017-11-09 12:22 UTC, Hans Petter Selasky
no flags Details | Diff
Update zynaddsubfx port (68.08 KB, patch)
2017-12-06 09:09 UTC, Hans Petter Selasky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2017-07-24 02:09:12 UTC
Created attachment 184648 [details]
patch

Hans,

Please verify that it works.

Passes poudriere, starts, but I don't have any working midi devices as of yet.

Yuri
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2017-07-24 03:04:41 UTC
Created attachment 184651 [details]
patch

Fixed examples.
Doesn't find banks for some reason.
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2017-07-24 08:02:16 UTC
I'll try to have a look at this in a few days.

--HPS
Comment 3 Hans Petter Selasky freebsd_committer freebsd_triage 2017-07-31 16:01:58 UTC
Ping - Working on this PR
Comment 4 Hans Petter Selasky freebsd_committer freebsd_triage 2017-08-02 17:07:20 UTC
Basically your patches are OK. I'm working on some fixes for a 3.0.3 release which make your patches in files/ redundant. Stay tuned!
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-02 17:12:31 UTC
Okay!
Comment 6 Hans Petter Selasky freebsd_committer freebsd_triage 2017-08-02 21:48:58 UTC
OK, Can you remove your zynaddsubfx patches and instead set the following CMAKE variables when building:

ZYN_EXAMPLESDIR:STRING=/usr/local/share/examples/zynaddsubfx
ZYN_DATADIR:STRING=/usr/local/share/zynaddsubfx

And wait for the 3.0.3 release?

--HPS
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-02 22:03:43 UTC
(In reply to Hans Petter Selasky from comment #6)

Thanks Hans,

I will just wait until 3.0.3, no rush.

Yuri
Comment 8 Hans Petter Selasky freebsd_committer freebsd_triage 2017-11-04 09:00:10 UTC
Hi,

3.0.3 is out now.

Could you update your patch?

Some patches should now be redundant.

--HPS
Comment 9 Hans Petter Selasky freebsd_committer freebsd_triage 2017-11-04 09:01:26 UTC
From what I can see you don't need to patch any sources. It is building fine with clang AS-IS over here. Can you re-evaluate all patches?
Comment 10 Hans Petter Selasky freebsd_committer freebsd_triage 2017-11-09 12:22:31 UTC
Created attachment 187880 [details]
patch-3.0.3

Patch for 3.0.3 - to be released very soon.
Comment 11 Hans Petter Selasky freebsd_committer freebsd_triage 2017-12-06 09:09:59 UTC
Created attachment 188577 [details]
Update zynaddsubfx port

The 3.0.3 release is finally out. Update patch to build zynaddsubfx.
Comment 12 Kurt Jaeger freebsd_committer freebsd_triage 2017-12-06 09:21:49 UTC
testbuilds@work, portlint is OK
Comment 14 commit-hook freebsd_committer freebsd_triage 2017-12-06 09:58:16 UTC
A commit references this bug:

Author: hselasky
Date: Wed Dec  6 09:57:32 UTC 2017
New revision: 455641
URL: https://svnweb.freebsd.org/changeset/ports/455641

Log:
  Update ZynAddSubFx to v3.0.3.

  This update include many bugfixes and many new features over v2.4.3.
  The list of changes would be too long for this commit message.
  Please refer to the ZynAddSubFx release announcements at
  zynaddsubfx-user@lists.sourceforge.net for more information.

  PR:		220958
  PR:		223635
  Tested by:	pi @
  Approved by:	maintainer

Changes:
  head/audio/zynaddsubfx/Makefile
  head/audio/zynaddsubfx/distinfo
  head/audio/zynaddsubfx/files/
  head/audio/zynaddsubfx/pkg-plist
Comment 15 Hans Petter Selasky freebsd_committer freebsd_triage 2017-12-06 10:03:45 UTC
Looks like I missed your build logs :-(
Comment 16 Hans Petter Selasky freebsd_committer freebsd_triage 2017-12-06 10:16:05 UTC
This chunk should fix it, until someone can iron out the compiler issues.

--HPS

Index: Makefile
===================================================================
--- Makefile	(revision 455641)
+++ Makefile	(working copy)
@@ -106,4 +106,11 @@
 	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
 	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
 
+.include <bsd.port.options.mk>
+
+# Build fix for ZynAddSubFx
+BUILD_DEPENDS+= clang40:devel/llvm40
+CC=	clang40
+CXX=	clang++40
+
 .include <bsd.port.post.mk>
Comment 17 commit-hook freebsd_committer freebsd_triage 2017-12-06 17:30:41 UTC
A commit references this bug:

Author: pi
Date: Wed Dec  6 17:30:06 UTC 2017
New revision: 455665
URL: https://svnweb.freebsd.org/changeset/ports/455665

Log:
  audio/zynaddsubfx: fix build on cur, 10.x by force llvm40

  PR:		220958
  Submitted by:	hselasky (maintainer)

Changes:
  head/audio/zynaddsubfx/Makefile