|
From: John M M. <jo...@us...> - 2002-08-08 01:27:48
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm/Documentation
In directory usw-pr-cvs1:/tmp/cvs-serv19443/squeak/platforms/Mac OS/vm/Documentation
Modified Files:
readme
Log Message:
3.2.8b3 Changes per feedback from Roger Vossler. Added comments on how to build PrintJobPlugin as internal plugin
Index: readme
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/vm/Documentation/readme,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** readme 6 Aug 2002 22:27:07 -0000 1.2
--- readme 8 Aug 2002 01:27:46 -0000 1.3
***************
*** 7,11 ****
-- Changes Andrew C. Greenberg, Jan 1st 2002
-- Changes Jay Hardesty, July 6, 2002
! -- Changes John Mcintosh & Andrew C. Greenberg. Aug 8th, 2002
(Note to readers, it is possible a step was missed, so beware)
--- 7,11 ----
-- Changes Andrew C. Greenberg, Jan 1st 2002
-- Changes Jay Hardesty, July 6, 2002
! -- Changes John Mcintosh & Andrew C. Greenberg. Aug 6 & 7th, 2002
(Note to readers, it is possible a step was missed, so beware)
***************
*** 47,51 ****
D. cvs -z3 -d:pserver:ano...@cv...:/cvsroot/squeak co platforms
E. For printing support get RealPrintingPlugin-JMM.cs.gz, from http://swiki.gsug.org:8080/sqfixes/all
! decompress it and fileIn (optional, currently a plugin in the offical build)
--- 47,52 ----
D. cvs -z3 -d:pserver:ano...@cv...:/cvsroot/squeak co platforms
E. For printing support get RealPrintingPlugin-JMM.cs.gz, from http://swiki.gsug.org:8080/sqfixes/all
! decompress it and fileIn (optional, currently an external plugin in the offical build)
! (more on how to do this later).
***************
*** 81,85 ****
Mpeg3Plugin
TestOSAPlugin
! RealPrintingPlugin (if installed))
G. Press button "Save Configuration" to save your configuration for later.
H. Press button "Generate All" to build the interpreter
--- 82,86 ----
Mpeg3Plugin
TestOSAPlugin
! PrintJobPlugin (if installed, we'll discuss how to built this later as built in)
G. Press button "Save Configuration" to save your configuration for later.
H. Press button "Generate All" to build the interpreter
***************
*** 88,92 ****
Step Four: Get, and install, the Gnifier, and gnuify the interpreter
! A. See the Gnuifier.2.cs changeset in the specialChangeSetsFolder
B. DoIt: (Gnuifier on: pathToInterpreterfile) gnuify, in my case:
--- 89,93 ----
Step Four: Get, and install, the Gnifier, and gnuify the interpreter
! A. See the Gnuifier.3.cs changeset in the specialChangeSetsFolder
B. DoIt: (Gnuifier on: pathToInterpreterfile) gnuify, in my case:
***************
*** 98,102 ****
Step Five: Shove and Tweak some files around the buildspace
! A. Open a MacOSX Finder browser and go to the platforms/Mac OS/src/vm/Developer folder.
B. Unstuff 'resources.sit'
1. select the file
--- 99,103 ----
Step Five: Shove and Tweak some files around the buildspace
! A. Open a MacOSX Finder browser and go to the platforms/Mac OS/vm/Developer folder.
B. Unstuff 'resources.sit'
1. select the file
***************
*** 120,124 ****
Files which can't be found are listed in red. For any red highlighted files you'll need to
resolve where or why the files is/are missing.
- Note you will need to add the PrintJobPlugin files if you choose to build that plugin as internal.
D. On the left pane, there are some vertically oriented fold-over tabs.
Click the one marked "Targets."
--- 121,124 ----
***************
*** 126,134 ****
F. On the left lower pane marked "Build Styles," select "Deployment"
G. Click on the hammer icon at the top left to build your VM.
! The final product should live in the src/vm/Build folder, named "Squeak VM Opt"
Compare against the offical build to see if it is the same.
Note you should look at the binary in the Contents subfolder to see if it is the same size.
(The only error you should get is
warning: passing arg 1 of `sqImageFileStartLocation' makes integer from pointer without a cast)
Step Seven: Download and print your Squeak VM Developer's Certificate
--- 126,135 ----
F. On the left lower pane marked "Build Styles," select "Deployment"
G. Click on the hammer icon at the top left to build your VM.
! The final product should live in the build folder, named "Squeak VM Opt"
Compare against the offical build to see if it is the same.
Note you should look at the binary in the Contents subfolder to see if it is the same size.
(The only error you should get is
warning: passing arg 1 of `sqImageFileStartLocation' makes integer from pointer without a cast)
+ Run a tinyBenchmark benchmark against your VM, versus the production VM to confirm yours is simular in performance
Step Seven: Download and print your Squeak VM Developer's Certificate
***************
*** 140,143 ****
--- 141,172 ----
1 tinyBenchmarks
Is also a good idea against the production VM, and yours to confirm it's built correctly.
+
+
+ Building with PrintJobPlugin as internal
+
+ Add to the build as internal plugin list
+ do a "clean out"
+ do a "Generate all"
+
+ This should result in a folder being created
+ src/vm/intplugins/PrintJobPlugin
+ and of course we also use the code in
+ platforms/Mac OS/plugins/PrintJobPlugin folder
+
+ Returning to the project builder project we need to add a number of files to the project.
+
+ In the "Files" tab view
+ Select down to the location we want to put the built source
+ Sources/src/plugins/vm/intplugins
+ Create a new group called PrintJobPlugin
+ Add the file PrintJobPlugin.c from src/vm/intplugins/PrintJobPlugin to that group
+
+ Do the same type of work to select the other files need to build the plugin
+ PrintJobPlugin.h file from the platforms/Cross/plugins/PrintJobPlugin folder
+ that should go in the Sources/Cross/plugins/PrintJobPlugin group that you will create
+ sqMacPrinting.c & sqMacPrinting.h from the platforms/Mac OS/plugins/PrintJobPlugin
+ these should go in the Sources/Mac OS/plugins/PrintJobPlugin group that you will create
+
+
---------------------------------------------------
|