LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-26-2014, 09:33 PM   #1
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 123
Blog Entries: 1

Rep: Reputation: 21
XBMC Frodo compiled using Gotham patches


It seems who slackbuild files and dependenciess are not enough for compile XBMC, eg lack avr-binutils, and patches who I comented.

I have suffered enough to achieve compile this nice player and may not be worthwhile, but it is already known among nerds

Thanks who people what make patches



If anybody like to try to make, could comment thanks.

edited

I compiled XBMC Gotham 13.1 now, the trouble was deactivate library vdpau with --disable vdpau in slackbuild in ./configure section. This was for avoid this error

Code:
CPP     xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.o
In file included from DVDVideoCodecFFmpeg.cpp:53:0:
VDPAU.h:232:3: error: 'GLsync' does not name a type
   GLsync fence;
   ^
VDPAU.h: In constructor 'VDPAU::CVdpauRenderPicture::CVdpauRenderPicture(CCriticalSection&)':
VDPAU.h:218:48: error: 'fence' was not declared in this scope
     : refCount(0), renderPicSection(section) { fence = None; }
                                                ^
make[1]: *** [DVDVideoCodecFFmpeg.o] Error 1
make: *** [xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a] Error 2
I stand while somebody comment anything about XBMC.

I have installers from 12.2 frodo and 13.1 gotham with all dependencies for fresh slackware 14.1. installation (need to try before).

Last edited by ROXR; 07-27-2014 at 12:08 PM.
 
Old 07-27-2014, 12:12 PM   #2
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 123

Original Poster
Blog Entries: 1

Rep: Reputation: 21
How could create a patch from this code
Code:
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp
@@ -181,7 +181,7 @@ bool CDVDVideoCodecFFmpeg::Open(CDVDStreamInfo &hints, CDVDCodecOptions &options
       if(pCodec->id == hints.codec
       && pCodec->capabilities & CODEC_CAP_HWACCEL_VDPAU)
       {
-        if ((pCodec->id == CODEC_ID_MPEG4 || pCodec->id == CODEC_ID_XVID) && !g_advancedSettings.m_videoAllowMpeg4VDPAU)
+        if ((pCodec->id == CODEC_ID_MPEG4) && !g_advancedSettings.m_videoAllowMpeg4VDPAU)
           continue;

         CLog::Log(LOGNOTICE,"CDVDVideoCodecFFmpeg::Open() Creating VDPAU(%ix%i, %d)",hints.width, hints.height, hints.codec);
to avoid deactivate vpau.

I'm clumsy in this matter.

thanks
edit
...... sorry this patch was for frodo 12.2, I was confused.
I'm still researching some path for vdpau error in gotham.

Last edited by ROXR; 07-27-2014 at 12:59 PM.
 
Old 07-27-2014, 01:28 PM   #3
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Are you running slackware current, 14.0 or 14.1? Which version of xbmc do you want to compile and have you upgraded any slackware packages?

Easiest is to try the xbmc packages made for slaxbmc.
Latest sources are here:
http://slackware.org.uk/slaxbmc/14.1...s/gotham/xbmc/

Latest packages for 64-bit are here:
http://www.slackware.org.uk/slaxbmc/...atches/gotham/
 
Old 07-27-2014, 05:38 PM   #4
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 123

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Hello hendrickxm

Yes, I run on Slackware 14.1 x64, I don't upgrade to a current but I compiled all dependencias as was possible.

The XBMC packages compiled with slaxbmc don't work on slackware for lack of libraries but if someone work on it, he must work.

If I had Know about Slaxbmc , I could save some efforts thanks.

I already built it, but now only handle for improve SlackBuilds repositories.

regards

Last edited by ROXR; 07-27-2014 at 05:41 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install XBMC 13.0 Gotham in Ubuntu 14.04 LTS LXer Syndicated Linux News 0 05-22-2014 02:42 PM
LXer: XBMC 13 “Gotham” media center is ready to rise LXer Syndicated Linux News 0 05-04-2014 11:42 AM
XBMC Frodo: I Have Some Questions 2sassy Linux - Software 3 10-23-2013 06:58 AM
XBMC 12.0 (Frodo) and Slackware 14 croxen Slackware 15 02-08-2013 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration