-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Modify .dmg installer #14470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify .dmg installer #14470
Conversation
|
I will try this out. Also wondering if we should backport this to 0.4 and perhaps even to 0.3 (along with the applescript terminal opening updates). |
|
I see no reason for making another 0.3 release at this time. |
|
I'm not sure what exactly, but something about this change appears to cause issues when I try to run it on the mac buildbot: https://build.julialang.org/builders/package_osx10.9-x64/builds/10 edit: I think you'll have to delete |
|
Ah, okay, I can add that to the Makefile. There's also this problem with the AppleScript used to do the formatting: I'll look into it to see what I can do. |
|
Ah, the problem seems to be that the build server doesn't have permissions to launch WindowsServer: We could either change the permissions, or we could use something like dmgbuild and ds_store? What would be easier? |
|
Not sure, I usually have to ping @staticfloat on mac build questions. We do have a |
|
dmgbuild does look interesting. |
|
@simonbyrne rather than use Applescript in the build process, can we take the files that it stores in the .dmg archive and just load that file in? E.g. cache the output of the applescript, and just copy that output in instead. |
|
The output gets stored the .DS_Store file, which is an opaque binary format. I played around with |
|
I've updated this to use It also changes the identity to be |
|
https://build.julialang.org/builders/package_osx10.9-x64/builds/33 (not started yet) will test this out on the buildbot. Best not to merge until it's verified to be working there. |
|
This is unfortunate: No CLT-only option? |
|
Hmm, that's annoying. It seems like this is only needed for the python quartz framework, which is used for making fancy icons. I can see if we can get it to work without that. |
|
I'll just install Xcode as well. On Mon, Jan 25, 2016, 12:38 Simon Byrne [email protected] wrote:
|
|
That works too. |
|
Can't you install subcomponents of a python package with square brackets? |
|
I think that's only if the dependency is setup via |
|
Until we get this up and running, why don't I just keep the first patch (which is really the more pressing issue)? |
|
Sounds reasonable. |
Also sets identifier to org.julialang.julia
|
okay, done. |
|
I've moved the background changes are on the sb/dmg-bg branch |
|
@tkelman I just realised this might break Travis testing on packages: this changes the volume name from I can either change the |
|
I don't understand what the fix needs to be, and have no way of testing. I will hold off on backporting for 0.4.4 and wait for 0.4.5 then, but good catch. The nightly osx builder is not passing tests right now so we have some time to find a fix. If the Travis code can be modified in a way that works including for existing versions, can you please open a PR against travis-build and cc me? Since you're more active than @staticfloat or @ninjin recently, would you want to help take over as a co maintainer of the travis setup? Either in addition or replacement depending what Elliot and Pontus think. |
|
I'm always happy to welcome new people into the fold. :) |
|
I'd be happy to help out, though my travis experience is still somewhat limited. Maybe we shouldn't backport this, as it could cause some confusion (i.e. julia-0.4.app would be a later version than julia-0.4.4.app) |
|
I was actually thinking that we probably should backport this one. |
|
Not until Travis is adjusted for it at a minimum. We've had 3, soon to be 4 releases of 0.4 with the existing convention here. |
|
Bump @simonbyrne this needs fixing on the Travis side otherwise as soon as we get a new OSX nightly it'll start breaking on package tests. |
|
Is there no way of testing the travis setup? |
|
I can manually trigger a nightly that will include these changes (but won't get saved as 0.5-latest so travis won't use it immediately), then the steps in https://github.com/travis-ci/travis-build/blob/e56f4ffdf8eb8fe2608659eef293e94340f71286/lib/travis/build/script/julia.rb#L45 can be tested locally - but only on a mac. |
The first commit fixes #10697 by using only the major.minor version in the .app filename.
The second formats the background of the .dmg window:
Comments/suggestions welcome.