| 1 | ================================================================= |
|---|
| 2 | Logtalk - Object oriented extension to Prolog |
|---|
| 3 | Release 2.21.2 |
|---|
| 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; you might |
|---|
| 28 | need to logout and login again in order to use the items in the created |
|---|
| 29 | "Logtalk" program group due to the definition of a new system environment |
|---|
| 30 | variable) |
|---|
| 31 | |
|---|
| 32 | logtalk.spec |
|---|
| 33 | specification file for building Linux RPMs |
|---|
| 34 | (copy the Logtalk tarball to your RPM SOURCES directory and then |
|---|
| 35 | run the command: rpmbuild -ba --target=noarch-*-linux logtalk.spec) |
|---|
| 36 | |
|---|
| 37 | cplgtdirs.sh |
|---|
| 38 | cplgtdirs.js |
|---|
| 39 | sample scripts for the copying xml, examples, and library directories to the |
|---|
| 40 | user home directory (must be run by the end-user to ensure proper permissions |
|---|
| 41 | on the copied files) |
|---|
| 42 | |
|---|
| 43 | cleandist.sh |
|---|
| 44 | script for cleaning a Logtalk distribution in preparation for |
|---|
| 45 | packaging. |
|---|
| 46 | |
|---|
| 47 | debian |
|---|
| 48 | directory containing support files for building a Debian package |
|---|
| 49 | (work in progress; not yet functional) |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | The following scripts must be run by a user with administration privileges: |
|---|
| 53 | |
|---|
| 54 | make_ciaolgt.sh |
|---|
| 55 | makes a shell script named ciaolgt for running Logtalk with CIAO Prolog |
|---|
| 56 | (the first run of the ciaolgt script must be made as root or using sudo) |
|---|
| 57 | make_ciaolgt.js |
|---|
| 58 | makes a Windows shortcut named "Logtalk - CIAO" for running Logtalk with |
|---|
| 59 | CIAO 1.10 (the first call to the shortcut must be made a user with |
|---|
| 60 | administrative rights) |
|---|
| 61 | |
|---|
| 62 | make_eclipselgt.sh |
|---|
| 63 | makes a shell script named eclipselgt for running Logtalk with ECLiPSe |
|---|
| 64 | make_eclipselgt.js |
|---|
| 65 | makes a Windows shortcut named "Logtalk - ECLiPSe" for running Logtalk |
|---|
| 66 | with ECLiPSe 5.7 (if you are using a different version, you must edit |
|---|
| 67 | the reference to the registry key in the script; if you prefer to use |
|---|
| 68 | TkEclipse, open the %LOGTALKHOME%\bin\logtalkeclipse.pl file with it) |
|---|
| 69 | |
|---|
| 70 | make_gplgt.sh |
|---|
| 71 | makes a shell script named gplgt for running Logtalk with GNU Prolog |
|---|
| 72 | make_gplgt.js |
|---|
| 73 | makes a Windows shortcut named "Logtalk - GNU Prolog" for running Logtalk |
|---|
| 74 | with GNU Prolog |
|---|
| 75 | make_gplgt_exe.js |
|---|
| 76 | makes a new GNU Prolog top level named gplgt.exe and creates a Windows |
|---|
| 77 | shortcut named "Logtalk - GNU Prolog" for running it (needs the developer |
|---|
| 78 | tools nasm.exe and cp.exe installed; both the developer tools and the GNU |
|---|
| 79 | Prolog installation bin directory must be in the system path) |
|---|
| 80 | |
|---|
| 81 | make_qplgt.sh |
|---|
| 82 | makes a shell script named qplgt for running Logtalk with Qu-Prolog |
|---|
| 83 | (based on script code contributed by Peter Robinson) |
|---|
| 84 | |
|---|
| 85 | make_sicstuslgt.sh |
|---|
| 86 | makes a shell script named sicstuslgt for running Logtalk with SICStus |
|---|
| 87 | Prolog |
|---|
| 88 | make_sicstuslgt.js |
|---|
| 89 | makes a Windows shortcut named "Logtalk - SICStus Prolog" for running |
|---|
| 90 | Logtalk with SICStus Prolog 3.11 (if you are using a different version, |
|---|
| 91 | you must edit the reference to the registry key in the script) |
|---|
| 92 | |
|---|
| 93 | make_swilgt.sh |
|---|
| 94 | makes a shell script named swilgt for running Logtalk with SWI-Prolog |
|---|
| 95 | make_swilgt.js |
|---|
| 96 | makes a Windows shortcut named "Logtalk - SWI-Prolog" for running Logtalk |
|---|
| 97 | with SWI-Prolog |
|---|
| 98 | |
|---|
| 99 | make_yaplgt.sh |
|---|
| 100 | makes a shell script named yaplgt for running Logtalk with YAP |
|---|
| 101 | make_yaplgt.js |
|---|
| 102 | makes a Windows shortcut named "Logtalk - YAP" for running Logtalk with YAP |
|---|
| 103 | (assumes that the Yap folder is installed in C:\Program Files; edit the path |
|---|
| 104 | to the yap.exe executable in the script if necessary) |
|---|
| 105 | |
|---|
| 106 | make_xsblgt.sh |
|---|
| 107 | makes a shell script named xsblgt for running Logtalk with XSB |
|---|
| 108 | |
|---|
| 109 | These scripts require the environment variable LOGTALKHOME (pointing to the |
|---|
| 110 | Logtalk installation directory) to be defined. In addition, the shell scripts |
|---|
| 111 | accept as an optional argument a prefix for the location of a link to the |
|---|
| 112 | scripts (default is /usr/local, creating the links in /usr/local/bin). Please |
|---|
| 113 | note that the environment variable LOGTALKHOME must be defined in order to run |
|---|
| 114 | the *lgt scripts that are created by the shell scripts above or the Windows |
|---|
| 115 | shortcuts (see the INSTALL file for details on setting the variable). |
|---|
| 116 | |
|---|
| 117 | Note: when Logtalk is manually installed from sources, the shell scripts might |
|---|
| 118 | not have the executable permission bit set. In that case it will be necessary |
|---|
| 119 | to first run the command "chmod a+x *.sh" on the scripts directory. |
|---|