Cups (neko mips4)

From Nekoware

Jump to: navigation, search
neko_cups
Packaged by: Georg Bege
Internal Version: 3
Download: neko_cups-1.2.9-r3.tardist
Current release: 1.2.9-r2 / May 18 2007
Use: Unknown
Licence: Unknown
Website:


Common Unix Printing System

Contents

[edit] Installing the package

Download and install the neko_cups-1.2.9-r2 (version 3) tardist package from the Nekoware repository.

Installation of the precompiled binary package can be achieved using either Software Manager or inst: In the case of inst, all that's required is the command:

~ $ inst -f /path/to/neko_cups-1.2.9-r3.tardist
install all
keep *.opt.src
go
quit

You will need "root" privileges to install the software.

A list of all files is installed by this package is available.

[edit] Package Dependencies

The following additional packages are required to run this software correctly:


[edit] Package Incompatibilities

The following packages are marked as incompatible.

  • No incompatibilities.

[edit] Package Layout

Default indicates whether the subsystem will be installed if "install standard" (or similar) is used. Order is used if any given subsystem must be installed before others.

Name Size [Kbytes] Default Order Description
neko_cups.sw.eoe 4,680 Yes 9999 execution only env
neko_cups.sw.hdr 106 Yes 9999 header
neko_cups.sw.lib 3,695 Yes 9999 shared libraries and archives
neko_cups.sw.ppd 144 Yes 9999 printer model ppd files
neko_cups.sw.tmpl 353 Yes 9999 templates
neko_cups.man.manpages 117 Yes 9999 man pages
neko_cups.man.html 1,414 Yes 9999 html documentation
neko_cups.opt.relnotes 3 No 9999 release notes
neko_cups.opt.src 3,528 No 9999 original source code
neko_cups.opt.dist 206 No 9999 distribution files


[edit] Post installation Steps

1. Install neko_cups-1.2.9-r3.tardist as usual, if you have any previous versions installed overwrite or update (be sure to copy your config somewhere safe though). 2. If you want ghostscript support you will need most likly ESP Ghostscript from the freeware dist until nekoware has its own ESP Ghostscript copy. 3. Look in /usr/nekoware/etc/cups/mime.convs for following line:

  1. application/vnd.cups-postscript application/vnd.cups-raster 100 pstoraster

strip the '#' away then go to /usr/nekoware/lib/cups/filter and do a symlink with the following command: ln -s /usr/freeware/lib/cups/filter/pstoraster ./pstoraster

4. That should do the trick and make ESP Ghostscript work with cups ;) 5. You can do chkconfig neko_cups on and start neko_cups via /etc/init.d/neko_cups start 6. Dont forget to copy cupsd.conf.default to cupsd.conf in /usr/nekoware/etc/cups!


[edit] Compiling

As for the majority of Nekoware packages, the 7.4.x release of SGI's MIPSpro Compiler suite has been used to build this package.


[edit] Environment

export CC=c99
export CFLAGS='-O3 -mips4 -I/usr/nekoware/include -TARG:platform=IP35:proc=r14000'
export CXXFLAGS=$CFLAGS
export CPPFLAGS='-I/usr/nekoware/include'
export CXX=CC
export F77=f77
export LDFLAGS='-L/usr/nekoware/lib -rpath /usr/nekoware/lib'
export PKG_CONFIG=/usr/nekoware/bin/pkg-config
export PKG_CONFIG_PATH='/usr/nekoware/lib/pkgconfig'
export PKG_CONFIG_LIBDIR='/usr/nekoware/lib'
export LD_LIBRARY_PATH='/usr/nekoware/lib'
export LD_LIBRARYN32_PATH='/usr/nekoware/lib'
export LD_LIBRARY64_PATH='/usr/nekoware/lib64'
export GNOME2_DIR='/usr/nekoware'
export GNUMAKE='/usr/nekoware/bin/make'
export PATH=/usr/nekoware/bin:$PATH
export PYTHONHOME=/usr/nekoware
export PYTHONPATH=/usr/nekoware/lib/python2.4
export PERL=/usr/nekoware/bin/perl      
export QTDIR=/usr/nekoware/qt4



[edit] Configure

'./configure' \
'--prefix=/usr/nekoware' \
'--libdir=/usr/nekoware/lib' \
'--enable-threads' \
'--disable-pam' \
'--disable-ldap'
gmake && gmake install


[edit] Release Notes

Click on the "show" link to expand the contents of the package's 'relnotes' file.


[edit] Errors/Miscellaneous

-= parallel port printing =- There might be still an issue with printing on the parport0 device, which is a symlink to /hw/... I think this is mostly a permission problem because all devices in /hw/ can only be accessed by root - on the other side cupsd refuses to run with root permissions.

-= Previous Releases =- neko_cups-1.2.9 installs libs in ./lib32 and breaks therefore compatibility neko_cups-1.2.9-r1 is broken because the libs didnt get proper linked with the right path neko_cups-1.2.9-r2 is not conform coz chkconfig flag was set on and wrong permissions on /usr/nekoware/var/spool

This release is marked -r3 Following files are included outside /usr/nekoware:

/etc/init.d/neko_cups /etc/config/neko_cups /etc/rc2.d/S60cups /etc/rc0.d/K25neko_cups


[edit] Older Versions


[edit] External Links

None.

Personal tools