--- squeak-vm-3.7.7.orig/linex/squeak.desktop +++ squeak-vm-3.7.7/linex/squeak.desktop @@ -3,11 +3,13 @@ Version=1.0 Type=Application Exec=/usr/bin/squeak -Icon=/usr/share/pixmaps/linex/Squeak.png +Icon=/usr/share/pixmaps/squeak.png Terminal=false Name=Squeak Name[es_ES]=Squeak +Name[de_DE]=Squeak Comment= Programming system and content development tool Comment[es_ES]=Herramienta de desarrollo de contenidos y aplicaciones +Comment[de_DE]=Programmier- und Multimediaentwicklungsumgebung Categories=Application;AudioVideo; MimeType=application/x-image;application/squeak-image;application/squeak-project --- squeak-vm-3.7.7.orig/platforms/unix/config/Makefile.install +++ squeak-vm-3.7.7/platforms/unix/config/Makefile.install @@ -40,8 +40,8 @@ $(MKINSTALLDIRS) $(ROOT)$(plgdir) @list='$(PLUGINS_LA)'; for p in $$list; do \ if test -f */$$p; then \ - echo "$(LIBTOOL) --mode=install $(INSTALL_PROG) $$p $(ROOT)$(plgdir)/$$p"; \ - $(LIBTOOL) --mode=install $(INSTALL_PROG) */$$p $(ROOT)$(plgdir)/$$p; \ + echo "$(LIBTOOL) --mode=install $(INSTALL_PROG) -s -m 0644 $$p $(ROOT)$(plgdir)/$$p"; \ + $(LIBTOOL) --mode=install $(INSTALL_PROG) -s -m 0644 */$$p $(ROOT)$(plgdir)/$$p; \ else :; fi; \ done -rm $(ROOT)$(plgdir)/*.la --- squeak-vm-3.7.7.orig/platforms/unix/config/make.cfg.in +++ squeak-vm-3.7.7/platforms/unix/config/make.cfg.in @@ -74,7 +74,7 @@ mandir= @mandir@ imgdir= @imgdir@ plgdir= @plgdir@ -docdir= $(prefix)/doc/squeak +docdir= $(prefix)/share/doc/squeak SHELL= @SHELL@ MKINSTALLDIRS= $(SHELL) $(cfgdir)/mkinstalldirs --- squeak-vm-3.7.7.orig/platforms/unix/config/make.prg.in +++ squeak-vm-3.7.7/platforms/unix/config/make.prg.in @@ -11,5 +11,5 @@ $(LDFLAGS) $(XLDFLAGS) -export-dynamic -c -o LINK = $(LIBTOOL) --mode=link \ $(CC) $(CFLAGS) $(XCFLAGS) \ - $(LDFLAGS) $(XLDFLAGS) -export-dynamic -R$(libdir) -o + $(LDFLAGS) $(XLDFLAGS) -export-dynamic -o RANLIB = : --- squeak-vm-3.7.7.orig/debian/dirs +++ squeak-vm-3.7.7/debian/dirs @@ -0,0 +1,10 @@ +usr/bin +usr/lib/squeak +usr/share/pixmaps +usr/share/applications +usr/share/mime-info +usr/share/icons/gnome/32x32/mimetypes +usr/share/application-registry +usr/lib/mime/packages +usr/share/squeak +var/cache/squeak/squeaklets --- squeak-vm-3.7.7.orig/debian/docs +++ squeak-vm-3.7.7/debian/docs @@ -0,0 +1 @@ +README --- squeak-vm-3.7.7.orig/debian/control +++ squeak-vm-3.7.7/debian/control @@ -0,0 +1,19 @@ +Source: squeak-vm +Section: multiverse/interpreters +Priority: optional +Maintainer: Oliver Grawert +Build-Depends: debhelper (>= 4.0.0), libaudio-dev, xlibs-dev, x11proto-gl-dev, libx11-dev, x11proto-kb-dev, g++ (>= 4:4.0.0-1) +Standards-Version: 3.6.1 + +Package: squeak-vm +Architecture: i386 +Depends: ${shlibs:Depends}, squeak-sources (>> 3-1), squeak-image +Description: squeak smalltalk system (virtual machine) + squeak is a full-featured implementation of the Smalltalk programming + language and environment based on (and largely compatible with) the + original Smalltalk-80 system. + . + This package contains just the Squeak virtual machine. If you are + new to Squeak then you will have to install the squeak-image and + squeak-sources packages too before you can run Squeak. + --- squeak-vm-3.7.7.orig/debian/prerm +++ squeak-vm-3.7.7/debian/prerm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ -f /usr/lib/squeak/npsqueakregister ];then + /usr/lib/squeak/npsqueakregister -u +fi +rm -f /usr/lib/squeak/3.7-7/SqueakV3.sources +rm -f /usr/share/squeak/Squeaklets + +#DEBHELPER# + +exit 0 --- squeak-vm-3.7.7.orig/debian/rules +++ squeak-vm-3.7.7/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +VM_VERSION= 3.7-7 +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + mkdir build + (cd build; ../platforms/unix/config/configure --prefix=/usr --mandir=/usr/share/man) + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + (cd build; $(MAKE); $(MAKE) squeak.1; mv squeak.1 squeakvm.1) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf build + rm -f squeak.1 +# rm -f linex/xresetcapslock + dh_clean + + + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + (cd build;$(MAKE) install ROOT=$(CURDIR)/debian/squeak-vm $(INSTALL_OVERRIDES)) +# (cd linex;gcc -I/usr/X11R6/include -L/usr/X11R6/lib -o xresetcapslock xresetcapslock.c -lX11 -lXtst) +# dh_install linex/xresetcapslock usr/bin + dh_install linex/gnome-mime-application-squeak*.png usr/share/icons/gnome/48x48/mimetypes + dh_install linex/squeak.png usr/share/pixmaps + dh_install linex/squeak.xml usr/share/mime/packages + dh_install linex/squeak.mime usr/share/mime-info + dh_install linex/squeak.keys usr/share/mime-info + dh_install linex/squeakmime.debian usr/lib/mime/packages + mv debian/squeak-vm/usr/lib/mime/packages/squeakmime.debian debian/squeak-vm/usr/lib/mime/packages/squeak + dh_install linex/squeak.applications usr/share/application-registry + dh_install linex/squeak.desktop usr/share/applications +# dh_install linex/KedamaPlugin usr/lib/squeak/$(VM_VERSION) +# chmod 0644 debian/squeak-vm/usr/lib/squeak/$(VM_VERSION)/KedamaPlugin + strip -s --remove-section=.comment debian/squeak-vm/usr/lib/squeak/$(VM_VERSION)/* +# dh_install linex/ODEPlugin.so usr/lib/squeak/$(VM_VERSION) + rm -f debian/squeak-vm/usr/bin/squeak + rm -f debian/squeak-vm/usr/share/doc/squeak/LICENSE.gz + rm -f debian/squeak-vm/usr/share/doc/squeak/COPYING.gz + dh_install debian/squeak usr/bin + chmod 0755 debian/squeak-vm/usr/bin/squeak + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- squeak-vm-3.7.7.orig/debian/changelog +++ squeak-vm-3.7.7/debian/changelog @@ -0,0 +1,51 @@ +squeak-vm (3.7.7-5ubuntu3) dapper; urgency=low + + * added squeak wrapper script to install system .image and .changes files + before starting squeak if none are found. + * added dependency on squeak-image + + -- Jordan Mantha Tue, 28 Mar 2006 08:13:40 -0800 + +squeak-vm (3.7.7-5ubuntu2) breezy; urgency=low + + * changed to multiverse/interpreters + + -- Oliver Grawert Fri, 15 Jul 2005 11:44:08 +0200 + +squeak-vm (3.7.7-5ubuntu1) breezy; urgency=low + + * first release in ubuntu, derived from the linex source package + * added build dependency on x11proto-kb-dev + + -- Oliver Grawert Wed, 6 Jul 2005 21:32:07 +0200 + +squeak-vm (3.7.7-5linex) unstable; urgency=low + + * Added modified LANG to the exports in squeak launcher, to avoid some problems with accents. + + -- José L. Redrejo Rodríguez Thu,30 Jun 2005 10:56:10 +0100 + +squeak-vm (3.7.7-4linex) unstable; urgency=low + + * Removed oss emulation in alsa. + * If the environment variable contains UTF-8, remove it before starting squeak, or acents will work badly. + + -- José L. Redrejo Rodríguez Thu, 05 May 2005 10:56:10 +0100 + +squeak-vm (3.7.7-3linex) unstable; urgency=low + + * Added xresetcapslock to avoid problems if caps lock is activated. + * Added ODE & Kedama plugins + * Added prebuilding for plugin squeak directory + + -- José L. Redrejo Rodríguez Sun, 27 Mar 2005 10:56:10 +0100 + +squeak-vm (3.7.7-2linex) unstable; urgency=low + + * Initial Release. + * Added Diego Gómez-Deck plugins for video and webcams + * Added mime types for freedesktop and gnome support + * Added dialog for the user choosing squeak image at start + + -- José L. Redrejo Rodríguez Tue, 01 Feb 2005 10:56:10 +0100 + --- squeak-vm-3.7.7.orig/debian/postinst +++ squeak-vm-3.7.7/debian/postinst @@ -0,0 +1,35 @@ +#!/bin/sh + +set -e + +#se registra el plugin: +/usr/lib/squeak/npsqueakregister + +#colocar tipos mime para Debian: +# Automatically added by dh_installmime +if [ "$1" = "configure" -a -x /usr/sbin/update-mime ]; then update-mime; fi +# End automatically added section + +#Colocar los tipos mime para freedesktop.org +if [ "$1" = "configure" -a -x /usr/bin/update-mime-database ]; then update-mime-database /usr/share/mime; fi + +#Colocar los tipos mime a partir de gnome-2.8 +if [ "$1" = "configure" -a -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database; fi + + + +#Coloco el sources si existe +if [ -f /usr/share/squeak/SqueakV3.sources ]; then + ln -sf /usr/share/squeak/SqueakV3.sources /usr/lib/squeak/3.7-7/SqueakV3.sources +fi + + +#Preparo el directorio Squeaklets para un funcionamiento correcto del plugin +if [ ! -h /usr/share/squeak/Squeaklets ]; then + ln -s /var/cache/squeak/squeaklets /usr/share/squeak/Squeaklets + chmod 777 /var/cache/squeak/squeaklets +fi + +#DEBHELPER# + +exit 0 --- squeak-vm-3.7.7.orig/debian/compat +++ squeak-vm-3.7.7/debian/compat @@ -0,0 +1 @@ +4 --- squeak-vm-3.7.7.orig/debian/squeak +++ squeak-vm-3.7.7/debian/squeak @@ -0,0 +1,264 @@ +#!/bin/sh +# squeak - main script for invoking Squeak. See squeak(1) for arguments. +# +# BUG: This script does not handle vm arguments that have spaces in them. +# Is this solvable in portable shell script? + +squeakversion=3.7-7 + +set -e + + + + +msg () { + if [ "$verbose" = "yes" ] + then + echo "$@" + fi +} + + + +# defaults +mode="install" +vm_options="" +verbose="no" + + + +# defaults from the environment +if [ "$SQUEAK_IMAGE_DIR" = "" ] +then + image_dir="/usr/lib/squeak" +else + image_dir="$SQUEAK_IMAGE_DIR" +fi +if [ "$SQUEAKVM" = "" ] +then + squeakvm="/usr/lib/squeak/$squeakversion/squeak" +else + squeakvm="$SQUEAKVM" +fi +if [ "$SQUEAK_IMAGE" = "" ] +then + image="squeak.image" +else + image="$SQUEAK_IMAGE" +fi + + + +# check if the first argument looks like an image +if (echo $1 | grep -q '^[^-]') +then + image=$1 + mode=run + shift +fi + +# parse arguments +while true +do + if [ "$1" = "" ] + then + break + fi + + case $1 in + -run) + mode=run + shift + ;; + + -l|-list) + mode=list + shift + ;; + + -install) + mode=install + shift + ;; + + -image) + shift + image=$1 + shift + if [ "$image" = "" ] + then + echo "-image requires an argument" + exit 1 + fi + ;; + + -v|-verbose) + shift + verbose=yes + ;; + + --version) + echo "script version 1.0" + $squeakvm -version + exit + ;; + + --help) + echo "squeak [ filename ]" + echo "" + echo "squeak [-install | -list | -l | -run ] [-image filename]" + echo " [-verbose | -v ] [vm options] [-- image options]" + exit 1 + ;; + + --) + shift + break + ;; + + *) + vm_options="$vm_options $1" + shift + ;; + esac +done + +# add .image to the end, if necessary +if (echo $image | grep -qv '\.image$') +then + image="$image.image" +fi + +# compute the name of the changes file +changes=`echo $image | sed -e 's/\.image$/.changes/'` + + + +# help routine to install a file +uncompress_and_install () { + source=$1 + dest=$2 + + if [ -f $source.bz2 ] + then + source=$source.bz2 + decompress=bunzip2 + else if [ -f $source.gz ] + then + source=$source.gz + decompress=gunzip + else if [ -f $source ] + then + decompress=cat + else + source="" + fi + fi + fi + + if [ "$source" = "" ] + then + # quietly do nothing if the source is not there; + # this is used to support bare images that don't + # have a changes file + : + else + msg "installing $source as $dest..." + $decompress < $source > $dest + fi +} + + +# install the image if necessary +if [ ! -f $image ] +then + if [ "$mode" = "run" ] + then + echo "The image $image is not present and -run was specified" + exit 2 + fi + + if [ -f $changes ] + then + echo "$image is missing but $changes is present." + echo "Refusing to continue. Rename or remove $changes," + echo "or specify a different -image." + exit 2 + fi + + available_images=`(cd $image_dir; ls) | grep '\.image.*$' | sed -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.image$//' | sort | uniq` + + if [ "$available_images" = "" ] + then + echo "No image is available to install." + exit 2 + fi + + if [ "$mode" = "install" ] + then + # choose an image automatically + choice="" + for img in $available_images + do + if [ "$choice" = "" ] + then + choice=$img + fi + if [ "$img" = "squeak" ] + then + choice=$img + fi + done + else + # let the user choose + echo "Select an image from the following choices:" + i=1 + for img in $available_images + do + echo " $i. $img" + i=`expr $i + 1` + done + num_avail=`expr $i - 1` + echo "Choice: " + read choice_i + + choice="" + i=1 + for img in $available_images + do + if [ $i = $choice_i ] + then + choice=$img + fi + i=`expr $i + 1` + done + if [ "$choice" = "" ] + then + echo "invalid selection" + exit 1 + fi + fi + + # install the chosen image + uncompress_and_install $image_dir/$choice.image $image + uncompress_and_install $image_dir/$choice.changes $changes + + # install all available sources files + for sourcef in $image_dir/*.sources + do + locname=`basename $sourcef` + if [ ! -f $locname ] + then + msg "Linking $locname to $sourcef..." + ln -s $sourcef $locname + fi + done +fi + + +# in the below command, there should theoretically be a -- before the +# $*, but currently the VM is passing the -- to the image! + +msg "Running the VM: $squeakvm $vm_options $image $*" +exec $squeakvm $vm_options $image $* + --- squeak-vm-3.7.7.orig/debian/copyright +++ squeak-vm-3.7.7/debian/copyright @@ -0,0 +1,298 @@ +This is the Squeak package for Debian. All debianisations are +Copyright (C) 2002 Lex Spoon and are released under Apple, Inc.'s license +for Squeak. A copy of this license is included below. + +A portion of this source code is derived from work at Apple, Inc., and +thus falls under the license under which Apple originally released +Squeak. In particular, interp.c and the majority of the "src" +directory falls under this license, and some portions of the +"platforms/Cross" directory tree do as well. Again, a copy of this +license is included below. + +The "platforms/unix" hierarchy is Copyright (C) 1996-2002 Ian Piumarta +and individual authors/contributors listed elsewhere in this file. +Permission is granted for use of this code according to Ian Piumarta's +license, listed below. + +Note that Ian Piumarta's license contains an old address for the Free +Software Foundation. Until this is corrected, note that the current +address is: + + Free Software Foundation + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA + + +On Debian systems, a copy of the GNU Public License, version 2, should +already be in /usr/share/common-licenses/GPL-2 . + + +======================================== +==== Apple Computer, Inc.'s License ==== +======================================== + +Apple Computer, Inc. Software License + +PLEASE READ THIS SOFTWARE LICENSE AGREEMENT "LICENSE" CAREFULLY BEFORE +DOWNLOADING THIS SOFTWARE. BY DOWNLOADING THIS SOFTWARE YOU ARE +AGREEING TO BE BOUND BY THE TERMS OF THIS LICENSE. IF YOU DO NOT +AGREE TO THE TERMS OF THIS LICENSE, DO NOT DOWNLOAD. + +1. License. The software, documentation and any fonts which you will +receive by downloading this software (the "Apple Software") are +licensed, not sold, to you by Apple Computer, Inc. or its local +subsidiary, if any. Apple and/or Apple's licensor(s) retain title to +the Apple Software, and the Apple Software and any copies which this +License authorizes you to make are subject to this License. This +License grants no right or license under any trademarks, service +marks, or tradenames of Apple. + +2. Permitted Uses and Restrictions. This License allows you to copy, +install and use the Apple Software on an unlimited number of computers +under your direct control. You may modify and create derivative works +of the Apple Software ("Modified Software"), however, you may not +modify or create derivative works of the fonts provided by Apple +("Fonts"). You may distribute and sublicense such Modified Software +only under the terms of a valid, binding license that makes no +representations or warranties on behalf of Apple, and is no less +protective of Apple and Apple's rights than this License. You may +distribute and sublicense the Fonts only as a part of and for use with +Modified Software, and not as a part of or for use with Modified +Software that is distributed or sublicensed for a fee or for other +valuable consideration. If the Modified Software contains +modifications, overwrites, replacements, deletions, additions, or +ports to new platforms of: (1) the methods of existing class objects +or their existing relationships, or (2) any part of the virtual +machine, then for so long as the Modified Software is distributed or +sublicensed to others, such modified, overwritten, replaced, deleted, +added and ported portions of the Modified Software must be made +publicly available, preferably by means of download from a website, at +no charge under the terms set forth in Exhibit A below. You may +transfer your rights under this License provided you transfer this +License and a copy of the Apple Software to a party who agrees to +accept the terms of this License and destroy any other copies of the +Apple Software in your possession. Your rights under this License +will terminate automatically without notice from Apple if you fail to +comply with any term(s) of this License. + +3. Disclaimer Of Warranty. The Apple Software is pre-release, and +untested, or not fully tested. The Apple Software may contain errors +that could cause failures or loss of data, and may be incomplete or +contain inaccuracies. You expressly acknowledge and agree that use of +the Apple Software is at your sole risk. You acknowledge that Apple +has not publicly announced, nor promised or guaranteed to you, that +Apple will release a final, commercial or any future pre-release +version of the Apple Software to you or anyone in the future, and that +Apple has no express or implied obligation to announce or introduce a +final, commercial or any future pre-release version of the Apple +Software or any similar or compatible product, or to continue to offer +or support the Apple Software in the future. The Apple Software is +provided "AS-IS" and without warranty of any kind and Apple and +Apple's licensor(s) (for the purposes of Sections 3 and 4, Apple and +Apple's licensor(s) shall be collectively referred to as "Apple") +EXPRESSLY DISCLAIM ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR +IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR +CONDITIONS OF MERCHANTABILITY OR SATISFACTORY QUALITY AND FITNESS FOR +A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE +DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE APPLE SOFTWARE +WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE APPLE +SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE +APPLE SOFTWARE WILL BE CORRECTED. FURTHERMORE, APPLE DOES NOT WARRANT +OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE +USE OF THE APPLE SOFTWARE OR RELATED DOCUMENTATION IN TERMS OF THEIR +CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN +INFORMATION OR ADVICE GIVEN BY APPLE OR AN APPLE AUTHORIZED +REPRESENTATIVE SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE +SCOPE OF THIS WARRANTY. SHOULD THE APPLE SOFTWARE PROVE DEFECTIVE, +YOU (AND NOT APPLE OR AN APPLE AUTHORIZED REPRESENTATIVE) ASSUME THE +ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. SOME +JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE +ABOVE EXCLUSION MAY NOT APPLY TO YOU. THE TERMS OF THIS DISCLAIMER DO +NOT AFFECT OR PREJUDICE THE STATUTORY RIGHTS OF A CONSUMER ACQUIRING +APPLE PRODUCTS OTHERWISE THAN IN THE COURSE OF A BUSINESS, NEITHER DO +THEY LIMIT OR EXCLUDE ANY LIABILITY FOR DEATH OR PERSONAL INJURY +CAUSED BY APPLE'S NEGLIGENCE. + +4. Limitation of Liability. UNDER NO CIRCUMSTANCES, INCLUDING +NEGLIGENCE, SHALL APPLE BE LIABLE FOR ANY INCIDENTAL, SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO THIS +LICENSE. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF INCIDENTAL +OR CONSEQUENTIAL DAMAGES SO THIS LIMITATION MAY NOT APPLY TO YOU. In +no event shall Apple's total liability to you for all damages exceed +the amount of fifty dollars ($50.00). + +5. Indemnification. You agree to indemnify and hold Apple harmless +from any and all damages, liabilities, costs and expenses (including +but not limited to attorneys' fees and costs of suit) incurred by +Apple as a result of any claim, proceeding, and/or judgment to the +extent it arises out of or is connected in any manner with the +operation, use, distribution or modification of Modified Software, or +the combination of Apple Software or Modified Software with other +programs; provided that Apple notifies Licensee of any such claim or +proceeding in writing, tenders to Licensee the opportunity to defend +or settle such claim or proceeding at Licensee's expense, and +cooperates with Licensee in defending or settling such claim or +proceeding. + +6. Export Law Assurances. You may not use or otherwise export or +reexport the Apple Software except as authorized by United States law +and the laws of the jurisdiction in which the Apple Software was +obtained. In particular, but without limitation, the Apple Software +may not be exported or reexported (i) into (or to a national or +resident of) any U.S. embargoed country or (ii) to anyone on the +U.S. Treasury Department's list of Specially Designated Nationals or +the U.S. Department of Commerce's Table of Denial Orders. By using +the Apple Software, you represent and warrant that you are not located +in, under control of, or a national or resident of any such country or +on any such list. + +7. Government End Users. If the Apple Software is supplied to the +United States Government, the Apple Software is classified as +"restricted computer software" as defined in clause 52.227-19 of the +FAR. The United States Government's rights to the Apple Software are +as provided in clause 52.227-19 of the FAR. + +8. Controlling Law and Severability. If there is a local subsidiary +of Apple in the country in which the Apple Software License was +obtained, then the local law in which the subsidiary sits shall govern +this License. Otherwise, this License shall be governed by the laws +of the United States and the State of California. If for any reason a +court of competent jurisdiction finds any provision, or portion +thereof, to be unenforceable, the remainder of this License shall +continue in full force and effect. + +9. Complete Agreement. This License constitutes the entire agreement +between the parties with respect to the use of the Apple Software and +supersedes all prior or contemporaneous understandings regarding such +subject matter. No amendment to or modification of this License will +be binding unless in writing and signed by Apple. + +Where the Licensee is located in the province of Quebec, Canada, the +following clause applies: The parties hereto confirm that they have +requested that this Agreement and all related documents be drafted in +English. Les parties ont exigé que le présent contrat et tous les +documents connexes soient rédigés en anglais. + + +EXHIBIT A + +License. You may copy, install, use, modify and create derivative +works of the [Modified Software] "Changed Software" (but you may not +modify or create derivative works of the [Fonts]) and distribute and +sublicense such Changed Software, provided however, that if the +Changed Software contains modifications, overwrites, replacements, +deletions, additions, or ports to new platforms of: (1) the methods of +existing classes objects or their existing relationships, or (2) any +part of the virtual machine, then for so long as the Changed Software +is distributed or sublicensed to others, such modified, overwritten, +replaced, deleted, added and ported portions of the Changed Software +must be made publicly available, preferably by means of download from +a website, at no charge under the terms of a license that makes no +representations or warranties on behalf of any third party, is no less +protective of [the licensors of the Modified Software] and its +licensors, and contains the terms set forth in Exhibit A below [which +should contain the terms of this Exhibit A]. You may distribute and +sublicense the [Fonts] only as a part of and for use with Changed +Software, and not as a part of or for use with Changed Software that +is distributed or sublicensed for a fee or for other valuable +nconsideration. + + + +================================ +==== Ian Piumarta's License ==== +================================ + +Many of the files in this distribution are subject to the following +copyright conditions: + + Copyright (C) 1996-2002 Ian Piumarta and other authors/contributors + as listed elsewhere in this file. + All rights reserved. + + This file is part of Unix Squeak. + + This file is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. + + You may use and/or distribute this file ONLY as part of Squeak, under + the terms of the Squeak License as described in `LICENSE' in the base of + this distribution, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment to the original author(s) (and any + other contributors mentioned herein) in the product documentation + would be appreciated but is not required. + + 2. This notice must not be removed or altered in any source distribution. + + Using (or modifying this file for use) in any context other than Squeak + changes these copyright conditions. Read the file `COPYING' in the + directory `platforms/unix/doc' before proceeding with any such use. + + You are not allowed to distribute a modified version of this file + under its original name without explicit permission to do so. If + you change it, rename it. + +NOTE: Files that do not contain the above notice are subject to the + conditions contained in the individual files themselves. In the + absence of explicit copyright conditions they are subject to the + conditions described in the file `LICENSE'. + +NOTE: Significant source contributions from other people are always + acknowledged in the individual source files. Unless explicitly + indicated otherwise, the above copyright notice applies to such code + (without prejudice and strictly to protect the interests of the + individual contributors) but makes NO REPRESENTATION about the + authorship or the ownership of the contributed code. + +You are allowed to use (or modify for use) in a non-Squeak context, or to +create derivative works unrelated to Squeak based on, any files that +contain the above copyright notice, subject to the following restrictions: + +1. You must make a copy of the file under a different name and then use + only your renamed copy. + +2. You must not change the first three lines of the copyright notice in + your copy. + +3. In your copy you must replace the portion of the copyright notice that + commences: + + This file is part of Unix Squeak + + with the following notice: + + This program is free software. You can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + + See the file COPYRIGHT for more details. + +4. You MUST NOT remove any acknowledgements for code contributed by other + authors from your copy of the file. + +5. You must include the file `COPYRIGHT' in any source or binary + distribution that includes or is based on one or more files modified in + the above manner. + +6. You can now use your copy in any way that you like, subject to its new + copyright conditions, provided that you do not re-introduce the file + into any distribution of Squeak. + +--- + +I'm sorry if the above seems draconian, but I'm trying simply to ensure +that both the Squeak and non-Squeak communities obtain the maximum benefit +from the software in this distribution.