09-02-2011, 01:56 AM | #1 |
lorem ipsum ...
Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Building for OS X
Hello,
I want to build an application bundle for OS X. Regarding the setup command python setup.py osx This appears to invoke vmware to run a virtual machine. What is being run here? Also, what is the role of the freeze commands? -r http://rhaleblian.wordpress.com/dsli...e-nintendo-ds/ Last edited by rhaleblian; 09-02-2011 at 02:07 AM. |
09-02-2011, 02:24 AM | #2 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot build an OS X bundle directly from the source code. If you want to build calibre from source, I suggest using a linux vm. Building calibre on OS X/windows is a highly non-trivial excercise.
|
Advert | |
|
09-15-2011, 12:54 AM | #3 |
lorem ipsum ...
Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Hi Kovid.
I'm building under a linux VM, as the docs were quite clear on that (yes, someone read the docs). Building for a linux target via setup.py is working fine. > You cannot build an OS X bundle directly from the source code Is this to say there are steps that are not encapsulated in a step in setup.py? Is it being done by hand? |
09-15-2011, 01:42 AM | #4 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes. You need a properly setup OS X environment to be able to build calibre, which must be setup by hand.
|
09-15-2011, 05:56 AM | #5 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Moderator Notice
Thread Moved. The development thread is for calibre development not OS builds. |
Advert | |
|
09-17-2011, 11:06 AM | #6 |
lorem ipsum ...
Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Thanks for clarifying the situation, Kovid.
It's true that I never mentioned here that I was modifying code. Otherwise I would have no reason to want to build Calibre, though. A little backstory: I suggest Calibre to users of dslibris (http://sourceforge.net/projects/ndslibris/), a book reader for the DS, since they need to use EPUB. Using Calibre myself on OS X, I started playing around with a prototype that follows the Apple idiom for the application menu. Having partially done that, I wanted to embed the changes into a bundle, without lookasides to a development area. So in this case it's no biggie to not be able to build an app bundle. Now, I would sign on to documenting what the OS X build platform prerequisite is, and ways to possibly streamline it, but that would require some initial explanation from someone. --cheers, ray Last edited by rhaleblian; 09-17-2011 at 11:38 AM. |
09-17-2011, 11:16 AM | #7 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you wish to modify calibre code there is no need to build calibre, follow the instructions here: http://manual.calibre-ebook.com/develop.html
|
09-17-2011, 11:40 AM | #8 |
lorem ipsum ...
Posts: 4
Karma: 10
Join Date: Oct 2009
Location: USA
Device: Nintendo DS
|
Yep, read that. I was serious about having read the documentation.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
building a neswpaper | fbrzvnrnd | Conversion | 2 | 08-28-2011 02:38 AM |
DR1000 Building Hello World 4.0 | otromanolo | iRex Developer's Corner | 54 | 04-17-2011 06:38 AM |
The Skunk is in the building | bob e skunky | Introduce Yourself | 10 | 12-05-2010 05:43 AM |
DR800 Building ctb | dima_tr | iRex Developer's Corner | 6 | 06-30-2010 04:47 AM |