/usr/share/gap/pkg/guava/init.g is in gap-guava 3.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | #############################################################################
##
#A init.g GUAVA library Reinald Baart
#A Jasper Cramwinckel
#A Erik Roijackers
#A Eric Minkes
#A Lea Ruscio
#A David Joyner
#A CJ, Tjhai
##
#H @(#)$Id: init.g,v 2.0 2003/02/27 22:45:16 gap Exp $
## added read curves.gd 5-2005
## added existence check for minimum-weight
##
##
## Announce the package version and test for the existence of the binary.
##
DeclarePackage( "guava", "3.6",
function()
local path;
if not CompareVersionNumbers( VERSION, "4.4.5" ) then
Info( InfoWarning, 1,
"Package ``GUAVA'': requires at least GAP 4.4.5" );
return fail;
fi;
# Test for existence of the compiled binary
path := DirectoriesPackagePrograms( "guava" );
if ForAny( ["desauto", "leonconv", "wtdist", "minimum-weight"],
f -> Filename( path, f ) = fail ) then
Info( InfoWarning, 1,
"Package ``GUAVA'': the C code programs are not compiled." );
Info( InfoWarning, 1,
"Some GUAVA functions, e.g. `ConstantWeightSubcode' and MinimumWeight, ",
"will be unavailable. ");
Info( InfoWarning, 1,
"See ?Installing GUAVA" );
fi;
return true;
end );
DeclarePackageAutoDocumentation( "GUAVA", "doc", "GUAVA",
"GUAVA Coding Theory Package" );
ReadPkg("guava", "lib/util2.gd");
ReadPkg("guava", "lib/codeword.gd");
ReadPkg("guava", "lib/codegen.gd");
ReadPkg("guava", "lib/matrices.gd");
ReadPkg("guava", "lib/codeman.gd");
ReadPkg("guava", "lib/nordrob.gd");
ReadPkg("guava", "lib/util.gd");
ReadPkg("guava", "lib/curves.gd");
ReadPkg("guava", "lib/codeops.gd");
ReadPkg("guava", "lib/bounds.gd");
ReadPkg("guava", "lib/codefun.gd");
ReadPkg("guava", "lib/decoders.gd");
ReadPkg("guava", "lib/codecr.gd");
ReadPkg("guava", "lib/codecstr.gd");
ReadPkg("guava", "lib/codemisc.gd");
ReadPkg("guava", "lib/codenorm.gd");
ReadPkg("guava", "lib/tblgener.gd");
ReadPkg("guava", "lib/toric.gd");
|