Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145377

Summary: media-plugins/xmms-speex-0.9.1: work with latest speex ebuild
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: New packagesAssignee: Luis Medinas (RETIRED) <metalgod>
Status: RESOLVED WONTFIX    
Severity: enhancement Keywords: PMASKED
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 152472    
Bug Blocks:    
Attachments: xmms-speex-0.9.1-r1.ebuild
xmms-speex-0.9.1-r1-Makefile.patch
xmms-speex-0.9.1-intcrement.patch

Description Martin von Gagern 2006-08-28 10:40:29 UTC
bug 60542 comment 9 states that the current xmms-speex plugin only works with up to speex-1.1.5, and the dependency settings reflect this fact. However as the reason is only some change in include dir location, it is easily remedied.
I modified the ebuild to work with my media-libs/speex-1.1.12 and probably all speex versions starting from 1.1.6. I also commented all settings of CFLAGS in the Makefiles so that the CFLAGS settings from portage are used, plus -fPIC.
Comment 1 Martin von Gagern 2006-08-28 10:43:29 UTC
Created attachment 95293 [details]
xmms-speex-0.9.1-r1.ebuild

The new speex ebuild.
Patches are now named in full, for easier update to new versions that still need the old patches.
The HOMEPAGE is still unavailable (bug 123818), and I know nothing new here.
src_compile now calls make explicitly, so that passing args is possible.
Comment 2 Martin von Gagern 2006-08-28 10:48:04 UTC
Created attachment 95294 [details, diff]
xmms-speex-0.9.1-r1-Makefile.patch

This flag combines the intention of xmms-speex-0.9.1-Makefile.patch and xmms-speex-0.9.1-fPIC.patch. A closer look:
* INCDIRS now includes SPEEX_INCDIR which is set in ebuild.
* CFLAGS setting disabled to take the one from the environment
* utf8 enabled as in bug 60542 comment 12
* install target made DESTDIR aware, though current ebuild doesn't use this
* VERSION of gui subdir changed to match root dir
* output from xmms-config assigned to make variable so that build logs will
  display the expanded form for easier problem handling with this
Comment 3 Martin von Gagern 2006-08-28 10:50:55 UTC
Created attachment 95297 [details, diff]
xmms-speex-0.9.1-intcrement.patch

Without this patch I get the following errors with my gcc-4.1.1:

speexutil.c:240: error: invalid lvalue in increment
speexutil.c:261: error: invalid lvalue in increment
speexutil.c:271: error: invalid lvalue in increment

Reason each time is "((int*) packet)++;" where packet is of type char*.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:58:13 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

WONTFIX.