c8a3a37
The change done with regard with the CERN library are as follow:
c8a3a37
c8a3a37
1) Package organization
c8a3a37
c8a3a37
The main package is cernlib-devel which includes the cernlib static 
c8a3a37
libraries, include files and data files. Different versions (corresponding 
c8a3a37
with years) of the cernlib can be installed along.
c8a3a37
c8a3a37
The other packages can't have different versions installed in parallel.
c8a3a37
c8a3a37
The package cernlib-utils contains the cernlib script which can be used
c8a3a37
to compile the cernlib library, and /etc/profile.d/cernlib-<version>.sh
c8a3a37
which sets the environment variables usefull for the cernlib.
c8a3a37
c8a3a37
The package kuipc contains the kuipc interpreter, paw contains the paw
c8a3a37
binary, and cernlib-packlib contains the other binaries from the 
c8a3a37
cernlib.
c8a3a37
c8a3a37
2) Filesystem Hierarchy Standard conformance
c8a3a37
c8a3a37
The upstream Cernlib installs in the subdirectories (bin, lib, include...) 
c8a3a37
of the $CERN_ROOT directory which is usually $CERN/$CERN_LEVEL. A mix of
c8a3a37
this approach and a standard FHS conformant approach has been followed here. 
c8a3a37
c8a3a37
For the libraries, the Cernlib upstream scheme has been retained, with 
c8a3a37
CERN=/usr/lib/cernlib
c8a3a37
CERN_LEVEL=2005
c8a3a37
and therefore the libraries are in /usr/lib/cernlib/2005/lib. The 
c8a3a37
environment variables are set in /etc/profile.d/cernlib-<version>.sh.
c8a3a37
c8a3a37
For the include files and the data files the subdirectory cernlib/2005
c8a3a37
appears in the FHS location, without subdirectories, therefore we have the
c8a3a37
equivalences:
c8a3a37
$CERN_ROOT/include     ->     /usr/include/cernlib/$CERN_LEVEL/
c8a3a37
$CERN_ROOT/share       ->     /usr/share/cernlib/$CERN_LEVEL/
c8a3a37
c8a3a37
The binary files go into /usr/bin.
c8a3a37
c8a3a37
3) Removal of non-free code
c8a3a37
c8a3a37
Debian patches and files from the debian Cernlib package where used to remove
c8a3a37
files licensed under non-GPL compatible licences. The script 
c8a3a37
cernlib-remove-deadpool and the file cernlib-deadpool.txt which lists 
c8a3a37
problematic files can be used in the SOURCES directory with the 
c8a3a37
upstream sources to remove the problematic files.
c8a3a37
c8a3a37
4) Use of external lapack
c8a3a37
c8a3a37
The cernlib script has been modified to use an external lapack and not
c8a3a37
the one provided with the cernlib.
4b5a59b
4b5a59b
5) kernlib out of packlib
4b5a59b
4b5a59b
kernlib has been moved outside of packlib. If you use the cernlib script
4b5a59b
for linking it should be taken into account, however if you link directly
4b5a59b
with packlib you could need to add the kernlib on your link command line.
4b5a59b
4b5a59b
6) split of motif dependent libs from packlib and pawlib
4b5a59b
4b5a59b
The motif dependent libs are in libpacklib-lesstif and libpawlib-lesstif.