Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Cura - Progress on MacOS standalone version.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daid  
View profile  
 More options Jun 1 2012, 6:32 am
From: Daid <daid...@gmail.com>
Date: Fri, 1 Jun 2012 03:32:14 -0700 (PDT)
Local: Fri, Jun 1 2012 6:32 am
Subject: Cura - Progress on MacOS standalone version.

So, we want this MacOS standalone version right? We really REALLY want it.

And I think I've made some progress towards it. I haven't arranged access
to a Mac yet. But I've managed to make a standalone executable for linux
using cx-freeze: http://cx-freeze.sourceforge.net/
Now, cx-freeze should also work for MacOS according to the documentation,
but as I don't have access to a Mac yet, I cannot test that part.

Now, I've found out that packaging Cura is not an easy job. And it's no
wonder nobody managed to do it so far. I needed to patch Skeinforge, patch
my Gui code, and figure out a bunch of missing imports before it worked. I
won't go into boring details, but Skeinforge really is a odd piece of code.
My dependency on PyPy did not make it easier, so I'm partially to blame.

So, where are we now?
Now we need to see if this script works for MacOS. If someone is feeling
adventurous, then they could try. Requirements are:
1) Having Cura working on your Mac. For cx-freeze to work you need all the
proper libraries up and running.
2) Install cx-freeze (will require commandline magic, and maybe even other
things to install)
3) Get the latest sources from git.
4) Run "python setup.py build" in the Cura directory of the latest sources
5) If there are no errors then it should make a "frozen_build" directory
containing a bunch of files including a "cura.app". This cura.app should
work now. I hope.

Note, this work will not only help the MacOS version, but will also make
the Linux version easier to use for the next release. And the frozen build
is smaller then the windows build, so it will reduce the download size for
the next Windows version I hope.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joergen Geerds  
View profile  
 More options Jun 1 2012, 9:53 am
From: Joergen Geerds <jgee...@gmail.com>
Date: Fri, 1 Jun 2012 06:53:24 -0700 (PDT)
Local: Fri, Jun 1 2012 9:53 am
Subject: Re: Cura - Progress on MacOS standalone version.

This is an absolutely fantastic piece of news! Knowing that you are not
there yet, but seeing your roadmap is very encouraging. Kliment commented
earlier that he was never able to compile/package SF into an application
under OS X, so I am really wishing you all the best achieving this.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daid  
View profile  
 More options Jun 1 2012, 12:09 pm
From: Daid <daid...@gmail.com>
Date: Fri, 1 Jun 2012 09:09:07 -0700 (PDT)
Local: Fri, Jun 1 2012 12:09 pm
Subject: Re: Cura - Progress on MacOS standalone version.

I can understand that Kliment did not manage to package Skeinforge. I've
already stripped out significant amounts of useless code from Skeinforge.
Even then, I had to really understand what the packaging process does, and
then patch a bunch of functions in Skeinforge so it worked with the
changes, and I had to force the packaging to include a whole bunch of files
that it did not autodetect.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian Horsch  
View profile  
 More options Jun 1 2012, 12:26 pm
From: Florian Horsch <florianhor...@googlemail.com>
Date: Fri, 1 Jun 2012 18:26:13 +0200
Local: Fri, Jun 1 2012 12:26 pm
Subject: Re: Cura - Progress on MacOS standalone version.

I'll give this a dedicated try later tonight.

Stay tuned! Probably somebody with more Terminal experience than myself
can chime in from time to time when I get stuck.

Hope for the best!
Flo

--
Florian Horsch
florianhor...@googlemail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian Horsch  
View profile  
 More options Jun 1 2012, 6:57 pm
From: Florian Horsch <florianhor...@googlemail.com>
Date: Sat, 2 Jun 2012 00:57:14 +0200
Local: Fri, Jun 1 2012 6:57 pm
Subject: Re: Cura - Progress on MacOS standalone version.

Damnit. My skills are not sufficient...

With OSX Lion 10.7.4 you get XCode 4.2.1, which dropped support for gcc4.2.

But this is needed for cx_freeze. So can't run the app compile step,
because cx_freeze ist not properly installed.

Via macports I've installed apple-gcc42. How can I tell the install routine
(python setup.py build,
python setup.py install) of cx-freeze, that it should use apple-gcc42
instead of the missing gcc42.

Any tipps?

Thanks
Florian

On Fri, Jun 1, 2012 at 6:26 PM, Florian Horsch <florianhor...@googlemail.com

--
Florian Horsch
florianhor...@googlemail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jensa  
View profile  
 More options Jun 1 2012, 7:20 pm
From: Jensa <jens...@gmail.com>
Date: Fri, 1 Jun 2012 16:20:38 -0700 (PDT)
Local: Fri, Jun 1 2012 7:20 pm
Subject: Re: Cura - Progress on MacOS standalone version.

What I've done when I needed an older version of XCode is to find the OSX
install CD. It usually contains the oldest XCode that'll run on that
machine.

J


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Huetsch  
View profile  
 More options Jun 23 2012, 10:35 am
From: Mark Huetsch <markhuet...@gmail.com>
Date: Sat, 23 Jun 2012 07:35:41 -0700 (PDT)
Local: Sat, Jun 23 2012 10:35 am
Subject: Re: Cura - Progress on MacOS standalone version.

This is not strictly regarding a standalone OS X app, but for those having
difficulties installing the long way, I've installed the Cura reqs using
brew and pip successfully.

brew install python --framework --universal
# then set up PATH and PYTHONPATH appropriately
easy_install pip # if necessary
pip install PyOpenGL
pip install pyserial
brew install wxmac --python --devel

And you should be good to go! Works on 64-bit python (the --devel flag is
necessary on wxmac, prior to the dev version wxmac is 32-bit). I don't know
how to make a brew package, but it would be really nice if some day we
could get the install formula down to:

brew install cura


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Huetsch  
View profile  
 More options Jun 23 2012, 10:37 am
From: Mark Huetsch <markhuet...@gmail.com>
Date: Sat, 23 Jun 2012 07:37:08 -0700 (PDT)
Local: Sat, Jun 23 2012 10:37 am
Subject: Re: Cura - Progress on MacOS standalone version.

Actually, since it works on 64-bit, that --universal flag probably isn't
necessary. I used it because at the time I thought I was going to need
32-bit. I haven't tested the install process without it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joergen Geerds  
View profile  
 More options Jun 23 2012, 2:06 pm
From: Joergen Geerds <jgee...@gmail.com>
Date: Sat, 23 Jun 2012 11:06:08 -0700 (PDT)
Local: Sat, Jun 23 2012 2:06 pm
Subject: Re: Cura - Progress on MacOS standalone version.

On Saturday, June 23, 2012 10:35:41 AM UTC-4, Mark Huetsch wrote:

> This is not strictly regarding a standalone OS X app, but for those having
> difficulties installing the long way, I've installed the Cura reqs using
> brew and pip successfully.

putting on my hat as normal mac user, I would suggest that you go back at
least 2 steps, and explain how people install brew, and what it actually
is, before suggesting that this would actually help installing cura.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian Horsch  
View profile  
 More options Jun 23 2012, 2:18 pm
From: Florian Horsch <florianhor...@googlemail.com>
Date: Sat, 23 Jun 2012 20:18:35 +0200
Local: Sat, Jun 23 2012 2:18 pm
Subject: Re: Cura - Progress on MacOS standalone version.

@Joergen: :D hold your position! i want to see the *.app, too ;)

@Daid: Erik gave your last instructions with cx_freeze a shot but couldn't
complete it before going to holidays. I could also provide you VNC access
to my MacBook Air for a couple of days. It's bored to hell anyways...

We need this app... everything else is just too hard for the normal guy.
It's quite amazing how many UM operators have a Mac.

Cheers
Flo

--
Florian Horsch
florianhor...@googlemail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Huetsch  
View profile  
 More options Jun 24 2012, 12:00 am
From: Mark Huetsch <markhuet...@gmail.com>
Date: Sat, 23 Jun 2012 21:00:59 -0700 (PDT)
Local: Sun, Jun 24 2012 12:00 am
Subject: Re: Cura - Progress on MacOS standalone version.

> putting on my hat as normal mac user, I would suggest that you go back at
> least 2 steps, and explain how people install brew, and what it actually
> is, before suggesting that this would actually help installing cura.

Homebrew (brew) is a commonly encountered package manager for OS X, akin to
macports or fink, or apt-get on a Debian-based Linux system.

It can be installed via the instructions at http://mxcl.github.com/homebrew/

It does require proficiency with the command-line, so for reaching a larger
audience a standalone app is definitely still the way to go.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daid  
View profile  
 More options Jun 24 2012, 8:44 am
From: Daid <daid...@gmail.com>
Date: Sun, 24 Jun 2012 05:44:13 -0700 (PDT)
Local: Sun, Jun 24 2012 8:44 am
Subject: Re: Cura - Progress on MacOS standalone version.

I found wxWidgets the hardest to get working for MacOS (when I tried) so if
this brew makes that a bit easier. Then that is great.

It would also make the "build from source" steps easier, once we have a
working build.

@Florian: Any idea if he got cx_freeze itself to compile already? That
might be the hardest step.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian Horsch  
View profile  
 More options Jun 24 2012, 9:01 am
From: Florian Horsch <florianhor...@googlemail.com>
Date: Sun, 24 Jun 2012 15:01:51 +0200
Local: Sun, Jun 24 2012 9:01 am
Subject: Re: Cura - Progress on MacOS standalone version.

Yep, that went pretty easy I think!

This worked as easy as typing in "sudo port install py27-cx_Freeze" (port
being an alternative to brew from my understanding)

He even got an output, but the output wasn't running when I remember
correctly.

Cheers
Flo

--
Florian Horsch
florianhor...@googlemail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »