Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Fri Oct 31, 2003 9:51 am Post subject: running setup on Panther
Has anyone successfully run the setup application on Panther boxes? On my 10.2.8 partitions I can run it just fine, but under Panther the application quits before the first dialog is put up (the main 'progress' window appears, but the 'wizard' dialog doesn't). The application is actually happily exiting from main, so it's not a seg fault. I was trying to debug it during the xcode session at osxcon, but didn't make progress yet.
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Sun Nov 02, 2003 1:27 am Post subject:
Ed,
first, I have modified the instructions for linking dylibs "Assembling the Setup Executable" from your website in my assembe-script after getting some error messages:
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Tue Nov 04, 2003 10:44 pm Post subject:
Ah yes, this is a problem...the build instructions up there on the website are woefully out of date. To run setup built off of head on either 10.2 or Panther you need to follow the 1.1 build instructions instead of the old 1.0.x instructions:
That gets rid of the error with VCLToolkit being undefined, leading to that error. I believe it's due to changes in which component registries are needed in the unorc file, but the loader itself is working so the more complicated steps of manually creating links and the like should no longer be necessary.
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Wed Nov 05, 2003 8:56 am Post subject:
Ed,
there is another problem. The setup seems to miss some fonts (at least on my machine):
Initializing installation program....................
SalGraphics::SetFont : Font switch to 'Andale Sans UI' failed!
SalGraphics::SetFont : Font switch to '' failed!
SalGraphics::SetFont : Font switch to 'Andale Sans UI' failed!
I don't have a font "Andale Sans UI" on my machine, only "Andale Mono".
"Andale Sans UI" seems to be payware, included in StarOffice. Where in the source code can the setup-font be changed?
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Wed Nov 05, 2003 11:37 am Post subject:
Well, we have general font layout and discovery work to do. Dan's got new font discovery stuff he wrote up, but I haven't touched the layout yet. I think I know a workaround to the panther crashes. It's just difficult to debug setup.bin in its current configuration.
The workaround is of course to use the command-line installation, but the bugs from the virtual devices in setup will just propogate through to the actual application.
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Wed Nov 05, 2003 11:40 am Post subject:
Oh, just realized I didn't answer the Andale Sans question. In the past it was part of a hardcoded UI font string...the program would happily run through and try to set the font to a couple of those (Tahoma also would come up a bit) but then fall back on another font if the switch failed.
I'm not sure if it's still hardcoded, but I think the font strings have been moved to be more dynamic since the default font needs to change with the locale setting of the computer (e.g. use an appropriate Japanese font that can display the Japanese Unicode characters).
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Thu Nov 06, 2003 10:36 pm Post subject:
Removed the crash that affected the VCL on Panther. It's in salvd.cxx when the image representation is being released during resizing of the device. The trick is that [NSImage removeRepresentation] actually invokes release on the object that's passed in, so we don't need to release (or autorelease) the image rep. While this failed silently on Jag (autoreleasing an already released object), it caused a crash on Panther.
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Fri Nov 07, 2003 9:35 am Post subject: "First time"
With today's cvs, I was able to install NeoOffice on my 10.3.
But the font size was *extreme* small, I could not really read, but guess, what was written on the setup's windows. Several error messages, I could not read, appeared, some missing files. I've "Ignore"d them in setup.
The installation didn't provide an OS-X-app-directory. So I've started the NeoOffice on command line with ./neooffice in the destination-folder.
After doing the registry-questions, I got only an empty window titled "NeoOffice-1", not more. When I close this window, NeoOffice terminates.
My questions are:
- Is there a way to make the font size larger?
- Why do I have an empty window only when starting NeoOffice?
I really have no idea why the font size is so small. It should be using the current font size set by the application (Ed, when its doing the ATSUIDrawText its pulling font size from the SalGraphics maGraphicsData.fontSize or whatever it was) but I guess that's not be ing set up right.
I just made a copy of the old NeoOffice.app file, and copied over the everything from the NeoOffice -1 install directory to NeoOffice.app/Contents/Resources directory and it launched.
Ed, the launch scripts will need some work as the location of files has changed...
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Fri Nov 07, 2003 9:05 pm Post subject:
woot! I actually had hacked the font size to be larger in previous versions, and this may need to change. Thanks for the pointers as to where the font stuff is coming from. Right now I'm looking into some virdev/copybits coordinate flipping I'm seeing in the scroll list of the setup app.
For those who are interested and wanna take a stab at the changes, the launch scripts live in the macosx_extras module.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum