[racket-dev] Racket DMG improvements

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Jul 21 11:56:00 EDT 2011

I can make the "rising lambda" image which I think would be a good
background for this; what size would you like? (Or should I send a
script that takes the size as a parameter and produces a png?)

Robby

On Thu, Jul 21, 2011 at 10:51 AM, Stephen De Gabrielle
<stephen.degabrielle at acm.org> wrote:
> Sorry guys,
>
> I *will* test this(below) tonight.
> - It doesn't do the fancy background image (a hidden .folder with a
> .png), reposition and resize icons.
> - It will suffice to know if Finder responds to applescript  'tell
> application "Finder"' commands.
> [It does create a alias, which is mostly the same an a softlink.]
>
> If anyone has a nice background image, that will save me making one.
> (and a custom folder with the logo if you can do it?)
>
> #!/bin/sh
> # used example http://hayne.net/MacDev/Bash/make_alias
> # thanks to authors
> # Cameron Hayne (macdev at hayne.net), December 2003
> # Paul Russell (prussell at sonic.net), May 2006
>
> /usr/bin/osascript > /dev/null <<EOT
> tell application "Finder"
>   set Src to POSIX file "/Applications" as text
>   set Dest to POSIX file
> "/Users/spdegabrielle/Documents/Development/make alias test" as text
>   make new alias file to Src at folder Dest
> end tell
> EOT
>
> mv Applications "Drag into your Applications folder(here)"
>
> -----
>
> On Tue, Jul 19, 2011 at 11:33 PM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> I think that the dmg's size is proportional to the amount of data in
>> it not the size it claims to have as a disk so we can probably just
>> use 3 (or even maybe one).
>>
>> Robby
>>
>> On Tuesday, July 19, 2011, Eli Barzilay <eli at barzilay.org> wrote:
>>> Two days ago, Robby Findler wrote:
>>>> On Sun, Jul 17, 2011 at 7:25 AM, Jakub Piotr Cłapa <jpc-ml at zenburn.net> wrote:
>>>> > [1]:
>>>> > http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
>>>>
>>>> Mecki's answer here sounds just perfect for us, since we only really
>>>> need one (or three, I suppose).
>>>
>>> IIUC, there are problems with the size -- IIUC, it won't grow which
>>> means that it'll be bigger than needed, which also means that we need
>>> a template DMG for each distribution kind which is 9 DMGs at the
>>> moment ({PPC,Intel,x86_64} and three for each -- textual, normal,
>>> full), and these DMGs need to live somewhere out of the repository.
>>>
>>> The AppleScript thing looks more robust, but I'm not sure if it can
>>> work when I'l not logged into the machine properly.  It's sshing to
>>> the packaging machine, which means that I don't have the Finder thing
>>> running.  Anyone knows if this is a problem?
>>>
>>>
>>> Two days ago, Robby Findler wrote:
>>>> FWIW, I believe we build these things on a mac, so figuring out how to
>>>> do that under linux is not necessary (for us).
>>>
>>> Yes.  I wouldn't rely on some emulation driver with these things...
>>>
>>> --
>>>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>>>                     http://barzilay.org/                   Maze is Life!
>>>
>>
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/dev
>
>
>
> --
>
> --
> Stephen De Gabrielle
> stephen.degabrielle at acm.org
> Telephone +44 (0)20 85670911
> Mobile        +44 (0)79 85189045
> http://www.degabrielle.name/stephen
>



Posted on the dev mailing list.