Difference between revisions of "NAS"

From CBLFS
Jump to navigationJump to search
 
(11 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://nas.codebrilliance.com/nas/nas-1.7.src.tar.gz
+
|http://downloads.sourceforge.net/nas/nas-{{NAS-Version}}.src.tar.gz
|-
 
!Required Patch
 
| http://svn.cross-lfs.org/svn/repos/patches/nas/nas-1.7-gcc4-1.patch
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The Network Audio System is a network transparent, client/server audio transport system used to read , write and play audio files in many formats including .au, .snd, .voc, .wav, .aiff, .aif and .iff. It can be described as the audio equivalent of an X server.|http://nas.codebrilliance.com/}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
* [[X Window System]] and [[Xorg7/rman]] (If using [[Xorg7/Intro|Xorg7]])
+
* [[X Window System]] and [[Xorg7/rman|rman]] (If using [[Xorg7/Intro|Xorg7]])
  
 
== Non-Multilib ==
 
== Non-Multilib ==
  
 +
==== 32Bit ====
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
 
 
  xmkmf &&
 
  xmkmf &&
 
  make World
 
  make World
Line 26: Line 25:
  
 
  make install install.man &&
 
  make install install.man &&
  install -v -m755 -d /usr/share/doc/nas-1.7/pdf &&
+
  install -v -m755 -d /usr/share/doc/nas-{{NAS-Version}}/pdf &&
  install -v -m644 doc/pdf/* /usr/share/doc/nas-1.7/pdf &&
+
install -v -m644 doc/pdf/* /usr/share/doc/nas-{{NAS-Version}}/pdf &&
 +
install -v -m644 doc/{README,actions,*.{ps,txt}} \
 +
    /usr/share/doc/nas-{{NAS-Version}}
 +
 
 +
==== Pure64 ====
 +
Compile the package:
 +
 
 +
xmkmf &&
 +
make USRLIBDIR=/usr/lib World
 +
 
 +
Install the package
 +
 
 +
make USRLIBDIR=/usr/lib install install.man &&
 +
install -v -m755 -d /usr/share/doc/nas-{{NAS-Version}}/pdf &&
 +
  install -v -m644 doc/pdf/* /usr/share/doc/nas-{{NAS-Version}}/pdf &&
 
  install -v -m644 doc/{README,actions,*.{ps,txt}} \
 
  install -v -m644 doc/{README,actions,*.{ps,txt}} \
     /usr/share/doc/nas-1.7
+
     /usr/share/doc/nas-{{NAS-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 37: Line 50:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
 
 
  USE_ARCH=32 xmkmf &&
 
  USE_ARCH=32 xmkmf &&
 
  USE_ARCH=32 make World
 
  USE_ARCH=32 make World
Line 49: Line 61:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
 
 
  USE_ARCH=n32 xmkmf &&
 
  USE_ARCH=n32 xmkmf &&
 
  USE_ARCH=n32 make World
 
  USE_ARCH=n32 make World
Line 61: Line 72:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
 
 
  USE_ARCH=64 xmkmf &&
 
  USE_ARCH=64 xmkmf &&
 
  USE_ARCH=64 make World
 
  USE_ARCH=64 make World
Line 81: Line 91:
 
=== BootScript ===
 
=== BootScript ===
  
Install the /etc/rc.d/init.d/gpm init script included in the [[blfs-bootscripts]] package.
+
Install the /etc/rc.d/init.d/nas init script included in the [[bootscripts]] package.
  
 
  make install-nas
 
  make install-nas
  
The init script uses a default prefix of /usr/X11R6. If you've installed the X Window System into any other prefix, execute the following command, replacing <PREFIX> with the installation prefix of the X Window System.
+
The init script uses a default prefix of /usr/X11R6. If you've installed the X Window System into any other prefix, execute the following command.
  
 
  sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" /etc/rc.d/init.d/nas
 
  sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" /etc/rc.d/init.d/nas
 +
 +
[[Category:Media Libraries]]

Latest revision as of 16:31, 19 March 2009

Download Source: http://downloads.sourceforge.net/nas/nas-1.9.1.src.tar.gz

Introduction to NAS

The Network Audio System is a network transparent, client/server audio transport system used to read , write and play audio files in many formats including .au, .snd, .voc, .wav, .aiff, .aif and .iff. It can be described as the audio equivalent of an X server.

Project Homepage: http://nas.codebrilliance.com/

Dependencies

Required

Non-Multilib

32Bit

Compile the package:

xmkmf &&
make World

Install the package

make install install.man &&
install -v -m755 -d /usr/share/doc/nas-1.9.1/pdf &&
install -v -m644 doc/pdf/* /usr/share/doc/nas-1.9.1/pdf &&
install -v -m644 doc/{README,actions,*.{ps,txt}} \
    /usr/share/doc/nas-1.9.1

Pure64

Compile the package:

xmkmf &&
make USRLIBDIR=/usr/lib World

Install the package

make USRLIBDIR=/usr/lib install install.man &&
install -v -m755 -d /usr/share/doc/nas-1.9.1/pdf &&
install -v -m644 doc/pdf/* /usr/share/doc/nas-1.9.1/pdf &&
install -v -m644 doc/{README,actions,*.{ps,txt}} \
    /usr/share/doc/nas-1.9.1

Multilib

32Bit

Compile the package:

USE_ARCH=32 xmkmf &&
USE_ARCH=32 make World

Install the package

USE_ARCH=32 make install

N32

Compile the package:

USE_ARCH=n32 xmkmf &&
USE_ARCH=n32 make World

Install the package

USE_ARCH=n32 make install

64Bit

Compile the package:

USE_ARCH=64 xmkmf &&
USE_ARCH=64 make World

Install the package

USE_ARCH=64 make install install.man &&
install -v -m755 -d /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/pdf/* /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/{README,actions,*.{ps,txt}} \
    /usr/share/doc/nas-1.7

Configuration

Create the NAS configuration file using the following command:

install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf

BootScript

Install the /etc/rc.d/init.d/nas init script included in the bootscripts package.

make install-nas

The init script uses a default prefix of /usr/X11R6. If you've installed the X Window System into any other prefix, execute the following command.

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" /etc/rc.d/init.d/nas