View previous topic :: View next topic |
Author |
Message |
enkil Tux's lil' helper
Joined: 27 Apr 2004 Posts: 115 Location: Bern, Switzerland
|
Posted: Wed Oct 21, 2009 5:36 pm Post subject: Compiling xbmc against jpeg-6b in a custom location |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Oct 21, 2009 8:16 pm Post subject: |
|
|
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 |
|
|
enkil Tux's lil' helper
Joined: 27 Apr 2004 Posts: 115 Location: Bern, Switzerland
|
Posted: Thu Oct 22, 2009 4:22 pm Post subject: |
|
|
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 |
|
|
kali n00b
Joined: 30 Sep 2002 Posts: 39 Location: Rome, Italy
|
Posted: Tue Oct 27, 2009 1:49 pm Post subject: |
|
|
but if you recompile a new svn you get the same problem |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Tue Oct 27, 2009 5:35 pm Post subject: |
|
|
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 |
|
|
kali n00b
Joined: 30 Sep 2002 Posts: 39 Location: Rome, Italy
|
Posted: Mon Nov 09, 2009 2:50 pm Post subject: |
|
|
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 |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Mon Nov 09, 2009 3:19 pm Post subject: |
|
|
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 |
|
|
kali n00b
Joined: 30 Sep 2002 Posts: 39 Location: Rome, Italy
|
Posted: Mon Nov 09, 2009 7:24 pm Post subject: |
|
|
no difference, 100% cpu for ~5'' then the background is loaded correctly |
|
Back to top |
|
|
|