XU Hardware accelerated XBMC (libhybris) + lxde desktop

This forum is for supported devices using an ARMv7 Samsung SoC.

XU Hardware accelerated XBMC (libhybris) + lxde desktop

Postby gripped » Sat Nov 30, 2013 1:45 pm

Starting from the latest XU ALARM rootfs (ArchLinuxARM-2013.12-odroid-xu-rootfs.tar.gz) I have created an Image, and a separate set of manual install instructions to get Hardware accelerated XBMC on the XU. The hard libhybris work was done by a user 'hgblob' over at the odroid forum, not me. In fact all the hard work was done by others. I've just put it together.

Anyway starting from a fresh install the following will get you Hardware accelerated XBMC , a LXDE desktop and neon enabled ffmpeg and vlc.
Update system$this->bbcode_second_pass_code('', 'pacman -Syu')
Add my repo$this->bbcode_second_pass_code('', '
cat >> /etc/pacman.conf <<EOF
[odroidxu]
SigLevel = Never
Server = http://odroidxu.leeharris.me.uk/repo
EOF

')
Install packages$this->bbcode_second_pass_code('', '
pacman -Sy arj bash-completion chromium-pepper-flash ffmpeg-neon gpicview gvfs htop leafpad lhasa libfm libidn libpng-neon lxappearance lxappearance-obconf lxde-common lxde-icon-theme-mod lxinput lxlauncher lxmenu-data lxmusic lxpanel lxpolkit lxrandr lxsession lxshortcut lxtask lxterminal lzop menu-cache obconf openbox p7zip pavucontrol-gtk2 pcmanfm pulseaudio pulseaudio-alsa slim sudo unrar vlc-neon xarchiver-xz xbmc-libhybris-frodo-hyb xdg-su xf86-video-fbdev xorg-server xorg-xinit zip
')
Will be asked about a few packages
$this->bbcode_second_pass_quote('', 'T')here are 2 providers available for libgl:
:: Repository extra
1) mesa-libgl
:: Repository odroidxu
2) mesa-libgl
choose 2

:: There are 7 providers available for ttf-font:
:: Repository extra
1) ttf-bitstream-vera 2) ttf-dejavu 3) ttf-freefont 4) ttf-linux-libertine
:: Repository community
5) ttf-droid 6) ttf-liberation 7) ttf-ubuntu-font-family
choose 2

:: linux-firmware-odroidxu and linux-firmware are in conflict. Remove linux-firmware? [y/N]Y
:: linux-odroid-xu-hybris and linux-odroid-xu are in conflict. Remove linux-odroid-xu? [y/N]Y


Bug in gtk2 pkg post install calls against a (mesa) library before its installed.
So $this->bbcode_second_pass_code('', '
/usr/bin/gtk-query-immodules-2.0 --update-cache
')
This next bit sets up various config files in /etc/skel to improve the Desktop and enable lxde but also edits other files to enable autologin, fix pulse, optimize makepkg.conf, add group wheel to sudoers. I'll add the full list of commands further down. Changed files are first copied to *.orig (except those under /etc/skel .xnitrc & .bashrc)
$this->bbcode_second_pass_code('', 'pacman -Sy lxde-customizations')

Enable slim dm
$this->bbcode_second_pass_code('', 'systemctl enable slim')

Next step optional . I like old style logs not just the journal logs
$this->bbcode_second_pass_code('', 'pacman -Sy syslog-ng
systemctl enable syslog-ng.service')

Add users and groups
$this->bbcode_second_pass_code('', 'groupadd -r pulse
groupadd -r pulse-access
useradd -r -d /run/pulse -g pulse -G audio pulse
useradd -m -g users -G audio,video,power,network,optical,storage,disk,wheel,pulse-access -s /bin/bash odroid')

Delete package cache (optional, the internet is my package cache)
$this->bbcode_second_pass_code('', 'pacman -Scc') Choose y & y

Set password
$this->bbcode_second_pass_code('', 'passwd odroid')
reboot

There are fuller instructions at http://forum.odroid.com/viewtopic.php?f=62&t=2898
The PKGBUILD's I've made or modified are at https://github.com/gripped/odroidxu-pkgbuilds

Might be of use to someone ? :)
gripped
 
Posts: 22
Joined: Sat Nov 30, 2013 1:28 pm

Return to Samsung

Who is online

Users browsing this forum: No registered users and 1 guest