Skip to content
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

Bundle cairo and Tk dependencies on Windows #2395

Closed
ViralBShah opened this issue Feb 24, 2013 · 9 comments
Closed

Bundle cairo and Tk dependencies on Windows #2395

ViralBShah opened this issue Feb 24, 2013 · 9 comments
Assignees
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows
Milestone

Comments

@ViralBShah
Copy link
Member

The Windows binaries should include Cairo and Tk dependencies as part of the download package.

@ghost ghost assigned vtjnash Feb 24, 2013
@ViralBShah
Copy link
Member Author

@vtjnash @loladiro Could we resolve this, so that we can announce 0.1? There are probably a few other things to do, but this is the major blocker.

@vtjnash
Copy link
Member

vtjnash commented Feb 28, 2013

I didn't know this got opened. Why was this marked 0.1? This should have been 0.2. Loladiro has it working well that the dependencies are downloaded on demand. I've already finalized (and announced) the windows v0.1 binary.

Going forward, I was thinking of creating a Julia-Extras package that is big, but can be upgraded separately from Julia. This is for both mac and windows. It would contain all the extra files (gtk, cairo, pango, git) needed to run julia packages.

For Mac, this could simply be a MacPorts installation in /opt/julia for each of 10.6 / 10.7 / 10.8

For Windows, I'm not certain of the preferred location and structure.

A "basic" set of packages (Plotting, Distributions, ???) would also be distributed with the main julia download, in some fashion.

@diegozea
Copy link
Contributor

A "basic" set of packages (Plotting, Distributions, ???) would also be distributed with the main julia download, in some fashion.

Related to #1906

@ViralBShah
Copy link
Member Author

It would be nice to include the graphics related libraries for Windows. It is pretty basic functionality, and it would be nice not to make people jump through hoops to get to plotting. The cairo and tk files could go into the same usr/lib location as the other libraries in deps.

A lot of julia users on mac do not even have XCode installed. Those who have MacPorts can certainly use it, and probably will build from source. Also, I often use julia on new computers, where I prefer to just download one file and get going.

Julia-extras is a good idea, but I would prefer that the graphics and packaging related dependencies should be in the julia distribution (cairo, pango, gtk, git).

@vtjnash
Copy link
Member

vtjnash commented Feb 28, 2013

My point is that adding all those dependencies would easily make a 30MB download into 300MB, but they really only need to be installed once. Also, MacPorts will install files from binaries if they are available (so maybe should work without Xcode, although I don't have a test machine). But we can also just zip the whole thing so they don't need anything else. Plus then we don't have do any otool / path modifications since we can build & install all in the /opt/julia prefix

@ViralBShah
Copy link
Member Author

The whole thing is already working on the mac, and with everything included, it is a 53 MB download.

@ViralBShah
Copy link
Member Author

Does the "Windows binaries with batteries included" include Cairo and Tk?

@ViralBShah
Copy link
Member Author

Bump @loladiro @vtjnash

Should we close this one?

@Keno
Copy link
Member

Keno commented Jun 12, 2013

Yes. Windows binary downloads work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

4 participants