XBMC PKGBUILD for raspberry pi

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: XBMC PKGBUILD for raspberry pi

Postby AndyPi » Mon Oct 08, 2012 6:51 pm

Looking at the code in PCGBUILD...

# Patch to fix TexturePacker build. Ignore that parts of the patch doesn't apply.
patch -i ${srcdir}/xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch -p1 || return 0

I guess this is going to exit the build (){...} chunk and execute the package {...} chunk prematurely. I replaced the || return 0 with || continue which is wrong but effective.

regards

Andy
AndyPi
 
Posts: 10
Joined: Thu Aug 02, 2012 1:57 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Mon Oct 08, 2012 8:21 pm

$this->bbcode_second_pass_quote('AndyPi', 'L')ooking at the code in PCGBUILD...

# Patch to fix TexturePacker build. Ignore that parts of the patch doesn't apply.
patch -i ${srcdir}/xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch -p1 || return 0

I guess this is going to exit the build (){...} chunk and execute the package {...} chunk prematurely. I replaced the || return 0 with || continue which is wrong but effective.

regards

Andy

Ahh, of course! My mistake! I've updated the PKGBUILD, using "true" instead, which I hope works better :)
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC PKGBUILD for raspberry pi

Postby dreamsforgotten » Mon Oct 08, 2012 11:21 pm

I keep failing after about 8 hours of compiling. I get plenty of the StdString.h:1605:14: note: the mangling of 'va_list' has changed in GCC 4.1

The error killing the build is:

/xbmc/music/dialogs/musicdialogs.a(GUIDialogsMusicScan.o): In function 'CGUIDialogMusicScan::OnFinished()':
GUIDialogMusicScan.cpp:(.text+0x5c): undefined reference to 'CApplication::RestoreMusicScanSettings()'
collect2: error: ld returned 1 exit status

I haven't seen this one covered before and googling didn't help much either. Can anyone assist?
dreamsforgotten
 
Posts: 4
Joined: Mon Oct 08, 2012 11:17 pm

Re: XBMC PKGBUILD for raspberry pi

Postby WarheadsSE » Mon Oct 08, 2012 11:30 pm

The "mangling of 'va_list'" can be safely ignored.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Tue Oct 09, 2012 6:51 am

$this->bbcode_second_pass_quote('dreamsforgotten', 'T')he error killing the build is:

/xbmc/music/dialogs/musicdialogs.a(GUIDialogsMusicScan.o): In function 'CGUIDialogMusicScan::OnFinished()':
GUIDialogMusicScan.cpp:(.text+0x5c): undefined reference to 'CApplication::RestoreMusicScanSettings()'
collect2: error: ld returned 1 exit status

I haven't seen this one covered before and googling didn't help much either. Can anyone assist?

It seems that part of the code (GUIDialogsMusicScan) has been removed from XBMC a few days ago: https://github.com/xbmc/xbmc/commit/a72 ... b74c81c87c
So either your local git copy isn't up to date, or the removal upstream wasen't completed. Is your local git fresh?
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC PKGBUILD for raspberry pi

Postby dreamsforgotten » Tue Oct 09, 2012 6:54 am

I actually downloaded it just a couple days ago. When I get home I will delete the folders and try again, thanks! I'll report back.
dreamsforgotten
 
Posts: 4
Joined: Mon Oct 08, 2012 11:17 pm

Re: XBMC PKGBUILD for raspberry pi

Postby ghthor » Tue Oct 09, 2012 10:04 pm

Video was broken with the xbmc-rbp-git pkg that is installed with `pacman -S xbmc-rbp-git`. I took a peak at the deps in the xbmc pkg for armv7h and installed them and now I have working video.

I understand that video output isn't necessary for XBMC to work so maybe they shouldn't be deps(maybe optional deps?) but this information should be somewhere as I spent around 5+ hours tinkering around till I got video output working.

Sorry that I don't know explicitly which packages missing that are necessary for video output to work. I'm planning on reinstalling anyway so I can document the process for writing a guide and I'll pay more attention to which packages enabled video output.
ghthor
 
Posts: 1
Joined: Tue Oct 09, 2012 9:45 pm

Re: XBMC PKGBUILD for raspberry pi

Postby dreamsforgotten » Wed Oct 10, 2012 4:45 am

Thanks again guys, took 11 hours but i finally compiled and installed
dreamsforgotten
 
Posts: 4
Joined: Mon Oct 08, 2012 11:17 pm

Re: XBMC PKGBUILD for raspberry pi

Postby cyberic » Wed Oct 10, 2012 7:59 am

$this->bbcode_second_pass_quote('dreamsforgotten', 'T')hanks again guys, took 11 hours but i finally compiled and installed

Is it running correctly? does it decode the streams you tried?
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm
Top

Re: XBMC PKGBUILD for raspberry pi

Postby pepedog » Wed Oct 10, 2012 8:20 am

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests