7-1 xbmc study notes


1. Installation ubuntu12.04,64bit, Chinese (mainly for future compatibility xbmc Chinese environment, such as the input). Before installing the cbuntu12.0, put aside, reserved for future consideration.


2. Source

Taking into account environmental issues unity and stability issues, the initial source of ubuntu do not choose a third-party source (even if third-party sources faster, more resources).


Select a faster source, method: System -> Software Updates -> Update Manager -> Settings -> Source software (Software Ubuntu) -> select the best server.

$ sudo apt-get update



3.root

For customers to consider, root password is no longer set.


4. Note known

I have some information here, so put this down under

$ sudo add-apt-repository ppa:wiznote-team

$ sudo apt-get update

$ sudo apt-get install wiznote

$ which wiznote

/usr/bin/wiznote

Wiznote get to execute the file path, the future is useful.


5.apt-fast

Multi-threaded download, the software non-essential software.

Considering the machine configuration for faster downloads, install the software testing phase, as to the specific use "apt-fast" instead of "apt-get", such as "apt-fast update". Hereinafter all references to "apt-get", "sudo apt-get" may be replaced with "apt-fast".


$ sudo add-apt-repository ppa:apt-fast/stable 

$ sudo apt-get update 

$ sudo apt-get install axel aria2 apt-fast


6.vim


This software is non-essential software, but also a common editor, recommended installation.

$ sudo apt-get install vim



7.ccache、distcc


README.ubuntu mentioned, but no need to install. 

For developers and anyone else who compiles frequently it is recommended to use ccache 

$ sudo apt-get install ccache

 

A tip for those with multiple computers at home is to check out distcc (totally unsupported from xbmc of course)

$ sudo apt-get install distcc



Two, xmbc Compiling and Installing

  1. Get xbmc source


pre11.0

dharma 10.0

eden11.0



From www.xbmc.org/download/ the download package, or as shown below, the code acquired by git:

sudo apt-get install git

$ cd ~

$ git clone git://github.com/xbmc/xbmc.git


v11 (used during testing):

svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/

Older version, the perfect support for launcher



2. Depending solve

Reading the source code of READNE.ubuntu, you can see a lot of information, the next summary, we have chosen to ubuntu12.04 for example, should:

$ sudo apt-get install python-software-properties software-properties-common

$ sudo add-apt-repository ppa:team-xbmc/unstable

$ sudo add-apt-repository ppa:team-xbmc/xbmc-ppa-build-depends

$ sudo apt-get update


Get xbmc compiler environment, this step takes longer, it is recommended to install with apt-fast.

$ apt-fast build-dep xbmc


After the previous step, as a precaution, once again confirm the build environment, install the same with apt-fast.

$ apt-fast install git-core build-essential gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs python-dev libyajl-dev libboost-thread-dev libplist-dev libusb-dev libudev-dev libtinyxml-dev libcap-dev curl swig default-jre autopoint libltdl-dev


3. Install

$ cd xmbc

$ ./bootstrap && echo hello

$ ./configure && echo hello

$ make && echo hello

$ sudo make install && echo hello


Third, plug-ins and other personalized custom

1. Chinese

There are many online xbmc plugins, of course, no shortage of Chinese plug-in that does not in fact require (at least now we do not need this version under):

Xbmc When installed, the default interface is in English, which is set directly in the system, switch to Simplified Chinese will be garbled. To avoid this problem, before setting the language, first set the font (Font) as "arial based" can be.

SYSTEM-Settings-Appearance-Skin-Fonts-Arial based


2. Skin

In the system there are very simple, you can download and install.


3. Full Screen / window switch

The system has, you can choose


4. User Login

See System Settings, increase the multi-user .


5.xbmc Desktop

See system settings after installation, log off the current user, select Desktop, and select xbmc


6. Remote Control

It supports remote control operation, upper, lower, left, right, turn the screen, to return, shutdown, Tulio specific key. Need to test remote control button, remove duplicate / invalid key, reserved / add new buttons, the future will be based on the development of this new remote control.

Reserved:

Up and down / letter / number / return / Play / Pause / Stop / Power on / off / sleep / ...


Fourth, the problem is solved

1. Compile the source code if a fault occurs, a macro not found

There are log information at one, call a macro that can be annotated at the code. The specific location is not logged, the second compilation and then later, in a cleaner environment, with a good dependence, can be translated through, no error here, under this simple record.


Fifth, reference documents

SDK/docs/README.*


1037CPU industrial U disk speed raid



























Reproduced in: https: //my.oschina.net/u/1441132/blog/202543

Guess you like

Origin blog.csdn.net/weixin_33895475/article/details/92110328
Recommended