[cmake-developers] DragNDrop: Easier custom dmg layouts

Robert Maynard robert.maynard at kitware.com
Mon Dec 29 09:40:12 EST 2014


On Tue, Dec 23, 2014 at 10:58 AM, David Cole <DLRdave at aol.com> wrote:
> This looks pretty reasonable to me. From Rob's initial email, I
> thought it sounded like there was some sort of backward compatibility
> problem, but looking through the code, it seems like everything should
> all work the same for projects that aren't changing..... Was I
> misunderstanding about backwards compatibility, or am I missing
> something?
>


If an existing project is using a custom .DS_Store and background, this will
cause the custom background to not show up. The reason being that that
the .DS_Store
stores the absolute path to background and that path now has changed.





> And although I haven't built it or run it myself yet, I trust that if
> the DMG produced for CMake looks good, that people can model their own
> code after CMake's own code to achieve better looking DMG installers.
>
> Personally, I am stuck on what I consider to be a very old Mac right
> now. It's a mini from ~2007-2008, and it's stuck running 10.6. I use
> it only when I absolutely have to (i.e. for virtually nothing) because
> it's so much slower than other machines I use. My point with
> mentioning this at all is to encourage you to drop support entirely
> for <10.6 at this point. (i.e. -- put this topic back in 'next' and
> retire those old Macs... they're tired... :-)
>
> Nice work, Rob.
>
> Thanks,
> David C.
>
>
>
> On Tue, Dec 23, 2014 at 9:01 AM, Brad King <brad.king at kitware.com> wrote:
>> On 12/22/2014 02:15 PM, Robert Maynard wrote:
>>> If anyone has any questions or issues with this branch please tell me.
>>
>> I'd appreciate feedback on this from others with experience in
>> OS X packaging.  For reference, the commit drafts are:
>>
>>  DragNDropGenerator background image now uses source file extension.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c8b9f50
>>
>>  DragNDropGenerator now places the background image file in a hidden folder.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a7f55ac9
>>
>>  DragNDropGenerator now can run an apple script when making a package.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=309ffd8e
>>
>>  DragNDropGenerator copies the background image after the dmg is created.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2dc198b2
>>
>>  DragNDropGenerator now manually computes the size of the temp dmg image.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dfb74f52
>>
>>  DragNDropGenerator Updated Documentation to include new variables.
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=76a39f7a
>>
>>  CMake DragNDrop release now uses a custom background and script
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4549f8ef
>>
>> However, for now I had to revert it from 'next' because it does
>> not work on OS X <= 10.5.
>>
>> -Brad
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake-developers


More information about the cmake-developers mailing list