Libcdio: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 6: Line 6:


----
----
{{Package-Introduction|The Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access. Applications wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM or of the specific details of various CD-image formats may benefit from using this library.|http://www.gnu.org/software/libcdio/}}


== Dependencies ==
== Dependencies ==
Line 15: Line 17:


== Non-Multilib ==
== Non-Multilib ==
If you're compiling support for [[CDParanoia-III]] then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:
sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in


Compile the package:
Compile the package:
Line 25: Line 31:
  make install
  make install


The '''cdio/version.h''' header defines a version that breaks other packages such as [[Gst-plugins-good]] when it tries to determine the version. You can not compare a floating constant in a preprocessor expression.
== Multilib ==


sed -i "/LIBCDIO_VERSION_NUM/s/78.1/78/g" /usr/include/cdio/version.h
=== 32Bit ===


== Multilib ==
If you're compiling support for [[CDParanoia-III]] then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:


=== 32Bit ===
sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in


Compile the package:
Compile the package:


  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  ./configure --prefix=/usr &&
  ./configure --prefix=/usr &&
  make
  make
Line 44: Line 51:


=== N32 ===
=== N32 ===
If you're compiling support for [[CDParanoia-III]] then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:
sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in


Compile the package:
Compile the package:


  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
  make
  make
Line 56: Line 68:


=== 64Bit ===
=== 64Bit ===
If you're compiling support for [[CDParanoia-III]] then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:
sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in


Compile the package:
Compile the package:


  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
  make
  make
Line 67: Line 84:
  make install
  make install


The '''cdio/version.h''' header defines a version that breaks other packages such as [[Gst-plugins-good]] when it tries to determine the version. You can not compare a floating constant in a preprocessor expression.
[[Category:Media Libraries]]
 
sed -i "/LIBCDIO_VERSION_NUM/s/78.1/78/g" /usr/include/cdio/version.h

Latest revision as of 15:26, 19 March 2009

Download Source: http://ftp.gnu.org/gnu/libcdio/libcdio-0.80.tar.gz

Introduction to Libcdio

The Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access. Applications wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM or of the specific details of various CD-image formats may benefit from using this library.

Project Homepage: http://www.gnu.org/software/libcdio/

Dependencies

Optional

Non-Multilib

If you're compiling support for CDParanoia-III then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:

sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in

Compile the package:

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

Install the package

make install

Multilib

32Bit

If you're compiling support for CDParanoia-III then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:

sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

If you're compiling support for CDParanoia-III then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:

sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

If you're compiling support for CDParanoia-III then execute the following command before running configure. This will cause the libcdio_paranoia pkg-config files to be installed:

sed -i "s/libudf.pc$/& \$(paranoiapcs)/" Makefile.in

Compile the package:

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

Install the package

make install