Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286052 - media-tv/xbmc-9999 svn path change.
Summary: media-tv/xbmc-9999 svn path change.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 07:56 UTC by Jan Vansteenkiste
Modified: 2009-09-30 01:57 UTC (History)
1 user (show)

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


Attachments
Modified Ebuild (xbmc-9998.ebuild,3.57 KB, text/plain)
2009-09-23 19:47 UTC, Cyrus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vansteenkiste 2009-09-23 07:56:58 UTC
And I quote from xbmc:

Builders, packagers, maintainers take note

The main development path has changed to:  https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/


Reproducible: Always
Comment 1 Cyrus 2009-09-23 19:47:56 UTC
Created attachment 205046 [details]
Modified Ebuild

I have created the following ebuild in my personal overlay. Simply changes the SVN path.

Not exactly sure what the ESVN_PROJECT variables control but I modified them for the new path as well. 

This should be a simple fix for the upstream ebuild.
Comment 2 Cam Cope 2009-09-24 07:06:28 UTC
This ebuild also needs a patch for libass-0.9.7
There is a patch from XBMC here:
http://xbmc.org/trac/raw-attachment/ticket/7103/xbmc-libass.2.patch
Also another patch was written in a Gentoo bugreport:
http://bugs.gentoo.org/show_bug.cgi?id=285328

I can't seem to be able to apply either of the patches by just adding them to the ebuild, they may need updating.
Comment 3 Cyrus 2009-09-25 16:56:39 UTC
The patch for libass is if you are using version 0.9.7 which is currently masked. Therefore it isn't specifically needed.

The ebuild I attached actually didn't work.

What I found is this. You can set an environment variable XBMC_ESVN_REPO_URI to overide the default URL for the repo in the ebuild itself. That will allow it to checkout the correct code.

The issue after that has to do with autoreconf. The ebuild calls a function called eautoreconf (defined in /usr/portage/eclass/autoclass.eclass). However I don't think that is recursive and it misses a few subdirectories. There is a file included in the source code called bootstrap that manually. Here is its contents

#!/bin/sh

autoreconf -vif
autoreconf -vif xbmc/lib/libass

echo "Please (re)run configure..."

I had to manually call this from the ebuild as such:

src_unpack() {
    if [[ ${PV} == "9998" ]] ; then
        subversion_src_unpack
        cd "${S}"
        eautoreconf

        "${S}"/bootstrap
    else
        unpack ${A}
        cd "${S}"
    fi

    # Fix case sensitivity
    mv media/Fonts/{a,A}rial.ttf
    mv media/{S,s}plash.png
}

Not sure if that is the correct way to do this or I can somehow modify the eautoreconf call above to do exactly what the bootstrap call does. 

Anyways, I was able to compile making these changes.
Comment 4 Cam Cope 2009-09-25 23:10:39 UTC
libass-0.9.7 is marked ~x86
Comment 5 SpanKY gentoo-dev 2009-09-30 01:57:22 UTC
the svn path has been updated already