Summary: | media-libs/libzzub - changes in ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Federico Ferri (RETIRED) <mescalinum> |
Component: | New packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | Keywords: | EBUILD, PMASKED |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://trac.zeitherrschaft.org/zzub/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
media-libs/libzzub/libzzub-9999.ebuild
zzub.diff media-libs/libzzub/libzzub-0.2.3.ebuild media-libs/libzzub/files/scons.diff media-libs/libzzub/libzzub-0.2.3.ebuild media-libs/libzzub/files/scons.diff media-libs/libzzub/libzzub-0.2.3.ebuild |
Description
Federico Ferri (RETIRED)
2007-08-14 19:29:00 UTC
Created attachment 128092 [details]
media-libs/libzzub/libzzub-9999.ebuild
We are not adding live SVN stuff, sorry. If you have fixes for current ebuilds, attach a unified diff here. Thanks. http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#doc_chap3 Created attachment 128096 [details, diff]
zzub.diff
as you want, sir
the attached diff is for actual ebuild in portage I got some feedback from the author: + CF="$CF BMPCCM=$(use bmp-ccm && echo yes || echo no)" the bmp-ccm USE flag can be removed, as the author told me it only for windows, and actually fails compiling on Gentoo Linux + CF="$CF BUZZ2ZZUB=$(use buzz2zzub && echo yes || echo no)" the buzz2zzub flag doesn't do anything on Linux and can be removed feedback from me: actually I have built it fine with those use flags: USE="alsa buzz2zzub dssi jack ladspa lunar mp3 oss sndfile sse zzub-module zzub-stream -bmp-ccm -debug -no-signature -sse2" (although zzub-module and zzub-stream flags are highy experimental and do not add functionality yet) Created attachment 128402 [details]
media-libs/libzzub/libzzub-0.2.3.ebuild
fixed some stuff:
* fixed CFLAGS handling in SConstruct
* SSE,SSE2 (scons) adds only the CFLAGS - removed from USE flags
Created attachment 128403 [details, diff]
media-libs/libzzub/files/scons.diff
Created attachment 128409 [details]
media-libs/libzzub/libzzub-0.2.3.ebuild
OUPS! I wasn't careful enough to check that SConstruct re-added SSE flags with an automatic check.
I prefer to leave the user choice thru CFLAGS (but also warning him about the possible performance loss)
Created attachment 128410 [details, diff]
media-libs/libzzub/files/scons.diff
removed automatic sse check
about the waveform problem: it should be clearly a gcc bug (I tested with gcc-4.1.3 pre) but would be a pain to exploit and demonstrate... if the -fno-tree-pre isn't enough I think one has to try directly with -O1, that's guaranteed to work HTH Created attachment 128604 [details]
media-libs/libzzub/libzzub-0.2.3.ebuild
removed that `grep` crap and used more nice is-flag{,q} function
(also checks for -O3,-O2,-Os and replaces it with -O1)
clean up
this should be the last update
after asking for a review on #gentoo-dev-help zlin suggests removing the ewarns and epauses, and directly doing: replace-flags -O? -O1 also he suggests to just append -fno-tree-pre (there's no need to filter) package has been removed from tree done |