Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I found media-libs/libsamplerate can't find fftw with USE='-sndfile'. I found this patch fixes it: --- configure.ac 2008-05-09 23:32:26.000000000 +0300 +++ configure.ac 2008-05-09 23:32:14.000000000 +0300 @@ -8,6 +8,7 @@ AC_CANONICAL_TARGET([]) AM_INIT_AUTOMAKE(libsamplerate,0.1.3) AM_CONFIG_HEADER(src/config.h) +PKG_PROG_PKG_CONFIG #------------------------------------------------------------------------------------ # Rules for library version information: Then I found fftw used only in test, but this tests disabled in current Gentoo tree. I made another patch and ebuild for test (for myself). I will attach all. Please look. Reproducible: Always
Created an attachment (id=152905) [details] Patch for fix configure.am
Created an attachment (id=152907) [details] Patch for remove fftw
Created an attachment (id=152909) [details] ebuild with both patches and removed fftw useflag
(From update of attachment 152907 [details]) The pkg-config patch looks good, please send it upstream though. This other patch instead is totally bogus and will not be applied. If you want to disable fftw just pass the correct option to ./configure.
ok, but I think fftw flag unneeded for libsamplerate.
+ 13 May 2008; Samuli Suominen <drac@gentoo.org> + +files/libsamplerate-0.1.3-pkg_prog_pkg_config.patch, + libsamplerate-0.1.3.ebuild: + Add missing PKG_PROG_PKG_CONFIG to configure.ac wrt #221779, and remove + USE fftw because it was not used for any of the installed files. Thanks to + Maxim Britov for reporting.
..and mailed the only e-mail in AUTHORS.bz2 (sound@ CC'd)
Upstream replied to the pkg-config patch as following: <snip> This should not be necessary. I've just looked at the file /usr/share/aclocal/pkg.m4 and the definition of PKG_CHECK_MODULES: AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ... As you can see, PKG_CHECK_MODULES has an explict AC_REQUIRE on PKG_PROG_PKG_CONFIG. </snip>
For the record, it's our automagic patch for libsndfile which moves the first PKG_ call behind if statement, and the reason why we need the pkg_prog_pkg_config in configure.ac now