Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295807 - media-plugins/audacious-plugins-2.2-r2 automagic dep on libmms
Summary: media-plugins/audacious-plugins-2.2-r2 automagic dep on libmms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-05 10:03 UTC by Alexis Ballier
Modified: 2011-03-21 01:45 UTC (History)
9 users (show)

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


Attachments
adds useflag and uses existing option (audacious-libmms.patch,645 bytes, patch)
2011-01-18 14:24 UTC, Rafał Mużyło
Details | Diff
corrected patch (audacious-libmms.patch,1.08 KB, patch)
2011-01-18 15:53 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2009-12-05 10:03:15 UTC
configure.ac contains:
dnl *** MMS

AC_ARG_ENABLE(mms,
[  --disable-mms           disable mms support. (default=enabled)],
[have_mms=$enableval],
[have_mms=yes])

if test "x$have_mms" = "xyes"; then
    have_mms=yes
    PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS mms" ], [have_mms="no"])
else
    have_mms=no
    AC_MSG_RESULT([*** mms plugin disabled by request ***])
fi



so this should be all about adding a useflag or simply disabling it.
Comment 1 Randall Wald 2010-01-12 07:50:01 UTC
Same problem here...revdep-rebuild won't remove libmms, because I built my audacious-plugins against it, but because there's no USE flag it isn't actually a dependency of audacious-plugins. Seems like something which deserves its own USE flag.
Comment 2 Nico Baggus 2010-06-30 01:59:49 UTC
emerge --depclean -p
 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Checking for lib consumers...
>>> Assigning files to packages...
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 * 
 *   media-libs/libmms-0.5 pulled in by:
 *     media-plugins/audacious-plugins-2.2-r2 needs libmms.so.0
 * 
>>> Adding lib providers to graph...
Comment 3 Rafał Mużyło 2011-01-13 22:51:56 UTC
If you don't like it in bug 297894, let's take it here.

You could always add the usedeps and add an entry to arch specific package.use.mask.

Then you could add a bug for the arches.
While it's arches job to add keywords, it's package maintainer job to handle automagic deps (especially ones that already have configure options).

Arches won't do any testing unless you file a request for it.
Comment 4 Rafał Mużyło 2011-01-18 14:24:37 UTC
Created attachment 260182 [details, diff]
adds useflag and uses existing option
Comment 5 Rafał Mużyło 2011-01-18 15:53:20 UTC
Created attachment 260197 [details, diff]
corrected patch

Sorry, I initially forgot to add new useflag to IUSE.