ARts

From CBLFS
Jump to navigationJump to search
Download Source: ftp://ftp.kde.org/pub/kde/stable/3.5.10/src/arts-1.5.10.tar.bz2
Download Source: http://svn.cross-lfs.org/svn/repos/patches/arts/arts-1.5.10-fix_mmx-1.patch

Introduction to ARts

The Analog Realtime Synthesizer (aRts) enables the playing of multiple audio or video streams concurrently - be it on the desktop or over a network. ARts is a full-featured sound system and includes filters, a modular analog synthesizer, and a mixer. Its architecture allows developers to create additional filter plugins and users to apply sequences of filters using a graphical drag-n-drop approach. Video support is available for MPEG versions 1, 2 and 4 (experimental), as well as the AVI and DivX formats.

ARts is a core component of the KDE 3 desktop environment and provides the basis for the KdeMultimedia package. However, it can also be used independently of KDE (i.e. doesn't use Qt or KdeLibs for most things).

Project Homepage: http://www.kde.org

Dependencies

Required

Recommended

Optional

Test Suite Note

The test suite can be run with:

make check

It compiles and runs correctly with GCC 4.1.1, but it apparently does not work properly with earlier GCC 4.x versions.

Non-Multilib

On x86_64, aRTS 'configure' fails to detect if the hardware provides MMX, SSE, 3DNOW! or floating point to int conversion instructions. Apply the following patch to allow aRts to use multimedia instructions and hardware float to int conversions on your x86_64 machine:

patch -Np1 -i ../arts-1.5.10-fix_mmx-1.patch

Correct error with new linux-headers:

sed -i "39i\#include <linux/limits.h>" mcop/mcoputils.cc

Compile the package:

./configure --prefix=$KDE_PREFIX --disable-debug \
    --disable-dependency-tracking &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    ./configure --prefix=$KDE_PREFIX --disable-debug --disable-dependency-tracking \
    --x-libraries=${XORG_PREFIX}/lib --with-qt-libraries=${QTDIR}/lib \
    --enable-libsuffix=none &&
make

Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/artsc-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
    ./configure --prefix=$KDE_PREFIX --libdir=${KDE_PREFIX}/lib32 --disable-debug \
    --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib32 --with-qt-libraries=${QTDIR}/lib32 \
    --enable-libsuffix=32 &&
make

Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/artsc-config{,-n32}

64Bit

On x86_64, aRTS 'configure' fails to detect if the hardware provides MMX, SSE, 3DNOW! or floating point to int conversion instructions. Apply the following patch to allow aRts to use multimedia instructions and hardware float to int conversions on your x86_64 machine:

patch -Np1 -i ../arts-1.5.10-fix_mmx-1.patch

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    ./configure --prefix=$KDE_PREFIX --libdir=${KDE_PREFIX}/lib64 --disable-debug \
    --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib64 --with-qt-libraries=${QTDIR}/lib64 \
    --enable-libsuffix=64 &&
make

Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/artsc-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper ${KDE_PREFIX}/bin/artsc-config
Retrieved from "?title=ARts&oldid=18260"