| 1 | ================================================================= |
|---|
| 2 | Logtalk - Object oriented extension to Prolog |
|---|
| 3 | Release 2.21.0 |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. |
|---|
| 6 | ================================================================= |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | This directory contains miscellaneous files used in Logtalk packaging, |
|---|
| 10 | installation, and integration with Prolog compilers. Several scripts are |
|---|
| 11 | included. Those with extension .sh are shell scripts for MacOS X, Linux, |
|---|
| 12 | and similar systems. Those with extension .js are JScript command-line |
|---|
| 13 | scripts for Windows; they require WSH 5.6 or later version to be installed |
|---|
| 14 | and should be run using cscript.exe from the command line. |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | lgt_install.sh |
|---|
| 18 | shell script for installing Logtalk in a system-wide location for Unix and |
|---|
| 19 | Unix-like operating systems (must be run from this directory by a user with |
|---|
| 20 | administration privileges); accepts as an optional argument a prefix for the |
|---|
| 21 | installation directory (default is /usr/local) |
|---|
| 22 | lgt_install.js |
|---|
| 23 | Windows NT/2000/XP JScript script for completing the Logtalk installation |
|---|
| 24 | by setting the LOGTALKHOME system environment variable and by creating a |
|---|
| 25 | new program group named "Logtalk" in the Windows Start Menu (must be run |
|---|
| 26 | from this directory by a user with administration privileges after |
|---|
| 27 | decompressing the Logtalk distribution into its final destination) |
|---|
| 28 | |
|---|
| 29 | logtalk.spec |
|---|
| 30 | specification file for building Linux RPMs |
|---|
| 31 | (copy the Logtalk tarball to your RPM SOURCES directory and then |
|---|
| 32 | run the command: rpmbuild -ba --target=noarch-*-linux logtalk.spec) |
|---|
| 33 | |
|---|
| 34 | cplgtdirs.sh |
|---|
| 35 | cplgtdirs.js |
|---|
| 36 | sample scripts for the copying xml, examples, and library directories to the |
|---|
| 37 | user home directory (must be run by the end-user to ensure proper permissions |
|---|
| 38 | on the copied files) |
|---|
| 39 | |
|---|
| 40 | cleandist.sh |
|---|
| 41 | script for cleaning a Logtalk distribution in preparation for |
|---|
| 42 | packaging. |
|---|
| 43 | |
|---|
| 44 | debian |
|---|
| 45 | directory containing support files for building a Debian package |
|---|
| 46 | (work in progress; not yet functional) |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | The following scripts must be run by a user with administration privileges: |
|---|
| 50 | |
|---|
| 51 | make_ciaolgt.sh |
|---|
| 52 | makes a shell script named ciaolgt for running Logtalk with CIAO Prolog |
|---|
| 53 | (the first run of the ciaolgt script must be made as root or using sudo) |
|---|
| 54 | make_ciaolgt.js |
|---|
| 55 | makes a Windows shortcut named "Logtalk - CIAO" for running Logtalk with |
|---|
| 56 | CIAO 1.10 (the first call to the shortcut must be made a user with |
|---|
| 57 | administrative rights) |
|---|
| 58 | |
|---|
| 59 | make_eclipselgt.sh |
|---|
| 60 | makes a shell script named eclipselgt for running Logtalk with ECLiPSe |
|---|
| 61 | make_eclipselgt.js |
|---|
| 62 | makes a Windows shortcut named "Logtalk - ECLiPSe" for running Logtalk |
|---|
| 63 | with ECLiPSe 5.7 (if you are using a different version, you must edit |
|---|
| 64 | the reference to the registry key in the script; if you prefer to use |
|---|
| 65 | TkEclipse, open the %LOGTALKHOME%\bin\logtalkeclipse.pl file with it) |
|---|
| 66 | |
|---|
| 67 | make_gplgt.sh |
|---|
| 68 | makes a shell script named gplgt for running Logtalk with GNU Prolog |
|---|
| 69 | make_gplgt.js |
|---|
| 70 | makes a Windows shortcut named "Logtalk - GNU Prolog" for running Logtalk |
|---|
| 71 | with GNU Prolog |
|---|
| 72 | make_gplgt_exe.js |
|---|
| 73 | makes a new GNU Prolog top level named gplgt.exe and creates a Windows |
|---|
| 74 | shortcut named "Logtalk - GNU Prolog" for running it (needs the developer |
|---|
| 75 | tools nasm.exe and cp.exe installed; both the developer tools and the GNU |
|---|
| 76 | Prolog installation bin directory must be in the system path) |
|---|
| 77 | |
|---|
| 78 | make_qplgt.sh |
|---|
| 79 | makes a shell script named qplgt for running Logtalk with Qu-Prolog |
|---|
| 80 | (based on script code contributed by Peter Robinson) |
|---|
| 81 | |
|---|
| 82 | make_sicstuslgt.sh |
|---|
| 83 | makes a shell script named sicstuslgt for running Logtalk with SICStus |
|---|
| 84 | Prolog |
|---|
| 85 | make_sicstuslgt.js |
|---|
| 86 | makes a Windows shortcut named "Logtalk - SICStus Prolog" for running |
|---|
| 87 | Logtalk with SICStus Prolog 3.11 (if you are using a different version, |
|---|
| 88 | you must edit the reference to the registry key in the script) |
|---|
| 89 | |
|---|
| 90 | make_swilgt.sh |
|---|
| 91 | makes a shell script named swilgt for running Logtalk with SWI-Prolog |
|---|
| 92 | make_swilgt.js |
|---|
| 93 | makes a Windows shortcut named "Logtalk - SWI-Prolog" for running Logtalk |
|---|
| 94 | with SWI-Prolog |
|---|
| 95 | |
|---|
| 96 | make_yaplgt.sh |
|---|
| 97 | makes a shell script named yaplgt for running Logtalk with YAP |
|---|
| 98 | make_yaplgt.js |
|---|
| 99 | makes a Windows shortcut named "Logtalk - YAP" for running Logtalk with YAP |
|---|
| 100 | (assumes that the Yap folder is installed in C:\Program Files; edit the path |
|---|
| 101 | to the yap.exe executable in the script if necessary) |
|---|
| 102 | |
|---|
| 103 | make_xsblgt.sh |
|---|
| 104 | makes a shell script named xsblgt for running Logtalk with XSB |
|---|
| 105 | |
|---|
| 106 | These scripts require the environment variable LOGTALKHOME (pointing to the |
|---|
| 107 | Logtalk installation directory) to be defined. In addition, the shell scripts |
|---|
| 108 | accept as an optional argument a prefix for the location of a link to the |
|---|
| 109 | scripts (default is /usr/local, creating the links in /usr/local/bin). Please |
|---|
| 110 | note that the environment variable LOGTALKHOME must be defined in order to run |
|---|
| 111 | the *lgt scripts that are created by the shell scripts above or the Windows |
|---|
| 112 | shortcuts (see the INSTALL file for details on setting the variable). |
|---|
| 113 | |
|---|
| 114 | Note: when Logtalk is manually installed from sources, the shell scripts might |
|---|
| 115 | not have the executable permission bit set. In that case it will be necessary |
|---|
| 116 | to first run the command "chmod a+x *.sh" on the scripts directory. |
|---|