This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
forked from superpea/xbmc-fork
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathREADME.plex-linux
176 lines (149 loc) · 7.77 KB
/
README.plex-linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
test
This is a work in progress (duh!).
USEFUL INFORMATION:
These are the packages required to get the main configure script to run on Ubuntu 11.04:
build-essential autoconf autopoint libtool libboost1.46-all-dev libx11-dev libgl1-mesa-dev libxrender-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev libglew1.6-dev libmad0-dev libsamplerate-dev libogg-dev libvorbis-dev libbz2-1.0 libbz2-dev libwavpack-dev libmpeg2-4-dev libfribidi-dev libsqlite3-dev libpng-dev libpcre3-dev libcdio-dev libmysqlclient-dev libmodplug-dev libfaad-dev libflac-dev libsmbclient-dev libsdl-mixer1.2-dev libxt-dev libxtst-dev libxmu-dev libxinerama-dev libcurl4-gnutls-dev libdbus-1-dev libhal-storage-dev libhal-dev libpulse-dev libavahi-common-dev libavahi-client-dev libxrandr-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev liba52-dev libdts-dev libfaad-dev libmpeg2-4-dev libass-dev libflac-dev libwavpack-dev python-dev gawk gperf nasm libbluetooth-dev zlib1g-dev libmms-dev libsmbclient-dev libtiff4-dev libiso9660-dev libssl-dev libmicrohttpd-dev libmodplug-dev libssh-dev libsdl-image1.2-dev cmake libmysqlclient-dev libsmbclient-dev libxrandr-dev mesa-utils liblzo2-dev libjasper-dev unzip zip
extra stuff to be enabled in xbmc/plex:
libavahi-client-dev librtmp-dev libvdpau-dev libva-dev
libavahi stuff does not get enabled? don't know why yet and if it's needed anyway :)
yasm added as ffmpeg uses it to build asm code
nasm package should be checked if still needed. Might still be in use by plex code.
gettext not sure if needed but it doesn't hurt.
Ubuntu 10.04 Packages
sudo apt-get install build-essential autoconf libtool libboost1.40-all-dev libgl1-mesa-dev libglew1.5-dev libmad0-dev libsamplerate0-dev libogg-dev libvorbis-dev libbz2-dev liblzo2-dev libwavpack-dev libmpeg2-4-dev libfontconfig1-dev libfribidi-dev libsqlite3-dev libpng-dev libpcre3-dev libcdio-dev libmodplug-dev libfaad-dev libflac-dev libsdl-mixer1.2-dev libjasper-dev libtiff4-dev libsdl-image1.2-dev libenca-dev libxtst-dev libxmu-dev libxinerama-dev libcurl4-gnutls-dev libmicrohttpd-dev gawk cmake gperf nasm libiso9660-dev gettext libssl-dev yasm
CentOS 6.x (These are due to change as we get further along in the project :) )
We need to work as root here, to please switch to root user.
First you need to add 3 RPM repositories. (ATrpms, elrepo and EPEL)
ATrpm repo:
First add the signing key: rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
Secondly create a file in /etc/yum.repos.d named atrpms.repo
Add this to that file:
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
EPEL repo:
Install this package: rpm -Uhv http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
elrepo:
First add the signing key: rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
Secondly install the repo: rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
After we have installed the repos we can go ahead and add a lot of packages :)
Run: yum install autoconf libtool boost-thread boost-filesystem boost-iostreams boost-program-options boost-system boost-signals boost-regex boost-devel mesa-libGL-devel libX11-devel libXrender-devel glew-devel libmad-devel portaudio portaudio-devel libavcodec53 libpng libpng-devel libsamplerate libsamplerate-devel libogg-devel libvorbis-devel libzip-devel wavpack-devel sqlite-devel pcre-devel libcdio-devel mysql-devel flac-devel libsmbclient-devel SDL-devel libXt-devel gettext bzip2-devel lzo-devel mpeg2dec-devel fontconfig-devel fribidi-devel libmodplug-devel faad2-devel SDL_mixer-devel jasper-devel libtiff-devel SDL_image-devel enca-devel libXinerama-devel libXmu dbus-devel libmicrohttpd-devel cmake gperf make libdvdread-devel expat-devel libdvdnav-devel libvdpau-devel libstdc++-devel gcc-c++ libXrandr-devel
Once we have these packages in we need until we have boost compiled into the client these boost rpm's that have been built for the purpose of testbuilding the client.
These are available here: http://pmc.markwalker.dk/boost
Required rpms for build are these:
boost-system-1.47.0-3.el6.x86_64
boost-date-time-1.47.0-3.el6.x86_64
boost-chrono-1.47.0-3.el6.x86_64
boost-python-1.47.0-3.el6.x86_64
boost-devel-1.47.0-3.el6.x86_64
boost-filesystem-1.47.0-3.el6.x86_64
boost-regex-1.47.0-3.el6.x86_64
boost-wave-1.47.0-3.el6.x86_64
boost-random-1.47.0-3.el6.x86_64
boost-test-1.47.0-3.el6.x86_64
boost-serialization-1.47.0-3.el6.x86_64
boost-program-options-1.47.0-3.el6.x86_64
boost-1.47.0-3.el6.x86_64
boost-thread-1.47.0-3.el6.x86_64
boost-graph-1.47.0-3.el6.x86_64
boost-signals-1.47.0-3.el6.x86_64
boost-iostreams-1.47.0-3.el6.x86_64
Install by navigating to you destination directory and run: rpm -Uhv boost-system-1.47.0-3.el6.x86_64 boost-date-time-1.47.0-3.el6.x86_64 boost-chrono-1.47.0-3.el6.x86_64 boost-python-1.47.0-3.el6.x86_64 boost-devel-1.47.0-3.el6.x86_64 boost-filesystem-1.47.0-3.el6.x86_64 boost-regex-1.47.0-3.el6.x86_64 boost-wave-1.47.0-3.el6.x86_64 boost-random-1.47.0-3.el6.x86_64 boost-test-1.47.0-3.el6.x86_64 boost-serialization-1.47.0-3.el6.x86_64 boost-program-options-1.47.0-3.el6.x86_64 boost-1.47.0-3.el6.x86_64 boost-thread-1.47.0-3.el6.x86_64 boost-graph-1.47.0-3.el6.x86_64 boost-signals-1.47.0-3.el6.x86_64 boost-iostreams-1.47.0-3.el6.x86_64
After that you should be good to go.
Notes on Sandy Bridge systems running CentOS 6.
We need to borrow a couple of packages from them :) To get GLX running on Xorg on CentOS 6 with internal Sandy Bridge graphics :) (Due to CentOS not having new enough <= mesa-7.10 + intel driver)
Donwload from here: http://pmc.markwalker.dk/SL6
Get these packages:
mesa-dri-drivers-7.10-1.el6.x86_64.rpm
mesa-libGL-7.10-1.el6.x86_64.rpm
mesa-libGL-devel-7.10-1.el6.x86_64.rpm
mesa-libGLU-7.10-1.el6.x86_64.rpm
mesa-libGLU-devel-7.10-1.el6.x86_64.rpm
mesa-libOSMesa-7.10-1.el6.x86_64.rpm
xorg-x11-drv-intel-2.14.0-1.el6.x86_64.rpm
xorg-x11-drv-intel-devel-2.14.0-1.el6.x86_64.rpm
Install as so: rpm -Uhv mesa-dri-drivers-7.10-1.el6.x86_64.rpm mesa-libGL-7.10-1.el6.x86_64.rpm mesa-libGL-devel-7.10-1.el6.x86_64.rpm mesa-libGLU-7.10-1.el6.x86_64.rpm mesa-libGLU-devel-7.10-1.el6.x86_64.rpm mesa-libOSMesa-7.10-1.el6.x86_64.rpm xorg-x11-drv-intel-2.14.0-1.el6.x86_64.rpm xorg-x11-drv-intel-devel-2.14.0-1.el6.x86_64.rpm
And you X-config should be able to run GLX enabled.
Ubuntu 10.10 (Maverick)
Here are the libraries which need to be available for Maverick (package names are related):
libmicrohttpd.so.5
libSDL_image-1.2.so.0
libtiff.so.4
libjasper.so.1
libSDL_mixer-1.2.so.0
libsmbclient.so.0
libfaad.so.2
libmysqlclient.so.16
libmodplug.so.1
libmpeg2convert.so.0
libmpeg2.so.0
libwavpack.so.1
liblzo2.so.2
libass.so.4
libGLU.so.1
libGLEW.so.1.5
libGL.so.1
libmad.so.0
libfontconfig.so.1
libfribidi.so.0
libsqlite3.so.0
libpcrecpp.so.0
libcdio.so.10
libsamplerate.so.0
libfreetype.so.6
libogg.so.0
libvorbis.so.0
libvorbisenc.so.2
libasound.so.2
libenca.so.0
libXt.so.6
libXtst.so.6
libXext.so.6
libXmu.so.6
libXinerama.so.1
libcurl-gnutls.so.4
libSDL-1.2.so.0
libboost_system.so.1.42.0
libboost_filesystem.so.1.42.0
libboost_thread.so.1.42.0
libboost_iostreams.so.1.42.0
libboost_program_options.so.1.42.0
libboost_regex.so.1.42.0
libboost_signals.so.1.42.0
libstdc++.so.6
libX11.so.6
libjpeg.so.62
libmikmod.so.2
libvorbisfile.so.3
libsmpeg-0.4.so.0
libtalloc.so.2
libwbclient.so.0
libgssapi_krb5.so.2
libkrb5.so.3
libk5crypto.so.3
libldap_r-2.4.so.2
liblber-2.4.so.2
libXi.so.6
libatiuki.so.1
libSM.so.6
libICE.so.6
libidn.so.11
libgnutls.so.26
libpulse-simple.so.0
libpulse.so.0
libicudata.so.42
libicui18n.so.42
libicuuc.so.42
libxcb.so.1
libkrb5support.so.0
libsasl2.so.2
libtasn1.so.3
libpulsecommon-0.9.21.so
libX11-xcb.so.1
libxcb-atom.so.1
libXau.so.6
libXdmcp.so.6
libsndfile.so.1
libFLAC.so.8