Skip to content

Commit

Permalink
reverted: r23899
Browse files Browse the repository at this point in the history
fixed: [LINUX/OSX] don't use internal cdio headers
updated: README's to reflect above (debian splits cdio into multiple pkgs)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23900 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
althekiller committed Oct 22, 2009
1 parent 36efd01 commit d2e98e5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.linux
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Build-Depends: debhelper (>= 7.0.50), quilt, python-support, cmake,
libswscale-dev, liba52-dev, libdts-dev, libfaad-dev, libmp4ff-dev,
libmpeg2-4-dev, libass-dev, libflac-dev, libwavpack-dev,
python-dev, gawk, gperf, nasm [!amd64], libcwiid1-dev, libbluetooth-dev,
zlib1g-dev, libmms-dev, libsmbclient-dev, libtiff4-dev
zlib1g-dev, libmms-dev, libsmbclient-dev, libtiff4-dev, libiso9660-dev

*** For developers and anyone else who compiles frequently it is recommended to
use ccache
Expand Down
2 changes: 1 addition & 1 deletion README.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Two methods exist to install the required Ubuntu packages :

For Ubuntu (all versions >= 7.04):

# sudo aptitude install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf 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 libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev
# sudo aptitude install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf 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 libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev

On 8.04 and older versions, libmms is outdated and thus XBMC will not compile properly.
In this case you will have to manually compile the latest version.
Expand Down
4 changes: 4 additions & 0 deletions xbmc/FileSystem/iso9660.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ ISO9660
#include "utils/CharsetConverter.h"

#include "DetectDVDType.h" // for MODE2_DATA_SIZE etc.
#ifdef _LINUX
#include <cdio/bytesex.h>
#else
#include "lib/libcdio/bytesex.h" // for from_723 & from_733
#endif
//#define _DEBUG_OUTPUT 1

static CRITICAL_SECTION m_critSection;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/FileSystem/iso9660.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typedef uint32_t iso723_t;
typedef uint64_t iso733_t;
#else
#include "lib/libcdio/iso9660.h"
#include <cdio/iso9660.h>
#endif

#pragma pack(1)
Expand Down
2 changes: 1 addition & 1 deletion xbmc/utils/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INCLUDES=-I. -I.. -I../../ -I../linux -I../cores -I../../guilib -I../lib/libcdio/libcdio/include
INCLUDES=-I. -I.. -I../../ -I../linux -I../cores -I../../guilib

SRCS=AlarmClock.cpp \
Archive.cpp \
Expand Down

0 comments on commit d2e98e5

Please sign in to comment.