This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake".
The branch, next has been updated via 7d315d7e39a710fdf03b07388b4eec105a22e565 (commit) via 4549f8efd4424ac0d8e8b874d30ac5b25c6f7516 (commit) from b68c4f1dcb517f04d208c892013a35ad562b4955 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7d315d7e39a710fdf03b07388b4eec105a22e565 commit 7d315d7e39a710fdf03b07388b4eec105a22e565 Merge: b68c4f1 4549f8e Author: Robert Maynard <robert.mayn...@kitware.com> AuthorDate: Mon Dec 22 14:15:54 2014 -0500 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Mon Dec 22 14:15:54 2014 -0500 Merge topic 'better_looking_mac_package' into next 4549f8ef CMake DragNDrop release now uses a custom background and script http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4549f8efd4424ac0d8e8b874d30ac5b25c6f7516 commit 4549f8efd4424ac0d8e8b874d30ac5b25c6f7516 Author: Robert Maynard <robert.mayn...@kitware.com> AuthorDate: Mon Sep 29 08:42:49 2014 -0400 Commit: Robert Maynard <robert.mayn...@kitware.com> CommitDate: Thu Dec 18 15:15:11 2014 -0500 CMake DragNDrop release now uses a custom background and script diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in index aba404f..7488dc7 100644 --- a/CMakeCPackOptions.cmake.in +++ b/CMakeCPackOptions.cmake.in @@ -45,6 +45,12 @@ if("${CPACK_GENERATOR}" STREQUAL "PackageMaker") endif() endif() +if("${CPACK_GENERATOR}" STREQUAL "DragNDrop") + set(CPACK_DMG_BACKGROUND_IMAGE "@CMake_SOURCE_DIR@/CMakeDMGBackground.tif") + set(CPACK_DMG_DS_STORE_SETUP_SCRIPT + "@CMake_SOURCE_DIR@/CMakeDMG_Setup_Script.scrpt") +endif() + if("${CPACK_GENERATOR}" STREQUAL "WIX") # Reset CPACK_PACKAGE_VERSION to deal with WiX restriction. # But the file names still use the full CMake_VERSION value: diff --git a/CMakeDMGBackground.tif b/CMakeDMGBackground.tif new file mode 100644 index 0000000..91c4b13 Binary files /dev/null and b/CMakeDMGBackground.tif differ diff --git a/CMakeDMG_Setup_Script.scrpt b/CMakeDMG_Setup_Script.scrpt new file mode 100644 index 0000000..552c518 --- /dev/null +++ b/CMakeDMG_Setup_Script.scrpt @@ -0,0 +1,42 @@ +on run argv + set image_name to item 1 of argv + + tell application "Finder" + tell disk image_name + + -- open the image the first time and save a DS_Store with just + -- background and icon setup + open + set current view of container window to icon view + set theViewOptions to the icon view options of container window + set background picture of theViewOptions to file ".background:background.tif" + set arrangement of theViewOptions to not arranged + set icon size of theViewOptions to 128 + delay 1 + close + + -- next setup the position of the app and Applications symlink + -- plus hide all the window decoration + open + update without registering applications + tell container window + set sidebar width to 0 + set statusbar visible to false + set toolbar visible to false + set the bounds to { 400, 100, 900, 465 } + set position of item "CMake.app" to { 133, 200 } + set position of item "Applications" to { 378, 200 } + end tell + update without registering applications + delay 1 + close + + -- one last open and close so you can see everything looks correct + open + delay 5 + close + + end tell + delay 1 +end tell +end run \ No newline at end of file ----------------------------------------------------------------------- Summary of changes: CMakeCPackOptions.cmake.in | 6 ++++++ CMakeDMGBackground.tif | Bin 0 -> 95690 bytes CMakeDMG_Setup_Script.scrpt | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 CMakeDMGBackground.tif create mode 100644 CMakeDMG_Setup_Script.scrpt hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits