Ticket #6563 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Upgrade the Mac Bundle

Reported by: Owen Arnold Owned by: Russell Taylor
Priority: critical Milestone: Release 3.2
Component: Framework Keywords: Maintenance
Cc: nick.draper@… Blocked By:
Blocking: #9255 Tester: Owen Arnold

Description (last modified by Russell Taylor) (diff)

I'm generating this ticket as an action from our meeting, although, we have already agreed that we will leave the packaging as-is for iteration 2.5

  • Look into bundling Python
  • Look into bundling PyQt, Sip. etc
  • Upgrade the version of Qt in the third-party to 4.8
  • Possibly drop the 10.6 package depending upon the outcome of the 2.4 SSC meeting.

There may be other things we want to do. Please add.

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Priority changed from blocker to critical
  • Keywords Maintenance added

comment:2 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:3 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to the Backlog after R2.6

comment:4 Changed 7 years ago by Russell Taylor

  • Description modified (diff)
  • Milestone changed from Backlog to Release 3.0

comment:5 Changed 7 years ago by Russell Taylor

  • Status changed from new to inprogress

Re #6563. Strip internal path to libNexus.0.dylib.

Changeset: 6171347c551f6e18540bb64220ec349e7db694d4

comment:6 Changed 7 years ago by Russell Taylor

  • Milestone changed from Release 3.0 to Backlog

comment:7 Changed 7 years ago by Russell Taylor

  • Milestone changed from Backlog to Release 3.1

comment:8 Changed 7 years ago by Russell Taylor

  • Milestone changed from Release 3.1 to Backlog

comment:9 Changed 7 years ago by Russell Taylor

  • Milestone changed from Backlog to Release 3.2

comment:10 Changed 7 years ago by Russell Taylor

  • Status changed from inprogress to assigned

comment:11 Changed 7 years ago by Russell Taylor

  • Status changed from assigned to inprogress

Re #6563. Remove installer preflight script.

It was just cleaning up long-gone items so I don't think we need it anymore. It can't be used with a DragNDrop installer anyway.

Changeset: 4a085223e7d992e1f9a86237487e7a6f21612217

comment:12 Changed 7 years ago by Russell Taylor

Re #6563. Switch to drag and drop install kit.

Replacing PackageMaker.

Changeset: bd5093b226815cfe118f9479247cccb3595ce3e5

comment:13 Changed 7 years ago by Russell Taylor

Re #6563. DragNDrop generator need plain text license only

It can't do anything with the rich text files.

Changeset: 0ae7c703d83dcd3b28b90a5b25640b15258df5e9

comment:14 Changed 7 years ago by Russell Taylor

Merge branch 'feature/6563_osx_dragndrop_installer' into develop

Re #6563. Conflicts:

Code/Mantid/Build/CMake/DarwinSetup.cmake

Changeset: f0dd4b933eec095047c979affcb88935a4949cc2

comment:15 Changed 7 years ago by Russell Taylor

Re #6563. Change to install dragndrop installer.

Just copy the folder - easy!

Changeset: 2c3f49ff5c46dbae1cbe6bc9843b152072901edd

comment:16 Changed 7 years ago by Russell Taylor

Re #6563. Don't get stuck waiting for license acceptance.

The dmg has the GPL license embedded within it, which the user is required to accept before the volume is mounted. This accepts it by piping acceptance into the command. The output to /dev/null deals with the fact that the license is multi-page (effectively it scrolls to the bottom which is where the 'Y' needs to be entered).

Changeset: bd6e806d2b9f4b383d81de24df31f990d383514c

comment:17 Changed 7 years ago by Russell Taylor

Re #6563. A way of installing that doesn't hang!

I'd only tested the previous method I tried on the command line. Turned out that didn't work within python.

Changeset: a02e2d17be98752ff1c8d01e04f3c30512d0631a

comment:18 Changed 7 years ago by Russell Taylor

Re #6563. Add library that exists in newer PyQt to installer.

In newer PyQt versions (e.g. 4.9.6), there's an additional library that appears to contain most of the symbols, with the QtCore.so etc libraries just being thin wrappers that import it. This library needs to make it into the install kit if it exists.

Changeset: ab62f77acb5742261becac60e6b20088a658ceb9

comment:19 Changed 7 years ago by Russell Taylor

  • Blocking 9255 added

comment:20 Changed 7 years ago by Russell Taylor

  • Status changed from inprogress to verify
  • Resolution set to fixed

The bundle has been 'upgraded' by changing it from PackageMaker to DragNDrop. Ticket #9255 has been created to visually enhance this new installer, but in the meantime it does work so long as you know what to do.

Of the other items in the description, I've no intention of bundling Python. PyQt, sip & QScintilla could be put in third party, but I don't see a pressing need to do so. Stuart is looking into whether we could use homebrew instead of Third_Party. Qt is not currently in Third_Party so upgrading that is a case of changing the version installed on the buildserver (and I think that has been upgraded to 4.8). Support for 10.6 has already been dropped.

To test:

The branch is called feature/6563_osx_dragndrop_installer. Note that there are both main repository and systemtests branches for this ticket that need to be merged.

Test by taking the install kit from here, checking that you can install into Applications by dragging and that MantidPlot works OK after installation. Observe also that the system tests job successfully ran off this installer last night.

comment:21 Changed 7 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:22 Changed 7 years ago by Owen Arnold

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/6563_osx_dragndrop_installer'

Full changeset: 0b1be84d5f618be1f937f4e3f2046300e3d31c52

comment:23 Changed 7 years ago by Owen Arnold

Merge remote-tracking branch 'origin/feature/6563_osx_dragndrop_installer'

Full changeset: d012a9c72368952fbfbc8d2c6383235517e25489

comment:24 Changed 7 years ago by Owen Arnold

Code review looks good.

System tests passing.

Working on my 10.8 OSX version

comment:25 Changed 7 years ago by Peter Peterson

Works for me on OSX 10.8.5.

comment:26 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7409

Note: See TracTickets for help on using tickets.