Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523746 - media-sound/xmms2 - fix building against media-video/ffmpeg
Summary: media-sound/xmms2 - fix building against media-video/ffmpeg
Status: RESOLVED DUPLICATE of bug 536232
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-25 23:09 UTC by Anthony Guevara
Modified: 2015-02-06 14:54 UTC (History)
0 users

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


Attachments
xmms2-0.8-r3.ebuild (xmms2-0.8-r3.ebuild,6.90 KB, text/plain)
2014-09-25 23:09 UTC, Anthony Guevara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Guevara 2014-09-25 23:09:30 UTC
Created attachment 385476 [details]
xmms2-0.8-r3.ebuild

Building media-sound/xmms2 tries to pull in libav but if you have ffmpeg installed, installation of xmms2 breaks while trying to pull in libav plugins.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-26 07:03:47 UTC
Comment on attachment 385476 [details]
xmms2-0.8-r3.ebuild

--- xmms2-0.8-r2.ebuild
+++ xmms2-0.8-r3.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms2/xmms2-0.8-r2.ebuild,v 1.4 2014/08/10 21:13:03 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms2/xmms2-0.8-r1.ebuild,v 1.16 2014/08/10 21:13:03 slyfox Exp $

 EAPI=3

@@ -14,7 +14,7 @@
 LICENSE="GPL-2 LGPL-2.1"

 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+KEYWORDS="alpha amd64 ppc x86"

 IUSE="aac airplay +alsa ao asf avahi cdda curl cxx ffmpeg flac gvfs ices
 jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa oss
@@ -108,8 +108,6 @@
        epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch
        cd "${S}"
        epatch "${FILESDIR}/${P}"-ffmpeg-0.11.patch #443256
-       epatch "${FILESDIR}/${P}"-libav-9-p2.patch #443256
-       epatch "${FILESDIR}/${P}"-libav-9.patch #443256
        epatch "${FILESDIR}/${P}"-cython-0.19.1.patch
        epatch "${FILESDIR}/${P}"-memset.patch

@@ -119,6 +117,7 @@
 }

 src_configure() {
+       # rm -rf /var/tmp/portage/media-sound/xmms2-0.8-r3/work/xmms2-0.8DrO_o/src/plugins/avcodec &&
        # ./configure alike options.
        local waf_params="--prefix=/usr \
                        --libdir=/usr/$(get_libdir) \
@@ -159,7 +158,6 @@
                                        "               airplay"
                                        "               ao"
                                        "ffmpeg         apefile"
-                                       "ffmpeg         avcodec"
                                        "               asf"
                                        "ENABLED        asx"
                                        "               cdda"
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-09-26 08:04:31 UTC
The patch looks very confusing to me.

So I guess you are running ffmpeg instead of libav.
Y have a couple of questions for you:

- the output of 'emerge --info media-video/ffmpeg'
- and actual build.log failure if you try to install in-tree's xmms2
Comment 3 Anthony Guevara 2014-09-27 01:00:02 UTC
(In reply to Sergei Trofimovich from comment #2)
> The patch looks very confusing to me.
> 
> So I guess you are running ffmpeg instead of libav.
> Y have a couple of questions for you:
> 
> - the output of 'emerge --info media-video/ffmpeg'
> - and actual build.log failure if you try to install in-tree's xmms2 

I will reply back tomorrow with the info you requested. It is late here and I just got home but I wanted to respond to let you know that xmms2 wont build unless I remove the libav patches as well as the libav entry in the plugin maps. 

Yes, I am using ffmpeg instead of libav and I Wouldn't call this a patch lol
Comment 4 Pacho Ramos gentoo-dev 2015-02-06 14:54:09 UTC

*** This bug has been marked as a duplicate of bug 536232 ***