Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
migration from xbmc to kodi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 249
Location: Berkeley, California

PostPosted: Sun Mar 08, 2015 8:56 am    Post subject: migration from xbmc to kodi Reply with quote

I see kodi is in portage, but I do not see any direction regarding upgrading from xbmc to kodi, so what should one do?

One search engine result said not to uninstall xbmc before installing kodi, but that was for a different distribution.

When installing kodi, xbmc blocks:
Code:

[blocks B      ] media-tv/xbmc ("media-tv/xbmc" is blocking media-tv/kodi-14.1)
[blocks B      ] media-tv/kodi ("media-tv/kodi" is blocking media-tv/xbmc-12.3)


I fearlessly uninstalled xbmc, then installed kodi:
emerge --unmerge media-tv/xbmc
emerge media-tv/kodi

I had to unmask ffmpeg in order to allow media-video/ffmpeg-2.5.4:
echo 'media-video/ffmpeg' >> /etc/portage/package.keywords
emerge media-tv/kodi

I observed xbmc is still the build directory name, so they have not completed the rebranding, but during install it prints
Code:
You can run kodi with the command 'kodi'


Finally I see
Code:

 *
 * Installation of a symlink is blocked by a directory:
 *   '/usr/share/xbmc'
 * This symlink will be merged with a different name:
 *   '/usr/share/xbmc.backup.0000'
 *
 *
 * Installation of a symlink is blocked by a directory:
 *   '/usr/share/xbmc'
 * This symlink will be merged with a different name:
 *   '/usr/share/xbmc.backup.0000'
 *


I am manually fixing this for now:
Code:

mv /usr/share/xbmc /usr/share/xbmc.12.3
mv /usr/share/xbmc.backup.0000 /usr/share/xbmc


I also see a symlink to kodi:
ls -alF /usr/share/ |grep xbmc
Code:

lrwxrwxrwx   1 root root      4 Mar  7 23:31 xbmc -> kodi/
drwxr-xr-x   3 pico users    72 Mar  7 22:02 xbmc.12.3/


Looks like my old init system will still work, as xbmc still calls kodi
ls -alF /usr/bin/ |egrep 'kodi|xbmc'
Code:

-rwxr-xr-x   1 root root        5129 Mar  7 23:30 kodi*
lrwxrwxrwx   1 root root          31 Mar  7 23:31 kodi-send -> ../lib/python-exec/python-exec2*
-rwxr-xr-x   1 root root        1619 Mar  7 23:30 kodi-standalone*
lrwxrwxrwx   1 root root           4 Mar  7 23:31 xbmc -> kodi*
lrwxrwxrwx   1 root root          15 Mar  7 23:31 xbmc-standalone -> kodi-standalone*


In checking for broken stuff, I did run into a media-video/libav blocker
emerge @preserved-rebuild
Code:

[blocks B      ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is blocking media-video/libav-9.17)

So I removed it and all things that depend on it:
equery depends media-video/libav
Code:
 * These packages depend on media-video/libav:
media-libs/gegl-0.2.0-r2 (libav ? media-video/libav:0)
media-libs/opencv-2.4.9 (libav ? media-video/libav:0)
media-libs/xine-lib-1.2.6 (<media-video/libav-0.8.2-r1)
media-sound/mpd-0.18.16 (libav ? media-video/libav:0)
media-video/mplayer-1.2_pre20130729 (>=media-video/libav-9.8)
media-video/mplayer2-2.0_p20131009 (>=media-video/libav-9.12[threads?,vdpau?])
virtual/ffmpeg-9-r1 (>=media-video/libav-9.12[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?])

emerge --unmerge virtual/ffmpeg media-video/mplayer2 media-video/mplayer media-sound/mpd media-libs/xine media-libs/opencv media-libs/gegl
emerge @preserved-rebuild

Without any other changes to the system I rebooted, and xbmc auto-started as I had it setup for xbmc.

The video seems to be a lower resolution, or maybe darker and grainy, but 'top' shows me it using the gpu for graphic processing.

Not sure how to fix the darker and grainy look. xbmc-12.3 was perfect.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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