Re: [wx-dev] wxMac snapshots

0 views
Skip to first unread message

Dominic Mazzoni

unread,
May 2, 2001, 6:34:33 PM5/2/01
to wx-...@lists.wxwindows.org
> > I was wondering whether to package up wxMac zips when I do
> > the wxMSW ones for the 2.3 snapshots.
>
> Nope, Mac has its own compression system, "StuffIt". I still
> do not know how to create them, though,

I own a copy of Stuffit Deluxe, which is actually a nice piece
of software. However, according to their website, there is
a demo version of DropStuff (which I believe is fully functional,
and just makes you click "Not Yet" every time you use it) that
you can download for free. There is also a beta version of
Stuffit for Linux, which I have not tried. Anyone tried it?

http://www.aladdinsys.com/downloads/software.html

Unfortunately, the reason that .zip or even .sit (Stuffit)
created on Linux would not work for Mac users is that many of
the Mac-specific files are stored in CVS in a Mac-only
format, such as MacBinary or AppleSingle. If you check out
one of these files on a non-Mac and then copy it over, it is
unreadable (and there is no easy way to fix it).

So the only solution which would be useful to Mac users would
be to create the .sit archive on a Mac.

- Dominic

Paul Gammans

unread,
May 2, 2001, 7:15:16 PM5/2/01
to wx-...@lists.wxwindows.org
Dominic Mazzoni wrote:

> Unfortunately, the reason that .zip or even .sit (Stuffit) created
> on Linux would not work for Mac users is that many of the
> Mac-specific files are stored in CVS in a Mac-only format, such as
> MacBinary or AppleSingle. If you check out one of these files on a
> non-Mac and then copy it over, it is unreadable (and there is no
> easy way to fix it).

Do you copy it over using netatalk if so this give me lot of errors too
as it too clever and trys to translate the file to MAC versions, not
always what i want for binary files ;).


Try using an ftp tool to copy it back and forth this works for me and it
what i do now when using the mac in the office. I'm sure there is
probably a way to tell netatalk not to do this too, but i haven't RTFA ;)

Paul
--
Paul R. Gammans
Post Graduate Research Student with 'Interaction Design Research'
snail-mail: Brunel University, Egham, Surrey. TW20 0JZ
e-mail: paul.g...@brunel.ac.uk
pgam...@computer-surgery.co.uk


Julian Smart

unread,
May 3, 2001, 6:40:14 AM5/3/01
to wx-...@lists.wxwindows.org
At 08:13 AM 5/3/01 +0200, you wrote:
> > I was wondering whether to package up wxMac zips when I do the wxMSW ones
> > for the 2.3 snapshots. Is this a sensible thing for me to do given I don't
> > have a Mac to test it on? :-)
>
>For a source code package, I think it is a sensible thing to do :-)

Good...

>However, we may generate lots of support requests in the mailing lists if we
>don't create an archive that contains files with type/creator codes. It is
>easy for the user to correct this (just apply TypeAsMetrowerksText to the
>wxWindows snapshot folder) but it may be harder for us to document clearly
>(who reads the readme files?).

If someone can point me to a way of creating exactly the right thing from
Linux or (preferably) Windows, with the type/creator code thingies, I'll
try it, but for now I think a zip should be sufficient, given it's a very
widespread format and I'd be surprised if Mac developers didn't have the
ability to unarchive them.

Learning how to use CVS is too big a deal for many people so 'official'
snapshots should help. Plus I'd like to distribute more recent wxMac code
on the CD.

>Hum, I guess that the file list is the real issue here... I suppose you
>filter out all the files that are not necessary for a given port.

I do it by specifying the files that should be included -- I'll write
something and then ask for review by you Mac guys!

Thanks,

Julian
--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1
7EG Tel: +44 (1223) 271063

Julian Smart

unread,
May 4, 2001, 10:49:46 AM5/4/01
to wx-...@lists.wxwindows.org
At 02:07 PM 5/3/01 -0400, you wrote:
>For a more long-term solution, let's try to go with Julian's zip snapshots.
>Then maybe we can create something like TypeAsMetrowerksText which will
>actually set the type and creator of all of the files to something
>appropriate, based on their extension. Actually since I have MacCVS
>configured properly I've never had to use TypeAsMetrowerksText or
>something equivalent, so maybe it already does what we need?
>
>Julian, could you try creating a zip snapshot by taking your best guess
>as to which directories are needed on the Mac? I'd be happy to download
>it and let you know if anything was left out.

Thanks -- I can't upload to the Remstar ftp site from work for some reason
(firewall problem?), I don't know how to upload to SourceForge, and
uploading the 7-8MB file would take a while from home, so I wonder if you
have access to a Linux or Windows box to try recreating the files yourself?
The following files are now in distrib/msw:

mac.rsp: Mac-specific files
cw.rsp: CodeWarrior project files

(also used: generic.rsp for common files, tex2rtf.rsp for Tex2RTF, etc)

zipmac.bat: DOS batch script for creating the wxMac and HTML zip files
zipmac.sh: shell script for creating the wxMac and HTML zip files using
Cygwin or (untested) Unix

If this doesn't work for you, I'll upload an archive asap.

Thanks!

Reply all
Reply to author
Forward
0 new messages