ZynAddSubFX has a new prerelease out, v2.0.0 pre1 i'm trying to hack an ebuild together for it and i've discovered a few things. - the .fl fluid files now contain a "version 1.0105" line each which confuses 'fluid -c nameoffile.fl'; removing that version line from all files seems acceptable means of workaround - ZynAddSubFX now requires MXML (minimal XML for C, webpage http://mxml.sourceforge.net/) - archive extension has switched to bzip2 - patch needs to be updated Anyone up for creating an MXML ebuild and submitting? be sure to drop a note with the bugzilla number -Eric
Created attachment 35847 [details, diff] v1 of the the 2.0.0pre1 patch i don't know how to handle "pre1" whatever ebuild naming, so i just made it 1.9.9 for testing purposes. i.e. the ebuild was named zynaddsubfx-1.9.9.ebuild but it downloaded and attempted to compile 2.0.0pre1
best thing to do is call the ebuild blah-2.0.0_pre1.ebuild then youu change the default P/PN by doing: MY_P=${P/_pre/-pre} or similar.
quick note: to strip .fl files of "version 1.01*" it can be accomplished by commenting those lines out. from inside ./ZynAddSubFX-version/ driectory for i in `find -iname '*.fl' -printf "%p "` do sed -e "s/^version 1.01/#&/g" "$i" -i done
Created attachment 36074 [details, diff] v2 of the 2.0.0pre1 patch comment out .fl files' version lines instead of removal, named properly now.
Thanks Jeremy! I took that and did the following to the top of an old zyn ebuild, to make changes for 2.0.0pre1: [snip] ... # $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-1.4.3.ebuild,v 1.6 2004/06/25 00:31:05 agriffis Exp $ inherit eutils P=${P/_pre1/pre1} PV=${PV/_pre1/pre1} MY_P=ZynAddSubFX-${PV} DESCRIPTION="ZynAddSubFX is a opensource software synthesizer." HOMEPAGE="http://zynaddsubfx.sourceforge.net/" SRC_URI="mirror://sourceforge/zynaddsubfx/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" ... [snip]
Blocked. Needs MXML (not sure what that is) http://www.easysw.com/~mike/mxml/ -or perhaps- http://mxml.sourceforge.net/
Created attachment 36855 [details, diff] v1 of the 2.0.0_pre2 patch nothing new here, updating for 2.0.0_pre2
Created attachment 36857 [details] 1.4.whatever ebuild, modified for 2.0.0_pre2 shamelessly ripped off from the earlier 1.4.whatever ebuild, modified for 2.0.0_pre2 works for me
you'll thank me later
reopen for v2.0.0 update for version 2.0.0 soon. requires mxml (Bug #58214)
2.0.0 final has no support for the old save files. we probably want both -pre2 and -final in portage, so people can have the option of merging -pre2 to convert their data.
Created attachment 39103 [details, diff] v1, media-sound/zynaddsubfx/files/zynaddsubfx-2.0.0.patch patch updated for 2.0.0 final sources and ebuild. fixed installation of presets.
Created attachment 39104 [details] v1, media-sound/zynaddsubfx/zynaddsubfx-2.0.0.ebuild ebuild for 2.0.0 final version. together with patch, fixes presets installation.
Comment on attachment 36857 [details] 1.4.whatever ebuild, modified for 2.0.0_pre2 2.0.0_pre2 marking it obsolete; users can grab it from this bug report if they really need to convert instruments.
Comment on attachment 36855 [details, diff] v1 of the 2.0.0_pre2 patch 2.0.0_pre2 patch marking it obsolete; users can grab it from this bug report if they really need to convert instruments.
Frank, please have a look, i consider this ready to be included in portage now (pending bug #58214)
Added to portage cvs. Thanks for your submission!