Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67164 - ebuild for zynaddsubfx 2.1.1
Summary: ebuild for zynaddsubfx 2.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High enhancement (vote)
Assignee: Frank van de Pol (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 15:21 UTC by mikael söderholm
Modified: 2004-10-17 22:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zynaddsubfx-2.1.1.ebuild (zynaddsubfx-2.1.1.ebuild,1.05 KB, application/octet-stream)
2004-10-11 15:22 UTC, mikael söderholm
Details
zynaddsubfx-2.1.1.patch (zynaddsubfx-2.1.1.patch,11.47 KB, application/octet-stream)
2004-10-11 15:22 UTC, mikael söderholm
Details
v1, zynaddsubfx-2.1.1-gcc34_mem_hack.patch (zynaddsubfx-2.1.1-gcc34_mem_hack.patch,1.18 KB, patch)
2004-10-13 19:33 UTC, Eric Shattow
Details | Diff
v1, fltk_flags.patch (zynaddsubfx-2.1.1-fltk_flags.patch,1.47 KB, patch)
2004-10-17 00:22 UTC, Eric Shattow
Details | Diff
v1, fltk_version.patch (zynaddsubfx-2.1.1-fltk_version.patch,10.36 KB, patch)
2004-10-17 00:24 UTC, Eric Shattow
Details | Diff
v2, gcc34_mem_hack.patch (zynaddsubfx-2.1.1-gcc34_mem_hack.patch,1.85 KB, patch)
2004-10-17 00:27 UTC, Eric Shattow
Details | Diff
v1, gcc_subscript_warning.patch (zynaddsubfx-2.1.1-gcc_subscript_warning.patch,3.61 KB, patch)
2004-10-17 00:28 UTC, Eric Shattow
Details | Diff
v1, sanitize_makefile.patch (zynaddsubfx-2.1.1-sanitize_makefile.patch,554 bytes, patch)
2004-10-17 00:29 UTC, Eric Shattow
Details | Diff
v2, media-sound/zynaddsubfx/zynadsubfx-2.1.1.ebuild (zynaddsubfx-2.1.1.ebuild,2.00 KB, text/plain)
2004-10-17 00:32 UTC, Eric Shattow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikael söderholm 2004-10-11 15:21:37 UTC
 
Comment 1 mikael söderholm 2004-10-11 15:22:17 UTC
Created attachment 41583 [details]
zynaddsubfx-2.1.1.ebuild
Comment 2 mikael söderholm 2004-10-11 15:22:46 UTC
Created attachment 41584 [details]
zynaddsubfx-2.1.1.patch
Comment 3 Eric Shattow 2004-10-13 04:27:58 UTC
i did my own 2.1.1 ebuild and patches independently, currently trying to iron out the Bug #65752 problems.
Comment 4 mikael söderholm 2004-10-13 04:50:17 UTC
So why is this an issue when gentoo uses gcc 3.3.4 at the moment?
Comment 5 Eric Shattow 2004-10-13 18:42:18 UTC
no mikael, the problem is with Zyn.  bug #65752.  Frank is hard to reach (I hear he is quite busy).   Chris White is also quite busy, but has found enough time to commit sound-related ebuilds.   you should re-assign to chriswhite@gentoo.org because he is a gentoo homeboy and rocks the house.  also, please change the keywords to "ebuild" when the bug is ebuild-related, and add "inclusion" to the keywords when it is ready for inclusion.

also, when attaching text files, please mark the content type NOT as appl/octet-stream, instead mark them as text.    i appreciate the effor mikael, but i'm already hip to the new release and am working on a full patch set with a new ebuild and possible work-around / hack for the gcc 3.4.x users. i would appreciate if you could mark the ebuild and patch you have up there as "obsolete" to prevent any confusion.

be patient, i will post my attachments soon.
Comment 6 Eric Shattow 2004-10-13 19:33:29 UTC
Created attachment 41777 [details, diff]
v1, zynaddsubfx-2.1.1-gcc34_mem_hack.patch

it's bizarre, doesn't make sense, but it makes Zyn run happy on x86 against gcc
3.4.2-r2
Comment 7 Eric Shattow 2004-10-17 00:22:14 UTC
Created attachment 42010 [details, diff]
v1, fltk_flags.patch

corrects build scripts so they use proper fltk flags
Comment 8 Eric Shattow 2004-10-17 00:24:22 UTC
Created attachment 42011 [details, diff]
v1, fltk_version.patch

comment out the (unnecessary) version string in *.fl
Comment 9 Eric Shattow 2004-10-17 00:27:32 UTC
Created attachment 42012 [details, diff]
v2, gcc34_mem_hack.patch

hacks for both Synth/OscilGen.C and DSP/AnalogSynth.C

not sure why it works, but what i did is allocate some memory, use sprintf to
write values to the buffer, and then free the allocated memory.   whatever
mis-alignement happens due to gcc 3.4.x+ is then not crashing ZynAddSubFX, and
after some limited testing I found no ill effects.
Comment 10 Eric Shattow 2004-10-17 00:28:38 UTC
Created attachment 42013 [details, diff]
v1, gcc_subscript_warning.patch

douse gcc warnings
Comment 11 Eric Shattow 2004-10-17 00:29:53 UTC
Created attachment 42014 [details, diff]
v1, sanitize_makefile.patch

1-liner, gets rid of silly 'yes "" | head' -ism
Comment 12 Eric Shattow 2004-10-17 00:32:09 UTC
Created attachment 42015 [details]
v2, media-sound/zynaddsubfx/zynadsubfx-2.1.1.ebuild

fixed a whole lot of brokeness.  i hope.  no, i'm pretty sure of it.  brokeness
be gone!
Comment 13 Eric Shattow 2004-10-17 00:34:46 UTC
chris, have a look at this.   i've done as much testing as i can do, and ebuild i have attached to the bug should be much more complete than the last one (for v2.0.0).   cheers.  -E
Comment 14 Chris White (RETIRED) gentoo-dev 2004-10-17 22:15:53 UTC
Closed and in cvs, wee :D.