diff --git a/dev/DistributionUpdate/rsyncserv/CHANGES b/dev/DistributionUpdate/rsyncserv/CHANGES deleted file mode 100644 index 702bb6e3e0..0000000000 --- a/dev/DistributionUpdate/rsyncserv/CHANGES +++ /dev/null @@ -1,245 +0,0 @@ - - - CHANGES of "GAP 4.5 on Linux via rsync" (Frank Lübeck) - ============================================================== - ---- Mon, 29 Sep 2014 11:31:34 +0200 -Upgraded to archive gap4r7p5_2014_05_24-20_02.tar.gz -which means GAP is upgraded to version 4.7.5, -the following new package is added: - permut 1.01 -and the following packages are upgraded: - AutPGrp 1.5 (-> 1.6) - AutoDoc 2013.09.20 (-> 2014.03.27) - AutomGrp 1.1.4.1 (-> 1.2.4) - Browse 1.8.3 (-> 1.8.5) - CRISP 1.3.7 (-> 1.3.8) - CoReLG 0.2 (-> 1.02) - FR 2.1.0 (-> 2.1.1) - GradedModules 2013.10.27 (-> 2014.02.25) - GradedRingForHomalg 2013.10.27 (-> 2014.02.04) - HAP 1.10.14.3 (-> 1.10.15) - IO 4.2 (-> 4.3.1) - IRREDSOL 1.2.3 (-> 1.2.4) - LieRing 2.1 (-> 2.2) - MatricesForHomalg 2013.11.20 (-> 2014.04.08) - Polenta 1.3.1 (-> 1.3.2) - RadiRoot 2.6 (-> 2.7) - RingsForHomalg 2013.11.01 (-> 2014.01.17) - Semigroups 1.4 (-> 2.0) - Smallsemi 0.6.7 (-> 0.6.8) - ToolsForHomalg 2013.04.16 (-> 2014.04.10) - cvec 2.4 (-> 2.5.1) - genss 1.5 (-> 1.6.1) - homalg 2013.10.10 (-> 2014.04.07) - nq 2.4 (-> 2.5.1) - orb 4.6 (-> 4.7.1) - recog 1.2 (-> 1.2.2) - recogbase 1.2 (-> 1.2.2) - simpcomp 1.6.1 (-> 2.0.0) -Note that the package "float" was not upgraded, version is still 0.5.12 - - ---- Wed, 15 Jan 2014 17:16:30 +0100 -Upgraded to archive gap4r7p2_2013_12_01-10_17.tar.gz -which means GAP is upgraded to version 4.7.2, -the following new packages are added: - 4ti2Interface 2013.09.20 - CoReLG 0.2 - IntPic 0.1.0 - LiePRing 1.5 - LieRing 2.1 - ModIsom 2.1 - SLA 0.14 - Semigroups 1.4 -and the following packages are upgraded: - ANUPQ 3.0 (-> 3.1.1) - AutoDoc 2013.01.16 (-> 2013.09.20) - Browse 1.8.2 (-> 1.8.3) - CRISP 1.3.6 (-> 1.3.7) - Cryst 4.1.11 (-> 4.1.12) - EDIM 1.3.1 (-> 1.3.2) - Example 3.4.3 (-> 3.4.4) - ExamplesForHomalg 2012.10.23 (-> 2013.07.05) - FR 2.0.3 (-> 2.1.0) - Float 0.5.9 (-> 0.5.12) - Gauss 2013.03.07 (-> 2013.06.26) - GaussForHomalg 2012.10.22 (-> 2013.09.20) - gpd 1.19 (-> 1.22) - GradedModules 2013.02.07 (-> 2013.10.27) - GradedRingForHomalg 2013.02.07 (-> 2013.10.27) - HAP 1.10.10.2 (-> 1.10.14.3) - HAPcryst 0.1.10 (-> 0.1.11) - hecke 1.3 (-> 1.4) - homalg 2012.10.28 (-> 2013.10.10) - HomalgToCAS 2013.02.22 (-> 2013.08.07) - IO_ForHomalg 2012.10.22 (-> 2012.10.24) - IRREDSOL 1.2.1 (-> 1.2.3) - kan 1.06 (-> 1.07) - LAGUNA 3.6.3 (-> 3.6.4) - LocalizeRingForHomalg 2012.10.26 (-> 2013.11.11) - MatricesForHomalg 2013.04.16 (-> 2013.11.20) - Modules 2013.04.19 (-> 2013.11.07) - NumericalSgps 0.971 (-> 0.980) - ParGAP 1.3.5 (-> 1.4.0) - polymaking 0.7.8 (-> 0.8.1) - OpenMath 11.1.4 (-> 11.2.0) - QuaGroup 1.6 (-> 1.8) - RCWA 3.5.1 (-> 3.6.1) - ResClasses 3.3.0 (-> 3.3.2) - RingsForHomalg 2013.04.19 (-> 2013.11.01) - SCSCP 2.1.2 (-> 2.1.4) - Smallsemi 0.6.6 (-> 0.6.7) - TomLib 1.2.2 (-> 1.2.4) - Wedderga 4.5.4 (-> 4.6.1) - XMod 2.22 (-> 2.26) - - ---- Tue, 07 May 2013 17:28:02 +0200 -Upgraded to archive gap4r6p4_2013_05_04-16_36.tar.gz -which means GAP is upgraded to 4.6.4 and the following packages -are upgraded: - PolymakeInterface 2013.01.15 (-> 2013.03.06) - AutoDoc 2012.12.20 (-> 2013.01.16) - CRISP 1.3.5 (-> 1.3.6) - CTblLib 1.2.1 (-> 1.2.2) - Example 3.4.2 (-> 3.4.3) - Float 0.5.5 (-> 0.5.9) - Gauss 2012.10.22 (-> 2013.03.07) - GradedModules 2012.11.23 (-> 2013.02.07) - GradedRingForHomalg 2012.10.25 (-> 2013.02.07) - HAP 1.10.9.2 (-> 1.10.10.2) - HomalgToCAS 2013.01.10 (-> 2013.02.22) - MatricesForHomalg 2013.01.10 (-> 2013.04.16) - Modules 2013.01.05 (-> 2013.04.19) - OpenMath 11.1.3 (-> 11.1.4) - Polycyclic 2.10.1 (-> 2.11) - RingsForHomalg 2013.01.09 (-> 2013.04.19) - Smallsemi 0.6.5 (-> 0.6.6) - ToolsForHomalg 2012.12.20 (-> 2013.04.16) - Wedderga 4.5.3 (-> 4.5.4) - gpd 1.18 (-> 1.19) - orb 4.5 (-> 4.6) - - ---- Tue, 05 Feb 2013 16:30:16 +0100 -Upgraded to archive gap4r6p2_2013_02_02-01_00.tar.gz -which means GAP is upgraded to 4.6.2, there are new packages: - Congruence 1.0.3 - Float 0.5.5 - ToricVarieties 2012.12.22 -and the following packages are upgraded: - PolymakeInterface 2012.10.30 (-> 2013.01.15) - AutoDoc 2012.10.26 (-> 2012.12.20) - Circle 1.4.1 (-> 1.5.2) - Citrus 0.999 (-> 0.9999) - Convex 2012.10.30 (-> 2012.11.15) - Cryst 4.1.10 (-> 4.1.11) - Cubefree 1.11 (-> 1.13) - FGA 1.1.1 (-> 1.2.0) - FR 1.2.6.7 (-> 2.0.3) - GradedModules 2012.10.25 (-> 2012.11.23) - HAP 1.10.8 (-> 1.10.9.2) - HomalgToCAS 2012.10.22 (-> 2013.01.10) - LAGUNA 3.6.1 (-> 3.6.3) - MatricesForHomalg 2012.10.25 (-> 2013.01.10) - Modules 2012.10.27 (-> 2013.01.05) - OpenMath 11.1.2 (-> 11.1.3) - RCWA 3.4.0 (-> 3.5.1) - ResClasses 3.2.0 (-> 3.3.0) - RingsForHomalg 2012.10.22 (-> 2013.01.09) - SONATA 2.5.1 (-> 2.6) - ToolsForHomalg 2012.10.27 (-> 2012.12.20) - UnitLib 3.1.1 (-> 3.1.3) - Wedderga 4.4.3 (-> 4.5.3) - XMod 2.19 (-> 2.22) - gpd 1.15 (-> 1.18) - idrel 2.12 (-> 2.14) - kan 1.05 (-> 1.06) - simpcomp 1.5.4 (-> 1.6.1) - - ---- Wed, 07 Nov 2012 14:45:16 +0100 -Upgraded to archive gap4r5p6_2012_11_04-18_46.tar.gz -which means the following package upgrades: - AutoDoc 2012.09.09 (-> 2012.10.26) - Convex 2012.09.15 (-> 2012.10.30) - ExamplesForHomalg 2012.05.31 (-> 2012.10.23) - Gauss 2012.04.23 (-> 2012.10.22) - GaussForHomalg 2011.08.10 (-> 2012.10.22) - GradedModules 2012.06.24 (-> 2012.10.25) - GradedRingForHomalg 2012.06.27 (-> 2012.10.25) - homalg 2012.06.07 (-> 2012.10.28) - HomalgToCAS 2012.06.27 (-> 2012.10.22) - IO_ForHomalg 2012.05.24 (-> 2012.10.22) - LocalizeRingForHomalg 2012.05.27 (-> 2012.10.26) - MatricesForHomalg 2012.06.30 (-> 2012.10.25) - Modules 2012.06.15 (-> 2012.10.27) - PolymakeInterface 2012.09.15 (-> 2012.10.30) - RCWA 3.3.1 (-> 3.4.0) - ResClasses 3.1.1 (-> 3.2.0) - RingsForHomalg 2012.06.28 (-> 2012.10.22) - SCO 2011.08.10 (-> 2011.08.11) - ToolsForHomalg 2012.08.26 (-> 2012.10.27) - ---- Fri, 21 Sep 2012 17:57:44 +0200 -The exexutable for pargap was missing. Should work now. - ---- Wed, 19 Sep 2012 23:32:53 +0200 -Upgraded to archive gap4r5p6_2012_09_16-01_02.tar.gz -which means the following upgrades: - GAP core 4.5.5 (-> 4.5.6) - GradedModules 2012.05.18 (-> 2012.06.24) - MatricesForHomalg 2012.06.08 (-> 2012.06.30) - cvec 2.3 (-> 2.4) -and the following new packages: - AutoDoc 2012.09.09 - Convex 2012.09.15 - ToolsForHomalg 2012.08.26 - PolymakeInterface 2012.09.15 -For the moment the PolymakeInterface package is only unpacked -but not installed (I have currently no setup to test this). - ---- Thu, 19 Jul 2012 17:09:57 +0200 -Upgraded to archive gap4r5p5_2012_07_16-17_17.tar.gz - Browse 1.8.1 (-> 1.8.2) - Citrus 0.99 (-> 0.999) - Cubefree 1.10 (-> 1.11) - FR 1.2.6.5 (-> 1.2.6.7) - GradedRingForHomalg 2012.05.25 (-> 2012.06.27) - HAP 1.10.6 (-> 1.10.8) - HomalgToCAS 2012.06.08 (-> 2012.06.27) - RingsForHomalg 2012.06.08 (-> 2012.06.28) - cvec 2.2 (-> 2.3) - loops 2.1.3 (-> 2.2.0) - ---- Mon, 25 Jun 2012 19:44:04 +0200 -Now the kernel module of package fr is compiled. - ---- Fri, 22 Jun 2012 17:59:59 +0200 -Upgraded to archive gap4r5p4_2012_06_16-17_03.tar.gz -Upgraded package versions: - Citrus 0.9 (-> 0.99) - ExamplesForHomalg 2011.12.15 (-> 2012.05.31) - FR 1.2.6.4 (-> 1.2.6.5) - (can be loaded, but functionality that needs compilation - is still not working) - HAP 1.10.1 (-> 1.10.6) - HomalgToCAS 2012.05.24 (-> 2012.06.08) - MatricesForHomalg 2012.05.27 (-> 2012.06.08) - Modules 2012.05.29 (-> 2012.06.15) - RCWA 3.2.0 (-> 3.3.1) - RingsForHomalg 2012.05.27 (-> 2012.06.08) - XMod 2.18 (-> 2.19) - gpd 1.14 (-> 1.15) - homalg 2012.06.02 (-> 2012.06.07) - - ---- Wed, 13 Jun 2012 13:53:23 +0200 - -Initial installation of GAP 4.5. -Using archive gap4r5p4_2012_06_04-23_02.tar.gz and the homology package. -Not installed: - fr (to be resolved soon) - linboxing (difficult dependencies) - diff --git a/dev/DistributionUpdate/rsyncserv/README b/dev/DistributionUpdate/rsyncserv/README deleted file mode 100644 index 2200824567..0000000000 --- a/dev/DistributionUpdate/rsyncserv/README +++ /dev/null @@ -1,56 +0,0 @@ - Setting up the (Linux) rsync distribution - ========================================= - -## (C) Frank Lübeck - -(0) Following http://freegamedev.net/wiki/Portable_binaries we setup virtual - machines with Ubuntu Dapper (6.06 LTS) for i686 and AMD64 for linking - against sufficiently old glibc (2.3). - (virtual machines are currently started on gemma: - VBoxHeadless -s dapper606x8664 # 137.226.152.52 - VBoxHeadless -s dapper606386 # 137.226.152.51 - VBoxHeadless -s GAPrsync # 137.226.152.50 - ) - -(1) Choose a directory RSDIR, copy the files motd, rsyncd.conf and - startrsyncserver to RSDIR, and adjust the paths in 'rsyncd.conf' - (search 'home2'). - -(2) Fetch newest archive from ftp://ftp.gap-system.org/pub/{gappre or gap/gap}: - gap4r*p*.tar.gz - -(3) Copy archives to native i686 machine and call in that directory on that - machine 'gapsync/InstForRsync32' (currently GAP is build in ~/build45 - with the local script './inst'). - -(4) Similarly, copy archives to x86_64 machine. For 'homology' package also - copy the archive homology.1.4.5.staticbin.tgz to the same place. - Then call 'gapsync/InstForRsync64' (also currently in ~/build45 via - local script './inst'). - -(5) Create $RSDIR/gap/linux and in there call 'gapsync/CollectDistribution' - (after checking/adjusting paths in CollectDistribution). - This first copies the new version into a subdirectory 'gap4r5XXX'. - One can start 'startrsyncserverXXX' and test the updated version. - If all is fine rename directories with local script 'swapwithXXX' and - stop the XXX rsync server. - -(6) Adjust index.html, rsyncserv.css, CHANGES and motd (in repository - and $RSDIR). - -(7) Copy index.html, rsyncserv.css, CHANGES to website. - cp index.html rsyncserv.css CHANGES ~/MyWWWHome/web/~Frank.Luebeck/gap/rsync/ - Start rsync server with 'startrsyncserver' in $RSDIR. - [An entry '@reboot $RSDIR/startrsyncserver' is sensible.] - -(8) That's it. - -(9) For updates/improvements: - - adjust scripts in 'gapsync/' - - repeat steps (2)-(4) - - adjust in (5) CollectDistribution to copy changes only - (e.g., use an exclude file to avoid syncing of new executables - which actually have not changed) - - do (6) (in particular CHANGES), commit, and copy changed files - to website - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/CollectDistribution b/dev/DistributionUpdate/rsyncserv/gapsync/CollectDistribution deleted file mode 100755 index 0b66164317..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/CollectDistribution +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# this script collects the i686 and x86_64 installations into one -# directory for the rsync server - -#export Orig_i686=/users/luebeck/build45/gap4r5 -export Orig_i686=137.226.152.51:/users/luebeck/build45/gap4r5 -#export Orig_x86_64=beteigeuze:/cache/rsync/gap4r5 -export Orig_x86_64=137.226.152.52:/users/luebeck/build45/gap4r5 - -export DEST=/users/luebeck/rsyncdata/gap/linux/ - - -echo collecting in $DEST . . . -mkdir -p $DEST -cd $DEST - -# first update to currently distributed version, then collect into this copy -mkdir -p gap4r5XXX -cd gap4r5XXX -rsync -av --delete ../gap4r5/ ./ - -# in this order we get Makefile's and so on from i686 architecture -# (first with --delete like starting from scratch, but second without!) -# options like -a, but without -t and using checksums to decide update -echo syncing x86_64 version from $Orig_x86_64 -rsync -c -rlpgoD -v --delete $Orig_x86_64/ ./ -echo syncing i686 version from $Orig_i686 -rsync -c -rlpgoD -v $Orig_i686/ ./ - -# marker that gap4r5XXX is the new version -cd .. -rm -f XXXisnew XXXisold -touch XXXisnew - -echo "New collection is in gap4r5XXX; test it and if ok:" -echo " cd "`pwd` -echo " ./swapwithXXX" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/CreateWorkspace.sh b/dev/DistributionUpdate/rsyncserv/gapsync/CreateWorkspace.sh deleted file mode 100755 index 785e86f76d..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/CreateWorkspace.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# -# (C) Frank Lübeck -# -# Use this script inside the $GAPHOME directory (the top directory -# containing 'bin', 'lib', 'pkg' and so on as subdirectories) to -# generate a workspace file: -# bin/wsgap4 -# - -arch=$1 -if [ $arch'X' = 'X' ]; then - arch=i686 -fi -if [ $arch'X' = 'i686X' ]; then - wsname=wsgap4 -else - wsname=ws64gap4 -fi - -bin/$arch*/gap -l `pwd`"/local;"`pwd` -r > /dev/null < Makefile -make TOPDIR=`pwd` CC=gcc CFLAGS="-O2 -static" - -# bad hack -cd bin -ln -s *cc i686-pc-linux-gnu-gcc-default32 -ln -s *cc x86_64-unknown-linux-gnu-gcc-default64 - -cd ../../../../pkg/carat -rm -f bin -ln -s ../../local/pkg/CaratStandalone/carat-2.1b1/bin bin - - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync32 b/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync32 deleted file mode 100755 index 39a2e07ad9..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync32 +++ /dev/null @@ -1,341 +0,0 @@ -#!/bin/bash -x - - -# You need 'gzip', GNU 'tar', a C compiler, sed, pdftex to run this. -# And the file: current gap4rXXX.tar.gz - -# Frank Lübeck, Frank.Luebeck@Math.RWTH-Aachen.De for questions and complaints. - -export NAME="4r7" -unset CFLAGS - -tar xzvpf gap4r*.tar.gz -mv gap$NAME gap4r5 -cd gap4r5 - - -# Some packages have a few unpleasant file permissions -# - we remove write permissions for group and world -# - we give read permissions for everyone -# - we give write permissions for user -# then we are only left with some files with unnecessary executable bit set -chmod -R g-w pkg -chmod -R o-w pkg -chmod -R u+r pkg -chmod -R g+r pkg -chmod -R o+r pkg -chmod -R u+w pkg - -# we want fat binaries for GMP -cd extern -mv Makefile.in Makefile.in.orig -sed -e "s/configure/configure --enable-fat/" < Makefile.in.orig > Makefile.in -cd .. - -# compile GAP -./configure -make config -make -j4 -source sysinfo.gap-default32 -# reduce dependencies -cd bin/$GAParch - -## if ld supports -l:lib...a syntax -#gcc -g -export-dynamic -o gap ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o -l:libreadline.a -l:libncurses.a -l:libm.a extern/gmp/lib/libgmp.a -ldl -# store away until pargap is built - -## otherwise find paths and adjust the following: -gcc -g -export-dynamic -o gap ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o pperm.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o trans.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o /usr/lib/libreadline.a /usr/lib/libncurses.a /usr/lib/libm.a /usr/lib/libutil.a extern/gmp/lib/libgmp.a -ldl -strip gap -cp gap gapnompi -cp gap.o gap.o.nompi -cd ../.. - -# we collect all start scripts in 'bin' -cp bin/$GAParch/gac bin - -# unpack tools -tar xzf etc/tools.tar.gz - -# now the packages -cd pkg - -cd ace -./configure ../.. -make CC="gcc -Wall -ansi -O2 -static" -strip bin/*/ace -cd .. - -### program is not 64-bit clean but we can compile a 32-bit binary -cd anupq-* -./configure -# outdated old versions? make linux-iX86-gcc2 COPTS="-m32 -g" LOPTS="-m32 -g -static" -make LOPTS=-static -strip bin/*/pq -cd .. - -# You may not want a writable directory here! In this case substitute -# the directories 'datagens' and 'dataword' by links to somewhere else. -cd atlasrep -chmod 1777 datagens dataword -cd .. - - -#### this is for newer Debian/Ubuntu, on old Dapper it is easier, see below -## cd Browse -## ./configure -## # reduce dependencies -## # for this we need .a libs compiled with -fPIC, done as follows -## # apt-get source ncurses -## # cd ncurses-* -## # debian/rules build CFLAGS="-fPIC" -## # mkdir -p /users/luebeck/piclibs/32/ncurses/ -## # cp -a obj obj-wide /users/luebeck/piclibs/32/ncurses/ -## mv Makefile Makefile.orig -## sed -e "s/-lpanel -lncurses/-L \/users\/luebeck\/piclibs\/32\/ncurses\/obj\/lib -l:libpanel.a -l:libncurses.a/" Makefile -## make -## cd .. - -cd Browse -./configure -# to reduce dependencies: -mv Makefile Makefile.orig -sed -e "s/-lpanel -lncurses/\/usr\/lib\/libpanel.a \/usr\/lib\/libncurses.a/" Makefile -make -strip bin/*/*.so -cd .. - -# Installation of Carat produces a lot of data, maybe you want to leave -# this out until a user complains. -# It is not possible to provide precompiled binaries because these have the -# path to some data files burned in. -# Here we install first Gmp in pkg/Gmplib and include only a link to -# the Carat standalone installation which must be done on the users machine. -cd carat -tar xzpf carat-2.1b1.tgz -rm -f bin -#ln -s carat-2.1b1/bin bin -cd carat-2.1b1/functions -tar xzpf gmp-*.tar.gz -cd .. -make TOPDIR=`pwd` Links -# compile for generic i686 -cd functions/Gmp -./configure --build=x86_64-pc-linux-gnu --prefix=`pwd`/../../../../Gmplib -# in x86_64: -### ./configure --prefix=`pwd`/../../../../Gmplib -make -make install -cp longlong.h ../../../../Gmplib/include -cd ../../.. -rm -rf carat-2.1b1 -ln -s ../../local/pkg/CaratStandalone/carat-2.1b1/bin bin -cd .. - -# is substituted by "semigroups" package -#cd citrus* -#./configure -#make -#cd .. - -cd cohomolo -#make clean -rm -rf bin/* -./configure -cd standalone/progs.d -mv makefile makefile.orig -echo 'CFLAGS='$COPTS' -static' > makefile -grep -v "^\(CFLAGS\)" makefile.orig >> makefile -cd ../.. -make -strip bin/*/* -cd .. - -cd cvec-* -./configure -make -strip bin/*/* -cd .. - -cd example -./configure ../.. -make CC="gcc -O2 -Wall -static" -strip bin/*/* -cd .. - - -# float-5.0.18 has no configure!!! -# we saved a copy of float-0.5.12 from GAP 4.7.2 -rm -rf float-0.5.18/ -cp -a ../../float-0.5.12 . - -cd float* - -make clean - -./configure --with-mpfr=extern --with-mpfi=extern --with-mpc=extern --with-cxsc=extern -make -mkdir -p ../../bin/$GAParch/extern_libs -cp bin/$GAParch/extern/lib/* ../../bin/$GAParch/extern_libs -cd .. - -cd fplsa -./configure ../.. -make CC="gcc -static -O2 " -strip bin/*/* -#cd doc -#pdftex manual -#pdftex manual -#makeindex manual -#pdftex manual -#cd ../.. -cd .. - - -## cd fr -## ./configure -## # we now compile and install locally the gsl and glscblas libs with -fPIC -## cd extern -## source GET_LIBRARIES -## tar xzf gsl*.tar.gz -## cd gsl-* -## export CFLAGS="-g -O2 -fPIC" -## ./configure --prefix=`pwd`/../../bin/i686-pc-linux-gnu-gcc-default32/extern -## make -## make install -## unset CFLAGS -## cd ../.. -## -## # for the fr_dll.so we now use the .a libs just produced -## mv Makefile Makefile.orig -## sed -e "s/-L -lgsl -L -lgslcblas/-L bin\/i686-pc-linux-gnu-gcc-default32\/extern\/lib\/libgsl.a -L bin\/i686-pc-linux-gnu-gcc-default32\/extern\/lib\/libgslcblas.a -L -lm/" < Makefile.orig > Makefile -## make -## cd .. - - -cd Gauss -cp Makefile.linux.in Makefile.linux.in.orig -echo "" >> Makefile.linux.in -echo "mytarget:" >> Makefile.linux.in -echo " ../../bin/@GAPARCH@/gac -d -o bin/@GAPARCH@/gauss.so src/gauss.c" >> Makefile.linux.in -./configure -mv Makefile.linux.in.orig Makefile.linux.in -make bindir -make mytarget -strip bin/*/*.so -cd .. - -cd grape -./configure -make LDFLAGS=-static -strip bin/*/* -cd .. - -cd guava* -./configure -mkdir bin -make CFLAGS="-O2 -g -static" LDFLAGS="-static" LINKOPT="-static" -gcc -static -o ./src/ctjhai/minimum-weight ./src/ctjhai/minimum-weight.o ./src/ctjhai/minimum-weight-gf2.o ./src/ctjhai/minimum-weight-gf3.o ./src/ctjhai/popcount.o -lm -make install -strip bin/*/* -cd .. - -cd io-* -./configure -make -strip bin/*/* -cd .. - -cd kbmag -./configure -make COPTS="-O2 -g -static" -strip bin/*/* -cd .. - -# first install liblinbox-dev and its dependencies -# ??????? configure fails, how to use the GAP GMP? - -cd nq-* -./configure -# use CFLAGS on, e.g., Dapper whose gcc doesn't support all the -W options -# (nq_CFLAGS adds -W flags which are not available with old compiler) -make nq_CFLAGS="" LDFLAGS=-static CFLAGS="-O3" -strip bin/*/* -cd .. - -# orb -cd orb-* -./configure -make -strip bin/*/*.so -cd .. - -# nothing to do? configure and Makefile are for authors only? -cd qaos -cd .. - -# needs Tcl/Tk (/usr/bin/wish) and GraphViz (/usr/bin/dot) -cd sgpviz/src -# no longer there? ./configure -make xsemi -make xaut -cd ../.. - -cd edim -./configure -make -strip bin/*/*.so -cd .. - -# see the pargap documentation how to use this -# (in particular, user needs procgroup file) -cd pargap -./configure --with-mpi=MPINU2 -mv Makefile Makefile.orig -sed -e 's/ rm -f bin/ rm -f binxxx/' < Makefile.orig > Makefile -# produce gapmpi.o and start script -make -cp bin/pargap.sh ../../bin/ -cd .. -rm -f ALLPKG -# reduce dependencies of gap executable -cd .. -cd bin/i686* -rm -f pargapmpi -## see above for the two versions -#gcc -g -export-dynamic -o pargapmpi ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o gapmpi.o -lpthread ../../pkg/pargap/bin/i686*/libmpi.a -l:libreadline.a -l:libncurses.a -l:libm.a extern/gmp/lib/libgmp.a -ldl -gcc -g -export-dynamic -o pargapmpi ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o pperm.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o trans.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o gapmpi.o -lpthread ../../pkg/pargap/bin/i686*/libmpi.a /usr/lib/libreadline.a /usr/lib/libncurses.a /usr/lib/libm.a /usr/lib/libutil.a extern/gmp/lib/libgmp.a -ldl -mv gapnompi gap -mv gap.o.nompi gap.o - -cd ../../pkg - -# needs the following Debian packages: -# libxaw7-dev libxpm-dev libxmu-dev libxt-dev libxext-dev libxpm-dev libx11-dev -cd xgap -./configure -make -strip bin/*/xgap -cp bin/xgap.sh ../../bin/ -cd .. - - -# cleanup-don't need to distribute .o files from compiler -cd .. -### maybe better to distribute them? -#find . -name \*.o -exec file {} \; | grep ": ELF " | cut -f1 -d: | xargs rm -f - -# copy the gapsync directory -mkdir gapsync -cd gapsync -cp -a ~/gap4/dev/DistributionUpdate/rsyncserv/gapsync/* . -cp postgapsynchook.g ../lib/ -cat read4tail.g >> ../lib/read4.g -touch callpostsync -cd .. - -# make various targets in Makefile-default32 work -cd bin -rm -f gap-default32.sh -ln -s ../local/bin/gap gap-default32.sh -cd .. diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync64 b/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync64 deleted file mode 100755 index 682f042423..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/InstForRsync64 +++ /dev/null @@ -1,340 +0,0 @@ -#!/bin/bash -x - - -# You need 'gzip', GNU 'tar', a C compiler, sed, pdftex to run this. -# And the files: current gap4rXXX.tar.gz, homology.1.4.5.staticbin.tgz - -# Frank Lübeck, Frank.Luebeck@Math.RWTH-Aachen.De for questions and complaints. - -export NAME="4r7" -#setenv COPTS "" -#setenv LOPTS "" -unset CFLAGS - -# we stick to old installation directory -tar xzvpf gap4r*.tar.gz - -mv gap$NAME gap4r5 - -cd gap4r5 - - -# Some packages have a few unpleasant file permissions -# - we remove write permissions for group and world -# - we give read permissions for everyone -# - we give write permissions for user -# then we are only left with some files with unnecessary executable bit set -chmod -R g-w pkg -chmod -R o-w pkg -chmod -R u+r pkg -chmod -R g+r pkg -chmod -R o+r pkg -chmod -R u+w pkg - -# we want fat binaries for GMP -cd extern -mv Makefile.in Makefile.in.orig -sed -e "s/configure/configure --enable-fat/" < Makefile.in.orig > Makefile.in -cd .. - -# compile GAP -./configure -make config -make -j4 -source sysinfo.gap-default64 - -# reduce dependencies -cd bin/$GAParch - -# with newer ld: -#gcc -g -export-dynamic -o gap ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o -l:libreadline.a -l:libncurses.a -l:libm.a extern/gmp/lib/libgmp.a -ldl -gcc -g -export-dynamic -o gap ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o pperm.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o trans.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o /usr/lib/libreadline.a /usr/lib/libncurses.a /usr/lib/libm.a /usr/lib/libutil.a extern/gmp/lib/libgmp.a -ldl -strip gap -# store away until pargap is built -cp gap gapnompi -cp gap.o gap.o.nompi -cd ../.. - - -# we collect all start scripts in 'bin' -cp bin/$GAParch/gac bin - -# unpack tools -tar xzf etc/tools.tar.gz - -# now the packages -cd pkg - -cd ace -./configure ../.. -make CC="gcc -Wall -ansi -O2 -static" -strip bin/*/ace -cd .. - -### program is not 64-bit clean but we can compile a 32-bit binary -cd anupq-* -./configure -# old versions?: make linux-iX86-gcc2 COPTS="-m32 -g" LOPTS="-m32 -g -static" -make LOPTS=-static -strip bin/*/pq -cd .. - -# You may not want a writable directory here! In this case substitute -# the directories 'datagens' and 'dataword' by links to somewhere else. -cd atlasrep -chmod 1777 datagens dataword -cd .. - - -# create dynamic library first -# a statically linked GAP containing the kernel module from Browse and -# other packages is produced in the end. -cd Browse -./configure -# reduce dependencies -# for this we need .a libs compiled with -fPIC, done as follows -# apt-get source ncurses -# cd ncurses-* -# debian/rules build CFLAGS="-fPIC" -# mkdir -p /users/luebeck/piclibs/64/ncurses/ -# cp -a obj* /users/luebeck/piclibs/64/ncurses/ -mv Makefile Makefile.orig -#sed -e "s/-lpanel -lncurses/-L \/users\/luebeck\/piclibs\/64\/ncurses\/obj\/lib -l:libpanel.a -l:libncurses.a/" Makefile -sed -e "s/-lpanel -lncurses/-L \/users\/luebeck\/piclibs\/64\/ncurses\/obj\/lib\/libncurses.a \/users\/luebeck\/piclibs\/64\/ncurses\/obj\/lib\/libpanel.a \/users\/luebeck\/piclibs\/64\/ncurses\/obj\/lib\/libncurses.a/" Makefile -#sed -e "s/-lpanel -lncurses/\/usr\/lib\/libpanel.a \/usr\/lib\/libncurses.a/" Makefile -make -strip bin/*/*.so -cd .. - -# Installation of Carat produces a lot of data, maybe you want to leave -# this out until a user complains. -# It is not possible to provide precompiled binaries because these have the -# path to some data files burned in. -# Here we install first Gmp in pkg/Gmplib and include only a link to -# the Carat standalone installation which must be done on the users machine. -cd carat -tar xzpf carat-2.1b1.tgz -rm -f bin -#ln -s carat-2.1b1/bin bin -cd carat-2.1b1/functions -tar xzpf gmp-*.tar.gz -cd .. -make TOPDIR=`pwd` Links -# compile for generic i686 -cd functions/Gmp -./configure --build=x86_64-pc-linux-gnu --prefix=`pwd`/../../../../Gmplib64 -# in x86_64: -### ./configure --prefix=`pwd`/../../../../Gmplib -make -make install -cp longlong.h ../../../../Gmplib64/include -cd ../../.. -rm -rf carat-2.1b1 -ln -s ../../local/pkg/CaratStandalone/carat-2.1b1/bin bin -cd .. - -# is substituted by "semigroups" package -#cd citrus -#./configure -#make -#cd .. - -cd cohomolo -#make clean -rm -rf bin/* -./configure -cd standalone/progs.d -mv makefile makefile.orig -echo 'CFLAGS='$COPTS' -static' > makefile -grep -v "^\(CFLAGS\)" makefile.orig >> makefile -cd ../.. -make -strip bin/x8*/* -cd .. - -cd cvec-* -./configure -make -strip bin/*/* -cd .. - -cd example -./configure ../.. -make CC="gcc -O2 -Wall -static" -strip bin/x8*/* -cd .. - -# float-5.0.18 has no configure!!! -# we saved a copy of float-0.5.12 from GAP 4.7.2 -rm -rf float-0.5.18/ -cp -a ../../float-0.5.12 . - -cd float* - -make clean - -./configure --with-mpfr=extern --with-mpfi=extern --with-mpc=extern --with-cxsc=extern -make -mkdir -p ../../bin/$GAParch/extern_libs -cp bin/$GAParch/extern/lib/* ../../bin/$GAParch/extern_libs -cd .. - -cd fplsa -./configure ../.. -make CC="gcc -static -O2 " -strip bin/x8*/* -# some file is missing in doc, but cannot regenerate in dapper -#cd doc -#pdftex manual -#pdftex manual -#makeindex manual -#pdftex manual -#cd .. -cd .. - - -## cd fr-* -## ./configure -## # we now compile and install locally the gsl and glscblas libs with -fPIC -## cd extern -## source GET_LIBRARIES -## tar xzf gsl*.tar.gz -## cd gsl-* -## export CFLAGS="-g -O2 -fPIC" -## ./configure --prefix=`pwd`/../../bin/x86_64-unknown-linux-gnu-gcc-default64/extern -## make -## make install -## unset CFLAGS -## cd ../.. -## -## # for the fr_dll.so we now use the .a libs just produced -## mv Makefile Makefile.orig -## sed -e "s/-L -lgsl -L -lgslcblas/-L bin\/x86_64-unknown-linux-gnu-gcc-default64\/extern\/lib\/libgsl.a -L bin\/x86_64-unknown-linux-gnu-gcc-default64\/extern\/lib\/libgslcblas.a -L -lm/" < Makefile.orig > Makefile -## make -## cd .. - -cd Gauss -cp Makefile.linux.in Makefile.linux.in.orig -echo "" >> Makefile.linux.in -echo "mytarget: " >> Makefile.linux.in -echo " ../../bin/@GAPARCH@/gac -d -o bin/@GAPARCH@/gauss.so src/gauss.c" >> Makefile.linux.in -./configure -mv Makefile.linux.in.orig Makefile.linux.in -make bindir -make mytarget -strip bin/*/*.so -cd .. - -cd grape -./configure -make LDFLAGS=-static -strip bin/x86*/* -cd .. - -cd guava* -./configure -mkdir bin -make CFLAGS="-O2 -g -static" LDFLAGS="-static" LINKOPT="-static" -gcc -static -o ./src/ctjhai/minimum-weight ./src/ctjhai/minimum-weight.o ./src/ctjhai/minimum-weight-gf2.o ./src/ctjhai/minimum-weight-gf3.o ./src/ctjhai/popcount.o -lm -make install -strip bin/x8*/* -cd .. - -cd io-* -./configure -make -strip bin/x8*/* -cd .. - - -cd kbmag -#./configure -#make COPTS="-O2 -g -static" -#strip bin/x8*/* -# there were problems reported with the 64-bit compiled version, so we just -# use the 32-bit compiled programs -mkdir -p bin -cd bin -ln -s i686-pc-linux-gnu-gcc-default32 x86_64-unknown-linux-gnu-gcc-default64 -cd .. - -cd .. - -# first install liblinbox-dev and its dependencies -# ??????? configure fails, how to use the GAP GMP? - -# for nq use the GMP version which comes with Carat -cd nq-* -./configure -# (nq_CFLAGS adds -W flags which are not available with old compiler) -make nq_CFLAGS="" LDFLAGS=-static CFLAGS="-O3" -strip bin/*/* -cd .. - -# orb -cd orb-* -./configure -make -strip bin/*/*.so -cd .. - -# nothing to do? configure and Makefile are for authors only? -cd qaos -cd .. - -# needs Tcl/Tk (/usr/bin/wish) and GraphViz (/usr/bin/dot) -cd sgpviz/src -# no longer there? ./configure -make xsemi -make xaut -cd ../.. - -cd edim -./configure -make -strip bin/*/*.so -cd .. - -# unpack already compiled homology 1.4.5 -tar xzf ../../homology.1.4.5.staticbin.tgz - -# see the pargap documentation how to use this -# (in particular, user needs procgroup file) -cd pargap -./configure --with-mpi=MPINU2 -mv Makefile Makefile.orig -sed -e 's/ rm -f bin/ rm -f binxxx/' < Makefile.orig > Makefile -# produce gapmpi.o and start script -make -cp bin/pargap.sh ../../bin/ -cd .. -rm -f ALLPKG -# reduce dependencies of gap executable -cd .. -cd bin/x86_64-unknown-linux-gnu-gcc-default64 -rm -f pargapmpi -#gcc -g -export-dynamic -o pargapmpi ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o gapmpi.o -lpthread ../../pkg/pargap/bin/x86_64-unknown-linux-gnu-gcc-default64/libmpi.a -l:libreadline.a -l:libncurses.a -l:libm.a extern/gmp/lib/libgmp.a -ldl -gcc -g -export-dynamic -o pargapmpi ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gmpints.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o pperm.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o trans.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o macfloat.o intfuncs.o gapmpi.o -lpthread ../../pkg/pargap/bin/x86_64-unknown-linux-gnu-gcc-default64/libmpi.a /usr/lib/libreadline.a /usr/lib/libncurses.a /usr/lib/libm.a /usr/lib/libutil.a extern/gmp/lib/libgmp.a -ldl -mv gapnompi gap -mv gap.o.nompi gap.o - -cd ../../pkg - -# cleanup-don't need to distribute .o files from compiler -cd .. -### maybe better to distribute them? -#find . -name \*.o -exec file {} \; | grep ": ELF " | cut -f1 -d: | xargs rm -f - -# move some files to distinguish from 32 bit version -cd bin -mv gap.sh gap64.sh -mv pargap.sh pargap64.sh -mv gac gac64 -cd .. - -# make various targets in Makefile-default64 work -cd bin -rm -f gap-default64.sh -ln -s ../local/bin/gap64 gap-default64.sh -cd .. - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/README b/dev/DistributionUpdate/rsyncserv/gapsync/README deleted file mode 100644 index b7894163d9..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/README +++ /dev/null @@ -1,7 +0,0 @@ - - -See - - http://www.math.rwth-aachen.de:8001/GAP/RsyncGAP/index.html - - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gap.sh b/dev/DistributionUpdate/rsyncserv/gapsync/gap.sh deleted file mode 100644 index a325e128f8..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/gap.sh +++ /dev/null @@ -1,5 +0,0 @@ - -## (C) Frank Lübeck - -exec ${GAP_DIR}/bin/i686*/gap -l ${GAP_DIR}"/local;"${GAP_DIR} "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gap64.sh b/dev/DistributionUpdate/rsyncserv/gapsync/gap64.sh deleted file mode 100644 index 1f2bdd0dcf..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/gap64.sh +++ /dev/null @@ -1,5 +0,0 @@ - -## (C) Frank Lübeck - -exec ${GAP_DIR}/bin/x86_64*/gap -l ${GAP_DIR}"/local;"${GAP_DIR} "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gap64L b/dev/DistributionUpdate/rsyncserv/gapsync/gap64L deleted file mode 100644 index 451c7dd5ff..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/gap64L +++ /dev/null @@ -1,4 +0,0 @@ - -## (C) Frank Lübeck -${BINPATH}/gap64 -L ${GAP_DIR}/bin/ws64gap4 "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gapL b/dev/DistributionUpdate/rsyncserv/gapsync/gapL deleted file mode 100644 index 47be23bbac..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/gapL +++ /dev/null @@ -1,4 +0,0 @@ - -## (C) Frank Lübeck -${BINPATH}/gap -L ${GAP_DIR}/bin/wsgap4 "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gapsync b/dev/DistributionUpdate/rsyncserv/gapsync/gapsync deleted file mode 100755 index 9547ff35d0..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/gapsync +++ /dev/null @@ -1,255 +0,0 @@ -#!/bin/bash - -## init and syncronization script for GAP 4.5 under Linux -## (C) Frank Lübeck -arch=`uname -m` -if [ ! -f gapsync.issyncdir ]; then - echo Welcome to the GAP installation by syncronizing a reference installation. - echo - echo "Remarks and suggestions to: Frank.Luebeck@Math.RWTH-Aachen.De" - echo - echo "You need: A Linux system" - a=`uname -s` - if [ $a'X' == LinuxX ]; then - echo " ... looks ok" - else - echo " ... hm, found: "$a - fi - - echo " on i686 and x86_64 compatible architecture" - if [ $arch'X' == i686X ]; then - echo " ... looks ok (i686)" - else - if [ $arch'X' == x86_64X ]; then - echo " ... looks ok (x86_64)" - else - echo " ... hm, found: "$a - fi - fi - - echo " the 'rsync' utility program" - rsync=`which rsync` - if [ $rsync'X' != X ]; then - echo " ... found: "$rsync - else - echo " ... hm, did not find 'rsync', please install it and start me again" - exit 1 - fi - - echo " a directory with at least 1.4 GB of free space" - echo - echo - - echo "Please, tell me an absolute path for the installation of GAP " - echo "(default is /usr/local/lib). Everything will be stored in a " - echo "subdirectory 'gap4r5', except for the start scripts." - read -p '---> ' -e gappath - if [ $gappath'X' == 'X' ]; then - gappath="/usr/local/lib/gap4r5" - else - gappath=$gappath'/gap4r5' - fi - # avoid multiple // - gappath=${gappath//\/\//\/} - - echo "Also, tell me an absolute path for the scripts to start GAP " - echo "(default is /usr/local/bin)" - echo "" - read -p '---> ' -e binpath - if [ $binpath'X' == 'X' ]; then - binpath="/usr/local/bin" - fi - - # check if some scripts to install would overwrite something - exist="" - for nam in gap xgap gapL gapsync pargap gac; do - if [ -f $binpath/$nam ]; then - exist=$exist" "$nam - fi - done - if [ $arch'X' == x86_64X ]; then - for nam in gap64 gap64L pargap64 gac64; do - if [ -f $binpath/$nam ]; then - exist=$exist" "$nam - fi - done - fi - if [ "$exist"'X' != 'X' ]; then - echo "" - echo "There are already the following scripts in "$binpath":" - echo " "$exist - echo "If you don't want me to delete them now, say 'No' here and move" - echo "them away before starting me again." - echo "Shall I delete "$exist - echo " in "$binpath" now? (y/N)" - read -n 1 del - echo - if [ $del'X' != 'yX' ]; then - echo Ok, start me again after moving them away. - exit 3 - else - rm -f $binpath/{gap,xgap,gapL,gapsync,pargap,gac,gap64,gap64L,pargap64,gac64} - fi - fi - - echo "Going to syncronize GAP in: "$gappath - - echo "Shall I start to copy GAP to your machine? (y/N)" - read -n 1 start - echo - if [ $start'X' != 'yX' ]; then - echo Ok, bye. - exit 2 - fi - - echo 'Creating directory: '$gappath - if ! mkdir -p $gappath; then - echo 'Cannot create directory '$gappath' --- bye.' - exit 3 - fi - if ! cd $gappath; then - echo 'Cannot change to directory '$gappath' --- bye.' - exit 4 - fi - - # adding a directory for customization - mkdir -p local/bin - mkdir -p local/pkg - mkdir -p bin - - echo $binpath > local/bin/binpath -else - rsync=`which rsync` - gappath=`pwd`/.. - binpath=`cat ../local/bin/binpath` - cd $gappath -fi - -line=''$rsync' -avz --delete --port 8731 --exclude=local/ rsync.gap-system.org::gap4r5/ .' -echo 'Calling: '$line - -if ! $line; then - echo 'Synchronization failed --- bye.' - exit 5 -fi - -# make sure to have the 'local' directory -mkdir -p local/bin -mkdir -p local/pkg - -echo "Creating new workspace." -if [ -f local/bin/CreateWorkspace ]; then - echo "Using local/bin/CreateWorkspace ..." - local/bin/CreateWorkspace -else - echo "Using gapsync/CreateWorkspace.sh ..." - echo " (You can customize this by copying gapsync/CreateWorkspace.sh to" - echo " local/bin/CreateWorkspace and editing this copy.)" - gapsync/CreateWorkspace.sh -fi -if [ $arch'X' = x86_64X ]; then - echo "Also creating new workspace for 64-bit version ..." - if [ -f local/bin/CreateWorkspace64 ]; then - echo "Using local/bin/CreateWorkspace64 ..." - local/bin/CreateWorkspace64 - elif [ -f local/bin/CreateWorkspace ]; then - echo "Using local/bin/CreateWorkspace ..." - local/bin/CreateWorkspace - else - echo "Using gapsync/CreateWorkspace.sh x86_64 ..." - echo " (You can customize this by copying gapsync/CreateWorkspace.sh to" - echo " local/bin/CreateWorkspace64 or local/bin/CreateWorkspace" - echo " and editing this copy.)" - gapsync/CreateWorkspace.sh x86_64 - fi -fi - -mkdir -p $binpath -if [ ! -f $binpath/gap ]; then - rm -f local/bin/gap - echo "Creating start script "$binpath"/gap," - echo " (you can customize this by editing local/bin/gap)." - echo "#!/bin/sh" > local/bin/gap - echo "GAP_DIR="$gappath >> local/bin/gap - cat gapsync/gap.sh >> local/bin/gap - chmod 755 local/bin/gap - ln -s $gappath/local/bin/gap $binpath -fi -if [ ! -f $binpath/xgap ]; then - rm -f local/bin/xgap - echo "Creating start script "$binpath"/xgap," - echo " (you can customize this by editing local/bin/xgap)." - echo "#!/bin/sh" > local/bin/xgap - echo "GAP_DIR="$gappath >> local/bin/xgap - cat gapsync/xgap.sh >> local/bin/xgap - chmod 755 local/bin/xgap - ln -s $gappath/local/bin/xgap $binpath -fi -if [ ! -f $binpath/pargap ]; then - rm -f local/bin/pargap - echo "Creating start script "$binpath"/pargap," - echo " (you can customize this by editing local/bin/pargap)." - echo "#!/bin/sh" > local/bin/pargap - echo "GAP_DIR="$gappath >> local/bin/pargap - cat gapsync/pargap.sh >> local/bin/pargap - chmod 755 local/bin/pargap - ln -s $gappath/local/bin/pargap $binpath -fi -if [ ! -f $binpath/gapL ]; then - rm -f local/bin/gapL - echo "Creating start script "$binpath"/gapL," - echo " (you can customize this by editing local/bin/gapL)." - echo "#!/bin/sh" > local/bin/gapL - echo "GAP_DIR="$gappath >> local/bin/gapL - echo "BINPATH="$binpath >> local/bin/gapL - cat gapsync/gapL >> local/bin/gapL - chmod 755 local/bin/gapL - ln -s $gappath/local/bin/gapL $binpath -fi -if [ ! -f $binpath/gapsync ]; then - rm -f local/bin/gapsync - echo "Adjusting update script "$binpath"/gapsync," - echo "#!/bin/sh" > local/bin/gapsync - echo "cd "$gappath"/gapsync" >> local/bin/gapsync - cat gapsync/gapsync >> local/bin/gapsync - chmod 755 local/bin/gapsync - ln -s $gappath/local/bin/gapsync $binpath -fi -if [ ! -f $binpath/gap ]; then - echo "Error: Could not create link "$binpath"/gap" - exit 6 -fi -if [ $arch'X' = x86_64X ]; then - if [ ! -f $binpath/gap64 ]; then - rm -f local/bin/gap64 - echo "Creating start script "$binpath"/gap64," - echo " (you can customize this by editing local/bin/gap)." - echo "#!/bin/sh" > local/bin/gap64 - echo "GAP_DIR="$gappath >> local/bin/gap64 - cat gapsync/gap64.sh >> local/bin/gap64 - chmod 755 local/bin/gap64 - ln -s $gappath/local/bin/gap64 $binpath - fi - if [ ! -f $binpath/pargap64 ]; then - rm -f local/bin/pargap64 - echo "Creating start script "$binpath"/pargap64," - echo " (you can customize this by editing local/bin/pargap64)." - echo "#!/bin/sh" > local/bin/pargap64 - echo "GAP_DIR="$gappath >> local/bin/pargap64 - cat gapsync/pargap64.sh >> local/bin/pargap64 - chmod 755 local/bin/pargap64 - ln -s $gappath/local/bin/pargap64 $binpath - fi - if [ ! -f $binpath/gap64L ]; then - rm -f local/bin/gap64L - echo "Creating start script "$binpath"/gap64L," - echo " (you can customize this by editing local/bin/gapL)." - echo "#!/bin/sh" > local/bin/gap64L - echo "GAP_DIR="$gappath >> local/bin/gap64L - echo "BINPATH="$binpath >> local/bin/gap64L - cat gapsync/gap64L >> local/bin/gap64L - chmod 755 local/bin/gap64L - ln -s $gappath/local/bin/gap64L $binpath - fi -fi - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/gapsync.issyncdir b/dev/DistributionUpdate/rsyncserv/gapsync/gapsync.issyncdir deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/pargap.sh b/dev/DistributionUpdate/rsyncserv/gapsync/pargap.sh deleted file mode 100644 index 7ad064d426..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/pargap.sh +++ /dev/null @@ -1,6 +0,0 @@ - -## (C) Frank Lübeck - -# multiple root path don't seem to work -exec ${GAP_DIR}/bin/i686-*/pargapmpi -m 30m -l ${GAP_DIR} "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/pargap64.sh b/dev/DistributionUpdate/rsyncserv/gapsync/pargap64.sh deleted file mode 100644 index 1e16dd7866..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/pargap64.sh +++ /dev/null @@ -1,6 +0,0 @@ - -## (C) Frank Lübeck - -# multiple root path don't seem to work -exec ${GAP_DIR}/bin/x86_64*/pargapmpi -m 30m -l ${GAP_DIR} "$@" - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/patchelf b/dev/DistributionUpdate/rsyncserv/gapsync/patchelf deleted file mode 100755 index f7a6fac48f..0000000000 Binary files a/dev/DistributionUpdate/rsyncserv/gapsync/patchelf and /dev/null differ diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/patchelf.README b/dev/DistributionUpdate/rsyncserv/gapsync/patchelf.README deleted file mode 100644 index d31fac2324..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/patchelf.README +++ /dev/null @@ -1,6 +0,0 @@ -'patchelf' is a utility to adjust library paths in executables. -For details and source code (we use patchelf-0.6) see - http://nixos.org/patchelf.html -The program is distributed under the conditions of the GPL: - http://www.gnu.org/licenses/ - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/postgapsynchook.g b/dev/DistributionUpdate/rsyncserv/gapsync/postgapsynchook.g deleted file mode 100644 index 2347030233..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/postgapsynchook.g +++ /dev/null @@ -1,6 +0,0 @@ - -if Filename(List(GAPInfo.RootPaths,Directory), - "gapsync/callpostsync") <> fail then - Print("\nCalling gapsync/postsync after update . . .\n"); - Exec(Filename(List(GAPInfo.RootPaths,Directory), "gapsync/postsync")); -fi; diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/postsync b/dev/DistributionUpdate/rsyncserv/gapsync/postsync deleted file mode 100755 index 1516355301..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/postsync +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -dirnam=`dirname $0` -gapdir=`dirname $dirnam` - -# 32 bit version -cd $gapdir -source sysinfo.gap-default32 -cat $gapdir/extern/gmp-5.0.5/../../bin/i686-pc-linux-gnu-gcc-default32/extern/gmp/lib/libgmp.la |sed -e "s|/users/luebeck/build45/gap4r5|$gapdir|" > $gapdir/extern/gmp-5.0.5/../../bin/i686-pc-linux-gnu-gcc-default32/extern/gmp/lib/libgmp.la.1 -mv $gapdir/extern/gmp-5.0.5/../../bin/i686-pc-linux-gnu-gcc-default32/extern/gmp/lib/libgmp.la.1 $gapdir/extern/gmp-5.0.5/../../bin/i686-pc-linux-gnu-gcc-default32/extern/gmp/lib/libgmp.la -libdir=$gapdir/bin/$GAParch/extern_libs/:$gapdir/bin/$GAParch/extern/gmp/lib/: -cd pkg/float*/bin/$GAParch -$dirnam/patchelf --set-rpath $libdir float.so - -# 64 bit version -cd $gapdir -source sysinfo.gap-default64 -cat $gapdir/extern/gmp-5.0.5/../../bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp/lib/libgmp.la |sed -e "s|/users/luebeck/build45/gap4r5|$gapdir|" > $gapdir/extern/gmp-5.0.5/../../bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp/lib/libgmp.la.1 -mv $gapdir/extern/gmp-5.0.5/../../bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp/lib/libgmp.la.1 $gapdir/extern/gmp-5.0.5/../../bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp/lib/libgmp.la -libdir=$gapdir/bin/$GAParch/extern_libs/:$gapdir/bin/$GAParch/extern/gmp/lib/: -cd pkg/float*/bin/$GAParch -$dirnam/patchelf --set-rpath $libdir float.so - -rm -f `dirname $0`/callpostsync - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/read4tail.g b/dev/DistributionUpdate/rsyncserv/gapsync/read4tail.g deleted file mode 100644 index b751e9312b..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/read4tail.g +++ /dev/null @@ -1,3 +0,0 @@ - -# hook for gapsync script -ReadLib("postgapsynchook.g"); diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/remove b/dev/DistributionUpdate/rsyncserv/gapsync/remove deleted file mode 100755 index 7489dbb70a..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/remove +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -## -## (C) Frank Lübeck -## -## Throw away the whole installation. -## - -cd `dirname $0` - -if [ ! -f ./gapsync ]; then - echo "Doesn't look like being in a /gapsync directory ... bye." - exit 2 -fi - -echo "Do you really want to remove this GAP installation? (y/n)" -read -e YES -if [ $YES'X' == 'yX' ]; then - binpath=`cat ../local/bin/binpath` - line="rm -f "$binpath"/gap "$binpath"/gapsync "$binpath"/gapL "$binpath"/gac "$binpath"/pargap "$binpath"/xgap "$binpath"/gap64 "$binpath"/gap64L "$binpath"/pargap64" - echo $line - $line - cd .. - line="rm -rf "`pwd` - cd .. - echo $line - $line - echo "Bye." -fi - diff --git a/dev/DistributionUpdate/rsyncserv/gapsync/xgap.sh b/dev/DistributionUpdate/rsyncserv/gapsync/xgap.sh deleted file mode 100755 index 277c67fe5c..0000000000 --- a/dev/DistributionUpdate/rsyncserv/gapsync/xgap.sh +++ /dev/null @@ -1,199 +0,0 @@ -#!/bin/sh -if [ "x$XGAP_DIR" = "x" ]; then -XGAP_DIR=$GAP_DIR -fi -if [ "x$GAP_PRG" = "x" ]; then -GAP_PRG=i686*/gap -fi -if [ "x$XGAP_PRG" = "x" ]; then -XGAP_PRG=i686-pc-linux-gnu-gcc/xgap -fi -DAEMON="YES" -VERBOSE="NO" - - -############################################################################# -## -## STOP EDITING HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -## -## Unless you know what you are doing! This should not be necessary if you -## installed GAP and XGAP in the standard way as a share package within the -## GAP directory. -## If you really want to edit the variables below, insert additional -## definitions above, they will *not* be overwritten! -## -############################################################################# - -############################################################################# -## -#F options . . . . . . . . . . . . . . . . . parse the command line options -## -## GAP accepts the following options: -## -## -b toggle banner supression -## -q toggle quiet mode -## -e toggle quitting on -D -## -f force line editing -## -n disable line editing -## -x set line width -## -y set number of lines -## -## -g toggle GASMAN messages -## -m set the initial workspace size -## -o set the maximal workspace size -## -c set the cache size value -## -a set amount to pre-malloc-ate -## postfix 'k' = *1024, 'm' = *1024*1024 -## -l set the GAP root paths -## -r toggle reading of the '.gaprc' file -## -D toggle debuging the loading of library files -## -B current architecture -## -M toggle loading of compiled modules -## -N toggle check for completion files -## -X toggle CRC for comp. files while reading -## -Y toggle CRC for comp. files while completing -## -i change the name of the init file -## -## -L restore a saved workspace -## -## -## XGAP accepts the following options: -## -## -display , --display -## set the display -## -## -geometry , --geometry -## set the geometry -## -## -normal , --normal -## set the normal font -## -## -huge , --huge -## set the huge font -## -## -large , --large -## set the large font -## -## -small , --small -## set the small font -## -## -tiny , --tiny -## set the tiny font -## -## -## XGAP accepts the following debug options: -## -## --debug -## enter debug mode (XGAP must be compiled with DEBUG_ON) -## -## -G , --gap-exec , --gap-prg -## use another GAP executable -## -## -X , --xgap-exec , --xgap-prg -## use another XGAP executable -## -## -## this scripts accepts the following debug options: -## -## -V, --verbose -## be verbose -## -## --stay -## don't put XGAP into the backgroup -## - -## we parse all options: - -XP="" -GP="" - -while [ $# -gt 0 ]; do - case $1 in - - # GAP options - -b|-q|-e|-f|-n|-g|-r|-D|-M|-N|-X|-Y) GP="$GP $1" ;; - -x|-y|-o|-c|-a|-B|-i|-L) GP="$GP $1 $2"; shift ;; - -l|--gap-lib) GAP_DIR="$2"; shift ;; - -m|--gap-mem) GAP_MEM="$2"; shift ;; - - # XGAP options - -display|--display) XP="$XP -display $2"; shift ;; - -geometry|--geometry) XP="$XP -geometry $2"; shift ;; - -huge|--huge*) XP="$XP -huge $2"; shift ;; - -large|--large*) XP="$XP -large $2"; shift ;; - -normal|--normal*) XP="$XP -normal $2"; shift ;; - -small|--small*) XP="$XP -small $2"; shift ;; - -tiny|--tiny*) XP="$XP -tiny $2"; shift ;; - - # DEBUG options - --debug) XP="$XP -D $2"; shift ;; - -G|--gap-exec|--gap-prg) GAP_PRG="$2"; shift ;; - -X|--xgap-exec|--xgap-prg) XGAP_PRG="$2"; shift ;; - - # script options - -V|--verbose) VERBOSE="YES" ;; - --stay) DAEMON="NO" ;; - - # everything else is passed to GAP: - *) GP="$GP $1" ;; - - esac - shift -done - - -############################################################################# -## -#V DISPLAY . . . . . . . . . . . . . . . . . . display variable must be set -## -if [ "x$DISPLAY" = "x" ]; then - echo 'sorry: xgap is a program running under the X Window System, so' - echo 'you need a graphics display.' - echo 'you must either set $DISPLAY or use "-display HOST:0.0"' - echo 'where you replace HOST by the name of your machine.' - exit 1; -fi; - - -############################################################################# -## We calculate the library path argument for GAP: -## -if [ "$XGAP_DIR" = "$GAP_DIR" ]; then - LIBARG="$GAP_DIR" -else - LIBARG="$XGAP_DIR;$GAP_DIR" -fi - - -############################################################################# -## -#F verbose . . . . . . . . . . . . . . . . . . . . . print some information -## -if [ $VERBOSE = "YES" ]; then - echo - echo "XGAP path: $XGAP_DIR" - echo "XGAP executable: $XGAP_DIR/pkg/xgap/bin/$XGAP_PRG" - echo "GAP path: $GAP_DIR" - echo "GAP executable: $GAP_DIR/bin/$GAP_PRG" - echo "GAP library arg: $LIBARG" - echo "Display: $DISPLAY" - echo "XGAP parameters: $XP" - echo "GAP parameters: $GP" - echo -fi - - -############################################################################# -## -#F XGAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . start XGAP -## -XGAP=$XGAP_DIR/pkg/xgap/bin/$XGAP_PRG -GAP=$GAP_DIR/bin/$GAP_PRG - -if [ $DAEMON = "YES" ]; then - $XGAP -G $GAP $XP -- -l $LIBARG $GP & -else - $XGAP -G $GAP $XP -- -l $LIBARG $GP -fi - -exit 0 diff --git a/dev/DistributionUpdate/rsyncserv/index.html b/dev/DistributionUpdate/rsyncserv/index.html deleted file mode 100644 index 9eebe4a2e2..0000000000 --- a/dev/DistributionUpdate/rsyncserv/index.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - - - - - GAP on Linux using rsync - - - - - - -

Using rsync for a binary installation of GAP

- -

Getting a fully installed GAP on Linux with two simple -commands!

- -

Last changes - ---- Mon, 29 Sep 2014 11:31:34 +0200 -   (Details) -

-

-This is a binary distribution of GAP 4.7 -on Linux PCs with i686 or x86_64 compatible processors (Pentium, Athlon, -Xeon, Opteron, ...). -It is maintained by Frank Lübeck. -Any reports or suggestions are welcome. -

- -

-The idea is to install GAP on Linux by syncronizing -via the internet with a reference installation. Some features are: -

- -
    -
  • GAP is already compiled with GMP and readline -support. Binaries are linked such that only the C-library of any -distribution from the last 5 years is needed at runtime.
  • -
  • For 64-bit systems binaries in 32-bit mode and in 64-bit mode are -provided. -See below for further -remarks. -
  • -
  • Almost all distributed packages are fully installed, this is the main -point which -makes installation much easier compared to a direct installation from -the sources. -
  • -
  • -Installation is by choosing a directory and two easy commands, as explained -below (ok, some packages need other external software, see below). -
  • -
  • -Upgrades can be done by one simple command. They are very fast and save -network bandwidth. -
  • -
  • -... -
  • -
- -

How to Get GAP via this Service

-

-(and not directly from the -GAP site.) -

- -

-You need: a machine with PC architecture (i686 or x86_64 compatible) -running under -Linux, a directory with about 1600 MB of -free space and the rsync program (if you don't have -rsync, there is certainly a package with this name in your -Linux distribution). -

- -

-Then copy the start script, called gapsync, into the current -directory using the following command (don't forget the trailing dot): -

-
   rsync --port=8731 -azv rsync.gap-system.org::gap4r5/gapsync/gapsync .
-
-

-Now call this script: -

-
   ./gapsync
-
-

-You are asked for two directories. The first is for the installation. -Everything is copied into a subdirectory gap4r5 of this directory -(the default is /usr/local/lib). The second directory should be -one in your standard path of executable programs, the scripts to start GAP will be put there (the default is -/usr/local/bin). -
-Note: We will use the directory name gap4r5 -also for the next GAP releases (4.6.x, 4.7.x and so on) such that updates -can be made more easily by calling the gapsync script. -

-

If some of these scripts exist already you will be asked if they can be -deleted. Move them away first if you want to keep them. -

-

After giving these two directories, answer y to the next -question to start the installation. Depending on your network connection -you can use GAP after three to ... minutes (about -360 MB must be transferred via the internet). -

- -

Upgrading from the rsync distribution of GAP 4.4

- -

The rsync distribution for GAP 4.4 will not automatically upgrade to GAP 4.5. Please, follow the two step procedure -above to install GAP 4.5. -

-

You can keep the GAP 4.4 installation together with the new GAP 4.5 for a while. In that case you probably want -to rename some of the -start scripts for GAP 4.4 before installing 4.5 (e.g., find them with -which gapL and rename gapL to gap44L -or similar). -

-

You can remove your GAP 4.4 installation with its remove -script. Use the following command in a GAP 4.4 session to find out how this script can be -called: -

-
    Print(Concatenation(First(GAPInfo.RootPaths, p->
-                    Filename([Directory(p)],"lib/init.g") <> fail), 
-                    "/gapsync/remove\n"));
-
- -

How to call GAP

-

-The following scripts are provided by this distribution: -

-
-
gapL
-
for calling GAP with a saved workspace. -This is the recommended way to start GAP, it -is much faster than calling gap.
-
gap
-
for calling GAP
-
gapsync
-
for updating this GAP installation
-
xgap
-
for using GAP via an X11 interface with graphical -capabilities (but no terminal capabilities in its main window).
-
pargap
-
for the variant of GAP provided by the -ParGAP package, see the package documentation
-
gap64, gap64L, pargap64
-
(only on x86_64 based 64-bit architecture) the scripts above always call -the 32-bit version of GAP, use these scripts to -call the 64-bit version
-
-
-
- -

Updating

- -

You can update the installation by calling the script -

-
   gapsync
-
-

which was installed during initialization and mentioned above. The -syncronization will usually take just a few seconds. A new workspace is -created after each syncronization locally.

-

An update should not be made while a GAP -job is running. If you have long running jobs do not use an automatic, say -nightly, update.

- -

User customization

-

Starting from GAP 4.5 the old -~/.gaprc file is substituted by a much more flexible setup. -Instead of just this file a whole directory ~/.gap/ is used. -An easy way to make use of this is to call in a -GAP 4.5 session the command -

-
    WriteGapIniFile();
-
-

-This creates the ~/.gap/ directory (if necessary) and the file -~/.gap/gap.ini. Look into this file and adjust some of the -settings as you like (e.g., specify packages (not) to load, color prompt, -less as pager, ...). If your old ~/.gaprc -contained code that is not covered by the configuration options in -~/.gap/gap.ini, then copy that code into the file -~/.gap/gaprc. -

- -

Customization of this installation

-

-You can customize the gap, gap64, gapL, -gap64L, -gapsync scripts by editing the files in the -local/bin subdirectory of this GAP -installation. -

-

-You can customize the workspace used in your installation by copying -gapsync/CreateWorkspace.sh to -local/bin/CreateWorkspace (for 32-bit version) or -local/bin/CreateWorkspace64 (for 64-bit version) -and editing the latter. -For example, you may want another set of packages preloaded. -

-

Additional packages can be installed in the local/pkg -subdirectory. -

-

Whenever you have changed something in the installation call -gapsync which will produce an updated workspace. -

-

-If you change things outside the local subdirectory they are -deleted with the next call of gapsync. If you find errors in -this part, please report them. -

- -

Removing this installation

-

To remove this GAP installation use the -script remove in the -subdirectory gapsync of your installation: -

-
   <path to your installation>/gapsync/remove
-
-

This just deletes the links to the scripts mentioned above and the -whole installation directory (starting gap4r5), so including -any custom installations in the gap4r5/local subdirectory. -

-

You can also just delete or forget about the gapsync script -and use the installed GAP like any standard -installation. -

- -

Feedback

- -

Please send comments and suggestions to -Frank.Luebeck@Math.RWTH-Aachen.De. -

- -

Notes on this installation, in particular packages

-

The GAP version is 4.5.6.

-

It is an installation of the archive -~/tmp/gap4r5p6_2012_09_16-01_02.tar.gz - plus version 1.4.5 of the homology package. -

-

The packages -Alnuth, -HAP, -polymaking, -PolymakeInterface -qaos, -singular, -and -SgpViz -need or suggest further -external software, and may not work immediately with full functionality. -More details: Pari/GP, -HAP, -polymaking, -qaos, -singular, -graphviz -

-

The package linboxing currently doesn't work -with this installation. -

-

-The package PolymakeInterface is currently only -unpacked but not installed. -

-

Note that the AtlasRep package contains -directories gap4r4/pkg/atlasrep/data* which are world writable -(for caching downloaded representations). These are emptied with any update -of this distribution.

-

If you don't want this you can customize the script -gap4r4/local/bin/gapsync in your installation, add the options ---exclude=pkg/atlasrep/datagens --exclude=pkg/atlasrep/dataword -to the rsync call (search the line containing ---port). -

- -

-The Carat package also needs further installation. -(The external binaries hard code their installation path, so I cannot -prepare them for you.) You need a C-compiler (probably gcc) and -tar. After update go in the subdirectory ./gapsync -from the root of your GAP installation and call -there the script ./FinishInstallCarat. This will install Carat on i686 systems and install it for the -gap64 version on x86_64 systems. The script produces the -necessary binaries and unpacks about 150 MB of data files. Finally, call -gapsync to update your workspace. -

- -

XGap: There were reports that it doesn't work -properly on Linux systems using the /dev file system, due to -file permission problems. A proper fix is not yet available. -

- -

You can customize details of the installation of -any package by copying that package to the directory -gap4r4/local/pkg. You can also install additional -packages there.

- -

Shall I use the 32-bit or 64-bit version of GAP?

- -

-If you have an x86_64 based system you can use both. The 64-bit version uses -for many GAP objects twice the memory as the 32-bit -version and this can also make it a bit slower. The 32-bit version of GAP can, depending on the configuration of the Linux -kernel, use at most 2 or 3 Gigabyte of memory (and almost 4 GB on x86_64 -systems). So, there are two sitations where you want to use the 64-bit version: -

-
    -
  • You are mainly using objects in your computations which do take -advantage of the 64-bit architecture, these are compressed vectors and -matrices over small finite fields, very long integers and bit lists. -These objects need essentially the same memory on 32-bit and 64-bit systems -and their basic arithmetic is faster because it works on 64-bit words. -
  • -
  • You really need a lot of memory and have a machine with more than 4 GB -of physical memory. (But recall that many objects use up twice the memory, -in some cases the 64-bit version is only advantageous if you have even -more than 8 GB of physical memory!) -
  • -
- - - - diff --git a/dev/DistributionUpdate/rsyncserv/motd b/dev/DistributionUpdate/rsyncserv/motd deleted file mode 100644 index 6cb8dff8f0..0000000000 --- a/dev/DistributionUpdate/rsyncserv/motd +++ /dev/null @@ -1,3 +0,0 @@ - -See http://www.math.rwth-aachen.de:8001/GAP/GAPrsync for more details. - diff --git a/dev/DistributionUpdate/rsyncserv/rsyncd.conf b/dev/DistributionUpdate/rsyncserv/rsyncd.conf deleted file mode 100644 index 98831f8a0d..0000000000 --- a/dev/DistributionUpdate/rsyncserv/rsyncd.conf +++ /dev/null @@ -1,68 +0,0 @@ -# sample rsyncd.conf configuration file - -# GLOBAL OPTIONS - -motd file=/home2/beteigeuze/luebeck/GAPrsync/motd -log file=/home2/beteigeuze/luebeck/GAPrsync/rsyncd.log -pid file=/home2/beteigeuze/luebeck/GAPrsync/rsyncd.pid -#syslog facility=daemon -#socket options= - -# MODULE OPTIONS - -[gap4r4] - - comment = GAP compiled for Linux i686 and x86_64, reference installation - path = /home2/beteigeuze/luebeck/GAPrsync/gap4/gap4r4 - use chroot = no - max connections=5 - lock file = /home2/beteigeuze/luebeck/GAPrsync/rsyncd.lock - read only = yes - list = yes -# uid = nobody -# gid = nogroup -# exclude = #specify any file in path not to be accessed -# exclude from = -# include = -# include from = -# auth users = #allow specific users to connect (besides anonymous) -# secrets file = /etc/rsyncd.secrets -# strict modes = yes #makes sure the secrets file has proper permissions -# hosts allow = -# hosts deny = - ignore errors = no - ignore nonreadable = yes - transfer logging = no - log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes. - timeout = 600 -# refuse options = checksum, dry-run - dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.pdf - -[gapsync] - - comment = Script for download and installation of the GAP 4.4 rsync distribution - path = /home2/beteigeuze/luebeck/GAPrsync/gap4/gap4r4/gapsync/gapsync - use chroot = no - max connections=5 - lock file = /home2/beteigeuze/luebeck/GAPrsync/gap4/rsyncd.lock - read only = yes - list = yes -# uid = nobody -# gid = nogroup -# exclude = #specify any file in path not to be accessed -# exclude from = -# include = -# include from = -# auth users = #allow specific users to connect (besides anonymous) -# secrets file = /etc/rsyncd.secrets -# strict modes = yes #makes sure the secrets file has proper permissions -# hosts allow = -# hosts deny = - ignore errors = no - ignore nonreadable = yes - transfer logging = no - log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes. - timeout = 600 -# refuse options = checksum, dry-run - dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.pdf - diff --git a/dev/DistributionUpdate/rsyncserv/rsyncserv.css b/dev/DistributionUpdate/rsyncserv/rsyncserv.css deleted file mode 100644 index 60da370765..0000000000 --- a/dev/DistributionUpdate/rsyncserv/rsyncserv.css +++ /dev/null @@ -1,91 +0,0 @@ - -/* CSS 2.0 style sheet for GAP package information pages, Frank Lübeck */ - -BODY { - background-color:#FFFFFF; - color:black; - font-family:Helvetica, Arial, Geneva, Times, sans-serif; - margin:2em; -} - -H1, H2, H3 { - font-family:Helvetica, Arial, Geneva, Times, sans-serif; - font-weight:bold; - background-color:transparent; -} - -H2, H3 { - color:#993333; -} - -H1 { - text-align: center; - color:#191970; - font-size:200%; -} - -H2 { - text-align:left; - font-size:144%; -} - -H3 { - text-align:left; - font-size:120%; -} - -TABLE { - border:2pt solid #444444; - padding:3pt; -} - -P { - text-align:justify; -} - -P.maininfo { - text-indent:0em; - line-height:144%; -} - -P.foot { - text-indent:0em; - font-size:80%; -} - -P.changes { - text-align:center; - font-size:80%; - color:#FF0000; -} - -P.subtitle { - text-align:center; - font-size:130%; - color:#0000FF; -} - -PRE { - background-color:#DDDDDD; - padding:3pt; -} - -A:hover { - background-color:#7777AA; - color:WindowText; -} - -SPAN.pkg { - font-family:sans-serif; - background-color:transparent; -} - -HR { - width:85%; - text-align:center; -} - -CODE { - color:#550000; -} - diff --git a/dev/DistributionUpdate/rsyncserv/startrsyncserver b/dev/DistributionUpdate/rsyncserv/startrsyncserver deleted file mode 100755 index 911c26a395..0000000000 --- a/dev/DistributionUpdate/rsyncserv/startrsyncserver +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -## (C) Frank Lübeck - -exec rsync --port 8731 --daemon --config rsyncd.conf - diff --git a/dev/DistributionUpdate/rsyncserv/swapwithXXX b/dev/DistributionUpdate/rsyncserv/swapwithXXX deleted file mode 100755 index 33ec3bda28..0000000000 --- a/dev/DistributionUpdate/rsyncserv/swapwithXXX +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if [ -f XXXisold ]; then - echo "gap4r5XXX is already older version, do not swap. Bye." - exit 1 -fi - -kill `cat ../../rsyncd.pid` -sleep 3 -mv gap4r5 swaptmp -mv gap4r5XXX gap4r5 -mv swaptmp gap4r5XXX -(cd ../../; ./startrsyncserver) -rm -f XXXisnew -touch XXXisold -