| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | ================================================================= | 
					
						
							|  |  |  | Logtalk - Object oriented extension to Prolog | 
					
						
							| 
									
										
										
										
											2006-03-26 17:31:34 +00:00
										 |  |  | Release 2.27.1 | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-02-10 17:44:05 +00:00
										 |  |  | Copyright (c) 1998-2006 Paulo Moura.  All Rights Reserved. | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | ================================================================= | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-22 23:57:45 +00:00
										 |  |  | This directory contains several scripts used for Logtalk packaging,  | 
					
						
							|  |  |  | installation, and integration with Prolog compilers. Those with extension  | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | ".sh" are shell scripts for MacOS X, Linux, and similar systems. Those with  | 
					
						
							|  |  |  | extension ".js" are JScript command-line scripts for Windows; they require  | 
					
						
							| 
									
										
										
										
											2005-04-22 23:57:45 +00:00
										 |  |  | WSH 5.6 or later version to be installed and should be run using cscript.exe  | 
					
						
							|  |  |  | from a DOS shell command line. | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | lgt_install.sh | 
					
						
							| 
									
										
										
										
											2004-12-25 03:06:18 +00:00
										 |  |  | 	shell script for installing Logtalk in a system-wide location for Unix  | 
					
						
							|  |  |  | 	and Unix-like operating systems (must be run from this directory by a  | 
					
						
							|  |  |  | 	user with administration privileges); accepts as an optional argument  | 
					
						
							|  |  |  | 	a prefix for the installation directory, default is /usr/local) | 
					
						
							| 
									
										
										
										
											2004-09-14 23:11:12 +00:00
										 |  |  | lgt_install.js | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	Windows 2000/XP JScript script for completing the Logtalk installation by  | 
					
						
							|  |  |  | 	setting the LOGTALKHOME system environment variable and the LOGTALKUSER  | 
					
						
							|  |  |  | 	user environment variable (for the user performing the installation), by  | 
					
						
							| 
									
										
										
										
											2004-12-25 03:06:18 +00:00
										 |  |  | 	creating a new program group named "Logtalk" in the Windows Start Menu,  | 
					
						
							| 
									
										
										
										
											2005-05-23 23:33:41 +00:00
										 |  |  | 	and by adding the directories %LOGTALKHOME%\scripts and %LOGTALKHOME%\xml  | 
					
						
							|  |  |  | 	to the system path environment variable (must be run from this directory  | 
					
						
							|  |  |  | 	by a user with administration privileges after decompressing the Logtalk  | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | 	distribution into its final destination; you must restart your computer  | 
					
						
							|  |  |  | 	after running this script in order to use the items on the "Logtalk" | 
					
						
							|  |  |  | 	program group due to the definition of new system environment variables) | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | logtalk.spec | 
					
						
							|  |  |  | 	specification file for building Linux RPMs | 
					
						
							|  |  |  | 	(copy the Logtalk tarball to your RPM SOURCES directory and then  | 
					
						
							|  |  |  | 	run the command: rpmbuild -ba --target=noarch-*-linux logtalk.spec) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cplgtdirs.sh | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | cplgtdirs.js | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	end-user scripts for copying the Logtalk user-modifiable files and  | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	directories to the location pointed by the environment variable  | 
					
						
							|  |  |  | 	LOGTALKUSER (defaults to ~/logtalk on Unix-like operating-systems  | 
					
						
							|  |  |  | 	and to My Documents\logtalk on Windows when the variable is not  | 
					
						
							|  |  |  | 	defined); must be run by the end-user in order to ensure proper  | 
					
						
							|  |  |  | 	permissions on the copied files | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | cleandist.sh | 
					
						
							| 
									
										
										
										
											2004-11-29 20:36:31 +00:00
										 |  |  | 	script for cleaning a Logtalk distribution in preparation for packaging | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | debian | 
					
						
							|  |  |  | 	directory containing support files for building a Debian package | 
					
						
							|  |  |  | 	(work in progress; not yet functional) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | The following scripts allow easy integration of Logtalk with selected Prolog  | 
					
						
							|  |  |  | compilers; they must be run by a user with administration privileges: | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-08 23:48:59 +00:00
										 |  |  | make_ciaolgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "ciaolgt" for running Logtalk with CIAO Prolog | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | 	(the first run of the "ciaolgt" script must be made as root or using sudo) | 
					
						
							| 
									
										
										
										
											2004-08-19 13:46:40 +00:00
										 |  |  | make_ciaolgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - CIAO" for running Logtalk with  | 
					
						
							| 
									
										
										
										
											2004-10-25 11:13:58 +00:00
										 |  |  | 	CIAO 1.10 (the first call to the shortcut must be made by a user with  | 
					
						
							| 
									
										
										
										
											2004-08-19 13:46:40 +00:00
										 |  |  | 	administrative rights) | 
					
						
							| 
									
										
										
										
											2004-07-08 23:48:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | make_eclipselgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "eclipselgt" for running Logtalk with ECLiPSe | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | make_eclipselgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - ECLiPSe" for running Logtalk  | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	with ECLiPSe 5.8 (if you are using a different version, you must edit  | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | 	the reference to the registry key in the script; if you prefer to use | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	TkEclipse, open the %LOGTALKHOME%\bin\logtalke_eclipse.pl file with it) | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | make_gplgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "gplgt" for running Logtalk with GNU Prolog (this  | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	script is adequate for development purposes but does not provide the best  | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	possible performance for running Logtalk with this Prolog compiler; for  | 
					
						
							|  |  |  | 	optimal performance, see the configs/NOTES file) | 
					
						
							| 
									
										
										
										
											2004-08-19 13:46:40 +00:00
										 |  |  | make_gplgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - GNU Prolog" for running Logtalk  | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	with GNU Prolog (this script is adequate for development purposes but does  | 
					
						
							|  |  |  | 	not provide the best possible performance for running Logtalk with this  | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	Prolog compiler; for optimal performance, see the configs/NOTES file) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | make_plclgt.sh | 
					
						
							|  |  |  | 	makes a shell script named "plclgt" for running Logtalk with K-Prolog	 | 
					
						
							|  |  |  | make_plclgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - K-Prolog" for running Logtalk  | 
					
						
							|  |  |  | 	with K-Prolog | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | make_qplgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "qplgt" for running Logtalk with Qu-Prolog  | 
					
						
							| 
									
										
										
										
											2006-02-10 17:44:05 +00:00
										 |  |  | 	(based on script code contributed by Peter Robinson); this script does  | 
					
						
							|  |  |  | 	not read at runtime the config and the libpaths files: you will need to  | 
					
						
							|  |  |  | 	run this script again if you modify these files | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | make_sicstuslgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "sicstuslgt" for running Logtalk with SICStus  | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | 	Prolog | 
					
						
							|  |  |  | make_sicstuslgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - SICStus Prolog" for running  | 
					
						
							| 
									
										
										
										
											2004-11-29 20:36:31 +00:00
										 |  |  | 	Logtalk with SICStus Prolog 3.12 (if you are using a different version,  | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | 	you must edit the reference to the registry key in the script) | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | make_swilgt.sh | 
					
						
							| 
									
										
										
										
											2005-08-08 12:13:45 +00:00
										 |  |  | 	makes a shell script named "swilgt" for running Logtalk with SWI-Prolog; | 
					
						
							|  |  |  | 	the script assumes that the SWI-Prolog executable is named "swipl" on  | 
					
						
							|  |  |  | 	MacOS X and named "pl" on Linux and other similar operating systems | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | make_swilgt.js | 
					
						
							|  |  |  | 	makes a Windows shortcut named "Logtalk - SWI-Prolog" for running Logtalk  | 
					
						
							|  |  |  | 	with SWI-Prolog | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | make_yaplgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "yaplgt" for running Logtalk with YAP | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | make_yaplgt.js | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | 	makes a Windows shortcut named "Logtalk - YAP" for running Logtalk with  | 
					
						
							|  |  |  | 	YAP (assumes that the Yap folder is installed in C:\Program Files; edit  | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | 	the path to the "yap.exe" executable in the script if necessary) | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-08 23:48:59 +00:00
										 |  |  | make_xsblgt.sh | 
					
						
							| 
									
										
										
										
											2005-02-10 00:02:06 +00:00
										 |  |  | 	makes a shell script named "xsblgt" for running Logtalk with XSB (the  | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | 	first run of the "xsblgt" script must be made as root or using sudo; each | 
					
						
							|  |  |  | 	user will need to rename the file configs/xsb.config to configs/xsb.P  | 
					
						
							| 
									
										
										
										
											2005-03-06 21:19:09 +00:00
										 |  |  | 	and make and edit a copy of the libpaths/libpaths.pl in order to replace  | 
					
						
							|  |  |  | 	all occurrences of the LOGTALKUSER environment variable with its value;  | 
					
						
							|  |  |  | 	the new file should also use the .P extension) | 
					
						
							| 
									
										
										
										
											2005-12-24 18:00:21 +00:00
										 |  |  | make_xsbcvslgt.sh | 
					
						
							|  |  |  | 	similar to the script above but for running Logtalk with the XSB CVS  | 
					
						
							|  |  |  | 	version (each user will need to rename the file configs/xsbcvs.config  | 
					
						
							|  |  |  | 	to configs/xsbcvs.P) | 
					
						
							|  |  |  | make_xsbcvslgt.js | 
					
						
							|  |  |  | 	similar to the script above but for running Logtalk with the XSB CVS  | 
					
						
							|  |  |  | 	version (assumes that the XSB folder is installed in C:\Program Files;  | 
					
						
							|  |  |  | 	edit the path to the "xsb.exe" executable in the script if necessary) | 
					
						
							| 
									
										
										
										
											2004-06-13 18:04:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-05-23 23:33:41 +00:00
										 |  |  | makeall_lgt.sh | 
					
						
							|  |  |  | 	simple shell script for running all the make_*lgt.sh shell scripts in  | 
					
						
							|  |  |  | 	sequence (except the make_qplgt.sh as this script implies modifications to | 
					
						
							|  |  |  | 	the Logtalk files which are not necessary for the other Prolog compilers); | 
					
						
							| 
									
										
										
										
											2005-08-08 12:13:45 +00:00
										 |  |  | 	note that this script will not print any of the special instructions,  | 
					
						
							|  |  |  | 	remarks, or error messages that you may get when running the make_*lgt.sh  | 
					
						
							|  |  |  | 	shell scripts individually | 
					
						
							| 
									
										
										
										
											2005-05-23 23:33:41 +00:00
										 |  |  | makeall_lgt.js | 
					
						
							|  |  |  | 	simple shell script for running all the make_*lgt.js shell scripts in  | 
					
						
							|  |  |  | 	sequence; note that this script will not print any of the special  | 
					
						
							| 
									
										
										
										
											2005-08-08 12:13:45 +00:00
										 |  |  | 	instructions, remarks, or error messages that you may get when running  | 
					
						
							|  |  |  | 	the make_*lgt.js shell scripts individually | 
					
						
							| 
									
										
										
										
											2005-05-23 23:33:41 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-06 22:46:45 +00:00
										 |  |  | These scripts require the environment variable LOGTALKHOME (pointing to the  | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | Logtalk installation directory) to be defined. The *.sh shell scripts  | 
					
						
							| 
									
										
										
										
											2004-08-16 16:41:11 +00:00
										 |  |  | accept as an optional argument a prefix for the location of a link to the  | 
					
						
							| 
									
										
										
										
											2004-12-05 21:52:49 +00:00
										 |  |  | scripts (default is /usr/local, creating the links in /usr/local/bin). The  | 
					
						
							|  |  |  | *.js scripts add the created shortcuts to the "Logtalk" program group (which  | 
					
						
							|  |  |  | is accessed from the Windows Start Menu). | 
					
						
							| 
									
										
										
										
											2004-11-29 20:36:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | Please note that the environment variables LOGTALKHOME and LOGTALKUSER must  | 
					
						
							|  |  |  | be defined in order to run the *lgt scripts that are created by the shell  | 
					
						
							|  |  |  | scripts above or the Windows shortcuts (see the INSTALL file for details on  | 
					
						
							|  |  |  | setting the variables). | 
					
						
							| 
									
										
										
										
											2004-04-25 23:57:46 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-02-10 17:44:05 +00:00
										 |  |  | When Logtalk is manually installed from sources, the shell scripts might not  | 
					
						
							|  |  |  | have the executable permission bit set. In that case it will be necessary to  | 
					
						
							|  |  |  | first run the command "chmod a+x *.sh" on the "scripts" and "xml" directories. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Depending on the size and complexity of your Logtalk applications, you may  | 
					
						
							|  |  |  | need to change the integration scripts in order to allocate more memory to | 
					
						
							|  |  |  | Prolog compilers. Please consult the documentation on the Prolog compilers  | 
					
						
							|  |  |  | you intend to use for details. |