Difference between revisions of "MythTV"

From CBLFS
Jump to navigationJump to search
(Fix Devs lazyness with QT headers....)
Line 25: Line 25:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.
 +
 +
cd libs
 +
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
 +
cd ..
  
 
Configure and compile the package:
 
Configure and compile the package:
Line 36: Line 42:
  
 
== Multilib ==
 
== Multilib ==
'''''The libraries that this package installs should be specific to this package, so only one installation is needed.'''''
+
'''''The libraries in this package should be specific to this package, so only one installation is needed.'''''
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.
 +
 +
cd libs
 +
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
 +
cd ..
  
 
Configure and compile the package:
 
Configure and compile the package:
Line 57: Line 69:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.
 +
 +
cd libs
 +
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
 +
cd ..
  
 
Configure and compile the package:
 
Configure and compile the package:

Revision as of 17:42, 6 August 2007

Download Source: http://ftp.osuosl.org/pub/mythtv/mythtv-0.21.tar.bz2
Download Plugin Source: http://ftp.osuosl.org/pub/mythtv/mythplugins-0.21.tar.bz2
Download Themes Source: http://ftp.osuosl.org/pub/mythtv/myththemes-0.21.tar.bz2

Introduction to MythTV

MythTV is a server/client for watching and recording TV or other things via a Tuner Card.

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.

cd libs
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
cd ..

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

The libraries in this package should be specific to this package, so only one installation is needed.

32Bit

Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.

cd libs
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
cd ..

Configure and compile the package:

export USE_ARCH=32 QMAKESPEC=linux-g++-32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --cpu=$(cut -d- -f1 <<< $CLFS_TARGET32)
make

Install the package:

make install &&
unset USE_ARCH QMAKESPEC

N32

TO DO!

64Bit

Due to the improper coding of the libs, we need to change the location of the QT headers to the proper place.

cd libs
find . -type f -exec sed -i "s@#include <q@#include \<qt\/@g" '{}' ';
cd ..

Configure and compile the package:

export USE_ARCH=64 QMAKESPEC=linux-g++-64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir-name=lib64 &&
make

Install the package:

make install &&
unset USE_ARCH QMAKESPEC

Configuring

cp database/mc.sql /usr/share/mythtv/
mysql -u root -p < database/mc.sql
mythtv-setup
Retrieved from "?title=MythTV&oldid=10803"