Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290759 - Ebuild for media-libs/xine-lib-1.2 branch (snapshot, live?)
Summary: Ebuild for media-libs/xine-lib-1.2 branch (snapshot, live?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 15:10 UTC by A. Person
Modified: 2011-10-17 23:58 UTC (History)
3 users (show)

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


Attachments
xine-lib-1.2 ebuild with vdpau support (xine-lib-1.2.9999_p284.ebuild,5.76 KB, text/plain)
2009-10-27 15:12 UTC, A. Person
Details
patch (9772.diff,10.72 KB, patch)
2009-10-27 15:13 UTC, A. Person
Details | Diff
patch (9773.diff,410 bytes, patch)
2009-10-27 15:13 UTC, A. Person
Details | Diff
patch (xine-lib-1.2-hg-compile-error.diff,518 bytes, patch)
2009-10-27 15:13 UTC, A. Person
Details | Diff
Error log (xine-lib-1.2-vdpau-r284.diff-15754.out,30.84 KB, text/plain)
2010-01-01 19:10 UTC, R. May
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2009-10-27 15:10:57 UTC
Here is an ebuild for xine-lib-1.2 with vdpau support.  The ebuild pulls the latest xine-lib-1.2 from mercurial and applies the specified xine-vdpau patch from here:

http://www.jusst.de/vdpau/files/xine-lib-1.2/

Reproducible: Always
Comment 1 A. Person 2009-10-27 15:12:34 UTC
Created attachment 208434 [details]
xine-lib-1.2 ebuild with vdpau support
Comment 2 A. Person 2009-10-27 15:13:05 UTC
Created attachment 208435 [details, diff]
patch
Comment 3 A. Person 2009-10-27 15:13:23 UTC
Created attachment 208436 [details, diff]
patch
Comment 4 A. Person 2009-10-27 15:13:38 UTC
Created attachment 208437 [details, diff]
patch
Comment 5 Francisco Lloret 2009-11-20 21:09:19 UTC
Works OK with gxine-0.5.903 (tested playing avi file with xvid video and mp3 audio) in AMD64 arch.
Xine-ui don't compile due to a missing function error.
Comment 6 A. Person 2009-11-20 22:26:38 UTC
It works with miro too.  xine-ui in portage isn't compatible with xine-lib-1.2, but the latest should be.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2009-11-21 05:35:49 UTC
As far as VDPAU depends, you should really depend on x11-libs/libvdpau from now on.
Comment 8 Francisco Lloret 2009-11-21 20:54:46 UTC
Using nvidia-settings-180.60, Xserver Xvideo settings don't works.
Downgrading xine-lib to 1.2.9999_p247 in overlay solves the problem.
Comment 9 A. Person 2009-12-06 00:40:49 UTC
I read that xine-vdpau has been merged with xine-lib-1.2, but I commented out the patches in the ebuild and emerged and I don't seem to get vdpau acceleration.
Comment 10 A. Person 2009-12-06 03:27:47 UTC
To make the latest ebuild posted here pull the merged vdpau, change all instances of "xine-lib-1.2" to "xine-lib-1.2-vdpau" (except for SRC_URI) and remove all epatch references.  I tried to rename the ebuild and clean it up properly but I couldn't get it to work.
Comment 11 Grégoire Favre 2009-12-10 16:17:09 UTC
Just compiled xine-lib from xine-lib-1.2-vdpau with adapted ebuild and vdpau works just great out of the box here.
Comment 12 R. May 2010-01-01 19:05:18 UTC
Hello,

it will not compile...

Emerging (1 of 1) media-libs/xine-lib-1.2.9999_p284 from unknown repo
 * xine-lib-1.2-vdpau-r284.diff.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                        [ ok ]
>>> Unpacking source...
 * Updating /usr/portage/distfiles/hg-src/xine-lib/xine-lib-1.2 from http://hg.debian.org/hg/xine-lib/xine-lib-1.2
 * Creating working directory in /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2 (revision: tip)
>>> Unpacking xine-lib-1.2-vdpau-r284.diff.bz2 to /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work
 * Applying xine-lib-1.2-vdpau-r284.diff ...

 * Failed Patch: xine-lib-1.2-vdpau-r284.diff !
 *  ( /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2-vdpau-r284.diff )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/xine-lib-1.2-vdpau-r284.diff-15754.out

 * 
 * ERROR: media-libs/xine-lib-1.2.9999_p284 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3015:  Called epatch '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2-vdpau-r284.diff'
 *             environment, line 1604:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: xine-lib-1.2-vdpau-r284.diff!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/environment'.
 * 
Comment 13 R. May 2010-01-01 19:10:15 UTC
Created attachment 214865 [details]
Error log

Here is the Output
Comment 14 A. Person 2010-01-02 14:49:06 UTC
R. May, I think you need to comment out all instances of epatch like I said in my previous post.  Make sure you follow the instructions in that post.
Comment 15 A. Person 2010-01-19 20:33:33 UTC
VDPAU support has been merged with xine-lib so it's no longer necessary to specify the vdpau branch in the ebuild.  I tried to clean it up for posting here, but mine's a mess.  Also, I don't have anything high def right now to test.  Could someone else test and report back?
Comment 16 Roland 2010-02-13 16:09:42 UTC
Hello,

is there a working ebuild now for the new CVS xine-lib?

Regards Roland
Comment 17 Christian Ruppert (idl0r) gentoo-dev 2011-10-17 23:58:08 UTC
xine-lib-1.2.9999 is in CVS now.