Difference between revisions of "ARts"

From CBLFS
Jump to navigationJump to search
(Multilib)
(Inconsistant Change: Undo revision 18259 by Ssot (Talk))
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp.kde.org/pub/kde/stable/3.5.4/src/arts-1.5.4.tar.bz2
+
| ftp://ftp.kde.org/pub/kde/stable/{{KDE-Version}}/src/arts-{{aRts-Version}}.tar.bz2
 +
|}
 +
{| style="text-align: left; background-color: AliceBlue;"
 +
|-valign="top"
 +
!Download Source:
 +
| http://svn.cross-lfs.org/svn/repos/patches/arts/arts-{{aRts-Version}}-fix_mmx-1.patch
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|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).|http://www.kde.org}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
 +
* [[KDE Pre-Installation Configuration]]
 
* [[Qt3]]
 
* [[Qt3]]
 
* [[Glib2]]
 
* [[Glib2]]
=== Reccomended ===
+
=== Recommended ===
 
* [[libjpeg]]
 
* [[libjpeg]]
 
=== Optional ===
 
=== Optional ===
Line 23: Line 33:
 
* [[MAS]]
 
* [[MAS]]
 
* [[JACK]]
 
* [[JACK]]
 +
 +
== 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 ==
 
== 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-{{aRts-Version}}-fix_mmx-1.patch
 +
 +
Correct error with new linux-headers:
 +
sed -i "39i\#include <linux/limits.h>" mcop/mcoputils.cc
  
 
Compile the package:
 
Compile the package:
Line 42: Line 67:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=$KDE_PREFIX \
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    --disable-debug --disable-dependency-tracking \
+
    ./configure --prefix=$KDE_PREFIX --disable-debug --disable-dependency-tracking \
     --enable-libsuff=none &&
+
    --x-libraries=${XORG_PREFIX}/lib --with-qt-libraries=${QTDIR}/lib \
 +
     --enable-libsuffix=none &&
 
  make
 
  make
  
Line 56: Line 82:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=$KDE_PREFIX \
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
    --libdir=${KDE_PREFIX}/lib32 --disable-debug --disable-dependency-tracking \
+
    ./configure --prefix=$KDE_PREFIX --libdir=${KDE_PREFIX}/lib32 --disable-debug \
     --enable-libsuff=none &&
+
    --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib32 --with-qt-libraries=${QTDIR}/lib32 \
 +
     --enable-libsuffix=32 &&
 
  make
 
  make
  
Line 67: Line 94:
  
 
=== 64Bit ===
 
=== 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-{{aRts-Version}}-fix_mmx-1.patch
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=$KDE_PREFIX \
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    --libdir=${KDE_PREFIX}/lib64 --disable-debug --disable-dependency-tracking \
+
    ./configure --prefix=$KDE_PREFIX --libdir=${KDE_PREFIX}/lib64 --disable-debug \
     --enable-libsuff=none &&
+
    --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib64 --with-qt-libraries=${QTDIR}/lib64 \
 +
     --enable-libsuffix=64 &&
 
  make
 
  make
  

Latest revision as of 12:59, 25 April 2009

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"