Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling xbmc against jpeg-6b in a custom location
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Wed Oct 21, 2009 5:36 pm    Post subject: Compiling xbmc against jpeg-6b in a custom location Reply with quote

Since I upgraded to jpeg-7, skins in xbmc have slowed down considerably. As I have jpeg-compat installed I was wondering if there is a simple hack to compile xbmc against jpeg-6b.

Can I compile jpeg-6b manually and install it to e.g. /opt/jpeg-6b and compile xbmc against that version of jpeg? If that's possible, I would start xmbc with LD_PRELOAD=/usr/lib/libjpeg.so.62 and (hopefully) not suffer from the slow skins anymore.

Is that possible without changing the makefile(s) of xbmc?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Oct 21, 2009 8:16 pm    Post subject: Reply with quote

The LD_PRELOAD will probably work without recompiling xbmc. Try compiling libjpeg6 manually and put it in /usr/local/lib/. If it works, it works.
Back to top
View user's profile Send private message
enkil
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 115
Location: Bern, Switzerland

PostPosted: Thu Oct 22, 2009 4:22 pm    Post subject: Reply with quote

I am compiling xbmc with a modified ebuild, so I guess putting stuff in /usr/local doesn't have any effect. I can't use the LD_PRELOADed version of jpeg-6b if I compile xbmc against jpeg-7 since there were ABI changes.

Anyway, I worked around it by unmerging jpeg-7 and jpeg-compat, merging jpeg-6b, merging xbmc and upgrading to jpeg-7...
Back to top
View user's profile Send private message
kali
n00b
n00b


Joined: 30 Sep 2002
Posts: 39
Location: Rome, Italy

PostPosted: Tue Oct 27, 2009 1:49 pm    Post subject: Reply with quote

but if you recompile a new svn you get the same problem
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Tue Oct 27, 2009 5:35 pm    Post subject: Reply with quote

meh! it's still a problem?

i wonder what there is so special about xbmc that it's the only program in entire portage that's having issues with jpeg.
Back to top
View user's profile Send private message
kali
n00b
n00b


Joined: 30 Sep 2002
Posts: 39
Location: Rome, Italy

PostPosted: Mon Nov 09, 2009 2:50 pm    Post subject: Reply with quote

yes, still a problem

xbmc developer use ubuntu as reference and 9.10 and next 10.4 stay with 6b, so their priority to fix this bug is very very low :/
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Nov 09, 2009 3:19 pm    Post subject: Reply with quote

kali wrote:
yes, still a problem

xbmc developer use ubuntu as reference and 9.10 and next 10.4 stay with 6b, so their priority to fix this bug is very very low :/


uhhh, and I'm already planning on dropping jpeg-6b from portage, leaving only the jpeg-compat for binary only apps


hey, can you test with media-libs/tiff-3.9.2 + media-libs/jpeg-7 if that makes any difference? the 3.9.2 has a jpeg-7 fix included
Back to top
View user's profile Send private message
kali
n00b
n00b


Joined: 30 Sep 2002
Posts: 39
Location: Rome, Italy

PostPosted: Mon Nov 09, 2009 7:24 pm    Post subject: Reply with quote

no difference, 100% cpu for ~5'' then the background is loaded correctly
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum